c3c icon indicating copy to clipboard operation
c3c copied to clipboard

Inline asm support all aarch64 functions

Open lerno opened this issue 3 years ago • 2 comments

lerno avatar Sep 06 '22 20:09 lerno

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.

lerno avatar Sep 07 '22 07:09 lerno

Resources: https://azeria-labs.com/writing-arm-assembly-part-1/

lerno avatar Sep 07 '22 10:09 lerno