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