From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12698 invoked by alias); 9 Sep 2007 21:59:12 -0000 Received: (qmail 12036 invoked by uid 48); 9 Sep 2007 21:59:02 -0000 Date: Sun, 09 Sep 2007 21:59:00 -0000 Message-ID: <20070909215902.12035.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment. In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "dmixm at marine dot febras dot ru" 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-09/txt/msg00774.txt.bz2 ------- Comment #12 from dmixm at marine dot febras dot ru 2007-09-09 21:59 ------- Andy Hutchinson wrote (comment #6) that addition a 'movdi' instruction improves the result. I have try to add a very simple 'movdi' (which split into 2 SImode instuctions). In result: -O0 --> 85 words, -O1,2,3,s --> 50 words. Version is 4.2.1 -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11180