]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: add intrinsic for MulUintptr on arm64
authorruinan <ruinan.sun@arm.com>
Thu, 21 Jul 2022 05:16:11 +0000 (05:16 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 19 Aug 2022 16:08:24 +0000 (16:08 +0000)
commitd654117075d1dd0686aa6833b22f28275623c759
tree14221343282facbceaae62b659318e1c5824b619
parentf15761b50bb3a2d1bae9b97f147b2d660e2e4853
cmd/compile: add intrinsic for MulUintptr on arm64

This CL adds intrinsic for runtime/internal/math.MulUintptr on arm64

Benchmark         master     ThisCL(ns/op)   delta
MulUintptr/small  0.95ns     0.79ns          -16%
MulUintptr/large  1.31ns     0.95ns          -27.6%

Change-Id: Ic7b453ad502826beffe93ce5531b8ba752312a1b
Reviewed-on: https://go-review.googlesource.com/c/go/+/419556
Reviewed-by: Keith Randall <khr@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Keith Randall <khr@golang.org>
Run-TryBot: Eric Fang <eric.fang@arm.com>
Auto-Submit: Keith Randall <khr@golang.org>
Reviewed-by: Joedian Reid <joedian@golang.org>
src/cmd/compile/internal/ssa/gen/ARM64.rules
src/cmd/compile/internal/ssa/rewriteARM64.go
src/cmd/compile/internal/ssagen/ssa.go