[all-commits] [llvm/llvm-project] 461b55: [RISCV] Add InstAlias for Zbb Zbp and Zbs extension

Levy S. Hsu via All-commits all-commits at lists.llvm.org
Thu Apr 8 11:52:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 461b554999811ca76cb252a0ed8e14f0b8b86e1a
      https://github.com/llvm/llvm-project/commit/461b554999811ca76cb252a0ed8e14f0b8b86e1a
  Author: Levy Hsu <admin at levyhsu.com>
  Date:   2021-04-08 (Thu, 08 Apr 2021)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVInstrInfoB.td
    M llvm/test/MC/RISCV/rv32b-aliases-valid.s
    M llvm/test/MC/RISCV/rv64b-aliases-valid.s

  Log Message:
  -----------
  [RISCV] Add InstAlias for Zbb Zbp and Zbs extension

Add InstAlias that allows the last operand to be an imm for following instructions:

1. Zbb or Zbp:
    - ror
    - rorw (RV64 Only)

2. Zbs
    - best
    - bclr
    - binv
    - bext

Reviewed By: craig.topper, jrtc27

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




More information about the All-commits mailing list