diff options
author | H.J. Lu <hjl@lucon.org> | 2008-01-05 17:07:25 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2008-01-05 17:07:25 +0000 |
commit | fa47d042d1db46f4081996fd82e5141620dfc20a (patch) | |
tree | 509c0f580516b413e49a3104520ec8cf588e6ae2 /opcodes/i386-opc.h | |
parent | 96534860eebe7453209aa6ad8e547a4e7c1e1c15 (diff) | |
download | binutils-redhat-fa47d042d1db46f4081996fd82e5141620dfc20a.tar.gz |
gas/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* doc/c-i386.texi: Update .att_mnemonic and .intel_mnemonic.
* config/tc-i386.c (set_intel_mnemonic): Set intel_mnemonic
only.
(md_assemble): Remove Intel mode workaround.
(match_template): Check support for old gcc, AT&T mnemonic
and Intel Syntax.
(md_parse_option): Don't set intel_mnemonic to 0 for
OPTION_MOLD_GCC.
gas/testsuite/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/intel.s: Add tests for fadd, faddp, fdiv, fdivp,
fdivr, fdivrp, fmul, fmulp, fsub, fsubp, fsubr and fsubrp.
* gas/i386/intel.d: Updated.
* gas/i386/intel.e: Likewise.
opcodes/
2008-01-05 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (opcode_modifiers): Rename IntelMnemonic to
ATTSyntax.
* i386-opc.h (IntelMnemonic): Renamed to ..
(ATTSyntax): This
(Opcode_Modifier_Max): Updated.
(i386_opcode_modifier): Remove intelmnemonic. Add attsyntax
and intelsyntax.
* i386-opc.tbl: Remove IntelMnemonic and update with ATTSyntax
on fsub, fubp, fsubr, fsubrp, div, fdivp, fdivr and fdivrp.
* i386-tbl.h: Regenerated.
Diffstat (limited to 'opcodes/i386-opc.h')
-rw-r--r-- | opcodes/i386-opc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h index 91b9a21d51..fa4128efea 100644 --- a/opcodes/i386-opc.h +++ b/opcodes/i386-opc.h @@ -237,10 +237,10 @@ typedef union i386_cpu_flags #define OldGcc (Drexc + 1) /* AT&T mnemonic. */ #define ATTMnemonic (OldGcc + 1) -/* Intel mnemonic. */ -#define IntelMnemonic (ATTMnemonic + 1) +/* AT&T syntax. */ +#define ATTSyntax (ATTMnemonic + 1) /* The last bitfield in i386_opcode_modifier. */ -#define Opcode_Modifier_Max IntelMnemonic +#define Opcode_Modifier_Max ATTSyntax typedef struct i386_opcode_modifier { @@ -290,7 +290,7 @@ typedef struct i386_opcode_modifier unsigned int drexc:1; unsigned int oldgcc:1; unsigned int attmnemonic:1; - unsigned int intelmnemonic:1; + unsigned int attsyntax:1; } i386_opcode_modifier; /* Position of operand_type bits. */ |