From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2119) id 25A583882675; Mon, 5 Jun 2023 16:16:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 25A583882675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1685981803; bh=V/HCyQLLWKmjlKedQHIKZ7gi3av5rK6WjfmK2AI8Fmg=; h=From:To:Subject:Date:From; b=wKoi/p+qgy6jdRec/BbnXoknogkmnOg87LQRPXfBYT8m62pyUbzYvzzl+tqIZI/uv u9FH5y6M8rclh8kgQNwTgbDexKQfj5tjSgbhHICJthTgYx2MA7DwIrUS90xoStRHiE irpsk0MgMXL3egUt9YehNDqh5yN10lhyACMuF5fs= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jeff Law To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/riscv/heads/gcc-13-with-riscv-opts)] RISC-V: Remove FRM for vfwcvt.f.x.v (RVV integer to float widening conversion) X-Act-Checkin: gcc X-Git-Author: Juzhe-Zhong X-Git-Refname: refs/vendors/riscv/heads/gcc-13-with-riscv-opts X-Git-Oldrev: da4570cf01a6a245b025e54ced0242771d1b3173 X-Git-Newrev: 2b281ab46a9fe030ed9aae72f5ec624275e9e168 Message-Id: <20230605161643.25A583882675@sourceware.org> Date: Mon, 5 Jun 2023 16:16:43 +0000 (GMT) List-Id: https://gcc.gnu.org/g:2b281ab46a9fe030ed9aae72f5ec624275e9e168 commit 2b281ab46a9fe030ed9aae72f5ec624275e9e168 Author: Juzhe-Zhong Date: Wed May 31 18:43:44 2023 +0800 RISC-V: Remove FRM for vfwcvt.f.x.v (RVV integer to float widening conversion) Base on the discussion here: https://github.com/riscv/riscv-v-spec/issues/884 vfwcvt.f.x.v doesn't depend on FRM. So remove FRM preparing for mode switching support. gcc/ChangeLog: * config/riscv/vector.md: Remove FRM. Signed-off-by: Pan Li Diff: --- gcc/config/riscv/vector.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index 60f052bcec9..cb4e77e7854 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -7159,10 +7159,8 @@ (match_operand 5 "const_int_operand" " i, i") (match_operand 6 "const_int_operand" " i, i") (match_operand 7 "const_int_operand" " i, i") - (match_operand 8 "const_int_operand" " i, i") (reg:SI VL_REGNUM) - (reg:SI VTYPE_REGNUM) - (reg:SI FRM_REGNUM)] UNSPEC_VPREDICATE) + (reg:SI VTYPE_REGNUM)] UNSPEC_VPREDICATE) (any_float:VF (match_operand: 3 "register_operand" " vr, vr")) (match_operand:VF 2 "vector_merge_operand" " vu, 0")))]