xref: /freebsd/contrib/netbsd-tests/lib/csu/arch/hppa/h_initfini_align.S (revision a90b9d0159070121c221b966469c3e36d912bf82)
1/*	$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 11:48:30 skrll Exp $	*/
2
3#include <machine/asm.h>
4
5RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 11:48:30 skrll Exp $")
6
7LEAF_ENTRY(check_stack_alignment)
8	extru	%sp,31,6,%ret0
9	comiclr,<> 0, %ret0, %ret0
10	ldi	1,%ret0
11	bv,n	%r0(%r2)
12EXIT(check_stack_alignment)
13