Message ID | 20231105023744.2158302-1-juzhe.zhong@rivai.ai |
---|---|
State | New |
Headers | show |
Series | [Committed] RISC-V: Fix bug of vlds attribute | expand |
diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index ce5c5be8e42..c47bc77ab7c 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -840,7 +840,7 @@ ;; wheras it is pred_strided_load if operands[3] is vector mode. (eq_attr "type" "vlds") (if_then_else (match_test "VECTOR_MODE_P (GET_MODE (operands[3]))") - (const_int INVALID_ATTRIBUTE) + (const_int 8) (const_int 7)) (eq_attr "type" "vldux,vldox,vialu,vshift,viminmax,vimul,vidiv,vsalu,\