Added the "por" instruction (doesn't always work yet)

This commit is contained in:
Pierre Pronchery 2011-04-18 23:15:19 +00:00
parent 16003850ee
commit 96bc81411b
2 changed files with 13 additions and 0 deletions

View File

@ -28,6 +28,13 @@
/* instructions */
/* EMMS 0x0f77 2 */
{ "emms", 0x0f77, OP2F, AOT_NONE, AOT_NONE, AOT_NONE },
/* POR 0x0feb /r 2 mm mm/m64 */
#if 1 /* FIXME doesn't work properly */
{ "por", 0x0feb, OP2F, OP_R64_R, OP_RM64_D0_R,AOT_NONE},
{ "por", 0x0feb, OP2F, OP_R64_R, OP_RM64_D8_R,AOT_NONE},
{ "por", 0x0feb, OP2F, OP_R64_R, OP_RM64_DW_R,AOT_NONE},
{ "por", 0x0feb, OP2F, OP_R64_R, OP_RM64_R64_R,AOT_NONE},
#endif
/* PUNPCKLBW 0x0f60 /r 2 mm mm/m32 */
/* FIXME implement */
/* PUNPCKLBD 0x0f61 /r 2 mm mm/m32 */

View File

@ -1,6 +1,12 @@
/* $Id$ */
.text
emms /* 0f 77 */
#if 1 /* FIXME doesn't work properly */
por %mm1, [%edx]
por %mm2, [%edx + $0x56]
por %mm3, [%edx + $0x789abc]
por %mm4, %mm5
#endif
#if 1 /* FIXME doesn't work properly */
pxor %mm1, [%edx]
pxor %mm2, [%edx + $0x56]