diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-08-05 21:46:15 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2015-09-15 23:01:30 -0400 |
commit | e5983ba1a2174fe7fd004692a427aae5bfc0dc4c (patch) | |
tree | b763a06abb664a8a2b0a3c89818897d30e0837f4 /lisc/test/eucl.ssa | |
parent | 7cb3e8587f7dbcbe795114f9ea5584009842ea29 (diff) | |
download | roux-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/eucl.ssa')
0 files changed, 0 insertions, 0 deletions