[all-commits] [llvm/llvm-project] 35ff5e: [RISCV][MC] Add support for experimental Zfbfmin e...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Fri May 19 07:18:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35ff5eba16465bd4116db266c01cbabebd500484
      https://github.com/llvm/llvm-project/commit/35ff5eba16465bd4116db266c01cbabebd500484
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-05-19 (Fri, 19 May 2023)

  Changed paths:
    M clang/test/Preprocessor/riscv-target-features.c
    M llvm/docs/RISCVUsage.rst
    M llvm/docs/ReleaseNotes.rst
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    A llvm/lib/Target/RISCV/RISCVInstrInfoZfbfmin.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZfh.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    A llvm/test/MC/RISCV/rv32zfbfmin-invalid.s
    A llvm/test/MC/RISCV/rv32zfbfmin-valid.s
    M llvm/test/MC/RISCV/rv64zhinx-invalid.s
    M llvm/test/MC/RISCV/rv64zhinxmin-invalid.s

  Log Message:
  -----------
  [RISCV][MC] Add support for experimental Zfbfmin extension

Provides MC layer support for Zfbfmin: scalar BF16 conversions.

As documented, this extension includes FLH, FSH, FMV.H.X, and FMH.X.H as
defined in Zfh/Zfhmin, but doesn't require either extension.

No Zfbfinxmin has been defined (though you would expect one in the
future, for symmetry with Zfhinxmin). See issue
https://github.com/riscv/riscv-bfloat16/issues/27.

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




More information about the All-commits mailing list