Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/vfp Add VFP_FPSCR_RN (even though it's 0) just ...



details:   https://anonhg.NetBSD.org/src/rev/ca9159252026
branches:  trunk
changeset: 789006:ca9159252026
user:      matt <matt%NetBSD.org@localhost>
date:      Sat Aug 03 20:16:44 2013 +0000

description:
Add VFP_FPSCR_RN (even though it's 0) just to be explicit.

diffstat:

 sys/arch/arm/vfp/vfp_init.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r 4c9eb141758f -r ca9159252026 sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c       Sat Aug 03 19:31:26 2013 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c       Sat Aug 03 20:16:44 2013 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: vfp_init.c,v 1.21 2013/08/02 03:48:19 matt Exp $ */
+/*      $NetBSD: vfp_init.c,v 1.22 2013/08/03 20:16:44 matt Exp $ */
 
 /*
  * Copyright (c) 2008 ARM Ltd
@@ -487,8 +487,8 @@
        if (__predict_false((l->l_md.md_flags & MDLWP_VFPUSED) == 0)) {
                vfpevent_use.ev_count++;
                l->l_md.md_flags |= MDLWP_VFPUSED;
-               pcb->pcb_vfp.vfp_fpscr =
-                   (VFP_FPSCR_DN | VFP_FPSCR_FZ);      /* Runfast */
+               pcb->pcb_vfp.vfp_fpscr =        /* Runfast */
+                   (VFP_FPSCR_DN | VFP_FPSCR_FZ | VFP_FPSCR_RN);
        } else {
                vfpevent_reuse.ev_count++;
        }



Home | Main Index | Thread Index | Old Index