From 0022b96acb748d48795c577ccad27adcc85e9584 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 14 Dec 2004 23:59:34 -0800 Subject: [PATCH] * config/i386/i386.md: Fix missing modes on cmove splitters. From-SVN: r92180 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.md | 40 ++++++++++++++++++++-------------------- 2 files changed, 24 insertions(+), 20 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 98769b211aa..2639ad5a786 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2004-12-15 Richard Henderson + + * config/i386/i386.md: Fix missing modes on cmove splitters. + 2004-12-15 Jan Beulich * mklibgcc.in (libgcc2_c_dep): Add dependency on libgcc2.h. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index bf938be76c6..fba30b268a8 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -18225,11 +18225,11 @@ ;; or op2, op0 - get the nonzero one into the result. (define_split [(set (match_operand:SF 0 "register_operand" "") - (if_then_else (match_operator:SF 1 "sse_comparison_operator" - [(match_operand:SF 4 "register_operand" "") - (match_operand:SF 5 "nonimmediate_operand" "")]) - (match_operand:SF 2 "register_operand" "") - (match_operand:SF 3 "register_operand" ""))) + (if_then_else:SF (match_operator:SF 1 "sse_comparison_operator" + [(match_operand:SF 4 "register_operand" "") + (match_operand:SF 5 "nonimmediate_operand" "")]) + (match_operand:SF 2 "register_operand" "") + (match_operand:SF 3 "register_operand" ""))) (clobber (match_operand 6 "" "")) (clobber (reg:CC FLAGS_REG))] "SSE_REG_P (operands[0]) && reload_completed" @@ -18263,11 +18263,11 @@ (define_split [(set (match_operand:DF 0 "register_operand" "") - (if_then_else (match_operator:DF 1 "sse_comparison_operator" - [(match_operand:DF 4 "register_operand" "") - (match_operand:DF 5 "nonimmediate_operand" "")]) - (match_operand:DF 2 "register_operand" "") - (match_operand:DF 3 "register_operand" ""))) + (if_then_else:DF (match_operator:DF 1 "sse_comparison_operator" + [(match_operand:DF 4 "register_operand" "") + (match_operand:DF 5 "nonimmediate_operand" "")]) + (match_operand:DF 2 "register_operand" "") + (match_operand:DF 3 "register_operand" ""))) (clobber (match_operand 6 "" "")) (clobber (reg:CC FLAGS_REG))] "SSE_REG_P (operands[0]) && reload_completed" @@ -18393,11 +18393,11 @@ (define_split [(set (match_operand:SF 0 "register_operand" "") - (if_then_else (match_operator 1 "comparison_operator" - [(match_operand:SF 4 "nonimmediate_operand" "") - (match_operand:SF 5 "nonimmediate_operand" "")]) - (match_operand:SF 2 "nonmemory_operand" "") - (match_operand:SF 3 "nonmemory_operand" "")))] + (if_then_else:SF (match_operator 1 "comparison_operator" + [(match_operand:SF 4 "nonimmediate_operand" "") + (match_operand:SF 5 "nonimmediate_operand" "")]) + (match_operand:SF 2 "nonmemory_operand" "") + (match_operand:SF 3 "nonmemory_operand" "")))] "SSE_REG_P (operands[0]) && reload_completed && (const0_operand (operands[2], GET_MODE (operands[0])) || const0_operand (operands[3], GET_MODE (operands[0])))" @@ -18431,11 +18431,11 @@ (define_split [(set (match_operand:DF 0 "register_operand" "") - (if_then_else (match_operator 1 "comparison_operator" - [(match_operand:DF 4 "nonimmediate_operand" "") - (match_operand:DF 5 "nonimmediate_operand" "")]) - (match_operand:DF 2 "nonmemory_operand" "") - (match_operand:DF 3 "nonmemory_operand" "")))] + (if_then_else:DF (match_operator 1 "comparison_operator" + [(match_operand:DF 4 "nonimmediate_operand" "") + (match_operand:DF 5 "nonimmediate_operand" "")]) + (match_operand:DF 2 "nonmemory_operand" "") + (match_operand:DF 3 "nonmemory_operand" "")))] "SSE_REG_P (operands[0]) && reload_completed && (const0_operand (operands[2], GET_MODE (operands[0])) || const0_operand (operands[3], GET_MODE (operands[0])))"