Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/include The MIPS O64 ABI uses full 64-bit FP r...



details:   https://anonhg.NetBSD.org/src/rev/dd1158562d12
branches:  trunk
changeset: 379152:dd1158562d12
user:      simonb <simonb%NetBSD.org@localhost>
date:      Sat May 15 02:37:07 2021 +0000

description:
The MIPS O64 ABI uses full 64-bit FP regs.

diffstat:

 sys/arch/mips/include/types.h |  9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diffs (25 lines):

diff -r dfc742cd9fda -r dd1158562d12 sys/arch/mips/include/types.h
--- a/sys/arch/mips/include/types.h     Fri May 14 22:06:34 2021 +0000
+++ b/sys/arch/mips/include/types.h     Sat May 15 02:37:07 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: types.h,v 1.75 2021/03/29 02:07:43 simonb Exp $        */
+/*     $NetBSD: types.h,v 1.76 2021/05/15 02:37:07 simonb Exp $        */
 
 /*-
  * Copyright (c) 1992, 1993
@@ -49,13 +49,10 @@ typedef __uint64_t          __fpregister64_t;
 typedef        unsigned int            __cpu_simple_lock_nv_t;
 #if defined(__mips_o32)
 typedef __register32_t         __register_t;
+typedef __fpregister32_t       __fpregister_t;
 #else
 typedef __register64_t         __register_t;
-#endif
-#if defined(__mips_o64) || defined(__mips_o32)
-typedef        __fpregister32_t        __fpregister_t;
-#else
-typedef        __fpregister64_t        __fpregister_t;
+typedef __fpregister64_t       __fpregister_t;
 #endif
 
 /*



Home | Main Index | Thread Index | Old Index