This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: x86-64 gas part II


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.





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]