This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc will become the best optimizing x86 compiler -> PPC case
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: etienne_lorrain at yahoo dot fr
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 2 Aug 2008 09:40:10 -0700
- Subject: Re: gcc will become the best optimizing x86 compiler -> PPC case
- References: <159524.77243.qm@web28615.mail.ukl.yahoo.com>
On Fri, Aug 1, 2008 at 9:24 AM, Etienne Lorrain
<etienne_lorrain@yahoo.fr> wrote:
> The PPC has a very fast dcbz (data cache block zero) to clear memory,
> and also dcbi (data cache block invalidate) which permit to have a
> cached line caching an address without reading first the memory (when
> you plan to write the whole line).
> The code in opensolaris.org doesn't seem to handle that.
Except dcbz does not work for caching-inhibited memory (as it will
cause an alignment exception) so ...
-- Pinski