Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/fpu Simplify; no need to override ``type'' ...
details: https://anonhg.NetBSD.org/src/rev/5c7e28435761
branches: trunk
changeset: 369858:5c7e28435761
user: rin <rin%NetBSD.org@localhost>
date: Sun Sep 04 13:18:33 2022 +0000
description:
Simplify; no need to override ``type'' here. NFC.
diffstat:
sys/arch/powerpc/fpu/fpu_emu.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 68f232c9c6ee -r 5c7e28435761 sys/arch/powerpc/fpu/fpu_emu.c
--- a/sys/arch/powerpc/fpu/fpu_emu.c Sun Sep 04 13:17:33 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.c Sun Sep 04 13:18:33 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_emu.c,v 1.51 2022/09/04 13:16:47 rin Exp $ */
+/* $NetBSD: fpu_emu.c,v 1.52 2022/09/04 13:18:33 rin Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -76,7 +76,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.51 2022/09/04 13:16:47 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fpu_emu.c,v 1.52 2022/09/04 13:18:33 rin Exp $");
#ifdef _KERNEL_OPT
#include "opt_ddb.h"
@@ -624,8 +624,8 @@
case OPC63_FCFID:
FPU_EMU_EVCNT_INCR(fcfid);
DPRINTF(FPE_INSN, ("fpu_execute: FCFID\n"));
- type = FTYPE_LNG;
- fpu_explode(fe, fp = &fe->fe_f1, type, FR(rb));
+ fpu_explode(fe, fp = &fe->fe_f1, FTYPE_LNG,
+ FR(rb));
type = FTYPE_DBL | FTYPE_FPSCR;
break;
default:
Home |
Main Index |
Thread Index |
Old Index