On Fri, Jul 22, 2022 at 4:18 AM Takayuki 'January June' Suwa <jjsuwa_sys3...@yahoo.co.jp> wrote: > > The RTL combiner will transform "if ((x & C) == C) goto label;" > into "if ((~x & C) == 0) goto label;" and will try to match it with > the insn patterns.
... > gcc/ChangeLog: > > * config/xtensa/xtensa.md (*masktrue_const_bitcmpl): > Add a new insn_and_split pattern, and a few split patterns for > spacial cases. > --- > gcc/config/xtensa/xtensa.md | 84 +++++++++++++++++++++++++++++++++++++ > 1 file changed, 84 insertions(+) Regtested for target=xtensa-linux-uclibc, no new regressions. Committed to master. -- Thanks. -- Max