xref: /llvm-project/bolt/test/X86/Inputs/sctc_bug4.s (revision 4c106cfdf7cf7eec861ad3983a3dd9a9e8f3a8ae)
1.text
2
3.global dummy
4.type   dummy, @function
5dummy:  xor %rax, %rax
6        retq
7        .size dummy, .-dummy
8
9.globl test_func
10.type  test_func, @function
11
12test_func:
13     	leaq	-0x4(%rsi), %rax
14     	cmpq	$0x4, %rax
15     	jbe	.LFT22210
16
17     	leaq	-0x9(%rsi), %rcx
18     	cmpq	$0x7, %rcx
19     	jbe	.LFT22211
20
21     	leaq	-0x11(%rsi), %r8
22     	cmpq	$0xf, %r8
23     	ja	.Ltmp88386
24     	jmp	.LFT22212
25
26.LFT22210:
27     	movq	(%rdi), %rax
28     	retq
29
30.Ltmp88386:
31     	cmpq	$0x20, %rsi
32     	jbe	.Ltmp88387
33     	jmp	.LFT22213
34
35.LFT22211:
36     	xorq	%r11, %rax
37     	retq
38
39.LFT22212:
40     	imulq	%rsi, %rax
41     	retq
42
43.LFT22213:
44     	jmp	dummy
45
46.Ltmp88387:
47     	movabsq	$-0x651e95c4d06fbfb1, %rax
48     	xorq	%rdx, %rax
49     	testq	%rsi, %rsi
50     	jne	.LFT22214
51
52.Ltmp88388:
53     	retq
54
55.LFT22214:
56     	imulq	%rcx, %rax
57     	jmp	.Ltmp88388
58
59    .size   test_func, .-test_func
60
61.globl  main
62.type   main, @function
63main:
64        xorl    %eax, %eax
65	    retq
66        .size   main, .-main
67