]> Cypherpunks.ru repositories - gostls13.git/commit
runtime: make ARM integer div-by-zero traceback-friendly
authorRuss Cox <rsc@golang.org>
Mon, 16 Sep 2013 18:04:45 +0000 (14:04 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 16 Sep 2013 18:04:45 +0000 (14:04 -0400)
commitb2794a1c2ed8c74563cf28d9e4a9b3f1db43ef1f
tree53ccdbb118fcb03d622808426c6cd2c8af241e1f
parent555da73c566c156a6982da0e06d49c71f9ea25d5
runtime: make ARM integer div-by-zero traceback-friendly

The implementation of division in the 5 toolchain is a bit too magical.
Hide the magic from the traceback routines.

Also add a test for the results of the software divide routine.

Fixes #5805.

R=golang-dev, minux.ma
CC=golang-dev
https://golang.org/cl/13239052
src/pkg/runtime/vlop_arm.s
test/divmod.go [new file with mode: 0644]