From: Uros Bizjak Date: Fri, 6 May 2016 18:24:40 +0000 (+0200) Subject: i386.md (int cmove peephole2s): Use general_reg_operand instead of register_and_not_a... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=64c06b13d369866d1174e5675ec20d01ea928264;p=gcc.git i386.md (int cmove peephole2s): Use general_reg_operand instead of register_and_not_any_fp_reg_operand as... * config/i386/i386.md (int cmove peephole2s): Use general_reg_operand instead of register_and_not_any_fp_reg_operand as operand 0 predicate. * config/i386/predicates.md (register_and_not_any_fp_reg_operand): Remove unused predicate. (register_and_not_fp_reg_operand): Ditto. From-SVN: r235983 --- diff --git a/gcc/config/i386/predicates.md b/gcc/config/i386/predicates.md index dd9c5dca163..b3cf2a3cb04 100644 --- a/gcc/config/i386/predicates.md +++ b/gcc/config/i386/predicates.md @@ -27,11 +27,6 @@ (and (match_code "reg") (match_test "STACK_REGNO_P (REGNO (op))"))) -;; Return true if OP is a non-fp register_operand. -(define_predicate "register_and_not_any_fp_reg_operand" - (and (match_code "reg") - (not (match_test "ANY_FP_REGNO_P (REGNO (op))")))) - ;; True if the operand is a GENERAL class register. (define_predicate "general_reg_operand" (and (match_code "reg") @@ -43,11 +38,6 @@ (match_test "GENERAL_REGNO_P (REGNO (op))") (match_operand 0 "nonimmediate_operand"))) -;; Return true if OP is a register operand other than an i387 fp register. -(define_predicate "register_and_not_fp_reg_operand" - (and (match_code "reg") - (not (match_test "STACK_REGNO_P (REGNO (op))")))) - ;; True if the operand is an MMX register. (define_predicate "mmx_reg_operand" (and (match_code "reg")