From 6c12e4889f47b41aa5ad06f0eec4ac27f832669a Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Wed, 9 May 2001 16:03:39 +0200 Subject: [PATCH] * i386.md (DImode move splitters): Use !MMX and !SSE for the condition. From-SVN: r41926 --- gcc/ChangeLog | 4 ++++ gcc/config/i386/i386.md | 8 +++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d54bb88397e..0691ddc5bec4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed May 9 16:01:41 CEST 2001 Jan Hubicka + + * i386.md (DImode move splitters): Use !MMX and !SSE for the condition. + Wed May 9 10:40:25 2001 Alexandre Oliva * regclass.c (scan_one_insn): Update REG_N_REFS when optimizing diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index a0941beb7d94..b85e585433a8 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -2487,7 +2487,8 @@ (define_split [(set (match_operand:DI 0 "push_operand" "") (match_operand:DI 1 "general_operand" ""))] - "!TARGET_64BIT && reload_completed && ! MMX_REG_P (operands[1])" + "!TARGET_64BIT && reload_completed + && (! MMX_REG_P (operands[1]) && !SSE_REG_P (operands[1]))" [(const_int 0)] "ix86_split_long_move (operands); DONE;") @@ -2495,8 +2496,9 @@ (define_split [(set (match_operand:DI 0 "nonimmediate_operand" "") (match_operand:DI 1 "general_operand" ""))] - "!TARGET_64BIT && reload_completed && GENERAL_REG_P (operands[0]) - && GENERAL_REG_P (operands[1])" + "!TARGET_64BIT && reload_completed + && (!MMX_REG_P (operands[0]) && !SSE_REG_P (operands[0])) + && (!MMX_REG_P (operands[1]) && !SSE_REG_P (operands[1]))" [(const_int 0)] "ix86_split_long_move (operands); DONE;") -- 2.43.5