This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/31640] cache block alignment is too aggressive on sh-elf
- From: "olegendo at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 02 Mar 2012 20:56:50 +0000
- Subject: [Bug target/31640] cache block alignment is too aggressive on sh-elf
- Auto-submitted: auto-generated
- References: <bug-31640-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31640
--- Comment #5 from Oleg Endo <olegendo at gcc dot gnu.org> 2012-03-02 20:56:50 UTC ---
Author: olegendo
Date: Fri Mar 2 20:56:46 2012
New Revision: 184825
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=184825
Log:
PR target/31640
* config/sh/sh.h (LOOP_ALIGN): Move logic to sh_loop_align.
* config/sh/sh.c: Update copyright notice dates.
(sh_loop_align): Add logic from LOOP_ALIGN. Don't disable loop
alignment for TARGET_HARD_SH4.
(sh_option_override): Reduce default function alignment. Set
loop alignment to 4 bytes when not optimizing for size.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/sh/sh.c
trunk/gcc/config/sh/sh.h