llvm-6502/test/MC/PowerPC
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
..
deprecated-p7.s Mark PPC MFTB and DST (and friends) as deprecated 2013-09-12 14:40:06 +00:00
lit.local.cfg [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
ppc64-encoding-bookII.s [PowerPC] Support time base instructions 2013-07-08 15:20:38 +00:00
ppc64-encoding-bookIII.s Implement asm support for a few PowerPC bookIII that are needed for assembling 2013-09-12 17:50:54 +00:00
ppc64-encoding-ext.s
ppc64-encoding-fp.s PPC: Add support for fctid and fctiw 2013-09-26 04:11:24 +00:00
ppc64-encoding-vmx.s
ppc64-encoding.s [PowerPC] Support basic compare mnemonics 2013-07-08 14:49:37 +00:00
ppc64-errors.s Given target assembler parsers a chance to handle variant expressions 2013-08-27 20:23:19 +00:00
ppc64-fixup-apply.s [PowerPC] Support .llong and fix .word 2013-07-09 07:59:25 +00:00
ppc64-fixup-explicit.s Fix FileCheck --check-prefix lines. 2013-08-12 12:43:26 +00:00
ppc64-fixups.s Given target assembler parsers a chance to handle variant expressions 2013-08-27 20:23:19 +00:00
ppc64-initial-cfa.s
ppc64-operands.s MC: Add support for treating $ as a reference to the PC 2013-09-25 10:47:21 +00:00
ppc64-regs.s
ppc64-relocs-01.s
ppc64-tls-relocs-01.s
ppc-llong.s [PowerPC] Support .llong and fix .word 2013-07-09 07:59:25 +00:00
ppc-machine.s [PowerPC] Support ".machine any" 2013-07-09 10:00:34 +00:00
ppc-nop.s PPC: Allow partial fills in writeNopData() 2013-09-26 09:18:48 +00:00
ppc-word.s [PowerPC] Support .llong and fix .word 2013-07-09 07:59:25 +00:00