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