From 1f7a988bd2a7317ed01242a9e22f582f1c0d50e3 Mon Sep 17 00:00:00 2001 From: chs Date: Wed, 12 Apr 2000 04:06:41 +0000 Subject: [PATCH] unconditionalize "ifdef sparc". --- sys/arch/sparc/fpu/fpu_implode.c | 7 +------ sys/arch/sparc64/fpu/fpu_implode.c | 7 +------ 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/sys/arch/sparc/fpu/fpu_implode.c b/sys/arch/sparc/fpu/fpu_implode.c index 753b0ba9973d..5e4b4fd1576c 100644 --- a/sys/arch/sparc/fpu/fpu_implode.c +++ b/sys/arch/sparc/fpu/fpu_implode.c @@ -1,4 +1,4 @@ -/* $NetBSD: fpu_implode.c,v 1.3 1996/03/14 19:41:59 christos Exp $ */ +/* $NetBSD: fpu_implode.c,v 1.4 2000/04/12 04:06:41 chs Exp $ */ /* * Copyright (c) 1992, 1993 @@ -133,15 +133,10 @@ round(register struct fpemu *fe, register struct fpn *fp) } /* Bump low bit of mantissa, with carry. */ -#ifdef sparc /* ``cheating'' (left out FPU_DECL_CARRY; know this is faster) */ FPU_ADDS(m3, m3, 1); FPU_ADDCS(m2, m2, 0); FPU_ADDCS(m1, m1, 0); FPU_ADDC(m0, m0, 0); -#else - if (++m3 == 0 && ++m2 == 0 && ++m1 == 0) - m0++; -#endif fp->fp_mant[0] = m0; fp->fp_mant[1] = m1; fp->fp_mant[2] = m2; diff --git a/sys/arch/sparc64/fpu/fpu_implode.c b/sys/arch/sparc64/fpu/fpu_implode.c index 0b77eca35ec7..b37f4f6eb27b 100644 --- a/sys/arch/sparc64/fpu/fpu_implode.c +++ b/sys/arch/sparc64/fpu/fpu_implode.c @@ -1,4 +1,4 @@ -/* $NetBSD: fpu_implode.c,v 1.3 2000/04/06 12:08:34 mrg Exp $ */ +/* $NetBSD: fpu_implode.c,v 1.4 2000/04/12 04:06:42 chs Exp $ */ /* * Copyright (c) 1992, 1993 @@ -133,15 +133,10 @@ round(register struct fpemu *fe, register struct fpn *fp) } /* Bump low bit of mantissa, with carry. */ -#ifdef sparc /* ``cheating'' (left out FPU_DECL_CARRY; know this is faster) */ FPU_ADDS(m3, m3, 1); FPU_ADDCS(m2, m2, 0); FPU_ADDCS(m1, m1, 0); FPU_ADDC(m0, m0, 0); -#else - if (++m3 == 0 && ++m2 == 0 && ++m1 == 0) - m0++; -#endif fp->fp_mant[0] = m0; fp->fp_mant[1] = m1; fp->fp_mant[2] = m2;