This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC]: e500 target can't use lwsync, use msync instead
ClosedPublic

Authored by jhibbits on Mar 23 2020, 7:51 AM.

Details

Reviewers
nemanjai
Group Reviewers
Restricted Project
Commits
rGf0990e104b08: [PowerPC]: e500 target can't use lwsync, use msync instead
Summary

The e500 core has a silicon bug that triggers an illegal instruction
program trap on any sync other than msync. Other cores will typically
ignore illegal sync types, and the documentation even implies that the
'illegal' bits are ignored.

Address this hardware deficiency by only using msync, like the PPC440.

Diff Detail

Event Timeline

jhibbits created this revision.Mar 23 2020, 7:51 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 23 2020, 7:51 AM
nemanjai accepted this revision.Mar 23 2020, 9:56 AM

LGTM. I have no way of verifying this but no reason to doubt it.

This revision is now accepted and ready to land.Mar 23 2020, 9:56 AM
This revision was automatically updated to reflect the committed changes.