summary refs log tree commit diff
path: root/lisc/lisc.h
AgeCommit message (Collapse)Author
2015-09-15use a new Ref type for registersQuentin Carbonneaux
This might not be a good idea, the problem was that many spurious registers would be added to the Bits data-structures during compilation (and would always remain 0). However, doing the above modification de-uniformizes the handling of temps and regs, this makes the code longer and not really nicer. Also, additional Bits structures are required to track the registers independently. Overall this might be a bad idea to revert.
2015-09-15avoid name conflicts in enumsQuentin Carbonneaux
2015-09-15start change of representation for registersQuentin Carbonneaux
2015-09-15start work on word/long handlingQuentin Carbonneaux
2015-09-15replace IA with X for x64 instructionsQuentin Carbonneaux
2015-09-15avoid keyword clash by using cons for constantsQuentin Carbonneaux
2015-09-15clean the commutativity + fix bug in emitQuentin Carbonneaux
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').
2015-09-15start improving constants supportQuentin Carbonneaux
2015-09-15add a code emitter for at&t syntaxQuentin Carbonneaux
2015-09-15add crippled dce to the allocatorQuentin Carbonneaux
2015-09-15complete a crude register allocatorQuentin Carbonneaux
2015-09-15initiate work on reg allocationQuentin Carbonneaux
2015-09-15finish spiller, now needs testing!Quentin Carbonneaux
2015-09-15add more printing supportQuentin Carbonneaux
2015-09-15add slot addressing and some more spillingQuentin Carbonneaux
2015-09-15prepare for block processingQuentin Carbonneaux
2015-09-15rework spilling code for jump argumentsQuentin Carbonneaux
2015-09-15improve output, add debug arrayQuentin Carbonneaux
2015-09-15attempt more correct loop markingQuentin Carbonneaux
2015-09-15rework liveness to compute reg pressureQuentin Carbonneaux
2015-09-15start work on spillerQuentin Carbonneaux
2015-09-15single bit bitfield needs to be unsignedQuentin Carbonneaux
2015-09-15fix small type issuesQuentin Carbonneaux
2015-09-15export error functionsQuentin Carbonneaux
2015-09-15rename mod to remQuentin Carbonneaux
2015-09-15remove useless typedefsQuentin Carbonneaux
2015-09-15cosmeticsQuentin Carbonneaux
2015-09-15add rpo test and some liveness codeQuentin Carbonneaux
2015-09-15cosmeticsQuentin Carbonneaux
2015-09-15use argument array for all instructionsQuentin Carbonneaux
2015-09-15change Ref to a structQuentin Carbonneaux
2015-09-15move opdesc definitionQuentin Carbonneaux
2015-09-15add pretty printing functionQuentin Carbonneaux
2015-09-15change phi nodes representationQuentin Carbonneaux
2015-09-15give blocks an idQuentin Carbonneaux
2015-09-15fix namingQuentin Carbonneaux
2015-09-15add rpo information to functionsQuentin Carbonneaux
2015-09-15properly clear predecessors in fillpredsQuentin Carbonneaux
2015-09-15add predecessor computationQuentin Carbonneaux
2015-09-15cosmeticsQuentin Carbonneaux
2015-09-15rename branching cnd to jezQuentin Carbonneaux
2015-09-15add commentsQuentin Carbonneaux
2015-09-15attempt to complete the crappy parserQuentin Carbonneaux
2015-09-15change references representationQuentin Carbonneaux
2015-09-15try writing a parser, painfulQuentin Carbonneaux
2015-09-15some new CQuentin Carbonneaux