On Tue, Jan 17, 2023 at 9:43 PM Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> wrote: > > Such operation can be done either bitwise-XOR or addition with -2147483648, > but the latter is one byte less if TARGET_DENSITY. > > gcc/ChangeLog: > > * config/xtensa/xtensa.md (xorsi3_internal): > Rename from the original of "xorsi3". > (xorsi3): New expansion pattern that emits addition rather than > bitwise-XOR when the second source is a constant of -2147483648 > if TARGET_DENSITY. > --- > gcc/config/xtensa/xtensa.md | 26 +++++++++++++++++++++++++- > 1 file changed, 25 insertions(+), 1 deletion(-)
Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master. -- Thanks. -- Max