This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PowerPC lwsync Instruction
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "Joel Sherrill" <joel dot sherrill at oarcorp dot com>
- Cc: "GCC List" <gcc at gcc dot gnu dot org>
- Date: Thu, 19 Jun 2008 13:49:26 -0400
- Subject: Re: PowerPC lwsync Instruction
- References: <485A9935.1030400@oarcorp.com>
On Thu, Jun 19, 2008 at 1:36 PM, Joel Sherrill
<joel.sherrill@oarcorp.com> wrote:
> Hi,
>
> I ran into something tracking down a test
> failure on psim and now thing there is a
> target specific issue that needs addressing.
lwsync is sync with the bit 9 set. So it should be ok as it was a
reserved field and was supposed to be ignored on the hardware which
did not implement those bits and have it as a sync (but I could be
wrong).
The Power ISA 2.05 describes the sync/lwsync behavior but I can't find
where it says it is ignored if not implemented. I bet you have to
goto the ISA for those processors to find what is the current behavior
for sure.
Thanks,
Andrew Pinski