From patchwork Sat Jun 8 21:32:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stafford Horne X-Patchwork-Id: 33058 Received: (qmail 114459 invoked by alias); 8 Jun 2019 21:32:51 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 114400 invoked by uid 89); 8 Jun 2019 21:32:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.2 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-pf1-f179.google.com Received: from mail-pf1-f179.google.com (HELO mail-pf1-f179.google.com) (209.85.210.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 08 Jun 2019 21:32:49 +0000 Received: by mail-pf1-f179.google.com with SMTP id u22so3107747pfm.3; Sat, 08 Jun 2019 14:32:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=JqK0PqLk2MOIIoYyxx246OsVs4dwkreis2YPAiprCaQ=; b=FrQJxNxPmHasffs9NN8JIzqCt3ExZFNCsvxTF0D5RSbBWqCo0EDJsPb/Pcm9KLqJU9 q1xBAIw+qkDfpYFyaA4DLkirFbOVxVW6bYtdRCUluNrYSgMrn3Bk6BWik5k0qPGUNAZ/ 3Shli+YJziOv49jzaghIPHhDIeTPtF8uV668kZjuq4gI+rET2azfxXoWzcFCUeLmbjF3 hrbZbF1uJ7AhbCXgI2oNhWD1KBJSOdCB6/7s8JVICE8r5mMhW47ZhdTXC0Wt5sBlRo77 Z8kmf7KwBNLeNauxlyf8qyFt24bwj7Ms/gQmT4SaYqVDOk0KbLrp/vl+HAeJx/wZS250 SPTg== Return-Path: Received: from localhost (g30.211-19-85.ppp.wakwak.ne.jp. [211.19.85.30]) by smtp.gmail.com with ESMTPSA id s12sm5676946pjp.10.2019.06.08.14.32.46 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Sat, 08 Jun 2019 14:32:46 -0700 (PDT) From: Stafford Horne To: GDB patches , GNU Binutils Cc: Andrey Bacherov , Nick Clifton , Andrew Burgess , Richard Henderson , Openrisc , Stafford Horne Subject: [PATCH v3 04/11] cpu/or1k: Update fpu compare symbols to imply set flag Date: Sun, 9 Jun 2019 06:32:20 +0900 Message-Id: <20190608213225.3230-5-shorne@gmail.com> In-Reply-To: <20190608213225.3230-1-shorne@gmail.com> References: <20190608213225.3230-1-shorne@gmail.com> MIME-Version: 1.0 X-IsSubscribed: yes The fpu compare symbols where not including 'sf' in the mnemonic. So instead of `lf-sfeq` (implying set flag if operands are equal) we were having `lf-eq`. This patch adds the 'sf'. This helps with making the generated CGEN documentation consistent and ordered correctly. cpu/ChangeLog: yyyy-mm-dd Stafford Horne * or1korfpx.cpu (float-setflag-insn-base): Add 'sf' to symbol. --- cpu/or1korfpx.cpu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpu/or1korfpx.cpu b/cpu/or1korfpx.cpu index 5e33b82a44..f43522f2e6 100644 --- a/cpu/or1korfpx.cpu +++ b/cpu/or1korfpx.cpu @@ -268,7 +268,7 @@ (define-pmacro (float-setflag-insn-base mnemonic rtx-mnemonic symantics) (begin - (dni (.sym lf- mnemonic -s) + (dni (.sym lf-sf mnemonic -s) (.str "lf.sf" mnemonic ".s reg/reg") ((MACH ORFPX32-MACHS)) (.str "lf.sf" mnemonic ".s $rASF,$rBSF") @@ -276,7 +276,7 @@ (symantics rtx-mnemonic SF rASF rBSF) () ) - (dni (.sym lf- mnemonic -d) + (dni (.sym lf-sf mnemonic -d) (.str "lf.sf" mnemonic ".d reg/reg") ((MACH ORFPX64-MACHS)) (.str "lf.sf" mnemonic ".d $rADF,$rBDF") @@ -284,7 +284,7 @@ (symantics rtx-mnemonic DF rADF rBDF) () ) - (dni (.sym lf- mnemonic -d32) + (dni (.sym lf-sf mnemonic -d32) (.str "lf.sf" mnemonic ".d regpair/regpair") ((MACH ORFPX64A32-MACHS)) (.str "lf.sf" mnemonic ".d $rAD32F,$rBD32F")