diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-22 16:40:52 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-10-30 13:20:42 -0400 |
commit | 97db80da3133cd8d46038e3811a04d340d19ce98 (patch) | |
tree | d25d4eb72312073b08bc292ff3cbbfce424705b2 /lisc/parse.c | |
parent | 475e90a3718da063809232c8c6717d7b3c581074 (diff) | |
download | roux-97db80da3133cd8d46038e3811a04d340d19ce98.tar.gz |
start work on fusing loads in arithmetic
Diffstat (limited to 'lisc/parse.c')
-rw-r--r-- | lisc/parse.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lisc/parse.c b/lisc/parse.c index b5adca3..c09f6e3 100644 --- a/lisc/parse.c +++ b/lisc/parse.c @@ -32,6 +32,11 @@ OpDesc opdesc[NOp] = { [OAlloc+1] = { "alloc8", 1 }, [OAlloc+2] = { "alloc16", 1 }, +#define X(n) [OXScale##n] = { "ofid" #n, 0 } + X(01), X(02), X(04), X(08), + X(11), X(12), X(14), X(18), +#undef X + #define X(t) \ [OLoad+T##t] = { "load" #t, 0 }, \ [OExt+T##t] = { "ext" #t, 1 }, |