Commit ef30a1c8 authored by Josh Bleecher Snyder's avatar Josh Bleecher Snyder

runtime: fix some assembly offset names

For vet. There are more. This is a start.

Change-Id: Ibbbb2b20b5db60ee3fac4a1b5913d18fab01f6b9
Reviewed-on: https://go-review.googlesource.com/36939
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: default avatarBrad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
parent 785cb7e0
...@@ -170,8 +170,8 @@ TEXT runtime·walltime(SB), NOSPLIT, $32 ...@@ -170,8 +170,8 @@ TEXT runtime·walltime(SB), NOSPLIT, $32
MOVL 16(SP), BX // nsec MOVL 16(SP), BX // nsec
// sec is in AX, nsec in BX // sec is in AX, nsec in BX
MOVL AX, sec+0(FP) MOVL AX, sec_lo+0(FP)
MOVL $0, sec+4(FP) MOVL $0, sec_hi+4(FP)
MOVL BX, nsec+8(FP) MOVL BX, nsec+8(FP)
RET RET
......
...@@ -206,9 +206,9 @@ TEXT runtime·walltime(SB), NOSPLIT, $32 ...@@ -206,9 +206,9 @@ TEXT runtime·walltime(SB), NOSPLIT, $32
MOVW 8(R13), R0 // sec MOVW 8(R13), R0 // sec
MOVW 12(R13), R2 // nsec MOVW 12(R13), R2 // nsec
MOVW R0, sec+0(FP) MOVW R0, sec_lo+0(FP)
MOVW $0, R1 MOVW $0, R1
MOVW R1, loc+4(FP) MOVW R1, sec_hi+4(FP)
MOVW R2, nsec+8(FP) MOVW R2, nsec+8(FP)
RET RET
......
...@@ -243,8 +243,8 @@ TEXT runtime·walltime(SB),NOSPLIT,$20 ...@@ -243,8 +243,8 @@ TEXT runtime·walltime(SB),NOSPLIT,$20
MOVL 16(SP), BX // nsec MOVL 16(SP), BX // nsec
// sec is in AX, nsec in BX // sec is in AX, nsec in BX
MOVL AX, sec+0(FP) MOVL AX, sec_lo+0(FP)
MOVL CX, sec+4(FP) MOVL CX, sec_hi+4(FP)
MOVL BX, nsec+8(FP) MOVL BX, nsec+8(FP)
RET RET
......
...@@ -262,8 +262,8 @@ realtime: ...@@ -262,8 +262,8 @@ realtime:
MOVL 8(SP), BX // nsec MOVL 8(SP), BX // nsec
// sec is in AX, nsec in BX // sec is in AX, nsec in BX
MOVL AX, sec+0(FP) MOVL AX, sec_lo+0(FP)
MOVL CX, sec+4(FP) MOVL CX, sec_hi+4(FP)
MOVL BX, nsec+8(FP) MOVL BX, nsec+8(FP)
RET RET
......
...@@ -203,9 +203,9 @@ TEXT runtime·walltime(SB),NOSPLIT,$16 ...@@ -203,9 +203,9 @@ TEXT runtime·walltime(SB),NOSPLIT,$16
MOVW 4(R13), R0 // low 32-bit sec MOVW 4(R13), R0 // low 32-bit sec
MOVW 8(R13), R1 // high 32-bit sec MOVW 8(R13), R1 // high 32-bit sec
MOVW 12(R13), R2 // nsec MOVW 12(R13), R2 // nsec
MOVW R0, sec+0(FP) MOVW R0, sec_lo+0(FP)
MOVW R1, sec+4(FP) MOVW R1, sec_hi+4(FP)
MOVW R2, sec+8(FP) MOVW R2, nsec+8(FP)
RET RET
TEXT syscall·now(SB),NOSPLIT,$0 TEXT syscall·now(SB),NOSPLIT,$0
......
...@@ -149,9 +149,9 @@ TEXT runtime·walltime(SB), NOSPLIT, $32 ...@@ -149,9 +149,9 @@ TEXT runtime·walltime(SB), NOSPLIT, $32
INT $0x80 INT $0x80
MOVL 12(SP), AX // sec - l32 MOVL 12(SP), AX // sec - l32
MOVL AX, sec+0(FP) MOVL AX, sec_lo+0(FP)
MOVL 16(SP), AX // sec - h32 MOVL 16(SP), AX // sec - h32
MOVL AX, sec+4(FP) MOVL AX, sec_hi+4(FP)
MOVL 20(SP), BX // nsec MOVL 20(SP), BX // nsec
MOVL BX, nsec+8(FP) MOVL BX, nsec+8(FP)
......
...@@ -110,8 +110,8 @@ TEXT runtime·walltime(SB),NOSPLIT,$8-12 ...@@ -110,8 +110,8 @@ TEXT runtime·walltime(SB),NOSPLIT,$8-12
MOVL $1000000000, CX MOVL $1000000000, CX
DIVL CX DIVL CX
MOVL AX, sec+0(FP) MOVL AX, sec_lo+0(FP)
MOVL $0, sec+4(FP) MOVL $0, sec_hi+4(FP)
MOVL DX, nsec+8(FP) MOVL DX, nsec+8(FP)
RET RET
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment