Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm Disable bzero_page_vfp and bcopy_page_vfp since...
details: https://anonhg.NetBSD.org/src/rev/53b0c2e4ab9f
branches: trunk
changeset: 784413:53b0c2e4ab9f
user: matt <matt%NetBSD.org@localhost>
date: Mon Jan 28 06:14:45 2013 +0000
description:
Disable bzero_page_vfp and bcopy_page_vfp since it really isn't any faster
than memcpy.
diffstat:
sys/arch/arm/conf/files.arm | 4 ++--
sys/arch/arm/vfp/vfp_init.c | 6 +++++-
2 files changed, 7 insertions(+), 3 deletions(-)
diffs (56 lines):
diff -r 97e194e5453d -r 53b0c2e4ab9f sys/arch/arm/conf/files.arm
--- a/sys/arch/arm/conf/files.arm Mon Jan 28 00:51:29 2013 +0000
+++ b/sys/arch/arm/conf/files.arm Mon Jan 28 06:14:45 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: files.arm,v 1.114 2012/12/10 04:58:54 matt Exp $
+# $NetBSD: files.arm,v 1.115 2013/01/28 06:14:45 matt Exp $
# temporary define to allow easy moving to ../arch/arm/arm32
defflag ARM32
@@ -52,7 +52,7 @@
# VFP support
file arch/arm/vfp/vfp_init.c arm32
-file arch/arm/vfp/pmap_vfp.S arm32 & fpu_vfp
+#file arch/arm/vfp/pmap_vfp.S arm32 & fpu_vfp
# PMAP_DEBUG (heavily abused option)
defflag PMAP_DEBUG
diff -r 97e194e5453d -r 53b0c2e4ab9f sys/arch/arm/vfp/vfp_init.c
--- a/sys/arch/arm/vfp/vfp_init.c Mon Jan 28 00:51:29 2013 +0000
+++ b/sys/arch/arm/vfp/vfp_init.c Mon Jan 28 06:14:45 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vfp_init.c,v 1.15 2012/12/31 03:23:53 matt Exp $ */
+/* $NetBSD: vfp_init.c,v 1.16 2013/01/28 06:14:45 matt Exp $ */
/*
* Copyright (c) 2008 ARM Ltd
@@ -280,6 +280,7 @@
}
#else
+#if 0
static bool
vfp_patch_branch(uintptr_t code, uintptr_t func, uintptr_t newfunc)
{
@@ -306,6 +307,7 @@
}
}
}
+#endif
void
vfp_attach(void)
@@ -395,10 +397,12 @@
install_coproc_handler(CORE_UNKNOWN_HANDLER, neon_handler);
#endif
+#if 0
vfp_patch_branch((uintptr_t)pmap_copy_page_generic,
(uintptr_t)bcopy_page, (uintptr_t)bcopy_page_vfp);
vfp_patch_branch((uintptr_t)pmap_zero_page_generic,
(uintptr_t)bzero_page, (uintptr_t)bzero_page_vfp);
+#endif
}
/* The real handler for VFP bounces. */
Home |
Main Index |
Thread Index |
Old Index