Monstrous commit smh, made a custom ssa intermediate representation to remove some stack ops, glendasay is about 40% faster (and i'm sure the other ones have some improvement too)
This commit is contained in:
parent
f738034ce4
commit
ca1ee83377
24 changed files with 1018 additions and 176 deletions
13
flagpole/irtests/cat.fp
Normal file
13
flagpole/irtests/cat.fp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
proc putchar
|
||||
0xCFFFFFFFFFFFFFFD st8
|
||||
endproc
|
||||
|
||||
proc getchar
|
||||
0xCFFFFFFFFFFFFFFE ld8
|
||||
endproc
|
||||
|
||||
proc main
|
||||
while 1 do
|
||||
:getchar :putchar
|
||||
endwhile
|
||||
endproc
|
||||
Loading…
Add table
Add a link
Reference in a new issue