• Home
  • Raw
  • Download

Lines Matching refs:X64

2 …ple=x86_64-linux-gnu -global-isel -verify-machineinstrs < %s -o - | FileCheck %s --check-prefix=X64
5 ; X64-LABEL: test_shl_i64:
6 ; X64: # %bb.0:
7 ; X64-NEXT: movq %rdi, %rax
8 ; X64-NEXT: movq %rsi, %rcx
9 ; X64-NEXT: # kill: def $cl killed $cl killed $rcx
10 ; X64-NEXT: shlq %cl, %rax
11 ; X64-NEXT: retq
17 ; X64-LABEL: test_shl_i64_imm:
18 ; X64: # %bb.0:
19 ; X64-NEXT: movq %rdi, %rax
20 ; X64-NEXT: shlq $5, %rax
21 ; X64-NEXT: retq
27 ; X64-LABEL: test_shl_i64_imm1:
28 ; X64: # %bb.0:
29 ; X64-NEXT: leaq (%rdi,%rdi), %rax
30 ; X64-NEXT: retq
36 ; X64-LABEL: test_shl_i32:
37 ; X64: # %bb.0:
38 ; X64-NEXT: movl %edi, %eax
39 ; X64-NEXT: movl %esi, %ecx
40 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
41 ; X64-NEXT: shll %cl, %eax
42 ; X64-NEXT: retq
48 ; X64-LABEL: test_shl_i32_imm:
49 ; X64: # %bb.0:
50 ; X64-NEXT: movl %edi, %eax
51 ; X64-NEXT: shll $5, %eax
52 ; X64-NEXT: retq
58 ; X64-LABEL: test_shl_i32_imm1:
59 ; X64: # %bb.0:
60 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
61 ; X64-NEXT: leal (%rdi,%rdi), %eax
62 ; X64-NEXT: retq
68 ; X64-LABEL: test_shl_i16:
69 ; X64: # %bb.0:
70 ; X64-NEXT: movl %edi, %eax
71 ; X64-NEXT: movl %esi, %ecx
72 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
73 ; X64-NEXT: shlw %cl, %ax
74 ; X64-NEXT: # kill: def $ax killed $ax killed $eax
75 ; X64-NEXT: retq
83 ; X64-LABEL: test_shl_i16_imm:
84 ; X64: # %bb.0:
85 ; X64-NEXT: movl %edi, %eax
86 ; X64-NEXT: shlw $5, %ax
87 ; X64-NEXT: # kill: def $ax killed $ax killed $eax
88 ; X64-NEXT: retq
95 ; X64-LABEL: test_shl_i16_imm1:
96 ; X64: # %bb.0:
97 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
98 ; X64-NEXT: leal (%rdi,%rdi), %eax
99 ; X64-NEXT: # kill: def $ax killed $ax killed $eax
100 ; X64-NEXT: retq
107 ; X64-LABEL: test_shl_i8:
108 ; X64: # %bb.0:
109 ; X64-NEXT: movl %edi, %eax
110 ; X64-NEXT: movl %esi, %ecx
111 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
112 ; X64-NEXT: shlb %cl, %al
113 ; X64-NEXT: # kill: def $al killed $al killed $eax
114 ; X64-NEXT: retq
122 ; X64-LABEL: test_shl_i8_imm:
123 ; X64: # %bb.0:
124 ; X64-NEXT: movl %edi, %eax
125 ; X64-NEXT: shlb $5, %al
126 ; X64-NEXT: # kill: def $al killed $al killed $eax
127 ; X64-NEXT: retq
134 ; X64-LABEL: test_shl_i8_imm1:
135 ; X64: # %bb.0:
136 ; X64-NEXT: # kill: def $edi killed $edi def $rdi
137 ; X64-NEXT: leal (%rdi,%rdi), %eax
138 ; X64-NEXT: # kill: def $al killed $al killed $eax
139 ; X64-NEXT: retq
146 ; X64-LABEL: test_shl_i1:
147 ; X64: # %bb.0:
148 ; X64-NEXT: movl %edi, %eax
149 ; X64-NEXT: movl %esi, %ecx
150 ; X64-NEXT: andb $1, %cl
151 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
152 ; X64-NEXT: shlb %cl, %al
153 ; X64-NEXT: # kill: def $al killed $al killed $eax
154 ; X64-NEXT: retq
162 ; X64-LABEL: test_shl_i1_imm1:
163 ; X64: # %bb.0:
164 ; X64-NEXT: movl %edi, %eax
165 ; X64-NEXT: movb $1, %cl
166 ; X64-NEXT: andb $1, %cl
167 ; X64-NEXT: shlb %cl, %al
168 ; X64-NEXT: # kill: def $al killed $al killed $eax
169 ; X64-NEXT: retq