[gcc r14-1439] RISC-V: Remove FRM for vfwcvt.f.x<u>.v (RVV integer to float widening conversion)
Pan Li
panli@gcc.gnu.org
Wed May 31 13:53:08 GMT 2023
https://gcc.gnu.org/g:b65458005dfb38f2efdca52e42f3dbf4760f91bd
commit r14-1439-gb65458005dfb38f2efdca52e42f3dbf4760f91bd
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date: Wed May 31 18:43:44 2023 +0800
RISC-V: Remove FRM for vfwcvt.f.x<u>.v (RVV integer to float widening conversion)
Base on the discussion here:
https://github.com/riscv/riscv-v-spec/issues/884
vfwcvt.f.x<u>.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 <pan2.li@intel.com>
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:<VNCONVERT> 3 "register_operand" " vr, vr"))
(match_operand:VF 2 "vector_merge_operand" " vu, 0")))]
More information about the Gcc-cvs
mailing list