All of lore.kernel.org
 help / color / mirror / Atom feed
* iwwmmxt optimization and soft float in OE on PXA270
@ 2008-03-02 21:47 Stanislav Brabec
  2008-03-03  7:29 ` Koen Kooi
  0 siblings, 1 reply; 14+ messages in thread
From: Stanislav Brabec @ 2008-03-02 21:47 UTC (permalink / raw)
  To: openembedded-devel

Hallo.

What is your opinion on enabling of iwmmxt optimization on >=PXA270
devices, and optionally also soft floats?

I read old posts talking regarding broken iwmmxt support in gcc.

I also read something about float emulation options for PXA270, its
speed and ABI breakage. It seems, that soft float should be the fastest
option for devices without hardware FPU.

I wanted to test it and I have recompiled everything I am using with:
-march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt -Os -funswitch-loops -fgcse-after-reload -msoft-float

It should be the best possible optimization for PXA270 (compiled for
iwmmxt, use soft float instead of exception based kernel driver, use -Os
to make binaries as small as possible and add optimizations from -O3).

Then I have created a spitz feed based on the latest OE.dev and
installed.

Here is iwmmxt soft float Spitz feed:
http://www.penguin.cz/~utx/zaurus/feed/
(You have to degrade or remove xorg-kdrive before boot - known bug. You
have to replace the default feed by the experimental one. And finally,
2.6.24 is available in the feed and you can upgrade.)

Problems relevant to iwmmxt:
- qemu does not work properly and fails to compile locales, timezones
  and emacs.
- minimo compilation fails (not yet analyzed)

Problems relevant to soft float:
- Breaks ABI of applications using math.

I am now using it for several days, and I don't see any problems, which
were not known with the default compiler.

Other results:
- Os does not create significantly smaller binaries when compared with
  the default -O2.
- Some applications seems to run a bit faster (MPlayer).


________________________________________________________________________
Stanislav Brabec
http://www.penguin.cz/~utx/zaurus




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

end of thread, other threads:[~2008-04-01  3:21 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-02 21:47 iwwmmxt optimization and soft float in OE on PXA270 Stanislav Brabec
2008-03-03  7:29 ` Koen Kooi
2008-03-03 10:48   ` Stanislav Brabec
2008-03-04  7:26     ` Khem Raj
2008-03-04 11:18       ` Stanislav Brabec
2008-03-04 20:32         ` Stanislav Brabec
2008-03-20  6:03   ` iwmmxt " Hasjim Williams
2008-03-20 12:46     ` Stanislav Brabec
2008-03-20 22:14       ` Hasjim Williams
2008-03-21 22:52         ` Khem Raj
2008-03-23 18:01         ` iwmmxt optimization on PXA270 (dejagnu test report) Stanislav Brabec
2008-03-26  1:39           ` Hasjim Williams
2008-04-01  0:27             ` Hasjim Williams
2008-04-01  3:21               ` Hasjim Williams

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.