brintos

brintos / llvm-project-archived public Read only

0
0
Text · 885 B · 6c579b3 Raw
39 lines · plain
1# RUN: llvm-mc --triple=x86_64-unknown-unknown -mcpu=skylake -filetype=obj < %s | llvm-objdump -d --no-show-raw-insn - | FileCheck %s2 3# The textual assembler *can't* default to autopadding as there's no syntax4# to selectively disable it just yet.5# CHECK: 0: pushq6# CHECK-NEXT: 1: movl7# CHECK-NEXT: 3: callq8# CHECK-NEXT: 8: callq9# CHECK-NEXT: d: callq10# CHECK-NEXT: 12: callq11# CHECK-NEXT: 17: callq12# No NOP13# CHECK-NEXT: 1c: testb14# CHECK-NEXT: 1f: je15 16	.text17	.globl	test18	.p2align	4, 0x9019	.type	test,@function20test:                                   # @test21# %bb.0:                                # %entry22	pushq	%rbx23	movl	%edi, %ebx24	callq	foo25	callq	foo26	callq	foo27	callq	foo28	callq	foo29	testb	$1, %bl30	je	.LBB0_231# %bb.1:                                # %taken32	callq	foo33	popq	%rbx34	retq35.LBB0_2:                                # %untaken36	callq	bar37	popq	%rbx38	retq39