Closed mikrosk closed 12 months ago
Just tried on scummvm --param l1-cache-size=1 --param l1-cache-line-size=16 --param l2-cache-size=0
. It had literally zero effect while it should have:
m68k-atari-mintelf-gcc --help=param -Q | grep cache
--param=l1-cache-line-size= 32
--param=l1-cache-size= 64
--param=l2-cache-size= 512
Closing.
Accidentally, I have found this parameter in gcc's
--param
section (seeman gcc
):--param "l1-cache-size=X"
(the size of L1 cache, in kilobytes)--param "l1-cache-line-size=Y"
(the size of cache line in L1 cache, in bytes)by default, those are 64 KiB and 512 bytes, respectively. Only a few targets override this number and I wonder why? Especially on our poor 68030 this could make a serious difference. Or am I missing something?