summaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2025-11-20 08:16:10 -0700
committerJeff Law <jlaw@ventanamicro.com>2025-11-20 08:16:10 -0700
commit8615c855fa5647db11c84b882f0d88aadfc28863 (patch)
treeecf3a02cf66a2860df0115652605817cb9459e6c /libjava/java
parent0fa5a39cc51e37f5002a5c279053a793867dd8aa (diff)
[PATCH v1] RISC-V: Fix missed zero extend for unsigned scalar SAT_TRUNC [PR122692]
When the input of the scalar unsigned SAT_TRUNC is not Xmode, the rtx need to zero extend to Xmode before the underlying code gen. Most of other SAT_* code gen has leveraged the API riscv_extend_to_xmode_reg but still have the ustrunc missed. Then results in the failures mentioned in PR. The below test suites are passed for this patch series. * The rv64gcv fully regression test. PR target/122692 gcc/ChangeLog: * config/riscv/riscv.cc (riscv_expand_ustrunc): Leverage riscv_extend_to_xmode_reg to take care of src rtx. gcc/testsuite/ChangeLog: * g++.target/riscv/pr122692-run-1.C: New test. * g++.target/riscv/pr122692-run-2.C: New test. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions