This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: PR target/42542: Vectorizer produces incorrect results on max of signed intergers
On Tue, Jan 5, 2010 at 7:55 AM, Paolo Bonzini <bonzini@gnu.org> wrote:
>>> I see no other way to fixup the underflow. Some comments below:
>
> You can always subtract (or XOR) the sign bit to turn an unsigned value to
> the corresponding signed value. ?The attached patch (on top of the code
> before H.J.'s patch) fixes the C testcase in the PR, but I didn't test it
> further and I don't have time unfortunately.
>
What is the the corresponding signed value of unsigned 0x8000000?
--
H.J.