From aeaf114b41e47b8446010fdc6acbad962bf4cb8e Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Mon, 12 Oct 2009 14:31:38 +0200 Subject: [PATCH] i386.md (*setcc__2): Do not use ix86_expand_clear to zero operand 0. * config/i386/i386.md (*setcc__2): Do not use ix86_expand_clear to zero operand 0. From-SVN: r152664 --- gcc/ChangeLog | 11 ++++++++--- gcc/config/i386/i386.md | 7 +++---- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 73103c0f898..14a918b3670 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-10-12 Uros Bizjak + + * config/i386/i386.md (*setcc__2): Do not use ix86_expand_clear + to zero operand 0. + 2009-10-12 Dodji Seketeli PR c++/41570 @@ -34,14 +39,14 @@ gen_x86_movdicc_0_m1_rex64 for renamed function 2009-10-11 Jose Ruiz - Eric Botcazou + Eric Botcazou PR target/33743 * config/sparc/sol2.h (MD_UNWIND_SUPPORT): Define. * config/sparc/sol2-unwind.h: New file. 2009-10-11 Olivier Hainque - Eric Botcazou + Eric Botcazou PR target/33743 * config/i386/sol2.h (MD_UNWIND_SUPPORT): Define. @@ -1658,7 +1663,7 @@ pressure. 2009-09-29 Basile Starynkevitch - Rafael Avila de Espindola + Rafael Avila de Espindola * gengtype.c (plugin_output): New. (get_output_file_with_visibility): Return plugin_output for plugins. diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md index 63de5b9ff3a..43873c507ea 100644 --- a/gcc/config/i386/i386.md +++ b/gcc/config/i386/i386.md @@ -13824,16 +13824,15 @@ (define_insn_and_split "*setcc__2" [(set (match_operand:SWI48 0 "register_operand" "=q") (match_operator:SWI48 1 "ix86_comparison_operator" - [(reg FLAGS_REG) (const_int 0)])) - (clobber (reg:CC FLAGS_REG))] + [(reg FLAGS_REG) (const_int 0)]))] "TARGET_PARTIAL_REG_STALL" "#" "&& reload_completed" - [(set (strict_low_part (match_dup 2)) (match_dup 1))] + [(set (match_dup 0) (const_int 0)) + (set (strict_low_part (match_dup 2)) (match_dup 1))] { PUT_MODE (operands[1], QImode); operands[2] = gen_lowpart (QImode, operands[0]); - ix86_expand_clear (operands[0]); }) (define_insn "*setcc_qi"