From: Jakub Jelinek Date: Tue, 10 May 2005 21:04:28 +0000 (+0200) Subject: i386.md (sse_mov?fcc* splitters): Add mode to IF_THEN_ELSE, remove mode from MATCH_OP... X-Git-Tag: releases/gcc-3.4.4~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ef2f68f29843d6658560ea4240ed57bb4a57b47;p=thirdparty%2Fgcc.git i386.md (sse_mov?fcc* splitters): Add mode to IF_THEN_ELSE, remove mode from MATCH_OPERATOR. * config/i386/i386.md (sse_mov?fcc* splitters): Add mode to IF_THEN_ELSE, remove mode from MATCH_OPERATOR. Fix a typo. From-SVN: r99542 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7412ba767850..77de6eb79f60 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-05-10 Jakub Jelinek + + * config/i386/i386.md (sse_mov?fcc* splitters): Add mode to + IF_THEN_ELSE, remove mode from MATCH_OPERATOR. Fix a typo. + 2005-05-09 Grigory Tolstolytkin Backport from mainline diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index b95f919a25de..93d9dcdba150 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -17073,11 +17073,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 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 17))] "SSE_REG_P (operands[0]) && reload_completed" @@ -17111,11 +17111,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 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 17))] "SSE_REG_P (operands[0]) && reload_completed" @@ -17241,11 +17241,11 @@ (define_split [(set (match_operand:SF 0 "register_operand" "") - (if_then_else (match_operator:SF 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])))" @@ -17272,18 +17272,18 @@ else { operands[7] = operands[2]; - operands[6] = operands[0]; + operands[6] = operands[8]; } operands[7] = simplify_gen_subreg (V4SFmode, operands[7], SFmode, 0); }) (define_split [(set (match_operand:DF 0 "register_operand" "") - (if_then_else (match_operator:DF 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])))"