aboutsummaryrefslogtreecommitdiffstats
path: root/erts/include/internal/ethread_header_config.h.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-02-22 19:21:45 +0100
committerRickard Green <[email protected]>2016-02-22 19:21:45 +0100
commitd8699b0ca6a4e52bc04cb439d225da147161258c (patch)
tree07866379d83e4a2e037099e267de05b384b80c01 /erts/include/internal/ethread_header_config.h.in
parent167675dcb94e3809a224d3b4293594717cec48d9 (diff)
parent3ac4a18199b9f35224624851b01a0d3cb6e8e0e1 (diff)
downloadotp-d8699b0ca6a4e52bc04cb439d225da147161258c.tar.gz
otp-d8699b0ca6a4e52bc04cb439d225da147161258c.tar.bz2
otp-d8699b0ca6a4e52bc04cb439d225da147161258c.zip
Merge branch 'maint'
* maint: Improve cmpxchg8b/cmpxchg16b inline asm Improve cmpxchg8b inline asm configure test
Diffstat (limited to 'erts/include/internal/ethread_header_config.h.in')
-rw-r--r--erts/include/internal/ethread_header_config.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/include/internal/ethread_header_config.h.in b/erts/include/internal/ethread_header_config.h.in
index 9cabd0591a..f4b08cfced 100644
--- a/erts/include/internal/ethread_header_config.h.in
+++ b/erts/include/internal/ethread_header_config.h.in
@@ -166,6 +166,10 @@
/* Define if you use a gcc that supports the double word cmpxchg instruction */
#undef ETHR_GCC_HAVE_DW_CMPXCHG_ASM_SUPPORT
+/* Define if gcc wont let you clobber ebx with cmpxchg8b and position
+ independent code */
+#undef ETHR_CMPXCHG8B_PIC_NO_CLOBBER_EBX
+
/* Define if you get a register shortage with cmpxchg8b and position independent code */
#undef ETHR_CMPXCHG8B_REGISTER_SHORTAGE