This is an archive of the discontinued LLVM Phabricator instance.

[AArch64][RFC][Draft] Implement __builtin_cpu_supports, compiler-rt tests.
Needs ReviewPublic

Authored by ilinpv on Jun 16 2023, 9:42 AM.

Details

Summary

The patch adds AArch64 target builtin

__builtin_cpu_supports("feature1+...+featureN")

which return true if all specified CPU features in argument are detected.
Also native run aarch64 tests for compiler-rt features detection mechanism
were added.

Diff Detail

Event Timeline

ilinpv created this revision.Jun 16 2023, 9:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 16 2023, 9:42 AM
Herald added subscribers: Enna1, dberris. · View Herald Transcript
ilinpv requested review of this revision.Jun 16 2023, 9:42 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJun 16 2023, 9:42 AM
Herald added subscribers: Restricted Project, cfe-commits, wdng. · View Herald Transcript