GNU lightning - News
GNU lightning aarch64 port
Item posted by Paulo César Pereira de Andrade <pcpa> on Wed 17 Jul 2013 12:03:22 AM UTC.
Support for aarch64 was just committed to lightning.
The new port builds and pass all test cases.
Example using the main test tool:
<pre>
root@genericarmv8:~/lightning-1.99a/check# cat > hello.tst
.data 32
hello:
.c "Hello from aarch64!\n"
.code
prolog
prepare
pushargi hello
finishi @printf
ret
epilog
root@genericarmv8:~/lightning-1.99a/check# ./lightning -v hello.tst
0x7f809c1000 stp x29, x30, [sp,#-160]!
0x7f809c1004 mov x29, sp
0x7f809c1008 mov x0, #0xb120 // #45344
0x7f809c100c movk x0, #0x29f6, lsl #16
0x7f809c1010 bl 0x7f80a2eed0
0x7f809c1014 ldp x29, x30, [sp],#160
0x7f809c1018 ret
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Hello from aarch64!
</pre>
The port was done using the Foundation v8 emulator and the Linaro
aarch64 image from
http://www.linaro.org/engineering/engineering-projects/armv8
Powered by Savane 3.13-269c.
Corresponding source code