This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See crosstool-NG for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Disable dlmzb on the PowerPC 405 due to the AMCC 405EP


BjÃrn, All,

On Friday 09 November 2012 Herwig, BjÃrn wrote:
> It is generally assumed, that all PowerPC 405 cores support the dlmzb instruction.
> Sadly, the AMCC 405EP core is an exception to that rule. And while this must be known
> to the Linux kernel people, GCC and GLIBC default to use dlmzb on all 405s.
> 
> This adds a patch to crosstool-ng, which removes the optimized assembler
> implementations using dlmzb from eglibc-ports-2_16 and also killing memset.S
> due to an already known problem with cache sizes on the 405, which also affects
> the 405EP [1].
> 
> [1] http://sourceware.org/bugzilla/show_bug.cgi?id=14595
> 
> The second patch added modifies GCC 4.7.2 to never emit dlmzb for all 405s.
> 
> With these two patches in place, it is possible to use GCC 4.7.2 and EGLIBC 2.16
> for a perfectly running Linux rootfs on the AMCC 405EP.

These patches are too intrusive to be added to crosstool-NG. It should be
fixed upstream (ie. eglibc/glib and gcc) instead.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]