public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
From: Martin Guy <martinwguy@gmail.com>
To: linux-cirrus@freelists.org, sim1@googlegroups.com,
		Crossgcc list <crossgcc@sourceware.org>
Subject: gcc-4.4-crunch
Date: Fri, 28 Jun 2013 03:55:00 -0000	[thread overview]
Message-ID: <CAL4-wQrtYQ0EU7umuKonH9jYnaHYkHr8nRh-o5kU2sBR8usJPQ@mail.gmail.com> (raw)

[Bcc to 15 developers]

Hi!
  I've been looking at the old EP93xx MaverickCrunch FPU patches for
GCC again and almost have a working set for gcc-4.4. It "seems to
work" for most programs but one FP-math-intensive testsuite is
failing.(*)
  The good news is that FFTW's speed test reports an increase from
6.13 to 7.65 MFlops and I think I now know what was wrong with the
64-bit integer arithmetic(**): fixing that should bring a speed
increase to OpenSSL and others. It also integrates better with the new
Debian release "wheezy", whose minimum GCC version is now 4.4.
  I'm writing as a fundraiser to prod me into finding and applying the
bug fix, and finish, package and publish it, to then compile the
Debian repository of crunch-acelerated packages for wheezy.
  So if anyone happens to work for a company that gains form my work,
do feel free to campaign with the accountants on my behalf :)

In any case, I'll write again when the new compiler and repositories
are available.

Cheers

   M

*) In fftw. It looks like another variant of a known silicon bug: when
one instruction modifies an ARM register ina a way that induces a wait
state, and the next instruction is a crunch double load/store whose
address indirects through that register, the result is garbage or RAM
is corrupted at random.

**) By default, its 64-bit arithmetic operations do saturating
arithmetic instead of "going round the clock", maxing out at 0x7F* and
-0x80*. The only place that notices is openssl's 64-bit-optimized
bignum div/rem function.

--
For unsubscribe information see http://sourceware.org/lists.html#faq

                 reply	other threads:[~2013-06-28  3:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAL4-wQrtYQ0EU7umuKonH9jYnaHYkHr8nRh-o5kU2sBR8usJPQ@mail.gmail.com \
    --to=martinwguy@gmail.com \
    --cc=crossgcc@sourceware.org \
    --cc=linux-cirrus@freelists.org \
    --cc=sim1@googlegroups.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).