projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
markers: ensure assembly is portable by using .hword instead of .word
[ust.git]
/
include
/
ust
/
processor.h
diff --git
a/include/ust/processor.h
b/include/ust/processor.h
index 098e6b3eaaa4f6ee40ed86190c4f2780e2636a52..8a01a8868c19385b6990957693dd2915ce203f15 100644
(file)
--- a/
include/ust/processor.h
+++ b/
include/ust/processor.h
@@
-293,7
+293,7
@@
static inline int fls(int x)
/* Start TLS access of private reg stack pointer */ \
".byte 0x66\n\t" \
"leaq ust_reg_stack_ptr@tlsgd(%%rip), %%rdi\n\t" \
/* Start TLS access of private reg stack pointer */ \
".byte 0x66\n\t" \
"leaq ust_reg_stack_ptr@tlsgd(%%rip), %%rdi\n\t" \
- ".word 0x6666\n\t" \
+ ".
h
word 0x6666\n\t" \
"rex64\n\t" \
"call __tls_get_addr@plt\n\t" \
/* --- End TLS access */ \
"rex64\n\t" \
"call __tls_get_addr@plt\n\t" \
/* --- End TLS access */ \
@@
-305,7
+305,7
@@
static inline int fls(int x)
/* Start TLS access of private reg stack */ \
".byte 0x66\n\t" \
"leaq ust_reg_stack@tlsgd(%%rip), %%rdi\n\t" \
/* Start TLS access of private reg stack */ \
".byte 0x66\n\t" \
"leaq ust_reg_stack@tlsgd(%%rip), %%rdi\n\t" \
- ".word 0x6666\n\t" \
+ ".
h
word 0x6666\n\t" \
"rex64\n\t" \
"call __tls_get_addr@plt\n\t" \
/* --- End TLS access */ \
"rex64\n\t" \
"call __tls_get_addr@plt\n\t" \
/* --- End TLS access */ \
This page took
0.022749 seconds
and
4
git commands to generate.