[oe-commits] Marcin Juszkiewicz : gcc 4.3.3: add ep93xx patches from Martin W. Guy

git version control git at git.openembedded.org
Wed Jun 3 09:35:08 UTC 2009


Module: openembedded.git
Branch: xora/angstrom-srcpv
Commit: 7cc9f9690818e8ad8eb8ebe847d431bb94c00640
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=7cc9f9690818e8ad8eb8ebe847d431bb94c00640

Author: Marcin Juszkiewicz <hrw at openembedded.org>
Date:   Sat May 16 09:40:26 2009 +0200

gcc 4.3.3: add ep93xx patches from Martin W. Guy

Patchset taken from http://martinwguy.co.uk/martin/crunch/

Text from page:

On 10 March there were no known bugs in this stuff (again). On 19 March
libvorbisenc managed to find a bug in GCC whereby it incorrectly
optimizes certain code sequences that use single-precision floats. The
Maverick code generator exhibits similar symptoms for the same code, but
only at optimization levels -O2 and above, so the fastest reliable
optimization options for Maverick at present are -O -ffast-math.

I've been working on GCC-4.3.3 to make it generate working code for the
Cirrus Logic MaverickCrunch FPU, as found in their ARM-based EP9302,
EP9307, EP9312 and EP9315 chips, making floating point-intensive code
about 2.5 times faster.

This follows on from Hasjim Williams' earlier work with gcc-4.1.2 and
4.2.0, a bundle of his more recent ideas and more hacks from me.

If you want to understand the patches themselves, there is an article
about the MaverickCrunch FPU and GCC's problems with it on the Debian
wiki [1] and I have added commentary at the top of the individual patch
files.

1. http://wiki.debian.org/ArmEabiMaverickCrunch

Signed-off-by: Marcin Juszkiewicz <marcin at juszkiewicz.com.pl>
Acked-by: Koen Kooi <koen at openembedded.org>
Acked-by: Tom Rini <trini at embeddedalley.com>

---

 recipes/gcc/gcc-4.3.3.inc                          |   27 +
 recipes/gcc/gcc-4.3.3/ep93xx/README                |   11 +
 recipes/gcc/gcc-4.3.3/ep93xx/URL                   |    1 +
 .../gcc/gcc-4.3.3/ep93xx/arm-crunch-20000320.patch |   13 +
 .../arm-crunch-arm_dbx_register_number.patch       |   15 +
 .../gcc-4.3.3/ep93xx/arm-crunch-ccmav-mode.patch   |  734 ++++++++++++++++++++
 .../ep93xx/arm-crunch-cfcpy-with-cfsh64.patch      |   27 +
 .../ep93xx/arm-crunch-cftruncd32-attr.patch        |   12 +
 .../ep93xx/arm-crunch-cirrus-di-flag.patch         |  248 +++++++
 .../ep93xx/arm-crunch-disable-cmpdi.patch          |   29 +
 .../gcc-4.3.3/ep93xx/arm-crunch-drop-thumb2.patch  |   98 +++
 ...eabi-ieee754-endian-littleword-littlebyte.patch |   15 +
 .../arm-crunch-eabi-mvf0-scratch-ieee754.patch     |   89 +++
 .../arm-crunch-fix-64bit-const-offsets.patch       |   25 +
 .../ep93xx/arm-crunch-fix-cirrus-reorg5.patch      |  313 +++++++++
 .../ep93xx/arm-crunch-floatsi-no-scratch.patch     |   35 +
 .../gcc-4.3.3/ep93xx/arm-crunch-fp_consts.patch    |   15 +
 .../gcc/gcc-4.3.3/ep93xx/arm-crunch-mieee.patch    |  267 +++++++
 .../ep93xx/arm-crunch-movsf-movdf-Uy.patch         |   65 ++
 .../gcc-4.3.3/ep93xx/arm-crunch-neg-enable.patch   |   31 +
 .../gcc-4.3.3/ep93xx/arm-crunch-neg-protect.patch  |   33 +
 .../gcc/gcc-4.3.3/ep93xx/arm-crunch-pipeline.patch |  461 ++++++++++++
 .../gcc/gcc-4.3.3/ep93xx/arm-crunch-readme.patch   |  107 +++
 .../ep93xx/arm-crunch-repair-truncxfsi.patch       |   29 +
 .../gcc/gcc-4.3.3/ep93xx/arm-crunch-saveregs.patch |   88 +++
 .../gcc/gcc-4.3.3/ep93xx/arm-crunch-scratch.patch  |   27 +
 .../gcc-4.3.3/ep93xx/arm-prologue_use-length.patch |   10 +
 recipes/gcc/gcc-4.3.3/ep93xx/arm-size-bugfix.patch |   33 +
 recipes/gcc/gcc-4.3.3/ep93xx/series                |   25 +
 29 files changed, 2883 insertions(+), 0 deletions(-)

Diff:   http://gitweb.openembedded.net/?p=openembedded.git/?a=commitdiff;h=7cc9f9690818e8ad8eb8ebe847d431bb94c00640




More information about the Openembedded-commits mailing list