Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Dec 2002 19:42:44 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 21895 for review
Message-ID:  <200212040342.gB43giw9002863@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=21895

Change 21895 by marcel@marcel_nfs on 2002/12/03 19:41:48

	s/in0/r32/g
	Not a functional change, but one that allows changing the
	register stack without confusing the assembler (EPC related).

Affected files ...

.. //depot/projects/ia64/lib/libc/ia64/sys/brk.S#2 edit
.. //depot/projects/ia64/lib/libc/ia64/sys/sbrk.S#3 edit

Differences ...

==== //depot/projects/ia64/lib/libc/ia64/sys/brk.S#2 (text+ko) ====

@@ -42,12 +42,12 @@
 	add	r14=@ltoff(minbrk),gp ;;
 	ld8	r14=[r14] ;;
 	ld8	r14=[r14] ;;
-	cmp.ltu	p6,p0=in0,r14 ;;
-(p6)	mov	in0=r14
+	cmp.ltu	p6,p0=r32,r14 ;;
+(p6)	mov	r32=r14
 	CALLSYS_ERROR(break)
 	add	r14=@ltoff(curbrk),gp ;;
 	ld8	r14=[r14] ;;
-	st8	[r14]=in0
+	st8	[r14]=r32
 	mov	ret0=0
 	br.ret.sptk.few rp
 END(brk)

==== //depot/projects/ia64/lib/libc/ia64/sys/sbrk.S#3 (text+ko) ====

@@ -41,18 +41,18 @@
 	add	r14 = @ltoff(curbrk), gp
 	;;
 	ld8	r14 = [r14]
-	cmp.eq	p6, p0 = in0, r0
+	cmp.eq	p6, p0 = r32, r0
 	;;
 	ld8	ret0 = [r14]
 (p6)	br.ret.sptk.few	rp
 	;;
-	add	in0 = ret0, in0
+	add	r32 = ret0, r32
 	CALLSYS_ERROR(break)
 	add	r14 = @ltoff(curbrk), gp
 	;;
 	ld8	r14 = [r14]
 	;;
 	ld8	ret0 = [r14]
-	st8	[r14] = in0
+	st8	[r14] = r32
 	br.ret.sptk.few	rp
 END(sbrk)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200212040342.gB43giw9002863>