[PATCH] D117592: [ARM][AArch64] Introduce qrdmlah and qrdmlsh intrinsics
Dave Green via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 18 11:29:06 PST 2022
dmgreen created this revision.
dmgreen added reviewers: DavidSpickett, labrinea, t.p.northover, samtebbs.
Herald added subscribers: hiraditya, kristof.beyls.
dmgreen requested review of this revision.
Herald added a project: LLVM.
Since it's introduction, the qrdmlah has been represented as a qrdmilh and a sadd_sat. This doesn't produce the same result for all input values though. This patch fixes that by introducing a qrdmlah (and qrdmlsh) intrinsic specifically for the vqrdmlah and sqrdmlah instructions. The old test cases will now produce a qrdmulh and sqadd, as expected.
https://reviews.llvm.org/D117592
Files:
clang/include/clang/Basic/arm_neon.td
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/aarch64-v8.1a-neon-intrinsics.c
clang/test/CodeGen/arm-v8.1a-neon-intrinsics.c
llvm/include/llvm/IR/IntrinsicsAArch64.td
llvm/include/llvm/IR/IntrinsicsARM.td
llvm/lib/Target/AArch64/AArch64InstrFormats.td
llvm/lib/Target/AArch64/AArch64InstrInfo.td
llvm/lib/Target/ARM/ARMInstrNEON.td
llvm/test/CodeGen/AArch64/arm64-neon-v8.1a.ll
llvm/test/CodeGen/ARM/neon-v8.1a.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117592.400901.patch
Type: text/x-patch
Size: 124689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220118/d74a4205/attachment.bin>
More information about the llvm-commits
mailing list