summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/csu/arch/sparc64/h_initfini_align.S
blob: 402ceb306052db8504a268d2f557c5d4af18d6c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*	$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 20:00:20 martin Exp $	*/

#include <machine/asm.h>

RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 20:00:20 martin Exp $")

_ENTRY(check_stack_alignment)
	add	%sp, BIAS, %o1
	and	%o1, 15, %o2
	retl
	 not	%o2, %o0
OpenPOWER on IntegriCloud