Re: [nasm:HEAD] MOVD xmmreg: not valid with REX.W

View: New views
2 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [nasm:HEAD] MOVD xmmreg: not valid with REX.W

by anonymous coward-6 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> The xmmreg forms of MOVD are invalid with REX.W, since those are MOVQ instructions.

This breaks existing code.

Also, while Intel names them MOVQ (which AMD should have
done), AMD continues to name them MOVD (e.g. #26568).

Last but not least, if you ever implement support for alternative
encodings, then you will run into an interesting case on MOVQ.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel

Re: [nasm:HEAD] MOVD xmmreg: not valid with REX.W

by H. Peter Anvin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 11/06/2009 01:00 PM, anonymous coward wrote:

>> The xmmreg forms of MOVD are invalid with REX.W, since those are MOVQ instructions.
>
> This breaks existing code.
>
> Also, while Intel names them MOVQ (which AMD should have
> done), AMD continues to name them MOVD (e.g. #26568).
>
> Last but not least, if you ever implement support for alternative
> encodings, then you will run into an interesting case on MOVQ.
>

The hell it does.

This is a DISASSEMBLER ONLY CHANGE.  If you happen to know of a
counterexample, then please post it.

        -hpa

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nasm-devel mailing list
Nasm-devel@...
https://lists.sourceforge.net/lists/listinfo/nasm-devel