Generate brh, brw and brd instructions for byte-swap operations
on P10 and generating a single instruction for a 32-bit swap followed
by a 16-bit right shift.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D140414
[PowerPC] Implement P10 Byte Reverse Insructions ClosedPublic Authored by lei on Dec 20 2022, 9:10 AM.
Details Summary Generate brh, brw and brd instructions for byte-swap operations
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 20 2022, 6:47 PM Closed by commit rG7a7e9109a2d6: [PowerPC] Implement P10 Byte Reverse Insructions (authored by lei). · Explain WhyDec 21 2022, 7:16 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 484574 llvm/lib/Target/PowerPC/P10InstrResources.td
llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
llvm/lib/Target/PowerPC/PPCISelLowering.cpp
llvm/lib/Target/PowerPC/PPCInstrP10.td
llvm/test/CodeGen/PowerPC/p10-bswap.ll
llvm/test/MC/Disassembler/PowerPC/ppc64-encoding-ISA31.txt
llvm/test/MC/PowerPC/ppc64-encoding-ISA31.s
|