[Bug tree-optimization/54525] Recognize (vec_)cond_expr in mask operation
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jan 4 23:27:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54525
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |missed-optimization
Status|UNCONFIRMED |NEW
Last reconfirmed| |2016-01-04
Ever confirmed|0 |1
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Confirmed also on aarch64-linux-gnu:
f:
uxtb w2, w2
eor w0, w0, w1
neg w2, w2
and w0, w0, w2
eor w0, w0, w1
ret
g:
uxtb w2, w2
cmp w2, wzr
csel w0, w0, w1, ne
ret
h:
cmgt v2.2d, v3.2d, v2.2d
bif v0.16b, v1.16b, v2.16b
ret
Well actually h is detected correctly; though not on the tree level.
More information about the Gcc-bugs
mailing list