diff options
author | Russ Cox <rsc@golang.org> | 2019-06-05 13:57:47 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2019-06-06 00:12:04 +0000 |
commit | 26a5f6a32e76e977d4d937140991bf70b5e27161 (patch) | |
tree | 5f4740bc0f975941832bcf88f3521e9b0a6d1be3 /src/runtime/race_ppc64le.s | |
parent | 4ed2e193bd1609a0f59ea2ec5343b4f106f92f95 (diff) | |
download | go-26a5f6a32e76e977d4d937140991bf70b5e27161.tar.gz go-26a5f6a32e76e977d4d937140991bf70b5e27161.zip |
runtime: fix scattered non-tab indentation in assembly
Change-Id: I6940a4c747f2da871263afa6a4e3386395d5cf54
Reviewed-on: https://go-review.googlesource.com/c/go/+/180839
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/race_ppc64le.s')
-rw-r--r-- | src/runtime/race_ppc64le.s | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/runtime/race_ppc64le.s b/src/runtime/race_ppc64le.s index 8aba786d3f..79b8ba2ae8 100644 --- a/src/runtime/race_ppc64le.s +++ b/src/runtime/race_ppc64le.s @@ -97,9 +97,9 @@ TEXT runtime·racereadrangepc1(SB), NOSPLIT, $0-24 MOVD size+8(FP), R5 MOVD pc+16(FP), R6 ADD $4, R6 // tsan wants return addr - // void __tsan_read_range(ThreadState *thr, void *addr, uintptr size, void *pc); - MOVD $__tsan_read_range(SB), R8 - BR racecalladdr<>(SB) + // void __tsan_read_range(ThreadState *thr, void *addr, uintptr size, void *pc); + MOVD $__tsan_read_range(SB), R8 + BR racecalladdr<>(SB) TEXT runtime·RaceReadRange(SB), NOSPLIT, $0-24 BR runtime·racereadrange(SB) @@ -384,8 +384,8 @@ racecallatomic_ignore: MOVD R17, R6 // restore arg list addr // Call the atomic function. // racecall will call LLVM race code which might clobber r30 (g) - MOVD runtime·tls_g(SB), R10 - MOVD 0(R13)(R10*1), g + MOVD runtime·tls_g(SB), R10 + MOVD 0(R13)(R10*1), g MOVD g_racectx(g), R3 MOVD R8, R4 // pc being called same TODO as above @@ -516,7 +516,7 @@ rest: BL runtime·racecallback(SB) // All registers are clobbered after Go code, reload. MOVD runtime·tls_g(SB), R10 - MOVD 0(R13)(R10*1), g + MOVD 0(R13)(R10*1), g MOVD g_m(g), R7 MOVD m_curg(R7), g // restore g = m->curg |