aboutsummaryrefslogtreecommitdiff
path: root/register-allocate.py
Commit message (Collapse)AuthorAge
* Use imul (not sure if it's better...)Gravatar Jason Gross2017-09-12
|
* Preserved rbp, not rspGravatar Jason Gross2017-09-12
| | | | Apparently gcc accessess memory via rbp, according to objdump -D
* Don't claim to clobber rbpGravatar Jason Gross2017-09-12
| | | | gcc complains if we claim to clobber it
* Be better about asm syntax dialectsGravatar Jason Gross2017-09-12
| | | | | | | With some help from stackoverflow, https://stackoverflow.com/questions/46186592/how-do-i-refer-to-literal-registers-in-gcc-inline-assembly-in-att-syntax and https://stackoverflow.com/questions/46185788/how-can-i-pass-an-immediate-value-to-shr-in-assembly-in-intel-syntax
* Update register allocation moreGravatar Jason Gross2017-09-12
| | | | | Switch over to intel syntax, because I can't figure out how to name registers in AT&T / GAS.
* Update reg allocGravatar Jason Gross2017-09-12
|
* Add reg alloc to rootGravatar Jason Gross2017-09-12