[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patches] powerpc 8xx dcbz problem
- To: Steven Munroe <munroesj@xxxxxxxxxx>
- Subject: Re: [patches] powerpc 8xx dcbz problem
- From: Mark Mitchell <mark@xxxxxxxxxxxxxxxx>
- Date: Mon, 04 Jun 2007 09:33:32 -0700
Steven Munroe wrote:
> So any fix/work-around should go in ports and should use --with-cpu. You
> can override libc-start.c from ports/sysdeps/powerpc/powerpc32/8xx with
> a version that zeros __cache_line_size for 8xx and sets its from
> AT_DCACHEBSIZE otherwise.
> .
I don't understand what argument you would give to --with-cpu in this
case? I'm not an expert on Power, so forgive me if the particular CPUs
I pick below doesn't make sense.
Suppose that we want a GLIBC that runs on 603 or later processors,
including 8xx. So, we configure with --with-cpu=603. Are you
suggesting that we change the 603 libc-start.c do the check for 8xx?
And, presumably, all other CPUs X such that code for X should run on an
8xx? Won't that result in duplication along another dimension?
--
Mark Mitchell
CodeSourcery
mark@xxxxxxxxxxxxxxxx
(650) 331-3385 x713