aboutsummaryrefslogtreecommitdiff
path: root/ssa.h
diff options
context:
space:
mode:
authorTeddy <ted.sybil@gmail.com>2014-04-27 04:32:02 +0800
committerTeddy <ted.sybil@gmail.com>2014-04-27 04:32:02 +0800
commit8c7c3602ac1fc2e1b382b442d3161a7151d2cec9 (patch)
tree6cc5ce659bcd4dd1a58c97445afe1c3e2833fed5 /ssa.h
parentfbafb96963beae48ca095839ffb17b82f9901e5f (diff)
...
Diffstat (limited to 'ssa.h')
-rw-r--r--ssa.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/ssa.h b/ssa.h
index 8b28a39..e9ff81e 100644
--- a/ssa.h
+++ b/ssa.h
@@ -20,8 +20,10 @@ struct CInst {
enum {
MOVE,
BEQZ, /* conditional jump */
+ BNEZ,
GOTO, /* unconditional jump */
- ADD
+ ARR, /* displacement */
+ MUL, DIV, MOD, ADD, SUB, SHL, SHR, AND, XOR, OR, LOR, LAND, NEG, NOR, SEQ, EQ, NE, LT, GT, LE, GE
} op;
COpr dest, src1, src2;
CInst_t next, prev;