Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106041639
D12389.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
846 B
Referenced Files
None
Subscribers
None
D12389.diff
View Options
Index: head/sys/arm/arm/vfp.c
===================================================================
--- head/sys/arm/arm/vfp.c
+++ head/sys/arm/arm/vfp.c
@@ -144,6 +144,11 @@
initial_fpscr;
}
}
+
+ if ((tmp & VMVFR1_LS_MASK) >> VMVFR1_LS_OFF == 1 &&
+ (tmp & VMVFR1_I_MASK) >> VMVFR1_I_OFF == 1 &&
+ (tmp & VMVFR1_SP_MASK) >> VMVFR1_SP_OFF == 1)
+ elf_hwcap |= HWCAP_NEON;
}
/* initialize the coprocess 10 and 11 calls
Index: head/sys/arm/include/elf.h
===================================================================
--- head/sys/arm/include/elf.h
+++ head/sys/arm/include/elf.h
@@ -117,6 +117,7 @@
/* Flags passed in AT_HWCAP. */
#define HWCAP_VFP 0x00000040
+#define HWCAP_NEON 0x00001000
#define HWCAP_VFPv3 0x00002000
#define HWCAP_VFPv3D16 0x00004000
#define HWCAP_VFPD32 0x00080000
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 8:49 AM (10 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15595900
Default Alt Text
D12389.diff (846 B)
Attached To
Mode
D12389: Detect NEON and set HWCAP_NEON if present.
Attached
Detach File
Event Timeline
Log In to Comment