Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 15:52:59 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 37622 for review
Message-ID:  <200309052252.h85Mqx5d067476@repoman.freebsd.org>

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

Change 37622 by peter@peter_hammer on 2003/09/05 15:52:01

	depend on long_double alignment

Affected files ...

.. //depot/projects/ezm3/libs/m3core/src/runtime/FBSD_AMD64/_fpsetjmp.s#3 edit

Differences ...

==== //depot/projects/ezm3/libs/m3core/src/runtime/FBSD_AMD64/_fpsetjmp.s#3 (text+ko) ====

@@ -68,9 +68,7 @@
 	movq	%r13,40(%rax)	/* 5; r13 */
 	movq	%r14,48(%rax)	/* 6; r14 */
 	movq	%r15,56(%rax)	/* 7; r15 */
-	addq	$(64+15),%rax
-	andq	$(~15),%rax
-	fxsave	(%rax)	/* 8:10 - 71:73; fp state */
+	fxsave	64(%rax)	/* 8 - 71; fp state */
 	xorq	%rax,%rax
 	ret
 
@@ -91,10 +89,7 @@
 	movq	40(%rdx),%r13
 	movq	48(%rdx),%r14
 	movq	56(%rdx),%r15
-	addq	$(64+15),%rdx
-	andq	$(~15),%rdx
-	movl	$0xffbf,0x1c(%rdx)
-	fxrstor	(%rdx)
+	fxrstor	64(%rdx)
 	testq	%rax,%rax
 	jnz	1f
 	incq	%rax



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