qbe

Internal scc patchset buffer for QBE
Log | Files | Refs | README | LICENSE

commit b7b430e5783e0aabf3001ee0bd664e289b91156e
parent 2ee3d2ec2ef64ef35e60d6d88ad61303dd0ba70d
Author: Quentin Carbonneaux <quentin.carbonneaux@yale.edu>
Date:   Mon, 22 Feb 2016 14:07:05 -0500

simplify emit table

Diffstat:
Mlisc/emit.c | 5+----
1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 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=" },