This patch fixes the bad argument that GAS accepted but the IAS didn't,
ie. {#0x20}, moving it to {0x20} which both accept. It also makes the
ARMv7+ save/restore correct by using VFP instructions rather than old
co-processor ones.
Fixes PR20529.
Differential D5234
ARM Unwind syntax in libcxxabi rengolin on Sep 7 2014, 7:11 AM. Authored by
Details
Diff Detail Event Timeline
Comment Actions This is the commit responsible for changing them to the co-processor mnemonic in Antoine's commit comment here is, I think still relevant: "In some configurations we don't compile the library with -mfpu=vfp* but we Why does this change when we go to __ARM_ARCH >= 7 ? Jon Comment Actions Jon, As explained in http://llvm.org/PR20529, ARM deprecated the use of ldc/stc for VFP and NEON operations in v7, so we have to use the VFP/NEON variants. Besides, it's only really necessry on archs that don't have VFP anyway. cheers, |
Why the comment here but not previously? Im not sure it really adds much. However, I would say that the comment indicating that fldmiax is equivalent to the ldc is more useful and it may be nice to restore those.