www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - dmd "hello world" now compiles and runs with AArch64 code gen

#dlang dmd compiler now compiles "hello world" to a working program for
#AArch64 
on my #raspberrypi

The generated code looks like this:

```
main:

0004:   91 00 03 FD  mov       x29,sp




0018:   D6 5F 03 C0  ret
```

(Fixups not shown.) The way fixups are done is quite different from the #x86_64 
so I jury-rigged it for the moment. Once more of that is fleshed out, I can put 
a nicer structure on it.
Jul 17