[PATCH] D70542: [AArch64][SVE] Add intrinsics for gather loads with 64-bit offsets
Andrzej Warzynski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 21 08:01:11 PST 2019
andwar created this revision.
andwar added reviewers: sdesmalen, huntergr, rovka, mgudim, dancgr.
Herald added subscribers: llvm-commits, psnobl, rkruppe, hiraditya, kristof.beyls, tschuett.
Herald added a reviewer: rengolin.
Herald added a reviewer: efriedma.
Herald added a project: LLVM.
This patch adds the following intrinsics for gather loads with 64-bit offsets:
- @llvm.aarch64.sve.ld1.gather (unscaled offset)
- @llvm.aarch64.sve.ld1.gather.index (scaled offset)
These intrinsics map 1-1 to the following AArch64 instructions respectively (examples for half-words):
- ld1h { z0.d }, p0/z, [x0, z0.d]
- ld1h { z0.d }, p0/z, [x0, z0.d, lsl #1]
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D70542
Files:
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/lib/Target/AArch64/AArch64ISelLowering.cpp
llvm/lib/Target/AArch64/AArch64ISelLowering.h
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/AArch64SVEInstrInfo.td
llvm/lib/Target/AArch64/SVEInstrFormats.td
llvm/lib/Target/AArch64/Utils/AArch64BaseInfo.h
llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-64bit-offset.ll
llvm/test/CodeGen/AArch64/sve-intrinsics-gather-loads-scaled.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70542.230460.patch
Type: text/x-patch
Size: 25686 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191121/05967e32/attachment.bin>
More information about the llvm-commits
mailing list