Lines Matching refs:MEDIUM
6 …on-model=static -code-model=medium | FileCheck %s --check-prefix=CHECK --check-prefix=MEDIUM-STATIC
9 …ation-model=pic -code-model=medium | FileCheck %s --check-prefix=CHECK --check-prefix=MEDIUM-PIC
49 ; MEDIUM-STATIC-LABEL: lea_static_data:
50 ; MEDIUM-STATIC: # %bb.0:
51 ; MEDIUM-STATIC-NEXT: movabsq $static_data, %rax
52 ; MEDIUM-STATIC-NEXT: retq
64 ; MEDIUM-PIC-LABEL: lea_static_data:
65 ; MEDIUM-PIC: # %bb.0:
66 ; MEDIUM-PIC-NEXT: leaq {{.*}}(%rip), %rcx
67 ; MEDIUM-PIC-NEXT: movabsq $static_data@GOTOFF, %rax
68 ; MEDIUM-PIC-NEXT: addq %rcx, %rax
69 ; MEDIUM-PIC-NEXT: retq
89 ; MEDIUM-STATIC-LABEL: lea_global_data:
90 ; MEDIUM-STATIC: # %bb.0:
91 ; MEDIUM-STATIC-NEXT: movabsq $global_data, %rax
92 ; MEDIUM-STATIC-NEXT: retq
104 ; MEDIUM-PIC-LABEL: lea_global_data:
105 ; MEDIUM-PIC: # %bb.0:
106 ; MEDIUM-PIC-NEXT: leaq {{.*}}(%rip), %rcx
107 ; MEDIUM-PIC-NEXT: movabsq $global_data@GOTOFF, %rax
108 ; MEDIUM-PIC-NEXT: addq %rcx, %rax
109 ; MEDIUM-PIC-NEXT: retq
129 ; MEDIUM-STATIC-LABEL: lea_extern_data:
130 ; MEDIUM-STATIC: # %bb.0:
131 ; MEDIUM-STATIC-NEXT: movq extern_data@{{.*}}(%rip), %rax
132 ; MEDIUM-STATIC-NEXT: retq
144 ; MEDIUM-PIC-LABEL: lea_extern_data:
145 ; MEDIUM-PIC: # %bb.0:
146 ; MEDIUM-PIC-NEXT: movq extern_data@{{.*}}(%rip), %rax
147 ; MEDIUM-PIC-NEXT: retq
167 ; MEDIUM-STATIC-LABEL: load_global_data:
168 ; MEDIUM-STATIC: # %bb.0:
169 ; MEDIUM-STATIC-NEXT: movabsq $global_data, %rax
170 ; MEDIUM-STATIC-NEXT: movl 8(%rax), %eax
171 ; MEDIUM-STATIC-NEXT: retq
184 ; MEDIUM-PIC-LABEL: load_global_data:
185 ; MEDIUM-PIC: # %bb.0:
186 ; MEDIUM-PIC-NEXT: leaq {{.*}}(%rip), %rax
187 ; MEDIUM-PIC-NEXT: movabsq $global_data@GOTOFF, %rcx
188 ; MEDIUM-PIC-NEXT: movl 8(%rax,%rcx), %eax
189 ; MEDIUM-PIC-NEXT: retq
211 ; MEDIUM-STATIC-LABEL: load_extern_data:
212 ; MEDIUM-STATIC: # %bb.0:
213 ; MEDIUM-STATIC-NEXT: movq extern_data@{{.*}}(%rip), %rax
214 ; MEDIUM-STATIC-NEXT: movl 8(%rax), %eax
215 ; MEDIUM-STATIC-NEXT: retq
229 ; MEDIUM-PIC-LABEL: load_extern_data:
230 ; MEDIUM-PIC: # %bb.0:
231 ; MEDIUM-PIC-NEXT: movq extern_data@{{.*}}(%rip), %rax
232 ; MEDIUM-PIC-NEXT: movl 8(%rax), %eax
233 ; MEDIUM-PIC-NEXT: retq
271 ; MEDIUM-STATIC-LABEL: lea_static_fn:
272 ; MEDIUM-STATIC: # %bb.0:
273 ; MEDIUM-STATIC-NEXT: movabsq $static_fn, %rax
274 ; MEDIUM-STATIC-NEXT: retq
286 ; MEDIUM-PIC-LABEL: lea_static_fn:
287 ; MEDIUM-PIC: # %bb.0:
288 ; MEDIUM-PIC-NEXT: movabsq $static_fn, %rax
289 ; MEDIUM-PIC-NEXT: retq
309 ; MEDIUM-STATIC-LABEL: lea_global_fn:
310 ; MEDIUM-STATIC: # %bb.0:
311 ; MEDIUM-STATIC-NEXT: movabsq $global_fn, %rax
312 ; MEDIUM-STATIC-NEXT: retq
324 ; MEDIUM-PIC-LABEL: lea_global_fn:
325 ; MEDIUM-PIC: # %bb.0:
326 ; MEDIUM-PIC-NEXT: movabsq $global_fn, %rax
327 ; MEDIUM-PIC-NEXT: retq
347 ; MEDIUM-STATIC-LABEL: lea_extern_fn:
348 ; MEDIUM-STATIC: # %bb.0:
349 ; MEDIUM-STATIC-NEXT: movq extern_fn@{{.*}}(%rip), %rax
350 ; MEDIUM-STATIC-NEXT: retq
362 ; MEDIUM-PIC-LABEL: lea_extern_fn:
363 ; MEDIUM-PIC: # %bb.0:
364 ; MEDIUM-PIC-NEXT: movq extern_fn@{{.*}}(%rip), %rax
365 ; MEDIUM-PIC-NEXT: retq
418 ; MEDIUM-STATIC-LABEL: load_constant_pool:
419 ; MEDIUM-STATIC: # %bb.0:
420 ; MEDIUM-STATIC-NEXT: movabsq ${{\.LCPI.*}}, %rax
421 ; MEDIUM-STATIC-NEXT: addss (%rax), %xmm0
422 ; MEDIUM-STATIC-NEXT: retq
435 ; MEDIUM-PIC-LABEL: load_constant_pool:
436 ; MEDIUM-PIC: # %bb.0:
437 ; MEDIUM-PIC-NEXT: leaq {{.*}}(%rip), %rax
438 ; MEDIUM-PIC-NEXT: movabsq ${{\.LCPI.*}}@GOTOFF, %rcx
439 ; MEDIUM-PIC-NEXT: addss (%rax,%rcx), %xmm0
440 ; MEDIUM-PIC-NEXT: retq