diff options
author | Xianmiao Qu <cooper.qu@linux.alibaba.com> | 2024-09-18 07:28:44 -0600 |
---|---|---|
committer | Jeff Law <jlaw@ventanamicro.com> | 2024-09-18 07:29:36 -0600 |
commit | ec34a4481b63bb5028b2a8c61322a7a3d362b27c (patch) | |
tree | cce177fc26be885f10a05ff4c398e033874ab262 /gcc/jit | |
parent | 0756f335fb6e455641850a76e68f892f1f82ada2 (diff) | |
download | gcc-ec34a4481b63bb5028b2a8c61322a7a3d362b27c.zip gcc-ec34a4481b63bb5028b2a8c61322a7a3d362b27c.tar.gz gcc-ec34a4481b63bb5028b2a8c61322a7a3d362b27c.tar.bz2 |
[PATCH] RISC-V: Fix th.extu operands exceeding range on rv32.
The Combine Pass may generate zero_extract instructions that are out of range.
Drawing from other architectures like AArch64, we should impose restrictions
on the "*th_extu<mode>4" pattern.
gcc/
* config/riscv/thead.md (*th_extu<mode>4): Fix th.extu
operands exceeding range on rv32.
gcc/testsuite/
* gcc.target/riscv/xtheadbb-extu-4.c: New.
Diffstat (limited to 'gcc/jit')
0 files changed, 0 insertions, 0 deletions