[fpc-devel] Trunk does not build on AArch64
J. Gareth Moreton
gareth at moreton-family.com
Sun Oct 18 08:56:12 CEST 2020
I've started to look at developing FPC on the Raspberry Pi again, but
I've run into a snag.
The unmodified trunk does not build - it fails when building system.pp
at the ppc1 stage:
math.inc(57,7) Error: Assembler syntax error
math.inc(58,11) Error: Unrecognized opcode round
flt_core.inc(459,47) Error: Can't evaluate constant expression
flt_core.inc(461,10) Fatal: Syntax error, ")" expected but "," found
I remember noticing that AArch64 does not yet support inline assembly,
which is what math.inc contains at the lines indicated (although "round"
is inside a constant, so... what gives?!). Not sure how to get around
the issue with flt_core.inc just yet.
Gareth aka. Kit
(On another note, a number of AArch64 opcodes are missing, notably ADDS
(add and set flags) and similar instructions - granted, a64ins.dat just
lists the instructions and is devoid of any syntax encoding, which I
think is partly why inline assembly is not yet implemented)
This email has been checked for viruses by Avast antivirus software.
More information about the fpc-devel