Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2009 03:17:00 +0000 (UTC)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r199729 - stable/8/sys/ia64/include
Message-ID:  <200911240317.nAO3H0P6003552@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marcel
Date: Tue Nov 24 03:17:00 2009
New Revision: 199729
URL: http://svn.freebsd.org/changeset/base/199729

Log:
  MFC r198338:
  o   Align function on a 32-byte boundary so that the core's front-end
      can deliver 2 bundles per cycle to the back-end.
  o   Mark syscall stubs with a special unwind ABI tag so that unwind
      libraries know how to unwind.

Modified:
  stable/8/sys/ia64/include/asm.h
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/ia64/include/asm.h
==============================================================================
--- stable/8/sys/ia64/include/asm.h	Tue Nov 24 01:44:11 2009	(r199728)
+++ stable/8/sys/ia64/include/asm.h	Tue Nov 24 03:17:00 2009	(r199729)
@@ -61,7 +61,7 @@
  */
 #define	ENTRY(_name_, _n_args_)			\
 	.global	_name_;				\
-	.align	16;				\
+	.align	32;				\
 	.proc	_name_;				\
 _name_:;					\
 	.regstk	_n_args_, 0, 0, 0;		\
@@ -69,7 +69,7 @@ _name_:;					\
 
 #define	ENTRY_NOPROFILE(_name_, _n_args_)	\
 	.global	_name_;				\
-	.align	16;				\
+	.align	32;				\
 	.proc	_name_;				\
 _name_:;					\
 	.regstk	_n_args_, 0, 0, 0
@@ -79,7 +79,7 @@ _name_:;					\
  *	Declare a local leaf function.
  */
 #define STATIC_ENTRY(_name_, _n_args_)		\
-	.align	16;				\
+	.align	32;				\
 	.proc	_name_;				\
 _name_:;					\
 	.regstk	_n_args_, 0, 0, 0		\
@@ -161,6 +161,10 @@ label:	ASCIZ msg;				\
 #define	SYSCALLNUM(name)	SYS_ ## name
 
 #define	CALLSYS_NOERROR(name)					\
+	.prologue ;						\
+	.unwabi		@svr4, 'S' ;				\
+	.save		rp, r0 ;				\
+	.body ;							\
 {	.mmi ;							\
 	alloc		r9 = ar.pfs, 0, 0, 8, 0 ;		\
 	mov		r31 = ar.k5 ;				\



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