Message ID | 1392839061.20991.32.camel@gnopaine |
---|---|
State | New |
Headers | show |
Index: gcc/config/rs6000/rs6000.c =================================================================== --- gcc/config/rs6000/rs6000.c (revision 207910) +++ gcc/config/rs6000/rs6000.c (working copy) @@ -5020,7 +5020,7 @@ vspltis_constant (rtx op, unsigned step, unsigned val = const_vector_elt_as_int (op, BYTES_BIG_ENDIAN ? nunits - 1 : 0); splat_val = val; - msb_val = val > 0 ? 0 : -1; + msb_val = val >= 0 ? 0 : -1; /* Construct the value to be splatted, if possible. If not, return 0. */ for (i = 2; i <= copies; i *= 2)