From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 7821) id 877183858CDA; Tue, 30 Jan 2024 09:55:31 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 877183858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706608531; bh=wjSpZWLXuMV/9L/eb4mFwCl7DbGSoAn+8roWfLN8Ki0=; h=From:To:Subject:Date:From; b=VZJbaXJ2i+mV13Z/K6DDNeJnyFn1nuKfQXA5rX7ZCq9ZJY9+KsO+2YWH8ZjQSdbmC UGdHh/ghRPVo92SHf8jj8L4T6mRUmBrVzHJq5sWBq/0U2UFjTVH1dwzjgIpdhba+4V SZWVhcA39GlL4/MnH94NL1009XpGxeB8IUbKjhlQ= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: =?utf-8?b?Q2hyaXN0b3BoIE3vvoPvvbxsbG5lcg==?= To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8523] riscv: Move UNSPEC_XTHEAD* from unspecv to unspec X-Act-Checkin: gcc X-Git-Author: =?utf-8?q?Christoph_M=C3=BCllner?= X-Git-Refname: refs/heads/master X-Git-Oldrev: d1d144d80f27f7a027ec8a05758555e7aa45462f X-Git-Newrev: 87ed338808f8d56b1270724584218cf7d801fe5b Message-Id: <20240130095531.877183858CDA@sourceware.org> Date: Tue, 30 Jan 2024 09:55:31 +0000 (GMT) List-Id: https://gcc.gnu.org/g:87ed338808f8d56b1270724584218cf7d801fe5b commit r14-8523-g87ed338808f8d56b1270724584218cf7d801fe5b Author: Christoph Müllner Date: Tue Jan 30 10:22:27 2024 +0100 riscv: Move UNSPEC_XTHEAD* from unspecv to unspec The UNSPEC_XTHEAD* macros ended up in the unspecv enum, which broke gcc/testsuite/gcc.target/riscv/xtheadfmv-fmv.c. The INSNs expect these unspecs to be not volatile. Further, there is not reason to have them defined volatile. So let's simply move the macros into the unspec enum. With this patch we have again 0 fails in riscv.exp. gcc/ChangeLog: * config/riscv/riscv.md: Move UNSPEC_XTHEADFMV* to unspec enum. Signed-off-by: Christoph Müllner Diff: --- gcc/config/riscv/riscv.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gcc/config/riscv/riscv.md b/gcc/config/riscv/riscv.md index edcaec4a7865..b320ad0210e3 100644 --- a/gcc/config/riscv/riscv.md +++ b/gcc/config/riscv/riscv.md @@ -89,6 +89,10 @@ ;; Workaround for HFmode without hardware extension UNSPEC_FMV_SFP16_X + + ;; XTheadFmv moves + UNSPEC_XTHEADFMV + UNSPEC_XTHEADFMV_HW ]) (define_c_enum "unspecv" [ @@ -127,10 +131,6 @@ ;; Zihintpause unspec UNSPECV_PAUSE - ;; XTheadFmv unspec - UNSPEC_XTHEADFMV - UNSPEC_XTHEADFMV_HW - ;; XTheadInt unspec UNSPECV_XTHEADINT_PUSH UNSPECV_XTHEADINT_POP