xref: /freebsd/contrib/netbsd-tests/lib/csu/arch/sparc64/h_initfini_align.S (revision 3078531de10dcae44b253a35125c949ff4235284)
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