1# RUN: llvm-mc --triple=x86_64-unknown-unknown -mcpu=skylake -filetype=obj < %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s 2 3# The textual assembler *can't* default to autopadding as there's no syntax 4# to selectively disable it just yet. 5# CHECK: 0: pushq 6# CHECK-NEXT: 1: movl 7# CHECK-NEXT: 3: callq 8# CHECK-NEXT: 8: callq 9# CHECK-NEXT: d: callq 10# CHECK-NEXT: 12: callq 11# CHECK-NEXT: 17: callq 12# No NOP 13# CHECK-NEXT: 1c: testb 14# CHECK-NEXT: 1f: je 15 16 .text 17 .globl test 18 .p2align 4, 0x90 19 .type test,@function 20test: # @test 21# %bb.0: # %entry 22 pushq %rbx 23 movl %edi, %ebx 24 callq foo 25 callq foo 26 callq foo 27 callq foo 28 callq foo 29 testb $1, %bl 30 je .LBB0_2 31# %bb.1: # %taken 32 callq foo 33 popq %rbx 34 retq 35.LBB0_2: # %untaken 36 callq bar 37 popq %rbx 38 retq 39