[all-commits] [llvm/llvm-project] d53248: [RISCV][MC] Fix encoding for vfwmaccbf16

Alex Bradbury via All-commits all-commits at lists.llvm.org
Fri Jun 23 06:02:10 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d5324844687d15e2da89abc244dc8f66d98b1596
      https://github.com/llvm/llvm-project/commit/d5324844687d15e2da89abc244dc8f66d98b1596
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-06-23 (Fri, 23 Jun 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoZvfbf.td
    M llvm/test/MC/RISCV/rvv/zvfbfwma.s

  Log Message:
  -----------
  [RISCV][MC] Fix encoding for vfwmaccbf16

The encoding matched the one given in the bf16 extension specification
PDF, but per https://github.com/riscv/riscv-bfloat16/issues/45 it seems
this encoding was not the one that is intended and was incorrectly
modified due to an issue in the PDF generation process. This patch
corrects the opcode to 111011 from 100011.

The correct encoding is shown in the new spec PDF
<https://github.com/riscv/riscv-bfloat16/releases/tag/20230614>.

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




More information about the All-commits mailing list