aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorFeng Wang <wangfeng@eswincomputing.com>2024-01-05 09:23:44 +0000
committerFeng Wang <wangfeng@eswincomputing.com>2024-01-08 00:55:57 +0000
commitc97436f84cef191618f61912520bc0f0d62d8146 (patch)
tree667e959feb941386c61accf7878556c75875778b /gcc
parent59e0c2180d7ef18d22f9181b5c422efdeb621b01 (diff)
downloadgcc-c97436f84cef191618f61912520bc0f0d62d8146.zip
gcc-c97436f84cef191618f61912520bc0f0d62d8146.tar.gz
gcc-c97436f84cef191618f61912520bc0f0d62d8146.tar.bz2
RISC-V: Fix avl-type operand index error for ZVBC
This patch fix the rtl-checking error for crypto vector. The root cause is the avl-type index of zvbc ins is error,it should be operand[8] not operand[5]. gcc/ChangeLog: * config/riscv/vector.md: Modify avl_type operand index of zvbc ins.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/riscv/vector.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md
index be5beb5..24b7b43 100644
--- a/gcc/config/riscv/vector.md
+++ b/gcc/config/riscv/vector.md
@@ -864,9 +864,9 @@
vnclip,vicmp,vfalu,vfmul,vfminmax,vfdiv,vfwalu,vfwmul,\
vfsgnj,vfcmp,vslideup,vslidedown,vislide1up,\
vislide1down,vfslide1up,vfslide1down,vgather,viwmuladd,vfwmuladd,\
- vlsegds,vlsegdux,vlsegdox,vandn,vrol,vror,vwsll")
+ vlsegds,vlsegdux,vlsegdox,vandn,vrol,vror,vclmul,vclmulh,vwsll")
(const_int 8)
- (eq_attr "type" "vstux,vstox,vssegts,vssegtux,vssegtox,vclmul,vclmulh")
+ (eq_attr "type" "vstux,vstox,vssegts,vssegtux,vssegtox")
(const_int 5)
(eq_attr "type" "vimuladd,vfmuladd")