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