]> Cypherpunks repositories - gostls13.git/commit
runtime: restore arm assembly stubs for div/mod
authorKeith Randall <keithr@alum.mit.edu>
Wed, 14 Jun 2017 18:36:36 +0000 (11:36 -0700)
committerKeith Randall <khr@golang.org>
Thu, 15 Jun 2017 03:51:03 +0000 (03:51 +0000)
commit79d05e75ca38f0e4b9986bbba4cd56398428f9fb
treeb3e363ce26fb39aed4cbcde6c144a71286ae0e10
parent90b7058ec4b73fe1da0e94ccd80d78835b6e32cb
runtime: restore arm assembly stubs for div/mod

These are used by DIV[U] and MOD[U] assembly instructions.
Add a test in the stdlib so we actually exercise linking
to these routines.

Update #19507

Change-Id: I0d8e19a53e3744abc0c661ea95486f94ec67585e
Reviewed-on: https://go-review.googlesource.com/45703
Reviewed-by: Cherry Zhang <cherryyz@google.com>
src/cmd/internal/obj/arm/asm5.go
src/runtime/softfloat_arm.go
src/runtime/vlop_arm.s
test/fixedbugs/issue19507.dir/div_arm.s [new file with mode: 0644]
test/fixedbugs/issue19507.dir/main.go [new file with mode: 0644]
test/fixedbugs/issue19507.go [new file with mode: 0644]
test/run.go