mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
051faf7c26
Patch by David Sehr llvm-svn: 176502
16 lines
741 B
ArmAsm
16 lines
741 B
ArmAsm
# RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
|
|
# RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
|
|
# RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-apple-darwin10.0 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
|
|
# RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-apple-darwin8 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
|
|
|
|
# Ensure alignment directives also emit sequences of 15-byte NOPs on processors
|
|
# capable of using long NOPs.
|
|
inc %eax
|
|
.p2align 5
|
|
inc %eax
|
|
# CHECK: 0: inc
|
|
# CHECK-NEXT: 1: nop
|
|
# CHECK-NEXT: 10: nop
|
|
# CHECK-NEXT: 1f: nop
|
|
# CHECK-NEXT: 20: inc
|