From: Richard Earnshaw <Richard.Earnshaw@foss.arm.com>
To: Umesh Kalappa <umesh.kalappa0@gmail.com>,
bug-binutils@gnu.org, Binutils <binutils@sourceware.org>
Subject: Re: ARMV7a: selected processor does not support requested special purpose register
Date: Mon, 3 Oct 2022 16:54:26 +0100 [thread overview]
Message-ID: <4a321925-ae99-196f-384b-f453a2ade163@foss.arm.com> (raw)
In-Reply-To: <a6c2776f-e315-dcf3-ca0f-becbd816e33c@foss.arm.com>
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.
next prev parent reply other threads:[~2022-10-03 15:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-03 14:41 Umesh Kalappa
2022-10-03 15:48 ` Richard Earnshaw
2022-10-03 15:54 ` Richard Earnshaw [this message]
2022-10-04 4:26 ` Umesh Kalappa
2022-10-04 10:03 ` Richard Earnshaw
2022-10-04 15:10 ` Joseph Myers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4a321925-ae99-196f-384b-f453a2ade163@foss.arm.com \
--to=richard.earnshaw@foss.arm.com \
--cc=binutils@sourceware.org \
--cc=bug-binutils@gnu.org \
--cc=umesh.kalappa0@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).