[PATCH] D76123: [ARM,MVE] Add intrinsics for the VQDMLAH family.

Simon Tatham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 13 02:58:44 PDT 2020


simon_tatham created this revision.
simon_tatham added reviewers: dmgreen, MarkMurrayARM, miyuki, ostannard.
Herald added subscribers: cfe-commits, hiraditya, kristof.beyls.
Herald added a project: clang.

These are complicated integer multiply+add instructions with extra
saturation, taking the high half of a double-width product, and
optional rounding. There's no sensible way to represent that in
standard IR, so I've converted the clang builtins directly to
target-specific intrinsics.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76123

Files:
  clang/include/clang/Basic/arm_mve.td
  clang/test/CodeGen/arm-mve-intrinsics/ternary.c
  llvm/include/llvm/IR/IntrinsicsARM.td
  llvm/lib/Target/ARM/ARMISelLowering.cpp
  llvm/lib/Target/ARM/ARMInstrMVE.td
  llvm/test/CodeGen/Thumb2/mve-intrinsics/ternary.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76123.250157.patch
Type: text/x-patch
Size: 27709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200313/c5e2aabc/attachment-0001.bin>


More information about the cfe-commits mailing list