diff options
author | Emil Velikov <[email protected]> | 2014-11-15 17:04:10 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-11-15 20:34:36 +0000 |
commit | e07c9a288c8bf41ecf2dc15f5e26542d9219bb69 (patch) | |
tree | a1bd6326f46ce161bbc4a61be09104d549dac724 | |
parent | 1a6ae840413d7fb6d2e83f6a83081d5246c7ac9e (diff) |
Revert "mesa: Wrap SSE4.1 code in #ifdef __SSE4_1__."
This reverts commit 8d3f739383fbdf671752fdec707f1c2b9b2aa6a3.
In the last commit we've updated our check to determine if the actual
code is buildable, rather than if the compiler acknowledges the option.
I.e. did anyone provide -mno-sse4.1 vs is my compiler too old.
Now this code will never be attemped to be build, in both cases.
Confirmed by building mesa with
export CFLAGS='-march=native -mno-sse4.1'
./configure && make
Tested-by: David Heidelberg <[email protected]>
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/main/streaming-load-memcpy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/main/streaming-load-memcpy.c b/src/mesa/main/streaming-load-memcpy.c index 8427149c5cb..d7147afdc5c 100644 --- a/src/mesa/main/streaming-load-memcpy.c +++ b/src/mesa/main/streaming-load-memcpy.c @@ -26,7 +26,6 @@ * */ -#ifdef __SSE4_1__ #include "main/macros.h" #include "main/streaming-load-memcpy.h" #include <smmintrin.h> @@ -84,5 +83,3 @@ _mesa_streaming_load_memcpy(void *restrict dst, void *restrict src, size_t len) memcpy(d, s, len); } } - -#endif |