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 Be consistent about setting fpscr for Runfa...
details: https://anonhg.NetBSD.org/src/rev/49ffce9c7767
branches: trunk
changeset: 326277:49ffce9c7767
user: skrll <skrll%NetBSD.org@localhost>
date: Fri Jan 24 08:26:39 2014 +0000
description:
Be consistent about setting fpscr for Runfast. No functional change.
diffstat:
sys/arch/arm/vfp/vfp_init.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (29 lines):
diff -r 904d07cb8f68 -r 49ffce9c7767 sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c Fri Jan 24 05:14:11 2014 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c Fri Jan 24 08:26:39 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfp_init.c,v 1.31 2014/01/23 17:44:13 skrll Exp $ */
+/* $NetBSD: vfp_init.c,v 1.32 2014/01/24 08:26:39 skrll Exp $ */
/*
* Copyright (c) 2008 ARM Ltd
@@ -197,7 +197,7 @@
if (__predict_false(!vfp_used_p())) {
pcb->pcb_vfp.vfp_fpscr =
- (VFP_FPSCR_DN | VFP_FPSCR_FZ); /* Runfast */
+ (VFP_FPSCR_DN | VFP_FPSCR_FZ | VFP_FPSCR_RN); /* Runfast */
}
#endif
@@ -500,8 +500,8 @@
*/
if (__predict_false((flags & PCU_LOADED) == 0)) {
vfpevent_use.ev_count++;
- pcb->pcb_vfp.vfp_fpscr = /* Runfast */
- (VFP_FPSCR_DN | VFP_FPSCR_FZ | VFP_FPSCR_RN);
+ pcb->pcb_vfp.vfp_fpscr =
+ (VFP_FPSCR_DN | VFP_FPSCR_FZ | VFP_FPSCR_RN); /* Runfast */
} else {
vfpevent_reuse.ev_count++;
}
Home |
Main Index |
Thread Index |
Old Index