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