llvm-6502/lib/MC
Bill Schmidt 349c2787cf This patch implements local-dynamic TLS model support for the 64-bit
PowerPC target.  This is the last of the four models, so we now have 
full TLS support.

This is mostly a straightforward extension of the general dynamic model.
I had to use an additional Chain operand to tie ADDIS_DTPREL_HA to the
register copy following ADDI_TLSLD_L; otherwise everything above the
ADDIS_DTPREL_HA appeared dead and was removed.

As before, there are new test cases to test the assembly generation, and
the relocations output during integrated assembly.  The expected code
gen sequence can be read in test/CodeGen/PowerPC/tls-ld.ll.

There are a couple of things I think can be done more efficiently in the
overall TLS code, so there will likely be a clean-up patch forthcoming;
but for now I want to be sure the functionality is in place.

Bill


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170003 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-12 19:29:35 +00:00
..
MCDisassembler Add C API for specifying CPU to the disassembler. 2012-12-07 23:53:27 +00:00
MCParser Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
CMakeLists.txt
ELFObjectWriter.cpp Make the contents of encoded sections SmallVector<char, N> instead of 2012-12-07 22:06:56 +00:00
LLVMBuild.txt
MachObjectWriter.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Makefile
MCAsmBackend.cpp
MCAsmInfo.cpp
MCAsmInfoCOFF.cpp
MCAsmInfoDarwin.cpp
MCAsmStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCAssembler.cpp Remove the RelaxAll overrule in MCAssembler::fixupNeedsRelaxation, 2012-12-11 17:16:00 +00:00
MCAtom.cpp
MCCodeEmitter.cpp
MCCodeGenInfo.cpp
MCContext.cpp fixed valgrind issues of prior commit, this change applies r169456 changes back to the tree with fixes. on darwin no valgrind issues exist in the tests that used to fail. 2012-12-06 22:12:44 +00:00
MCDisassembler.cpp
MCDwarf.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCELF.cpp Added Mapping Symbols for ARM ELF 2012-12-07 16:50:23 +00:00
MCELFObjectTargetWriter.cpp Initial TOC support for PowerPC64 object creation 2012-10-25 12:27:42 +00:00
MCELFStreamer.cpp Refactor MCInstFragment and MCDataFragment to adhere to a common interface, 2012-12-07 19:13:57 +00:00
MCExpr.cpp This patch implements local-dynamic TLS model support for the 64-bit 2012-12-12 19:29:35 +00:00
MCInst.cpp
MCInstPrinter.cpp Try to unbreak the build on hosts that don't transitively pull in a definition for int64_t. 2012-12-05 18:31:11 +00:00
MCInstrAnalysis.cpp
MCLabel.cpp
MCMachObjectTargetWriter.cpp
MCMachOStreamer.cpp Refactor MCInstFragment and MCDataFragment to adhere to a common interface, 2012-12-07 19:13:57 +00:00
MCModule.cpp
MCNullStreamer.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCObjectFileInfo.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCObjectStreamer.cpp Refactor MCInstFragment and MCDataFragment to adhere to a common interface, 2012-12-07 19:13:57 +00:00
MCObjectWriter.cpp
MCPureStreamer.cpp Refactor MCInstFragment and MCDataFragment to adhere to a common interface, 2012-12-07 19:13:57 +00:00
MCRegisterInfo.cpp
MCSection.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSectionCOFF.cpp
MCSectionELF.cpp
MCSectionMachO.cpp
MCStreamer.cpp Defer call to InitSections until after MCContext has been initialized. If 2012-12-10 22:49:11 +00:00
MCSubtargetInfo.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
MCSymbol.cpp
MCTargetAsmLexer.cpp
MCValue.cpp
MCWin64EH.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
SubtargetFeature.cpp Symbol hygiene: Make sure declarations and definitions match, make helper functions static. 2012-10-20 12:53:26 +00:00
WinCOFFObjectWriter.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
WinCOFFStreamer.cpp Refactor MCInstFragment and MCDataFragment to adhere to a common interface, 2012-12-07 19:13:57 +00:00