Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/include Add a macro for determining whether we ...
details: https://anonhg.NetBSD.org/src/rev/baed75b47699
branches: trunk
changeset: 780741:baed75b47699
user: matt <matt%NetBSD.org@localhost>
date: Sun Aug 05 04:13:19 2012 +0000
description:
Add a macro for determining whether we can use LDRD/STRD instructions
diffstat:
sys/arch/arm/include/cdefs.h | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 4bbd605cdc3a -r baed75b47699 sys/arch/arm/include/cdefs.h
--- a/sys/arch/arm/include/cdefs.h Sun Aug 05 04:12:46 2012 +0000
+++ b/sys/arch/arm/include/cdefs.h Sun Aug 05 04:13:19 2012 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cdefs.h,v 1.6 2012/07/31 07:21:06 matt Exp $ */
+/* $NetBSD: cdefs.h,v 1.7 2012/08/05 04:13:19 matt Exp $ */
#ifndef _MACHINE_CDEFS_H_
#define _MACHINE_CDEFS_H_
@@ -26,6 +26,11 @@
#define _ARM_ARCH_4T
#endif
+#if defined(_ARM_ARCH_6) || defined (__ARM_ARCH_5TE__) || \
+ defined (__ARM_ARCH_5TEJ__)
+#define _ARM_ARCH_DWORD_OK
+#endif
+
#ifdef __ARM_EABI__
#define __ALIGNBYTES (8 - 1)
#else
Home |
Main Index |
Thread Index |
Old Index