Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / bolt / test / X86 / Inputs / jump-table-fixed-ref-pic.s
blob6407964593e2d1e78caf9786fa9cabc58a5da744
1 .globl main
2 .type main, %function
3 main:
4 .cfi_startproc
5 cmpq $0x3, %rdi
6 jae .L4
7 cmpq $0x1, %rdi
8 jne .L4
9 movslq .Ljt_pic+8(%rip), %rax
10 lea .Ljt_pic(%rip), %rdx
11 add %rdx, %rax
12 jmpq *%rax
13 .L1:
14 movq $0x1, %rax
15 jmp .L5
16 .L2:
17 movq $0x0, %rax
18 jmp .L5
19 .L3:
20 movq $0x2, %rax
21 jmp .L5
22 .L4:
23 mov $0x3, %rax
24 .L5:
25 retq
26 .cfi_endproc
28 .section .rodata
29 .align 16
30 .Ljt_pic:
31 .long .L1 - .Ljt_pic
32 .long .L2 - .Ljt_pic
33 .long .L3 - .Ljt_pic
34 .long .L4 - .Ljt_pic