if (strip_shift
&& GET_CODE (op) == ASHIFT
&& CONST_INT_P (XEXP (op, 1))
- && ((unsigned HOST_WIDE_INT) INTVAL (XEXP (op, 1))) <= 4)
+ && UINTVAL (XEXP (op, 1)) <= 4)
op = XEXP (op, 0);
if (GET_CODE (op) == ZERO_EXTEND
(define_predicate "aarch64_shift_imm_si"
(and (match_code "const_int")
- (match_test "(unsigned HOST_WIDE_INT) INTVAL (op) < 32")))
+ (match_test "UINTVAL (op) < 32")))
(define_predicate "aarch64_shift_imm_di"
(and (match_code "const_int")
- (match_test "(unsigned HOST_WIDE_INT) INTVAL (op) < 64")))
+ (match_test "UINTVAL (op) < 64")))
(define_predicate "aarch64_shift_imm64_di"
(and (match_code "const_int")
- (match_test "(unsigned HOST_WIDE_INT) INTVAL (op) <= 64")))
+ (match_test "UINTVAL (op) <= 64")))
(define_predicate "aarch64_reg_or_shift_imm_si"
(ior (match_operand 0 "register_operand")
;; range 0..4.
(define_predicate "aarch64_imm3"
(and (match_code "const_int")
- (match_test "(unsigned HOST_WIDE_INT) INTVAL (op) <= 4")))
+ (match_test "UINTVAL (op) <= 4")))
;; The imm2 field is a 2-bit field that only accepts immediates in the
;; range 0..3.