diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-09-09 16:38:39 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-09-09 16:38:39 +0000 |
commit | cf557b5176bd8a8ad42f6f4ee296e356753fa4f5 (patch) | |
tree | d8579a9fb91805c53dcade24ced4762436d91043 /gas | |
parent | 8b40d5948eb84f74b71bcb355dcfd5a6149dc452 (diff) | |
download | gdb-cf557b5176bd8a8ad42f6f4ee296e356753fa4f5.zip gdb-cf557b5176bd8a8ad42f6f4ee296e356753fa4f5.tar.gz gdb-cf557b5176bd8a8ad42f6f4ee296e356753fa4f5.tar.bz2 |
2007-09-09 H.J. Lu <hongjiu.lu@intel.com>
* tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
byte opcode.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index a055f49..18f054c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2007-09-09 H.J. Lu <hongjiu.lu@intel.com> + + * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3 + byte opcode. + 2007-09-08 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_flags_check_x64): Renamed to ... diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 4b5d546..cb22bbc 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -4578,11 +4578,11 @@ output_insn (void) /* All opcodes on i386 have either 1 or 2 bytes. SSSE3 and SSE4 instructions have 3 bytes. We may use one more higher byte to specify a prefix the instruction requires. Exclude - instructions which are in both SSE4 and ABM. */ - opc_3b = ((i.tm.cpu_flags.bitfield.cpussse3 - || i.tm.cpu_flags.bitfield.cpusse4_1 - || i.tm.cpu_flags.bitfield.cpusse4_2) - && !i.tm.cpu_flags.bitfield.cpuabm); + instructions which are in both SSE4.2 and ABM. */ + opc_3b = (i.tm.cpu_flags.bitfield.cpussse3 + || i.tm.cpu_flags.bitfield.cpusse4_1 + || (i.tm.cpu_flags.bitfield.cpusse4_2 + && !i.tm.cpu_flags.bitfield.cpuabm)); if (opc_3b) { if (i.tm.base_opcode & 0xff000000) |