summaryrefslogtreecommitdiff
path: root/lisc/test
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-08-05 21:46:15 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2015-09-15 23:01:30 -0400
commite5983ba1a2174fe7fd004692a427aae5bfc0dc4c (patch)
treeb763a06abb664a8a2b0a3c89818897d30e0837f4 /lisc/test
parent7cb3e8587f7dbcbe795114f9ea5584009842ea29 (diff)
downloadroux-e5983ba1a2174fe7fd004692a427aae5bfc0dc4c.tar.gz
fix 2 bad bugs in rega and improve substraction
The substraction contrained the register allocator to allocate a different register for the result and the second operand, now, we use a neg trick to compile it down. The machinery that was setup is, regardless, interesting and will have to be used for floating point computations (division). The first bug in rega made broke the explicited loop invariant: we were using register allocation unavailable information from other blocks. It's still unclear how we got wrong results from that considering mappings are all 0-initialized. The second bug is a stupid one, one sizeof operator was missing from a memcpy...
Diffstat (limited to 'lisc/test')
0 files changed, 0 insertions, 0 deletions