mirror of
git://c9x.me/qbe.git
synced 2026-04-05 18:09:47 +00:00
The commutativity information only makes sense for arithmetic expressions. To account for that, I introduced a new tri-valued boolean type B3. Memory operations, for example, will receive an undefined commutativity trit. The code emitter was buggy when rega emitted instructions like 'rax = add 1, rax', this is now fixed using the commutativity information (we rewrite it in 'rax = add rax, 1'). |
||
|---|---|---|
| .. | ||
| test | ||
| .gitignore | ||
| emit.c | ||
| isel.c | ||
| lisc.h | ||
| live.c | ||
| main.c | ||
| Makefile | ||
| parse.c | ||
| rega.c | ||
| spill.c | ||
| ssa.c | ||
| TODO | ||