Commit 23c0aa39 authored by Russ Cox's avatar Russ Cox

runtime/arm: fix build

Import _mulv from Inferno again, change R9 to R2.
Not sure what the other differences were for, but
they weren't working.

TBR=kaib
CC=golang-dev
https://golang.org/cl/1079041
parent 28db812c
......@@ -32,17 +32,17 @@ arg=0
TEXT _mulv(SB), $0
MOVW 0(FP), R0
MOVW 8(FP), R2 /* l0 */
MOVW 4(FP), R3 /* h0 */
MOVW 16(FP), R4 /* l1 */
MOVW 12(FP), R5 /* h1 */
MOVW 4(FP), R2 /* l0 */
MOVW 8(FP), R11 /* h0 */
MOVW 12(FP), R4 /* l1 */
MOVW 16(FP), R5 /* h1 */
UMULL(4, 2, 7, 6, 0)
MUL(3, 4, 8, 0)
MUL(11, 4, 8, 0)
ADD R8, R7
MUL(2, 5, 8, 0)
ADD R8, R7
MOVW R6, 4(R(arg))
MOVW R7, 0(R(arg))
MOVW R6, 0(R(arg))
MOVW R7, 4(R(arg))
RET
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment