This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/48348] incorrect loongson builtin pcmpgtb_u
- From: "hp at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 30 Mar 2011 03:14:27 +0000
- Subject: [Bug target/48348] incorrect loongson builtin pcmpgtb_u
- Auto-submitted: auto-generated
- References: <bug-48348-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48348
Hans-Peter Nilsson <hp at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.03.30 03:14:23
Ever Confirmed|0 |1
--- Comment #1 from Hans-Peter Nilsson <hp at gcc dot gnu.org> 2011-03-30 03:14:23 UTC ---
(In reply to comment #0)
> ... or changed to emit multiple instructions
> (you'd need only a pmaxub and a pcmpeqb) to implement the correct comparison
> operator.
Sorry, that was for a fictional pcmpgeb_u operator. I should have written
"for pcmpgtb_u(a,b) you need not(cmpeqb(a, min(a, b))".