diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-08 13:39:17 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-08 13:39:30 -0500 |
commit | 1dc00896840c9823c15089f379776f88a75e9663 (patch) | |
tree | 14ce7f106c517aa664471a3e9b4391e68413d901 /lisc/lisc.h | |
parent | 0791dd026e3c7e5c49282fe264a075dbcecb0607 (diff) | |
download | roux-1dc00896840c9823c15089f379776f88a75e9663.tar.gz |
wip on instruction selection
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index f03958d..ee8c889 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -181,18 +181,32 @@ enum Op { OAnd, OCmp, OCmp1 = OCmp + NCmp-1, + OStored, OStores, OStorel, OStorew, OStoreh, OStoreb, - OLoad, - OLoad1 = OLoad + NTy-1, + + OLoadl, + OLoadsw, + OLoaduw, + OLoadsh, + OLoaduh, + OLoadsb, + OLoadub, + OLoadd, + OLoads, + OLoad = OLoadl, + OLoad1 = OLoads, + OExt, OExt1 = OExt + NTy-1, + OAlloc, OAlloc1 = OAlloc + NAlign-1, + OCopy, NPubOp, @@ -321,6 +335,7 @@ struct Con { double f; } bits; char flt; + char emit; }; typedef struct Addr Addr; |