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