diff options
author | Martin Kroeker <martin@ruby.chemie.uni-freiburg.de> | 2017-07-12 09:35:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-12 09:35:11 +0200 |
commit | d33fc32cf30cf1262030c93fa44c72ca8ab27681 (patch) | |
tree | c2a0a3ace37942ea0b5e069290f98737ed8e0368 | |
parent | e2d3b1561a453df0ac8cb21c57d1fa0bb819853c (diff) | |
download | openblas-d33fc32cf30cf1262030c93fa44c72ca8ab27681.tar.gz openblas-d33fc32cf30cf1262030c93fa44c72ca8ab27681.tar.bz2 openblas-d33fc32cf30cf1262030c93fa44c72ca8ab27681.zip |
Revert "Fix unintentional fall-through cases in get_cacheinfo"
-rw-r--r-- | cpuid_x86.c | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/cpuid_x86.c b/cpuid_x86.c index 3733ea3ac..ab2ecdcaf 100644 --- a/cpuid_x86.c +++ b/cpuid_x86.c @@ -637,13 +637,12 @@ 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; - break; + DTB.size = 2048; + DTB.associative = 4; + DTB.linesize = 32; + LDTB.size = 4096; + LDTB.associative= 4; + LDTB.linesize = 32; case 0x66 : LD1.size = 8; LD1.associative = 4; @@ -676,13 +675,12 @@ 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; - break; + ITB.size = 2048; + ITB.associative = 0; + ITB.linesize = 8; + LITB.size = 4096; + LITB.associative= 0; + LITB.linesize = 8; case 0x77 : LC1.size = 16; LC1.associative = 4; |