Home | History | Annotate | Download | only in X86
      1 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
      2 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
      3 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=x86_64-apple-darwin10.0 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
      4 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-apple-darwin8 %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s
      5 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu -mcpu=slm %s | llvm-objdump -d -no-show-raw-insn - | FileCheck --check-prefix=LNOP7 %s
      6 # RUN: llvm-mc -filetype=obj -arch=x86 -triple=i686-pc-linux-gnu -mcpu=lakemont %s | llvm-objdump -d -no-show-raw-insn - | FileCheck --check-prefix=LNOP7 %s
      7 
      8 # Ensure alignment directives also emit sequences of 15-byte NOPs on processors
      9 # capable of using long NOPs.
     10 inc %eax
     11 .p2align 5
     12 inc %eax
     13 # CHECK: 0:  inc
     14 # CHECK-NEXT: 1:  nop
     15 # CHECK-NEXT: 10:  nop
     16 # CHECK-NEXT: 1f:  nop
     17 # CHECK-NEXT: 20:  inc
     18 
     19 # On Silvermont and Lakemont we emit only 7 byte NOPs since longer NOPs
     20 # are not profitable.
     21 # LNOP7: 0:  inc
     22 # LNOP7-NEXT: 1:  nop
     23 # LNOP7-NEXT: 8:  nop
     24 # LNOP7-NEXT: f:  nop
     25 # LNOP7-NEXT: 16:  nop
     26 # LNOP7-NEXT: 1d:  nop
     27 # LNOP7-NEXT: 20:  inc
     28