This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerPC lwsync Instruction


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]