Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Hasjim Williams" <openembedded-devel@lists.futaris.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: iwmmxt optimization and soft float in OE on PXA270
Date: Thu, 20 Mar 2008 16:03:15 +1000	[thread overview]
Message-ID: <1205992995.25920.1243400709@webmail.messagingengine.com> (raw)
In-Reply-To: <fqg9c0$g00$1@ger.gmane.org>


On Mon, 03 Mar 2008 08:29:04 +0100, "Koen Kooi"
<koen@dominion.kabel.utwente.nl> said:
> Stanislav Brabec schreef:
> 
> | 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).
> 
> Angstrom already enables softfloat (for FPU-less systems) and -Os by
> default *and* enables iwmmxt (if you have MACHINE_FEATURES = "iwmmxt")
> for apps which have been proven to benefit from iwmmxt (e.g. mplayer).
> 
> I still get mysterious segfaults when running an all iwmmxt glibc system
> (uclibc is even worse), so I don't think flipping the global switch is a
> good idea.

You won't be able to use iwmmxt with everything.  The unwind / exception
support for iwxmmt isn't there in gcc.  Anything using C++ exceptions
won't work correctly.

infocenter.arm.com/help/topic/com.arm.doc.ihi0038a/IHI0038A_ehabi.pdf
explains about the unwind / exceptions.

This is also one of the issues that Cirrus's MaverickCrunch currently
has.

The only ARM coprocessor that is fully supported (by gcc) is VFP.  

In summary, we'd have to modify:
gcc/config/arm/pr-support.c
gcc/config/arm/unwind-arm.h
gcc/config/arm/unwind-arm.c

for proper iwmmxt Unwind_VRS_Pop support.

NB, I'm the guy that has done the MaverickCrunch gcc patches...

I could write/test these patches, I guess, but the only PXA270 machine
that I have access to is a HTC Magician (XDA Mini).

Hasjim Williams



  parent reply	other threads:[~2008-03-20  6:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Hasjim Williams [this message]
2008-03-20 12:46     ` iwmmxt " 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1205992995.25920.1243400709@webmail.messagingengine.com \
    --to=openembedded-devel@lists.futaris.org \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox