X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;ds=sidebyside;f=gcc%2Fconfig%2Fi386%2Fpredicates.md;h=3340a2a93bf98dec47fbcad3b43aeb07e2ace8ee;hb=1297743187f312b6fd1cd419a131691e7096df7e;hp=3a8eee2152c56764739d06dbf5a857f76f29a3b3;hpb=a5ee36fd66ef5d34f3acac23f9e63c8520076bce;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index 3a8eee2152c..3340a2a93bf 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -536,6 +536,11 @@ (and (match_code "const_int") (match_test "INTVAL (op) >= 0 && INTVAL (op) <= 15"))) +;; Match 0 to 63. +(define_predicate "const_0_to_63_operand" + (and (match_code "const_int") + (match_test "INTVAL (op) >= 0 && INTVAL (op) <= 63"))) + ;; Match 0 to 255. (define_predicate "const_0_to_255_operand" (and (match_code "const_int") @@ -835,3 +840,6 @@ (define_predicate "compare_operator" (match_code "compare")) + +(define_predicate "absneg_operator" + (match_code "abs,neg"))