This directive forces to use an alternate register for context pointer.
For example, this code:
.cplocal $4 jal foo
expands to:
ld $25, %call16(foo)($4) jalr $25
Paths
| Differential D64743
[mips] Implement .cplocal directive ClosedPublic Authored by atanasyan on Jul 15 2019, 7:39 AM.
Details Summary This directive forces to use an alternate register for context pointer. For example, this code: .cplocal $4 jal foo expands to: ld $25, %call16(foo)($4) jalr $25
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jul 16 2019, 4:20 AM Closed by commit rL366300: [mips] Implement .cplocal directive (authored by atanasyan). · Explain WhyJul 17 2019, 1:13 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 209855 llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
llvm/lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp
llvm/lib/Target/Mips/MipsTargetStreamer.h
llvm/test/MC/Mips/cplocal-bad.s
llvm/test/MC/Mips/cplocal.s
|