xref: /freebsd/contrib/netbsd-tests/lib/csu/arch/sparc64/h_initfini_align.S (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1/*	$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 20:00:20 martin Exp $	*/
2
3#include <machine/asm.h>
4
5RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 20:00:20 martin Exp $")
6
7_ENTRY(check_stack_alignment)
8	add	%sp, BIAS, %o1
9	and	%o1, 15, %o2
10	retl
11	 not	%o2, %o0
12