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 D1B433858D38 for ; Mon, 3 Oct 2022 15:54:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D1B433858D38 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 31BC712FC; Mon, 3 Oct 2022 08:54:35 -0700 (PDT) Received: from [10.2.78.76] (unknown [10.2.78.76]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id DAA793F67D; Mon, 3 Oct 2022 08:54:27 -0700 (PDT) Message-ID: <4a321925-ae99-196f-384b-f453a2ade163@foss.arm.com> Date: Mon, 3 Oct 2022 16:54:26 +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 , bug-binutils@gnu.org, Binutils References: 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.2 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 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.