From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25149 invoked by alias); 25 Feb 2007 17:37:57 -0000 Received: (qmail 25108 invoked by alias); 25 Feb 2007 17:37:48 -0000 Date: Sun, 25 Feb 2007 17:37:00 -0000 Message-ID: <20070225173748.25107.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/30778] [4.3 Regression] invalid code generation for memset() with -mtune=k8 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hubicka at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-02/txt/msg02819.txt.bz2 ------- Comment #8 from hubicka at gcc dot gnu dot org 2007-02-25 17:37 ------- Subject: Bug 30778 Author: hubicka Date: Sun Feb 25 17:37:37 2007 New Revision: 122313 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=122313 Log: PR target/30778 * i386.c (counter_mode): New function. (expand_set_or_movmem_via_loop): Use it. (expand_movmem_epilogue): Likewise; fix pasto. (ix86_expand_movmem): Do emit guard even for constant counts. (ix86_expand_setmem): Likewise. Added: trunk/gcc/testsuite/gcc.c-torture/execute/pr30778.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/i386/i386.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30778