diff options
| author | qmuntal <quimmuntal@gmail.com> | 2023-09-07 16:02:11 +0200 |
|---|---|---|
| committer | Quim Muntal <quimmuntal@gmail.com> | 2023-09-07 17:19:45 +0000 |
| commit | 4beb33018b35d3a68f0ce41bee10f56512d1696e (patch) | |
| tree | a214e4c352dd6312fc89475ce14583ec29b09089 /src/runtime/time_windows_arm.s | |
| parent | 31c1f4a61136537c5b9ead371772853e772991bb (diff) | |
| download | go-4beb33018b35d3a68f0ce41bee10f56512d1696e.tar.xz | |
runtime: remove slow time compatibility hacks for wine
This reapplies CL 191759, which was reverted in CL 192622.
Wine fixed the compatibility issue more than 3 years
ago, in version 5.10 (see [1]). We no longer have to keep the compatibility hack on our side.
Updates #34021
[1]: https://github.com/wine-mirror/wine/commit/1ae10889647c1c84c36660749508a42e99e64a5e
Change-Id: I3b77701d01fdf58fbf350321fc0a957c0f247d32
Reviewed-on: https://go-review.googlesource.com/c/go/+/526358
Reviewed-by: Daniel Martí <mvdan@mvdan.cc>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Quim Muntal <quimmuntal@gmail.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/time_windows_arm.s')
| -rw-r--r-- | src/runtime/time_windows_arm.s | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/runtime/time_windows_arm.s b/src/runtime/time_windows_arm.s index 8d4469f993..ff5686d9c4 100644 --- a/src/runtime/time_windows_arm.s +++ b/src/runtime/time_windows_arm.s @@ -9,10 +9,6 @@ #include "time_windows.h" TEXT time·now(SB),NOSPLIT,$0-20 - MOVW $0, R0 - MOVB runtime·useQPCTime(SB), R0 - CMP $0, R0 - BNE useQPC MOVW $_INTERRUPT_TIME, R3 loop: MOVW time_hi1(R3), R1 @@ -85,6 +81,4 @@ wall: MOVW R7,sec_hi+4(FP) MOVW R1,nsec+8(FP) RET -useQPC: - RET runtime·nowQPC(SB) // tail call |
