projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
radeon: Make RADEON_CMDBUF more fine grained.
[mesa.git]
/
src
/
mesa
/
math
/
m_debug_util.h
diff --git
a/src/mesa/math/m_debug_util.h
b/src/mesa/math/m_debug_util.h
index 776c26475e7d58c294eb30e1129e679b01365402..2e67db8e55d61ae584bcce3332731af112f96a49 100644
(file)
--- a/
src/mesa/math/m_debug_util.h
+++ b/
src/mesa/math/m_debug_util.h
@@
-185,7
+185,7
@@
extern char *mesa_profile;
#endif
#endif
-#elif defined(__
amd
64__)
+#elif defined(__
x86_
64__)
#define rdtscll(val) do { \
unsigned int a,d; \
#define rdtscll(val) do { \
unsigned int a,d; \
@@
-231,8
+231,8
@@
extern char *mesa_profile;
#define BEGIN_RACE(x) \
x = LONG_MAX; \
for (cycle_i = 0; cycle_i <10; cycle_i++) { \
#define BEGIN_RACE(x) \
x = LONG_MAX; \
for (cycle_i = 0; cycle_i <10; cycle_i++) { \
- register long cycle_tmp1
asm("l0");
\
- register long cycle_tmp2
asm("l1");
\
+ register long cycle_tmp1
__asm__("l0");
\
+ register long cycle_tmp2
__asm__("l1");
\
/* rd %tick, %l0 */ \
__asm__ __volatile__ (".word 0xa1410000" : "=r" (cycle_tmp1)); /* save timestamp */
/* rd %tick, %l0 */ \
__asm__ __volatile__ (".word 0xa1410000" : "=r" (cycle_tmp1)); /* save timestamp */