}
if (GET_MODE_CLASS (GET_MODE (x)) == MODE_VECTOR_INT)
- asm_fprintf (f, "%wd", -INTVAL (elt));
+ asm_fprintf (f, "%wd", -UINTVAL (elt));
else if (GET_MODE_CLASS (GET_MODE (x)) == MODE_VECTOR_FLOAT
&& aarch64_print_vector_float_operand (f, x, true))
;
case MINUS:
if (CONST_INT_P (value))
{
- value = GEN_INT (-INTVAL (value));
+ value = GEN_INT (-UINTVAL (value));
code = PLUS;
}
/* Fall through. */
{
if (aarch64_plus_immediate (low_in2, DImode))
emit_insn (gen_subdi3_compare1_imm (low_dest, low_in1, low_in2,
- GEN_INT (-INTVAL (low_in2))));
+ GEN_INT (-UINTVAL (low_in2))));
else
{
low_in2 = force_reg (DImode, low_in2);
constant can be represented in SImode, this is important
for the corner case where operand[1] is INT_MIN. */
- operands[1] = GEN_INT (trunc_int_for_mode (-INTVAL (operands[1]), SImode));
+ operands[1]
+ = GEN_INT (trunc_int_for_mode (-UINTVAL (operands[1]), SImode));
if (!(*insn_data[CODE_FOR_addsi3].operand[2].predicate)
(operands[1], SImode))
/* (SZ - cnt) % SZ == -cnt % SZ */
if (CONST_INT_P (operands[2]))
{
- operands[2] = GEN_INT ((-INTVAL (operands[2]))
+ operands[2] = GEN_INT ((-UINTVAL (operands[2]))
& (GET_MODE_BITSIZE (<MODE>mode) - 1));
if (operands[2] == const0_rtx)
{
(define_predicate "aarch64_sub_immediate"
(and (match_code "const_int")
- (match_test "aarch64_uimm12_shift (-INTVAL (op))")))
+ (match_test "aarch64_uimm12_shift (-UINTVAL (op))")))
(define_predicate "aarch64_plus_immediate"
(and (match_code "const_int")
(ior (match_test "aarch64_uimm12_shift (INTVAL (op))")
- (match_test "aarch64_uimm12_shift (-INTVAL (op))"))))
+ (match_test "aarch64_uimm12_shift (-UINTVAL (op))"))))
(define_predicate "aarch64_plus_operand"
(ior (match_operand 0 "register_operand")