diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2017-07-11 15:39:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-11 15:39:15 +0200 |
commit | 4a012c3d208f7e2a1df9303a50c884970217a259 (patch) | |
tree | d8bfd4f00ef34484b717060663f6f087e849b603 | |
parent | 482015f8d6840da9617b422e758162cf7358c8b2 (diff) | |
download | openblas-4a012c3d208f7e2a1df9303a50c884970217a259.tar.gz openblas-4a012c3d208f7e2a1df9303a50c884970217a259.tar.bz2 openblas-4a012c3d208f7e2a1df9303a50c884970217a259.zip |
Fix unintentional fall-through cases in get_cacheinfo
These appear to be unintended side effects of PR #1091, probably causing #1232
-rw-r--r-- | cpuid_x86.c | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/cpuid_x86.c b/cpuid_x86.c index ab2ecdcaf..3733ea3ac 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -637,12 +637,13 @@ int get_cacheinfo(int type, cache_info_t *cacheinfo){ LD1.linesize = 64; break; case 0x63 : - DTB.size = 2048; - DTB.associative = 4; - DTB.linesize = 32; - LDTB.size = 4096; - LDTB.associative= 4; - LDTB.linesize = 32; + DTB.size = 2048; + DTB.associative = 4; + DTB.linesize = 32; + LDTB.size = 4096; + LDTB.associative= 4; + LDTB.linesize = 32; + break; case 0x66 : LD1.size = 8; LD1.associative = 4; @@ -675,12 +676,13 @@ int get_cacheinfo(int type, cache_info_t *cacheinfo){ LC1.associative = 8; break; case 0x76 : - ITB.size = 2048; - ITB.associative = 0; - ITB.linesize = 8; - LITB.size = 4096; - LITB.associative= 0; - LITB.linesize = 8; + ITB.size = 2048; + ITB.associative = 0; + ITB.linesize = 8; + LITB.size = 4096; + LITB.associative= 0; + LITB.linesize = 8; + break; case 0x77 : LC1.size = 16; LC1.associative = 4; |