Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc Move FTYPE_* definitions from instr.h to fp...
details: https://anonhg.NetBSD.org/src/rev/e2f46e5013c7
branches: trunk
changeset: 369752:e2f46e5013c7
user: rin <rin%NetBSD.org@localhost>
date: Tue Aug 30 11:05:59 2022 +0000
description:
Move FTYPE_* definitions from instr.h to fpu_emu.h.
They are not defined by architecture, and used only for FPU emulation.
diffstat:
sys/arch/powerpc/fpu/fpu_emu.h | 10 +++++++++-
sys/arch/powerpc/include/instr.h | 10 +---------
2 files changed, 10 insertions(+), 10 deletions(-)
diffs (48 lines):
diff -r a2451d9448d7 -r e2f46e5013c7 sys/arch/powerpc/fpu/fpu_emu.h
--- a/sys/arch/powerpc/fpu/fpu_emu.h Tue Aug 30 11:03:36 2022 +0000
+++ b/sys/arch/powerpc/fpu/fpu_emu.h Tue Aug 30 11:05:59 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fpu_emu.h,v 1.4 2012/07/23 04:13:06 matt Exp $ */
+/* $NetBSD: fpu_emu.h,v 1.5 2022/08/30 11:05:59 rin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -134,6 +134,14 @@
}
/*
+ * FPU data types.
+ */
+#define FTYPE_LNG -1 /* data = 64-bit signed long integer */
+#define FTYPE_INT 0 /* data = 32-bit signed integer */
+#define FTYPE_SNG 1 /* data = 32-bit float */
+#define FTYPE_DBL 2 /* data = 64-bit double */
+
+/*
* Emulator state.
*/
struct fpemu {
diff -r a2451d9448d7 -r e2f46e5013c7 sys/arch/powerpc/include/instr.h
--- a/sys/arch/powerpc/include/instr.h Tue Aug 30 11:03:36 2022 +0000
+++ b/sys/arch/powerpc/include/instr.h Tue Aug 30 11:05:59 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: instr.h,v 1.11 2022/05/30 13:58:51 rin Exp $ */
+/* $NetBSD: instr.h,v 1.12 2022/08/30 11:05:59 rin Exp $ */
/*
* Copyright (c) 1992, 1993
@@ -427,14 +427,6 @@
#define OPC_LWSYNC 0x7c2004ac
/*
- * FPU data types.
- */
-#define FTYPE_LNG -1 /* data = 64-bit signed long integer */
-#define FTYPE_INT 0 /* data = 32-bit signed integer */
-#define FTYPE_SNG 1 /* data = 32-bit float */
-#define FTYPE_DBL 2 /* data = 64-bit double */
-
-/*
* FPCSR rounding modes.
*/
#define FSR_RD_RN 0 /* round to nearest */
Home |
Main Index |
Thread Index |
Old Index