This is an archive of the discontinued LLVM Phabricator instance.

[PowerPC] Implement builtin for mffsl
ClosedPublic

Authored by qiucf on Aug 16 2023, 3:02 AM.

Details

Reviewers
nemanjai
stefanp
shchenz
tuliom
Group Reviewers
Restricted Project
Commits
rG082c5d7f63c4: [PowerPC] Implement builtin for mffsl
Summary

mffsl is available since ISA 3.0.

GCC emits extra code to support __builtin_mffsl on targets earlier than Power9, while this patch doesn't do it. In this patch it is actually named __builtin_ppc_mffsl to follow our convention.

Diff Detail

Event Timeline

qiucf created this revision.Aug 16 2023, 3:02 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 16 2023, 3:02 AM
qiucf requested review of this revision.Aug 16 2023, 3:02 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 16 2023, 3:02 AM
tuliom accepted this revision.Aug 16 2023, 11:56 AM
tuliom added a subscriber: tuliom.

LGTM

This revision is now accepted and ready to land.Aug 16 2023, 11:56 AM
nemanjai accepted this revision.Aug 20 2023, 4:43 AM

Thanks for implementing this.

This revision was automatically updated to reflect the committed changes.