[PATCH] ppc32 dl-machine.c

Segher Boessenkool segher@koffie.nl
Tue Oct 1 17:25:00 GMT 2002


Anton Blanchard wrote:
> 
> 
> > You need a sync between icbi and isync, too.  See for example the MPC7410
> > user manual, 2.3.4.3.4.
> 
> The definition of PPC_ISYNC includes a sync and isync. I was about to

Ah!  That changes things (a little).

> remove the sync there (the IBM cpus Ive looked at dont need it) but
> I suspected the Motorola ones might require it.

FWIW, the Book E architecture manual (I've been looking at version 1.0,
dated 2002-05-07) explicitly requires a sync (well, an msync), too.
See section 6.3.2, "Cache Management Instructions".  Not sure if this
matters much, but it's not just Motorola, at least ;)


Cheers,

Segher



More information about the Libc-alpha mailing list