make stormy16 use constraints.md
[gcc.git] / gcc / config / stormy16 / predicates.md
index 0e1d39431f718992a4abb531981f68cbad434a61..7270c7fe7a7e0ee847e65ff6b2524f1b937b8e52 100644 (file)
 {
   /* 'Q' is for pushes, 'R' for pops.  */
   return (nonimmediate_operand (op, mode) 
-         && ! xstormy16_extra_constraint_p (op, 'Q')
-         && ! xstormy16_extra_constraint_p (op, 'R'));
+         && ! satisfies_constraint_Q (op)
+         && ! satisfies_constraint_R (op));
 })
 
 (define_predicate "xstormy16_carry_plus_operand"