x86-64 gas part II
Alan Modra
alan@linuxcare.com.au
Wed Dec 20 15:29:00 GMT 2000
On Wed, 20 Dec 2000, Jan Hubicka wrote:
> + {"rex", 0, 0x40, X, Cpu64, NoSuf|IsPrefix, { 0, 0, 0} },
> + {"rexz", 0, 0x41, X, Cpu64, NoSuf|IsPrefix, { 0, 0, 0} },
Do these "rex" prefixes actually appear in instructions? ie. Does it make
sense to accept a line like " rex mov ..."? If not, then these prefixes
shouldn't be in the table.
> + /* In the 64bit mode the short form mov immediate is redefined to have
> + 64bit displacement value. */
> + {"movq", 2, 0x88, X, Cpu64, q_Suf|D|W|Modrm|Size64,{ Reg64, Reg64|AnyMem, 0 } },
"movq" and q_Suf will allow "movqq" to match here, after trimming off
the suffix. I suspect that wasn't your intention.
--
Linuxcare. Support for the Revolution.
More information about the Binutils
mailing list