diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-27 14:13:00 -0500 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-12-27 14:13:00 -0500 |
commit | 417255cff105a2f4f86424690acd3b10aa3d38e8 (patch) | |
tree | af5b4111ad4056b2d901a89185c77e6170fb6dc8 /lisc | |
parent | d0ccaeb8318d675d438e7e3d3d6d4a9a63cd13dc (diff) | |
download | roux-417255cff105a2f4f86424690acd3b10aa3d38e8.tar.gz |
get rid of the Ty enum
Diffstat (limited to 'lisc')
-rw-r--r-- | lisc/lisc.h | 26 |
1 files changed, 11 insertions, 15 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index d8e1bf4..9de6c3c 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -154,17 +154,6 @@ static inline int isreg(Ref r) enum Cmp { CMPS(X) NCmp }; #undef X -enum Ty { - Tl, - Tsw, - Tuw, - Tsh, - Tuh, - Tsb - Tub, - NTy -}; - enum Class { Kw, Kl, @@ -194,7 +183,8 @@ enum Op { OStorew, OStoreh, OStoreb, - + OStore = OStored, + OStore1 = OStoreb, OLoadl, OLoadsw, OLoaduw, @@ -206,9 +196,15 @@ enum Op { OLoads, OLoad = OLoadl, OLoad1 = OLoads, - - OExt, - OExt1 = OExt + NTy-1, + OExtl, + OExtsw, + OExtuw, + OExtsh, + OExtuh, + OExtsb, + OExtub, + OExt = OExtl, + OExt1 = OExtub, OAlloc, OAlloc1 = OAlloc + NAlign-1, |