summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/gen/fpgetsticky.S
blob: 0f3b8161a0822092a1b4d7e9691e1f72ba317556 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Written by Charles M. Hannum, Apr 9, 1995
 * Public domain.
 */

#if defined(LIBC_SCCS)
	.text
	.asciz "$OpenBSD: fpgetsticky.S,v 1.2 1996/08/19 08:14:19 tholo Exp $"
#endif /* LIBC_SCCS */

#include <machine/asm.h>

ENTRY(fpgetsticky)
	fmovel fpsr,d0
	bfextu d0{#24:#5},d0
	rts