Quote:
Originally Posted by baf
Building crosstool chain I set "-mfpu=neon -mfloat-abi=softfp" options for gcc-linaro-4.7 compiler.
Cross-compiled binaries have VFPv3+Neon support.
Code:
[kindle]# readelf -A hello
Attribute Section: aeabi
File Attributes
Tag_CPU_name: "7-A"
Tag_CPU_arch: v7
Tag_CPU_arch_profile: Application
Tag_ARM_ISA_use: Yes
Tag_THUMB_ISA_use: Thumb-2
Tag_VFP_arch: VFPv3
Tag_NEON_arch: NEONv1
Tag_ABI_PCS_wchar_t: 4
Tag_ABI_FP_denormal: Needed
Tag_ABI_FP_exceptions: Needed
Tag_ABI_FP_number_model: IEEE 754
Tag_ABI_align8_needed: Yes
Tag_ABI_align8_preserved: Yes, except leaf SP
Tag_ABI_enum_size: int
Tag_ABI_HardFP_use: SP and DP
Tag_unknown_34: 1 (0x1)
|
Try a Hello World with some 'Double' math.
If it doesn't fault on 'illegal instruction' (or some such obvious thing) - call it done.
If those options test out, I will make them the defaults for K4&K5 in DIY-KeK
That should do it for the K4 & K5 at least.
Just don't forget to over-ride those defaults built into the compiler when building for the K1, K2, K3 and DX