[Bug other/87444] 'gcc -marc=native' sets L2 cache size equal to L3 cache size on i7 and i5 CPU

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Sep 26 14:06:00 GMT 2018


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

--- Comment #1 from Uroš Bizjak <ubizjak at gmail dot com> ---
This is by design.

A comment in driver-i386.c says:

  /* Let the L3 replace the L2. This assumes inclusive caches
     and single threaded program for now. */
  if (level3.sizekb)
    level2 = level3;


More information about the Gcc-bugs mailing list