This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.
- From: "eweddington at cso dot atmel dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Sep 2007 16:10:51 -0000
- Subject: [Bug target/11180] [avr-gcc] Optimization decrease performance of struct assignment.
- References: <bug-11180-6291@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #13 from eweddington at cso dot atmel dot com 2007-09-11 16:10 -------
(In reply to comment #12)
> 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
>
That's great! Dmitry, could you attach your patch?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11180