From: Tim Rowley Date: Tue, 16 Aug 2016 18:38:36 +0000 (-0600) Subject: swr: [rasterizer core] portability - remove use of INT64 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=550503e776aaca0207184a6454de6aedc8c88aac;p=mesa.git swr: [rasterizer core] portability - remove use of INT64 Signed-off-by: Tim Rowley --- diff --git a/src/gallium/drivers/swr/rasterizer/core/utils.h b/src/gallium/drivers/swr/rasterizer/core/utils.h index e66cdc34bae..0a9430af630 100644 --- a/src/gallium/drivers/swr/rasterizer/core/utils.h +++ b/src/gallium/drivers/swr/rasterizer/core/utils.h @@ -38,7 +38,7 @@ #define _MM_INSERT_EPI64 _mm_insert_epi64 #define _MM_EXTRACT_EPI64 _mm_extract_epi64 #else -INLINE INT64 _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx) +INLINE int64_t _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx) { OSALIGNLINE(uint32_t) elems[4]; _mm_store_si128((__m128i*)elems, a); @@ -56,7 +56,7 @@ INLINE INT64 _MM_EXTRACT_EPI64(__m128i a, const int32_t ndx) } } -INLINE __m128i _MM_INSERT_EPI64(__m128i a, INT64 b, const int32_t ndx) +INLINE __m128i _MM_INSERT_EPI64(__m128i a, int64_t b, const int32_t ndx) { OSALIGNLINE(int64_t) elems[2]; _mm_store_si128((__m128i*)elems, a);