summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/fpu/fpu_implode.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-09-10 16:05:18 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-09-10 16:05:18 +0000
commit0f5681412416a3b2596e8a382354dbc587adbb57 (patch)
treea362bd8ef43c613748aee7bee4b5bf027c27e58f /sys/arch/sparc64/fpu/fpu_implode.c
parent34f52721f8742fe87ca628d1d4af30a7134cf18a (diff)
More debugging stuff.
Diffstat (limited to 'sys/arch/sparc64/fpu/fpu_implode.c')
-rw-r--r--sys/arch/sparc64/fpu/fpu_implode.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/sys/arch/sparc64/fpu/fpu_implode.c b/sys/arch/sparc64/fpu/fpu_implode.c
index dc52cd2ef68..4ca1187b361 100644
--- a/sys/arch/sparc64/fpu/fpu_implode.c
+++ b/sys/arch/sparc64/fpu/fpu_implode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fpu_implode.c,v 1.2 2001/09/09 00:35:48 jason Exp $ */
+/* $OpenBSD: fpu_implode.c,v 1.3 2001/09/10 16:05:17 jason Exp $ */
/* $NetBSD: fpu_implode.c,v 1.7 2000/08/03 18:32:08 eeh Exp $ */
/*
@@ -508,30 +508,36 @@ fpu_implode(fe, fp, type, space)
int type;
register u_int *space;
{
-
+ DPRINTF(FPE_INSN, ("fpu_implode: "));
switch (type) {
#ifdef SUN4U
case FTYPE_LNG:
space[0] = fpu_ftox(fe, fp, space);
+ DPRINTF(FPE_INSN, ("LNG %x %x\n", space[0], space[1]));
break;
#endif /* SUN4U */
case FTYPE_INT:
space[0] = fpu_ftoi(fe, fp);
+ DPRINTF(FPE_INSN, ("INT %x\n", space[0]));
break;
case FTYPE_SNG:
space[0] = fpu_ftos(fe, fp);
+ DPRINTF(FPE_INSN, ("SNG %x\n", space[0]));
break;
case FTYPE_DBL:
space[0] = fpu_ftod(fe, fp, space);
+ DPRINTF(FPE_INSN, ("DBL %x %x\n", space[0], space[1]));
break;
case FTYPE_EXT:
/* funky rounding precision options ?? */
space[0] = fpu_ftoq(fe, fp, space);
+ DPRINTF(FPE_INSN, ("EXT %x %x %x %x\n", space[0], space[1],
+ space[2], space[3]));
break;
default: