diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-16 11:34:52 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:31 -0400 |
commit | 16fe5c13668d9ccc8f3b14c6c20565dfe5a26d57 (patch) | |
tree | 70a7bce825b8d57b74d776c8e2292369a12e97c5 /lisc/lisc.h | |
parent | ca3dc70ff3e4caf57f32e5a0da7be29ccf222213 (diff) | |
download | roux-16fe5c13668d9ccc8f3b14c6c20565dfe5a26d57.tar.gz |
compile branches on and using test
Diffstat (limited to 'lisc/lisc.h')
-rw-r--r-- | lisc/lisc.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lisc/lisc.h b/lisc/lisc.h index 50c6504..76290dc 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -58,7 +58,7 @@ enum Reg { Tmp0, /* first non-reg temporary */ - NReg = RDX - RAX + 1 + NReg = R11 - RAX + 1 }; #define RWORD(r) (r + (EAX-RAX)) @@ -139,13 +139,14 @@ enum Op { OLoadus, OLoadsb, OLoadub, - OCopy, OAlloc, OAlloc1 = OAlloc + 2, + OCopy, NPubOp, /* reserved instructions */ ONop = NPubOp, + OAddr, OSwap, OSign, OXDiv, @@ -153,6 +154,8 @@ enum Op { OXCmpl, OXSet, OXSet1 = OXSet + NCmp-1, + OXTestw, + OXTestl, NOp }; |