]> Cypherpunks repositories - gostls13.git/commit
cmd/compile: CALLudiv on nacl/arm doesn't clobber R12
authorCherry Zhang <cherryyz@google.com>
Fri, 9 Feb 2018 17:47:33 +0000 (12:47 -0500)
committerCherry Zhang <cherryyz@google.com>
Wed, 14 Feb 2018 17:09:15 +0000 (17:09 +0000)
commit5a43a271e8cc589e077b4e056298d3711e233cd3
tree733564dad60c29db850dc96691836da21fad14f4
parent633b38c5d2bd66e0a4688d80f13ccd3c0837948d
cmd/compile: CALLudiv on nacl/arm doesn't clobber R12

On nacl/arm, R12 is clobbered by the RET instruction in function
that has a frame. runtime.udiv doesn't have a frame, so it does
not clobber R12.

Change-Id: I0de448749f615908f6659e92d201ba3eb2f8266d
Reviewed-on: https://go-review.googlesource.com/93116
Run-TryBot: Cherry Zhang <cherryyz@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Austin Clements <austin@google.com>
src/cmd/compile/internal/ssa/config.go
src/runtime/vlop_arm.s