mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Fixes a test by replacing .align by .p2align and setting triples explicitly.
Patch by David Sehr git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176502 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1,9 +1,12 @@
|
|||||||
# RUN: llvm-mc -filetype=obj -arch=x86 -mcpu=i686 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
|
# 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
|
# Ensure alignment directives also emit sequences of 15-byte NOPs on processors
|
||||||
# capable of using long NOPs.
|
# capable of using long NOPs.
|
||||||
inc %eax
|
inc %eax
|
||||||
.align 32
|
.p2align 5
|
||||||
inc %eax
|
inc %eax
|
||||||
# CHECK: 0: inc
|
# CHECK: 0: inc
|
||||||
# CHECK-NEXT: 1: nop
|
# CHECK-NEXT: 1: nop
|
||||||
|
Reference in New Issue
Block a user