[PATCH] D71062: [ARM][MVE] Add vector reduction intrinsics with two vector operands

Mikhail Maltsev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 5 06:11:28 PST 2019


miyuki created this revision.
miyuki added reviewers: simon_tatham, ostannard, dmgreen.
Herald added subscribers: llvm-commits, cfe-commits, hiraditya, kristof.beyls.
Herald added projects: clang, LLVM.

This patch adds intrinsics for the following MVE instructions:

- VABAV
- VMLADAV, VMLSDAV
- VMLALDAV, VMLSLDAV
- VRMLALDAVH, VRMLSLDAVH

Each of the above 4 groups has a corresponding new LLVM IR intrinsic,
since the instructions cannot be easily represented using
general-purpose IR operations.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D71062

Files:
  clang/include/clang/Basic/arm_mve.td
  clang/include/clang/Basic/arm_mve_defs.td
  clang/test/CodeGen/arm-mve-intrinsics/vabavq.c
  clang/test/CodeGen/arm-mve-intrinsics/vmldav.c
  clang/test/CodeGen/arm-mve-intrinsics/vmlldav.c
  llvm/include/llvm/IR/IntrinsicsARM.td
  llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
  llvm/test/CodeGen/Thumb2/mve-intrinsics/vabavq.ll
  llvm/test/CodeGen/Thumb2/mve-intrinsics/vmldav.ll
  llvm/test/CodeGen/Thumb2/mve-intrinsics/vmlldav.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71062.232327.patch
Type: text/x-patch
Size: 196438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20191205/d2de8b91/attachment-0001.bin>


More information about the cfe-commits mailing list