[all-commits] [llvm/llvm-project] f720c2: [RISCV][Clang] Add RVV Widening Integer Extension ...

Zakk Chen via All-commits all-commits at lists.llvm.org
Tue Apr 6 03:16:04 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f720c22e77290187a53fc85cb8d34c313ad07e47
      https://github.com/llvm/llvm-project/commit/f720c22e77290187a53fc85cb8d34c313ad07e47
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsext.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vzext.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vsext.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vzext.c

  Log Message:
  -----------
  [RISCV][Clang] Add RVV Widening Integer Extension intrinsic functions.

Reviewed By: HsiangKai

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen at sifive.com>

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


  Commit: fe252b509ee6e8925219b97a189569c8d33c91f2
      https://github.com/llvm/llvm-project/commit/fe252b509ee6e8925219b97a189569c8d33c91f2
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vadc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmadc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsbc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmseq.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsgt.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsle.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmslt.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vmsne.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsbc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vwmacc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vadc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vmadc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vmsbc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vmseq.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vmsgt.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vmsle.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vmslt.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vmsne.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vsbc.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vwmacc.c

  Log Message:
  -----------
  [RISCV][Clang] Add more RVV Integer intrinsic functions.

Support below instructions.
1. Vector Integer Add-with-Carry / Subtract-with-Borrow Instructions
2. Vector Integer Comparison Instructions
3. Vector Widening Integer Multiply-Add Instructions

Reviewed By: HsiangKai

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen at sifive.com>

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


  Commit: f2a3601aa5a513e8d8a76cba84434fbfe4a71f10
      https://github.com/llvm/llvm-project/commit/f2a3601aa5a513e8d8a76cba84434fbfe4a71f10
  Author: Zakk Chen <zakk.chen at sifive.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vaadd.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vasub.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vnclip.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsadd.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vsmul.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssra.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssrl.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics-overloaded/vssub.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vaadd.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vasub.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vnclip.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vsadd.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vsmul.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vssra.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vssrl.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vssub.c

  Log Message:
  -----------
  [RISCV][Clang] Add all RVV Fixed-Point Arithmetic intrinsic functions.

Reviewed By: HsiangKai

Authored-by: Roger Ferrer Ibanez <rofirrim at gmail.com>
Co-Authored-by: Zakk Chen <zakk.chen at sifive.com>

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


Compare: https://github.com/llvm/llvm-project/compare/0a18ea01f197...f2a3601aa5a5


More information about the All-commits mailing list