Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Aug 2011 02:14:43 +0000
From:      xxp@FreeBSD.org
To:        svn-soc-all@FreeBSD.org
Subject:   socsvn commit: r225284 - in soc2011/xxp/xxp-head/lib: libc/amd64/gen libc/amd64/sys libthr/arch/amd64/amd64 msun/amd64
Message-ID:  <20110820021443.BCE6B106564A@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: xxp
Date: Sat Aug 20 02:14:43 2011
New Revision: 225284
URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=225284

Log:
  review amd64

Modified:
  soc2011/xxp/xxp-head/lib/libc/amd64/gen/_setjmp.S
  soc2011/xxp/xxp-head/lib/libc/amd64/sys/cerror.S
  soc2011/xxp/xxp-head/lib/libc/amd64/sys/sbrk.S
  soc2011/xxp/xxp-head/lib/libthr/arch/amd64/amd64/_umtx_op_err.S
  soc2011/xxp/xxp-head/lib/msun/amd64/e_remainder.S
  soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderf.S
  soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderl.S
  soc2011/xxp/xxp-head/lib/msun/amd64/e_sqrtl.S
  soc2011/xxp/xxp-head/lib/msun/amd64/s_llrintl.S
  soc2011/xxp/xxp-head/lib/msun/amd64/s_logbl.S
  soc2011/xxp/xxp-head/lib/msun/amd64/s_lrintl.S
  soc2011/xxp/xxp-head/lib/msun/amd64/s_remquol.S
  soc2011/xxp/xxp-head/lib/msun/amd64/s_rintl.S

Modified: soc2011/xxp/xxp-head/lib/libc/amd64/gen/_setjmp.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/libc/amd64/gen/_setjmp.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/libc/amd64/gen/_setjmp.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -48,7 +48,7 @@
 
 ENTRY(_setjmp)
 	movq	%rdi,%rax
-	cfi_register(%rdi, $rax)
+	cfi_register(%rdi, %rax)
 	movq	0(%rsp),%rdx		/* retval */
 	movq	%rdx, 0(%rax)		/* 0; retval */
 	movq	%rbx, 8(%rax)		/* 1; rbx */
@@ -68,7 +68,7 @@
 	.set	CNAME(_longjmp),CNAME(___longjmp)
 ENTRY(___longjmp)
 	movq	%rdi,%rdx
-	cfi_register(%rdi, $rdx)
+	cfi_register(%rdi, %rdx)
 	/* Restore the mxcsr, but leave exception flags intact. */
 	stmxcsr	-4(%rsp)
 	movl	68(%rdx),%eax
@@ -79,7 +79,7 @@
 	movl	%edi,-4(%rsp)
 	ldmxcsr -4(%rsp)
 	movq	%rsi,%rax		/* retval */
-	cfi_register(%rsi, $rax)
+	cfi_register(%rsi, %rax)
 	movq	0(%rdx),%rcx
 	movq	8(%rdx),%rbx
 	movq	16(%rdx),%rsp

Modified: soc2011/xxp/xxp-head/lib/libc/amd64/sys/cerror.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/libc/amd64/sys/cerror.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/libc/amd64/sys/cerror.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -48,6 +48,7 @@
 	.globl	CNAME(__error)
 	.type	CNAME(__error),@function
 HIDENAME(cerror):
+	cfi_startproc
 	pushq	%rax
 	cfi_adjust_cfa_offset(8)
 	call	PIC_PLT(CNAME(__error))
@@ -57,5 +58,6 @@
 	movq	$-1,%rax
 	movq	$-1,%rdx
 	ret
+	cfi_endproc
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/libc/amd64/sys/sbrk.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/libc/amd64/sys/sbrk.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/libc/amd64/sys/sbrk.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -51,7 +51,7 @@
 	pushq	%rdi
 	cfi_adjust_cfa_offset(8)
 	movq	%rdi,%rcx
-	cif_register(%rdi, %rcx)
+	cfi_register(%rdi, %rcx)
 #ifdef PIC
 	movq	PIC_GOT(HIDENAME(curbrk)),%rdx
 	movq	(%rdx),%rax

Modified: soc2011/xxp/xxp-head/lib/libthr/arch/amd64/amd64/_umtx_op_err.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/libthr/arch/amd64/amd64/_umtx_op_err.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/libthr/arch/amd64/amd64/_umtx_op_err.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -35,5 +35,6 @@
 #define KERNCALL	movq %rcx, %r10; cfi_register(%rcx, %r10); syscall
 
 RSYSCALL_ERR(_umtx_op)
+END(_umtx_op)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/e_remainder.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/e_remainder.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/e_remainder.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -51,5 +51,6 @@
 	movsd	-8(%rsp),%xmm0
 	fstp	%st
 	ret
+END(remainder)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderf.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderf.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderf.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -21,5 +21,6 @@
 	movss	-4(%rsp),%xmm0
 	fstp	%st
 	ret
+END(remainderf)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderl.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderl.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/e_remainderl.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -46,5 +46,6 @@
 	jne	1b
 	fstp	%st(1)
 	ret
+END(remainderl)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/e_sqrtl.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/e_sqrtl.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/e_sqrtl.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -31,5 +31,6 @@
 	fldt	8(%rsp)
 	fsqrt
 	ret
+END(sqrtl)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/s_llrintl.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/s_llrintl.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/s_llrintl.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -35,5 +35,6 @@
 	popq	%rax
 	cfi_adjust_cfa_offset(-8)
 	ret
+END(llrintl)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/s_logbl.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/s_logbl.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/s_logbl.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -41,5 +41,6 @@
 	fxtract
 	fstp	%st
 	ret
+END(logbl)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/s_lrintl.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/s_lrintl.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/s_lrintl.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -35,5 +35,6 @@
 	popq	%rax
 	cfi_adjust_cfa_offset(-8)
 	ret
+END(lrintl)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/s_remquol.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/s_remquol.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/s_remquol.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -60,5 +60,6 @@
 /* Store the quotient and return. */
 	movl	%eax,(%rdi)
 	ret
+END(remquol)
 
 	.section .note.GNU-stack,"",%progbits

Modified: soc2011/xxp/xxp-head/lib/msun/amd64/s_rintl.S
==============================================================================
--- soc2011/xxp/xxp-head/lib/msun/amd64/s_rintl.S	Fri Aug 19 21:59:47 2011	(r225283)
+++ soc2011/xxp/xxp-head/lib/msun/amd64/s_rintl.S	Sat Aug 20 02:14:43 2011	(r225284)
@@ -41,5 +41,6 @@
 	fldt	8(%rsp)
 	frndint
 	ret
+END(rintl)
 
 	.section .note.GNU-stack,"",%progbits



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