]> Cypherpunks repositories - gostls13.git/commit
runtime: delete timediv
authorRuss Cox <rsc@golang.org>
Wed, 29 Oct 2025 17:37:52 +0000 (13:37 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 30 Oct 2025 16:55:06 +0000 (09:55 -0700)
commitd32b1f02c3e869b6ddf73d2113477b1fd77d42c8
tree074df75ed82ee3790fd4a4232a07754ad2693a3b
parentcbbd385cb863e4a0969de9846fdd80227ed91ad0
runtime: delete timediv

Now that the compiler handles constant 64-bit divisions
without function calls on 32-bit systems, we no longer need
to maintain and test a bad custom implementation of 64-bit division.

Change-Id: If28807ad4f86507267ae69bc8f0b09ec18e98b66
Reviewed-on: https://go-review.googlesource.com/c/go/+/716463
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
15 files changed:
src/runtime/defs1_netbsd_386.go
src/runtime/defs1_netbsd_arm.go
src/runtime/defs_freebsd_386.go
src/runtime/defs_freebsd_arm.go
src/runtime/defs_linux_386.go
src/runtime/defs_linux_arm.go
src/runtime/defs_linux_mipsx.go
src/runtime/defs_openbsd_386.go
src/runtime/defs_openbsd_arm.go
src/runtime/export_test.go
src/runtime/os_dragonfly.go
src/runtime/os_plan9.go
src/runtime/os_windows.go
src/runtime/runtime1.go
src/runtime/runtime_test.go