Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/hppa/hppa Update comments to reflect that we always...



details:   https://anonhg.NetBSD.org/src/rev/e5298543870f
branches:  trunk
changeset: 778611:e5298543870f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Fri Apr 06 13:13:13 2012 +0000

description:
Update comments to reflect that we always have a hardware FPU.

diffstat:

 sys/arch/hppa/hppa/trap.S |  13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diffs (34 lines):

diff -r cc2c0c4232de -r e5298543870f sys/arch/hppa/hppa/trap.S
--- a/sys/arch/hppa/hppa/trap.S Fri Apr 06 13:09:32 2012 +0000
+++ b/sys/arch/hppa/hppa/trap.S Fri Apr 06 13:13:13 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: trap.S,v 1.67 2012/04/06 13:09:32 skrll Exp $  */
+/*     $NetBSD: trap.S,v 1.68 2012/04/06 13:13:13 skrll Exp $  */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -911,10 +911,7 @@
 
        /*
         * If we're still here, this is a FPU coprocessor instruction.  That we
-        * trapped to emulate it means one of three things.
-        *
-        * If we do not have a hardware FPU, we need to emulate this instr-
-        * uction.
+        * trapped to emulate it means one of two things.
         *
         * If we do have a hardware FPU but it is disabled, we trapped because
         * the current process' state is not loaded into the FPU.  We load that
@@ -925,12 +922,6 @@
         * emulate it.
         */
 
-       /*
-        * As an optimization, hppa_fpu_bootstrap replaces this branch inst-
-        * ruction with a nop if there is a hardware FPU.
-        *
-        * Otherwise, this is the branch to emulate an FPU coprocessor.
-        */
 hppa_fpu_emulate:
 
        /*



Home | Main Index | Thread Index | Old Index