summaryrefslogtreecommitdiff
path: root/devel/gmp/patches/patch-ah
blob: 494e1e9a64a192dd5faa6bfc1fe8182863673831 (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
$NetBSD: patch-ah,v 1.2 2010/05/18 18:33:48 martin Exp $

--- mpn/vax/rshift.s.orig	2010-02-06 13:43:14.000000000 +0100
+++ mpn/vax/rshift.s	2010-05-18 10:16:29.000000000 +0200
@@ -28,27 +28,27 @@
 
 .text
 	.align 1
-.globl ___gmpn_rshift
-___gmpn_rshift:
+.globl __gmpn_rshift
+__gmpn_rshift:
 	.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
 
-	movl	(r6)+,r2
-	subl3	r8,$32,r8
-	ashl	r8,r2,r0
-	decl	r1
+	movl	(%r6)+,%r2
+	subl3	%r8,$32,%r8
+	ashl	%r8,%r2,%r0
+	decl	%r1
 	jeql	Lend
 
-Loop:	movl	(r6)+,r3
-	ashq	r8,r2,r4
-	movl	r5,(r7)+
-	movl	r3,r2
-	sobgtr	r1,Loop
+Loop:	movl	(%r6)+,%r3
+	ashq	%r8,%r2,%r4
+	movl	%r5,(%r7)+
+	movl	%r3,%r2
+	sobgtr	%r1,Loop
 
-Lend:	clrl	r3
-	ashq	r8,r2,r4
-	movl	r5,(r7)
+Lend:	clrl	%r3
+	ashq	%r8,%r2,%r4
+	movl	%r5,(%r7)
 	ret