summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/gen/fpgetround.S
blob: 8dadd0d0d7395bd28c09b778efc30ff850fd5041 (plain)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Written by J.T. Conklin, Apr 6, 1995
 * Public domain.
 */

#include <machine/asm.h>

ENTRY(fpgetround)
	fmovel fpcr,d0
	bfextu d0{#26:#2},d0
	rts