Added the "movd" instruction
This commit is contained in:
parent
2e8a3235b8
commit
fb58a25507
@ -28,6 +28,20 @@
|
|||||||
/* instructions */
|
/* instructions */
|
||||||
/* EMMS 0x0f77 2 */
|
/* EMMS 0x0f77 2 */
|
||||||
{ "emms", 0x0f77, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
|
{ "emms", 0x0f77, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
|
||||||
|
/* MOVD 0x0f6e /r OP2F mm mm/m64 */
|
||||||
|
#if 1 /* FIXME doesn't work properly */
|
||||||
|
{ "movd", 0x0f6e, OP2F, OP_R64_R, OP_RM64_D0_R,AOT_NONE },
|
||||||
|
{ "movd", 0x0f6e, OP2F, OP_R64_R, OP_RM64_D8_R,AOT_NONE },
|
||||||
|
{ "movd", 0x0f6e, OP2F, OP_R64_R, OP_RM64_DW_R,AOT_NONE },
|
||||||
|
{ "movd", 0x0f6e, OP2F, OP_R64_R, OP_RM64_R64_R,AOT_NONE},
|
||||||
|
#endif
|
||||||
|
/* MOVD 0x0f7e /r OP2F mm/m64 mm */
|
||||||
|
{ "movd", 0x0f7e, OP2F, OP_RM64_D0_R,OP_R64_R, AOT_NONE },
|
||||||
|
{ "movd", 0x0f7e, OP2F, OP_RM64_D8_R,OP_R64_R, AOT_NONE },
|
||||||
|
{ "movd", 0x0f7e, OP2F, OP_RM64_DW_R,OP_R64_R, AOT_NONE },
|
||||||
|
#if 1 /* FIXME doesn't work properly */
|
||||||
|
{ "movq", 0x0f7f, OP2F, OP_RM64_R64_R,OP_R64_R, AOT_NONE },
|
||||||
|
#endif
|
||||||
/* MOVQ 0x0f6f /r OP2F mm mm/m64 */
|
/* MOVQ 0x0f6f /r OP2F mm mm/m64 */
|
||||||
#if 1 /* FIXME doesn't work properly */
|
#if 1 /* FIXME doesn't work properly */
|
||||||
{ "movq", 0x0f6f, OP2F, OP_R64_R, OP_RM64_D0_R,AOT_NONE },
|
{ "movq", 0x0f6f, OP2F, OP_R64_R, OP_RM64_D0_R,AOT_NONE },
|
||||||
|
12
test/i686.S
12
test/i686.S
@ -1,6 +1,18 @@
|
|||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
.text
|
.text
|
||||||
emms /* 0f 77 */
|
emms /* 0f 77 */
|
||||||
|
#if 1 /* FIXME doesn't work properly */
|
||||||
|
movd %mm1, [%edx]
|
||||||
|
movd %mm2, [%edx + $0x56]
|
||||||
|
movd %mm3, [%edx + $0x789abc]
|
||||||
|
movd %mm4, %mm5
|
||||||
|
#endif
|
||||||
|
movd [%edx], %mm2
|
||||||
|
movd [%edx + $0x56], %mm3
|
||||||
|
movd [%edx + $0x789abc], %mm4
|
||||||
|
#if 1 /* FIXME doesn't work properly */
|
||||||
|
movd %mm5, %mm6
|
||||||
|
#endif
|
||||||
#if 1 /* FIXME doesn't work properly */
|
#if 1 /* FIXME doesn't work properly */
|
||||||
movq %mm1, [%edx]
|
movq %mm1, [%edx]
|
||||||
movq %mm2, [%edx + $0x56]
|
movq %mm2, [%edx + $0x56]
|
||||||
|
Loading…
Reference in New Issue
Block a user