https://gcc.gnu.org/bugzilla/show_bug.cgi?id=87444

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
(In reply to George from comment #4)
> Richard Biener,
> 
> Thanks for the reply. Unfortunately I don't understand what it means -
> whether I should set explicitly the correct l2-cache-size or if that has any
> effect on the final binary.
> 
> But I realise this may not be the place for questions. In which particular
> mailing list may I get reply to my question please?

For prefetching (the only thing that uses the L2 numbers) the L3 size (last
level cache) is more appropriate here.  As said that could be probably better
reflected in the code.

IIRC there's even CPUs with L4 cache.  And with CPUs with SMT even L1 isn't
exclusive to a thread.  Modeling the memory subsystem with main memory, L2 and
L1 isn't really state of the art any more.

You can ask on gcc-h...@gcc.gnu.org

Reply via email to