Lines Matching refs:X32
1 ; RUN: llc < %s -O0 -march=x86 -mcpu=corei7 -verify-machineinstrs | FileCheck %s --check-prefix X32
6 ; X32-LABEL: atomic_fetch_add64:
9 ; X32: addl
10 ; X32: adcl
11 ; X32: lock
12 ; X32: cmpxchg8b
14 ; X32: addl
15 ; X32: adcl
16 ; X32: lock
17 ; X32: cmpxchg8b
19 ; X32: addl
20 ; X32: adcl
21 ; X32: lock
22 ; X32: cmpxchg8b
24 ; X32: addl
25 ; X32: adcl
26 ; X32: lock
27 ; X32: cmpxchg8b
29 ; X32: ret
33 ; X32-LABEL: atomic_fetch_sub64:
35 ; X32: addl $-1
36 ; X32: adcl $-1
37 ; X32: lock
38 ; X32: cmpxchg8b
40 ; X32: addl $-3
41 ; X32: adcl $-1
42 ; X32: lock
43 ; X32: cmpxchg8b
45 ; X32: addl $-5
46 ; X32: adcl $-1
47 ; X32: lock
48 ; X32: cmpxchg8b
50 ; X32: subl
51 ; X32: sbbl
52 ; X32: lock
53 ; X32: cmpxchg8b
55 ; X32: ret
59 ; X32-LABEL: atomic_fetch_and64:
61 ; X32: andl $3
62 ; X32-NOT: andl
63 ; X32: lock
64 ; X32: cmpxchg8b
66 ; X32: andl $1
67 ; X32: andl $1
68 ; X32: lock
69 ; X32: cmpxchg8b
71 ; X32: andl
72 ; X32: andl
73 ; X32: lock
74 ; X32: cmpxchg8b
76 ; X32: ret
80 ; X32-LABEL: atomic_fetch_or64:
82 ; X32: orl $3
83 ; X32-NOT: orl
84 ; X32: lock
85 ; X32: cmpxchg8b
87 ; X32: orl $1
88 ; X32: orl $1
89 ; X32: lock
90 ; X32: cmpxchg8b
92 ; X32: orl
93 ; X32: orl
94 ; X32: lock
95 ; X32: cmpxchg8b
97 ; X32: ret
101 ; X32-LABEL: atomic_fetch_xor64:
103 ; X32: xorl
104 ; X32-NOT: xorl
105 ; X32: lock
106 ; X32: cmpxchg8b
108 ; X32: xorl $1
109 ; X32: xorl $1
110 ; X32: lock
111 ; X32: cmpxchg8b
113 ; X32: xorl
114 ; X32: xorl
115 ; X32: lock
116 ; X32: cmpxchg8b
118 ; X32: ret
122 ; X32-LABEL: atomic_fetch_nand64:
124 ; X32: andl
125 ; X32: andl
126 ; X32: notl
127 ; X32: notl
128 ; X32: lock
129 ; X32: cmpxchg8b
131 ; X32: ret
135 ; X32-LABEL: atomic_fetch_max64:
137 ; X32: subl
138 ; X32: subl
139 ; X32: cmov
140 ; X32: cmov
141 ; X32: lock
142 ; X32: cmpxchg8b
144 ; X32: ret
148 ; X32-LABEL: atomic_fetch_min64:
150 ; X32: subl
151 ; X32: subl
152 ; X32: cmov
153 ; X32: cmov
154 ; X32: lock
155 ; X32: cmpxchg8b
157 ; X32: ret
161 ; X32-LABEL: atomic_fetch_umax64:
163 ; X32: subl
164 ; X32: subl
165 ; X32: cmov
166 ; X32: cmov
167 ; X32: lock
168 ; X32: cmpxchg8b
170 ; X32: ret
174 ; X32-LABEL: atomic_fetch_umin64:
176 ; X32: subl
177 ; X32: subl
178 ; X32: cmov
179 ; X32: cmov
180 ; X32: lock
181 ; X32: cmpxchg8b
183 ; X32: ret
187 ; X32-LABEL: atomic_fetch_cmpxchg64:
189 ; X32: lock
190 ; X32: cmpxchg8b
192 ; X32: ret
196 ; X32-LABEL: atomic_fetch_store64:
198 ; X32: lock
199 ; X32: cmpxchg8b
201 ; X32: ret
205 ; X32-LABEL: atomic_fetch_swap64:
207 ; X32: lock
208 ; X32: xchg8b
210 ; X32: ret