re PR target/31640 (cache block alignment is too aggressive on sh-elf)
authorOleg Endo <olegendo@gcc.gnu.org>
Fri, 2 Mar 2012 20:56:46 +0000 (20:56 +0000)
committerOleg Endo <olegendo@gcc.gnu.org>
Fri, 2 Mar 2012 20:56:46 +0000 (20:56 +0000)
commitb6a0df6c472b04fffa3a458be71ab518caa5dade
treec500e77938ee84f8b9b3be4c205131a0aceaa32a
parentcd33b08fbde7a7868f902161b4caeb6a3a2b42ae
re PR target/31640 (cache block alignment is too aggressive on sh-elf)

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.

From-SVN: r184825
gcc/ChangeLog
gcc/config/sh/sh.c
gcc/config/sh/sh.h