This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: x86-64 gas part II
- To: Jan Hubicka <jh at suse dot cz>
- Subject: Re: x86-64 gas part II
- From: Alan Modra <alan at linuxcare dot com dot au>
- Date: Thu, 21 Dec 2000 10:29:20 +1100 (EST)
- cc: patches at x86-64 dot org, binutils at sourceware dot cygnus dot com
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.