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>
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)
return 0;
}
-int rtasm_cpu_has_sse2(void)
-{
- return 0;
-}
-
#endif
int rtasm_cpu_has_sse(void);
-int rtasm_cpu_has_sse2(void);
-
#endif /* _RTASM_CPU_H_ */