summaryrefslogtreecommitdiff
path: root/devel/gmp/patches/patch-af
blob: be7661df02b7a1ec9f3f3ccb8f18ab7493edabce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$NetBSD: patch-af,v 1.3 2010/05/28 13:50:26 martin Exp $

--- mpn/vax/lshift.s.orig	2010-02-06 13:43:14.000000000 +0100
+++ mpn/vax/lshift.s	2010-05-25 10:04:33.000000000 +0200
@@ -28,29 +28,29 @@
 
 .text
 	.align 1
-.globl ___gmpn_lshift
-___gmpn_lshift:
+.globl __gmpn_lshift
+__gmpn_lshift:
 	.word	0x1c0
-	movl	4(ap),r7
-	movl	8(ap),r6
-	movl	12(ap),r1
-	movl	16(ap),r8
+	movl	4(%ap),%r7
+	movl	8(%ap),%r6
+	movl	12(%ap),%r1
+	movl	16(%ap),%r8
 
-	moval	(r6)[r1],r6
-	moval	(r7)[r1],r7
-	clrl	r3
-	movl	-(r6),r2
-	ashq	r8,r2,r4
-	movl	r5,r0
-	movl	r2,r3
-	decl	r1
-	jeql	Lend
+	moval	(%r6)[%r1],%r6
+	moval	(%r7)[%r1],%r7
+	clrl	%r3
+	movl	-(%r6),%r2
+	ashq	%r8,%r2,%r4
+	movl	%r5,%r0
+	movl	%r2,%r3
+	decl	%r1
+	jeql	.Lend
 
-Loop:	movl	-(r6),r2
-	ashq	r8,r2,r4
-	movl	r5,-(r7)
-	movl	r2,r3
-	sobgtr	r1,Loop
+.Loop:	movl	-(%r6),%r2
+	ashq	%r8,%r2,%r4
+	movl	%r5,-(%r7)
+	movl	%r2,%r3
+	sobgtr	%r1,.Loop
 
-Lend:	movl	r4,-4(r7)
+.Lend:	movl	%r4,-4(%r7)
 	ret