summaryrefslogtreecommitdiff
path: root/vendor/modernc.org/libc/sync_linux_amd64.s
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/modernc.org/libc/sync_linux_amd64.s')
-rw-r--r--vendor/modernc.org/libc/sync_linux_amd64.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/modernc.org/libc/sync_linux_amd64.s b/vendor/modernc.org/libc/sync_linux_amd64.s
new file mode 100644
index 000000000..de4924efe
--- /dev/null
+++ b/vendor/modernc.org/libc/sync_linux_amd64.s
@@ -0,0 +1,9 @@
+// Copyright 2021 The Libc Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+#include "textflag.h"
+
+TEXT ยท__sync_synchronize(SB), NOSPLIT, $0
+ MFENCE
+ RET