View Single Post
Old 06-11-2012, 06:35 PM   #60
knc1
Going Viral
knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.knc1 ought to be getting tired of karma fortunes by now.
 
knc1's Avatar
 
Posts: 17,212
Karma: 18210809
Join Date: Feb 2012
Location: Central Texas
Device: No K1, PW2, KV, KOA
Quote:
Originally Posted by baf View Post
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

Last edited by knc1; 06-11-2012 at 06:39 PM.
knc1 is offline   Reply With Quote