diff options
author | Joel Sing <joel@sing.id.au> | 2020-02-21 02:28:37 +1100 |
---|---|---|
committer | Joel Sing <joel@sing.id.au> | 2020-03-15 07:13:18 +0000 |
commit | 2a08f3c18127f91b22ef4f3f96c52850959b25ac (patch) | |
tree | 140ce510fc20be0f3142fd7d5d186be88b918884 /src/runtime/atomic_riscv64.s | |
parent | 3e00061f526707dbc0fa1754a7e98a29b2c25939 (diff) | |
download | go-2a08f3c18127f91b22ef4f3f96c52850959b25ac.tar.gz go-2a08f3c18127f91b22ef4f3f96c52850959b25ac.zip |
cmd/internal/obj/riscv: add FENCE instruction
Also remove #define's that were previously in use.
Updates #36765
Change-Id: I90b6a8629c78f549012f3f6c5f3b325336182712
Reviewed-on: https://go-review.googlesource.com/c/go/+/220539
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/runtime/atomic_riscv64.s')
-rw-r--r-- | src/runtime/atomic_riscv64.s | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/atomic_riscv64.s b/src/runtime/atomic_riscv64.s index 9cf54490f1..544a7c5972 100644 --- a/src/runtime/atomic_riscv64.s +++ b/src/runtime/atomic_riscv64.s @@ -4,8 +4,6 @@ #include "textflag.h" -#define FENCE WORD $0x0ff0000f - // func publicationBarrier() TEXT ·publicationBarrier(SB),NOSPLIT|NOFRAME,$0-0 FENCE |