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 initial draft of PPCMachObjectWriter.cpp 2013-08-08 20:14:40 +00:00
LLVMBuild.txt
Makefile
PPCAsmBackend.cpp PPC: Allow partial fills in writeNopData() 2013-09-26 09:18:48 +00:00
PPCELFObjectWriter.cpp [PowerPC] Revert r185476 and fix up TLS variant kinds 2013-07-09 16:41:09 +00:00
PPCFixupKinds.h [PowerPC] Support @tls in the asm parser 2013-07-05 12:22:36 +00:00
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 [PowerPC] Always use "assembler dialect" 1 2013-07-08 20:20:51 +00:00
PPCMCTargetDesc.cpp [PowerPC] Support powerpc64le as a syntax-checking target. 2013-07-26 01:35:43 +00:00
PPCMCTargetDesc.h Generate compact unwind encoding from CFI directives. 2013-09-09 02:37:14 +00:00
PPCPredicates.cpp [PowerPC] Add predicted forms of branches 2013-06-24 16:52:04 +00:00
PPCPredicates.h [PowerPC] Add predicted forms of branches 2013-06-24 16:52:04 +00:00