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/sys_linux_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/sys_linux_riscv64.s')
-rw-r--r-- | src/runtime/sys_linux_riscv64.s | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/runtime/sys_linux_riscv64.s b/src/runtime/sys_linux_riscv64.s index 9db8e3d068..626ab3912c 100644 --- a/src/runtime/sys_linux_riscv64.s +++ b/src/runtime/sys_linux_riscv64.s @@ -50,8 +50,6 @@ #define SYS_tkill 130 #define SYS_write 64 -#define FENCE WORD $0x0ff0000f - // func exit(code int32) TEXT runtime·exit(SB),NOSPLIT|NOFRAME,$0-4 MOVW code+0(FP), A0 |