aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree.cc
diff options
context:
space:
mode:
authorPhilipp Tomsich <philipp.tomsich@vrull.eu>2022-10-10 22:24:02 +0200
committerPhilipp Tomsich <philipp.tomsich@vrull.eu>2022-11-18 21:15:24 +0100
commit23d9f62c50d935462ecda5516746037a474c25cd (patch)
tree4841223248fdc3d43760442184b90938c3cf59f4 /gcc/tree.cc
parent11543b27fe16d81ca5483ecb98ec7a5b2426e0c0 (diff)
downloadgcc-23d9f62c50d935462ecda5516746037a474c25cd.zip
gcc-23d9f62c50d935462ecda5516746037a474c25cd.tar.gz
gcc-23d9f62c50d935462ecda5516746037a474c25cd.tar.bz2
RISC-V: allow bseti on SImode without sign-extension
As long as the SImode operand is not a partial subreg, we can use a bseti without postprocessing to or in a bit, as the middle end is smart enough to stay away from the signbit. gcc/ChangeLog: * config/riscv/bitmanip.md (*bsetidisi): New pattern. gcc/testsuite/ChangeLog: * gcc.target/riscv/zbs-bseti-02.c: New test.
Diffstat (limited to 'gcc/tree.cc')
0 files changed, 0 insertions, 0 deletions