Skip to content

Commit c7faf7f

Browse files
committed
runtime: fix nanotime1 on windows/arm
nanotime1 is broken on windows/arm since CL 526358, which unintentionally removed a necessary instruction. It hasn't been noticed till now because the there is no windows/arm builder. This CL restores the instruction. Fixes #68996. Change-Id: I52ef6891a3bd8e608b8538f456d181e08f93efaa Reviewed-on: https://go-review.googlesource.com/c/go/+/607776 Reviewed-by: Cherry Mui <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Ian Lance Taylor <[email protected]>
1 parent 64a5d1d commit c7faf7f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/runtime/sys_windows_arm.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ TEXT runtime·read_tls_fallback(SB),NOSPLIT,$0
205205
RET
206206

207207
TEXT runtime·nanotime1(SB),NOSPLIT,$0-8
208+
MOVW $_INTERRUPT_TIME, R3
208209
loop:
209210
MOVW time_hi1(R3), R1
210211
DMB MB_ISH

0 commit comments

Comments
 (0)