[PATCH] D25933: [AVX-512] Add scalar vfmsub mask3 intrinsics

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 24 22:12:03 PDT 2016


craig.topper created this revision.
craig.topper added reviewers: delena, igorb.
craig.topper added a subscriber: llvm-commits.

Clang's intrinsic header currently tries to negate the third operand of a vfmadd mask3 in order to create vfmsub, but this fails isel. This patch add scalar vfmsub mask3 that we can use instead to avoid the negate. This is consistent with the packed instructions.


https://reviews.llvm.org/D25933

Files:
  include/llvm/IR/IntrinsicsX86.td
  lib/Target/X86/X86IntrinsicsInfo.h
  test/CodeGen/X86/avx512-intrinsics.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25933.75669.patch
Type: text/x-patch
Size: 5279 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161025/4c466aab/attachment.bin>


More information about the llvm-commits mailing list