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