[llvm-bugs] [Bug 48572] movd mm0, mm1 gets an invalid operand error

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Dec 21 21:36:12 PST 2020


https://bugs.llvm.org/show_bug.cgi?id=48572

chris.sears at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #3 from chris.sears at gmail.com ---
There are TWO sets of MOVQ instructions. This I did not know.

There's "MOVD/MOVQ—Move Doubleword/Move Quadword"

NP REX.W + 0F 6E /r     MOVQ mm, r/m64
NP REX.W + 0F 7E /r     MOVQ r/m64, mm
66 REX.W 0F 6E /r       MOVQ xmm, r/m64
66 REX.W 0F 7E /r       MOVQ r/m64, xmm

NP 0F 6E /r             MOVD mm, r/m32
NP 0F 7E /r             MOVD r/m32, mm
66 0F 6E /r             MOVD xmm, r/m32
66 0F 7E /r             MOVD r/m32, xmm

and there is also "MOVQ—Move Quadword"

NP 0F 6F /r             MOVQ mm, mm/m64
NP 0F 7F /r             MOVQ mm/m64, mm
F3 0F 7E /r             MOVQ xmm1, xmm2/m64

The first does NOT support MOVD mm0, mm1. The second supports MOVQ mm0, mm1.

No bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201222/da74519f/attachment.html>


More information about the llvm-bugs mailing list