llvm-6502/lib/Target/PowerPC/MCTargetDesc
David Majnemer 9637da6083 PPC: Allow partial fills in writeNopData()
When asked to pad an irregular number of bytes, we should fill with
zeros.  This is consistent with the behavior specified in the AIX
Assembler Language Reference as well as other LLVM and binutils
assemblers.

N.B. There is a small deviation from binutils' PPC assembler:
when handling pads which are greater than 4 bytes but not mod 4,
binutils will not emit any NOP sequences at all and only use zeros.
This may or may not be a bug but there is no excellent rationale as to
why that behavior is important to emulate.  If that behavior is needed,
we can change writeNopData() to behave in the same way.

This fixes PR17352.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191426 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-26 09:18:48 +00:00
..
CMakeLists.txt
LLVMBuild.txt
Makefile
PPCAsmBackend.cpp PPC: Allow partial fills in writeNopData() 2013-09-26 09:18:48 +00:00
PPCELFObjectWriter.cpp
PPCFixupKinds.h
PPCMachObjectWriter.cpp Move everything depending on Object/MachOFormat.h over to Support/MachO.h. 2013-09-01 04:28:48 +00:00
PPCMCAsmInfo.cpp MC: Add support for treating $ as a reference to the PC 2013-09-25 10:47:21 +00:00
PPCMCAsmInfo.h
PPCMCCodeEmitter.cpp [PowerPC] Fix PR17155 - Ignore COPY_TO_REGCLASS during emit. 2013-09-16 17:25:12 +00:00
PPCMCExpr.cpp Fix use of uninitialized value added in r189400 (found by MemorySanitizer) 2013-08-28 08:30:47 +00:00
PPCMCExpr.h
PPCMCTargetDesc.cpp
PPCMCTargetDesc.h Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
PPCPredicates.cpp
PPCPredicates.h