Fix debug printf. Unbreak DEBUG build.

This commit is contained in:
rin 2022-09-04 09:23:07 +00:00
parent 6b9809a819
commit 02b5fd10e5
1 changed files with 6 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: fpu_implode.c,v 1.19 2022/09/04 09:20:55 rin Exp $ */ /* $NetBSD: fpu_implode.c,v 1.20 2022/09/04 09:23:07 rin Exp $ */
/* /*
* Copyright (c) 1992, 1993 * Copyright (c) 1992, 1993
@ -46,7 +46,7 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: fpu_implode.c,v 1.19 2022/09/04 09:20:55 rin Exp $"); __KERNEL_RCSID(0, "$NetBSD: fpu_implode.c,v 1.20 2022/09/04 09:23:07 rin Exp $");
#include <sys/types.h> #include <sys/types.h>
#include <sys/systm.h> #include <sys/systm.h>
@ -537,29 +537,25 @@ fpu_implode(struct fpemu *fe, struct fpn *fp, int type, uint64_t *p)
case FTYPE_LNG: case FTYPE_LNG:
/* FPRF is undefined. */ /* FPRF is undefined. */
*p = fpu_ftox(fe, fp, rn); *p = fpu_ftox(fe, fp, rn);
DPRINTF(FPE_REG, ("fpu_implode: long %x %x\n", DPRINTF(FPE_REG, ("fpu_implode: long %x %x\n", *hi, *lo));
space[0], space[1]));
break; break;
case FTYPE_INT: case FTYPE_INT:
/* FPRF is undefined. */ /* FPRF is undefined. */
*hi = 0; *hi = 0;
*lo = fpu_ftoi(fe, fp, rn); *lo = fpu_ftoi(fe, fp, rn);
DPRINTF(FPE_REG, ("fpu_implode: int %x\n", DPRINTF(FPE_REG, ("fpu_implode: int %x\n", *lo));
space[1]));
break; break;
case FTYPE_SNG: case FTYPE_SNG:
*hi = fpu_ftos(fe, fp, fprf); *hi = fpu_ftos(fe, fp, fprf);
*lo = 0; *lo = 0;
DPRINTF(FPE_REG, ("fpu_implode: single %x\n", DPRINTF(FPE_REG, ("fpu_implode: single %x\n", *hi));
space[0]));
break; break;
case FTYPE_DBL: case FTYPE_DBL:
*p = fpu_ftod(fe, fp, fprf); *p = fpu_ftod(fe, fp, fprf);
DPRINTF(FPE_REG, ("fpu_implode: double %x %x\n", DPRINTF(FPE_REG, ("fpu_implode: double %x %x\n", *hi, *lo));
space[0], space[1]));
break; break;
default: default: