[Mono-list] Moonlight and FPU support

Paolo Molaro lupus at ximian.com
Tue Aug 21 14:18:10 EDT 2007


On 08/21/07 Spencer, Matthew wrote:
> However, I am not having much joy at the moment.  Whenever any calls go
> through to the native cairo libraries, the system freezes.  I assume
> this is due to the way the arm processors deal with floating point
> instructions.  Do you have any suggestions as to how I can speed things
> up?  I have tried using the -msoft-float when compiling cairo, but this
> does not seem to make any difference.

What ABI are you using in your ARM system? EABI? IIRC cairo does most
stuff with fixed point floats internally. Make sure you use the newest
releases (or even svn/git versions). About the freezes: if it's a system
freeze it's a kernel bug, if it's a big slowdown it may be a problem in
cairo or moonlight.
Note that moonlight has not been optimized for speed at all (we are
still in the early stages with it).
Running with mono --profile==default:stat may give some clues where the
time is spent (you need addr2line/binutils installed).

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better


More information about the Mono-list mailing list