public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* proper values for cache size parameters
@ 2019-01-10 14:01 Rasmus Villemoes
  0 siblings, 0 replies; only message in thread
From: Rasmus Villemoes @ 2019-01-10 14:01 UTC (permalink / raw)
  To: gcc-help; +Cc: Jens Steen Krogh

I have a target with 2*16KiB L1 cache (separate instruction and data)
and no L2 cache. What are appropriate values for the l1-cache-size and
l2-cache-size parameters in that case? From looking briefly into the
code, it seems that the values are only used for data accesses, so I
assume l1-cache-size should be set to 16.

But is it best to set l2-cache-size to the true value of 0, or is it
better to lie and give the same value as for l1-cache-size?

Rasmus

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-01-10 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-10 14:01 proper values for cache size parameters Rasmus Villemoes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).