diff options
author | Takayuki 'January June' Suwa <jjsuwa_sys3175@yahoo.co.jp> | 2022-05-29 19:55:44 +0900 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2022-06-09 15:07:47 -0700 |
commit | e44e7face13f38f9b228e2619786ba0add9ef77b (patch) | |
tree | 356fa8e12101fbb4b3a7c1bb47dbb13c9f7dcbaf /libgcc | |
parent | 9777d446e2148ef9a6e9f35db3f4eab99ee8812c (diff) | |
download | gcc-e44e7face13f38f9b228e2619786ba0add9ef77b.zip gcc-e44e7face13f38f9b228e2619786ba0add9ef77b.tar.gz gcc-e44e7face13f38f9b228e2619786ba0add9ef77b.tar.bz2 |
xtensa: Optimize '(~x & y)' to '((x & y) ^ y)'
In Xtensa ISA, there is no single machine instruction that calculates unary
bitwise negation.
gcc/ChangeLog:
* config/xtensa/xtensa.md (*andsi3_bitcmpl):
New insn_and_split pattern.
gcc/testsuite/ChangeLog:
* gcc.target/xtensa/check_zero_byte.c: New.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions