summaryrefslogtreecommitdiffstats
path: root/contrib/netbsd-tests/lib/csu/arch/hppa/h_initfini_align.S
blob: c297e9087984209c95d19ccaf1d3a91fe098086b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 11:48:30 skrll Exp $	*/

#include <machine/asm.h>

RCSID("$NetBSD: h_initfini_align.S,v 1.1 2013/11/15 11:48:30 skrll Exp $")

LEAF_ENTRY(check_stack_alignment)
	extru	%sp,31,6,%ret0
	comiclr,<> 0, %ret0, %ret0
	ldi	1,%ret0
	bv,n	%r0(%r2)
EXIT(check_stack_alignment)
OpenPOWER on IntegriCloud