HomePhabricator

[ARM,MVE] Add ACLE intrinsics for VQMOV[U]N family.

Authored by simon_tatham on Mar 2 2020, 1:05 AM.

Description

[ARM,MVE] Add ACLE intrinsics for VQMOV[U]N family.

Summary:
These instructions work like VMOVN (narrowing a vector of wide values
to half size, and overwriting every other lane of an output register
with the result), except that the narrowing conversion is saturating.
They come in three signedness flavours: signed to signed, unsigned to
unsigned, and signed to unsigned. All are represented in IR by a
target-specific intrinsic that takes two separate 'unsigned' flags.

Reviewers: MarkMurrayARM, dmgreen, miyuki, ostannard

Reviewed By: dmgreen

Subscribers: kristof.beyls, hiraditya, cfe-commits, llvm-commits

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D75252

Details

Committed
simon_tathamMar 2 2020, 2:33 AM
Reviewer
dmgreen
Differential Revision
D75252: [ARM,MVE] Add ACLE intrinsics for VQMOV[U]N family.
Parents
rG12048a9182fc: [lld] Fix test failure from d978656fd06
Branches
Unknown
Tags
Unknown