ARMV7a: selected processor does not support requested special purpose register
Richard Earnshaw
Richard.Earnshaw@foss.arm.com
Mon Oct 3 15:54:26 GMT 2022
On 03/10/2022 16:48, Richard Earnshaw via Binutils wrote:
>
>
> On 03/10/2022 15:41, Umesh Kalappa via Binutils wrote:
>> Hi All,
>>
>> We have problem to compile the following asm
>> https://godbolt.org/z/hejMPoW69
>>
>> and asm error out with the subject message .
>>
>> Is mrs for float special register not valid on cortex-a9 ?
>>
>> Thank you
>> ~Umesh
>
> that's because the instruction you want is
>
> vmrs r4, fpscr
>
> R.
Also note that the fmrrs mnemonic is not part of the UAL (unified
assembly language) specification - it was deprecated a long time ago.
The correct names these days all start with a V - the disassembler
output shows the modern form.
The legacy name for vmrs was fmrx.
R.
More information about the Binutils
mailing list