newsGNU lightning - News: GNU lightning aarch64 port

 
 
Latest News
GNU lightning 2.2.3 released! posted by pcpa, Thu 08 Feb 2024 06:51:36 PM UTC
GNU lightning 2.2.2 released! posted by pcpa, Thu 27 Apr 2023 04:04:14 PM UTC
GNU lightning 2.2.1 release posted by pcpa, Fri 17 Feb 2023 07:27:03 PM UTC
GNU lightning 2.2.0 release posted by pcpa, Wed 16 Nov 2022 03:15:11 PM UTC
GNU lightning 2.1.4 release posted by pcpa, Fri 04 Nov 2022 12:43:20 PM UTC

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

 

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code