llvm-6502/lib
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
..
Analysis MemoryBuiltins: Remove posix_memalign from the list and replace it with a TODO. 2013-09-24 17:49:08 +00:00
AsmParser Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
Bitcode Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
CodeGen Added temp flag -misched-bench for staging in default changes. 2013-09-26 05:53:35 +00:00
DebugInfo Dump the normal dwarf pubtypes section as well. 2013-09-25 23:02:41 +00:00
ExecutionEngine Revert "llvm-c: Add LLVMGetPointerToFunction" 2013-09-20 07:00:36 +00:00
IR Initial support for Neon scalar instructions. 2013-09-24 02:47:27 +00:00
IRReader
Linker Implement function prefix data as an IR feature. 2013-09-16 01:08:15 +00:00
LTO Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
MC MC: Add support for treating $ as a reference to the PC 2013-09-25 10:47:21 +00:00
Object ELF: Add support for the exclude section bit for gas compat. 2013-09-15 19:53:20 +00:00
Option Fix another mistake in r190442. 2013-09-10 23:22:56 +00:00
Support Provide basic type safety for array_pod_sort comparators. 2013-09-22 14:09:50 +00:00
TableGen
Target PPC: Allow partial fills in writeNopData() 2013-09-26 09:18:48 +00:00
Transforms SLPVectorize: Put horizontal reductions feeding a store under separate flag 2013-09-25 14:02:32 +00:00
CMakeLists.txt Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
LLVMBuild.txt Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00
Makefile Move LTO support library to a component, allowing it to be tested 2013-09-24 23:52:22 +00:00