summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSøren Sandmann <ssp@redhat.com>2013-12-25 16:16:20 -0500
committerSøren Sandmann <ssp@redhat.com>2013-12-25 16:16:20 -0500
commit5819bba6146cf99ffd69ec060691f115388758a3 (patch)
treee31dc000a1305f0ca3a02808f5eae46f51ba835b
parent984027fe70183f02a40239d668dd05eb5cc0c037 (diff)
consider mandataory rex.w
-rw-r--r--simplex86.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/simplex86.c b/simplex86.c
index 96d37dc..966b6b5 100644
--- a/simplex86.c
+++ b/simplex86.c
@@ -387,6 +387,9 @@ static const variant_t variants[] =
{ I_popcnt, { A_R, A_RM }, F_POPCNT, E_RM, 0x0fb8, PRE_F3 },
/* MMX */
+ /* FIXME: Consider relaxing the RM32/RM64 to just RM and instead
+ * add "mandatory REX.W" to I_movq
+ */
{ I_movd, { A_MMX, A_RM32 }, F_MMX, E_RM, 0x0f6e },
{ I_movd, { A_RM32, A_MMX }, F_MMX, E_MR, 0x0f7e },
{ I_movd, { A_SSE, A_RM32 }, F_SSE2, E_RM, 0x0f6e, PRE_66 },