[all-commits] [llvm/llvm-project] 10b7cd: [RISCV] Select signed and unsigned bitfield extrac...
Philipp Tomsich via All-commits
all-commits at lists.llvm.org
Fri Feb 17 12:46:48 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 10b7cd660c73f704ad8610828e80b33c241451df
https://github.com/llvm/llvm-project/commit/10b7cd660c73f704ad8610828e80b33c241451df
Author: Philipp Tomsich <philipp.tomsich at vrull.eu>
Date: 2023-02-17 (Fri, 17 Feb 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.cpp
M llvm/lib/Target/RISCV/RISCVISelDAGToDAG.h
M llvm/lib/Target/RISCV/RISCVInstrInfoXTHead.td
M llvm/test/CodeGen/RISCV/bitextract-mac.ll
M llvm/test/CodeGen/RISCV/rotl-rotr.ll
M llvm/test/CodeGen/RISCV/rv32xtheadbb.ll
M llvm/test/CodeGen/RISCV/rv64xtheadbb.ll
Log Message:
-----------
[RISCV] Select signed and unsigned bitfield extracts for XTHeadBb
The XTHeadBb extension hab both signed and unsigned bitfield
extraction instructions (TH.EXT and TH.EXTU, respectively) which have
previously only been supported for sign extension on byte, halfword,
and word-boundaries.
This adds the infrastructure to use TH.EXT and TH.EXTU for arbitrary
bitfield extraction.
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D144229
More information about the All-commits
mailing list