aboutsummaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2023-03-23 14:18:19 -0400
committerMichael Pratt <mpratt@google.com>2023-03-23 20:52:57 +0000
commitb0dfcb74651b82123746273bbf6bb9988cd96e18 (patch)
tree738c8a064cb8d614bd75fbb502b04e08b5dcb615 /src/runtime
parent7b887158825720134181b6fe403066eee0cccee3 (diff)
downloadgo-b0dfcb74651b82123746273bbf6bb9988cd96e18.tar.xz
all: replace leading spaces with tabs in assembly
Most of these are one-off mistakes. Only one file was all spaces. Change-Id: I277c3ce4a4811aa4248c90676f66bc775ae8d062 Reviewed-on: https://go-review.googlesource.com/c/go/+/478976 Run-TryBot: Michael Pratt <mpratt@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/asm_loong64.s4
-rw-r--r--src/runtime/asm_mips64x.s2
-rw-r--r--src/runtime/memmove_ppc64x.s2
-rw-r--r--src/runtime/sys_freebsd_amd64.s2
-rw-r--r--src/runtime/sys_linux_amd64.s2
-rw-r--r--src/runtime/sys_linux_ppc64x.s4
-rw-r--r--src/runtime/sys_netbsd_amd64.s2
-rw-r--r--src/runtime/sys_windows_386.s2
-rw-r--r--src/runtime/sys_windows_amd64.s10
9 files changed, 15 insertions, 15 deletions
diff --git a/src/runtime/asm_loong64.s b/src/runtime/asm_loong64.s
index e226bda36f..6fa9484333 100644
--- a/src/runtime/asm_loong64.s
+++ b/src/runtime/asm_loong64.s
@@ -83,8 +83,8 @@ TEXT runtime·asminit(SB),NOSPLIT|NOFRAME,$0-0
RET
TEXT runtime·mstart(SB),NOSPLIT|TOPFRAME,$0
- JAL runtime·mstart0(SB)
- RET // not reached
+ JAL runtime·mstart0(SB)
+ RET // not reached
// func cputicks() int64
TEXT runtime·cputicks(SB),NOSPLIT,$0-8
diff --git a/src/runtime/asm_mips64x.s b/src/runtime/asm_mips64x.s
index 53944ec892..8d1f6506da 100644
--- a/src/runtime/asm_mips64x.s
+++ b/src/runtime/asm_mips64x.s
@@ -652,7 +652,7 @@ retry:
// Increment wbBuf.next position.
ADDV R25, R2
// Is the buffer full?
- SGTU R2, R23, R23
+ SGTU R2, R23, R23
BNE R23, flush
// Commit to the larger buffer.
MOVV R2, (p_wbBuf+wbBuf_next)(R1)
diff --git a/src/runtime/memmove_ppc64x.s b/src/runtime/memmove_ppc64x.s
index dee59054b9..1b3fe69ef8 100644
--- a/src/runtime/memmove_ppc64x.s
+++ b/src/runtime/memmove_ppc64x.s
@@ -106,7 +106,7 @@ lt64gt8:
ADD $32, TGT
lt32gt8:
- // At this point >= 8 and < 32
+ // At this point >= 8 and < 32
// Move 16 bytes if possible
CMP DWORDS, $2
BLT lt16
diff --git a/src/runtime/sys_freebsd_amd64.s b/src/runtime/sys_freebsd_amd64.s
index eedab4e2a7..26242d545a 100644
--- a/src/runtime/sys_freebsd_amd64.s
+++ b/src/runtime/sys_freebsd_amd64.s
@@ -279,7 +279,7 @@ TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME|NOFRAME,$0
ADJSP $-24
- POP_REGS_HOST_TO_ABI0()
+ POP_REGS_HOST_TO_ABI0()
RET
// Called using C ABI.
diff --git a/src/runtime/sys_linux_amd64.s b/src/runtime/sys_linux_amd64.s
index 9f18d2d7cd..db6d1cbbb7 100644
--- a/src/runtime/sys_linux_amd64.s
+++ b/src/runtime/sys_linux_amd64.s
@@ -353,7 +353,7 @@ TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME|NOFRAME,$0
ADJSP $-24
- POP_REGS_HOST_TO_ABI0()
+ POP_REGS_HOST_TO_ABI0()
RET
// Called using C ABI.
diff --git a/src/runtime/sys_linux_ppc64x.s b/src/runtime/sys_linux_ppc64x.s
index b8f3cfddeb..f293442de9 100644
--- a/src/runtime/sys_linux_ppc64x.s
+++ b/src/runtime/sys_linux_ppc64x.s
@@ -652,8 +652,8 @@ TEXT runtime·cgoSigtramp(SB),NOSPLIT|NOFRAME,$0
BEQ sigtramp
// Inspect the g in TLS without clobbering R30/R31 via runtime.load_g.
- MOVD runtime·tls_g(SB), R9
- MOVD 0(R9), R9
+ MOVD runtime·tls_g(SB), R9
+ MOVD 0(R9), R9
// Figure out if we are currently in a cgo call.
// If not, just do usual sigtramp.
diff --git a/src/runtime/sys_netbsd_amd64.s b/src/runtime/sys_netbsd_amd64.s
index 2c5dc01bb6..721ffd614c 100644
--- a/src/runtime/sys_netbsd_amd64.s
+++ b/src/runtime/sys_netbsd_amd64.s
@@ -324,7 +324,7 @@ TEXT runtime·sigtramp(SB),NOSPLIT|TOPFRAME|NOFRAME,$0
ADJSP $-24
- POP_REGS_HOST_TO_ABI0()
+ POP_REGS_HOST_TO_ABI0()
RET
TEXT runtime·mmap(SB),NOSPLIT,$0
diff --git a/src/runtime/sys_windows_386.s b/src/runtime/sys_windows_386.s
index f5ce977f36..e16993e699 100644
--- a/src/runtime/sys_windows_386.s
+++ b/src/runtime/sys_windows_386.s
@@ -112,7 +112,7 @@ TEXT runtime·lastcontinuetramp(SB),NOSPLIT,$0-0
JMP sigtramp<>(SB)
TEXT runtime·callbackasm1(SB),NOSPLIT,$0
- MOVL 0(SP), AX // will use to find our callback context
+ MOVL 0(SP), AX // will use to find our callback context
// remove return address from stack, we are not returning to callbackasm, but to its caller.
ADDL $4, SP
diff --git a/src/runtime/sys_windows_amd64.s b/src/runtime/sys_windows_amd64.s
index 367cb2ba76..ecbe8d3329 100644
--- a/src/runtime/sys_windows_amd64.s
+++ b/src/runtime/sys_windows_amd64.s
@@ -151,15 +151,15 @@ TEXT runtime·callbackasm1(SB),NOSPLIT|NOFRAME,$0
// In any case, even if function has 0,1,2,3,4 args, there is reserved
// but uninitialized "shadow space" for the first 4 args.
// The values are in registers.
- MOVQ CX, (16+0)(SP)
- MOVQ DX, (16+8)(SP)
- MOVQ R8, (16+16)(SP)
- MOVQ R9, (16+24)(SP)
+ MOVQ CX, (16+0)(SP)
+ MOVQ DX, (16+8)(SP)
+ MOVQ R8, (16+16)(SP)
+ MOVQ R9, (16+24)(SP)
// R8 = address of args vector
LEAQ (16+0)(SP), R8
// remove return address from stack, we are not returning to callbackasm, but to its caller.
- MOVQ 0(SP), AX
+ MOVQ 0(SP), AX
ADDQ $8, SP
// determine index into runtime·cbs table