1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-31 16:02:52 +01:00
llvm-mirror/test/MC/ARM/nop-armv4-padding.s
Jim Grosbach 90387c44f4 ARM .align NOP padding uses different encoding pre-ARMv6.
Patch by Kristof Beyls and James Malloy.

llvm-svn: 137723
2011-08-16 17:06:20 +00:00

11 lines
293 B
ArmAsm

@ RUN: llvm-mc -triple armv4-apple-darwin %s -filetype=obj -o %t.obj
@ RUN: macho-dump --dump-section-data < %t.obj > %t.dump
@ RUN: FileCheck %s < %t.dump
x:
add r0, r1, r2
.align 4
add r0, r1, r2
@ CHECK: ('_section_data', '020081e0 00001a0e 00001a0e 00001a0e 020081e0')