From b7b430e5783e0aabf3001ee0bd664e289b91156e Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Mon, 22 Feb 2016 14:07:05 -0500 Subject: simplify emit table --- lisc/emit.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lisc') 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=" }, -- cgit 1.4.1