projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
freedreno/a4xx: remove fd4_shader_stateobj
[mesa.git]
/
src
/
gallium
/
drivers
/
llvmpipe
/
lp_test.h
diff --git
a/src/gallium/drivers/llvmpipe/lp_test.h
b/src/gallium/drivers/llvmpipe/lp_test.h
index 4b6c8a7a6a50b6962266193512ca2c4ba7a74711..3d00b01253cae6d948d4b659b88acd21895bcd2d 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_test.h
+++ b/
src/gallium/drivers/llvmpipe/lp_test.h
@@
-71,13
+71,12
@@
test_all(unsigned verbose, FILE *fp);
#if defined(PIPE_CC_MSVC)
#if defined(PIPE_CC_MSVC)
-unsigned __int64 __rdtsc();
-#pragma intrinsic(__rdtsc)
+#include <intrin.h>
#define rdtsc() __rdtsc()
#elif defined(PIPE_CC_GCC) && (defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64))
#define rdtsc() __rdtsc()
#elif defined(PIPE_CC_GCC) && (defined(PIPE_ARCH_X86) || defined(PIPE_ARCH_X86_64))
-static
INLINE
uint64_t
+static
inline
uint64_t
rdtsc(void)
{
uint32_t hi, lo;
rdtsc(void)
{
uint32_t hi, lo;