summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-05-03 13:24:39 -0700
committerRuss Cox <rsc@golang.org>2010-05-03 13:24:39 -0700
commite3846cacee1b5abcdca8993699f49d259bf67698 (patch)
tree8e5b44e8b3e4c58ee1520de59a77b5a5ca3c2656 /src
parentaba5fa171afb3acacc97502c1a8563ce273e8e75 (diff)
downloadgolang-e3846cacee1b5abcdca8993699f49d259bf67698.tar.gz
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 http://codereview.appspot.com/1079041
Diffstat (limited to 'src')
-rw-r--r--src/pkg/runtime/arm/vlop.s14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/pkg/runtime/arm/vlop.s b/src/pkg/runtime/arm/vlop.s
index db19f402e..c9e7090fc 100644
--- a/src/pkg/runtime/arm/vlop.s
+++ b/src/pkg/runtime/arm/vlop.s
@@ -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