[all-commits] [llvm/llvm-project] ad0a7a: [RISCV] Add intrinsics for vf[n]macc/vf[n]msac/vf[...

ShihPo Hung via All-commits all-commits at lists.llvm.org
Tue Dec 22 18:35:19 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ad0a7ad950fec5e422e84f0d3f8942d5e1b116f6
      https://github.com/llvm/llvm-project/commit/ad0a7ad950fec5e422e84f0d3f8942d5e1b116f6
  Author: ShihPo Hung <shihpo.hung at sifive.com>
  Date:   2020-12-22 (Tue, 22 Dec 2020)

  Changed paths:
    M llvm/include/llvm/IR/IntrinsicsRISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoVPseudos.td
    A llvm/test/CodeGen/RISCV/rvv/vfmacc-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmacc-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmadd-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmadd-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmsac-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmsac-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmsub-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfmsub-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmacc-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmacc-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmadd-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmadd-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmsac-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmsac-rv64.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmsub-rv32.ll
    A llvm/test/CodeGen/RISCV/rvv/vfnmsub-rv64.ll

  Log Message:
  -----------
  [RISCV] Add intrinsics for vf[n]macc/vf[n]msac/vf[n]madd/vf[n]msub instructions

This patch defines vfmadd/vfnmacc, vfmsac/vfnmsac, vfmadd/vfnmadd,
and vfmsub/vfnmsub lower to V instructions.

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: ShihPo Hung <shihpo.hung at sifive.com>

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




More information about the All-commits mailing list