Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
6a1a832
)
vppinfra: SFENCE requires SSE2 to be enabled
93/38693/2
author
Damjan Marion
<damarion@cisco.com>
Mon, 17 Apr 2023 14:11:57 +0000
(14:11 +0000)
committer
Florin Coras
<florin.coras@gmail.com>
Mon, 17 Apr 2023 15:45:26 +0000
(15:45 +0000)
Change-Id: I0469bb91107cf0acced3cd19820db8d3712701c0
Type: fix
Fixes:
eaabe07
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vppinfra/clib.h
patch
|
blob
|
history
diff --git
a/src/vppinfra/clib.h
b/src/vppinfra/clib.h
index
dab7eeb
..
d145824
100644
(file)
--- a/
src/vppinfra/clib.h
+++ b/
src/vppinfra/clib.h
@@
-181,7
+181,7
@@
/* Full memory barrier (read and write). */
#define CLIB_MEMORY_BARRIER() __sync_synchronize ()
-#if __
x86_64
__
+#if __
SSE
__
#define CLIB_MEMORY_STORE_BARRIER() __builtin_ia32_sfence ()
#else
#define CLIB_MEMORY_STORE_BARRIER() __sync_synchronize ()