• 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_ashr_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: sarq %cl, %rax
11 ; X64-NEXT: retq
17 ; X64-LABEL: test_ashr_i64_imm:
18 ; X64: # %bb.0:
19 ; X64-NEXT: movq %rdi, %rax
20 ; X64-NEXT: sarq $5, %rax
21 ; X64-NEXT: retq
27 ; X64-LABEL: test_ashr_i64_imm1:
28 ; X64: # %bb.0:
29 ; X64-NEXT: movq %rdi, %rax
30 ; X64-NEXT: sarq %rax
31 ; X64-NEXT: retq
37 ; X64-LABEL: test_ashr_i32:
38 ; X64: # %bb.0:
39 ; X64-NEXT: movl %edi, %eax
40 ; X64-NEXT: movl %esi, %ecx
41 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
42 ; X64-NEXT: sarl %cl, %eax
43 ; X64-NEXT: retq
49 ; X64-LABEL: test_ashr_i32_imm:
50 ; X64: # %bb.0:
51 ; X64-NEXT: movl %edi, %eax
52 ; X64-NEXT: sarl $5, %eax
53 ; X64-NEXT: retq
59 ; X64-LABEL: test_ashr_i32_imm1:
60 ; X64: # %bb.0:
61 ; X64-NEXT: movl %edi, %eax
62 ; X64-NEXT: sarl %eax
63 ; X64-NEXT: retq
69 ; X64-LABEL: test_ashr_i16:
70 ; X64: # %bb.0:
71 ; X64-NEXT: movl %edi, %eax
72 ; X64-NEXT: movl %esi, %ecx
73 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
74 ; X64-NEXT: sarw %cl, %ax
75 ; X64-NEXT: # kill: def $ax killed $ax killed $eax
76 ; X64-NEXT: retq
84 ; X64-LABEL: test_ashr_i16_imm:
85 ; X64: # %bb.0:
86 ; X64-NEXT: movl %edi, %eax
87 ; X64-NEXT: sarw $5, %ax
88 ; X64-NEXT: # kill: def $ax killed $ax killed $eax
89 ; X64-NEXT: retq
96 ; X64-LABEL: test_ashr_i16_imm1:
97 ; X64: # %bb.0:
98 ; X64-NEXT: movl %edi, %eax
99 ; X64-NEXT: sarw %ax
100 ; X64-NEXT: # kill: def $ax killed $ax killed $eax
101 ; X64-NEXT: retq
108 ; X64-LABEL: test_ashr_i8:
109 ; X64: # %bb.0:
110 ; X64-NEXT: movl %edi, %eax
111 ; X64-NEXT: movl %esi, %ecx
112 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
113 ; X64-NEXT: sarb %cl, %al
114 ; X64-NEXT: # kill: def $al killed $al killed $eax
115 ; X64-NEXT: retq
123 ; X64-LABEL: test_ashr_i8_imm:
124 ; X64: # %bb.0:
125 ; X64-NEXT: movl %edi, %eax
126 ; X64-NEXT: sarb $5, %al
127 ; X64-NEXT: # kill: def $al killed $al killed $eax
128 ; X64-NEXT: retq
135 ; X64-LABEL: test_ashr_i8_imm1:
136 ; X64: # %bb.0:
137 ; X64-NEXT: movl %edi, %eax
138 ; X64-NEXT: sarb %al
139 ; X64-NEXT: # kill: def $al killed $al killed $eax
140 ; X64-NEXT: retq
147 ; X64-LABEL: test_ashr_i1:
148 ; X64: # %bb.0:
149 ; X64-NEXT: movl %edi, %eax
150 ; X64-NEXT: movl %esi, %ecx
151 ; X64-NEXT: shlb $7, %al
152 ; X64-NEXT: sarb $7, %al
153 ; X64-NEXT: andb $1, %cl
154 ; X64-NEXT: # kill: def $cl killed $cl killed $ecx
155 ; X64-NEXT: sarb %cl, %al
156 ; X64-NEXT: # kill: def $al killed $al killed $eax
157 ; X64-NEXT: retq
165 ; X64-LABEL: test_ashr_i1_imm1:
166 ; X64: # %bb.0:
167 ; X64-NEXT: movl %edi, %eax
168 ; X64-NEXT: movb $1, %cl
169 ; X64-NEXT: shlb $7, %al
170 ; X64-NEXT: sarb $7, %al
171 ; X64-NEXT: andb $1, %cl
172 ; X64-NEXT: sarb %cl, %al
173 ; X64-NEXT: # kill: def $al killed $al killed $eax
174 ; X64-NEXT: retq