Linux MIPS Architecture development
 help / color / mirror / Atom feed
* RE: Floating point performance
@ 2005-09-29  7:08 Ulrich Eckhardt
  2005-09-29  7:08 ` Ulrich Eckhardt
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Ulrich Eckhardt @ 2005-09-29  7:08 UTC (permalink / raw)
  To: linux-mips

(Sorry if this mail is garbled, I'm forced to use a sub-par client)

Matej Kupljen wrote:
> 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!
[...]
> Any other suggestions?

I'm not sure what you are doing, but if you only want to play music, I'd use Ogg Vorbis instead, which has a decoder that only uses integer arithmetic for exactly the case of FPU-less machines and the Au1200. I could also imagine an MP3 decoder written for integer only being written somewhere, but I don't know anything about it.

Uli

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Floating point performance
@ 2005-09-27  8:17 Matej Kupljen
  2005-09-27  8:42 ` Jerry
  0 siblings, 1 reply; 12+ messages in thread
From: Matej Kupljen @ 2005-09-27  8:17 UTC (permalink / raw)
  To: linux-mips

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2005-09-30 11:48 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-29  7:08 Floating point performance Ulrich Eckhardt
2005-09-29  7:08 ` Ulrich Eckhardt
2005-09-29 11:16 ` Matej Kupljen
2005-09-29 11:36   ` Nigel Stephens
2005-09-29 11:44     ` Matej Kupljen
2005-09-29 11:49     ` Matej Kupljen
2005-09-29 13:31     ` Daniel Jacobowitz
2005-09-29 15:39   ` David Daney
2005-09-30 11:48   ` Dominik 'Rathann' Mierzejewski
2005-09-29 11:31 ` Greg Weeks
  -- strict thread matches above, loose matches on Subject: below --
2005-09-27  8:17 Matej Kupljen
2005-09-27  8:42 ` Jerry

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox