aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/pprof
diff options
context:
space:
mode:
authorCherry Zhang <cherryyz@google.com>2016-09-19 07:45:08 -0400
committerCherry Zhang <cherryyz@google.com>2016-09-20 13:40:48 +0000
commit38cd79889ece342643b56ad6d496ef8931ca9272 (patch)
tree798540d48b188adac947c3709d6a2a6f8b4d80c6 /src/runtime/pprof
parentf964810025ae58b623798a1944c39c06266fb45d (diff)
downloadgo-38cd79889ece342643b56ad6d496ef8931ca9272.tar.xz
cmd/compile: simplify div/mod on ARM
On ARM, DIV, DIVU, MOD, MODU are pseudo instructions that makes runtime calls _div/_udiv/_mod/_umod, which themselves are wrappers of udiv. The udiv function does the real thing. Instead of generating these pseudo instructions, call to udiv directly. This removes one layer of wrappers (which has an awkward way of passing argument), and also allows combining DIV and MOD if both results are needed. Change-Id: I118afc3986db3a1daabb5c1e6e57430888c91817 Reviewed-on: https://go-review.googlesource.com/29390 Reviewed-by: David Chase <drchase@google.com>
Diffstat (limited to 'src/runtime/pprof')
0 files changed, 0 insertions, 0 deletions