[all-commits] [llvm/llvm-project] 94c241: [RISCV] Select signed bitfield extract for Xqcibm ...

Sudharsan Veeravalli via All-commits all-commits at lists.llvm.org
Tue Jun 10 09:01:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94c241614f491c0cd832614bde6130e315e53467
      https://github.com/llvm/llvm-project/commit/94c241614f491c0cd832614bde6130e315e53467
  Author: Sudharsan Veeravalli <quic_svs at quicinc.com>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
    M llvm/test/CodeGen/RISCV/xqcibm-extract.ll

  Log Message:
  -----------
  [RISCV] Select signed bitfield extract for Xqcibm (#143536)

The Xqcibm Bit Manipulation extension has the `qc.ext` instruction that
can extract a subset of bits from the source register to the destination
register.

Unlike the corresponding instructions in `XTHeadbb` and `XAndesPerf`
which extract the bits between `Msb` and `Lsb`, the `qc.ext` instruction
extracts `width` bits from an offset that is determined by the `shamt`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list