diff options
Diffstat (limited to 'gcc/config/i386/predicates.md')
-rw-r--r-- | gcc/config/i386/predicates.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index bc0a357..b4fa04e 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -611,6 +611,14 @@ return i == 2 || i == 4 || i == 8; }) +;; Match 1, 2, 4, or 8 +(define_predicate "const1248_operand" + (match_code "const_int") +{ + HOST_WIDE_INT i = INTVAL (op); + return i == 1 || i == 2 || i == 4 || i == 8; +}) + ;; Match 3, 5, or 9. Used for leal multiplicands. (define_predicate "const359_operand" (match_code "const_int") |