PERFORCE change 84379 for review

John Baldwin jhb at FreeBSD.org
Tue Sep 27 11:49:07 PDT 2005


http://perforce.freebsd.org/chv.cgi?CH=84379

Change 84379 by jhb at jhb_slimer on 2005/09/27 18:48:05

	IFC @84377.

Affected files ...

.. //depot/projects/smpng/sys/amd64/amd64/cpu_switch.S#13 integrate
.. //depot/projects/smpng/sys/amd64/amd64/support.S#14 integrate

Differences ...

==== //depot/projects/smpng/sys/amd64/amd64/cpu_switch.S#13 (text+ko) ====

@@ -30,7 +30,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD: src/sys/amd64/amd64/cpu_switch.S,v 1.151 2004/08/16 22:53:29 peter Exp $
+ * $FreeBSD: src/sys/amd64/amd64/cpu_switch.S,v 1.152 2005/09/27 18:32:45 peter Exp $
  */
 
 #include <machine/asmacros.h>
@@ -155,7 +155,7 @@
 	smsw	%ax
 	orb	$CR0_TS,%al
 	lmsw	%ax
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	%rax,PCPU(FPCURTHREAD)
 1:
 

==== //depot/projects/smpng/sys/amd64/amd64/support.S#14 (text+ko) ====

@@ -27,7 +27,7 @@
  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  * SUCH DAMAGE.
  *
- * $FreeBSD: src/sys/amd64/amd64/support.S,v 1.115 2005/06/24 00:45:01 peter Exp $
+ * $FreeBSD: src/sys/amd64/amd64/support.S,v 1.116 2005/09/27 18:32:46 peter Exp $
  */
 
 #include "opt_ddb.h"
@@ -59,7 +59,7 @@
 /* done */
 ENTRY(bzero)
 	movq	%rsi,%rcx
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	shrq	$3,%rcx
 	cld
 	rep
@@ -74,7 +74,7 @@
 ENTRY(pagezero)
 	movq	$-PAGE_SIZE,%rdx
 	subq	%rdx,%rdi
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 1:
 	movnti	%rax,(%rdi,%rdx)
 	movnti	%rax,8(%rdi,%rdx)
@@ -256,7 +256,7 @@
 	movsb
 
 done_copyout:
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	PCPU(CURPCB),%rdx
 	movq	%rax,PCB_ONFAULT(%rdx)
 	ret
@@ -301,7 +301,7 @@
 	movsb
 
 done_copyin:
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	PCPU(CURPCB),%rdx
 	movq	%rax,PCB_ONFAULT(%rdx)
 	ret
@@ -412,7 +412,7 @@
 	ALIGN_TEXT
 fusufault:
 	movq	PCPU(CURPCB),%rcx
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	%rax,PCB_ONFAULT(%rcx)
 	decq	%rax
 	ret
@@ -432,7 +432,7 @@
 	ja	fusufault
 
 	movq	%rsi,(%rdi)
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	PCPU(CURPCB),%rcx
 	movq	%rax,PCB_ONFAULT(%rcx)
 	ret
@@ -446,7 +446,7 @@
 	ja	fusufault
 
 	movl	%esi,(%rdi)
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	PCPU(CURPCB),%rcx
 	movq	%rax,PCB_ONFAULT(%rcx)
 	ret
@@ -460,7 +460,7 @@
 	ja	fusufault
 
 	movw	%si,(%rdi)
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	PCPU(CURPCB),%rcx		/* restore trashed register */
 	movq	%rax,PCB_ONFAULT(%rcx)
 	ret
@@ -475,7 +475,7 @@
 
 	movl	%esi, %eax
 	movb	%al,(%rdi)
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	movq	PCPU(CURPCB),%rcx		/* restore trashed register */
 	movq	%rax,PCB_ONFAULT(%rcx)
 	ret
@@ -522,7 +522,7 @@
 
 	/* Success -- 0 byte reached */
 	decq	%rdx
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	jmp	cpystrflt_x
 3:
 	/* rdx is zero - return ENAMETOOLONG or EFAULT */
@@ -569,7 +569,7 @@
 
 	/* Success -- 0 byte reached */
 	decq	%rdx
-	xorq	%rax,%rax
+	xorl	%eax,%eax
 	jmp	6f
 4:
 	/* rdx is zero -- return ENAMETOOLONG */


More information about the p4-projects mailing list