Floating point performance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

I've built soft float toolchain (with crosstool) and then build
MPlayer with it. The performance is very low. I cannot even
play the mp3 file with MPlayer on DBAU1200 with 400MHz CPU!

I used
GCC: 3.3.5
GLIBC: 2.3.5
BINUTILS: 2.16.1

I did some profiling and this is what I get:
-----------------------------------------------------------------------------------
Flat profile:

Each sample counts as 0.01 seconds.
  %   cumulative   self              self     total           
 time   seconds   seconds    calls   s/call   s/call  name    
 18.09     44.70    44.70                             __pack_f
 17.30     87.44    42.74                             _fpadd_parts
 15.82    126.54    39.10                             __mulsf3
 15.28    164.31    37.77                             __unpack_f
  6.49    180.36    16.05                             _fpadd_parts
  5.30    193.45    13.09    17424     0.00     0.00  dct64_1
  4.75    205.18    11.73                             __subsf3
  4.04    215.16     9.98                             __addsf3
  3.68    224.26     9.10    17424     0.00     0.00  synth_1to1
  1.90    228.96     4.70                             __pack_d
  1.20    231.92     2.96                             __unpack_d
  1.17    234.80     2.88                             __muldf3
-----------------------------------------------------------------------------------

As it seems, all the time is spent in the FP routines. 
I decided to use SF toolchain, because they should be faster
then FPU emulator (at least it is on ARM), but did no test
this with emulator.

Does anybody use MPlayer on MIPS? 
What performance do you get?
Any other suggestions?

BR,
Matej



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux