This is an archive of the discontinued LLVM Phabricator instance.

[ARM/AArch64] Support FP16 +fp16fml instructions
ClosedPublic

Authored by bogden on Aug 3 2018, 1:41 AM.

Details

Summary

Add +fp16fml feature for new FP16 instructions, which are a
mandatory part of FP16 from v8.4-A and an optional part of FP16
from v8.2-A. It doesn't seem to be possible to model this in
LLVM, but the relationship between the options is handled by
the related clang patch.

In keeping with what I think is the usual practice, the fp16fml
extension is accepted regardless of base architecture version.

Builds on/replaces Sjoerd Meijer's patch to add these instructions at
https://reviews.llvm.org/D49839.

Diff Detail

Repository
rL LLVM

Event Timeline

bogden created this revision.Aug 3 2018, 1:41 AM
bogden added a comment.Aug 3 2018, 1:49 AM

Note that there is an ACLE predefine for these instructions. That isn't included in this patch because it indicates availability of the relevant intrinsics, which aren't implemented yet.

This revision is now accepted and ready to land.Aug 17 2018, 12:23 AM
This revision was automatically updated to reflect the committed changes.
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptNov 15 2023, 1:12 AM
Herald added a subscriber: kristina. · View Herald Transcript