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/52933] SH Target: Use div0s for integer sign comparisons


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52933

Oleg Endo <olegendo at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #9 from Oleg Endo <olegendo at gcc dot gnu.org> ---
(In reply to Oleg Endo from comment #5)
> Some of the original test cases are still not working.  In particular cases
> where bit positions != 31 are compared/xor'ed:
> 
> ...

I've added support for some of those cases.  It could be extended to somehow
deal with arbitrary bit positions of both operands, but it doesn't seem worth
the trouble.  Thus declaring issue as fixed.

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