summary refs log tree commit diff
path: root/lisc/emit.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-22 14:07:05 -0500
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-02-22 14:07:05 -0500
commitb7b430e5783e0aabf3001ee0bd664e289b91156e (patch)
tree756b6b722fd86040b838f40fafd40e7b0da3eb6e /lisc/emit.c
parent2ee3d2ec2ef64ef35e60d6d88ad61303dd0ba70d (diff)
downloadroux-b7b430e5783e0aabf3001ee0bd664e289b91156e.tar.gz
simplify emit table
Diffstat (limited to 'lisc/emit.c')
-rw-r--r--lisc/emit.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/lisc/emit.c b/lisc/emit.c
index 0485b65..f07887b 100644
--- a/lisc/emit.c
+++ b/lisc/emit.c
@@ -54,10 +54,7 @@ static struct {
 	{ OStoreb, Ka, "movb %B0, %M1" },
 	{ OStores, Ka, "movss %S0, %M1" },
 	{ OStored, Ka, "movsd %D0, %M1" },
-	{ OLoad,   Kl, "movq %M0, %=" },
-	{ OLoad,   Kw, "movl %M0, %W=" },
-	{ OLoad,   Ks, "movss %M0, %S=" },
-	{ OLoad,   Kd, "movsd %M0, %D=" },
+	{ OLoad,   Ka, "mov%k %M0, %=" },
 	{ OLoadsw, Kl, "movslq %M0, %L=" },
 	{ OLoadsw, Kw, "movl %M0, %W=" },
 	{ OLoaduw, Ki, "movl %M0, %W=" },