All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Hasjim Williams" <openembedded-devel@lists.futaris.org>
To: openembedded-devel@lists.openembedded.org
Subject: Re: iwmmxt optimization on PXA270 (dejagnu test report)
Date: Wed, 26 Mar 2008 11:39:35 +1000	[thread overview]
Message-ID: <1206495575.1924.1244289243@webmail.messagingengine.com> (raw)
In-Reply-To: <1206295294.6914.7.camel@utx.utx.cz>


On Sun, 23 Mar 2008 19:01:33 +0100, "Stanislav Brabec" <utx@penguin.cz>
said:

> I tested gcc-4.2.2-r6 with -march=iwmmxt -mcpu=iwmmxt -mtune=iwmmxt on
> my image compiled for iwmmxt.
> 
> Results seems to be promising. 99.99% tests passed. Results for Fortran
> are invalid (I had not libgfortran in the system). Surprisingly, all
> g++.dg/eh (exception handling) tests PASSed.

I was a bit surprised that all the exception handling tests PASSed, but
then I realised that there is no code to test exceptions on iwmmxt in
that directory:

tmp/work/ep9312-angstrom-linux-gnueabi/gcc-cross-4.2.2-r6/gcc-4.2.6/gcc/testsuite/g++.dg/eh/

The only unwind tester is arm-vfp-unwind.C , which is for the VFP
coprocessor and floats, doubles, etc on VFP.

iwmmxt should make use of uint64 / uint32, and simd .  I think simd-1 &
simd-2 are only run for x86 machines with MMX.  We probably need
something similar to test the popping of iwmmx data/control registers.

I suspect we may need to write a quick test app to check for this error
/ testcase...

The other reason why some iwmmxt compiled apps are segfaulting is that
something in iwmmxt support is missing.  Whilst the gcc testcases cover
most of the major tests, sometimes we need to add extra test cases for
100% test visibility.  I suspect that if gcc tries to do a
Unwind_VRS_Pop and get the NOT_IMPLEMENTED signal, it causes the
segfault.

Not sure if there are many extra bugs introduced by compiling for iwmmxt
vs armv5t, but I suspect this is the only "major" one.  It would be good
if someone has already done these tests (or arm/armv5), so we can do a
simple diff against the files to see what regression there is for
iwmmxt...



  reply	other threads:[~2008-03-26  1:39 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   ` 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 [this message]
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=1206495575.1924.1244289243@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 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.