Source-Changes-HG archive

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

[src/netbsd-1-5]: src/sys/arch/sparc/fpu pull up 1.7 (approved by thorpej):



details:   https://anonhg.NetBSD.org/src/rev/41c08c8c0d18
branches:  netbsd-1-5
changeset: 488954:41c08c8c0d18
user:      mrg <mrg%NetBSD.org@localhost>
date:      Mon Aug 07 01:31:42 2000 +0000

description:
pull up 1.7 (approved by thorpej):
>Add fpu emulation instrumentation and fixup FCMP and FCMPE emulation for v9.
>And rename the 128-bit `x' routines to `q' to match v9 terminology:
>        i - 32-bit int
>        x - 64-bit int
>        s - 32-bit fp
>        d - 64-bit fp
>        q - 128-bit fp

diffstat:

 sys/arch/sparc/fpu/fpu_implode.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 9deb79bd5f39 -r 41c08c8c0d18 sys/arch/sparc/fpu/fpu_implode.c
--- a/sys/arch/sparc/fpu/fpu_implode.c  Mon Aug 07 01:31:36 2000 +0000
+++ b/sys/arch/sparc/fpu/fpu_implode.c  Mon Aug 07 01:31:42 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fpu_implode.c,v 1.5.2.1 2000/07/26 23:59:21 mycroft Exp $ */
+/*     $NetBSD: fpu_implode.c,v 1.5.2.2 2000/08/07 01:31:42 mrg Exp $ */
 
 /*
  * Copyright (c) 1992, 1993
@@ -241,7 +241,7 @@
  * of the SPARC instruction set).
  */
 u_int
-fpu_ftoxi(fe, fp, res)
+fpu_ftox(fe, fp, res)
        struct fpemu *fe;
        register struct fpn *fp;
        u_int *res;
@@ -436,7 +436,7 @@
  * so we can avoid a small bit of work.
  */
 u_int
-fpu_ftox(fe, fp, res)
+fpu_ftoq(fe, fp, res)
        struct fpemu *fe;
        register struct fpn *fp;
        u_int *res;
@@ -507,7 +507,7 @@
 
 #ifdef SUN4U
        case FTYPE_LNG:
-               space[0] = fpu_ftoxi(fe, fp, space);
+               space[0] = fpu_ftox(fe, fp, space);
                break;
 #endif /* SUN4U */
 
@@ -525,7 +525,7 @@
 
        case FTYPE_EXT:
                /* funky rounding precision options ?? */
-               space[0] = fpu_ftox(fe, fp, space);
+               space[0] = fpu_ftoq(fe, fp, space);
                break;
 
        default:



Home | Main Index | Thread Index | Old Index