aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2024-08-02 15:22:07 +0200
committerFlorian Weimer <fweimer@redhat.com>2024-08-02 18:08:14 +0200
commit0df48472ff5b291ab0014146f33b0269ff0286a9 (patch)
treea420f9fad97b6bb4b9520cb74b0053b6bdecbfeb
parentfb507de8fcd0124ff8b2eb483701899d78f6cc7e (diff)
downloadglibc-0df48472ff5b291ab0014146f33b0269ff0286a9.zip
glibc-0df48472ff5b291ab0014146f33b0269ff0286a9.tar.gz
glibc-0df48472ff5b291ab0014146f33b0269ff0286a9.tar.bz2
x86: Add missing switch/case fall-through markers to init_cpu_features
The commits introducing these fall-throughs intended them to happen. Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
-rw-r--r--sysdeps/x86/cpu-features.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/x86/cpu-features.c b/sysdeps/x86/cpu-features.c
index c096dd3..18ed008 100644
--- a/sysdeps/x86/cpu-features.c
+++ b/sysdeps/x86/cpu-features.c
@@ -879,6 +879,7 @@ init_cpu_features (struct cpu_features *cpu_features)
non-temporal on all Skylake servers. */
cpu_features->preferred[index_arch_Avoid_Non_Temporal_Memset]
|= bit_arch_Avoid_Non_Temporal_Memset;
+ /* fallthrough */
case INTEL_BIGCORE_COMETLAKE:
case INTEL_BIGCORE_SKYLAKE:
case INTEL_BIGCORE_KABYLAKE:
@@ -1073,6 +1074,7 @@ https://www.intel.com/content/www/us/en/support/articles/000059422/processors.ht
/* Yongfeng and Shijidadao mircoarch tuning. */
case 0x5b:
cpu_features->cachesize_non_temporal_divisor = 2;
+ /* fallthrough */
case 0x6b:
cpu_features->preferred[index_arch_AVX_Fast_Unaligned_Load]
&= ~bit_arch_AVX_Fast_Unaligned_Load;