Commit 64c06b13 by Uros Bizjak

i386.md (int cmove peephole2s): Use general_reg_operand instead of…

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
parent 2a30f87f
...@@ -27,11 +27,6 @@ ...@@ -27,11 +27,6 @@
(and (match_code "reg") (and (match_code "reg")
(match_test "STACK_REGNO_P (REGNO (op))"))) (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. ;; True if the operand is a GENERAL class register.
(define_predicate "general_reg_operand" (define_predicate "general_reg_operand"
(and (match_code "reg") (and (match_code "reg")
...@@ -43,11 +38,6 @@ ...@@ -43,11 +38,6 @@
(match_test "GENERAL_REGNO_P (REGNO (op))") (match_test "GENERAL_REGNO_P (REGNO (op))")
(match_operand 0 "nonimmediate_operand"))) (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. ;; True if the operand is an MMX register.
(define_predicate "mmx_reg_operand" (define_predicate "mmx_reg_operand"
(and (match_code "reg") (and (match_code "reg")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment