From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 8FD9C3858D1E for ; Tue, 4 Oct 2022 10:03:30 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8FD9C3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=foss.arm.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=foss.arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0E01C12FC; Tue, 4 Oct 2022 03:03:37 -0700 (PDT) Received: from [10.2.78.76] (e126323.cambridge.arm.com [10.2.78.76]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id B37EC3F67D; Tue, 4 Oct 2022 03:03:29 -0700 (PDT) Message-ID: <06ca8cae-954d-0e34-58d2-7aa45d2f2579@foss.arm.com> Date: Tue, 4 Oct 2022 11:03:27 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: ARMV7a: selected processor does not support requested special purpose register Content-Language: en-GB To: Umesh Kalappa Cc: bug-binutils@gnu.org, Binutils References: <4a321925-ae99-196f-384b-f453a2ade163@foss.arm.com> From: Richard Earnshaw In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3491.7 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 04/10/2022 05:26, Umesh Kalappa wrote: > Thank you Richard for the information and do you please point us to > the reference ,which states the same ? > > Quick grep doesn't helped us ,Thank you again > ~Umesh > > On Mon, Oct 3, 2022 at 9:24 PM Richard Earnshaw > wrote: >> >> >> >> 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. You won't find (well are extremely unlikely to find) any documentation for the legacy mnemonics online - the reference I have is from the ARMv5 ARM ARM from nearly 20 years ago, which was in paper form. The current UAL syntax is documented in the Arm ARM, which you can download from developer.arm.com - follow the links to the architecture. There's also a fairly good list of the mapping between the legacy mnemonics and UAL for VFP here: https://developer.arm.com/documentation/ddi0406/b/Application-Level-Architecture/Instruction-Details/Alphabetical-list-of-instructions/F---former-VFP-instruction-mnemonics- R.