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: "chrbr at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Apr 2007 13:13:10 -0000
- Subject: [Bug target/31640] cache block alignment is too aggressive on sh-elf
- References: <bug-31640-14332@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from chrbr at gcc dot gnu dot org 2007-04-20 14:13 -------
Created an attachment (id=13391)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13391&action=view)
Illustrative patch to not align small basic blocks
I used this patch to reduce the number of basic blocks aligned on cache-lines.
My choice was not to align blocks less than 16 bytes (also tried 32 bytes)
seems to give the best results.
Note than never aligning doesn't degrade eebmc perfs (similar to
-falign-jumps=1)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31640