util: Remove unused rtasm_cpu_has_sse2
authorYonggang Luo <luoyonggang@gmail.com>
Sun, 7 Aug 2022 06:32:49 +0000 (14:32 +0800)
committerMarge Bot <emma+marge@anholt.net>
Mon, 29 Aug 2022 18:06:07 +0000 (18:06 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17803>

src/gallium/auxiliary/rtasm/rtasm_cpu.c
src/gallium/auxiliary/rtasm/rtasm_cpu.h

index 2726503..d1af30f 100644 (file)
@@ -45,12 +45,6 @@ int rtasm_cpu_has_sse(void)
    return !debug_get_option_nosse() && get_cpu_caps()->has_sse;
 }
 
-int rtasm_cpu_has_sse2(void) 
-{
-   return !debug_get_option_nosse() && get_cpu_caps()->has_sse2;
-}
-
-
 #else
 
 int rtasm_cpu_has_sse(void)
@@ -58,9 +52,4 @@ int rtasm_cpu_has_sse(void)
    return 0;
 }
 
-int rtasm_cpu_has_sse2(void)
-{
-   return 0;
-}
-
 #endif
index fdec7a2..cfce8f7 100644 (file)
@@ -36,7 +36,5 @@
 
 int rtasm_cpu_has_sse(void);
 
-int rtasm_cpu_has_sse2(void);
-
 
 #endif /* _RTASM_CPU_H_ */