This is an archive of the discontinued LLVM Phabricator instance.

[ARM][AArch64] Implement __arm_rsrf, __arm_rsrf64, __arm_wsrf & __arm_wsrf64
ClosedPublic

Authored by vhscampos on Oct 22 2019, 3:42 AM.

Details

Summary

Adding support for ACLE intrinsics.

Patch by Michael Platings.

Event Timeline

vhscampos created this revision.Oct 22 2019, 3:42 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 22 2019, 3:42 AM
vhscampos updated this revision to Diff 226015.Oct 22 2019, 3:47 AM

Run clang-format

chill edited reviewers, added: chill; removed: momchil.velikov.Oct 22 2019, 3:55 AM
chill added a comment.Oct 22 2019, 5:41 AM

I'm a bit unsure how much we're willing to pollute the namespace: in this particular case looking at the four __bitcast_* functions.
I appreciate that getting rid of them would require emitting LLVM IR bitcasts, so a bit more effort compared to the macro approach.

Comments?

We have __builtin_bit_cast now.

vhscampos updated this revision to Diff 226406.Oct 25 2019, 4:10 AM

Use __builtin_bit_cast to perform the relevant bitcasts.

chill accepted this revision.Oct 25 2019, 4:15 AM
This revision is now accepted and ready to land.Oct 25 2019, 4:15 AM
This revision was automatically updated to reflect the committed changes.