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