Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix movd/movq
  • Loading branch information
John Hankinson committed Feb 1, 2020
1 parent 85bd51b commit 8f4ac68
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions H/instruct.h
Expand Up @@ -869,8 +869,9 @@ insn(MOVQ, 3, OpCls( M64, XMM, NONE ), F_660F, 0, n
insn(MOVQ, 4, OpCls( MMX, MMX_M64, NONE ), F_0F, 1, no_WDS, 0x6F, 0x00, P_586|P_MMX, QSIZE)
insn(MOVQ, 5, OpCls( XMM, XMM_M64, NONE ), F_F30F, 1, no_WDS, 0x7E, 0x00, P_686|P_SSE2,W1|QSIZE|T1S)
insn(MOVQ, 6, OpCls( M64, MMX, NONE ), F_0F, 0, no_WDS, 0x7F, 0x00, P_586|P_MMX, QSIZE)
insn(MOVQ, 7, OpCls( R64_M64, MMX, NONE ), F_0F, 0, no_WDS, 0x7F, 0x00, P_586 | P_MMX, QSIZE)
insn(MOVQ, 8, OpCls( MMX, R64_M64, NONE ), F_0F, 0, no_WDS, 0x6E, 0x00, P_586 | P_MMX, QSIZE)
insn(MOVQ, 7, OpCls( M64, MMX, NONE ), F_0F, 1, no_WDS, 0x7F, 0x00, P_686|P_MMX, W1|QSIZE|T1S)
insn(MOVQ, 8, OpCls( MMX, R64_M64, NONE ), F_0F, 1, no_WDS, 0x6E, 0x00, P_686|P_MMX, W1|QSIZE|T1S)
insn(MOVQ, 9, OpCls( R64, MMX, NONE ), F_0F, 1, no_WDS, 0x7E, 0x00, P_686|P_MMX, W1|QSIZE|T1S)
#endif

ins (MOVAPD, movapd, OpCls( XMM, XMM_M128, NONE ), F_660F, 1, no_WDS, 0x28, 0x00, P_686|P_SSE2,W1|QSIZE|FVM)
Expand Down
1 change: 1 addition & 0 deletions H/opndcls.h
Expand Up @@ -294,3 +294,4 @@ OpCls( RGT8, MGT8, NONE )

OpCls( R64_M64, MMX, NONE)
OpCls( MMX, R64_M64, NONE)
OpCls( R64, MMX, NONE)
1 change: 1 addition & 0 deletions regress/exp/plain_bin/movq.BIN
@@ -0,0 +1 @@
Hn�In�n�~�H~�fn�fHn�f~�fA~�fH~�fI~���n���yn����n���~���y~����~����~�
Empty file removed regress/src/plain_bin/movq.BIN
Empty file.
1 change: 1 addition & 0 deletions regress/src/plain_bin/movq.asm
Expand Up @@ -17,6 +17,7 @@
movd mm0,eax
movd eax,mm0
movq rax,mm0
;----
movd xmm0,eax
movq xmm0,rax
movd eax,xmm0
Expand Down
Empty file removed regress/src/plain_bin/movq.err
Empty file.

0 comments on commit 8f4ac68

Please sign in to comment.