projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
swr/rast: Initial work for debugging support.
[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 c64f3e149fdabf050d3156de1d9853f33143b5a2..3d00b01253cae6d948d4b659b88acd21895bcd2d 100644
(file)
--- a/
src/gallium/drivers/llvmpipe/lp_test.h
+++ b/
src/gallium/drivers/llvmpipe/lp_test.h
@@
-42,11
+42,6
@@
#include <float.h>
#include "gallivm/lp_bld.h"
#include <float.h>
#include "gallivm/lp_bld.h"
-#include <llvm-c/Analysis.h>
-#include <llvm-c/ExecutionEngine.h>
-#include <llvm-c/Target.h>
-#include <llvm-c/BitWriter.h>
-#include <llvm-c/Transforms/Scalar.h>
#include "pipe/p_state.h"
#include "util/u_format.h"
#include "pipe/p_state.h"
#include "util/u_format.h"
@@
-64,25
+59,24
@@
write_tsv_header(FILE *fp);
boolean
boolean
-test_some(
struct gallivm_state *gallivm,
unsigned verbose, FILE *fp,
+test_some(unsigned verbose, FILE *fp,
unsigned long n);
boolean
unsigned long n);
boolean
-test_single(
struct gallivm_state *gallivm,
unsigned verbose, FILE *fp);
+test_single(unsigned verbose, FILE *fp);
boolean
boolean
-test_all(
struct gallivm_state *gallivm,
unsigned verbose, FILE *fp);
+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;