[all-commits] [llvm/llvm-project] ba16e3: [RISCV] Decouple Zve* extensions and the V extension.

Jianjian Guan via All-commits all-commits at lists.llvm.org
Sun Jan 23 23:07:06 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba16e3c31f66f02df08ec41394b765aa568a3107
      https://github.com/llvm/llvm-project/commit/ba16e3c31f66f02df08ec41394b765aa568a3107
  Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
  Date:   2022-01-24 (Mon, 24 Jan 2022)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/lib/Basic/Targets/RISCV.cpp
    M clang/lib/Sema/SemaChecking.cpp
    M clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbb-error.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/rvv-error.c
    M clang/utils/TableGen/RISCVVEmitter.cpp
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/lib/Target/RISCV/RISCV.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/MC/RISCV/attribute-arch.s

  Log Message:
  -----------
  [RISCV] Decouple Zve* extensions and the V extension.

According to the spec, there are some difference between V and Zve64d. For example, the vmulh integer multiply variants that return the high word of the product (vmulh.vv, vmulh.vx, vmulhu.vv, vmulhu.vx, vmulhsu.vv, vmulhsu.vx) are not included for EEW=64 in Zve64*, but V extension does support these instructions. So we should decouple Zve* extensions and the V extension.

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




More information about the All-commits mailing list