This is an archive of the discontinued LLVM Phabricator instance.

[ARM,MVE] Add intrinsics for int <-> float conversion.
ClosedPublic

Authored by simon_tatham on Feb 10 2020, 8:52 AM.

Details

Summary

This adds the unpredicated versions of the family of vcvtq intrinsics
that convert between a vector of floats and a vector of the same size
of integer. These are represented in IR using the standard fptosi,
fptoui, sitofp and uitofp operations, which existing LLVM codegen
already handles.

Event Timeline

simon_tatham created this revision.Feb 10 2020, 8:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2020, 8:52 AM
This revision is now accepted and ready to land.Feb 11 2020, 3:16 AM

Rebased to current master.

This revision was automatically updated to reflect the committed changes.