Re: [x86 PATCH] PR target/70321: Split double word equality/inequality after STV.

2022-04-13 Thread Uros Bizjak via Gcc-patches
On Wed, Apr 13, 2022 at 11:03 AM Roger Sayle wrote: > > > This patch resolves the last piece of PR target/70321 a code quality > (P2 regression) affecting mainline. Currently, for HJ's testcase: > > void foo (long long ixi) > { > if (ixi != 14348907) > __builtin_abort (); > } > > GCC with -

[x86 PATCH] PR target/70321: Split double word equality/inequality after STV.

2022-04-13 Thread Roger Sayle
This patch resolves the last piece of PR target/70321 a code quality (P2 regression) affecting mainline. Currently, for HJ's testcase: void foo (long long ixi) { if (ixi != 14348907) __builtin_abort (); } GCC with -m32 -O2 generates four instructions for the comparison: movl1