This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52933] SH Target: Use div0s for integer sign comparisons
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 06 May 2016 15:24:06 +0000
- Subject: [Bug target/52933] SH Target: Use div0s for integer sign comparisons
- Auto-submitted: auto-generated
- References: <bug-52933-4 at http dot gcc dot gnu dot org/bugzilla/>
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.