c3c
c3c copied to clipboard
Inline asm support all aarch64 functions
Aarch64 opcodes are added here:
https://github.com/c3lang/c3c/blob/master/src/compiler/asm_target.c in init_asm_aarch64
While the code needs some work to support vector and floats + addresses, all the general register opcodes can be added (and the rest could be added by commented out with pseudo code). This only needs work looking through the arm64 manuals.
Resources: https://azeria-labs.com/writing-arm-assembly-part-1/