diff options
author | Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> | 2023-01-18 14:43:13 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2023-01-18 02:28:13 -0800 |
commit | a4b05944b7d409682197a9f50759a4ed97145e23 (patch) | |
tree | 694953f34faa42de6085f0043ca3f05cc364570a /gcc/selftest.h | |
parent | aaf29ae6cdbaad58b709a77784375d15138174b3 (diff) | |
download | gcc-a4b05944b7d409682197a9f50759a4ed97145e23.zip gcc-a4b05944b7d409682197a9f50759a4ed97145e23.tar.gz gcc-a4b05944b7d409682197a9f50759a4ed97145e23.tar.bz2 |
xtensa: Optimize inversion of the MSB
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.
Diffstat (limited to 'gcc/selftest.h')
0 files changed, 0 insertions, 0 deletions