Likewise.
* rtl.h (val_mode_signbit_p, val_mode_signbit_set_p): Declare.
+ * simplify-rtx.c (simplify_ternary_operation): Remove dead code.
+
2011-07-06 Richard Guenther <rguenther@suse.de>
PR tree-optimization/49645
val |= ~ (((unsigned HOST_WIDE_INT) 1 << INTVAL (op1)) - 1);
}
- /* Clear the bits that don't belong in our mode,
- unless they and our sign bit are all one.
- So we get either a reasonable negative value or a reasonable
- unsigned value for this mode. */
- if (width < HOST_BITS_PER_WIDE_INT
- && ((val & ((unsigned HOST_WIDE_INT) (-1) << (width - 1)))
- != ((unsigned HOST_WIDE_INT) (-1) << (width - 1))))
- val &= ((unsigned HOST_WIDE_INT) 1 << width) - 1;
-
return gen_int_mode (val, mode);
}
break;