[Bug target/107359] [aarch64] should avoid the punpklo/punpkhi compare to llvm

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2022-10-23
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #2 from Andrew Pinski  ---
Confirmed.

Note if you use float instead of double. GCC produces better code. That is the
following testcase:
int check (char *mask, float *result, int n) {
int count = 0;
for (int i=0; i

[Bug target/107359] [aarch64] should avoid the punpklo/punpkhi compare to llvm

2022-10-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107359

--- Comment #1 from Andrew Pinski  ---
Options: -O3  -march=armv8.2-a+sve