[Bug target/31640] cache block alignment is too aggressive on sh-elf
chrbr at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Fri Apr 20 13:13:00 GMT 2007
------- 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
More information about the Gcc-bugs
mailing list