From f68697e82319687871943f949078ed334f188211 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Wed, 6 Jul 2022 09:22:47 +0200 Subject: x86: introduce a state stack for .arch When using just slightly non-trivial combinations of .arch, it can be quite useful to be able to go back to prior state without needing to re-invoke perhaps many earlier directives and without needing to invoke perhaps many "negative" ones. Like some other architectures allow saving (pushing) and restoring (popping) present/prior state. For now require the same .code to be in effect for ".arch pop" that was in effect for the corresponding ".arch push". Also change the global "no_cond_jump_promotion" to be bool, to match the new struct field. --- gas/doc/c-i386.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/doc') diff --git a/gas/doc/c-i386.texi b/gas/doc/c-i386.texi index 95fd8ec..c4a3967 100644 --- a/gas/doc/c-i386.texi +++ b/gas/doc/c-i386.texi @@ -1504,7 +1504,7 @@ directive enables a warning when gas detects an instruction that is not supported on the CPU specified. The choices for @var{cpu_type} are: @multitable @columnfractions .20 .20 .20 .20 -@item @samp{default} +@item @samp{default} @tab @samp{push} @tab @samp{pop} @item @samp{i8086} @tab @samp{i186} @tab @samp{i286} @tab @samp{i386} @item @samp{i486} @tab @samp{i586} @tab @samp{i686} @tab @samp{pentium} @item @samp{pentiumpro} @tab @samp{pentiumii} @tab @samp{pentiumiii} @tab @samp{pentium4} -- cgit v1.1