This requires Zbkb.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/RISCV/MCTargetDesc/RISCVMatInt.cpp | ||
---|---|---|
253 | "The pack instruction packs the XLEN/2-bit lower halves of rs1 and rs2 into rd, with rs1 in the lower half and I think what you have happens to work since we can always generate a 2 instruction sequence for XLEN=32. Can you add an assert which shows we only hit this on 64 bit? |
"The pack instruction packs the XLEN/2-bit lower halves of rs1 and rs2 into rd, with rs1 in the lower half and
rs2 in the upper half."
I think what you have happens to work since we can always generate a 2 instruction sequence for XLEN=32. Can you add an assert which shows we only hit this on 64 bit?