Skip to content
Snippets Groups Projects
Commit ab3e3d2f authored by Pan Li's avatar Pan Li
Browse files

RISC-V: Fix asm check failure for truncated after SAT_SUB


It seems that the asm check is incorrect for truncated after SAT_SUB,
we should take the vx check for vssubu instead of vv check.

gcc/testsuite/ChangeLog:

	* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub_trunc-1.c:
	Update vssubu check from vv to vx.
	* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub_trunc-2.c:
	Ditto.
	* gcc.target/riscv/rvv/autovec/binop/vec_sat_u_sub_trunc-3.c:
	Ditto.

Signed-off-by: default avatarPan Li <pan2.li@intel.com>
parent 2be2145f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment