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
14
flagpole/tests/fibloop.fp
Normal file
14
flagpole/tests/fibloop.fp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
$inc fvmstd.fp
|
||||
|
||||
proc main
|
||||
92 @N
|
||||
0 @a
|
||||
1 @b
|
||||
while &N 0 u> do
|
||||
&a &b u+ @c
|
||||
&b @a
|
||||
&c @b
|
||||
&N 1 u- @N
|
||||
endwhile
|
||||
&b :putuint :newline
|
||||
endproc
|
||||
Loading…
Add table
Add a link
Reference in a new issue