@@ -89,7 +89,7 @@ extern bool s_detected_avx512;
8989extern bool s_detected_clmul ;
9090extern bool s_detected_vpclmulqdq ;
9191
92- static inline void s_init_detection_cache (void ) {
92+ static inline void aws_init_detection_cache (void ) {
9393 s_detected_clmul = aws_cpu_has_feature (AWS_CPU_FEATURE_CLMUL );
9494 s_detected_sse42 = aws_cpu_has_feature (AWS_CPU_FEATURE_SSE_4_2 );
9595 s_detected_avx512 = aws_cpu_has_feature (AWS_CPU_FEATURE_AVX512 );
@@ -99,28 +99,28 @@ static inline void s_init_detection_cache(void) {
9999
100100static inline bool aws_cpu_has_clmul_cached (void ) {
101101 if (AWS_UNLIKELY (!s_detection_performed )) {
102- s_init_detection_cache ();
102+ aws_init_detection_cache ();
103103 }
104104 return s_detected_clmul ;
105105}
106106
107107static inline bool aws_cpu_has_sse42_cached (void ) {
108108 if (AWS_UNLIKELY (!s_detection_performed )) {
109- s_init_detection_cache ();
109+ aws_init_detection_cache ();
110110 }
111111 return s_detected_sse42 ;
112112}
113113
114114static inline bool aws_cpu_has_avx512_cached (void ) {
115115 if (AWS_UNLIKELY (!s_detection_performed )) {
116- s_init_detection_cache ();
116+ aws_init_detection_cache ();
117117 }
118118 return s_detected_avx512 ;
119119}
120120
121121static inline bool aws_cpu_has_vpclmulqdq_cached (void ) {
122122 if (AWS_UNLIKELY (!s_detection_performed )) {
123- s_init_detection_cache ();
123+ aws_init_detection_cache ();
124124 }
125125 return s_detected_vpclmulqdq ;
126126}
0 commit comments