aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/swr
diff options
context:
space:
mode:
authorTim Rowley <[email protected]>2016-03-24 11:07:32 -0500
committerTim Rowley <[email protected]>2016-03-25 14:43:13 -0500
commit1da9c8a970207b5aac96b3161706041e781124f6 (patch)
tree927b7464221f35bfd7a7ee654fde15e3ee8e045a /src/gallium/drivers/swr
parent49678803f79ee097749a5b2423b82bd50c6ea430 (diff)
swr: [rasterizer core] don't assume linux is 64-bit
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r--src/gallium/drivers/swr/rasterizer/core/utils.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/utils.h b/src/gallium/drivers/swr/rasterizer/core/utils.h
index b9dc48c4fd7..45b0e20a91a 100644
--- a/src/gallium/drivers/swr/rasterizer/core/utils.h
+++ b/src/gallium/drivers/swr/rasterizer/core/utils.h
@@ -46,8 +46,7 @@ void OpenBitmapFromFile(
uint32_t *height);
#endif
-/// @todo assume linux is always 64 bit
-#if defined(_WIN64) || defined(__linux__) || defined(__gnu_linux__)
+#if defined(_WIN64) || defined(__x86_64__)
#define _MM_INSERT_EPI64 _mm_insert_epi64
#define _MM_EXTRACT_EPI64 _mm_extract_epi64
#else