[PATCH] D101107: [AIX][Power10] Restrict prefixed instructions from crossing the 64byte boundary
Victor Huang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 22 13:57:44 PDT 2021
NeHuang created this revision.
NeHuang added reviewers: stefanp, nemanjai.
Herald added subscribers: dexonsmith, steven.zhang, kbarton, hiraditya, mgorny.
NeHuang requested review of this revision.
Herald added a project: LLVM.
This patch adds the support to restrict prefixed instruction from
crossing the 64 byte boundary:
- Add the infrastructure to register a custom XCOFF streamer
- Add a custom XCOFF streamer for PowerPC to allow us to intercept instructions as they are being emitted and align all 8 byte instructions to a 64 byte boundary if required by adding a 4 byte nop.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101107
Files:
llvm/include/llvm/Support/TargetRegistry.h
llvm/lib/Target/PowerPC/MCTargetDesc/CMakeLists.txt
llvm/lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFStreamer.cpp
llvm/lib/Target/PowerPC/MCTargetDesc/PPCXCOFFStreamer.h
llvm/test/CodeGen/PowerPC/aix-prefixed-instruction-boundary.mir
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101107.339775.patch
Type: text/x-patch
Size: 13729 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210422/60a33410/attachment-0001.bin>
More information about the llvm-commits
mailing list