View Single Post
Old 05-30-2012, 05:21 PM   #12
liteon
Human being with feelings
 
liteon's Avatar
 
Join Date: Apr 2008
Posts: 510
Default

https://github.com/neolit123/wdl/commits/

Code:
init
alloc
reg
compile
pass(1), ret=0.000000
pass(2), ret=0.000000
pass(3), ret=0.000000
pass(4), ret=0.000000
pass(5), ret=0.000000
pass(6), ret=0.000000
pass(7), ret=0.000000
pass(8), ret=0.000000
pass(9), ret=0.000000
pass(10), ret=0.000000
the glue code needs some more work, but at least it compiles/runs now.

there are some slight differences to x86, ppc, since in all places i directly modify the pc/link instead of branching ("b"). this should be technically slower, but gives a 32bit jump. the reason was that bx was giving me some strange results (thumb mode) and on the other hand gas translated "bl" to something similar, if i recall.

--
liteon is offline   Reply With Quote