OSDN Git Service

gas/
authorJan Beulich <jbeulich@novell.com>
Thu, 25 Nov 2004 08:42:54 +0000 (08:42 +0000)
committerJan Beulich <jbeulich@novell.com>
Thu, 25 Nov 2004 08:42:54 +0000 (08:42 +0000)
commit4f6b6c3239f9edb2fbb74034f5db3b56fe777dde
tree31fdd1d943579ecb2b5e7d5b70b582d8b03cc83e
parent6a54c625e9f9291a4117451c36d45b43bfa981c4
gas/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* config/tc-i386.c (optimize_imm): Adjust immediates to only those
permissible for the selected instruction suffix.
(process_suffix): For DefaultSize instructions, suppressing the
guessing of a 'q' suffix if the instruction doesn't support it is
pointless, because only an 'l' suffix can be guessed in this place.

gas/testsuite/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-inval.[sl]: Remove sahf/lahf.

include/opcode/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
to/from test registers are illegal in 64-bit mode. Add missing
NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
(previously one had to explicitly encode a rex64 prefix). Re-enable
lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
support it there. Add cmpxchg16b as per Intel's 64-bit documentation.
include/opcode/ChangeLog
include/opcode/i386.h