This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/48348] incorrect loongson builtin pcmpgtb_u


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))".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]