This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] clarify sleu_operand
On Tue, 2005-06-07 at 22:49 +0100, Richard Sandiford wrote:
> Eric Christopher <echristo@redhat.com> writes:
> >> Um, this doesn't do the same thing at all. Please revert.
> >
> > True, but it's more accurate this way.
>
> No, it's plain wrong.
> Now read my message again. You're allowing the constant ~0U, which was
> specifically (and correctly) excluded before. And you're disallowing
> the upper range of unsigned immediates, even though they work fine.
After writing a long mail about not seeing this I found out that you
were correct in what the instruction would take. It was that we weren't
generating something like:
sltiu $2,$3,-32767
Any ideas why?
I'll revert. Thanks for the catch. My apologies.
-eric