[all-commits] [llvm/llvm-project] 49921d: [PowerPC] Exploitation of xxeval instruction for A...

llvmbot via All-commits all-commits at lists.llvm.org
Mon Dec 7 10:42:04 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 49921d1c3cee2d1c248a3654331384e648457435
      https://github.com/llvm/llvm-project/commit/49921d1c3cee2d1c248a3654331384e648457435
  Author: Stefan Pintilie <stefanp at ca.ibm.com>
  Date:   2020-12-07 (Mon, 07 Dec 2020)

  Changed paths:
    M llvm/lib/Target/PowerPC/PPCInstrPrefix.td
    A llvm/test/CodeGen/PowerPC/xxeval-and-nand.ll

  Log Message:
  -----------
  [PowerPC] Exploitation of xxeval instruction for AND and NAND

The xxeval instruction was intorduced in Power PC in Power 10.
The instruction accepts three vector registers and an immediate.
Depending on the value of the immediate the instruction can be used
to perform certain bitwise boolean operations (and, or, xor, ...) on
the given vector registers.

This patch implements the AND and NAND patterns that can be used by
the instruction.

Reviewed By: nemanjai, #powerpc, bsaleil, NeHuang, jsji

Differential Revision: https://reviews.llvm.org/D92420




More information about the All-commits mailing list