[PATCH] D74332: [ARM,MVE] Add intrinsics for int <-> float conversion.

Simon Tatham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 10 08:56:05 PST 2020


simon_tatham created this revision.
simon_tatham added reviewers: dmgreen, miyuki, MarkMurrayARM, ostannard.
Herald added subscribers: cfe-commits, kristof.beyls.
Herald added a project: clang.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D74332

Files:
  clang/include/clang/Basic/arm_mve.td
  clang/include/clang/Basic/arm_mve_defs.td
  clang/test/CodeGen/arm-mve-intrinsics/vcvt.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D74332.243581.patch
Type: text/x-patch
Size: 4813 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200210/0fba0411/attachment-0001.bin>


More information about the cfe-commits mailing list