View Single Post
Old 05-10-2013, 01:36 PM   #133
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
The difference between binaries suggests that the faster one uses hardware fpu. Try to recompile with "--with-float=softfp"

Code:
$ readelf -A mplayer
Attribute Section: aeabi
File Attributes
  Tag_CPU_name: "ARM1136J-S"
  Tag_CPU_arch: v6
  Tag_ARM_ISA_use: Yes
  Tag_THUMB_ISA_use: Thumb-1
  Tag_VFP_arch: VFPv2
  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
Remember also about optimization options in mplayer configure script. Choose right ones for your processor:
Code:
  --enable-armv5te          enable DSP extensions (ARM) [autodetect]
  --enable-armv6            enable ARMv6 (ARM) [autodetect]
  --enable-armv6t2          enable ARMv6t2 (ARM) [autodetect]
  --enable-armvfp           enable ARM VFP (ARM) [autodetect]
  --enable-vfpv3            enable ARM VFPV3 (ARM) [autodetect]
  --enable-neon             enable NEON (ARM) [autodetect]
  --enable-thumb            enable THUMB (ARM) [autodetect]
  --enable-iwmmxt           enable iWMMXt (ARM) [autodetect]
Which, if building for the K3 is --enable-armvfp

Also, as baf illustrates, use readelf on the fbdev build to find other options that may have been used.
knc1 is offline   Reply With Quote