HomePhabricator

[ARM,MVE] Add the `vshlcq` intrinsics.

Authored by simon_tatham on Mar 3 2020, 9:37 AM.

Description

[ARM,MVE] Add the vshlcq intrinsics.

Summary:
The VSHLC instruction performs a left shift of a whole vector register
by an immediate shift count up to 32, shifting in new bits at the low
end from a GPR and delivering the shifted-out bits from the high end
back into the same GPR.

Since the instruction produces two outputs (the shifted vector
register and the output GPR of shifted-out bits), it has to be
instruction-selected in C++ rather than Tablegen.

Reviewers: MarkMurrayARM, dmgreen, miyuki, ostannard

Reviewed By: miyuki

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

Tags: #clang, #llvm

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

Details

Committed
simon_tathamMar 4 2020, 12:49 AM
Reviewer
miyuki
Differential Revision
D75445: [ARM,MVE] Add the `vshlcq` intrinsics.
Parents
rG810127f6ab5d: [ARM,MVE] Add the `vsbciq` intrinsics.
Branches
Unknown
Tags
Unknown