[all-commits] [llvm/llvm-project] aefedb: [VE] Add logical mask intrinsic instructions

Kazushi Marukawa via All-commits all-commits at lists.llvm.org
Mon Dec 14 08:39:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: aefedb170734d680516c3875873c80fc29498b43
      https://github.com/llvm/llvm-project/commit/aefedb170734d680516c3875873c80fc29498b43
  Author: Kazushi (Jam) Marukawa <marukawa at nec.com>
  Date:   2020-12-15 (Tue, 15 Dec 2020)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsVEVL.gen.td
    M llvm/lib/Target/VE/VEInstrInfo.cpp
    M llvm/lib/Target/VE/VEInstrIntrinsicVL.gen.td
    M llvm/lib/Target/VE/VEInstrVec.td
    A llvm/test/CodeGen/VE/VELIntrinsics/andm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/eqvm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/lzvm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/negm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/nndm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/orm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/pcvm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/tovm.ll
    A llvm/test/CodeGen/VE/VELIntrinsics/xorm.ll

  Log Message:
  -----------
  [VE] Add logical mask intrinsic instructions

Add andm, orm, xorm, eqvm, nndm, negm, pcvm, lzvm, and tovm intrinsic
instructions, a few pseudo instructions to expand logical intrinsic
using VM512, a mechnism to expand such pseudo instructions, and
regression tests.  Also, assign vector mask types and vector mask
register classes correctly.  This is required to use VM512 registers
as function arguments.

Reviewed By: simoll

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




More information about the All-commits mailing list