summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/gen/fpgetsticky.S
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /lib/libc/arch/m68k/gen/fpgetsticky.S
initial import of NetBSD tree
Diffstat (limited to 'lib/libc/arch/m68k/gen/fpgetsticky.S')
-rw-r--r--lib/libc/arch/m68k/gen/fpgetsticky.S11
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/libc/arch/m68k/gen/fpgetsticky.S b/lib/libc/arch/m68k/gen/fpgetsticky.S
new file mode 100644
index 00000000000..bfac27fc5d1
--- /dev/null
+++ b/lib/libc/arch/m68k/gen/fpgetsticky.S
@@ -0,0 +1,11 @@
+/*
+ * Written by Charles M. Hannum, Apr 9, 1995
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+ENTRY(fpgetsticky)
+ fmovel fpsr,d0
+ bfextu d0{#24:#5},d0
+ rts