mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
util: Do not include immintrin.h in half_float.h
The files included are extremely large and hurt compile time of everything that inludes half_float.h directly or indirectly. Compile time of a fresh RADV build: before 32.477s 32.661s 32.625s after 25.116s 24.928s 25.114s v2: Include xmmintrin instead (Marek Olšák) after 25.552s 25.811s 25.678s Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23871>
This commit is contained in:
parent
189c7d6ff1
commit
c9a5cac4ff
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@
|
|||
#include "util/u_cpu_detect.h"
|
||||
|
||||
#if defined(USE_X86_64_ASM)
|
||||
#include <immintrin.h>
|
||||
#include <xmmintrin.h>
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue