Wrong arm64 assembly generation with O2
Original Reporter info from Mantis: ekryukov
-
Reporter name: ekryukov
Original Reporter info from Mantis: ekryukov
- Reporter name: ekryukov
Description:
fpca64 (arm64) for macOS generates wrong assembly with O2 optimization. O1 works fine.
MIDIDevice_Lemur.s.o2:171:12: error: expected compatible register, symbol or integer in range [0, 4095]
add w0,w3,x0
^
MIDIDevice_Lemur.pas(781) Error: (9007) Error while assembling exitcode 1
fpc built from 3.2-fixes branch 24-02-2021
Attached two assembly files (o1 & o2 by extension)
Mantis conversion info:
- Mantis ID: 38542
- Version: 3.2.1