[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] powerpc 8xx dcbz problem
- To: Nathan Sidwell <nathan@xxxxxxxxxxxxxxxx>
- Subject: Re: [patches] powerpc 8xx dcbz problem
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Mon, 04 Jun 2007 08:28:19 -0700
Nathan Sidwell wrote:
> Steven Munroe wrote:
>
>> So just provide a patch for sysdeps/powerpc/powerpc32/8xx/ to override
>> memset.S with a version that does not use dcbz. Then use -with-cpu=8xx
>> for you build. This elliminates the clutter to the base but solves your
>> chip specific problem!
>
> We're trying to avoid an 8xx-specific multilib here.
Yes, we (and some of our customers) aren't eager to have lots of
multilibs; the goal is to have binaries that can run on a variety of
systems. (That's why I was asking questions about dynamically selecting
optimization strategies a while back.)
Even if it's not practical to dynamically choose optimized code paths, I
think it's important to be able to do some dynamic selection for cases
like this. Obviously, it's unfortunate that 8xx processors have this
bug, but they do, and being able to distribute a single binary for a
family of processors is an important convenience.
--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713