This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/51534] Bad code gen for vcgtq_u32 NEON intrinsic
- From: "rearnsha at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 14 Dec 2011 14:36:51 +0000
- Subject: [Bug target/51534] Bad code gen for vcgtq_u32 NEON intrinsic
- Auto-submitted: auto-generated
- References: <bug-51534-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51534
Richard Earnshaw <rearnsha at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-12-14
Ever Confirmed|0 |1
--- Comment #2 from Richard Earnshaw <rearnsha at gcc dot gnu.org> 2011-12-14 14:36:51 UTC ---
Confirmed.
The VCGT ..., #0 instruction only operates on signed types. Also applies to
VCLE.
Alternatives for unsigned are:
- load 0 into a register
- convert the comparison to VCEQ then, for GT only, invert the result.