s390: Implement extzv for z10
[gcc.git] / gcc / config / s390 / predicates.md
index b9524ecc664545a989c25372c86394e72e11c6b3..d5e185d5ac7d8208dbb78bd3f0a7567af82dd565 100644 (file)
   return true;
 })
 
+(define_predicate "nonzero_shift_count_operand"
+  (and (match_code "const_int")
+       (match_test "IN_RANGE (INTVAL (op), 1, GET_MODE_BITSIZE (mode) - 1)")))
+
 ;;  Return true if OP a valid operand for the LARL instruction.
 
 (define_predicate "larl_operand"