On 11/8/22 13:03, Philipp Tomsich wrote:
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-bexti-02.c: New test.
OK, with my usual grumble about SUBREGs. jeff
