[InstCombine] Signed saturation patterns
[llvm-complete.git] / test / MC / X86 / tlsdesc-32.s
blob866bda65b94ffa62ab04c5805d5b367a8b3fff84
1 # RUN: llvm-mc -triple i386-pc-linux-musl %s | FileCheck --check-prefix=PRINT %s
3 # RUN: llvm-mc -filetype=obj -triple i386-pc-linux-musl %s -o %t
4 # RUN: llvm-readelf -s %t | FileCheck --check-prefix=SYM %s
5 # RUN: llvm-objdump -dr --no-show-raw-insn %t | FileCheck %s
7 # PRINT: leal a@tlsdesc(%ebx), %eax
8 # PRINT-NEXT: calll *a@tlscall(%eax)
10 # SYM: TLS GLOBAL DEFAULT UND a
12 # CHECK: 0: leal (%ebx), %eax
13 # CHECK-NEXT: 00000002: R_386_TLS_GOTDESC a
14 # CHECK-NEXT: 6: calll *(%eax)
15 # CHECK-NEXT: 00000006: R_386_TLS_DESC_CALL a
17 leal a@tlsdesc(%ebx), %eax
18 call *a@tlscall(%eax)
19 addl %gs:0, %eax