[Bug target/59046] New: [4.8.x REGRESSION] corei7: L1 + L2 cache size not correct

gnu.org at marc dot ngoe.de gcc-bugzilla@gcc.gnu.org
Fri Nov 8 08:44:00 GMT 2013


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59046

            Bug ID: 59046
           Summary: [4.8.x REGRESSION] corei7: L1 + L2 cache size not
                    correct
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: gnu.org at marc dot ngoe.de

Issuing the following command gives incorrect cache sizes with gcc 4.8.1:

gcc -march=native -E -v - </dev/null 2>&1 | grep c1

17.05.2013 gcc-4.7.3                                                            
/usr/libexec/gcc/i686-pc-linux-gnu/4.7.3/cc1         -E -quiet -v -            
        -march=corei7 -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm
-mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx
-mno-avx2 -msse4.2 -msse4    .1 -mno-lzcnt -mno-rdrnd -mno-f16c -mno-fsgsbase
--param l1-cache-size=32 --param l1-cache-line-size=64 --param
l2-cache-size=4096 -mtune=corei7
 20 #                                                                           
06.11.2013 gcc-4.8.1-r1                                                         
/usr/libexec/gcc/i686-pc-linux-gnu/4.8.1/cc1         -E -quiet -v -            
        -march=corei7 -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm
-mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mno-avx
-mno-avx2 -msse4.2 -msse4    .1 -mno-lzcnt -mno-rtm -mno-hle -mno-rdrnd
-mno-f16c -mno-fsgsbase -mno-rdseed -mno-prfchw -mno-adx -mfxsr -mno-xsave
-mno-xsaveopt --param l1-cache-size=0 --param l1-cache-line-size=0 --param
l2-cache-size=256 -mtune=corei7

According to a comment in #57657 this should have been fixed in May 15th, but
the 4.8.1 release dated May 31 still has the bug. Is this fixed in 4.8.2 or
re-introduced?



More information about the Gcc-bugs mailing list