Line data Source code
1 : /* Generated automatically by the program `genrecog' from the target
2 : machine description file. */
3 :
4 : #define IN_TARGET_CODE 1
5 :
6 : #include "config.h"
7 : #include "system.h"
8 : #include "coretypes.h"
9 : #include "backend.h"
10 : #include "predict.h"
11 : #include "rtl.h"
12 : #include "memmodel.h"
13 : #include "tm_p.h"
14 : #include "emit-rtl.h"
15 : #include "insn-config.h"
16 : #include "recog.h"
17 : #include "output.h"
18 : #include "flags.h"
19 : #include "df.h"
20 : #include "resource.h"
21 : #include "diagnostic-core.h"
22 : #include "reload.h"
23 : #include "regs.h"
24 : #include "tm-constrs.h"
25 : #include "insn-recog.h"
26 :
27 :
28 : /* `recog' contains a decision tree that recognizes whether the rtx
29 : X0 is a valid instruction.
30 :
31 : recog returns -1 if the rtx is not valid. If the rtx is valid, recog
32 : returns a nonnegative number which is the insn code number for the
33 : pattern that matched. This is the same as the order in the machine
34 : description of the entry that matched. This number can be used as an
35 : index into `insn_data' and other tables.
36 : The third parameter to recog is an optional pointer to an int. If
37 : present, recog will accept a pattern if it matches except for missing
38 : CLOBBER expressions at the end. In that case, the value pointed to by
39 : the optional pointer will be set to the number of CLOBBERs that need
40 : to be added (it should be initialized to zero by the caller). If it is set nonzero, the caller should allocate a PARALLEL of the
41 : appropriate size, copy the initial entries, and call add_clobbers
42 : (found in insn-emit.cc) to fill in the CLOBBERs.
43 :
44 : The function split_insns returns 0 if the rtl could not
45 : be split or the split rtl as an INSN list if it can be.
46 :
47 : The function peephole2_insns returns 0 if the rtl could not
48 : be matched. If there was a match, the new rtl is returned in an INSN list,
49 : and LAST_INSN will point to the last recognized insn in the old sequence.
50 : */
51 :
52 :
53 :
54 :
55 : int
56 61 : pattern1 (rtx x1)
57 : {
58 61 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
59 61 : rtx x2, x3;
60 61 : int res ATTRIBUTE_UNUSED;
61 61 : x2 = XEXP (x1, 1);
62 61 : x3 = XEXP (x2, 1);
63 61 : operands[3] = x3;
64 61 : if (!const_int_operand (operands[3], E_QImode))
65 : return -1;
66 61 : return pattern0 (x1); /* [-1, 1] */
67 : }
68 :
69 : int
70 259246 : pattern6 (rtx x1, machine_mode i1)
71 : {
72 259246 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
73 259246 : int res ATTRIBUTE_UNUSED;
74 259246 : if (!register_operand (operands[0], i1)
75 237280 : || GET_MODE (x1) != i1
76 237259 : || !register_mmxmem_operand (operands[1], i1)
77 470766 : || !register_mmxmem_operand (operands[2], i1))
78 79940 : return -1;
79 : return 0;
80 : }
81 :
82 : int
83 1068 : pattern11 (rtx x1)
84 : {
85 1068 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
86 1068 : rtx x2, x3, x4;
87 1068 : int res ATTRIBUTE_UNUSED;
88 1068 : x2 = XEXP (x1, 0);
89 1068 : operands[0] = x2;
90 1068 : x3 = XEXP (x1, 1);
91 1068 : x4 = XEXP (x3, 0);
92 1068 : operands[1] = x4;
93 1068 : switch (GET_MODE (operands[0]))
94 : {
95 8 : case E_V2QImode:
96 8 : if (!memory_operand (operands[0], E_V2QImode)
97 0 : || GET_MODE (x3) != E_V2QImode
98 8 : || !register_operand (operands[1], E_V2DImode))
99 8 : return -1;
100 : return 0;
101 :
102 11 : case E_V4QImode:
103 11 : res = pattern9 (x3,
104 : E_V4QImode);
105 11 : if (res >= 0)
106 0 : return res + 1; /* [1, 2] */
107 : return -1;
108 :
109 11 : case E_V8QImode:
110 11 : res = pattern10 (x3);
111 11 : if (res >= 0)
112 0 : return res + 3; /* [3, 5] */
113 : return -1;
114 :
115 13 : case E_V4HImode:
116 13 : res = pattern9 (x3,
117 : E_V4HImode);
118 13 : if (res >= 0)
119 0 : return res + 6; /* [6, 7] */
120 : return -1;
121 :
122 35 : case E_V2HImode:
123 35 : if (!memory_operand (operands[0], E_V2HImode)
124 0 : || GET_MODE (x3) != E_V2HImode
125 35 : || !register_operand (operands[1], E_V2DImode))
126 35 : return -1;
127 : return 8;
128 :
129 6 : case E_V2SImode:
130 6 : if (!memory_operand (operands[0], E_V2SImode)
131 0 : || GET_MODE (x3) != E_V2SImode
132 6 : || !register_operand (operands[1], E_V2DImode))
133 6 : return -1;
134 : return 9;
135 :
136 : default:
137 : return -1;
138 : }
139 : }
140 :
141 : int
142 464413 : pattern19 (rtx x1)
143 : {
144 464413 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
145 464413 : rtx x2, x3;
146 464413 : int res ATTRIBUTE_UNUSED;
147 464413 : x2 = XEXP (x1, 0);
148 464413 : operands[1] = x2;
149 464413 : x3 = XEXP (x1, 1);
150 464413 : operands[2] = x3;
151 464413 : switch (GET_MODE (operands[0]))
152 : {
153 327549 : case E_DImode:
154 327549 : return pattern4 (x1,
155 327549 : E_DImode); /* [-1, 0] */
156 :
157 90130 : case E_SImode:
158 90130 : if (pattern4 (x1,
159 : E_SImode) != 0)
160 59344 : return -1;
161 : return 1;
162 :
163 : default:
164 : return -1;
165 : }
166 : }
167 :
168 : int
169 3189275 : pattern24 (rtx x1)
170 : {
171 3189275 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
172 3189275 : int res ATTRIBUTE_UNUSED;
173 3189275 : switch (GET_MODE (operands[0]))
174 : {
175 650409 : case E_SImode:
176 650409 : if (!register_operand (operands[0], E_SImode)
177 650409 : || GET_MODE (x1) != E_SImode)
178 3447 : return -1;
179 : return 0;
180 :
181 2072548 : case E_DImode:
182 2072548 : if (!register_operand (operands[0], E_DImode)
183 2072548 : || GET_MODE (x1) != E_DImode)
184 127 : return -1;
185 : return 1;
186 :
187 : default:
188 : return -1;
189 : }
190 : }
191 :
192 : int
193 1145973 : pattern26 (rtx x1, machine_mode i1)
194 : {
195 1145973 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
196 1145973 : int res ATTRIBUTE_UNUSED;
197 1145973 : if (!register_operand (operands[0], i1)
198 1134701 : || GET_MODE (x1) != i1
199 1134649 : || !vector_operand (operands[1], i1)
200 2021366 : || !vector_operand (operands[2], i1))
201 351333 : return -1;
202 : return 0;
203 : }
204 :
205 : int
206 73003 : pattern29 (rtx x1)
207 : {
208 73003 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
209 73003 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
210 73003 : rtx x10;
211 73003 : int res ATTRIBUTE_UNUSED;
212 73003 : x2 = XEXP (x1, 0);
213 73003 : operands[0] = x2;
214 73003 : x3 = XEXP (x1, 1);
215 73003 : x4 = XEXP (x3, 0);
216 73003 : switch (GET_CODE (x4))
217 : {
218 36744 : case REG:
219 36744 : case SUBREG:
220 36744 : case MEM:
221 36744 : operands[1] = x4;
222 36744 : switch (GET_MODE (operands[0]))
223 : {
224 92 : case E_V8HImode:
225 92 : if (!register_operand (operands[0], E_V8HImode)
226 86 : || GET_MODE (x3) != E_V8HImode
227 178 : || !vector_operand (operands[1], E_V8HFmode))
228 6 : return -1;
229 : return 0;
230 :
231 30 : case E_V16HImode:
232 30 : if (!register_operand (operands[0], E_V16HImode)
233 24 : || GET_MODE (x3) != E_V16HImode
234 54 : || !vector_operand (operands[1], E_V16HFmode))
235 6 : return -1;
236 : return 1;
237 :
238 30 : case E_V32HImode:
239 30 : if (!register_operand (operands[0], E_V32HImode)
240 24 : || GET_MODE (x3) != E_V32HImode
241 54 : || !vector_operand (operands[1], E_V32HFmode))
242 6 : return -1;
243 : return 2;
244 :
245 507 : case E_V8SImode:
246 507 : if (!register_operand (operands[0], E_V8SImode)
247 507 : || GET_MODE (x3) != E_V8SImode)
248 39 : return -1;
249 : return 3;
250 :
251 140 : case E_V16SImode:
252 140 : if (!register_operand (operands[0], E_V16SImode)
253 140 : || GET_MODE (x3) != E_V16SImode)
254 : return -1;
255 94 : switch (GET_MODE (operands[1]))
256 : {
257 34 : case E_V16HFmode:
258 34 : if (!vector_operand (operands[1], E_V16HFmode))
259 0 : return -1;
260 : return 4;
261 :
262 60 : case E_V16SFmode:
263 60 : if (!vector_operand (operands[1], E_V16SFmode))
264 0 : return -1;
265 : return 5;
266 :
267 : default:
268 : return -1;
269 : }
270 :
271 221 : case E_V8DImode:
272 221 : if (!register_operand (operands[0], E_V8DImode)
273 221 : || GET_MODE (x3) != E_V8DImode)
274 : return -1;
275 170 : switch (GET_MODE (operands[1]))
276 : {
277 20 : case E_V8HFmode:
278 20 : if (!vector_operand (operands[1], E_V8HFmode))
279 0 : return -1;
280 : return 6;
281 :
282 94 : case E_V8DFmode:
283 94 : if (!vector_operand (operands[1], E_V8DFmode))
284 0 : return -1;
285 : return 7;
286 :
287 56 : case E_V8SFmode:
288 56 : if (!vector_operand (operands[1], E_V8SFmode))
289 0 : return -1;
290 : return 8;
291 :
292 : default:
293 : return -1;
294 : }
295 :
296 6985 : case E_V4SImode:
297 6985 : if (!register_operand (operands[0], E_V4SImode)
298 6985 : || GET_MODE (x3) != E_V4SImode)
299 297 : return -1;
300 : return 9;
301 :
302 144 : case E_V4DImode:
303 144 : if (!register_operand (operands[0], E_V4DImode)
304 144 : || GET_MODE (x3) != E_V4DImode)
305 : return -1;
306 105 : switch (GET_MODE (operands[1]))
307 : {
308 3 : case E_V4HFmode:
309 3 : if (!memory_operand (operands[1], E_V4HFmode))
310 1 : return -1;
311 : return 10;
312 :
313 46 : case E_V4DFmode:
314 46 : if (!vector_operand (operands[1], E_V4DFmode))
315 0 : return -1;
316 : return 11;
317 :
318 56 : case E_V4SFmode:
319 56 : if (!vector_operand (operands[1], E_V4SFmode))
320 0 : return -1;
321 : return 12;
322 :
323 : default:
324 : return -1;
325 : }
326 :
327 176 : case E_V2DImode:
328 176 : if (!register_operand (operands[0], E_V2DImode)
329 176 : || GET_MODE (x3) != E_V2DImode)
330 : return -1;
331 105 : switch (GET_MODE (operands[1]))
332 : {
333 3 : case E_V2HFmode:
334 3 : if (!memory_operand (operands[1], E_V2HFmode))
335 1 : return -1;
336 : return 13;
337 :
338 97 : case E_V2DFmode:
339 97 : if (!vector_operand (operands[1], E_V2DFmode))
340 0 : return -1;
341 : return 14;
342 :
343 : default:
344 : return -1;
345 : }
346 :
347 : default:
348 : return -1;
349 : }
350 :
351 601 : case VEC_SELECT:
352 601 : x5 = XEXP (x4, 1);
353 601 : if (GET_CODE (x5) != PARALLEL)
354 : return -1;
355 601 : x6 = XEXP (x4, 0);
356 601 : operands[1] = x6;
357 601 : switch (XVECLEN (x5, 0))
358 : {
359 249 : case 4:
360 249 : x7 = XVECEXP (x5, 0, 0);
361 249 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
362 : return -1;
363 183 : x8 = XVECEXP (x5, 0, 1);
364 183 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
365 : return -1;
366 183 : x9 = XVECEXP (x5, 0, 2);
367 183 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
368 : return -1;
369 121 : x10 = XVECEXP (x5, 0, 3);
370 121 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
371 121 : || GET_MODE (x4) != E_V4HFmode
372 218 : || !register_operand (operands[1], E_V8HFmode))
373 : return -1;
374 73 : res = pattern28 (x3);
375 73 : if (res >= 0)
376 56 : return res + 15; /* [15, 16] */
377 : return -1;
378 :
379 204 : case 2:
380 204 : x7 = XVECEXP (x5, 0, 0);
381 204 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
382 : return -1;
383 204 : x8 = XVECEXP (x5, 0, 1);
384 204 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
385 204 : || !register_operand (operands[0], E_V2DImode)
386 360 : || GET_MODE (x3) != E_V2DImode)
387 : return -1;
388 156 : switch (GET_MODE (x4))
389 : {
390 24 : case E_V2HFmode:
391 24 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
392 7 : return -1;
393 : return 17;
394 :
395 132 : case E_V2SFmode:
396 132 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
397 33 : return -1;
398 : return 18;
399 :
400 : default:
401 : return -1;
402 : }
403 :
404 : default:
405 : return -1;
406 : }
407 :
408 : default:
409 : return -1;
410 : }
411 : }
412 :
413 : int
414 139295 : pattern53 (rtx x1, int *pnum_clobbers)
415 : {
416 139295 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
417 139295 : rtx x2, x3, x4, x5;
418 139295 : int res ATTRIBUTE_UNUSED;
419 139295 : if (pnum_clobbers == NULL)
420 : return -1;
421 139289 : x2 = XEXP (x1, 1);
422 139289 : x3 = XEXP (x2, 1);
423 139289 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
424 : return -1;
425 123395 : x4 = XEXP (x1, 0);
426 123395 : if (GET_CODE (x4) != REG
427 123395 : || REGNO (x4) != 17)
428 : return -1;
429 123395 : x5 = XEXP (x2, 0);
430 123395 : return pattern52 (x5); /* [-1, 3] */
431 : }
432 :
433 : int
434 3022215 : pattern57 (rtx x1)
435 : {
436 3022215 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
437 3022215 : rtx x2, x3, x4, x5, x6;
438 3022215 : int res ATTRIBUTE_UNUSED;
439 3022215 : x2 = XEXP (x1, 1);
440 3022215 : switch (GET_CODE (x2))
441 : {
442 1337710 : case ASHIFT:
443 1337710 : if (GET_MODE (x2) != E_TImode)
444 : return -1;
445 1292767 : x3 = XEXP (x2, 0);
446 1292767 : if (GET_CODE (x3) != ZERO_EXTEND
447 1292379 : || GET_MODE (x3) != E_TImode)
448 : return -1;
449 1292379 : x4 = XEXP (x2, 1);
450 1292379 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 64]
451 1292379 : || !nonimmediate_operand (operands[0], E_TImode)
452 2583517 : || GET_MODE (x1) != E_TImode)
453 : return -1;
454 1291138 : x5 = XEXP (x1, 0);
455 1291138 : if (GET_MODE (x5) != E_TImode
456 1291138 : || !nonimmediate_operand (operands[1], E_TImode)
457 2564814 : || !const_scalar_int_operand (operands[3], E_TImode))
458 : return -1;
459 1273676 : x6 = XEXP (x3, 0);
460 1273676 : operands[2] = x6;
461 1273676 : if (!nonimmediate_operand (operands[2], E_DImode))
462 182070 : return -1;
463 : return 0;
464 :
465 603302 : case ZERO_EXTEND:
466 603302 : x3 = XEXP (x2, 0);
467 603302 : operands[2] = x3;
468 603302 : switch (GET_MODE (operands[0]))
469 : {
470 587284 : case E_TImode:
471 587284 : if (!nonimmediate_operand (operands[0], E_TImode)
472 587284 : || GET_MODE (x1) != E_TImode)
473 : return -1;
474 587283 : x5 = XEXP (x1, 0);
475 587283 : if (GET_MODE (x5) != E_TImode
476 587283 : || !nonimmediate_operand (operands[1], E_TImode)
477 585474 : || !const_scalar_int_operand (operands[3], E_TImode)
478 585474 : || GET_MODE (x2) != E_TImode
479 1172757 : || !nonimmediate_operand (operands[2], E_DImode))
480 51057 : return -1;
481 : return 1;
482 :
483 13614 : case E_DImode:
484 13614 : if (!nonimmediate_operand (operands[0], E_DImode)
485 13614 : || GET_MODE (x1) != E_DImode)
486 : return -1;
487 13606 : x5 = XEXP (x1, 0);
488 13606 : if (GET_MODE (x5) != E_DImode
489 13606 : || !nonimmediate_operand (operands[1], E_DImode)
490 9672 : || !const_int_operand (operands[3], E_DImode)
491 3663 : || GET_MODE (x2) != E_DImode
492 17269 : || !nonimmediate_operand (operands[2], E_SImode))
493 10409 : return -1;
494 : return 2;
495 :
496 : default:
497 : return -1;
498 : }
499 :
500 : default:
501 : return -1;
502 : }
503 : }
504 :
505 : int
506 64813 : pattern73 (rtx x1)
507 : {
508 64813 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
509 64813 : rtx x2, x3, x4, x5;
510 64813 : int res ATTRIBUTE_UNUSED;
511 64813 : x2 = XEXP (x1, 1);
512 64813 : if (GET_CODE (x2) != ASHIFT)
513 : return -1;
514 3365 : x3 = XEXP (x1, 0);
515 3365 : x4 = XEXP (x3, 0);
516 3365 : operands[4] = x4;
517 3365 : x5 = XEXP (x3, 1);
518 3365 : operands[2] = x5;
519 3365 : return pattern64 (x1); /* [-1, 1] */
520 : }
521 :
522 : int
523 1284 : pattern77 (rtx x1)
524 : {
525 1284 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
526 1284 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
527 1284 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
528 1284 : int res ATTRIBUTE_UNUSED;
529 1284 : x2 = XEXP (x1, 1);
530 1284 : if (GET_MODE (x2) != E_V4HImode)
531 : return -1;
532 288 : x3 = XEXP (x2, 0);
533 288 : if (GET_CODE (x3) != VEC_SELECT
534 60 : || GET_MODE (x3) != E_V4HImode)
535 : return -1;
536 60 : x4 = XEXP (x3, 0);
537 60 : if (GET_CODE (x4) != VEC_CONCAT
538 60 : || GET_MODE (x4) != E_V8HImode)
539 : return -1;
540 60 : x5 = XEXP (x3, 1);
541 60 : if (GET_CODE (x5) != PARALLEL
542 60 : || XVECLEN (x5, 0) != 4)
543 : return -1;
544 60 : x6 = XVECEXP (x5, 0, 0);
545 60 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
546 : return -1;
547 60 : x7 = XVECEXP (x5, 0, 1);
548 60 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
549 : return -1;
550 60 : x8 = XVECEXP (x5, 0, 2);
551 60 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
552 : return -1;
553 60 : x9 = XVECEXP (x5, 0, 3);
554 60 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
555 : return -1;
556 60 : x10 = XEXP (x2, 1);
557 60 : if (GET_CODE (x10) != VEC_SELECT
558 60 : || GET_MODE (x10) != E_V4HImode)
559 : return -1;
560 60 : x11 = XEXP (x10, 0);
561 60 : if (GET_CODE (x11) != VEC_CONCAT
562 60 : || GET_MODE (x11) != E_V8HImode)
563 : return -1;
564 60 : x12 = XEXP (x10, 1);
565 60 : if (GET_CODE (x12) != PARALLEL
566 60 : || XVECLEN (x12, 0) != 4)
567 : return -1;
568 60 : x13 = XVECEXP (x12, 0, 0);
569 60 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
570 : return -1;
571 60 : x14 = XVECEXP (x12, 0, 1);
572 60 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
573 : return -1;
574 60 : x15 = XVECEXP (x12, 0, 2);
575 60 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
576 : return -1;
577 60 : x16 = XVECEXP (x12, 0, 3);
578 60 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
579 : return -1;
580 60 : x17 = XEXP (x1, 0);
581 60 : operands[0] = x17;
582 60 : if (!register_operand (operands[0], E_V4HImode)
583 60 : || pattern76 (x2) != 0)
584 0 : return -1;
585 : return 0;
586 : }
587 :
588 : int
589 1614 : pattern89 (rtx x1)
590 : {
591 1614 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
592 1614 : rtx x2, x3, x4, x5;
593 1614 : int res ATTRIBUTE_UNUSED;
594 1614 : x2 = XEXP (x1, 1);
595 1614 : if (GET_MODE (x2) != E_CCmode)
596 : return -1;
597 1614 : x3 = XEXP (x1, 0);
598 1614 : if (GET_CODE (x3) != REG
599 1614 : || REGNO (x3) != 17
600 3227 : || GET_MODE (x3) != E_CCmode)
601 : return -1;
602 1613 : x4 = XVECEXP (x2, 0, 0);
603 1613 : operands[0] = x4;
604 1613 : x5 = XVECEXP (x2, 0, 1);
605 1613 : operands[1] = x5;
606 1613 : return 0;
607 : }
608 :
609 : int
610 56 : pattern93 (rtx x1, machine_mode i1, machine_mode i2)
611 : {
612 56 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
613 56 : rtx x2;
614 56 : int res ATTRIBUTE_UNUSED;
615 56 : if (!register_operand (operands[0], i2)
616 56 : || GET_MODE (x1) != i2)
617 : return -1;
618 56 : x2 = XVECEXP (x1, 0, 0);
619 56 : if (GET_MODE (x2) != i1
620 56 : || !vector_operand (operands[1], i1)
621 56 : || !vector_operand (operands[2], i1)
622 112 : || !const0_operand (operands[3], i1))
623 28 : return -1;
624 : return 0;
625 : }
626 :
627 : int
628 658695 : pattern98 (rtx x1, machine_mode i1)
629 : {
630 658695 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
631 658695 : int res ATTRIBUTE_UNUSED;
632 658695 : if (!nonimmediate_operand (operands[0], i1)
633 655059 : || GET_MODE (x1) != i1
634 655059 : || !nonimmediate_operand (operands[1], i1)
635 1220081 : || !general_operand (operands[2], i1))
636 101518 : return -1;
637 : return 0;
638 : }
639 :
640 : int
641 20194603 : pattern101 (rtx x1)
642 : {
643 20194603 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
644 20194603 : rtx x2, x3;
645 20194603 : int res ATTRIBUTE_UNUSED;
646 20194603 : x2 = XEXP (x1, 0);
647 20194603 : if (GET_CODE (x2) != SUBREG
648 328454 : || maybe_ne (SUBREG_BYTE (x2), 0)
649 20506422 : || GET_MODE (x2) != E_QImode)
650 : return -1;
651 61716 : x3 = XEXP (x2, 0);
652 61716 : switch (GET_CODE (x3))
653 : {
654 13946 : case ASHIFTRT:
655 13946 : case LSHIFTRT:
656 13946 : case SIGN_EXTRACT:
657 13946 : case ZERO_EXTRACT:
658 13946 : operands[3] = x3;
659 13946 : if (GET_MODE (x1) != E_QImode)
660 0 : return -1;
661 : return 0;
662 :
663 : default:
664 : return -1;
665 : }
666 : }
667 :
668 : int
669 3362 : pattern104 (rtx x1)
670 : {
671 3362 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
672 3362 : rtx x2, x3;
673 3362 : int res ATTRIBUTE_UNUSED;
674 3362 : x2 = XEXP (x1, 0);
675 3362 : if (GET_MODE (x2) != E_QImode
676 1100 : || !register_operand (operands[0], E_HImode)
677 3541 : || GET_MODE (x1) != E_HImode)
678 : return -1;
679 179 : x3 = XEXP (x2, 0);
680 179 : operands[1] = x3;
681 179 : if (!nonimmediate_operand (operands[1], E_QImode))
682 1 : return -1;
683 : return 0;
684 : }
685 :
686 : int
687 17023 : pattern108 (rtx x1)
688 : {
689 17023 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
690 17023 : rtx x2, x3, x4, x5, x6, x7, x8;
691 17023 : int res ATTRIBUTE_UNUSED;
692 17023 : x2 = XEXP (x1, 0);
693 17023 : if (GET_CODE (x2) != ZERO_EXTRACT)
694 : return -1;
695 7 : x3 = XEXP (x2, 1);
696 7 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
697 : return -1;
698 7 : x4 = XEXP (x2, 2);
699 7 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
700 : return -1;
701 7 : x5 = XEXP (x2, 0);
702 7 : operands[0] = x5;
703 7 : if (!int248_register_operand (operands[0], E_VOIDmode))
704 : return -1;
705 7 : x6 = XEXP (x1, 1);
706 7 : x7 = XEXP (x6, 0);
707 7 : x8 = XEXP (x7, 0);
708 7 : operands[1] = x8;
709 7 : if (!int248_register_operand (operands[1], E_VOIDmode))
710 : return -1;
711 7 : switch (GET_MODE (x2))
712 : {
713 0 : case E_HImode:
714 0 : if (GET_MODE (x6) != E_HImode
715 0 : || !extract_high_operator (operands[2], E_HImode))
716 0 : return -1;
717 : return 0;
718 :
719 7 : case E_SImode:
720 7 : if (GET_MODE (x6) != E_SImode
721 7 : || !extract_high_operator (operands[2], E_SImode))
722 0 : return -1;
723 : return 1;
724 :
725 0 : case E_DImode:
726 0 : if (GET_MODE (x6) != E_DImode
727 0 : || !extract_high_operator (operands[2], E_DImode))
728 0 : return -1;
729 : return 2;
730 :
731 : default:
732 : return -1;
733 : }
734 : }
735 :
736 : int
737 168 : pattern118 (rtx x1)
738 : {
739 168 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
740 168 : rtx x2, x3, x4, x5;
741 168 : int res ATTRIBUTE_UNUSED;
742 168 : x2 = XEXP (x1, 1);
743 168 : if (GET_MODE (x2) != E_CCZmode)
744 : return -1;
745 168 : x3 = XEXP (x1, 0);
746 168 : if (GET_CODE (x3) != REG
747 168 : || REGNO (x3) != 17
748 336 : || GET_MODE (x3) != E_CCZmode)
749 : return -1;
750 168 : x4 = XVECEXP (x2, 0, 0);
751 168 : operands[0] = x4;
752 168 : x5 = XVECEXP (x2, 0, 1);
753 168 : operands[1] = x5;
754 168 : if (!memory_operand (operands[1], E_XImode))
755 : return -1;
756 168 : switch (GET_MODE (operands[0]))
757 : {
758 0 : case E_SImode:
759 0 : if (!register_operand (operands[0], E_SImode))
760 0 : return -1;
761 : return 0;
762 :
763 168 : case E_DImode:
764 168 : if (!register_operand (operands[0], E_DImode))
765 14 : return -1;
766 : return 1;
767 :
768 : default:
769 : return -1;
770 : }
771 : }
772 :
773 : int
774 691 : pattern124 ()
775 : {
776 691 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
777 691 : int res ATTRIBUTE_UNUSED;
778 691 : switch (GET_MODE (operands[1]))
779 : {
780 240 : case E_V8HImode:
781 240 : if (!register_operand (operands[1], E_V8HImode))
782 1 : return -1;
783 : return 0;
784 :
785 229 : case E_V8SImode:
786 229 : if (!register_operand (operands[1], E_V8SImode))
787 1 : return -1;
788 : return 1;
789 :
790 222 : case E_V8DImode:
791 222 : if (!register_operand (operands[1], E_V8DImode))
792 0 : return -1;
793 : return 2;
794 :
795 : default:
796 : return -1;
797 : }
798 : }
799 :
800 : int
801 2590 : pattern129 (rtx x1, machine_mode i1)
802 : {
803 2590 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
804 2590 : rtx x2;
805 2590 : int res ATTRIBUTE_UNUSED;
806 2590 : if (!nonimmediate_operand (operands[0], i1)
807 2590 : || GET_MODE (x1) != i1)
808 : return -1;
809 2590 : x2 = XEXP (x1, 0);
810 2590 : if (GET_MODE (x2) != i1
811 2590 : || !x86_64_general_operand (operands[1], i1))
812 294 : return -1;
813 : return 0;
814 : }
815 :
816 : int
817 37420 : pattern130 (rtx x1, int *pnum_clobbers)
818 : {
819 37420 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
820 37420 : rtx x2, x3, x4, x5;
821 37420 : int res ATTRIBUTE_UNUSED;
822 37420 : if (pnum_clobbers == NULL)
823 : return -1;
824 37420 : x2 = XEXP (x1, 0);
825 37420 : x3 = XEXP (x2, 1);
826 37420 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
827 : return -1;
828 28701 : x4 = XEXP (x2, 0);
829 28701 : operands[2] = x4;
830 28701 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
831 : return -1;
832 2635 : x5 = XEXP (x1, 1);
833 2635 : operands[1] = x5;
834 2635 : switch (GET_MODE (operands[0]))
835 : {
836 1726 : case E_SImode:
837 1726 : return pattern129 (x1,
838 1726 : E_SImode); /* [-1, 0] */
839 :
840 864 : case E_DImode:
841 864 : if (pattern129 (x1,
842 : E_DImode) != 0)
843 207 : return -1;
844 : return 1;
845 :
846 : default:
847 : return -1;
848 : }
849 : }
850 :
851 : int
852 102690 : pattern137 (rtx x1)
853 : {
854 102690 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
855 102690 : rtx x2, x3, x4;
856 102690 : int res ATTRIBUTE_UNUSED;
857 102690 : x2 = XEXP (x1, 0);
858 102690 : if (maybe_ne (SUBREG_BYTE (x2), 0)
859 102690 : || GET_MODE (x2) != E_HImode)
860 : return -1;
861 6940 : x3 = XEXP (x2, 0);
862 6940 : if (GET_CODE (x3) != UNSPEC
863 28 : || XVECLEN (x3, 0) != 1
864 28 : || XINT (x3, 1) != 46
865 28 : || GET_MODE (x3) != E_SImode
866 28 : || !register_operand (operands[0], E_SImode)
867 6968 : || GET_MODE (x1) != E_SImode)
868 : return -1;
869 28 : x4 = XVECEXP (x3, 0, 0);
870 28 : operands[1] = x4;
871 28 : if (!register_operand (operands[1], E_V16QImode))
872 0 : return -1;
873 : return 0;
874 : }
875 :
876 : int
877 121 : pattern140 (rtx x1, machine_mode i1)
878 : {
879 121 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
880 121 : rtx x2, x3, x4;
881 121 : int res ATTRIBUTE_UNUSED;
882 121 : if (GET_MODE (x1) != i1)
883 : return -1;
884 121 : x2 = XEXP (x1, 0);
885 121 : if (GET_MODE (x2) != i1)
886 : return -1;
887 121 : x3 = XEXP (x1, 1);
888 121 : if (GET_MODE (x3) != i1)
889 : return -1;
890 121 : x4 = XEXP (x3, 0);
891 121 : if (!register_operand (x4, i1))
892 8 : return -1;
893 : return 0;
894 : }
895 :
896 : int
897 576 : pattern143 (rtx x1)
898 : {
899 576 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
900 576 : rtx x2, x3, x4, x5, x6, x7;
901 576 : int res ATTRIBUTE_UNUSED;
902 576 : x2 = XEXP (x1, 1);
903 576 : x3 = XEXP (x2, 0);
904 576 : x4 = XEXP (x3, 1);
905 576 : x5 = XEXP (x4, 0);
906 576 : if (XWINT (x5, 0) != 64L)
907 : return -1;
908 576 : x6 = XEXP (x4, 1);
909 576 : x7 = XEXP (x6, 1);
910 576 : if (XWINT (x7, 0) != 63L
911 576 : || pattern142 (x1,
912 : E_DImode,
913 : E_TImode) != 0)
914 32 : return -1;
915 : return 0;
916 : }
917 :
918 : int
919 160 : pattern147 (rtx x1)
920 : {
921 160 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
922 160 : rtx x2;
923 160 : int res ATTRIBUTE_UNUSED;
924 160 : x2 = XEXP (x1, 1);
925 160 : operands[3] = x2;
926 160 : switch (GET_MODE (operands[0]))
927 : {
928 58 : case E_SImode:
929 58 : return pattern146 (x1,
930 58 : E_SImode); /* [-1, 0] */
931 :
932 72 : case E_DImode:
933 72 : if (pattern146 (x1,
934 : E_DImode) != 0)
935 72 : return -1;
936 : return 1;
937 :
938 : default:
939 : return -1;
940 : }
941 : }
942 :
943 : int
944 64400 : pattern151 (rtx x1, int *pnum_clobbers)
945 : {
946 64400 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
947 64400 : rtx x2, x3, x4;
948 64400 : int res ATTRIBUTE_UNUSED;
949 64400 : x2 = XEXP (x1, 0);
950 64400 : x3 = XEXP (x2, 1);
951 64400 : switch (GET_CODE (x3))
952 : {
953 257 : case AND:
954 257 : return pattern150 (x1); /* [-1, 1] */
955 :
956 63239 : case CONST_INT:
957 63239 : case CONST_WIDE_INT:
958 63239 : case CONST_POLY_INT:
959 63239 : case CONST_FIXED:
960 63239 : case CONST_DOUBLE:
961 63239 : case CONST_VECTOR:
962 63239 : case CONST:
963 63239 : case REG:
964 63239 : case SUBREG:
965 63239 : case LABEL_REF:
966 63239 : case SYMBOL_REF:
967 63239 : case HIGH:
968 63239 : x4 = XEXP (x1, 1);
969 63239 : switch (GET_CODE (x4))
970 : {
971 1165 : case SUBREG:
972 1165 : res = pattern139 (x1,
973 : ASHIFT);
974 1165 : if (res >= 0)
975 188 : return res + 2; /* [2, 3] */
976 : return -1;
977 :
978 3333 : case ASHIFT:
979 3333 : res = pattern141 (x1, pnum_clobbers);
980 3333 : if (res >= 0)
981 571 : return res + 4; /* [4, 7] */
982 : return -1;
983 :
984 : default:
985 : return -1;
986 : }
987 :
988 : default:
989 : return -1;
990 : }
991 : }
992 :
993 : int
994 1666088 : pattern156 (rtx x1, int *pnum_clobbers)
995 : {
996 1666088 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
997 1666088 : rtx x2, x3;
998 1666088 : int res ATTRIBUTE_UNUSED;
999 1666088 : x2 = XEXP (x1, 0);
1000 1666088 : operands[1] = x2;
1001 1666088 : x3 = XEXP (x1, 1);
1002 1666088 : switch (GET_CODE (x3))
1003 : {
1004 : case CONST_INT:
1005 : case CONST_WIDE_INT:
1006 : case CONST_POLY_INT:
1007 : case CONST_FIXED:
1008 : case CONST_DOUBLE:
1009 : case CONST_VECTOR:
1010 : case CONST:
1011 : case REG:
1012 : case SUBREG:
1013 : case LABEL_REF:
1014 : case SYMBOL_REF:
1015 : case HIGH:
1016 : return 0;
1017 :
1018 2533 : case AND:
1019 2533 : if (pnum_clobbers == NULL
1020 2533 : || GET_MODE (x3) != E_QImode)
1021 : return -1;
1022 2273 : res = pattern154 (x1);
1023 2273 : if (res >= 0)
1024 1146 : return res + 1; /* [1, 2] */
1025 : return -1;
1026 :
1027 16731 : case PLUS:
1028 16731 : res = pattern17 (x1, pnum_clobbers);
1029 16731 : if (res >= 0)
1030 12268 : return res + 3; /* [3, 4] */
1031 : return -1;
1032 :
1033 8228 : case MINUS:
1034 8228 : if (pnum_clobbers == NULL
1035 8228 : || GET_MODE (x3) != E_QImode)
1036 : return -1;
1037 8093 : res = pattern155 (x1);
1038 8093 : if (res >= 0)
1039 1014 : return res + 5; /* [5, 6] */
1040 : return -1;
1041 :
1042 : default:
1043 : return -1;
1044 : }
1045 : }
1046 :
1047 : int
1048 352 : pattern166 (rtx x1)
1049 : {
1050 352 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1051 352 : rtx x2, x3, x4;
1052 352 : int res ATTRIBUTE_UNUSED;
1053 352 : x2 = XEXP (x1, 0);
1054 352 : operands[1] = x2;
1055 352 : x3 = XEXP (x1, 1);
1056 352 : x4 = XVECEXP (x3, 0, 0);
1057 352 : operands[0] = x4;
1058 352 : switch (GET_MODE (operands[1]))
1059 : {
1060 172 : case E_SImode:
1061 172 : if (!memory_operand (operands[1], E_SImode)
1062 172 : || GET_MODE (x3) != E_SImode
1063 344 : || !register_operand (operands[0], E_SImode))
1064 0 : return -1;
1065 : return 0;
1066 :
1067 180 : case E_DImode:
1068 180 : if (!memory_operand (operands[1], E_DImode)
1069 179 : || GET_MODE (x3) != E_DImode
1070 359 : || !register_operand (operands[0], E_DImode))
1071 1 : return -1;
1072 : return 1;
1073 :
1074 : default:
1075 : return -1;
1076 : }
1077 : }
1078 :
1079 : int
1080 37874 : pattern172 (rtx x1)
1081 : {
1082 37874 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1083 37874 : rtx x2, x3;
1084 37874 : int res ATTRIBUTE_UNUSED;
1085 37874 : x2 = XEXP (x1, 2);
1086 37874 : if (XWINT (x2, 0) != 1L)
1087 : return -1;
1088 7905 : x3 = XEXP (x1, 1);
1089 7905 : if (!rtx_equal_p (x3, operands[1]))
1090 : return -1;
1091 1668 : switch (GET_MODE (operands[0]))
1092 : {
1093 128 : case E_V8HFmode:
1094 128 : return pattern171 (x1,
1095 128 : E_V8HFmode); /* [-1, 0] */
1096 :
1097 386 : case E_V4SFmode:
1098 386 : if (pattern171 (x1,
1099 : E_V4SFmode) != 0)
1100 44 : return -1;
1101 : return 1;
1102 :
1103 386 : case E_V2DFmode:
1104 386 : if (pattern171 (x1,
1105 : E_V2DFmode) != 0)
1106 44 : return -1;
1107 : return 2;
1108 :
1109 : default:
1110 : return -1;
1111 : }
1112 : }
1113 :
1114 : int
1115 0 : pattern178 (rtx x1)
1116 : {
1117 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1118 0 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1119 0 : rtx x10, x11;
1120 0 : int res ATTRIBUTE_UNUSED;
1121 0 : x2 = XEXP (x1, 1);
1122 0 : operands[2] = x2;
1123 0 : x3 = XEXP (x1, 2);
1124 0 : operands[3] = x3;
1125 0 : x4 = XEXP (x1, 0);
1126 0 : x5 = XEXP (x4, 0);
1127 0 : switch (GET_CODE (x5))
1128 : {
1129 0 : case REG:
1130 0 : case SUBREG:
1131 0 : case MEM:
1132 0 : operands[1] = x5;
1133 0 : switch (GET_MODE (operands[0]))
1134 : {
1135 0 : case E_V8HImode:
1136 0 : return pattern175 (x1,
1137 : E_V8HImode,
1138 : E_QImode,
1139 0 : E_V8HFmode); /* [-1, 0] */
1140 :
1141 0 : case E_V16HImode:
1142 0 : if (pattern175 (x1,
1143 : E_V16HImode,
1144 : E_HImode,
1145 : E_V16HFmode) != 0)
1146 0 : return -1;
1147 : return 1;
1148 :
1149 0 : case E_V32HImode:
1150 0 : if (pattern175 (x1,
1151 : E_V32HImode,
1152 : E_SImode,
1153 : E_V32HFmode) != 0)
1154 0 : return -1;
1155 : return 2;
1156 :
1157 0 : case E_V8SImode:
1158 0 : if (pattern176 (x1,
1159 : E_V8SImode,
1160 : E_QImode) != 0)
1161 0 : return -1;
1162 : return 3;
1163 :
1164 0 : case E_V16SImode:
1165 0 : if (!register_operand (operands[0], E_V16SImode)
1166 0 : || GET_MODE (x1) != E_V16SImode
1167 0 : || GET_MODE (x4) != E_V16SImode
1168 0 : || !nonimm_or_0_operand (operands[2], E_V16SImode)
1169 0 : || !register_operand (operands[3], E_HImode))
1170 : return -1;
1171 0 : switch (GET_MODE (operands[1]))
1172 : {
1173 0 : case E_V16HFmode:
1174 0 : if (!vector_operand (operands[1], E_V16HFmode))
1175 0 : return -1;
1176 : return 4;
1177 :
1178 0 : case E_V16SFmode:
1179 0 : if (!vector_operand (operands[1], E_V16SFmode))
1180 0 : return -1;
1181 : return 5;
1182 :
1183 : default:
1184 : return -1;
1185 : }
1186 :
1187 0 : case E_V8DImode:
1188 0 : if (!register_operand (operands[0], E_V8DImode)
1189 0 : || GET_MODE (x1) != E_V8DImode
1190 0 : || GET_MODE (x4) != E_V8DImode
1191 0 : || !nonimm_or_0_operand (operands[2], E_V8DImode)
1192 0 : || !register_operand (operands[3], E_QImode))
1193 : return -1;
1194 0 : switch (GET_MODE (operands[1]))
1195 : {
1196 0 : case E_V8HFmode:
1197 0 : if (!vector_operand (operands[1], E_V8HFmode))
1198 0 : return -1;
1199 : return 6;
1200 :
1201 0 : case E_V8DFmode:
1202 0 : if (!vector_operand (operands[1], E_V8DFmode))
1203 0 : return -1;
1204 : return 7;
1205 :
1206 0 : case E_V8SFmode:
1207 0 : if (!vector_operand (operands[1], E_V8SFmode))
1208 0 : return -1;
1209 : return 8;
1210 :
1211 : default:
1212 : return -1;
1213 : }
1214 :
1215 0 : case E_V4SImode:
1216 0 : if (pattern176 (x1,
1217 : E_V4SImode,
1218 : E_QImode) != 0)
1219 0 : return -1;
1220 : return 9;
1221 :
1222 0 : case E_V4DImode:
1223 0 : if (!register_operand (operands[0], E_V4DImode)
1224 0 : || GET_MODE (x1) != E_V4DImode
1225 0 : || GET_MODE (x4) != E_V4DImode
1226 0 : || !nonimm_or_0_operand (operands[2], E_V4DImode)
1227 0 : || !register_operand (operands[3], E_QImode))
1228 : return -1;
1229 0 : switch (GET_MODE (operands[1]))
1230 : {
1231 0 : case E_V4HFmode:
1232 0 : if (!memory_operand (operands[1], E_V4HFmode))
1233 0 : return -1;
1234 : return 10;
1235 :
1236 0 : case E_V4DFmode:
1237 0 : if (!vector_operand (operands[1], E_V4DFmode))
1238 0 : return -1;
1239 : return 11;
1240 :
1241 0 : case E_V4SFmode:
1242 0 : if (!vector_operand (operands[1], E_V4SFmode))
1243 0 : return -1;
1244 : return 12;
1245 :
1246 : default:
1247 : return -1;
1248 : }
1249 :
1250 0 : case E_V2DImode:
1251 0 : if (!register_operand (operands[0], E_V2DImode)
1252 0 : || GET_MODE (x1) != E_V2DImode
1253 0 : || GET_MODE (x4) != E_V2DImode
1254 0 : || !nonimm_or_0_operand (operands[2], E_V2DImode)
1255 0 : || !register_operand (operands[3], E_QImode))
1256 : return -1;
1257 0 : switch (GET_MODE (operands[1]))
1258 : {
1259 0 : case E_V2HFmode:
1260 0 : if (!memory_operand (operands[1], E_V2HFmode))
1261 0 : return -1;
1262 : return 13;
1263 :
1264 0 : case E_V2DFmode:
1265 0 : if (!vector_operand (operands[1], E_V2DFmode))
1266 0 : return -1;
1267 : return 14;
1268 :
1269 : default:
1270 : return -1;
1271 : }
1272 :
1273 : default:
1274 : return -1;
1275 : }
1276 :
1277 0 : case VEC_SELECT:
1278 0 : x6 = XEXP (x5, 1);
1279 0 : if (GET_CODE (x6) != PARALLEL)
1280 : return -1;
1281 0 : x7 = XEXP (x5, 0);
1282 0 : operands[1] = x7;
1283 0 : if (!register_operand (operands[3], E_QImode))
1284 : return -1;
1285 0 : switch (XVECLEN (x6, 0))
1286 : {
1287 0 : case 4:
1288 0 : x8 = XVECEXP (x6, 0, 0);
1289 0 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1290 : return -1;
1291 0 : x9 = XVECEXP (x6, 0, 1);
1292 0 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
1293 : return -1;
1294 0 : x10 = XVECEXP (x6, 0, 2);
1295 0 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1296 : return -1;
1297 0 : x11 = XVECEXP (x6, 0, 3);
1298 0 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
1299 0 : || GET_MODE (x5) != E_V4HFmode
1300 0 : || !register_operand (operands[1], E_V8HFmode))
1301 : return -1;
1302 0 : switch (GET_MODE (operands[0]))
1303 : {
1304 0 : case E_V4SImode:
1305 0 : if (pattern177 (x1,
1306 : E_V4SImode) != 0)
1307 0 : return -1;
1308 : return 15;
1309 :
1310 0 : case E_V4DImode:
1311 0 : if (pattern177 (x1,
1312 : E_V4DImode) != 0)
1313 0 : return -1;
1314 : return 16;
1315 :
1316 : default:
1317 : return -1;
1318 : }
1319 :
1320 0 : case 2:
1321 0 : x8 = XVECEXP (x6, 0, 0);
1322 0 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1323 : return -1;
1324 0 : x9 = XVECEXP (x6, 0, 1);
1325 0 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
1326 0 : || !register_operand (operands[0], E_V2DImode)
1327 0 : || GET_MODE (x1) != E_V2DImode
1328 0 : || GET_MODE (x4) != E_V2DImode
1329 0 : || !nonimm_or_0_operand (operands[2], E_V2DImode))
1330 : return -1;
1331 0 : switch (GET_MODE (x5))
1332 : {
1333 0 : case E_V2HFmode:
1334 0 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
1335 0 : return -1;
1336 : return 17;
1337 :
1338 0 : case E_V2SFmode:
1339 0 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
1340 0 : return -1;
1341 : return 18;
1342 :
1343 : default:
1344 : return -1;
1345 : }
1346 :
1347 : default:
1348 : return -1;
1349 : }
1350 :
1351 : default:
1352 : return -1;
1353 : }
1354 : }
1355 :
1356 : int
1357 21810 : pattern213 (rtx x1, machine_mode i1)
1358 : {
1359 21810 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1360 21810 : int res ATTRIBUTE_UNUSED;
1361 21810 : if (!register_operand (operands[0], i1)
1362 21311 : || GET_MODE (x1) != i1
1363 21311 : || !register_operand (operands[1], i1)
1364 20640 : || !register_operand (operands[2], i1)
1365 38808 : || !nonimmediate_operand (operands[3], i1))
1366 6165 : return -1;
1367 : return 0;
1368 : }
1369 :
1370 : int
1371 1750 : pattern217 (rtx x1)
1372 : {
1373 1750 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1374 1750 : rtx x2, x3, x4, x5, x6;
1375 1750 : int res ATTRIBUTE_UNUSED;
1376 1750 : x2 = XEXP (x1, 0);
1377 1750 : operands[0] = x2;
1378 1750 : x3 = XEXP (x1, 1);
1379 1750 : x4 = XVECEXP (x3, 0, 0);
1380 1750 : operands[1] = x4;
1381 1750 : x5 = XVECEXP (x3, 0, 1);
1382 1750 : operands[2] = x5;
1383 1750 : x6 = XVECEXP (x3, 0, 2);
1384 1750 : operands[3] = x6;
1385 1750 : switch (GET_MODE (operands[0]))
1386 : {
1387 208 : case E_V32HImode:
1388 208 : return pattern213 (x3,
1389 208 : E_V32HImode); /* [-1, 0] */
1390 :
1391 196 : case E_V16SImode:
1392 196 : if (pattern213 (x3,
1393 : E_V16SImode) != 0)
1394 32 : return -1;
1395 : return 1;
1396 :
1397 206 : case E_V8DImode:
1398 206 : if (pattern213 (x3,
1399 : E_V8DImode) != 0)
1400 42 : return -1;
1401 : return 2;
1402 :
1403 194 : case E_V16HImode:
1404 194 : if (pattern213 (x3,
1405 : E_V16HImode) != 0)
1406 28 : return -1;
1407 : return 3;
1408 :
1409 192 : case E_V8SImode:
1410 192 : if (pattern213 (x3,
1411 : E_V8SImode) != 0)
1412 28 : return -1;
1413 : return 4;
1414 :
1415 202 : case E_V4DImode:
1416 202 : if (pattern213 (x3,
1417 : E_V4DImode) != 0)
1418 38 : return -1;
1419 : return 5;
1420 :
1421 182 : case E_V8HImode:
1422 182 : if (pattern213 (x3,
1423 : E_V8HImode) != 0)
1424 20 : return -1;
1425 : return 6;
1426 :
1427 180 : case E_V4SImode:
1428 180 : if (pattern213 (x3,
1429 : E_V4SImode) != 0)
1430 20 : return -1;
1431 : return 7;
1432 :
1433 190 : case E_V2DImode:
1434 190 : if (pattern213 (x3,
1435 : E_V2DImode) != 0)
1436 30 : return -1;
1437 : return 8;
1438 :
1439 : default:
1440 : return -1;
1441 : }
1442 : }
1443 :
1444 : int
1445 1111 : pattern225 (rtx x1)
1446 : {
1447 1111 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1448 1111 : rtx x2, x3, x4;
1449 1111 : int res ATTRIBUTE_UNUSED;
1450 1111 : x2 = XEXP (x1, 0);
1451 1111 : if (GET_MODE (x2) != E_DImode)
1452 : return -1;
1453 1017 : x3 = XEXP (x1, 1);
1454 1017 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
1455 959 : || !register_operand (operands[0], E_V2DImode)
1456 1974 : || GET_MODE (x1) != E_V2DImode)
1457 : return -1;
1458 957 : x4 = XEXP (x2, 0);
1459 957 : operands[1] = x4;
1460 957 : switch (GET_MODE (operands[1]))
1461 : {
1462 41 : case E_HImode:
1463 41 : if (!nonimmediate_operand (operands[1], E_HImode))
1464 0 : return -1;
1465 : return 0;
1466 :
1467 873 : case E_SImode:
1468 873 : if (!nonimmediate_operand (operands[1], E_SImode))
1469 135 : return -1;
1470 : return 1;
1471 :
1472 : default:
1473 : return -1;
1474 : }
1475 : }
1476 :
1477 : int
1478 16 : pattern230 (rtx x1, machine_mode i1)
1479 : {
1480 16 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1481 16 : rtx x2;
1482 16 : int res ATTRIBUTE_UNUSED;
1483 16 : if (!register_operand (operands[0], i1)
1484 16 : || GET_MODE (x1) != i1)
1485 : return -1;
1486 10 : x2 = XEXP (x1, 0);
1487 10 : if (GET_MODE (x2) != i1
1488 10 : || !vector_operand (operands[1], i1)
1489 10 : || !vector_operand (operands[2], i1)
1490 10 : || !const0_operand (operands[3], i1)
1491 16 : || !vector_operand (operands[4], i1))
1492 6 : return -1;
1493 : return 0;
1494 : }
1495 :
1496 : int
1497 791 : pattern234 (rtx x1, machine_mode i1, machine_mode i2)
1498 : {
1499 791 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1500 791 : rtx x2, x3, x4, x5;
1501 791 : int res ATTRIBUTE_UNUSED;
1502 791 : if (!register_operand (operands[0], i2)
1503 791 : || GET_MODE (x1) != i2)
1504 : return -1;
1505 762 : x2 = XEXP (x1, 0);
1506 762 : if (GET_MODE (x2) != i2)
1507 : return -1;
1508 762 : x3 = XEXP (x2, 0);
1509 762 : if (GET_MODE (x3) != i1
1510 762 : || !register_operand (operands[1], i2)
1511 1454 : || !vector_operand (operands[2], i2))
1512 : return -1;
1513 692 : x4 = XEXP (x1, 1);
1514 692 : if (GET_MODE (x4) != i2)
1515 : return -1;
1516 692 : x5 = XEXP (x4, 0);
1517 692 : if (GET_MODE (x5) != i1)
1518 0 : return -1;
1519 : return 0;
1520 : }
1521 :
1522 : int
1523 492250 : pattern237 (rtx x1, rtx_code i1)
1524 : {
1525 492250 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1526 492250 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1527 492250 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
1528 492250 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
1529 492250 : int res ATTRIBUTE_UNUSED;
1530 492250 : x2 = XEXP (x1, 0);
1531 492250 : x3 = XEXP (x2, 0);
1532 492250 : if (GET_CODE (x3) != VEC_SELECT)
1533 : return -1;
1534 2478 : x4 = XEXP (x3, 1);
1535 2478 : if (GET_CODE (x4) != PARALLEL)
1536 : return -1;
1537 2478 : x5 = XEXP (x1, 1);
1538 2478 : if (GET_CODE (x5) != i1)
1539 : return -1;
1540 640 : x6 = XEXP (x5, 0);
1541 640 : if (GET_CODE (x6) != VEC_SELECT)
1542 : return -1;
1543 632 : x7 = XEXP (x6, 1);
1544 632 : if (GET_CODE (x7) != PARALLEL)
1545 : return -1;
1546 632 : x8 = XEXP (x3, 0);
1547 632 : operands[1] = x8;
1548 632 : x9 = XEXP (x6, 0);
1549 632 : if (!rtx_equal_p (x9, operands[1]))
1550 : return -1;
1551 568 : switch (XVECLEN (x4, 0))
1552 : {
1553 180 : case 8:
1554 180 : x10 = XVECEXP (x4, 0, 0);
1555 180 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1556 : return -1;
1557 180 : x11 = XVECEXP (x4, 0, 1);
1558 180 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1559 : return -1;
1560 180 : x12 = XVECEXP (x4, 0, 2);
1561 180 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1562 : return -1;
1563 180 : x13 = XVECEXP (x4, 0, 3);
1564 180 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
1565 : return -1;
1566 180 : x14 = XVECEXP (x4, 0, 4);
1567 180 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
1568 : return -1;
1569 180 : x15 = XVECEXP (x4, 0, 5);
1570 180 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
1571 : return -1;
1572 180 : x16 = XVECEXP (x4, 0, 6);
1573 180 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
1574 : return -1;
1575 180 : x17 = XVECEXP (x4, 0, 7);
1576 180 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 14]
1577 180 : || XVECLEN (x7, 0) != 8)
1578 : return -1;
1579 180 : x18 = XVECEXP (x7, 0, 0);
1580 180 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
1581 : return -1;
1582 180 : x19 = XVECEXP (x7, 0, 1);
1583 180 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
1584 : return -1;
1585 180 : x20 = XVECEXP (x7, 0, 2);
1586 180 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
1587 : return -1;
1588 180 : x21 = XVECEXP (x7, 0, 3);
1589 180 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
1590 : return -1;
1591 180 : x22 = XVECEXP (x7, 0, 4);
1592 180 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
1593 : return -1;
1594 180 : x23 = XVECEXP (x7, 0, 5);
1595 180 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
1596 : return -1;
1597 180 : x24 = XVECEXP (x7, 0, 6);
1598 180 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
1599 : return -1;
1600 180 : x25 = XVECEXP (x7, 0, 7);
1601 180 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 15]
1602 180 : || pattern236 (x1,
1603 : E_V8QImode,
1604 : E_V8HImode,
1605 : E_V16QImode) != 0)
1606 6 : return -1;
1607 : return 0;
1608 :
1609 180 : case 4:
1610 180 : x10 = XVECEXP (x4, 0, 0);
1611 180 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1612 : return -1;
1613 180 : x11 = XVECEXP (x4, 0, 1);
1614 180 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1615 : return -1;
1616 180 : x12 = XVECEXP (x4, 0, 2);
1617 180 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1618 : return -1;
1619 180 : x13 = XVECEXP (x4, 0, 3);
1620 180 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 6]
1621 180 : || XVECLEN (x7, 0) != 4)
1622 : return -1;
1623 180 : x18 = XVECEXP (x7, 0, 0);
1624 180 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
1625 : return -1;
1626 180 : x19 = XVECEXP (x7, 0, 1);
1627 180 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
1628 : return -1;
1629 180 : x20 = XVECEXP (x7, 0, 2);
1630 180 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
1631 : return -1;
1632 180 : x21 = XVECEXP (x7, 0, 3);
1633 180 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
1634 180 : || pattern236 (x1,
1635 : E_V4HImode,
1636 : E_V4SImode,
1637 : E_V8HImode) != 0)
1638 6 : return -1;
1639 : return 1;
1640 :
1641 208 : case 2:
1642 208 : x10 = XVECEXP (x4, 0, 0);
1643 208 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1644 : return -1;
1645 208 : x11 = XVECEXP (x4, 0, 1);
1646 208 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2]
1647 208 : || XVECLEN (x7, 0) != 2)
1648 : return -1;
1649 208 : x18 = XVECEXP (x7, 0, 0);
1650 208 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
1651 : return -1;
1652 208 : x19 = XVECEXP (x7, 0, 1);
1653 208 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
1654 208 : || pattern236 (x1,
1655 : E_V2SImode,
1656 : E_V2DImode,
1657 : E_V4SImode) != 0)
1658 18 : return -1;
1659 : return 2;
1660 :
1661 : default:
1662 : return -1;
1663 : }
1664 : }
1665 :
1666 : int
1667 190 : pattern246 (rtx x1)
1668 : {
1669 190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1670 190 : rtx x2, x3;
1671 190 : int res ATTRIBUTE_UNUSED;
1672 190 : x2 = XEXP (x1, 1);
1673 190 : x3 = XEXP (x2, 0);
1674 190 : operands[2] = x3;
1675 190 : if (!register_operand (operands[2], E_QImode))
1676 : return -1;
1677 184 : return pattern245 (x1); /* [-1, 3] */
1678 : }
1679 :
1680 : int
1681 30 : pattern248 (rtx x1)
1682 : {
1683 30 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1684 30 : rtx x2, x3, x4;
1685 30 : int res ATTRIBUTE_UNUSED;
1686 30 : x2 = XEXP (x1, 1);
1687 30 : x3 = XEXP (x2, 0);
1688 30 : operands[3] = x3;
1689 30 : if (!const_int_operand (operands[3], E_QImode))
1690 : return -1;
1691 17 : x4 = XEXP (x2, 1);
1692 17 : operands[2] = x4;
1693 17 : if (!nonimmediate_operand (operands[2], E_QImode))
1694 : return -1;
1695 17 : return pattern244 (x1); /* [-1, 3] */
1696 : }
1697 :
1698 : int
1699 147 : pattern252 (rtx x1)
1700 : {
1701 147 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1702 147 : rtx x2, x3, x4, x5;
1703 147 : int res ATTRIBUTE_UNUSED;
1704 147 : x2 = XVECEXP (x1, 0, 1);
1705 147 : if (XVECLEN (x2, 0) != 1
1706 147 : || XINT (x2, 1) != 109)
1707 : return -1;
1708 147 : x3 = XVECEXP (x2, 0, 0);
1709 147 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1710 : return -1;
1711 147 : x4 = XVECEXP (x1, 0, 0);
1712 147 : x5 = XEXP (x4, 1);
1713 147 : return pattern251 (x5,
1714 147 : E_V2SFmode); /* [-1, 0] */
1715 : }
1716 :
1717 : int
1718 1011 : pattern255 (rtx x1, machine_mode i1)
1719 : {
1720 1011 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1721 1011 : rtx x2;
1722 1011 : int res ATTRIBUTE_UNUSED;
1723 1011 : if (GET_MODE (x1) != i1)
1724 : return -1;
1725 1011 : x2 = XEXP (x1, 0);
1726 1011 : if (GET_MODE (x2) != i1
1727 1011 : || !nonimmediate_operand (operands[1], i1)
1728 1666 : || !general_operand (operands[2], i1))
1729 356 : return -1;
1730 : return 0;
1731 : }
1732 :
1733 : int
1734 21143 : pattern257 (rtx x1)
1735 : {
1736 21143 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1737 21143 : int res ATTRIBUTE_UNUSED;
1738 21143 : switch (GET_MODE (operands[0]))
1739 : {
1740 19 : case E_HImode:
1741 19 : if (!register_operand (operands[0], E_HImode)
1742 19 : || pattern255 (x1,
1743 : E_HImode) != 0)
1744 0 : return -1;
1745 : return 0;
1746 :
1747 4649 : case E_SImode:
1748 4649 : if (!register_operand (operands[0], E_SImode)
1749 4649 : || pattern256 (x1,
1750 : E_SImode) != 0)
1751 51 : return -1;
1752 : return 1;
1753 :
1754 16455 : case E_DImode:
1755 16455 : if (!register_operand (operands[0], E_DImode)
1756 16455 : || pattern256 (x1,
1757 : E_DImode) != 0)
1758 2050 : return -1;
1759 : return 2;
1760 :
1761 : default:
1762 : return -1;
1763 : }
1764 : }
1765 :
1766 : int
1767 1005088 : pattern263 (rtx x1)
1768 : {
1769 1005088 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1770 1005088 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1771 1005088 : rtx x10, x11;
1772 1005088 : int res ATTRIBUTE_UNUSED;
1773 1005088 : x2 = XVECEXP (x1, 0, 1);
1774 1005088 : if (GET_CODE (x2) != SET)
1775 : return -1;
1776 1004766 : x3 = XEXP (x2, 1);
1777 1004766 : if (GET_CODE (x3) != MOD)
1778 : return -1;
1779 980951 : x4 = XVECEXP (x1, 0, 0);
1780 980951 : x5 = XEXP (x4, 0);
1781 980951 : operands[0] = x5;
1782 980951 : x6 = XEXP (x4, 1);
1783 980951 : x7 = XEXP (x6, 0);
1784 980951 : operands[2] = x7;
1785 980951 : x8 = XEXP (x6, 1);
1786 980951 : operands[3] = x8;
1787 980951 : x9 = XEXP (x2, 0);
1788 980951 : operands[1] = x9;
1789 980951 : x10 = XEXP (x3, 0);
1790 980951 : if (!rtx_equal_p (x10, operands[2]))
1791 : return -1;
1792 946979 : x11 = XEXP (x3, 1);
1793 946979 : if (!rtx_equal_p (x11, operands[3]))
1794 : return -1;
1795 918716 : switch (GET_CODE (operands[2]))
1796 : {
1797 : case REG:
1798 : case SUBREG:
1799 : return 0;
1800 :
1801 35250 : case CONST_INT:
1802 35250 : return 1;
1803 :
1804 : default:
1805 : return -1;
1806 : }
1807 : }
1808 :
1809 : int
1810 811 : pattern270 (rtx x1, machine_mode i1)
1811 : {
1812 811 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1813 811 : int res ATTRIBUTE_UNUSED;
1814 811 : if (!register_operand (operands[0], i1)
1815 811 : || GET_MODE (x1) != i1
1816 811 : || !nonimmediate_operand (operands[1], i1)
1817 1622 : || !register_operand (operands[2], i1))
1818 0 : return -1;
1819 : return 0;
1820 : }
1821 :
1822 : int
1823 112910 : pattern274 (rtx x1)
1824 : {
1825 112910 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1826 112910 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1827 112910 : rtx x10, x11, x12, x13, x14, x15;
1828 112910 : int res ATTRIBUTE_UNUSED;
1829 112910 : x2 = XVECEXP (x1, 0, 0);
1830 112910 : x3 = XEXP (x2, 1);
1831 112910 : if (GET_MODE (x3) != E_CCmode)
1832 : return -1;
1833 112910 : x4 = XEXP (x3, 0);
1834 112910 : if (GET_CODE (x4) != NE)
1835 : return -1;
1836 109817 : x5 = XEXP (x4, 1);
1837 109817 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1838 : return -1;
1839 109785 : x6 = XEXP (x3, 1);
1840 109785 : if (GET_CODE (x6) != COMPARE
1841 109785 : || GET_MODE (x6) != E_CCmode)
1842 : return -1;
1843 109785 : x7 = XEXP (x6, 0);
1844 109785 : if (GET_CODE (x7) != MEM
1845 109785 : || GET_MODE (x7) != E_BLKmode)
1846 : return -1;
1847 109785 : x8 = XEXP (x6, 1);
1848 109785 : if (GET_CODE (x8) != MEM
1849 109785 : || GET_MODE (x8) != E_BLKmode)
1850 : return -1;
1851 109785 : x9 = XEXP (x3, 2);
1852 109785 : if (GET_CODE (x9) != REG
1853 76832 : || REGNO (x9) != 17
1854 186617 : || GET_MODE (x9) != E_CCmode)
1855 : return -1;
1856 76832 : x10 = XEXP (x2, 0);
1857 76832 : if (GET_CODE (x10) != REG
1858 76832 : || REGNO (x10) != 17
1859 153664 : || GET_MODE (x10) != E_CCmode)
1860 : return -1;
1861 76832 : x11 = XVECEXP (x1, 0, 1);
1862 76832 : if (GET_CODE (x11) != USE)
1863 : return -1;
1864 76832 : x12 = XVECEXP (x1, 0, 2);
1865 76832 : if (GET_CODE (x12) != CLOBBER)
1866 : return -1;
1867 76832 : x13 = XVECEXP (x1, 0, 3);
1868 76832 : if (GET_CODE (x13) != CLOBBER)
1869 : return -1;
1870 76832 : x14 = XVECEXP (x1, 0, 4);
1871 76832 : if (GET_CODE (x14) != CLOBBER)
1872 : return -1;
1873 76832 : x15 = XEXP (x4, 0);
1874 76832 : operands[6] = x15;
1875 76832 : return 0;
1876 : }
1877 :
1878 : int
1879 32597443 : pattern286 (rtx x1, machine_mode i1, unsigned int i2)
1880 : {
1881 32597443 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1882 32597443 : rtx x2;
1883 32597443 : int res ATTRIBUTE_UNUSED;
1884 32597443 : if (GET_CODE (x1) != CLOBBER)
1885 : return -1;
1886 32471190 : x2 = XEXP (x1, 0);
1887 32471190 : if (GET_CODE (x2) != REG
1888 32466260 : || REGNO (x2) != i2
1889 62278983 : || GET_MODE (x2) != i1)
1890 2681675 : return -1;
1891 : return 0;
1892 : }
1893 :
1894 : int
1895 353433 : pattern289 (rtx x1)
1896 : {
1897 353433 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1898 353433 : rtx x2, x3, x4, x5, x6, x7, x8;
1899 353433 : int res ATTRIBUTE_UNUSED;
1900 353433 : x2 = XVECEXP (x1, 0, 1);
1901 353433 : if (GET_CODE (x2) != CLOBBER)
1902 : return -1;
1903 352289 : x3 = XEXP (x2, 0);
1904 352289 : if (GET_CODE (x3) != REG
1905 352289 : || REGNO (x3) != 17
1906 704578 : || GET_MODE (x3) != E_CCmode)
1907 : return -1;
1908 352289 : x4 = XVECEXP (x1, 0, 0);
1909 352289 : x5 = XEXP (x4, 0);
1910 352289 : operands[0] = x5;
1911 352289 : x6 = XEXP (x4, 1);
1912 352289 : x7 = XEXP (x6, 0);
1913 352289 : operands[1] = x7;
1914 352289 : x8 = XEXP (x6, 1);
1915 352289 : operands[2] = x8;
1916 352289 : if (!nonmemory_operand (operands[2], E_QImode))
1917 : return -1;
1918 352289 : return pattern288 (x6); /* [-1, 1] */
1919 : }
1920 :
1921 : int
1922 139 : pattern295 (rtx x1)
1923 : {
1924 139 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1925 139 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1926 139 : rtx x10;
1927 139 : int res ATTRIBUTE_UNUSED;
1928 139 : x2 = XEXP (x1, 0);
1929 139 : if (GET_CODE (x2) != ZERO_EXTRACT)
1930 : return -1;
1931 139 : x3 = XEXP (x2, 1);
1932 139 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
1933 : return -1;
1934 139 : x4 = XEXP (x2, 2);
1935 139 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
1936 : return -1;
1937 139 : x5 = XEXP (x2, 0);
1938 139 : operands[0] = x5;
1939 139 : if (!int248_register_operand (operands[0], E_VOIDmode))
1940 : return -1;
1941 139 : x6 = XEXP (x1, 1);
1942 139 : x7 = XEXP (x6, 0);
1943 139 : x8 = XEXP (x7, 0);
1944 139 : x9 = XEXP (x8, 0);
1945 139 : x10 = XEXP (x9, 0);
1946 139 : operands[1] = x10;
1947 139 : if (!int248_register_operand (operands[1], E_VOIDmode))
1948 28 : return -1;
1949 : return 0;
1950 : }
1951 :
1952 : int
1953 775 : pattern304 (rtx x1)
1954 : {
1955 775 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1956 775 : rtx x2, x3, x4;
1957 775 : int res ATTRIBUTE_UNUSED;
1958 775 : x2 = XEXP (x1, 1);
1959 775 : x3 = XEXP (x2, 0);
1960 775 : x4 = XEXP (x3, 1);
1961 775 : operands[3] = x4;
1962 775 : if (!const_int_operand (operands[3], E_VOIDmode))
1963 : return -1;
1964 774 : return pattern0 (x1); /* [-1, 1] */
1965 : }
1966 :
1967 : int
1968 27484 : pattern309 (rtx x1, machine_mode i1, machine_mode i2)
1969 : {
1970 27484 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1971 27484 : rtx x2;
1972 27484 : int res ATTRIBUTE_UNUSED;
1973 27484 : if (!register_operand (operands[0], i1)
1974 27484 : || GET_MODE (x1) != i1)
1975 : return -1;
1976 26164 : x2 = XEXP (x1, 0);
1977 26164 : if (GET_MODE (x2) != i2
1978 26164 : || !register_operand (operands[1], i1)
1979 50493 : || !register_operand (operands[2], i1))
1980 3693 : return -1;
1981 : return 0;
1982 : }
1983 :
1984 : int
1985 0 : pattern313 (rtx x1, machine_mode i1, machine_mode i2, int i3)
1986 : {
1987 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1988 0 : rtx x2, x3, x4, x5, x6;
1989 0 : int res ATTRIBUTE_UNUSED;
1990 0 : x2 = XEXP (x1, 1);
1991 0 : x3 = XVECEXP (x2, 0, 0);
1992 0 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1993 : return -1;
1994 0 : x4 = XVECEXP (x2, 0, 1);
1995 0 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i3]
1996 0 : || !register_operand (operands[0], i2)
1997 0 : || GET_MODE (x1) != i2)
1998 : return -1;
1999 0 : x5 = XEXP (x1, 0);
2000 0 : x6 = XEXP (x5, 0);
2001 0 : operands[1] = x6;
2002 0 : if (!nonimmediate_operand (operands[1], i1))
2003 0 : return -1;
2004 : return 0;
2005 : }
2006 :
2007 : int
2008 59 : pattern317 (rtx x1, int *pnum_clobbers)
2009 : {
2010 59 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2011 59 : rtx x2, x3, x4, x5, x6;
2012 59 : int res ATTRIBUTE_UNUSED;
2013 59 : if (pnum_clobbers == NULL)
2014 : return -1;
2015 53 : x2 = XEXP (x1, 0);
2016 53 : x3 = XEXP (x2, 0);
2017 53 : operands[2] = x3;
2018 53 : x4 = XEXP (x3, 0);
2019 53 : if (GET_CODE (x4) != REG
2020 53 : || REGNO (x4) != 17)
2021 : return -1;
2022 33 : x5 = XEXP (x3, 1);
2023 33 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2024 : return -1;
2025 33 : x6 = XEXP (x2, 1);
2026 33 : operands[1] = x6;
2027 33 : return pattern316 (x1); /* [-1, 4] */
2028 : }
2029 :
2030 : int
2031 12120 : pattern320 (rtx x1, int *pnum_clobbers)
2032 : {
2033 12120 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2034 12120 : rtx x2, x3;
2035 12120 : int res ATTRIBUTE_UNUSED;
2036 12120 : x2 = XEXP (x1, 0);
2037 12120 : x3 = XEXP (x2, 1);
2038 12120 : operands[2] = x3;
2039 12120 : if (!nonmemory_operand (operands[2], E_QImode))
2040 : return -1;
2041 11892 : return pattern319 (x1, pnum_clobbers); /* [-1, 4] */
2042 : }
2043 :
2044 : int
2045 27620 : pattern324 (rtx x1, machine_mode i1)
2046 : {
2047 27620 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2048 27620 : rtx x2, x3, x4, x5;
2049 27620 : int res ATTRIBUTE_UNUSED;
2050 27620 : x2 = XEXP (x1, 0);
2051 27620 : if (GET_MODE (x2) != i1
2052 12066 : || !register_operand (operands[0], i1)
2053 39649 : || GET_MODE (x1) != i1)
2054 : return -1;
2055 12029 : x3 = XEXP (x2, 0);
2056 12029 : operands[1] = x3;
2057 12029 : if (!nonimmediate_operand (operands[1], i1))
2058 : return -1;
2059 12016 : x4 = XEXP (x2, 1);
2060 12016 : operands[2] = x4;
2061 12016 : if (!const_int_operand (operands[2], E_QImode))
2062 : return -1;
2063 11813 : x5 = XEXP (x1, 1);
2064 11813 : operands[3] = x5;
2065 11813 : if (!const_int_operand (operands[3], E_QImode))
2066 0 : return -1;
2067 : return 0;
2068 : }
2069 :
2070 : int
2071 734 : pattern330 (rtx x1)
2072 : {
2073 734 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2074 734 : rtx x2, x3, x4;
2075 734 : int res ATTRIBUTE_UNUSED;
2076 734 : if (GET_MODE (x1) != E_SImode)
2077 : return -1;
2078 734 : x2 = XVECEXP (x1, 0, 0);
2079 734 : if (!ix86_comparison_operator (x2, E_QImode))
2080 : return -1;
2081 650 : operands[1] = x2;
2082 650 : x3 = XEXP (x2, 0);
2083 650 : if (GET_CODE (x3) != REG
2084 650 : || REGNO (x3) != 17)
2085 : return -1;
2086 650 : x4 = XEXP (x2, 1);
2087 650 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2088 0 : return -1;
2089 : return 0;
2090 : }
2091 :
2092 : int
2093 4601 : pattern333 (rtx x1)
2094 : {
2095 4601 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2096 4601 : int res ATTRIBUTE_UNUSED;
2097 4601 : switch (GET_MODE (operands[0]))
2098 : {
2099 1121 : case E_DImode:
2100 1121 : return pattern203 (x1,
2101 : E_DImode,
2102 1121 : E_V64QImode); /* [-1, 0] */
2103 :
2104 2269 : case E_SImode:
2105 2269 : if (!register_operand (operands[0], E_SImode)
2106 2269 : || GET_MODE (x1) != E_SImode)
2107 : return -1;
2108 2233 : switch (GET_MODE (operands[1]))
2109 : {
2110 1007 : case E_V32QImode:
2111 1007 : if (!register_operand (operands[1], E_V32QImode)
2112 1007 : || !nonimmediate_operand (operands[2], E_V32QImode))
2113 89 : return -1;
2114 : return 1;
2115 :
2116 1226 : case E_V32HImode:
2117 1226 : if (!register_operand (operands[1], E_V32HImode)
2118 1226 : || !nonimmediate_operand (operands[2], E_V32HImode))
2119 133 : return -1;
2120 : return 2;
2121 :
2122 : default:
2123 : return -1;
2124 : }
2125 :
2126 : default:
2127 : return -1;
2128 : }
2129 : }
2130 :
2131 : int
2132 1194 : pattern340 (rtx x1)
2133 : {
2134 1194 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2135 1194 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2136 1194 : int res ATTRIBUTE_UNUSED;
2137 1194 : x2 = XEXP (x1, 2);
2138 1194 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
2139 : return -1;
2140 1170 : x3 = XEXP (x1, 0);
2141 1170 : x4 = XEXP (x3, 0);
2142 1170 : x5 = XEXP (x4, 0);
2143 1170 : operands[1] = x5;
2144 1170 : x6 = XEXP (x4, 1);
2145 1170 : operands[2] = x6;
2146 1170 : x7 = XEXP (x3, 1);
2147 1170 : operands[3] = x7;
2148 1170 : x8 = XEXP (x3, 2);
2149 1170 : operands[4] = x8;
2150 1170 : if (!register_operand (operands[4], E_QImode))
2151 : return -1;
2152 1134 : x9 = XEXP (x1, 1);
2153 1134 : if (!rtx_equal_p (x9, operands[1]))
2154 : return -1;
2155 1134 : switch (GET_MODE (operands[0]))
2156 : {
2157 698 : case E_V8HFmode:
2158 698 : return pattern339 (x1,
2159 698 : E_V8HFmode); /* [-1, 0] */
2160 :
2161 218 : case E_V4SFmode:
2162 218 : if (pattern339 (x1,
2163 : E_V4SFmode) != 0)
2164 16 : return -1;
2165 : return 1;
2166 :
2167 218 : case E_V2DFmode:
2168 218 : if (pattern339 (x1,
2169 : E_V2DFmode) != 0)
2170 16 : return -1;
2171 : return 2;
2172 :
2173 : default:
2174 : return -1;
2175 : }
2176 : }
2177 :
2178 : int
2179 1510 : pattern348 (rtx x1, rtx_code i1)
2180 : {
2181 1510 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2182 1510 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2183 1510 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
2184 1510 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
2185 1510 : rtx x26, x27, x28;
2186 1510 : int res ATTRIBUTE_UNUSED;
2187 1510 : x2 = XEXP (x1, 0);
2188 1510 : x3 = XEXP (x2, 0);
2189 1510 : x4 = XEXP (x3, 0);
2190 1510 : if (GET_CODE (x4) != VEC_SELECT)
2191 : return -1;
2192 1510 : x5 = XEXP (x4, 1);
2193 1510 : if (GET_CODE (x5) != PARALLEL)
2194 : return -1;
2195 1510 : x6 = XEXP (x2, 1);
2196 1510 : if (GET_CODE (x6) != i1)
2197 : return -1;
2198 1422 : x7 = XEXP (x6, 0);
2199 1422 : if (GET_CODE (x7) != VEC_SELECT)
2200 : return -1;
2201 1422 : x8 = XEXP (x7, 1);
2202 1422 : if (GET_CODE (x8) != PARALLEL)
2203 : return -1;
2204 1422 : x9 = XEXP (x4, 0);
2205 1422 : operands[1] = x9;
2206 1422 : x10 = XEXP (x7, 0);
2207 1422 : operands[2] = x10;
2208 1422 : x11 = XEXP (x1, 1);
2209 1422 : operands[3] = x11;
2210 1422 : x12 = XEXP (x1, 2);
2211 1422 : operands[4] = x12;
2212 1422 : if (!register_operand (operands[4], E_QImode))
2213 : return -1;
2214 1318 : switch (XVECLEN (x5, 0))
2215 : {
2216 492 : case 8:
2217 492 : x13 = XVECEXP (x5, 0, 0);
2218 492 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2219 : return -1;
2220 492 : x14 = XVECEXP (x5, 0, 1);
2221 492 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2222 : return -1;
2223 492 : x15 = XVECEXP (x5, 0, 2);
2224 492 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
2225 : return -1;
2226 492 : x16 = XVECEXP (x5, 0, 3);
2227 492 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
2228 : return -1;
2229 492 : x17 = XVECEXP (x5, 0, 4);
2230 492 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
2231 : return -1;
2232 492 : x18 = XVECEXP (x5, 0, 5);
2233 492 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
2234 : return -1;
2235 492 : x19 = XVECEXP (x5, 0, 6);
2236 492 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
2237 : return -1;
2238 492 : x20 = XVECEXP (x5, 0, 7);
2239 492 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 14]
2240 492 : || XVECLEN (x8, 0) != 8)
2241 : return -1;
2242 492 : x21 = XVECEXP (x8, 0, 0);
2243 492 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2244 : return -1;
2245 492 : x22 = XVECEXP (x8, 0, 1);
2246 492 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2247 : return -1;
2248 492 : x23 = XVECEXP (x8, 0, 2);
2249 492 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
2250 : return -1;
2251 492 : x24 = XVECEXP (x8, 0, 3);
2252 492 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
2253 : return -1;
2254 492 : x25 = XVECEXP (x8, 0, 4);
2255 492 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
2256 : return -1;
2257 492 : x26 = XVECEXP (x8, 0, 5);
2258 492 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
2259 : return -1;
2260 492 : x27 = XVECEXP (x8, 0, 6);
2261 492 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
2262 : return -1;
2263 492 : x28 = XVECEXP (x8, 0, 7);
2264 492 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 14]
2265 492 : || pattern347 (x1,
2266 : E_V8DImode,
2267 : E_V16SImode,
2268 : E_V8SImode) != 0)
2269 68 : return -1;
2270 : return 0;
2271 :
2272 450 : case 4:
2273 450 : x13 = XVECEXP (x5, 0, 0);
2274 450 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2275 : return -1;
2276 450 : x14 = XVECEXP (x5, 0, 1);
2277 450 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2278 : return -1;
2279 450 : x15 = XVECEXP (x5, 0, 2);
2280 450 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
2281 : return -1;
2282 450 : x16 = XVECEXP (x5, 0, 3);
2283 450 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 6]
2284 450 : || XVECLEN (x8, 0) != 4)
2285 : return -1;
2286 450 : x21 = XVECEXP (x8, 0, 0);
2287 450 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2288 : return -1;
2289 450 : x22 = XVECEXP (x8, 0, 1);
2290 450 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2291 : return -1;
2292 450 : x23 = XVECEXP (x8, 0, 2);
2293 450 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
2294 : return -1;
2295 450 : x24 = XVECEXP (x8, 0, 3);
2296 450 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 6]
2297 450 : || pattern347 (x1,
2298 : E_V4DImode,
2299 : E_V8SImode,
2300 : E_V4SImode) != 0)
2301 68 : return -1;
2302 : return 1;
2303 :
2304 376 : case 2:
2305 376 : x13 = XVECEXP (x5, 0, 0);
2306 376 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2307 : return -1;
2308 376 : x14 = XVECEXP (x5, 0, 1);
2309 376 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 2]
2310 376 : || XVECLEN (x8, 0) != 2)
2311 : return -1;
2312 376 : x21 = XVECEXP (x8, 0, 0);
2313 376 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2314 : return -1;
2315 376 : x22 = XVECEXP (x8, 0, 1);
2316 376 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 2]
2317 376 : || !register_operand (operands[0], E_V2DImode)
2318 364 : || GET_MODE (x1) != E_V2DImode
2319 364 : || GET_MODE (x2) != E_V2DImode
2320 364 : || GET_MODE (x3) != E_V2DImode
2321 364 : || GET_MODE (x4) != E_V2SImode
2322 364 : || !vector_operand (operands[1], E_V4SImode)
2323 364 : || GET_MODE (x6) != E_V2DImode
2324 364 : || GET_MODE (x7) != E_V2SImode
2325 364 : || !vector_operand (operands[2], E_V4SImode)
2326 740 : || !nonimm_or_0_operand (operands[3], E_V2DImode))
2327 14 : return -1;
2328 : return 2;
2329 :
2330 : default:
2331 : return -1;
2332 : }
2333 : }
2334 :
2335 : int
2336 21817 : pattern366 (rtx x1)
2337 : {
2338 21817 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2339 21817 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2340 21817 : int res ATTRIBUTE_UNUSED;
2341 21817 : x2 = XEXP (x1, 0);
2342 21817 : x3 = XEXP (x2, 0);
2343 21817 : if (GET_CODE (x3) != VEC_SELECT)
2344 : return -1;
2345 8096 : x4 = XEXP (x3, 1);
2346 8096 : if (GET_CODE (x4) != PARALLEL)
2347 : return -1;
2348 8096 : x5 = XEXP (x1, 1);
2349 8096 : if (GET_CODE (x5) != SIGN_EXTEND)
2350 : return -1;
2351 7938 : x6 = XEXP (x5, 0);
2352 7938 : if (GET_CODE (x6) != VEC_SELECT)
2353 : return -1;
2354 7938 : x7 = XEXP (x6, 1);
2355 7938 : if (GET_CODE (x7) != PARALLEL)
2356 : return -1;
2357 7938 : x8 = XEXP (x3, 0);
2358 7938 : operands[1] = x8;
2359 7938 : x9 = XEXP (x6, 0);
2360 7938 : operands[2] = x9;
2361 7938 : return 0;
2362 : }
2363 :
2364 : int
2365 699645 : pattern368 (rtx x1)
2366 : {
2367 699645 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2368 699645 : rtx x2, x3, x4, x5;
2369 699645 : int res ATTRIBUTE_UNUSED;
2370 699645 : x2 = XEXP (x1, 0);
2371 699645 : x3 = XEXP (x2, 0);
2372 699645 : operands[1] = x3;
2373 699645 : x4 = XEXP (x2, 1);
2374 699645 : operands[2] = x4;
2375 699645 : x5 = XEXP (x1, 1);
2376 699645 : operands[3] = x5;
2377 699645 : switch (GET_MODE (operands[0]))
2378 : {
2379 6130 : case E_V8HImode:
2380 6130 : return pattern367 (x1,
2381 6130 : E_V8HImode); /* [-1, 0] */
2382 :
2383 4270 : case E_V4SImode:
2384 4270 : if (pattern367 (x1,
2385 : E_V4SImode) != 0)
2386 664 : return -1;
2387 : return 1;
2388 :
2389 : default:
2390 : return -1;
2391 : }
2392 : }
2393 :
2394 : int
2395 398 : pattern370 (rtx x1, machine_mode i1, machine_mode i2)
2396 : {
2397 398 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2398 398 : rtx x2, x3, x4, x5;
2399 398 : int res ATTRIBUTE_UNUSED;
2400 398 : if (GET_MODE (x1) != i2)
2401 : return -1;
2402 398 : x2 = XEXP (x1, 0);
2403 398 : if (GET_MODE (x2) != i2)
2404 : return -1;
2405 398 : x3 = XEXP (x2, 0);
2406 398 : if (GET_MODE (x3) != i1)
2407 : return -1;
2408 398 : x4 = XEXP (x1, 1);
2409 398 : if (GET_MODE (x4) != i2)
2410 : return -1;
2411 398 : x5 = XEXP (x4, 0);
2412 398 : if (GET_MODE (x5) != i1)
2413 0 : return -1;
2414 : return 0;
2415 : }
2416 :
2417 : int
2418 32241127 : pattern373 (rtx x1)
2419 : {
2420 32241127 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2421 32241127 : rtx x2, x3, x4, x5;
2422 32241127 : int res ATTRIBUTE_UNUSED;
2423 32241127 : x2 = XVECEXP (x1, 0, 1);
2424 32241127 : if (GET_CODE (x2) != CLOBBER)
2425 : return -1;
2426 31188827 : x3 = XEXP (x2, 0);
2427 31188827 : if (GET_CODE (x3) != REG
2428 31183935 : || REGNO (x3) != 17
2429 59666150 : || GET_MODE (x3) != E_CCmode)
2430 : return -1;
2431 28465039 : x4 = XVECEXP (x1, 0, 0);
2432 28465039 : x5 = XEXP (x4, 0);
2433 28465039 : operands[0] = x5;
2434 28465039 : return 0;
2435 : }
2436 :
2437 : int
2438 603 : pattern375 (rtx x1, int *pnum_clobbers, rtx_code i1)
2439 : {
2440 603 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2441 603 : rtx x2, x3, x4, x5, x6, x7;
2442 603 : int res ATTRIBUTE_UNUSED;
2443 603 : if (pnum_clobbers == NULL)
2444 : return -1;
2445 602 : x2 = XVECEXP (x1, 0, 0);
2446 602 : x3 = XEXP (x2, 1);
2447 602 : x4 = XEXP (x3, 0);
2448 602 : if (GET_MODE (x4) != E_SImode)
2449 : return -1;
2450 412 : x5 = XVECEXP (x1, 0, 1);
2451 412 : if (GET_CODE (x5) != SET)
2452 : return -1;
2453 412 : x6 = XEXP (x5, 1);
2454 412 : if (GET_CODE (x6) != i1
2455 408 : || GET_MODE (x6) != E_SImode)
2456 : return -1;
2457 408 : x7 = XEXP (x2, 0);
2458 408 : operands[0] = x7;
2459 408 : if (!register_operand (operands[0], E_DImode)
2460 408 : || GET_MODE (x3) != E_DImode)
2461 0 : return -1;
2462 : return 0;
2463 : }
2464 :
2465 : int
2466 12395 : pattern378 (rtx x1)
2467 : {
2468 12395 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2469 12395 : rtx x2, x3, x4, x5, x6, x7, x8;
2470 12395 : int res ATTRIBUTE_UNUSED;
2471 12395 : x2 = XVECEXP (x1, 0, 1);
2472 12395 : if (GET_CODE (x2) != CLOBBER)
2473 : return -1;
2474 8918 : x3 = XEXP (x2, 0);
2475 8918 : if (GET_CODE (x3) != REG
2476 8918 : || REGNO (x3) != 17
2477 17836 : || GET_MODE (x3) != E_CCmode)
2478 : return -1;
2479 8918 : x4 = XVECEXP (x1, 0, 0);
2480 8918 : x5 = XEXP (x4, 0);
2481 8918 : operands[0] = x5;
2482 8918 : x6 = XEXP (x4, 1);
2483 8918 : x7 = XEXP (x6, 0);
2484 8918 : x8 = XEXP (x7, 0);
2485 8918 : operands[1] = x8;
2486 8918 : return 0;
2487 : }
2488 :
2489 : int
2490 822 : pattern383 (rtx x1)
2491 : {
2492 822 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2493 822 : rtx x2, x3, x4, x5, x6;
2494 822 : int res ATTRIBUTE_UNUSED;
2495 822 : x2 = XVECEXP (x1, 0, 0);
2496 822 : x3 = XEXP (x2, 1);
2497 822 : x4 = XEXP (x3, 0);
2498 822 : if (XVECLEN (x4, 0) != 3)
2499 : return -1;
2500 676 : x5 = XVECEXP (x1, 0, 1);
2501 676 : if (GET_CODE (x5) != SET)
2502 : return -1;
2503 655 : x6 = XEXP (x5, 1);
2504 655 : if (GET_CODE (x6) != UNSPEC
2505 505 : || XVECLEN (x6, 0) != 3)
2506 150 : return -1;
2507 : return 0;
2508 : }
2509 :
2510 : int
2511 71 : pattern386 (rtx x1, machine_mode i1, machine_mode i2)
2512 : {
2513 71 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2514 71 : rtx x2, x3, x4, x5, x6;
2515 71 : int res ATTRIBUTE_UNUSED;
2516 71 : if (!register_operand (operands[0], i2)
2517 71 : || GET_MODE (x1) != i2)
2518 : return -1;
2519 68 : x2 = XEXP (x1, 0);
2520 68 : if (GET_MODE (x2) != i2)
2521 : return -1;
2522 68 : x3 = XEXP (x2, 0);
2523 68 : if (GET_MODE (x3) != i2)
2524 : return -1;
2525 68 : x4 = XEXP (x3, 0);
2526 68 : if (GET_MODE (x4) != i2
2527 68 : || !nonimmediate_operand (operands[2], i1))
2528 : return -1;
2529 68 : x5 = XEXP (x2, 1);
2530 68 : if (GET_MODE (x5) != i2
2531 68 : || !nonimmediate_operand (operands[4], i1))
2532 : return -1;
2533 68 : x6 = XEXP (x1, 1);
2534 68 : if (GET_MODE (x6) != i2
2535 68 : || !nonimmediate_operand (operands[1], i1))
2536 10 : return -1;
2537 : return 0;
2538 : }
2539 :
2540 : int
2541 112 : pattern390 (rtx x1, machine_mode i1)
2542 : {
2543 112 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2544 112 : rtx x2;
2545 112 : int res ATTRIBUTE_UNUSED;
2546 112 : if (!nonimmediate_operand (operands[0], i1)
2547 112 : || GET_MODE (x1) != i1)
2548 : return -1;
2549 112 : x2 = XEXP (x1, 0);
2550 112 : if (GET_MODE (x2) != i1
2551 112 : || !general_operand (operands[1], i1))
2552 0 : return -1;
2553 : return 0;
2554 : }
2555 :
2556 : int
2557 5584 : pattern391 (rtx x1, machine_mode i1)
2558 : {
2559 5584 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2560 5584 : rtx x2;
2561 5584 : int res ATTRIBUTE_UNUSED;
2562 5584 : if (!nonimmediate_operand (operands[0], i1)
2563 5584 : || GET_MODE (x1) != i1)
2564 : return -1;
2565 5584 : x2 = XEXP (x1, 0);
2566 5584 : if (GET_MODE (x2) != i1
2567 5584 : || !x86_64_general_operand (operands[1], i1))
2568 325 : return -1;
2569 : return 0;
2570 : }
2571 :
2572 : int
2573 22127 : pattern394 (rtx x1, machine_mode i1)
2574 : {
2575 22127 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2576 22127 : rtx x2, x3, x4, x5, x6, x7;
2577 22127 : int res ATTRIBUTE_UNUSED;
2578 22127 : x2 = XVECEXP (x1, 0, 0);
2579 22127 : x3 = XEXP (x2, 1);
2580 22127 : x4 = XEXP (x3, 0);
2581 22127 : x5 = XEXP (x4, 0);
2582 22127 : if (GET_MODE (x5) != i1
2583 22127 : || !memory_operand (operands[0], i1)
2584 44144 : || !nonmemory_operand (operands[1], i1))
2585 : return -1;
2586 22017 : x6 = XVECEXP (x1, 0, 1);
2587 22017 : x7 = XEXP (x6, 1);
2588 22017 : if (GET_MODE (x7) != i1)
2589 0 : return -1;
2590 : return 0;
2591 : }
2592 :
2593 : int
2594 266481 : pattern397 (rtx x1, rtx_code i1)
2595 : {
2596 266481 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2597 266481 : rtx x2, x3, x4, x5, x6, x7;
2598 266481 : int res ATTRIBUTE_UNUSED;
2599 266481 : x2 = XVECEXP (x1, 0, 0);
2600 266481 : x3 = XEXP (x2, 1);
2601 266481 : x4 = XEXP (x3, 1);
2602 266481 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2603 : return -1;
2604 256544 : x5 = XEXP (x3, 0);
2605 256544 : x6 = XEXP (x5, 0);
2606 256544 : switch (GET_CODE (x6))
2607 : {
2608 151802 : case REG:
2609 151802 : case SUBREG:
2610 151802 : case MEM:
2611 151802 : x7 = XEXP (x5, 1);
2612 151802 : operands[2] = x7;
2613 151802 : return 0;
2614 :
2615 2704 : case UNSPEC_VOLATILE:
2616 2704 : res = pattern396 (x1,
2617 : i1);
2618 2704 : if (res >= 0)
2619 2480 : return res + 1; /* [1, 4] */
2620 : return -1;
2621 :
2622 : default:
2623 : return -1;
2624 : }
2625 : }
2626 :
2627 : int
2628 21174 : pattern402 (rtx x1, machine_mode i1, machine_mode i2)
2629 : {
2630 21174 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2631 21174 : rtx x2, x3, x4, x5, x6;
2632 21174 : int res ATTRIBUTE_UNUSED;
2633 21174 : if (GET_MODE (x1) != i1)
2634 : return -1;
2635 21174 : x2 = XEXP (x1, 0);
2636 21174 : if (GET_MODE (x2) != i1)
2637 : return -1;
2638 21174 : x3 = XEXP (x1, 1);
2639 21174 : if (GET_MODE (x3) != i1)
2640 : return -1;
2641 21174 : x4 = XEXP (x3, 0);
2642 21174 : if (GET_MODE (x4) != i2)
2643 : return -1;
2644 21174 : x5 = XEXP (x4, 0);
2645 21174 : if (GET_MODE (x5) != i2)
2646 : return -1;
2647 21174 : x6 = XEXP (x5, 0);
2648 21174 : if (!register_operand (x6, i1))
2649 37 : return -1;
2650 : return 0;
2651 : }
2652 :
2653 : int
2654 223 : pattern406 (rtx x1, machine_mode i1)
2655 : {
2656 223 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2657 223 : rtx x2, x3, x4;
2658 223 : int res ATTRIBUTE_UNUSED;
2659 223 : if (GET_MODE (x1) != i1)
2660 : return -1;
2661 223 : x2 = XEXP (x1, 0);
2662 223 : if (GET_MODE (x2) != i1)
2663 : return -1;
2664 223 : x3 = XEXP (x1, 1);
2665 223 : if (GET_MODE (x3) != i1)
2666 : return -1;
2667 223 : x4 = XEXP (x3, 0);
2668 223 : if (!register_operand (x4, i1))
2669 12 : return -1;
2670 : return 0;
2671 : }
2672 :
2673 : int
2674 5649 : pattern409 (rtx x1)
2675 : {
2676 5649 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2677 5649 : rtx x2, x3, x4, x5, x6;
2678 5649 : int res ATTRIBUTE_UNUSED;
2679 5649 : x2 = XEXP (x1, 0);
2680 5649 : operands[0] = x2;
2681 5649 : x3 = XEXP (x1, 1);
2682 5649 : x4 = XEXP (x3, 1);
2683 5649 : x5 = XEXP (x4, 0);
2684 5649 : operands[2] = x5;
2685 5649 : if (!register_operand (operands[2], E_QImode))
2686 : return -1;
2687 4577 : x6 = XEXP (x4, 1);
2688 4577 : operands[3] = x6;
2689 4577 : if (!const_int_operand (operands[3], E_QImode))
2690 : return -1;
2691 4577 : switch (GET_MODE (operands[0]))
2692 : {
2693 3447 : case E_DImode:
2694 3447 : if (GET_MODE (x3) != E_DImode)
2695 0 : return -1;
2696 : return 0;
2697 :
2698 6 : case E_TImode:
2699 6 : if (!register_operand (operands[0], E_TImode)
2700 6 : || GET_MODE (x3) != E_TImode
2701 12 : || !register_operand (operands[1], E_TImode))
2702 0 : return -1;
2703 : return 1;
2704 :
2705 1006 : case E_SImode:
2706 1006 : if (!nonimmediate_operand (operands[0], E_SImode)
2707 1006 : || GET_MODE (x3) != E_SImode
2708 2012 : || !nonimmediate_operand (operands[1], E_SImode))
2709 264 : return -1;
2710 : return 2;
2711 :
2712 : default:
2713 : return -1;
2714 : }
2715 : }
2716 :
2717 : int
2718 642370 : pattern416 (rtx x1)
2719 : {
2720 642370 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2721 642370 : rtx x2, x3, x4, x5, x6, x7, x8;
2722 642370 : int res ATTRIBUTE_UNUSED;
2723 642370 : x2 = XVECEXP (x1, 0, 0);
2724 642370 : x3 = XEXP (x2, 1);
2725 642370 : x4 = XEXP (x3, 0);
2726 642370 : operands[1] = x4;
2727 642370 : x5 = XEXP (x2, 0);
2728 642370 : switch (GET_CODE (x5))
2729 : {
2730 642337 : case REG:
2731 642337 : case SUBREG:
2732 642337 : case MEM:
2733 642337 : operands[0] = x5;
2734 642337 : x6 = XVECEXP (x1, 0, 1);
2735 642337 : switch (GET_CODE (x6))
2736 : {
2737 : case CLOBBER:
2738 : return 0;
2739 :
2740 42723 : case USE:
2741 42723 : return 1;
2742 :
2743 : default:
2744 : return -1;
2745 : }
2746 :
2747 33 : case STRICT_LOW_PART:
2748 33 : x6 = XVECEXP (x1, 0, 1);
2749 33 : if (GET_CODE (x6) != CLOBBER)
2750 : return -1;
2751 33 : x7 = XEXP (x6, 0);
2752 33 : if (GET_CODE (x7) != REG
2753 33 : || REGNO (x7) != 17
2754 66 : || GET_MODE (x7) != E_CCmode)
2755 : return -1;
2756 33 : x8 = XEXP (x5, 0);
2757 33 : operands[0] = x8;
2758 33 : res = pattern415 (x3);
2759 33 : if (res >= 0)
2760 33 : return res + 2; /* [2, 3] */
2761 : return -1;
2762 :
2763 : default:
2764 : return -1;
2765 : }
2766 : }
2767 :
2768 : int
2769 2503 : pattern423 (rtx x1, int i1)
2770 : {
2771 2503 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2772 2503 : rtx x2;
2773 2503 : int res ATTRIBUTE_UNUSED;
2774 2503 : if (GET_CODE (x1) != UNSPEC
2775 12 : || XVECLEN (x1, 0) != 1
2776 12 : || XINT (x1, 1) != i1)
2777 : return -1;
2778 12 : x2 = XVECEXP (x1, 0, 0);
2779 12 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2780 0 : return -1;
2781 : return 0;
2782 : }
2783 :
2784 : int
2785 0 : pattern426 (rtx x1)
2786 : {
2787 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2788 0 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2789 0 : rtx x10, x11;
2790 0 : int res ATTRIBUTE_UNUSED;
2791 0 : x2 = XVECEXP (x1, 0, 0);
2792 0 : x3 = XEXP (x2, 1);
2793 0 : if (GET_MODE (x3) != E_SImode)
2794 : return -1;
2795 0 : x4 = XVECEXP (x1, 0, 1);
2796 0 : if (GET_CODE (x4) != USE)
2797 : return -1;
2798 0 : x5 = XVECEXP (x1, 0, 2);
2799 0 : if (GET_CODE (x5) != CLOBBER)
2800 : return -1;
2801 0 : x6 = XEXP (x2, 0);
2802 0 : operands[0] = x6;
2803 0 : if (!register_operand (operands[0], E_SImode))
2804 : return -1;
2805 0 : x7 = XEXP (x3, 0);
2806 0 : operands[3] = x7;
2807 0 : x8 = XEXP (x4, 0);
2808 0 : operands[4] = x8;
2809 0 : x9 = XEXP (x5, 0);
2810 0 : operands[1] = x9;
2811 0 : x10 = XVECEXP (x1, 0, 3);
2812 0 : x11 = XEXP (x10, 0);
2813 0 : operands[2] = x11;
2814 0 : switch (GET_MODE (operands[3]))
2815 : {
2816 0 : case E_SFmode:
2817 0 : return pattern425 (
2818 : E_V4SFmode,
2819 0 : E_SFmode); /* [-1, 0] */
2820 :
2821 0 : case E_DFmode:
2822 0 : if (pattern425 (
2823 : E_V2DFmode,
2824 : E_DFmode) != 0)
2825 0 : return -1;
2826 : return 1;
2827 :
2828 : default:
2829 : return -1;
2830 : }
2831 : }
2832 :
2833 : int
2834 131086 : pattern435 (rtx x1, int i1)
2835 : {
2836 131086 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2837 131086 : rtx x2;
2838 131086 : int res ATTRIBUTE_UNUSED;
2839 131086 : if (XINT (x1, 1) != i1
2840 275 : || GET_MODE (x1) != E_SImode)
2841 : return -1;
2842 275 : x2 = XVECEXP (x1, 0, 1);
2843 275 : if (GET_CODE (x2) != REG
2844 267 : || REGNO (x2) != 20
2845 518 : || GET_MODE (x2) != E_V2DImode)
2846 32 : return -1;
2847 : return 0;
2848 : }
2849 :
2850 : int
2851 524 : pattern439 (rtx x1)
2852 : {
2853 524 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2854 524 : rtx x2, x3, x4;
2855 524 : int res ATTRIBUTE_UNUSED;
2856 524 : x2 = XEXP (x1, 0);
2857 524 : x3 = XEXP (x2, 0);
2858 524 : operands[1] = x3;
2859 524 : x4 = XEXP (x2, 1);
2860 524 : operands[2] = x4;
2861 524 : switch (GET_MODE (operands[0]))
2862 : {
2863 3 : case E_HImode:
2864 3 : if (!register_operand (operands[0], E_HImode)
2865 3 : || GET_MODE (x1) != E_HImode
2866 3 : || GET_MODE (x2) != E_QImode
2867 3 : || !memory_operand (operands[1], E_QImode)
2868 6 : || !const_int_operand (operands[2], E_QImode))
2869 0 : return -1;
2870 : return 0;
2871 :
2872 270 : case E_SImode:
2873 270 : if (!register_operand (operands[0], E_SImode)
2874 270 : || GET_MODE (x1) != E_SImode)
2875 : return -1;
2876 113 : switch (GET_MODE (x2))
2877 : {
2878 60 : case E_QImode:
2879 60 : if (!memory_operand (operands[1], E_QImode)
2880 60 : || !const_int_operand (operands[2], E_QImode))
2881 40 : return -1;
2882 : return 1;
2883 :
2884 53 : case E_HImode:
2885 53 : if (!memory_operand (operands[1], E_HImode)
2886 53 : || !const_int_operand (operands[2], E_HImode))
2887 41 : return -1;
2888 : return 2;
2889 :
2890 : default:
2891 : return -1;
2892 : }
2893 :
2894 249 : case E_DImode:
2895 249 : if (!register_operand (operands[0], E_DImode)
2896 249 : || GET_MODE (x1) != E_DImode)
2897 : return -1;
2898 243 : switch (GET_MODE (x2))
2899 : {
2900 7 : case E_QImode:
2901 7 : if (!memory_operand (operands[1], E_QImode)
2902 7 : || !const_int_operand (operands[2], E_QImode))
2903 4 : return -1;
2904 : return 3;
2905 :
2906 4 : case E_HImode:
2907 4 : if (!memory_operand (operands[1], E_HImode)
2908 4 : || !const_int_operand (operands[2], E_HImode))
2909 1 : return -1;
2910 : return 4;
2911 :
2912 232 : case E_SImode:
2913 232 : if (!memory_operand (operands[1], E_SImode)
2914 232 : || !const_int_operand (operands[2], E_SImode))
2915 218 : return -1;
2916 : return 5;
2917 :
2918 : default:
2919 : return -1;
2920 : }
2921 :
2922 : default:
2923 : return -1;
2924 : }
2925 : }
2926 :
2927 : int
2928 26817 : pattern450 (rtx x1, machine_mode i1)
2929 : {
2930 26817 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2931 26817 : int res ATTRIBUTE_UNUSED;
2932 26817 : if (!register_operand (operands[0], i1)
2933 26817 : || GET_MODE (x1) != i1)
2934 : return -1;
2935 26817 : switch (GET_MODE (operands[1]))
2936 : {
2937 7674 : case E_SFmode:
2938 7674 : if (!memory_operand (operands[1], E_SFmode))
2939 5203 : return -1;
2940 : return 0;
2941 :
2942 19126 : case E_DFmode:
2943 19126 : if (!memory_operand (operands[1], E_DFmode))
2944 9336 : return -1;
2945 : return 1;
2946 :
2947 : default:
2948 : return -1;
2949 : }
2950 : }
2951 :
2952 : int
2953 3844384 : pattern455 (rtx x1)
2954 : {
2955 3844384 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2956 3844384 : rtx x2, x3, x4;
2957 3844384 : int res ATTRIBUTE_UNUSED;
2958 3844384 : x2 = XEXP (x1, 1);
2959 3844384 : x3 = XEXP (x2, 0);
2960 3844384 : if (GET_CODE (x3) != REG
2961 3844384 : || REGNO (x3) != 7)
2962 : return -1;
2963 2238345 : x4 = XEXP (x1, 0);
2964 2238345 : if (GET_CODE (x4) != REG
2965 2238345 : || REGNO (x4) != 7)
2966 55 : return -1;
2967 : return 0;
2968 : }
2969 :
2970 : int
2971 158624 : pattern456 (rtx x1, machine_mode i1, rtx_code i2)
2972 : {
2973 158624 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2974 158624 : rtx x2, x3, x4;
2975 158624 : int res ATTRIBUTE_UNUSED;
2976 158624 : if (GET_CODE (x1) != i2)
2977 : return -1;
2978 59102 : x2 = XEXP (x1, 0);
2979 59102 : if (GET_CODE (x2) != LTU)
2980 : return -1;
2981 54627 : x3 = XEXP (x2, 0);
2982 54627 : if (GET_CODE (x3) != REG
2983 47675 : || REGNO (x3) != 17
2984 80394 : || GET_MODE (x3) != i1)
2985 : return -1;
2986 25545 : x4 = XEXP (x2, 1);
2987 25545 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2988 0 : return -1;
2989 : return 0;
2990 : }
2991 :
2992 : int
2993 516153 : pattern460 (rtx x1, machine_mode i1)
2994 : {
2995 516153 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2996 516153 : int res ATTRIBUTE_UNUSED;
2997 516153 : if (GET_MODE (x1) != i1)
2998 : return -1;
2999 516153 : switch (GET_MODE (operands[1]))
3000 : {
3001 392798 : case E_SFmode:
3002 392798 : if (!nonimmediate_operand (operands[1], E_SFmode))
3003 348 : return -1;
3004 : return 0;
3005 :
3006 123344 : case E_DFmode:
3007 123344 : if (!nonimmediate_operand (operands[1], E_DFmode))
3008 16061 : return -1;
3009 : return 1;
3010 :
3011 : default:
3012 : return -1;
3013 : }
3014 : }
3015 :
3016 : int
3017 214721 : pattern465 (rtx x1)
3018 : {
3019 214721 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3020 214721 : rtx x2, x3, x4;
3021 214721 : int res ATTRIBUTE_UNUSED;
3022 214721 : x2 = XEXP (x1, 0);
3023 214721 : x3 = XEXP (x2, 1);
3024 214721 : operands[3] = x3;
3025 214721 : x4 = XEXP (x1, 1);
3026 214721 : operands[4] = x4;
3027 214721 : switch (GET_MODE (operands[0]))
3028 : {
3029 170 : case E_QImode:
3030 170 : return pattern464 (x1,
3031 170 : E_QImode); /* [-1, 0] */
3032 :
3033 210 : case E_HImode:
3034 210 : if (pattern464 (x1,
3035 : E_HImode) != 0)
3036 123 : return -1;
3037 : return 1;
3038 :
3039 : default:
3040 : return -1;
3041 : }
3042 : }
3043 :
3044 : int
3045 13257894 : pattern471 (rtx x1)
3046 : {
3047 13257894 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3048 13257894 : int res ATTRIBUTE_UNUSED;
3049 13257894 : switch (GET_MODE (operands[0]))
3050 : {
3051 5615331 : case E_DImode:
3052 5615331 : if (!nonimmediate_operand (operands[0], E_DImode)
3053 5518155 : || GET_MODE (x1) != E_DImode
3054 11133486 : || !nonimmediate_operand (operands[1], E_DImode))
3055 411720 : return -1;
3056 : return 0;
3057 :
3058 3399647 : case E_SImode:
3059 3399647 : if (!nonimmediate_operand (operands[0], E_SImode)
3060 2095942 : || GET_MODE (x1) != E_SImode
3061 2095942 : || !nonimmediate_operand (operands[1], E_SImode)
3062 5037428 : || !x86_64_general_operand (operands[2], E_SImode))
3063 1838130 : return -1;
3064 : return 1;
3065 :
3066 : default:
3067 : return -1;
3068 : }
3069 : }
3070 :
3071 : int
3072 23225 : pattern475 (rtx x1)
3073 : {
3074 23225 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3075 23225 : rtx x2, x3, x4;
3076 23225 : int res ATTRIBUTE_UNUSED;
3077 23225 : x2 = XEXP (x1, 0);
3078 23225 : x3 = XEXP (x2, 0);
3079 23225 : operands[1] = x3;
3080 23225 : if (!nonimmediate_operand (operands[1], E_SImode))
3081 : return -1;
3082 4211 : x4 = XEXP (x1, 1);
3083 4211 : switch (GET_CODE (x4))
3084 : {
3085 : case CONST_INT:
3086 : case CONST_WIDE_INT:
3087 : case CONST:
3088 : case LABEL_REF:
3089 : case SYMBOL_REF:
3090 : return 0;
3091 :
3092 0 : case ASHIFT:
3093 0 : if (GET_MODE (x4) != E_DImode
3094 0 : || !nonimmediate_operand (operands[0], E_DImode))
3095 : return -1;
3096 0 : res = pattern39 (x4,
3097 : E_DImode,
3098 : E_SImode);
3099 0 : if (res >= 0)
3100 0 : return res + 1; /* [1, 3] */
3101 : return -1;
3102 :
3103 : default:
3104 : return -1;
3105 : }
3106 : }
3107 :
3108 : int
3109 0 : pattern483 (rtx x1, machine_mode i1)
3110 : {
3111 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3112 0 : rtx x2, x3;
3113 0 : int res ATTRIBUTE_UNUSED;
3114 0 : if (!register_operand (operands[0], i1)
3115 0 : || GET_MODE (x1) != i1)
3116 : return -1;
3117 0 : x2 = XVECEXP (x1, 0, 0);
3118 0 : if (GET_MODE (x2) != i1)
3119 : return -1;
3120 0 : x3 = XEXP (x2, 0);
3121 0 : switch (GET_MODE (x3))
3122 : {
3123 0 : case E_HFmode:
3124 0 : if (!register_operand (operands[1], E_V8HFmode))
3125 0 : return -1;
3126 : return 0;
3127 :
3128 0 : case E_SFmode:
3129 0 : if (!register_operand (operands[1], E_V4SFmode))
3130 0 : return -1;
3131 : return 1;
3132 :
3133 0 : case E_DFmode:
3134 0 : if (!register_operand (operands[1], E_V2DFmode))
3135 0 : return -1;
3136 : return 2;
3137 :
3138 : default:
3139 : return -1;
3140 : }
3141 : }
3142 :
3143 : int
3144 3914 : pattern489 (rtx x1)
3145 : {
3146 3914 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3147 3914 : rtx x2, x3, x4, x5, x6;
3148 3914 : int res ATTRIBUTE_UNUSED;
3149 3914 : x2 = XEXP (x1, 0);
3150 3914 : x3 = XVECEXP (x2, 0, 0);
3151 3914 : operands[1] = x3;
3152 3914 : x4 = XVECEXP (x2, 0, 1);
3153 3914 : operands[2] = x4;
3154 3914 : x5 = XEXP (x1, 2);
3155 3914 : switch (GET_CODE (x5))
3156 : {
3157 2990 : case REG:
3158 2990 : case SUBREG:
3159 2990 : operands[4] = x5;
3160 2990 : x6 = XEXP (x1, 1);
3161 2990 : operands[3] = x6;
3162 2990 : switch (GET_MODE (operands[0]))
3163 : {
3164 454 : case E_V32HFmode:
3165 454 : return pattern486 (x1,
3166 : E_V32HFmode,
3167 454 : E_SImode); /* [-1, 0] */
3168 :
3169 430 : case E_V16HFmode:
3170 430 : if (pattern486 (x1,
3171 : E_V16HFmode,
3172 : E_HImode) != 0)
3173 40 : return -1;
3174 : return 1;
3175 :
3176 504 : case E_V8HFmode:
3177 504 : if (pattern486 (x1,
3178 : E_V8HFmode,
3179 : E_QImode) != 0)
3180 40 : return -1;
3181 : return 2;
3182 :
3183 84 : case E_V16SFmode:
3184 84 : if (pattern486 (x1,
3185 : E_V16SFmode,
3186 : E_HImode) != 0)
3187 12 : return -1;
3188 : return 3;
3189 :
3190 346 : case E_V8SFmode:
3191 346 : if (pattern486 (x1,
3192 : E_V8SFmode,
3193 : E_QImode) != 0)
3194 12 : return -1;
3195 : return 4;
3196 :
3197 346 : case E_V4SFmode:
3198 346 : if (pattern486 (x1,
3199 : E_V4SFmode,
3200 : E_QImode) != 0)
3201 12 : return -1;
3202 : return 5;
3203 :
3204 84 : case E_V8DFmode:
3205 84 : if (pattern486 (x1,
3206 : E_V8DFmode,
3207 : E_QImode) != 0)
3208 12 : return -1;
3209 : return 6;
3210 :
3211 396 : case E_V4DFmode:
3212 396 : if (pattern486 (x1,
3213 : E_V4DFmode,
3214 : E_QImode) != 0)
3215 26 : return -1;
3216 : return 7;
3217 :
3218 346 : case E_V2DFmode:
3219 346 : if (pattern486 (x1,
3220 : E_V2DFmode,
3221 : E_QImode) != 0)
3222 12 : return -1;
3223 : return 8;
3224 :
3225 : default:
3226 : return -1;
3227 : }
3228 :
3229 844 : case CONST_INT:
3230 844 : if (XWINT (x5, 0) != 1L)
3231 : return -1;
3232 720 : res = pattern488 (x1);
3233 720 : if (res >= 0)
3234 617 : return res + 9; /* [9, 11] */
3235 : return -1;
3236 :
3237 : default:
3238 : return -1;
3239 : }
3240 : }
3241 :
3242 : int
3243 1896 : pattern503 (rtx x1)
3244 : {
3245 1896 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3246 1896 : rtx x2, x3, x4, x5, x6, x7, x8;
3247 1896 : int res ATTRIBUTE_UNUSED;
3248 1896 : x2 = XEXP (x1, 0);
3249 1896 : x3 = XVECEXP (x2, 0, 0);
3250 1896 : operands[1] = x3;
3251 1896 : x4 = XVECEXP (x2, 0, 1);
3252 1896 : operands[2] = x4;
3253 1896 : x5 = XVECEXP (x2, 0, 2);
3254 1896 : operands[3] = x5;
3255 1896 : x6 = XEXP (x1, 1);
3256 1896 : switch (GET_CODE (x6))
3257 : {
3258 628 : case CONST_INT:
3259 628 : case CONST_DOUBLE:
3260 628 : case CONST_VECTOR:
3261 628 : operands[4] = x6;
3262 628 : x7 = XEXP (x1, 2);
3263 628 : if (GET_CODE (x7) != UNSPEC
3264 628 : || XVECLEN (x7, 0) != 1
3265 628 : || XINT (x7, 1) != 222)
3266 : return -1;
3267 628 : x8 = XVECEXP (x7, 0, 0);
3268 628 : operands[5] = x8;
3269 628 : switch (GET_MODE (operands[0]))
3270 : {
3271 94 : case E_V32HFmode:
3272 94 : if (!register_operand (operands[0], E_V32HFmode)
3273 80 : || GET_MODE (x1) != E_V32HFmode
3274 80 : || GET_MODE (x2) != E_V32HFmode
3275 80 : || !vector_operand (operands[1], E_V32HFmode)
3276 80 : || !vector_operand (operands[2], E_V32HFmode)
3277 80 : || !vector_operand (operands[3], E_V32HFmode)
3278 80 : || !const0_operand (operands[4], E_V32HFmode)
3279 80 : || GET_MODE (x7) != E_SImode
3280 174 : || !register_operand (operands[5], E_HImode))
3281 40 : return -1;
3282 : return 0;
3283 :
3284 266 : case E_V16HFmode:
3285 266 : if (pattern501 (x1,
3286 : E_HImode,
3287 : E_V16HFmode) != 0)
3288 38 : return -1;
3289 : return 1;
3290 :
3291 268 : case E_V8HFmode:
3292 268 : if (pattern501 (x1,
3293 : E_QImode,
3294 : E_V8HFmode) != 0)
3295 40 : return -1;
3296 : return 2;
3297 :
3298 : default:
3299 : return -1;
3300 : }
3301 :
3302 1268 : case REG:
3303 1268 : case SUBREG:
3304 1268 : case MEM:
3305 1268 : x7 = XEXP (x1, 2);
3306 1268 : switch (GET_CODE (x7))
3307 : {
3308 1222 : case UNSPEC:
3309 1222 : if (XVECLEN (x7, 0) != 1
3310 1222 : || XINT (x7, 1) != 222)
3311 : return -1;
3312 1222 : x8 = XVECEXP (x7, 0, 0);
3313 1222 : operands[4] = x8;
3314 1222 : if (!rtx_equal_p (x6, operands[1]))
3315 : return -1;
3316 1222 : switch (GET_MODE (operands[0]))
3317 : {
3318 174 : case E_V32HFmode:
3319 174 : if (!register_operand (operands[0], E_V32HFmode)
3320 160 : || GET_MODE (x1) != E_V32HFmode
3321 160 : || GET_MODE (x2) != E_V32HFmode
3322 160 : || !vector_operand (operands[1], E_V32HFmode)
3323 158 : || !vector_operand (operands[2], E_V32HFmode)
3324 158 : || !vector_operand (operands[3], E_V32HFmode)
3325 158 : || GET_MODE (x7) != E_SImode
3326 332 : || !register_operand (operands[4], E_HImode))
3327 66 : return -1;
3328 : return 3;
3329 :
3330 522 : case E_V16HFmode:
3331 522 : if (pattern502 (x1,
3332 : E_HImode,
3333 : E_V16HFmode) != 0)
3334 62 : return -1;
3335 : return 4;
3336 :
3337 526 : case E_V8HFmode:
3338 526 : if (pattern502 (x1,
3339 : E_QImode,
3340 : E_V8HFmode) != 0)
3341 60 : return -1;
3342 : return 5;
3343 :
3344 : default:
3345 : return -1;
3346 : }
3347 :
3348 46 : case CONST_INT:
3349 46 : if (XWINT (x7, 0) != 3L
3350 46 : || !register_operand (operands[0], E_V8HFmode)
3351 35 : || GET_MODE (x1) != E_V8HFmode
3352 35 : || GET_MODE (x2) != E_V8HFmode
3353 35 : || !vector_operand (operands[1], E_V8HFmode)
3354 35 : || !vector_operand (operands[2], E_V8HFmode)
3355 35 : || !vector_operand (operands[3], E_V8HFmode)
3356 81 : || !rtx_equal_p (x6, operands[2]))
3357 11 : return -1;
3358 : return 6;
3359 :
3360 : default:
3361 : return -1;
3362 : }
3363 :
3364 : default:
3365 : return -1;
3366 : }
3367 : }
3368 :
3369 : int
3370 485 : pattern522 (rtx x1)
3371 : {
3372 485 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3373 485 : rtx x2, x3, x4, x5;
3374 485 : int res ATTRIBUTE_UNUSED;
3375 485 : x2 = XVECEXP (x1, 0, 0);
3376 485 : x3 = XEXP (x2, 0);
3377 485 : operands[1] = x3;
3378 485 : x4 = XEXP (x2, 1);
3379 485 : operands[2] = x4;
3380 485 : x5 = XVECEXP (x1, 0, 1);
3381 485 : operands[3] = x5;
3382 485 : if (!const_4_or_8_to_11_operand (operands[3], E_SImode))
3383 : return -1;
3384 485 : switch (GET_MODE (operands[0]))
3385 : {
3386 165 : case E_V32HFmode:
3387 165 : return pattern521 (x1,
3388 165 : E_V32HFmode); /* [-1, 0] */
3389 :
3390 0 : case E_V16HFmode:
3391 0 : if (pattern521 (x1,
3392 : E_V16HFmode) != 0)
3393 0 : return -1;
3394 : return 1;
3395 :
3396 0 : case E_V8HFmode:
3397 0 : if (pattern521 (x1,
3398 : E_V8HFmode) != 0)
3399 0 : return -1;
3400 : return 2;
3401 :
3402 170 : case E_V16SFmode:
3403 170 : if (pattern521 (x1,
3404 : E_V16SFmode) != 0)
3405 22 : return -1;
3406 : return 3;
3407 :
3408 0 : case E_V8SFmode:
3409 0 : if (pattern521 (x1,
3410 : E_V8SFmode) != 0)
3411 0 : return -1;
3412 : return 4;
3413 :
3414 0 : case E_V4SFmode:
3415 0 : if (pattern521 (x1,
3416 : E_V4SFmode) != 0)
3417 0 : return -1;
3418 : return 5;
3419 :
3420 150 : case E_V8DFmode:
3421 150 : if (pattern521 (x1,
3422 : E_V8DFmode) != 0)
3423 12 : return -1;
3424 : return 6;
3425 :
3426 0 : case E_V4DFmode:
3427 0 : if (pattern521 (x1,
3428 : E_V4DFmode) != 0)
3429 0 : return -1;
3430 : return 7;
3431 :
3432 0 : case E_V2DFmode:
3433 0 : if (pattern521 (x1,
3434 : E_V2DFmode) != 0)
3435 0 : return -1;
3436 : return 8;
3437 :
3438 : default:
3439 : return -1;
3440 : }
3441 : }
3442 :
3443 : int
3444 180 : pattern531 (rtx x1, machine_mode i1)
3445 : {
3446 180 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3447 180 : int res ATTRIBUTE_UNUSED;
3448 180 : if (GET_MODE (x1) != E_V2HFmode
3449 180 : || !vector_operand (operands[1], i1)
3450 180 : || !const0_operand (operands[3], E_V2HFmode)
3451 360 : || !const0_operand (operands[4], E_V6HFmode))
3452 0 : return -1;
3453 : return 0;
3454 : }
3455 :
3456 : int
3457 183 : pattern532 (rtx x1, machine_mode i1)
3458 : {
3459 183 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3460 183 : rtx x2, x3;
3461 183 : int res ATTRIBUTE_UNUSED;
3462 183 : if (!register_operand (operands[0], E_V4SFmode)
3463 183 : || GET_MODE (x1) != E_V4SFmode)
3464 : return -1;
3465 177 : x2 = XEXP (x1, 0);
3466 177 : if (GET_MODE (x2) != E_V2SFmode)
3467 : return -1;
3468 177 : x3 = XEXP (x2, 0);
3469 177 : if (GET_MODE (x3) != E_V2SFmode
3470 177 : || !nonimmediate_operand (operands[1], i1)
3471 176 : || !const0_operand (operands[3], E_V2SFmode)
3472 353 : || !const0_operand (operands[4], E_V2SFmode))
3473 1 : return -1;
3474 : return 0;
3475 : }
3476 :
3477 : int
3478 432 : pattern534 (rtx x1)
3479 : {
3480 432 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3481 432 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3482 432 : int res ATTRIBUTE_UNUSED;
3483 432 : x2 = XEXP (x1, 1);
3484 432 : if (GET_MODE (x2) != E_V2SImode)
3485 : return -1;
3486 432 : switch (GET_CODE (x2))
3487 : {
3488 300 : case VEC_SELECT:
3489 300 : x3 = XEXP (x2, 1);
3490 300 : if (GET_CODE (x3) != PARALLEL
3491 300 : || XVECLEN (x3, 0) != 2)
3492 : return -1;
3493 300 : x4 = XVECEXP (x3, 0, 0);
3494 300 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3495 : return -1;
3496 300 : x5 = XVECEXP (x3, 0, 1);
3497 300 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3498 : return -1;
3499 300 : x6 = XEXP (x2, 0);
3500 300 : operands[2] = x6;
3501 300 : if (!nonimm_or_0_operand (operands[2], E_V4SImode))
3502 : return -1;
3503 292 : x7 = XEXP (x1, 2);
3504 292 : operands[3] = x7;
3505 292 : return 0;
3506 :
3507 128 : case CONST_VECTOR:
3508 128 : if (XVECLEN (x2, 0) != 2)
3509 : return -1;
3510 128 : x8 = XVECEXP (x2, 0, 0);
3511 128 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3512 : return -1;
3513 120 : x9 = XVECEXP (x2, 0, 1);
3514 120 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3515 : return -1;
3516 120 : x7 = XEXP (x1, 2);
3517 120 : operands[2] = x7;
3518 120 : return 1;
3519 :
3520 : default:
3521 : return -1;
3522 : }
3523 : }
3524 :
3525 : int
3526 720 : pattern540 (rtx x1, machine_mode i1, machine_mode i2)
3527 : {
3528 720 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3529 720 : rtx x2, x3, x4;
3530 720 : int res ATTRIBUTE_UNUSED;
3531 720 : if (!register_operand (operands[0], i2)
3532 720 : || GET_MODE (x1) != i2)
3533 : return -1;
3534 720 : x2 = XEXP (x1, 0);
3535 720 : if (GET_MODE (x2) != i1)
3536 : return -1;
3537 720 : x3 = XEXP (x2, 0);
3538 720 : if (GET_MODE (x3) != i1)
3539 : return -1;
3540 720 : x4 = XEXP (x2, 1);
3541 720 : if (GET_MODE (x4) != i1)
3542 : return -1;
3543 720 : switch (GET_MODE (operands[1]))
3544 : {
3545 360 : case E_V4SImode:
3546 360 : if (!register_operand (operands[1], E_V4SImode))
3547 0 : return -1;
3548 : return 0;
3549 :
3550 360 : case E_V4DImode:
3551 360 : if (!register_operand (operands[1], E_V4DImode))
3552 0 : return -1;
3553 : return 1;
3554 :
3555 : default:
3556 : return -1;
3557 : }
3558 : }
3559 :
3560 : int
3561 33017 : pattern546 (rtx x1, machine_mode i1)
3562 : {
3563 33017 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3564 33017 : int res ATTRIBUTE_UNUSED;
3565 33017 : if (!register_operand (operands[0], i1)
3566 29639 : || GET_MODE (x1) != i1
3567 29639 : || !register_operand (operands[1], i1)
3568 54517 : || !bcst_vector_operand (operands[2], i1))
3569 15145 : return -1;
3570 : return 0;
3571 : }
3572 :
3573 : int
3574 251 : pattern548 (rtx x1)
3575 : {
3576 251 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3577 251 : int res ATTRIBUTE_UNUSED;
3578 251 : if (!register_operand (operands[0], E_V16HFmode)
3579 251 : || GET_MODE (x1) != E_V16HFmode)
3580 : return -1;
3581 221 : switch (GET_MODE (operands[1]))
3582 : {
3583 138 : case E_V16HImode:
3584 138 : if (!vector_operand (operands[1], E_V16HImode))
3585 0 : return -1;
3586 : return 0;
3587 :
3588 79 : case E_V16SImode:
3589 79 : if (!vector_operand (operands[1], E_V16SImode))
3590 0 : return -1;
3591 : return 1;
3592 :
3593 : default:
3594 : return -1;
3595 : }
3596 : }
3597 :
3598 : int
3599 810 : pattern551 (rtx x1, machine_mode i1)
3600 : {
3601 810 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3602 810 : int res ATTRIBUTE_UNUSED;
3603 810 : if (!register_operand (operands[0], i1)
3604 810 : || GET_MODE (x1) != i1)
3605 : return -1;
3606 744 : switch (GET_MODE (operands[1]))
3607 : {
3608 575 : case E_V4SImode:
3609 575 : if (!nonimmediate_operand (operands[1], E_V4SImode))
3610 0 : return -1;
3611 : return 0;
3612 :
3613 167 : case E_V4DImode:
3614 167 : if (!nonimmediate_operand (operands[1], E_V4DImode))
3615 2 : return -1;
3616 : return 1;
3617 :
3618 : default:
3619 : return -1;
3620 : }
3621 : }
3622 :
3623 : int
3624 226435 : pattern555 (rtx x1)
3625 : {
3626 226435 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3627 226435 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3628 226435 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
3629 226435 : rtx x18, x19, x20, x21, x22;
3630 226435 : int res ATTRIBUTE_UNUSED;
3631 226435 : x2 = XEXP (x1, 0);
3632 226435 : if (maybe_ne (SUBREG_BYTE (x2), 0))
3633 : return -1;
3634 226429 : x3 = XEXP (x2, 0);
3635 226429 : if (GET_CODE (x3) != UNSPEC
3636 18502 : || XVECLEN (x3, 0) != 2
3637 7421 : || XINT (x3, 1) != 150)
3638 : return -1;
3639 40 : x4 = XVECEXP (x3, 0, 0);
3640 40 : operands[1] = x4;
3641 40 : x5 = XVECEXP (x3, 0, 1);
3642 40 : operands[2] = x5;
3643 40 : x6 = XEXP (x1, 1);
3644 40 : switch (XVECLEN (x6, 0))
3645 : {
3646 3 : case 16:
3647 3 : x7 = XVECEXP (x6, 0, 0);
3648 3 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3649 : return -1;
3650 3 : x8 = XVECEXP (x6, 0, 1);
3651 3 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3652 : return -1;
3653 3 : x9 = XVECEXP (x6, 0, 2);
3654 3 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3655 : return -1;
3656 3 : x10 = XVECEXP (x6, 0, 3);
3657 3 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
3658 : return -1;
3659 3 : x11 = XVECEXP (x6, 0, 4);
3660 3 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
3661 : return -1;
3662 3 : x12 = XVECEXP (x6, 0, 5);
3663 3 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
3664 : return -1;
3665 3 : x13 = XVECEXP (x6, 0, 6);
3666 3 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
3667 : return -1;
3668 3 : x14 = XVECEXP (x6, 0, 7);
3669 3 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
3670 : return -1;
3671 3 : x15 = XVECEXP (x6, 0, 8);
3672 3 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
3673 : return -1;
3674 3 : x16 = XVECEXP (x6, 0, 9);
3675 3 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
3676 : return -1;
3677 3 : x17 = XVECEXP (x6, 0, 10);
3678 3 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
3679 : return -1;
3680 3 : x18 = XVECEXP (x6, 0, 11);
3681 3 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
3682 : return -1;
3683 3 : x19 = XVECEXP (x6, 0, 12);
3684 3 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
3685 : return -1;
3686 3 : x20 = XVECEXP (x6, 0, 13);
3687 3 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
3688 : return -1;
3689 3 : x21 = XVECEXP (x6, 0, 14);
3690 3 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
3691 : return -1;
3692 3 : x22 = XVECEXP (x6, 0, 15);
3693 3 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 15]
3694 3 : || pattern554 (x1,
3695 : E_V32HImode,
3696 : E_V32HFmode,
3697 : E_V16HFmode) != 0)
3698 1 : return -1;
3699 : return 0;
3700 :
3701 3 : case 8:
3702 3 : x7 = XVECEXP (x6, 0, 0);
3703 3 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3704 : return -1;
3705 3 : x8 = XVECEXP (x6, 0, 1);
3706 3 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3707 : return -1;
3708 3 : x9 = XVECEXP (x6, 0, 2);
3709 3 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3710 : return -1;
3711 3 : x10 = XVECEXP (x6, 0, 3);
3712 3 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
3713 : return -1;
3714 3 : x11 = XVECEXP (x6, 0, 4);
3715 3 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
3716 : return -1;
3717 3 : x12 = XVECEXP (x6, 0, 5);
3718 3 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
3719 : return -1;
3720 3 : x13 = XVECEXP (x6, 0, 6);
3721 3 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
3722 : return -1;
3723 3 : x14 = XVECEXP (x6, 0, 7);
3724 3 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
3725 3 : || pattern554 (x1,
3726 : E_V16HImode,
3727 : E_V16HFmode,
3728 : E_V8HFmode) != 0)
3729 1 : return -1;
3730 : return 1;
3731 :
3732 : default:
3733 : return -1;
3734 : }
3735 : }
3736 :
3737 : int
3738 1178 : pattern570 (rtx x1)
3739 : {
3740 1178 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3741 1178 : rtx x2, x3, x4, x5, x6, x7;
3742 1178 : int res ATTRIBUTE_UNUSED;
3743 1178 : x2 = XVECEXP (x1, 0, 0);
3744 1178 : x3 = XEXP (x2, 1);
3745 1178 : if (GET_MODE (x3) != E_XFmode)
3746 : return -1;
3747 1178 : x4 = XVECEXP (x1, 0, 1);
3748 1178 : if (GET_CODE (x4) != CLOBBER)
3749 : return -1;
3750 1173 : x5 = XEXP (x4, 0);
3751 1173 : if (GET_CODE (x5) != REG
3752 1173 : || REGNO (x5) != 17
3753 2346 : || GET_MODE (x5) != E_CCmode)
3754 : return -1;
3755 1173 : x6 = XEXP (x2, 0);
3756 1173 : operands[0] = x6;
3757 1173 : if (!register_operand (operands[0], E_XFmode))
3758 : return -1;
3759 1173 : x7 = XVECEXP (x3, 0, 0);
3760 1173 : operands[1] = x7;
3761 1173 : if (!register_operand (operands[1], E_XFmode))
3762 320 : return -1;
3763 : return 0;
3764 : }
3765 :
3766 : int
3767 540 : pattern572 (rtx x1)
3768 : {
3769 540 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3770 540 : rtx x2, x3, x4, x5, x6, x7;
3771 540 : int res ATTRIBUTE_UNUSED;
3772 540 : x2 = XVECEXP (x1, 0, 1);
3773 540 : if (GET_CODE (x2) != CLOBBER)
3774 : return -1;
3775 540 : x3 = XEXP (x2, 0);
3776 540 : if (GET_CODE (x3) != REG
3777 540 : || REGNO (x3) != 17
3778 1080 : || GET_MODE (x3) != E_CCmode)
3779 : return -1;
3780 540 : x4 = XVECEXP (x1, 0, 0);
3781 540 : x5 = XEXP (x4, 0);
3782 540 : operands[0] = x5;
3783 540 : x6 = XEXP (x4, 1);
3784 540 : x7 = XVECEXP (x6, 0, 0);
3785 540 : operands[1] = x7;
3786 540 : if (!register_operand (operands[1], E_XFmode))
3787 : return -1;
3788 372 : return pattern571 (x6); /* [-1, 2] */
3789 : }
3790 :
3791 : int
3792 35 : pattern576 (rtx x1, int *pnum_clobbers)
3793 : {
3794 35 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3795 35 : rtx x2, x3, x4, x5, x6, x7;
3796 35 : int res ATTRIBUTE_UNUSED;
3797 35 : x2 = XVECEXP (x1, 0, 0);
3798 35 : x3 = XEXP (x2, 1);
3799 35 : x4 = XEXP (x3, 0);
3800 35 : x5 = XEXP (x4, 0);
3801 35 : operands[1] = x5;
3802 35 : x6 = XVECEXP (x1, 0, 1);
3803 35 : switch (GET_CODE (x6))
3804 : {
3805 35 : case CLOBBER:
3806 35 : x7 = XEXP (x6, 0);
3807 35 : if (GET_CODE (x7) != REG
3808 35 : || REGNO (x7) != 17
3809 70 : || GET_MODE (x7) != E_CCmode)
3810 0 : return -1;
3811 : return 0;
3812 :
3813 0 : case UNSPEC:
3814 0 : if (pnum_clobbers == NULL
3815 0 : || XVECLEN (x6, 0) != 1
3816 0 : || XINT (x6, 1) != 35)
3817 0 : return -1;
3818 : return 1;
3819 :
3820 : default:
3821 : return -1;
3822 : }
3823 : }
3824 :
3825 : int
3826 431367 : pattern581 (rtx x1)
3827 : {
3828 431367 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3829 431367 : rtx x2, x3, x4, x5, x6, x7, x8;
3830 431367 : int res ATTRIBUTE_UNUSED;
3831 431367 : if (!bt_comparison_operator (operands[1], E_QImode))
3832 : return -1;
3833 136572 : x2 = XVECEXP (x1, 0, 0);
3834 136572 : x3 = XEXP (x2, 1);
3835 136572 : x4 = XEXP (x3, 1);
3836 136572 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
3837 : return -1;
3838 5617 : x5 = XVECEXP (x1, 0, 1);
3839 5617 : if (GET_CODE (x5) != CLOBBER)
3840 : return -1;
3841 595 : x6 = XEXP (x5, 0);
3842 595 : if (GET_CODE (x6) != REG
3843 595 : || REGNO (x6) != 17
3844 1148 : || GET_MODE (x6) != E_CCmode)
3845 : return -1;
3846 171 : x7 = XEXP (x2, 0);
3847 171 : operands[0] = x7;
3848 171 : if (!nonimmediate_operand (operands[0], E_QImode))
3849 : return -1;
3850 171 : x8 = XEXP (x3, 0);
3851 171 : operands[2] = x8;
3852 171 : switch (GET_MODE (operands[2]))
3853 : {
3854 38 : case E_QImode:
3855 38 : if (!register_operand (operands[2], E_QImode))
3856 23 : return -1;
3857 : return 0;
3858 :
3859 49 : case E_HImode:
3860 49 : if (!register_operand (operands[2], E_HImode))
3861 25 : return -1;
3862 : return 1;
3863 :
3864 38 : case E_SImode:
3865 38 : if (!register_operand (operands[2], E_SImode))
3866 23 : return -1;
3867 : return 2;
3868 :
3869 46 : case E_DImode:
3870 46 : if (!register_operand (operands[2], E_DImode))
3871 21 : return -1;
3872 : return 3;
3873 :
3874 : default:
3875 : return -1;
3876 : }
3877 : }
3878 :
3879 : int
3880 26376333 : pattern588 (rtx x1)
3881 : {
3882 26376333 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3883 26376333 : int res ATTRIBUTE_UNUSED;
3884 26376333 : if (!nonimmediate_operand (operands[0], E_SImode)
3885 26348644 : || GET_MODE (x1) != E_SImode
3886 26348644 : || !nonimmediate_operand (operands[1], E_SImode)
3887 52383047 : || !x86_64_general_operand (operands[2], E_SImode))
3888 404702 : return -1;
3889 : return 0;
3890 : }
3891 :
3892 : int
3893 14072 : pattern591 (rtx x1)
3894 : {
3895 14072 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3896 14072 : rtx x2, x3, x4, x5;
3897 14072 : int res ATTRIBUTE_UNUSED;
3898 14072 : x2 = XVECEXP (x1, 0, 1);
3899 14072 : if (XVECLEN (x2, 0) != 1
3900 14072 : || XINT (x2, 1) != 173)
3901 : return -1;
3902 14069 : x3 = XVECEXP (x2, 0, 0);
3903 14069 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3904 : return -1;
3905 14069 : switch (GET_MODE (operands[0]))
3906 : {
3907 12877 : case E_QImode:
3908 12877 : x4 = XVECEXP (x1, 0, 0);
3909 12877 : x5 = XEXP (x4, 1);
3910 12877 : return pattern590 (x5,
3911 12877 : E_QImode); /* [-1, 0] */
3912 :
3913 804 : case E_HImode:
3914 804 : x4 = XVECEXP (x1, 0, 0);
3915 804 : x5 = XEXP (x4, 1);
3916 804 : if (pattern590 (x5,
3917 : E_HImode) != 0)
3918 7 : return -1;
3919 : return 1;
3920 :
3921 193 : case E_SImode:
3922 193 : x4 = XVECEXP (x1, 0, 0);
3923 193 : x5 = XEXP (x4, 1);
3924 193 : if (pattern590 (x5,
3925 : E_SImode) != 0)
3926 0 : return -1;
3927 : return 2;
3928 :
3929 195 : case E_DImode:
3930 195 : x4 = XVECEXP (x1, 0, 0);
3931 195 : x5 = XEXP (x4, 1);
3932 195 : if (pattern590 (x5,
3933 : E_DImode) != 0)
3934 0 : return -1;
3935 : return 3;
3936 :
3937 : default:
3938 : return -1;
3939 : }
3940 : }
3941 :
3942 : int
3943 258 : pattern598 (rtx x1)
3944 : {
3945 258 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3946 258 : int res ATTRIBUTE_UNUSED;
3947 258 : if (GET_MODE (x1) != E_SImode
3948 258 : || !register_operand (operands[0], E_SImode)
3949 255 : || !register_operand (operands[1], E_SImode)
3950 447 : || !register_operand (operands[2], E_SImode))
3951 152 : return -1;
3952 : return 0;
3953 : }
3954 :
3955 : int
3956 123 : pattern601 (rtx x1)
3957 : {
3958 123 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3959 123 : int res ATTRIBUTE_UNUSED;
3960 123 : switch (GET_MODE (operands[0]))
3961 : {
3962 24 : case E_QImode:
3963 24 : if (!register_operand (operands[0], E_QImode)
3964 24 : || GET_MODE (x1) != E_QImode
3965 48 : || !const_int_operand (operands[1], E_QImode))
3966 0 : return -1;
3967 : return 0;
3968 :
3969 0 : case E_HImode:
3970 0 : if (!register_operand (operands[0], E_HImode)
3971 0 : || GET_MODE (x1) != E_HImode
3972 0 : || !const_int_operand (operands[1], E_HImode))
3973 0 : return -1;
3974 : return 1;
3975 :
3976 46 : case E_SImode:
3977 46 : if (!register_operand (operands[0], E_SImode)
3978 43 : || GET_MODE (x1) != E_SImode
3979 89 : || !const_int_operand (operands[1], E_SImode))
3980 3 : return -1;
3981 : return 2;
3982 :
3983 53 : case E_DImode:
3984 53 : if (!register_operand (operands[0], E_DImode)
3985 53 : || GET_MODE (x1) != E_DImode
3986 106 : || !const_int_operand (operands[1], E_DImode))
3987 0 : return -1;
3988 : return 3;
3989 :
3990 : default:
3991 : return -1;
3992 : }
3993 : }
3994 :
3995 : int
3996 888 : pattern608 (rtx x1)
3997 : {
3998 888 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3999 888 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4000 888 : int res ATTRIBUTE_UNUSED;
4001 888 : x2 = XEXP (x1, 0);
4002 888 : x3 = XEXP (x2, 0);
4003 888 : operands[0] = x3;
4004 888 : if (!int248_register_operand (operands[0], E_VOIDmode))
4005 : return -1;
4006 888 : x4 = XEXP (x1, 1);
4007 888 : x5 = XEXP (x4, 0);
4008 888 : x6 = XEXP (x5, 0);
4009 888 : x7 = XEXP (x6, 0);
4010 888 : x8 = XEXP (x7, 0);
4011 888 : if (!rtx_equal_p (x8, operands[0]))
4012 : return -1;
4013 888 : x9 = XEXP (x5, 1);
4014 888 : if (!rtx_equal_p (x9, operands[2]))
4015 : return -1;
4016 888 : switch (GET_MODE (operands[3]))
4017 : {
4018 888 : case E_HImode:
4019 888 : return pattern607 (x1,
4020 888 : E_HImode); /* [-1, 0] */
4021 :
4022 0 : case E_SImode:
4023 0 : if (pattern607 (x1,
4024 : E_SImode) != 0)
4025 0 : return -1;
4026 : return 1;
4027 :
4028 0 : case E_DImode:
4029 0 : if (pattern607 (x1,
4030 : E_DImode) != 0)
4031 0 : return -1;
4032 : return 2;
4033 :
4034 : default:
4035 : return -1;
4036 : }
4037 : }
4038 :
4039 : int
4040 61 : pattern613 (rtx x1)
4041 : {
4042 61 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4043 61 : rtx x2, x3;
4044 61 : int res ATTRIBUTE_UNUSED;
4045 61 : x2 = XVECEXP (x1, 0, 1);
4046 61 : if (GET_CODE (x2) != CLOBBER)
4047 : return -1;
4048 61 : x3 = XEXP (x2, 0);
4049 61 : if (GET_CODE (x3) != REG
4050 61 : || REGNO (x3) != 17
4051 122 : || GET_MODE (x3) != E_CCmode)
4052 : return -1;
4053 61 : return pattern267 (x1); /* [-1, 1] */
4054 : }
4055 :
4056 : int
4057 165288 : pattern615 (rtx x1, rtx_code i1)
4058 : {
4059 165288 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4060 165288 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4061 165288 : int res ATTRIBUTE_UNUSED;
4062 165288 : x2 = XVECEXP (x1, 0, 1);
4063 165288 : if (GET_CODE (x2) != SET)
4064 : return -1;
4065 165288 : x3 = XEXP (x2, 1);
4066 165288 : if (GET_CODE (x3) != i1)
4067 : return -1;
4068 165288 : x4 = XVECEXP (x1, 0, 2);
4069 165288 : if (GET_CODE (x4) != UNSPEC
4070 42 : || XVECLEN (x4, 0) != 1
4071 42 : || XINT (x4, 1) != 29)
4072 : return -1;
4073 42 : x5 = XVECEXP (x4, 0, 0);
4074 42 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4075 : return -1;
4076 42 : x6 = XVECEXP (x1, 0, 3);
4077 42 : x7 = XEXP (x6, 0);
4078 42 : if (GET_CODE (x7) != REG
4079 42 : || REGNO (x7) != 17
4080 84 : || GET_MODE (x7) != E_CCmode)
4081 : return -1;
4082 42 : x8 = XVECEXP (x1, 0, 0);
4083 42 : x9 = XEXP (x8, 0);
4084 42 : operands[0] = x9;
4085 42 : return pattern614 (x1); /* [-1, 1] */
4086 : }
4087 :
4088 : int
4089 32791 : pattern620 (rtx x1)
4090 : {
4091 32791 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4092 32791 : rtx x2, x3, x4, x5, x6;
4093 32791 : int res ATTRIBUTE_UNUSED;
4094 32791 : x2 = XVECEXP (x1, 0, 2);
4095 32791 : if (!const_0_to_7_operand (x2, E_SImode))
4096 : return -1;
4097 30879 : x3 = XVECEXP (x1, 0, 0);
4098 30879 : switch (GET_CODE (x3))
4099 : {
4100 28906 : case CONST_INT:
4101 28906 : case CONST_WIDE_INT:
4102 28906 : case CONST_POLY_INT:
4103 28906 : case CONST_FIXED:
4104 28906 : case CONST_DOUBLE:
4105 28906 : case CONST_VECTOR:
4106 28906 : case CONST:
4107 28906 : case REG:
4108 28906 : case SUBREG:
4109 28906 : case MEM:
4110 28906 : case LABEL_REF:
4111 28906 : case SYMBOL_REF:
4112 28906 : case HIGH:
4113 28906 : operands[1] = x3;
4114 28906 : x4 = XVECEXP (x1, 0, 1);
4115 28906 : operands[2] = x4;
4116 28906 : operands[3] = x2;
4117 28906 : switch (GET_MODE (operands[0]))
4118 : {
4119 1081 : case E_DImode:
4120 1081 : return pattern616 (x1); /* [-1, 0] */
4121 :
4122 2338 : case E_SImode:
4123 2338 : res = pattern617 (x1);
4124 2338 : if (res >= 0)
4125 2129 : return res + 1; /* [1, 2] */
4126 : return -1;
4127 :
4128 12952 : case E_HImode:
4129 12952 : res = pattern618 (x1);
4130 12952 : if (res >= 0)
4131 11976 : return res + 3; /* [3, 5] */
4132 : return -1;
4133 :
4134 12140 : case E_QImode:
4135 12140 : res = pattern619 (x1);
4136 12140 : if (res >= 0)
4137 10357 : return res + 6; /* [6, 11] */
4138 : return -1;
4139 :
4140 : default:
4141 : return -1;
4142 : }
4143 :
4144 36 : case US_MINUS:
4145 36 : x5 = XEXP (x3, 0);
4146 36 : operands[1] = x5;
4147 36 : x6 = XEXP (x3, 1);
4148 36 : operands[2] = x6;
4149 36 : x4 = XVECEXP (x1, 0, 1);
4150 36 : operands[3] = x4;
4151 36 : operands[4] = x2;
4152 36 : switch (GET_MODE (operands[0]))
4153 : {
4154 6 : case E_DImode:
4155 6 : if (pattern93 (x1,
4156 : E_V64QImode,
4157 : E_DImode) != 0)
4158 0 : return -1;
4159 : return 12;
4160 :
4161 12 : case E_HImode:
4162 12 : res = pattern92 (x1);
4163 12 : if (res >= 0)
4164 12 : return res + 13; /* [13, 14] */
4165 : return -1;
4166 :
4167 12 : case E_SImode:
4168 12 : res = pattern336 (x1);
4169 12 : if (res >= 0)
4170 12 : return res + 15; /* [15, 16] */
4171 : return -1;
4172 :
4173 6 : case E_QImode:
4174 6 : if (pattern93 (x1,
4175 : E_V8HImode,
4176 : E_QImode) != 0)
4177 0 : return -1;
4178 : return 17;
4179 :
4180 : default:
4181 : return -1;
4182 : }
4183 :
4184 : default:
4185 : return -1;
4186 : }
4187 : }
4188 :
4189 : int
4190 246 : pattern632 (rtx x1, machine_mode i1)
4191 : {
4192 246 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4193 246 : rtx x2, x3, x4, x5;
4194 246 : int res ATTRIBUTE_UNUSED;
4195 246 : x2 = XVECEXP (x1, 0, 0);
4196 246 : x3 = XEXP (x2, 0);
4197 246 : if (GET_MODE (x3) != i1
4198 246 : || !vector_operand (operands[0], i1)
4199 218 : || !const0_operand (operands[1], i1)
4200 264 : || !const0_operand (operands[2], i1))
4201 : return -1;
4202 18 : x4 = XVECEXP (x1, 0, 1);
4203 18 : if (GET_MODE (x4) != i1)
4204 : return -1;
4205 18 : x5 = XEXP (x4, 0);
4206 18 : if (GET_MODE (x5) != i1)
4207 0 : return -1;
4208 : return 0;
4209 : }
4210 :
4211 : int
4212 14525 : pattern636 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
4213 : {
4214 14525 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4215 14525 : rtx x2;
4216 14525 : int res ATTRIBUTE_UNUSED;
4217 14525 : if (!register_operand (operands[0], i3)
4218 14525 : || GET_MODE (x1) != i3)
4219 : return -1;
4220 2162 : x2 = XEXP (x1, 0);
4221 2162 : if (GET_MODE (x2) != i2
4222 2162 : || !register_operand (operands[1], i1))
4223 518 : return -1;
4224 : return 0;
4225 : }
4226 :
4227 : int
4228 15081 : pattern637 (rtx x1)
4229 : {
4230 15081 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4231 15081 : rtx x2, x3, x4, x5, x6, x7;
4232 15081 : int res ATTRIBUTE_UNUSED;
4233 15081 : x2 = XEXP (x1, 0);
4234 15081 : x3 = XEXP (x2, 1);
4235 15081 : x4 = XVECEXP (x3, 0, 0);
4236 15081 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4237 : return -1;
4238 14013 : x5 = XVECEXP (x3, 0, 1);
4239 14013 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4240 : return -1;
4241 14013 : x6 = XVECEXP (x3, 0, 2);
4242 14013 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
4243 : return -1;
4244 14013 : x7 = XVECEXP (x3, 0, 3);
4245 14013 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
4246 14013 : || pattern636 (x1,
4247 : E_V8QImode,
4248 : E_V4QImode,
4249 : E_V4HImode) != 0)
4250 12737 : return -1;
4251 : return 0;
4252 : }
4253 :
4254 : int
4255 2257 : pattern640 (rtx x1, machine_mode i1)
4256 : {
4257 2257 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4258 2257 : rtx x2;
4259 2257 : int res ATTRIBUTE_UNUSED;
4260 2257 : if (!register_operand (operands[0], i1)
4261 2257 : || GET_MODE (x1) != i1)
4262 : return -1;
4263 2228 : x2 = XEXP (x1, 0);
4264 2228 : if (GET_MODE (x2) != i1
4265 2228 : || !register_operand (operands[1], i1)
4266 4330 : || !register_mmxmem_operand (operands[2], i1))
4267 589 : return -1;
4268 : return 0;
4269 : }
4270 :
4271 : int
4272 19 : pattern643 (rtx x1, machine_mode i1)
4273 : {
4274 19 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4275 19 : rtx x2;
4276 19 : int res ATTRIBUTE_UNUSED;
4277 19 : if (!register_operand (operands[0], i1)
4278 19 : || GET_MODE (x1) != i1)
4279 : return -1;
4280 19 : x2 = XEXP (x1, 0);
4281 19 : if (GET_MODE (x2) != i1
4282 19 : || !general_operand (operands[1], i1))
4283 10 : return -1;
4284 : return 0;
4285 : }
4286 :
4287 : int
4288 348 : pattern647 (rtx x1, machine_mode i1)
4289 : {
4290 348 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4291 348 : rtx x2, x3;
4292 348 : int res ATTRIBUTE_UNUSED;
4293 348 : x2 = XEXP (x1, 0);
4294 348 : if (GET_MODE (x2) != E_SImode
4295 348 : || !register_operand (operands[0], E_DImode)
4296 695 : || GET_MODE (x1) != E_DImode)
4297 : return -1;
4298 347 : x3 = XVECEXP (x2, 0, 0);
4299 347 : operands[1] = x3;
4300 347 : if (!register_operand (operands[1], E_SImode)
4301 347 : || !nonimmediate_operand (operands[2], i1))
4302 49 : return -1;
4303 : return 0;
4304 : }
4305 :
4306 : int
4307 0 : pattern651 (rtx x1, machine_mode i1)
4308 : {
4309 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4310 0 : rtx x2;
4311 0 : int res ATTRIBUTE_UNUSED;
4312 0 : if (!register_operand (operands[0], i1)
4313 0 : || GET_MODE (x1) != i1)
4314 : return -1;
4315 0 : x2 = XEXP (x1, 0);
4316 0 : switch (GET_MODE (x2))
4317 : {
4318 0 : case E_DImode:
4319 0 : if (!register_operand (operands[1], E_V64QImode)
4320 0 : || !nonimmediate_operand (operands[2], E_V64QImode))
4321 0 : return -1;
4322 : return 0;
4323 :
4324 0 : case E_SImode:
4325 0 : res = pattern648 ();
4326 0 : if (res >= 0)
4327 0 : return res + 1; /* [1, 2] */
4328 : return -1;
4329 :
4330 0 : case E_HImode:
4331 0 : res = pattern649 ();
4332 0 : if (res >= 0)
4333 0 : return res + 3; /* [3, 5] */
4334 : return -1;
4335 :
4336 0 : case E_QImode:
4337 0 : res = pattern650 ();
4338 0 : if (res >= 0)
4339 0 : return res + 6; /* [6, 11] */
4340 : return -1;
4341 :
4342 : default:
4343 : return -1;
4344 : }
4345 : }
4346 :
4347 : int
4348 777 : pattern656 (rtx x1)
4349 : {
4350 777 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4351 777 : rtx x2, x3, x4, x5;
4352 777 : int res ATTRIBUTE_UNUSED;
4353 777 : x2 = XEXP (x1, 0);
4354 777 : x3 = XEXP (x2, 0);
4355 777 : x4 = XEXP (x3, 1);
4356 777 : operands[2] = x4;
4357 777 : if (!register_operand (operands[2], E_QImode))
4358 : return -1;
4359 693 : x5 = XEXP (x1, 1);
4360 693 : operands[1] = x5;
4361 693 : switch (GET_MODE (operands[0]))
4362 : {
4363 365 : case E_SImode:
4364 365 : return pattern655 (x1,
4365 365 : E_SImode); /* [-1, 0] */
4366 :
4367 304 : case E_DImode:
4368 304 : if (pattern655 (x1,
4369 : E_DImode) != 0)
4370 16 : return -1;
4371 : return 1;
4372 :
4373 : default:
4374 : return -1;
4375 : }
4376 : }
4377 :
4378 : int
4379 806 : pattern663 (rtx x1, machine_mode i1)
4380 : {
4381 806 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4382 806 : rtx x2;
4383 806 : int res ATTRIBUTE_UNUSED;
4384 806 : if (!register_operand (operands[0], i1)
4385 806 : || GET_MODE (x1) != i1)
4386 : return -1;
4387 755 : x2 = XEXP (x1, 0);
4388 755 : if (GET_MODE (x2) != i1
4389 755 : || !nonimmediate_operand (operands[1], i1)
4390 1503 : || !register_operand (operands[2], i1))
4391 61 : return -1;
4392 : return 0;
4393 : }
4394 :
4395 : int
4396 2180 : pattern667 (rtx x1)
4397 : {
4398 2180 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4399 2180 : rtx x2, x3, x4;
4400 2180 : int res ATTRIBUTE_UNUSED;
4401 2180 : x2 = XEXP (x1, 0);
4402 2180 : x3 = XVECEXP (x2, 0, 0);
4403 2180 : operands[1] = x3;
4404 2180 : x4 = XEXP (x1, 2);
4405 2180 : operands[3] = x4;
4406 2180 : switch (GET_MODE (operands[0]))
4407 : {
4408 1040 : case E_V16QImode:
4409 1040 : return pattern666 (x1,
4410 : E_V16QImode,
4411 : E_HImode,
4412 1040 : E_V16HFmode); /* [-1, 0] */
4413 :
4414 1076 : case E_V32QImode:
4415 1076 : if (pattern666 (x1,
4416 : E_V32QImode,
4417 : E_SImode,
4418 : E_V32HFmode) != 0)
4419 124 : return -1;
4420 : return 1;
4421 :
4422 : default:
4423 : return -1;
4424 : }
4425 : }
4426 :
4427 : int
4428 1344 : pattern672 (rtx x1)
4429 : {
4430 1344 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4431 1344 : rtx x2, x3, x4;
4432 1344 : int res ATTRIBUTE_UNUSED;
4433 1344 : x2 = XEXP (x1, 0);
4434 1344 : if (GET_MODE (x2) != E_V16QImode
4435 1188 : || !register_operand (operands[0], E_V16QImode)
4436 2532 : || GET_MODE (x1) != E_V16QImode)
4437 : return -1;
4438 1188 : x3 = XVECEXP (x2, 0, 0);
4439 1188 : operands[1] = x3;
4440 1188 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
4441 1188 : || !nonimm_or_0_operand (operands[2], E_V16QImode))
4442 : return -1;
4443 1188 : x4 = XEXP (x1, 2);
4444 1188 : operands[3] = x4;
4445 1188 : if (!register_operand (operands[3], E_HImode))
4446 12 : return -1;
4447 : return 0;
4448 : }
4449 :
4450 : int
4451 1044 : pattern675 (rtx x1)
4452 : {
4453 1044 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4454 1044 : rtx x2, x3, x4;
4455 1044 : int res ATTRIBUTE_UNUSED;
4456 1044 : x2 = XEXP (x1, 0);
4457 1044 : x3 = XVECEXP (x2, 0, 0);
4458 1044 : operands[1] = x3;
4459 1044 : x4 = XEXP (x1, 2);
4460 1044 : operands[3] = x4;
4461 1044 : switch (GET_MODE (operands[0]))
4462 : {
4463 348 : case E_V64QImode:
4464 348 : return pattern674 (x1,
4465 : E_V64QImode,
4466 348 : E_DImode); /* [-1, 0] */
4467 :
4468 348 : case E_V16QImode:
4469 348 : if (pattern674 (x1,
4470 : E_V16QImode,
4471 : E_HImode) != 0)
4472 4 : return -1;
4473 : return 1;
4474 :
4475 348 : case E_V32QImode:
4476 348 : if (pattern674 (x1,
4477 : E_V32QImode,
4478 : E_SImode) != 0)
4479 4 : return -1;
4480 : return 2;
4481 :
4482 : default:
4483 : return -1;
4484 : }
4485 : }
4486 :
4487 : int
4488 244 : pattern680 (rtx x1, machine_mode i1)
4489 : {
4490 244 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4491 244 : int res ATTRIBUTE_UNUSED;
4492 244 : if (!register_operand (operands[0], i1)
4493 244 : || GET_MODE (x1) != i1)
4494 : return -1;
4495 212 : switch (GET_MODE (operands[1]))
4496 : {
4497 77 : case E_V8HFmode:
4498 77 : if (!vector_operand (operands[1], E_V8HFmode))
4499 3 : return -1;
4500 : return 0;
4501 :
4502 101 : case E_V8SFmode:
4503 101 : if (!nonimmediate_operand (operands[1], E_V8SFmode))
4504 3 : return -1;
4505 : return 1;
4506 :
4507 34 : case E_V8DFmode:
4508 34 : if (!vector_operand (operands[1], E_V8DFmode))
4509 2 : return -1;
4510 : return 2;
4511 :
4512 : default:
4513 : return -1;
4514 : }
4515 : }
4516 :
4517 : int
4518 396 : pattern683 (rtx x1)
4519 : {
4520 396 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4521 396 : int res ATTRIBUTE_UNUSED;
4522 396 : if (!register_operand (operands[0], E_V4DImode)
4523 396 : || GET_MODE (x1) != E_V4DImode)
4524 : return -1;
4525 358 : switch (GET_MODE (operands[1]))
4526 : {
4527 118 : case E_V8HFmode:
4528 118 : if (!register_operand (operands[1], E_V8HFmode))
4529 12 : return -1;
4530 : return 0;
4531 :
4532 120 : case E_V4DFmode:
4533 120 : if (!vector_operand (operands[1], E_V4DFmode))
4534 4 : return -1;
4535 : return 1;
4536 :
4537 120 : case E_V4SFmode:
4538 120 : if (!vector_operand (operands[1], E_V4SFmode))
4539 6 : return -1;
4540 : return 2;
4541 :
4542 : default:
4543 : return -1;
4544 : }
4545 : }
4546 :
4547 : int
4548 2068 : pattern687 (rtx x1)
4549 : {
4550 2068 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4551 2068 : rtx x2, x3, x4, x5;
4552 2068 : int res ATTRIBUTE_UNUSED;
4553 2068 : x2 = XVECEXP (x1, 0, 0);
4554 2068 : x3 = XEXP (x2, 2);
4555 2068 : if (XWINT (x3, 0) != 1L)
4556 : return -1;
4557 2024 : x4 = XVECEXP (x1, 0, 1);
4558 2024 : operands[3] = x4;
4559 2024 : x5 = XEXP (x2, 1);
4560 2024 : if (!rtx_equal_p (x5, operands[1]))
4561 : return -1;
4562 2012 : switch (GET_MODE (operands[0]))
4563 : {
4564 340 : case E_V8HFmode:
4565 340 : return pattern686 (x1,
4566 340 : E_V8HFmode); /* [-1, 0] */
4567 :
4568 352 : case E_V4SFmode:
4569 352 : if (pattern686 (x1,
4570 : E_V4SFmode) != 0)
4571 30 : return -1;
4572 : return 1;
4573 :
4574 1320 : case E_V2DFmode:
4575 1320 : if (pattern686 (x1,
4576 : E_V2DFmode) != 0)
4577 30 : return -1;
4578 : return 2;
4579 :
4580 : default:
4581 : return -1;
4582 : }
4583 : }
4584 :
4585 : int
4586 0 : pattern692 (rtx x1)
4587 : {
4588 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4589 0 : rtx x2, x3, x4, x5, x6, x7;
4590 0 : int res ATTRIBUTE_UNUSED;
4591 0 : x2 = XVECEXP (x1, 0, 0);
4592 0 : x3 = XEXP (x2, 0);
4593 0 : x4 = XEXP (x3, 0);
4594 0 : operands[1] = x4;
4595 0 : x5 = XEXP (x2, 1);
4596 0 : operands[2] = x5;
4597 0 : x6 = XEXP (x2, 2);
4598 0 : operands[3] = x6;
4599 0 : x7 = XVECEXP (x1, 0, 1);
4600 0 : operands[4] = x7;
4601 0 : if (!const48_operand (operands[4], E_SImode))
4602 : return -1;
4603 0 : switch (GET_MODE (operands[0]))
4604 : {
4605 0 : case E_V8HImode:
4606 0 : return pattern691 (x1,
4607 : E_QImode,
4608 : E_V8HImode,
4609 0 : E_V8HFmode); /* [-1, 0] */
4610 :
4611 0 : case E_V16HImode:
4612 0 : if (pattern691 (x1,
4613 : E_HImode,
4614 : E_V16HImode,
4615 : E_V16HFmode) != 0)
4616 0 : return -1;
4617 : return 1;
4618 :
4619 0 : case E_V32HImode:
4620 0 : if (pattern691 (x1,
4621 : E_SImode,
4622 : E_V32HImode,
4623 : E_V32HFmode) != 0)
4624 0 : return -1;
4625 : return 2;
4626 :
4627 0 : case E_V8SImode:
4628 0 : if (!register_operand (operands[0], E_V8SImode)
4629 0 : || GET_MODE (x1) != E_V8SImode
4630 0 : || GET_MODE (x2) != E_V8SImode
4631 0 : || GET_MODE (x3) != E_V8SImode
4632 0 : || !nonimm_or_0_operand (operands[2], E_V8SImode)
4633 0 : || !register_operand (operands[3], E_QImode))
4634 : return -1;
4635 0 : switch (GET_MODE (operands[1]))
4636 : {
4637 0 : case E_V8HFmode:
4638 0 : if (!register_operand (operands[1], E_V8HFmode))
4639 0 : return -1;
4640 : return 3;
4641 :
4642 0 : case E_V8DFmode:
4643 0 : if (!register_operand (operands[1], E_V8DFmode))
4644 0 : return -1;
4645 : return 4;
4646 :
4647 : default:
4648 : return -1;
4649 : }
4650 :
4651 0 : case E_V16SImode:
4652 0 : if (!register_operand (operands[0], E_V16SImode)
4653 0 : || GET_MODE (x1) != E_V16SImode
4654 0 : || GET_MODE (x2) != E_V16SImode
4655 0 : || GET_MODE (x3) != E_V16SImode
4656 0 : || !nonimm_or_0_operand (operands[2], E_V16SImode)
4657 0 : || !register_operand (operands[3], E_HImode))
4658 : return -1;
4659 0 : switch (GET_MODE (operands[1]))
4660 : {
4661 0 : case E_V16HFmode:
4662 0 : if (!register_operand (operands[1], E_V16HFmode))
4663 0 : return -1;
4664 : return 5;
4665 :
4666 0 : case E_V16SFmode:
4667 0 : if (!register_operand (operands[1], E_V16SFmode))
4668 0 : return -1;
4669 : return 6;
4670 :
4671 : default:
4672 : return -1;
4673 : }
4674 :
4675 0 : case E_V8DImode:
4676 0 : if (!register_operand (operands[0], E_V8DImode)
4677 0 : || GET_MODE (x1) != E_V8DImode
4678 0 : || GET_MODE (x2) != E_V8DImode
4679 0 : || GET_MODE (x3) != E_V8DImode
4680 0 : || !nonimm_or_0_operand (operands[2], E_V8DImode)
4681 0 : || !register_operand (operands[3], E_QImode))
4682 : return -1;
4683 0 : switch (GET_MODE (operands[1]))
4684 : {
4685 0 : case E_V8HFmode:
4686 0 : if (!register_operand (operands[1], E_V8HFmode))
4687 0 : return -1;
4688 : return 7;
4689 :
4690 0 : case E_V8DFmode:
4691 0 : if (!register_operand (operands[1], E_V8DFmode))
4692 0 : return -1;
4693 : return 8;
4694 :
4695 0 : case E_V8SFmode:
4696 0 : if (!register_operand (operands[1], E_V8SFmode))
4697 0 : return -1;
4698 : return 9;
4699 :
4700 : default:
4701 : return -1;
4702 : }
4703 :
4704 : default:
4705 : return -1;
4706 : }
4707 : }
4708 :
4709 : int
4710 392 : pattern716 (rtx x1)
4711 : {
4712 392 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4713 392 : rtx x2, x3, x4, x5, x6;
4714 392 : int res ATTRIBUTE_UNUSED;
4715 392 : x2 = XEXP (x1, 0);
4716 392 : x3 = XEXP (x2, 0);
4717 392 : x4 = XEXP (x3, 0);
4718 392 : operands[2] = x4;
4719 392 : x5 = XEXP (x3, 1);
4720 392 : operands[3] = x5;
4721 392 : x6 = XEXP (x1, 1);
4722 392 : operands[4] = x6;
4723 392 : switch (GET_MODE (operands[0]))
4724 : {
4725 90 : case E_V8SFmode:
4726 90 : return pattern715 (x1,
4727 90 : E_V8SFmode); /* [-1, 0] */
4728 :
4729 108 : case E_V4SFmode:
4730 108 : if (pattern715 (x1,
4731 : E_V4SFmode) != 0)
4732 100 : return -1;
4733 : return 1;
4734 :
4735 0 : case E_V4DFmode:
4736 0 : if (pattern715 (x1,
4737 : E_V4DFmode) != 0)
4738 0 : return -1;
4739 : return 2;
4740 :
4741 105 : case E_V2DFmode:
4742 105 : if (pattern715 (x1,
4743 : E_V2DFmode) != 0)
4744 105 : return -1;
4745 : return 3;
4746 :
4747 : default:
4748 : return -1;
4749 : }
4750 : }
4751 :
4752 : int
4753 5538 : pattern721 (rtx x1)
4754 : {
4755 5538 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4756 5538 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4757 5538 : rtx x10, x11;
4758 5538 : int res ATTRIBUTE_UNUSED;
4759 5538 : x2 = XEXP (x1, 0);
4760 5538 : x3 = XEXP (x2, 0);
4761 5538 : x4 = XEXP (x3, 0);
4762 5538 : switch (GET_CODE (x4))
4763 : {
4764 15 : case VEC_CONCAT:
4765 15 : return pattern719 (x1); /* [-1, 5] */
4766 :
4767 0 : case VEC_MERGE:
4768 0 : if (GET_MODE (x4) != E_V4SImode)
4769 : return -1;
4770 0 : x5 = XEXP (x4, 0);
4771 0 : if (GET_CODE (x5) != VEC_DUPLICATE
4772 0 : || GET_MODE (x5) != E_V4SImode)
4773 : return -1;
4774 0 : x6 = XEXP (x4, 1);
4775 0 : if (GET_CODE (x6) != CONST_VECTOR
4776 0 : || XVECLEN (x6, 0) != 4
4777 0 : || GET_MODE (x6) != E_V4SImode)
4778 : return -1;
4779 0 : x7 = XVECEXP (x6, 0, 0);
4780 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4781 : return -1;
4782 0 : x8 = XVECEXP (x6, 0, 1);
4783 0 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4784 : return -1;
4785 0 : x9 = XVECEXP (x6, 0, 2);
4786 0 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4787 : return -1;
4788 0 : x10 = XVECEXP (x6, 0, 3);
4789 0 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4790 : return -1;
4791 0 : x11 = XEXP (x4, 2);
4792 0 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4793 : return -1;
4794 0 : res = pattern720 (x1);
4795 0 : if (res >= 0)
4796 0 : return res + 6; /* [6, 8] */
4797 : return -1;
4798 :
4799 : default:
4800 : return -1;
4801 : }
4802 : }
4803 :
4804 : int
4805 12452 : pattern731 (rtx x1)
4806 : {
4807 12452 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4808 12452 : rtx x2, x3, x4, x5;
4809 12452 : int res ATTRIBUTE_UNUSED;
4810 12452 : x2 = XEXP (x1, 0);
4811 12452 : operands[0] = x2;
4812 12452 : x3 = XEXP (x1, 1);
4813 12452 : x4 = XEXP (x3, 1);
4814 12452 : x5 = XEXP (x4, 0);
4815 12452 : operands[2] = x5;
4816 12452 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
4817 : return -1;
4818 9190 : switch (GET_MODE (operands[0]))
4819 : {
4820 236 : case E_QImode:
4821 236 : return pattern729 (x3,
4822 236 : E_QImode); /* [-1, 0] */
4823 :
4824 11 : case E_HImode:
4825 11 : if (pattern729 (x3,
4826 : E_HImode) != 0)
4827 0 : return -1;
4828 : return 1;
4829 :
4830 494 : case E_SImode:
4831 494 : if (pattern730 (x3,
4832 : E_SImode) != 0)
4833 2 : return -1;
4834 : return 2;
4835 :
4836 8401 : case E_DImode:
4837 8401 : if (pattern730 (x3,
4838 : E_DImode) != 0)
4839 0 : return -1;
4840 : return 3;
4841 :
4842 : default:
4843 : return -1;
4844 : }
4845 : }
4846 :
4847 : int
4848 233 : pattern738 (rtx x1, machine_mode i1)
4849 : {
4850 233 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4851 233 : int res ATTRIBUTE_UNUSED;
4852 233 : if (!register_operand (operands[0], i1)
4853 217 : || GET_MODE (x1) != i1
4854 217 : || !register_operand (operands[1], i1)
4855 386 : || !register_operand (operands[2], i1))
4856 136 : return -1;
4857 : return 0;
4858 : }
4859 :
4860 : int
4861 166 : pattern743 (rtx x1, machine_mode i1, int i2)
4862 : {
4863 166 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4864 166 : rtx x2, x3, x4, x5, x6, x7, x8;
4865 166 : int res ATTRIBUTE_UNUSED;
4866 166 : x2 = XVECEXP (x1, 0, 0);
4867 166 : x3 = XEXP (x2, 1);
4868 166 : if (GET_MODE (x3) != E_DImode)
4869 : return -1;
4870 166 : x4 = XVECEXP (x3, 0, 0);
4871 166 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4872 : return -1;
4873 166 : x5 = XVECEXP (x1, 0, 1);
4874 166 : if (GET_CODE (x5) != SET)
4875 : return -1;
4876 166 : x6 = XEXP (x5, 1);
4877 166 : if (GET_CODE (x6) != UNSPEC_VOLATILE
4878 166 : || XVECLEN (x6, 0) != 1
4879 166 : || XINT (x6, 1) != i2
4880 166 : || GET_MODE (x6) != i1)
4881 : return -1;
4882 166 : x7 = XVECEXP (x6, 0, 0);
4883 166 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4884 166 : || !register_operand (operands[0], E_DImode))
4885 : return -1;
4886 166 : x8 = XEXP (x5, 0);
4887 166 : operands[1] = x8;
4888 166 : if (!register_operand (operands[1], i1))
4889 0 : return -1;
4890 : return 0;
4891 : }
4892 :
4893 : int
4894 264 : pattern748 (rtx x1)
4895 : {
4896 264 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4897 264 : rtx x2, x3, x4, x5, x6, x7, x8;
4898 264 : int res ATTRIBUTE_UNUSED;
4899 264 : x2 = XVECEXP (x1, 0, 0);
4900 264 : x3 = XEXP (x2, 0);
4901 264 : if (GET_CODE (x3) != REG
4902 264 : || REGNO (x3) != 17
4903 528 : || GET_MODE (x3) != E_CCmode)
4904 : return -1;
4905 264 : x4 = XVECEXP (x1, 0, 1);
4906 264 : if (GET_CODE (x4) != CLOBBER)
4907 : return -1;
4908 264 : x5 = XVECEXP (x1, 0, 2);
4909 264 : if (GET_CODE (x5) != CLOBBER)
4910 : return -1;
4911 264 : x6 = XEXP (x2, 1);
4912 264 : x7 = XVECEXP (x6, 0, 0);
4913 264 : operands[2] = x7;
4914 264 : if (!register_operand (operands[2], E_V16QImode))
4915 : return -1;
4916 264 : x8 = XVECEXP (x6, 0, 1);
4917 264 : operands[3] = x8;
4918 264 : return 0;
4919 : }
4920 :
4921 : int
4922 125055 : pattern752 (rtx x1, machine_mode i1, machine_mode i2)
4923 : {
4924 125055 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4925 125055 : rtx x2, x3, x4, x5, x6, x7;
4926 125055 : int res ATTRIBUTE_UNUSED;
4927 125055 : x2 = XVECEXP (x1, 0, 0);
4928 125055 : x3 = XEXP (x2, 1);
4929 125055 : x4 = XEXP (x3, 1);
4930 125055 : if (GET_MODE (x4) != i2)
4931 : return -1;
4932 125055 : x5 = XEXP (x4, 0);
4933 125055 : if (GET_MODE (x5) != i1
4934 125055 : || !nonimmediate_operand (operands[0], i1))
4935 : return -1;
4936 125055 : x6 = XVECEXP (x1, 0, 1);
4937 125055 : x7 = XEXP (x6, 1);
4938 125055 : if (GET_MODE (x7) != i1)
4939 0 : return -1;
4940 : return 0;
4941 : }
4942 :
4943 : int
4944 858 : pattern757 (rtx x1, int i1, int i2)
4945 : {
4946 858 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4947 858 : rtx x2, x3, x4, x5, x6, x7;
4948 858 : int res ATTRIBUTE_UNUSED;
4949 858 : x2 = XVECEXP (x1, 0, 0);
4950 858 : x3 = XEXP (x2, 1);
4951 858 : if (XINT (x3, 1) != i1
4952 858 : || GET_MODE (x3) != E_SImode)
4953 : return -1;
4954 448 : x4 = XVECEXP (x1, 0, 1);
4955 448 : if (GET_CODE (x4) != SET)
4956 : return -1;
4957 448 : x5 = XEXP (x4, 1);
4958 448 : if (GET_CODE (x5) != UNSPEC
4959 448 : || XVECLEN (x5, 0) != i2
4960 448 : || XINT (x5, 1) != i1
4961 448 : || GET_MODE (x5) != E_V16QImode)
4962 : return -1;
4963 448 : x6 = XVECEXP (x1, 0, 2);
4964 448 : if (GET_CODE (x6) != SET)
4965 : return -1;
4966 448 : x7 = XEXP (x6, 1);
4967 448 : if (GET_CODE (x7) != UNSPEC
4968 448 : || XVECLEN (x7, 0) != i2
4969 448 : || XINT (x7, 1) != i1
4970 896 : || pattern756 (x6,
4971 : E_CCmode,
4972 : 17) != 0)
4973 0 : return -1;
4974 : return 0;
4975 : }
4976 :
4977 : int
4978 2514991 : pattern762 (rtx x1, machine_mode i1)
4979 : {
4980 2514991 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4981 2514991 : rtx x2, x3;
4982 2514991 : int res ATTRIBUTE_UNUSED;
4983 2514991 : if (!register_operand (operands[0], i1)
4984 2494295 : || GET_CODE (x1) != PARALLEL
4985 2780047 : || XVECLEN (x1, 0) != 2)
4986 : return -1;
4987 263037 : x2 = XVECEXP (x1, 0, 0);
4988 263037 : if (GET_CODE (x2) != SET)
4989 : return -1;
4990 262986 : x3 = XEXP (x2, 1);
4991 262986 : switch (GET_CODE (x3))
4992 : {
4993 : case PLUS:
4994 : case MINUS:
4995 : case AND:
4996 : case IOR:
4997 : case XOR:
4998 : return 0;
4999 :
5000 : default:
5001 : return -1;
5002 : }
5003 : }
5004 :
5005 : int
5006 3927442 : pattern765 (rtx x1, machine_mode i1)
5007 : {
5008 3927442 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5009 3927442 : rtx x2, x3, x4, x5, x6;
5010 3927442 : int res ATTRIBUTE_UNUSED;
5011 3927442 : if (!register_operand (operands[0], i1)
5012 3927442 : || GET_CODE (x1) != SET)
5013 : return -1;
5014 3100001 : x2 = XEXP (x1, 1);
5015 3100001 : if (GET_CODE (x2) != PLUS
5016 274466 : || GET_MODE (x2) != i1)
5017 : return -1;
5018 266959 : x3 = XEXP (x1, 0);
5019 266959 : operands[3] = x3;
5020 266959 : if (!register_operand (operands[3], i1))
5021 : return -1;
5022 266959 : x4 = XEXP (x2, 0);
5023 266959 : operands[4] = x4;
5024 266959 : if (!register_operand (operands[4], i1))
5025 : return -1;
5026 219612 : x5 = XEXP (x2, 1);
5027 219612 : operands[2] = x5;
5028 219612 : if (!x86_64_nonmemory_operand (operands[2], i1))
5029 : return -1;
5030 210853 : x6 = PATTERN (peep2_next_insn (2));
5031 210853 : return pattern763 (x6,
5032 210853 : i1); /* [-1, 0] */
5033 : }
5034 :
5035 : int
5036 58514 : pattern773 (rtx x1, machine_mode i1)
5037 : {
5038 58514 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5039 58514 : rtx x2;
5040 58514 : int res ATTRIBUTE_UNUSED;
5041 58514 : if (!register_operand (operands[0], i1)
5042 58514 : || GET_MODE (x1) != i1)
5043 : return -1;
5044 56415 : x2 = XEXP (x1, 0);
5045 56415 : if (GET_MODE (x2) != i1
5046 56415 : || !register_operand (operands[1], i1)
5047 111894 : || !nonimmediate_operand (operands[2], i1))
5048 7425 : return -1;
5049 : return 0;
5050 : }
5051 :
5052 : int
5053 16845 : pattern777 (machine_mode i1)
5054 : {
5055 16845 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5056 16845 : int res ATTRIBUTE_UNUSED;
5057 16845 : if (!register_operand (operands[0], i1)
5058 16722 : || !ix86_comparison_uns_operator (operands[1], i1)
5059 16692 : || !register_operand (operands[2], i1)
5060 28171 : || !register_operand (operands[3], i1))
5061 16773 : return -1;
5062 : return 0;
5063 : }
5064 :
5065 : int
5066 120 : pattern781 (rtx x1)
5067 : {
5068 120 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5069 120 : rtx x2, x3;
5070 120 : int res ATTRIBUTE_UNUSED;
5071 120 : x2 = XEXP (x1, 1);
5072 120 : if (GET_MODE (x2) != E_V32SImode)
5073 : return -1;
5074 120 : x3 = XEXP (x1, 0);
5075 120 : if (REGNO (x3) != 92
5076 120 : || GET_MODE (x3) != E_V32SImode
5077 120 : || !const_0_to_7_operand (operands[0], E_QImode)
5078 120 : || !register_operand (operands[1], E_V16SImode)
5079 234 : || !nonmemory_operand (operands[2], E_SImode))
5080 6 : return -1;
5081 : return 0;
5082 : }
5083 :
5084 : int
5085 476 : pattern786 (rtx x1)
5086 : {
5087 476 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5088 476 : rtx x2, x3, x4, x5;
5089 476 : int res ATTRIBUTE_UNUSED;
5090 476 : x2 = XEXP (x1, 0);
5091 476 : x3 = XEXP (x2, 1);
5092 476 : x4 = XEXP (x3, 1);
5093 476 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5094 : return -1;
5095 473 : x5 = XEXP (x3, 0);
5096 473 : operands[3] = x5;
5097 473 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
5098 : return -1;
5099 470 : switch (GET_MODE (operands[0]))
5100 : {
5101 154 : case E_SImode:
5102 154 : return pattern785 (x1,
5103 154 : E_SImode); /* [-1, 0] */
5104 :
5105 316 : case E_DImode:
5106 316 : if (pattern785 (x1,
5107 : E_DImode) != 0)
5108 314 : return -1;
5109 : return 1;
5110 :
5111 : default:
5112 : return -1;
5113 : }
5114 : }
5115 :
5116 : int
5117 54391 : pattern793 (rtx x1)
5118 : {
5119 54391 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5120 54391 : rtx x2, x3;
5121 54391 : int res ATTRIBUTE_UNUSED;
5122 54391 : x2 = XEXP (x1, 1);
5123 54391 : switch (GET_CODE (x2))
5124 : {
5125 12468 : case REG:
5126 12468 : case SUBREG:
5127 12468 : case MEM:
5128 12468 : if (!rtx_equal_p (x2, operands[1]))
5129 : return -1;
5130 4094 : switch (GET_MODE (operands[0]))
5131 : {
5132 1584 : case E_SImode:
5133 1584 : return pattern791 (x1,
5134 1584 : E_SImode); /* [-1, 0] */
5135 :
5136 1989 : case E_DImode:
5137 1989 : if (pattern791 (x1,
5138 : E_DImode) != 0)
5139 0 : return -1;
5140 : return 1;
5141 :
5142 : default:
5143 : return -1;
5144 : }
5145 :
5146 99 : case NOT:
5147 99 : x3 = XEXP (x2, 0);
5148 99 : if (!rtx_equal_p (x3, operands[1]))
5149 : return -1;
5150 84 : switch (GET_MODE (operands[0]))
5151 : {
5152 0 : case E_SImode:
5153 0 : if (pattern792 (x1,
5154 : E_SImode) != 0)
5155 0 : return -1;
5156 : return 2;
5157 :
5158 84 : case E_DImode:
5159 84 : if (pattern792 (x1,
5160 : E_DImode) != 0)
5161 0 : return -1;
5162 : return 3;
5163 :
5164 : default:
5165 : return -1;
5166 : }
5167 :
5168 : default:
5169 : return -1;
5170 : }
5171 : }
5172 :
5173 : int
5174 3034 : pattern804 (rtx x1)
5175 : {
5176 3034 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5177 3034 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5178 3034 : int res ATTRIBUTE_UNUSED;
5179 3034 : x2 = XEXP (x1, 2);
5180 3034 : if (XWINT (x2, 0) != 1L)
5181 : return -1;
5182 3034 : x3 = XEXP (x1, 0);
5183 3034 : x4 = XEXP (x3, 0);
5184 3034 : x5 = XVECEXP (x4, 0, 0);
5185 3034 : operands[1] = x5;
5186 3034 : x6 = XVECEXP (x4, 0, 1);
5187 3034 : operands[2] = x6;
5188 3034 : x7 = XEXP (x3, 1);
5189 3034 : operands[3] = x7;
5190 3034 : x8 = XEXP (x3, 2);
5191 3034 : operands[4] = x8;
5192 3034 : if (!register_operand (operands[4], E_QImode))
5193 : return -1;
5194 2998 : x9 = XEXP (x1, 1);
5195 2998 : if (!rtx_equal_p (x9, operands[1]))
5196 : return -1;
5197 2998 : switch (GET_MODE (operands[0]))
5198 : {
5199 770 : case E_V8HFmode:
5200 770 : return pattern803 (x1,
5201 770 : E_V8HFmode); /* [-1, 0] */
5202 :
5203 1196 : case E_V4SFmode:
5204 1196 : if (pattern803 (x1,
5205 : E_V4SFmode) != 0)
5206 24 : return -1;
5207 : return 1;
5208 :
5209 1032 : case E_V2DFmode:
5210 1032 : if (pattern803 (x1,
5211 : E_V2DFmode) != 0)
5212 24 : return -1;
5213 : return 2;
5214 :
5215 : default:
5216 : return -1;
5217 : }
5218 : }
5219 :
5220 : int
5221 84159 : pattern808 (rtx x1, machine_mode i1, machine_mode i2)
5222 : {
5223 84159 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5224 84159 : rtx x2, x3;
5225 84159 : int res ATTRIBUTE_UNUSED;
5226 84159 : if (!register_operand (operands[0], i2)
5227 84159 : || GET_MODE (x1) != i2)
5228 : return -1;
5229 84139 : x2 = XEXP (x1, 0);
5230 84139 : if (GET_MODE (x2) != i2)
5231 : return -1;
5232 84139 : x3 = XEXP (x2, 0);
5233 84139 : if (GET_MODE (x3) != i1)
5234 0 : return -1;
5235 : return 0;
5236 : }
5237 :
5238 : int
5239 1503 : pattern810 (rtx x1, machine_mode i1, machine_mode i2)
5240 : {
5241 1503 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5242 1503 : rtx x2, x3, x4;
5243 1503 : int res ATTRIBUTE_UNUSED;
5244 1503 : if (!register_operand (operands[0], i1)
5245 1503 : || GET_MODE (x1) != i1)
5246 : return -1;
5247 1132 : x2 = XEXP (x1, 0);
5248 1132 : if (GET_MODE (x2) != i1)
5249 : return -1;
5250 1132 : x3 = XEXP (x2, 0);
5251 1132 : operands[1] = x3;
5252 1132 : if (!nonimmediate_operand (operands[1], i2))
5253 : return -1;
5254 811 : x4 = XEXP (x1, 1);
5255 811 : operands[2] = x4;
5256 811 : if (!reg_or_0_operand (operands[2], i1)
5257 811 : || !const_int_operand (operands[3], E_SImode))
5258 22 : return -1;
5259 : return 0;
5260 : }
5261 :
5262 : int
5263 3994 : pattern815 (rtx x1)
5264 : {
5265 3994 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5266 3994 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5267 3994 : rtx x10;
5268 3994 : int res ATTRIBUTE_UNUSED;
5269 3994 : x2 = XVECEXP (x1, 0, 0);
5270 3994 : x3 = XEXP (x2, 2);
5271 3994 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5272 : return -1;
5273 3994 : x4 = XEXP (x2, 0);
5274 3994 : x5 = XEXP (x4, 0);
5275 3994 : x6 = XEXP (x5, 0);
5276 3994 : operands[1] = x6;
5277 3994 : x7 = XEXP (x5, 1);
5278 3994 : operands[2] = x7;
5279 3994 : x8 = XEXP (x4, 1);
5280 3994 : operands[3] = x8;
5281 3994 : x9 = XEXP (x4, 2);
5282 3994 : operands[4] = x9;
5283 3994 : if (!register_operand (operands[4], E_QImode))
5284 : return -1;
5285 3958 : x10 = XVECEXP (x1, 0, 1);
5286 3958 : operands[5] = x10;
5287 3958 : if (!const_4_or_8_to_11_operand (operands[5], E_SImode))
5288 : return -1;
5289 3958 : return pattern814 (x1); /* [-1, 2] */
5290 : }
5291 :
5292 : int
5293 2191 : pattern823 (rtx x1, machine_mode i1)
5294 : {
5295 2191 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5296 2191 : int res ATTRIBUTE_UNUSED;
5297 2191 : if (!register_operand (operands[0], i1)
5298 2179 : || GET_MODE (x1) != i1
5299 2179 : || !register_operand (operands[2], i1)
5300 3861 : || !memory_operand (operands[1], i1))
5301 655 : return -1;
5302 : return 0;
5303 : }
5304 :
5305 : int
5306 179 : pattern829 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
5307 : {
5308 179 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5309 179 : rtx x2, x3;
5310 179 : int res ATTRIBUTE_UNUSED;
5311 179 : if (!register_operand (operands[0], i3)
5312 179 : || GET_MODE (x1) != i3)
5313 : return -1;
5314 160 : x2 = XEXP (x1, 0);
5315 160 : if (GET_MODE (x2) != i2
5316 160 : || !vector_operand (operands[2], i1))
5317 : return -1;
5318 160 : x3 = XEXP (x1, 1);
5319 160 : if (GET_MODE (x3) != i2
5320 160 : || !register_operand (operands[1], i1))
5321 10 : return -1;
5322 : return 0;
5323 : }
5324 :
5325 : int
5326 197290 : pattern833 (rtx x1, machine_mode i1, machine_mode i2)
5327 : {
5328 197290 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5329 197290 : int res ATTRIBUTE_UNUSED;
5330 197290 : if (!register_operand (operands[0], i2)
5331 190948 : || GET_MODE (x1) != i2
5332 190948 : || !nonimmediate_operand (operands[1], i1)
5333 380010 : || !nonimm_or_0_operand (operands[2], i1))
5334 21619 : return -1;
5335 : return 0;
5336 : }
5337 :
5338 : int
5339 192904 : pattern837 (machine_mode i1)
5340 : {
5341 192904 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5342 192904 : int res ATTRIBUTE_UNUSED;
5343 192904 : if (!register_operand (operands[0], i1)
5344 188475 : || !ix86_comparison_int_operator (operands[1], i1)
5345 188291 : || !register_operand (operands[2], i1)
5346 294493 : || !nonimmediate_operand (operands[3], i1))
5347 188879 : return -1;
5348 : return 0;
5349 : }
5350 :
5351 : int
5352 1054 : pattern842 (rtx x1, machine_mode i1, machine_mode i2)
5353 : {
5354 1054 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5355 1054 : rtx x2;
5356 1054 : int res ATTRIBUTE_UNUSED;
5357 1054 : if (!register_operand (operands[0], i1)
5358 1054 : || GET_MODE (x1) != i1)
5359 : return -1;
5360 1033 : x2 = XEXP (x1, 0);
5361 1033 : if (GET_MODE (x2) != i2
5362 1033 : || !nonimmediate_operand (operands[1], i1)
5363 2022 : || !const0_operand (operands[2], i1))
5364 418 : return -1;
5365 : return 0;
5366 : }
5367 :
5368 : int
5369 1408574 : pattern846 (rtx x1)
5370 : {
5371 1408574 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5372 1408574 : rtx x2, x3, x4, x5;
5373 1408574 : int res ATTRIBUTE_UNUSED;
5374 1408574 : x2 = XEXP (x1, 1);
5375 1408574 : operands[3] = x2;
5376 1408574 : if (!avx_vbroadcast128_operand (operands[3], E_VOIDmode))
5377 : return -1;
5378 150 : x3 = XEXP (x1, 0);
5379 150 : x4 = XEXP (x3, 1);
5380 150 : operands[2] = x4;
5381 150 : x5 = XVECEXP (x2, 0, 0);
5382 150 : operands[4] = x5;
5383 150 : if (!const_int_operand (operands[4], E_VOIDmode))
5384 : return -1;
5385 150 : switch (GET_MODE (operands[0]))
5386 : {
5387 0 : case E_V32QImode:
5388 0 : return pattern845 (x1,
5389 : E_V16QImode,
5390 0 : E_V32QImode); /* [-1, 0] */
5391 :
5392 0 : case E_V16HImode:
5393 0 : if (pattern845 (x1,
5394 : E_V8HImode,
5395 : E_V16HImode) != 0)
5396 0 : return -1;
5397 : return 1;
5398 :
5399 33 : case E_V8SImode:
5400 33 : if (pattern845 (x1,
5401 : E_V4SImode,
5402 : E_V8SImode) != 0)
5403 33 : return -1;
5404 : return 2;
5405 :
5406 0 : case E_V4DImode:
5407 0 : if (pattern845 (x1,
5408 : E_V2DImode,
5409 : E_V4DImode) != 0)
5410 0 : return -1;
5411 : return 3;
5412 :
5413 6 : case E_V8SFmode:
5414 6 : if (pattern845 (x1,
5415 : E_V4SFmode,
5416 : E_V8SFmode) != 0)
5417 6 : return -1;
5418 : return 4;
5419 :
5420 45 : case E_V4DFmode:
5421 45 : if (pattern845 (x1,
5422 : E_V2DFmode,
5423 : E_V4DFmode) != 0)
5424 7 : return -1;
5425 : return 5;
5426 :
5427 0 : case E_V16HFmode:
5428 0 : if (pattern845 (x1,
5429 : E_V8HFmode,
5430 : E_V16HFmode) != 0)
5431 0 : return -1;
5432 : return 6;
5433 :
5434 0 : case E_V16BFmode:
5435 0 : if (pattern845 (x1,
5436 : E_V8BFmode,
5437 : E_V16BFmode) != 0)
5438 0 : return -1;
5439 : return 7;
5440 :
5441 : default:
5442 : return -1;
5443 : }
5444 : }
5445 :
5446 : int
5447 955 : pattern854 (rtx x1, machine_mode i1, int i2, int i3, rtx_code i4)
5448 : {
5449 955 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5450 955 : int res ATTRIBUTE_UNUSED;
5451 955 : if (GET_CODE (x1) != i4
5452 955 : || XVECLEN (x1, 0) != i3
5453 955 : || XINT (x1, 1) != i2
5454 955 : || GET_MODE (x1) != i1)
5455 0 : return -1;
5456 : return 0;
5457 : }
5458 :
5459 : int
5460 362034 : pattern857 (rtx x1, machine_mode i1)
5461 : {
5462 362034 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5463 362034 : rtx x2, x3;
5464 362034 : int res ATTRIBUTE_UNUSED;
5465 362034 : x2 = XEXP (x1, 0);
5466 362034 : if (GET_CODE (x2) != REG
5467 362034 : || REGNO (x2) != 17
5468 724068 : || GET_MODE (x2) != i1)
5469 : return -1;
5470 362003 : x3 = XEXP (x1, 1);
5471 362003 : if (GET_MODE (x3) != i1)
5472 0 : return -1;
5473 : return 0;
5474 : }
5475 :
5476 : int
5477 125 : pattern860 (rtx x1, int *pnum_clobbers)
5478 : {
5479 125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5480 125 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5481 125 : int res ATTRIBUTE_UNUSED;
5482 125 : x2 = XVECEXP (x1, 0, 0);
5483 125 : x3 = XEXP (x2, 1);
5484 125 : x4 = XEXP (x3, 0);
5485 125 : x5 = XEXP (x4, 0);
5486 125 : if (GET_MODE (x5) != E_SImode)
5487 : return -1;
5488 103 : x6 = XEXP (x3, 1);
5489 103 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
5490 : return -1;
5491 0 : x7 = XEXP (x2, 0);
5492 0 : operands[0] = x7;
5493 0 : if (!register_operand (operands[0], E_DImode)
5494 0 : || GET_MODE (x3) != E_DImode
5495 0 : || GET_MODE (x4) != E_DImode)
5496 : return -1;
5497 0 : x8 = XEXP (x5, 0);
5498 0 : operands[1] = x8;
5499 0 : if (!nonimmediate_operand (operands[1], E_SImode))
5500 : return -1;
5501 0 : x9 = XVECEXP (x1, 0, 1);
5502 0 : return pattern859 (x9, pnum_clobbers,
5503 0 : E_DImode); /* [-1, 1] */
5504 : }
5505 :
5506 : int
5507 9092098 : pattern864 (rtx x1)
5508 : {
5509 9092098 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5510 9092098 : rtx x2, x3, x4, x5;
5511 9092098 : int res ATTRIBUTE_UNUSED;
5512 9092098 : if (!nonmemory_operand (operands[2], E_QImode))
5513 : return -1;
5514 9049348 : x2 = XVECEXP (x1, 0, 1);
5515 9049348 : if (GET_CODE (x2) != CLOBBER)
5516 : return -1;
5517 8611074 : x3 = XEXP (x2, 0);
5518 8611074 : if (GET_CODE (x3) != REG
5519 8611045 : || REGNO (x3) != 17
5520 17222119 : || GET_MODE (x3) != E_CCmode)
5521 : return -1;
5522 8611045 : x4 = XVECEXP (x1, 0, 0);
5523 8611045 : x5 = XEXP (x4, 0);
5524 8611045 : switch (GET_CODE (x5))
5525 : {
5526 : case REG:
5527 : case SUBREG:
5528 : case MEM:
5529 : return 0;
5530 :
5531 102 : case STRICT_LOW_PART:
5532 102 : return 1;
5533 :
5534 : default:
5535 : return -1;
5536 : }
5537 : }
5538 :
5539 : int
5540 57 : pattern866 (rtx x1)
5541 : {
5542 57 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5543 57 : rtx x2, x3, x4;
5544 57 : int res ATTRIBUTE_UNUSED;
5545 57 : x2 = XVECEXP (x1, 0, 1);
5546 57 : if (GET_CODE (x2) != UNSPEC
5547 55 : || XVECLEN (x2, 0) != 1
5548 55 : || XINT (x2, 1) != 35)
5549 : return -1;
5550 55 : x3 = XVECEXP (x1, 0, 2);
5551 55 : if (GET_CODE (x3) != CLOBBER)
5552 : return -1;
5553 55 : x4 = XEXP (x3, 0);
5554 55 : if (GET_CODE (x4) != REG
5555 55 : || REGNO (x4) != 17
5556 110 : || GET_MODE (x4) != E_CCmode)
5557 : return -1;
5558 55 : return pattern567 (x1); /* [-1, 1] */
5559 : }
5560 :
5561 : int
5562 1490 : pattern870 (rtx x1)
5563 : {
5564 1490 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5565 1490 : rtx x2, x3, x4;
5566 1490 : int res ATTRIBUTE_UNUSED;
5567 1490 : x2 = XVECEXP (x1, 0, 1);
5568 1490 : if (GET_CODE (x2) != UNSPEC
5569 1490 : || XVECLEN (x2, 0) != 1
5570 1490 : || XINT (x2, 1) != 35)
5571 : return -1;
5572 1490 : x3 = XVECEXP (x1, 0, 2);
5573 1490 : x4 = XEXP (x3, 0);
5574 1490 : if (GET_CODE (x4) != REG
5575 1490 : || REGNO (x4) != 17
5576 2980 : || GET_MODE (x4) != E_CCmode)
5577 0 : return -1;
5578 : return 0;
5579 : }
5580 :
5581 : int
5582 184 : pattern873 (rtx x1)
5583 : {
5584 184 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5585 184 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5586 184 : rtx x10;
5587 184 : int res ATTRIBUTE_UNUSED;
5588 184 : x2 = XVECEXP (x1, 0, 1);
5589 184 : if (GET_CODE (x2) != UNSPEC
5590 164 : || XVECLEN (x2, 0) != 1
5591 164 : || XINT (x2, 1) != 35)
5592 : return -1;
5593 164 : x3 = XVECEXP (x1, 0, 2);
5594 164 : if (GET_CODE (x3) != CLOBBER)
5595 : return -1;
5596 164 : x4 = XEXP (x3, 0);
5597 164 : if (GET_CODE (x4) != REG
5598 164 : || REGNO (x4) != 17
5599 328 : || GET_MODE (x4) != E_CCmode)
5600 : return -1;
5601 164 : x5 = XVECEXP (x1, 0, 0);
5602 164 : x6 = XEXP (x5, 0);
5603 164 : operands[0] = x6;
5604 164 : x7 = XEXP (x5, 1);
5605 164 : x8 = XEXP (x7, 0);
5606 164 : x9 = XEXP (x8, 0);
5607 164 : operands[1] = x9;
5608 164 : if (!nonimmediate_operand (operands[1], E_SImode))
5609 : return -1;
5610 164 : x10 = XVECEXP (x2, 0, 0);
5611 164 : operands[2] = x10;
5612 164 : if (!register_operand (operands[2], E_DImode))
5613 0 : return -1;
5614 : return 0;
5615 : }
5616 :
5617 : int
5618 5766 : pattern881 (rtx x1)
5619 : {
5620 5766 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5621 5766 : rtx x2, x3, x4, x5;
5622 5766 : int res ATTRIBUTE_UNUSED;
5623 5766 : x2 = XVECEXP (x1, 0, 1);
5624 5766 : x3 = XEXP (x2, 0);
5625 5766 : operands[2] = x3;
5626 5766 : switch (GET_MODE (operands[0]))
5627 : {
5628 166 : case E_V2SFmode:
5629 166 : x4 = XVECEXP (x1, 0, 0);
5630 166 : x5 = XEXP (x4, 1);
5631 166 : return pattern737 (x5); /* [-1, 0] */
5632 :
5633 4 : case E_V2BFmode:
5634 4 : x4 = XVECEXP (x1, 0, 0);
5635 4 : x5 = XEXP (x4, 1);
5636 4 : if (pattern738 (x5,
5637 : E_V2BFmode) != 0)
5638 0 : return -1;
5639 : return 1;
5640 :
5641 4 : case E_V4BFmode:
5642 4 : x4 = XVECEXP (x1, 0, 0);
5643 4 : x5 = XEXP (x4, 1);
5644 4 : if (pattern738 (x5,
5645 : E_V4BFmode) != 0)
5646 0 : return -1;
5647 : return 2;
5648 :
5649 8 : case E_V2HFmode:
5650 8 : x4 = XVECEXP (x1, 0, 0);
5651 8 : x5 = XEXP (x4, 1);
5652 8 : if (pattern738 (x5,
5653 : E_V2HFmode) != 0)
5654 0 : return -1;
5655 : return 3;
5656 :
5657 6 : case E_V4HFmode:
5658 6 : x4 = XVECEXP (x1, 0, 0);
5659 6 : x5 = XEXP (x4, 1);
5660 6 : if (pattern738 (x5,
5661 : E_V4HFmode) != 0)
5662 0 : return -1;
5663 : return 4;
5664 :
5665 4 : case E_V32BFmode:
5666 4 : x4 = XVECEXP (x1, 0, 0);
5667 4 : x5 = XEXP (x4, 1);
5668 4 : if (pattern736 (x5,
5669 : E_V32BFmode) != 0)
5670 0 : return -1;
5671 : return 5;
5672 :
5673 4 : case E_V16BFmode:
5674 4 : x4 = XVECEXP (x1, 0, 0);
5675 4 : x5 = XEXP (x4, 1);
5676 4 : if (pattern736 (x5,
5677 : E_V16BFmode) != 0)
5678 0 : return -1;
5679 : return 6;
5680 :
5681 4 : case E_V8BFmode:
5682 4 : x4 = XVECEXP (x1, 0, 0);
5683 4 : x5 = XEXP (x4, 1);
5684 4 : if (pattern736 (x5,
5685 : E_V8BFmode) != 0)
5686 0 : return -1;
5687 : return 7;
5688 :
5689 14 : case E_V32HFmode:
5690 14 : x4 = XVECEXP (x1, 0, 0);
5691 14 : x5 = XEXP (x4, 1);
5692 14 : if (pattern736 (x5,
5693 : E_V32HFmode) != 0)
5694 0 : return -1;
5695 : return 8;
5696 :
5697 10 : case E_V16HFmode:
5698 10 : x4 = XVECEXP (x1, 0, 0);
5699 10 : x5 = XEXP (x4, 1);
5700 10 : if (pattern736 (x5,
5701 : E_V16HFmode) != 0)
5702 0 : return -1;
5703 : return 9;
5704 :
5705 157 : case E_V8HFmode:
5706 157 : x4 = XVECEXP (x1, 0, 0);
5707 157 : x5 = XEXP (x4, 1);
5708 157 : if (pattern736 (x5,
5709 : E_V8HFmode) != 0)
5710 0 : return -1;
5711 : return 10;
5712 :
5713 66 : case E_V16SFmode:
5714 66 : x4 = XVECEXP (x1, 0, 0);
5715 66 : x5 = XEXP (x4, 1);
5716 66 : if (pattern736 (x5,
5717 : E_V16SFmode) != 0)
5718 0 : return -1;
5719 : return 11;
5720 :
5721 536 : case E_V8SFmode:
5722 536 : x4 = XVECEXP (x1, 0, 0);
5723 536 : x5 = XEXP (x4, 1);
5724 536 : if (pattern736 (x5,
5725 : E_V8SFmode) != 0)
5726 0 : return -1;
5727 : return 12;
5728 :
5729 716 : case E_V4SFmode:
5730 716 : x4 = XVECEXP (x1, 0, 0);
5731 716 : x5 = XEXP (x4, 1);
5732 716 : if (pattern736 (x5,
5733 : E_V4SFmode) != 0)
5734 0 : return -1;
5735 : return 13;
5736 :
5737 42 : case E_V8DFmode:
5738 42 : x4 = XVECEXP (x1, 0, 0);
5739 42 : x5 = XEXP (x4, 1);
5740 42 : if (pattern736 (x5,
5741 : E_V8DFmode) != 0)
5742 0 : return -1;
5743 : return 14;
5744 :
5745 1050 : case E_V4DFmode:
5746 1050 : x4 = XVECEXP (x1, 0, 0);
5747 1050 : x5 = XEXP (x4, 1);
5748 1050 : if (pattern736 (x5,
5749 : E_V4DFmode) != 0)
5750 0 : return -1;
5751 : return 15;
5752 :
5753 624 : case E_V2DFmode:
5754 624 : x4 = XVECEXP (x1, 0, 0);
5755 624 : x5 = XEXP (x4, 1);
5756 624 : if (pattern736 (x5,
5757 : E_V2DFmode) != 0)
5758 0 : return -1;
5759 : return 16;
5760 :
5761 : default:
5762 : return -1;
5763 : }
5764 : }
5765 :
5766 : int
5767 395713 : pattern896 (rtx x1, machine_mode i1, machine_mode i2)
5768 : {
5769 395713 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5770 395713 : int res ATTRIBUTE_UNUSED;
5771 395713 : if (!register_operand (operands[0], i1)
5772 367911 : || GET_MODE (x1) != i1
5773 367911 : || !register_operand (operands[1], i1)
5774 743997 : || !nonmemory_operand (operands[2], i2))
5775 47836 : return -1;
5776 : return 0;
5777 : }
5778 :
5779 : int
5780 0 : pattern899 (rtx x1, machine_mode i1)
5781 : {
5782 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5783 0 : rtx x2, x3;
5784 0 : int res ATTRIBUTE_UNUSED;
5785 0 : if (!nonimmediate_operand (operands[0], i1)
5786 0 : || GET_MODE (x1) != i1)
5787 : return -1;
5788 0 : x2 = XEXP (x1, 0);
5789 0 : if (GET_MODE (x2) != i1
5790 0 : || !nonimmediate_operand (operands[1], i1))
5791 : return -1;
5792 0 : x3 = XEXP (x2, 1);
5793 0 : if (GET_MODE (x3) != i1
5794 0 : || !immediate_operand (operands[2], i1))
5795 0 : return -1;
5796 : return 0;
5797 : }
5798 :
5799 : int
5800 28549 : pattern903 (rtx x1, machine_mode i1, machine_mode i2)
5801 : {
5802 28549 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5803 28549 : rtx x2, x3;
5804 28549 : int res ATTRIBUTE_UNUSED;
5805 28549 : x2 = XEXP (x1, 0);
5806 28549 : if (GET_MODE (x2) != i2
5807 28549 : || !register_operand (operands[1], i1))
5808 : return -1;
5809 26739 : x3 = XEXP (x1, 1);
5810 26739 : if (GET_MODE (x3) != i2
5811 26739 : || !nonimmediate_operand (operands[2], i1))
5812 1315 : return -1;
5813 : return 0;
5814 : }
5815 :
5816 : int
5817 3605 : pattern906 (rtx x1, machine_mode i1)
5818 : {
5819 3605 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5820 3605 : rtx x2;
5821 3605 : int res ATTRIBUTE_UNUSED;
5822 3605 : if (!memory_operand (operands[0], i1)
5823 3605 : || GET_MODE (x1) != i1)
5824 : return -1;
5825 1396 : x2 = XVECEXP (x1, 0, 0);
5826 1396 : if (GET_MODE (x2) != i1
5827 1396 : || !nonmemory_operand (operands[1], i1))
5828 1379 : return -1;
5829 : return 0;
5830 : }
5831 :
5832 : int
5833 5654 : pattern910 (rtx x1, machine_mode i1)
5834 : {
5835 5654 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5836 5654 : int res ATTRIBUTE_UNUSED;
5837 5654 : if (!register_operand (operands[0], i1)
5838 5032 : || GET_MODE (x1) != i1
5839 5032 : || !register_operand (operands[2], i1)
5840 10272 : || !register_operand (operands[1], i1))
5841 1484 : return -1;
5842 : return 0;
5843 : }
5844 :
5845 : int
5846 13072 : pattern915 (rtx x1, machine_mode i1)
5847 : {
5848 13072 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5849 13072 : rtx x2, x3;
5850 13072 : int res ATTRIBUTE_UNUSED;
5851 13072 : if (!register_operand (operands[0], i1)
5852 13072 : || GET_MODE (x1) != i1)
5853 : return -1;
5854 12304 : x2 = XEXP (x1, 0);
5855 12304 : if (GET_MODE (x2) != i1)
5856 : return -1;
5857 12304 : x3 = XEXP (x1, 2);
5858 12304 : if (GET_MODE (x3) != i1)
5859 0 : return -1;
5860 : return 0;
5861 : }
5862 :
5863 : int
5864 544 : pattern920 (rtx x1, machine_mode i1, machine_mode i2)
5865 : {
5866 544 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5867 544 : rtx x2;
5868 544 : int res ATTRIBUTE_UNUSED;
5869 544 : if (!register_operand (operands[0], i1)
5870 544 : || GET_MODE (x1) != i1)
5871 : return -1;
5872 530 : x2 = XEXP (x1, 0);
5873 530 : if (GET_MODE (x2) != i1
5874 530 : || !register_operand (operands[1], i2)
5875 530 : || !nonimmediate_operand (operands[2], i2)
5876 1060 : || !register_operand (operands[3], i1))
5877 55 : return -1;
5878 : return 0;
5879 : }
5880 :
5881 : int
5882 1615 : pattern924 (rtx x1, machine_mode i1)
5883 : {
5884 1615 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5885 1615 : rtx x2;
5886 1615 : int res ATTRIBUTE_UNUSED;
5887 1615 : if (!register_operand (operands[0], i1)
5888 1615 : || GET_MODE (x1) != i1)
5889 : return -1;
5890 1551 : x2 = XVECEXP (x1, 0, 0);
5891 1551 : if (GET_MODE (x2) != i1)
5892 : return -1;
5893 1551 : switch (GET_MODE (operands[1]))
5894 : {
5895 502 : case E_V8HFmode:
5896 502 : if (!register_operand (operands[1], E_V8HFmode))
5897 24 : return -1;
5898 : return 0;
5899 :
5900 528 : case E_V4SFmode:
5901 528 : if (!register_operand (operands[1], E_V4SFmode))
5902 4 : return -1;
5903 : return 1;
5904 :
5905 521 : case E_V2DFmode:
5906 521 : if (!register_operand (operands[1], E_V2DFmode))
5907 4 : return -1;
5908 : return 2;
5909 :
5910 : default:
5911 : return -1;
5912 : }
5913 : }
5914 :
5915 : int
5916 40163 : pattern930 (rtx x1)
5917 : {
5918 40163 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5919 40163 : rtx x2;
5920 40163 : int res ATTRIBUTE_UNUSED;
5921 40163 : if (maybe_ne (SUBREG_BYTE (x1), 0)
5922 40163 : || GET_MODE (x1) != E_V2DImode)
5923 : return -1;
5924 39720 : x2 = XEXP (x1, 0);
5925 39720 : if (GET_CODE (x2) != VEC_CONCAT
5926 39720 : || pattern759 (x2,
5927 : E_V8QImode,
5928 : 302,
5929 : E_V16QImode) != 0)
5930 39720 : return -1;
5931 : return 0;
5932 : }
5933 :
5934 : int
5935 127387 : pattern934 (rtx x1, machine_mode i1, machine_mode i2)
5936 : {
5937 127387 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5938 127387 : rtx x2, x3;
5939 127387 : int res ATTRIBUTE_UNUSED;
5940 127387 : if (!register_operand (operands[0], i1)
5941 127387 : || GET_MODE (x1) != i1)
5942 : return -1;
5943 127305 : x2 = XEXP (x1, 0);
5944 127305 : if (GET_MODE (x2) != i1)
5945 : return -1;
5946 127305 : x3 = XEXP (x2, 0);
5947 127305 : if (GET_MODE (x3) != i2
5948 127305 : || !register_operand (operands[1], i1))
5949 : return -1;
5950 126390 : switch (GET_MODE (operands[2]))
5951 : {
5952 72017 : case E_SImode:
5953 72017 : if (!nonimmediate_operand (operands[2], E_SImode))
5954 395 : return -1;
5955 : return 0;
5956 :
5957 54373 : case E_DImode:
5958 54373 : if (!nonimmediate_operand (operands[2], E_DImode))
5959 62 : return -1;
5960 : return 1;
5961 :
5962 : default:
5963 : return -1;
5964 : }
5965 : }
5966 :
5967 : int
5968 901 : pattern943 (rtx x1, machine_mode i1)
5969 : {
5970 901 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5971 901 : rtx x2;
5972 901 : int res ATTRIBUTE_UNUSED;
5973 901 : if (!register_operand (operands[0], i1)
5974 901 : || GET_MODE (x1) != i1)
5975 : return -1;
5976 863 : x2 = XEXP (x1, 0);
5977 863 : if (GET_MODE (x2) != i1
5978 863 : || !nonimm_or_0_operand (operands[2], i1)
5979 1712 : || !register_operand (operands[3], E_QImode))
5980 : return -1;
5981 805 : switch (GET_MODE (operands[1]))
5982 : {
5983 378 : case E_V4SImode:
5984 378 : if (!nonimmediate_operand (operands[1], E_V4SImode))
5985 0 : return -1;
5986 : return 0;
5987 :
5988 427 : case E_V4DImode:
5989 427 : if (!nonimmediate_operand (operands[1], E_V4DImode))
5990 0 : return -1;
5991 : return 1;
5992 :
5993 : default:
5994 : return -1;
5995 : }
5996 : }
5997 :
5998 : int
5999 1370 : pattern949 (rtx x1)
6000 : {
6001 1370 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6002 1370 : rtx x2, x3, x4, x5, x6, x7;
6003 1370 : int res ATTRIBUTE_UNUSED;
6004 1370 : x2 = XVECEXP (x1, 0, 0);
6005 1370 : x3 = XEXP (x2, 0);
6006 1370 : x4 = XEXP (x3, 0);
6007 1370 : x5 = XEXP (x4, 0);
6008 1370 : operands[2] = x5;
6009 1370 : x6 = XEXP (x2, 1);
6010 1370 : operands[1] = x6;
6011 1370 : x7 = XVECEXP (x1, 0, 1);
6012 1370 : operands[3] = x7;
6013 1370 : if (!const_4_or_8_to_11_operand (operands[3], E_SImode))
6014 : return -1;
6015 1370 : switch (GET_MODE (operands[0]))
6016 : {
6017 572 : case E_V8HFmode:
6018 572 : return pattern948 (x1,
6019 : E_V8HFmode,
6020 572 : E_HFmode); /* [-1, 1] */
6021 :
6022 556 : case E_V4SFmode:
6023 556 : res = pattern948 (x1,
6024 : E_V4SFmode,
6025 : E_SFmode);
6026 556 : if (res >= 0)
6027 540 : return res + 2; /* [2, 3] */
6028 : return -1;
6029 :
6030 242 : case E_V2DFmode:
6031 242 : if (!register_operand (operands[0], E_V2DFmode)
6032 236 : || GET_MODE (x1) != E_V2DFmode
6033 236 : || GET_MODE (x2) != E_V2DFmode
6034 236 : || GET_MODE (x3) != E_V2DFmode
6035 236 : || GET_MODE (x4) != E_DFmode
6036 236 : || !register_operand (operands[2], E_DImode)
6037 478 : || !register_operand (operands[1], E_V2DFmode))
6038 8 : return -1;
6039 : return 4;
6040 :
6041 : default:
6042 : return -1;
6043 : }
6044 : }
6045 :
6046 : int
6047 9790 : pattern955 (rtx x1, machine_mode i1, machine_mode i2)
6048 : {
6049 9790 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6050 9790 : int res ATTRIBUTE_UNUSED;
6051 9790 : if (!memory_operand (operands[0], i2)
6052 9685 : || GET_MODE (x1) != i2
6053 9685 : || !register_operand (operands[1], i2)
6054 17338 : || !register_operand (operands[2], i1))
6055 2395 : return -1;
6056 : return 0;
6057 : }
6058 :
6059 : int
6060 5158 : pattern957 (rtx x1)
6061 : {
6062 5158 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6063 5158 : int res ATTRIBUTE_UNUSED;
6064 5158 : if (!const_int_operand (operands[3], E_VOIDmode))
6065 : return -1;
6066 2752 : switch (GET_MODE (operands[0]))
6067 : {
6068 151 : case E_V16SImode:
6069 151 : return pattern956 (x1,
6070 151 : E_V16SImode); /* [-1, 0] */
6071 :
6072 171 : case E_V16SFmode:
6073 171 : if (pattern956 (x1,
6074 : E_V16SFmode) != 0)
6075 58 : return -1;
6076 : return 1;
6077 :
6078 184 : case E_V8DImode:
6079 184 : if (pattern956 (x1,
6080 : E_V8DImode) != 0)
6081 75 : return -1;
6082 : return 2;
6083 :
6084 182 : case E_V8DFmode:
6085 182 : if (pattern956 (x1,
6086 : E_V8DFmode) != 0)
6087 68 : return -1;
6088 : return 3;
6089 :
6090 149 : case E_V8SImode:
6091 149 : if (pattern956 (x1,
6092 : E_V8SImode) != 0)
6093 34 : return -1;
6094 : return 4;
6095 :
6096 171 : case E_V8SFmode:
6097 171 : if (pattern956 (x1,
6098 : E_V8SFmode) != 0)
6099 58 : return -1;
6100 : return 5;
6101 :
6102 182 : case E_V4DImode:
6103 182 : if (pattern956 (x1,
6104 : E_V4DImode) != 0)
6105 73 : return -1;
6106 : return 6;
6107 :
6108 172 : case E_V4DFmode:
6109 172 : if (pattern956 (x1,
6110 : E_V4DFmode) != 0)
6111 63 : return -1;
6112 : return 7;
6113 :
6114 131 : case E_V4SImode:
6115 131 : if (pattern956 (x1,
6116 : E_V4SImode) != 0)
6117 15 : return -1;
6118 : return 8;
6119 :
6120 152 : case E_V4SFmode:
6121 152 : if (pattern956 (x1,
6122 : E_V4SFmode) != 0)
6123 39 : return -1;
6124 : return 9;
6125 :
6126 160 : case E_V2DImode:
6127 160 : if (pattern956 (x1,
6128 : E_V2DImode) != 0)
6129 51 : return -1;
6130 : return 10;
6131 :
6132 148 : case E_V2DFmode:
6133 148 : if (pattern956 (x1,
6134 : E_V2DFmode) != 0)
6135 39 : return -1;
6136 : return 11;
6137 :
6138 122 : case E_V64QImode:
6139 122 : if (pattern956 (x1,
6140 : E_V64QImode) != 0)
6141 22 : return -1;
6142 : return 12;
6143 :
6144 126 : case E_V16QImode:
6145 126 : if (pattern956 (x1,
6146 : E_V16QImode) != 0)
6147 15 : return -1;
6148 : return 13;
6149 :
6150 141 : case E_V32QImode:
6151 141 : if (pattern956 (x1,
6152 : E_V32QImode) != 0)
6153 30 : return -1;
6154 : return 14;
6155 :
6156 143 : case E_V32HImode:
6157 143 : if (pattern956 (x1,
6158 : E_V32HImode) != 0)
6159 32 : return -1;
6160 : return 15;
6161 :
6162 141 : case E_V16HImode:
6163 141 : if (pattern956 (x1,
6164 : E_V16HImode) != 0)
6165 30 : return -1;
6166 : return 16;
6167 :
6168 126 : case E_V8HImode:
6169 126 : if (pattern956 (x1,
6170 : E_V8HImode) != 0)
6171 15 : return -1;
6172 : return 17;
6173 :
6174 : default:
6175 : return -1;
6176 : }
6177 : }
6178 :
6179 : int
6180 232 : pattern968 (rtx x1, machine_mode i1)
6181 : {
6182 232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6183 232 : rtx x2, x3;
6184 232 : int res ATTRIBUTE_UNUSED;
6185 232 : if (!register_operand (operands[0], i1)
6186 232 : || GET_MODE (x1) != i1)
6187 : return -1;
6188 223 : x2 = XEXP (x1, 0);
6189 223 : if (GET_MODE (x2) != i1
6190 223 : || !nonimmediate_operand (operands[1], i1)
6191 443 : || !nonimmediate_operand (operands[2], i1))
6192 : return -1;
6193 220 : x3 = XEXP (x1, 2);
6194 220 : if (GET_MODE (x3) != i1
6195 220 : || !nonimmediate_operand (operands[3], i1))
6196 0 : return -1;
6197 : return 0;
6198 : }
6199 :
6200 : int
6201 50376 : pattern974 (rtx x1, machine_mode i1)
6202 : {
6203 50376 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6204 50376 : rtx x2;
6205 50376 : int res ATTRIBUTE_UNUSED;
6206 50376 : if (!register_operand (operands[0], i1)
6207 50376 : || GET_MODE (x1) != i1)
6208 : return -1;
6209 49728 : x2 = XEXP (x1, 0);
6210 49728 : if (GET_MODE (x2) != i1
6211 49728 : || !bcst_vector_operand (operands[1], i1)
6212 99074 : || !bcst_vector_operand (operands[2], i1))
6213 3038 : return -1;
6214 : return 0;
6215 : }
6216 :
6217 : int
6218 232399 : pattern978 (rtx x1, machine_mode i1, machine_mode i2)
6219 : {
6220 232399 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6221 232399 : rtx x2;
6222 232399 : int res ATTRIBUTE_UNUSED;
6223 232399 : if (!nonimmediate_operand (operands[0], i1)
6224 232399 : || GET_MODE (x1) != i1)
6225 : return -1;
6226 232334 : x2 = XEXP (x1, 0);
6227 232334 : if (GET_MODE (x2) != i1
6228 232334 : || !nonimmediate_operand (operands[2], i2)
6229 415584 : || !nonimmediate_operand (operands[1], i1))
6230 72443 : return -1;
6231 : return 0;
6232 : }
6233 :
6234 : int
6235 269 : pattern981 (rtx x1, machine_mode i1)
6236 : {
6237 269 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6238 269 : rtx x2, x3;
6239 269 : int res ATTRIBUTE_UNUSED;
6240 269 : if (!nonimmediate_operand (operands[0], i1)
6241 269 : || GET_MODE (x1) != i1)
6242 : return -1;
6243 269 : x2 = XEXP (x1, 0);
6244 269 : if (GET_MODE (x2) != i1
6245 269 : || !nonimmediate_operand (operands[1], i1))
6246 : return -1;
6247 223 : x3 = XEXP (x2, 1);
6248 223 : if (GET_MODE (x3) != i1
6249 223 : || !x86_64_immediate_operand (operands[2], i1))
6250 56 : return -1;
6251 : return 0;
6252 : }
6253 :
6254 : int
6255 64 : pattern986 (rtx x1, machine_mode i1)
6256 : {
6257 64 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6258 64 : rtx x2, x3, x4, x5;
6259 64 : int res ATTRIBUTE_UNUSED;
6260 64 : if (!register_operand (operands[0], i1)
6261 64 : || GET_MODE (x1) != i1)
6262 : return -1;
6263 64 : x2 = XEXP (x1, 0);
6264 64 : if (GET_MODE (x2) != i1)
6265 : return -1;
6266 64 : x3 = XVECEXP (x2, 0, 2);
6267 64 : if (GET_MODE (x3) != i1)
6268 : return -1;
6269 64 : x4 = XEXP (x1, 1);
6270 64 : if (GET_MODE (x4) != i1)
6271 : return -1;
6272 64 : x5 = XEXP (x4, 0);
6273 64 : if (GET_MODE (x5) != i1)
6274 0 : return -1;
6275 : return 0;
6276 : }
6277 :
6278 : int
6279 2557177 : pattern992 (rtx x1)
6280 : {
6281 2557177 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6282 2557177 : rtx x2, x3, x4, x5, x6, x7;
6283 2557177 : int res ATTRIBUTE_UNUSED;
6284 2557177 : x2 = XEXP (x1, 1);
6285 2557177 : x3 = XEXP (x2, 0);
6286 2557177 : switch (GET_CODE (x3))
6287 : {
6288 2244201 : case REG:
6289 2244201 : case SUBREG:
6290 2244201 : case MEM:
6291 2244201 : return pattern991 (x1); /* [-1, 7] */
6292 :
6293 35773 : case ASHIFT:
6294 35773 : x4 = XEXP (x1, 0);
6295 35773 : operands[0] = x4;
6296 35773 : x5 = XEXP (x3, 0);
6297 35773 : operands[1] = x5;
6298 35773 : x6 = XEXP (x3, 1);
6299 35773 : operands[2] = x6;
6300 35773 : if (!const_int_operand (operands[2], E_QImode))
6301 : return -1;
6302 35410 : x7 = XEXP (x2, 1);
6303 35410 : operands[3] = x7;
6304 35410 : if (!const_int_operand (operands[3], E_QImode))
6305 : return -1;
6306 35410 : switch (GET_MODE (operands[0]))
6307 : {
6308 11473 : case E_DImode:
6309 11473 : if (pattern989 (x2,
6310 : E_DImode) != 0)
6311 0 : return -1;
6312 : return 8;
6313 :
6314 14240 : case E_TImode:
6315 14240 : if (pattern989 (x2,
6316 : E_TImode) != 0)
6317 2970 : return -1;
6318 : return 9;
6319 :
6320 : default:
6321 : return -1;
6322 : }
6323 :
6324 : default:
6325 : return -1;
6326 : }
6327 : }
6328 :
6329 : int
6330 6044598 : pattern999 (rtx x1, machine_mode i1, machine_mode i2)
6331 : {
6332 6044598 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6333 6044598 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6334 6044598 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
6335 6044598 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
6336 6044598 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
6337 6044598 : rtx x34, x35, x36, x37, x38;
6338 6044598 : int res ATTRIBUTE_UNUSED;
6339 6044598 : x2 = XEXP (x1, 0);
6340 6044598 : operands[6] = x2;
6341 6044598 : x3 = XEXP (x1, 1);
6342 6044598 : operands[7] = x3;
6343 6044598 : if (!memory_operand (operands[7], i1))
6344 : return -1;
6345 1585198 : x4 = PATTERN (peep2_next_insn (1));
6346 1585198 : x5 = XEXP (x4, 1);
6347 1585198 : operands[9] = x5;
6348 1585198 : if (!memory_operand (operands[9], i1))
6349 : return -1;
6350 945143 : x6 = PATTERN (peep2_next_insn (2));
6351 945143 : if (GET_CODE (x6) != PARALLEL
6352 86113 : || XVECLEN (x6, 0) != 2)
6353 : return -1;
6354 84481 : x7 = XVECEXP (x6, 0, 0);
6355 84481 : if (GET_CODE (x7) != SET)
6356 : return -1;
6357 84455 : x8 = XEXP (x7, 1);
6358 84455 : if (GET_CODE (x8) != COMPARE
6359 7885 : || GET_MODE (x8) != E_CCCmode)
6360 : return -1;
6361 3625 : x9 = XEXP (x8, 0);
6362 3625 : if (GET_CODE (x9) != ZERO_EXTEND
6363 45 : || GET_MODE (x9) != i2)
6364 : return -1;
6365 45 : x10 = XEXP (x8, 1);
6366 45 : if (GET_CODE (x10) != PLUS
6367 45 : || GET_MODE (x10) != i2)
6368 : return -1;
6369 45 : x11 = XEXP (x10, 0);
6370 45 : if (!ix86_carry_flag_operator (x11, i2))
6371 : return -1;
6372 45 : operands[4] = x11;
6373 45 : x12 = XEXP (x11, 1);
6374 45 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6375 : return -1;
6376 45 : x13 = XEXP (x10, 1);
6377 45 : if (GET_CODE (x13) != ZERO_EXTEND
6378 45 : || GET_MODE (x13) != i2)
6379 : return -1;
6380 45 : x14 = XEXP (x7, 0);
6381 45 : if (GET_CODE (x14) != REG
6382 45 : || REGNO (x14) != 17
6383 90 : || GET_MODE (x14) != E_CCCmode)
6384 : return -1;
6385 45 : x15 = XVECEXP (x6, 0, 1);
6386 45 : if (GET_CODE (x15) != SET)
6387 : return -1;
6388 6 : x16 = XEXP (x15, 1);
6389 6 : if (GET_CODE (x16) != MINUS
6390 6 : || GET_MODE (x16) != i1)
6391 : return -1;
6392 6 : x17 = XEXP (x16, 0);
6393 6 : if (GET_CODE (x17) != MINUS
6394 6 : || GET_MODE (x17) != i1)
6395 : return -1;
6396 6 : x18 = XEXP (x17, 1);
6397 6 : if (!ix86_carry_flag_operator (x18, i1))
6398 : return -1;
6399 6 : operands[5] = x18;
6400 6 : x19 = XEXP (x18, 1);
6401 6 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6402 : return -1;
6403 6 : x20 = XEXP (x9, 0);
6404 6 : operands[0] = x20;
6405 6 : if (!general_reg_operand (operands[0], i1))
6406 : return -1;
6407 6 : x21 = XEXP (x11, 0);
6408 6 : operands[3] = x21;
6409 6 : if (!flags_reg_operand (operands[3], E_VOIDmode))
6410 : return -1;
6411 6 : x22 = XEXP (x13, 0);
6412 6 : operands[2] = x22;
6413 6 : if (!general_reg_operand (operands[2], i1))
6414 : return -1;
6415 6 : x23 = XEXP (x17, 0);
6416 6 : if (!rtx_equal_p (x23, operands[0]))
6417 : return -1;
6418 6 : x24 = XEXP (x18, 0);
6419 6 : if (!rtx_equal_p (x24, operands[3]))
6420 : return -1;
6421 6 : x25 = XEXP (x16, 1);
6422 6 : if (!rtx_equal_p (x25, operands[2]))
6423 : return -1;
6424 6 : x26 = XEXP (x15, 0);
6425 6 : if (!rtx_equal_p (x26, operands[0]))
6426 : return -1;
6427 6 : x27 = PATTERN (peep2_next_insn (3));
6428 6 : if (GET_CODE (x27) != SET)
6429 : return -1;
6430 6 : x28 = XEXP (x27, 1);
6431 6 : switch (GET_CODE (x28))
6432 : {
6433 0 : case REG:
6434 0 : if (!rtx_equal_p (x28, operands[0]))
6435 : return -1;
6436 0 : x29 = XEXP (x27, 0);
6437 0 : operands[1] = x29;
6438 0 : if (!memory_operand (operands[1], i1))
6439 0 : return -1;
6440 : return 0;
6441 :
6442 6 : case LTU:
6443 6 : if (peep2_current_count < 5
6444 6 : || peep2_current_count < 6
6445 6 : || GET_MODE (x28) != E_QImode)
6446 : return -1;
6447 6 : x30 = XEXP (x28, 0);
6448 6 : if (GET_CODE (x30) != REG
6449 6 : || REGNO (x30) != 17
6450 12 : || GET_MODE (x30) != E_CCCmode)
6451 : return -1;
6452 6 : x31 = XEXP (x28, 1);
6453 6 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6454 : return -1;
6455 6 : x29 = XEXP (x27, 0);
6456 6 : operands[10] = x29;
6457 6 : if (!general_reg_operand (operands[10], E_QImode))
6458 : return -1;
6459 6 : x32 = PATTERN (peep2_next_insn (4));
6460 6 : if (GET_CODE (x32) != SET)
6461 : return -1;
6462 0 : x33 = XEXP (x32, 1);
6463 0 : if (GET_CODE (x33) != ZERO_EXTEND
6464 0 : || GET_MODE (x33) != i1)
6465 : return -1;
6466 0 : x34 = XEXP (x32, 0);
6467 0 : operands[11] = x34;
6468 0 : if (!general_reg_operand (operands[11], i1))
6469 : return -1;
6470 0 : x35 = XEXP (x33, 0);
6471 0 : if (!rtx_equal_p (x35, operands[10]))
6472 : return -1;
6473 0 : x36 = PATTERN (peep2_next_insn (5));
6474 0 : if (GET_CODE (x36) != SET)
6475 : return -1;
6476 0 : x37 = XEXP (x36, 0);
6477 0 : operands[1] = x37;
6478 0 : if (!memory_operand (operands[1], i1))
6479 : return -1;
6480 0 : x38 = XEXP (x36, 1);
6481 0 : if (!rtx_equal_p (x38, operands[0]))
6482 0 : return -1;
6483 : return 1;
6484 :
6485 : default:
6486 : return -1;
6487 : }
6488 : }
6489 :
6490 : int
6491 11 : pattern1020 (rtx x1)
6492 : {
6493 11 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6494 11 : rtx x2, x3;
6495 11 : int res ATTRIBUTE_UNUSED;
6496 11 : x2 = XEXP (x1, 0);
6497 11 : operands[1] = x2;
6498 11 : x3 = XEXP (x1, 1);
6499 11 : operands[2] = x3;
6500 11 : switch (GET_MODE (x1))
6501 : {
6502 0 : case E_V8SFmode:
6503 0 : if (!register_operand (operands[1], E_V8SImode)
6504 0 : || !const0_operand (operands[2], E_V8SImode))
6505 0 : return -1;
6506 : return 0;
6507 :
6508 0 : case E_V4SFmode:
6509 0 : if (!register_operand (operands[1], E_V4SImode)
6510 0 : || !const0_operand (operands[2], E_V4SImode))
6511 0 : return -1;
6512 : return 1;
6513 :
6514 3 : case E_V4DFmode:
6515 3 : if (!register_operand (operands[1], E_V4DImode)
6516 3 : || !const0_operand (operands[2], E_V4DImode))
6517 0 : return -1;
6518 : return 2;
6519 :
6520 0 : case E_V2DFmode:
6521 0 : if (!register_operand (operands[1], E_V2DImode)
6522 0 : || !const0_operand (operands[2], E_V2DImode))
6523 0 : return -1;
6524 : return 3;
6525 :
6526 2 : case E_V32QImode:
6527 2 : if (!register_operand (operands[1], E_V32QImode)
6528 2 : || !const0_operand (operands[2], E_V32QImode))
6529 0 : return -1;
6530 : return 4;
6531 :
6532 6 : case E_V16QImode:
6533 6 : if (!register_operand (operands[1], E_V16QImode)
6534 6 : || !const0_operand (operands[2], E_V16QImode))
6535 0 : return -1;
6536 : return 5;
6537 :
6538 : default:
6539 : return -1;
6540 : }
6541 : }
6542 :
6543 : int
6544 120720 : pattern1026 (rtx x1, machine_mode i1)
6545 : {
6546 120720 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6547 120720 : rtx x2;
6548 120720 : int res ATTRIBUTE_UNUSED;
6549 120720 : if (!register_operand (operands[0], i1)
6550 120720 : || GET_MODE (x1) != i1)
6551 : return -1;
6552 120472 : x2 = XEXP (x1, 0);
6553 120472 : switch (GET_MODE (x2))
6554 : {
6555 82146 : case E_HImode:
6556 82146 : switch (GET_MODE (operands[1]))
6557 : {
6558 10560 : case E_V4HImode:
6559 10560 : if (!register_operand (operands[1], E_V4HImode)
6560 10560 : || !const_0_to_3_operand (operands[2], E_SImode))
6561 1930 : return -1;
6562 : return 0;
6563 :
6564 5787 : case E_V2HImode:
6565 5787 : if (!register_operand (operands[1], E_V2HImode)
6566 5787 : || !const_0_to_1_operand (operands[2], E_SImode))
6567 906 : return -1;
6568 : return 1;
6569 :
6570 64972 : case E_V8HImode:
6571 64972 : if (!register_operand (operands[1], E_V8HImode)
6572 64972 : || !const_0_to_7_operand (operands[2], E_SImode))
6573 9182 : return -1;
6574 : return 2;
6575 :
6576 : default:
6577 : return -1;
6578 : }
6579 :
6580 30944 : case E_QImode:
6581 30944 : res = pattern1025 ();
6582 30944 : if (res >= 0)
6583 24365 : return res + 3; /* [3, 5] */
6584 : return -1;
6585 :
6586 : default:
6587 : return -1;
6588 : }
6589 : }
6590 :
6591 : int
6592 875 : pattern1033 (rtx x1, machine_mode i1)
6593 : {
6594 875 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6595 875 : rtx x2;
6596 875 : int res ATTRIBUTE_UNUSED;
6597 875 : if (!register_operand (operands[0], i1)
6598 875 : || GET_MODE (x1) != i1)
6599 : return -1;
6600 789 : x2 = XEXP (x1, 0);
6601 789 : if (GET_MODE (x2) != i1
6602 789 : || !nonimm_or_0_operand (operands[2], i1)
6603 1539 : || !register_operand (operands[3], E_QImode))
6604 : return -1;
6605 684 : switch (GET_MODE (operands[1]))
6606 : {
6607 291 : case E_V8HFmode:
6608 291 : if (!vector_operand (operands[1], E_V8HFmode))
6609 0 : return -1;
6610 : return 0;
6611 :
6612 274 : case E_V8SFmode:
6613 274 : if (!nonimmediate_operand (operands[1], E_V8SFmode))
6614 0 : return -1;
6615 : return 1;
6616 :
6617 119 : case E_V8DFmode:
6618 119 : if (!vector_operand (operands[1], E_V8DFmode))
6619 0 : return -1;
6620 : return 2;
6621 :
6622 : default:
6623 : return -1;
6624 : }
6625 : }
6626 :
6627 : int
6628 1431 : pattern1037 (rtx x1)
6629 : {
6630 1431 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6631 1431 : rtx x2;
6632 1431 : int res ATTRIBUTE_UNUSED;
6633 1431 : if (!register_operand (operands[0], E_V2DImode)
6634 1431 : || GET_MODE (x1) != E_V2DImode)
6635 : return -1;
6636 1376 : x2 = XEXP (x1, 0);
6637 1376 : if (GET_MODE (x2) != E_V2DImode
6638 1376 : || !nonimm_or_0_operand (operands[2], E_V2DImode)
6639 2730 : || !register_operand (operands[3], E_QImode))
6640 : return -1;
6641 1308 : switch (GET_MODE (operands[1]))
6642 : {
6643 414 : case E_V8HFmode:
6644 414 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
6645 0 : return -1;
6646 : return 0;
6647 :
6648 444 : case E_V2DFmode:
6649 444 : if (!vector_operand (operands[1], E_V2DFmode))
6650 0 : return -1;
6651 : return 1;
6652 :
6653 450 : case E_V4SFmode:
6654 450 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
6655 4 : return -1;
6656 : return 2;
6657 :
6658 : default:
6659 : return -1;
6660 : }
6661 : }
6662 :
6663 : int
6664 450 : pattern1044 (rtx x1, machine_mode i1)
6665 : {
6666 450 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6667 450 : rtx x2, x3;
6668 450 : int res ATTRIBUTE_UNUSED;
6669 450 : if (!register_operand (operands[0], i1)
6670 450 : || GET_MODE (x1) != i1)
6671 : return -1;
6672 444 : x2 = XEXP (x1, 0);
6673 444 : if (GET_MODE (x2) != i1)
6674 : return -1;
6675 444 : x3 = XEXP (x2, 0);
6676 444 : if (GET_MODE (x3) != i1)
6677 0 : return -1;
6678 : return 0;
6679 : }
6680 :
6681 : int
6682 343487 : pattern1048 (rtx x1, machine_mode i1, machine_mode i2)
6683 : {
6684 343487 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6685 343487 : rtx x2;
6686 343487 : int res ATTRIBUTE_UNUSED;
6687 343487 : if (!nonimmediate_operand (operands[0], i1)
6688 343487 : || GET_MODE (x1) != i1)
6689 : return -1;
6690 343483 : x2 = XEXP (x1, 0);
6691 343483 : if (GET_MODE (x2) != i1
6692 343483 : || !general_operand (operands[2], i2)
6693 675638 : || !nonimm_or_0_operand (operands[1], i1))
6694 11424 : return -1;
6695 : return 0;
6696 : }
6697 :
6698 : int
6699 2249 : pattern1052 (rtx x1, machine_mode i1, machine_mode i2)
6700 : {
6701 2249 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6702 2249 : rtx x2;
6703 2249 : int res ATTRIBUTE_UNUSED;
6704 2249 : if (!register_operand (operands[0], i1)
6705 2249 : || GET_MODE (x1) != i1)
6706 : return -1;
6707 2181 : x2 = XEXP (x1, 0);
6708 2181 : if (GET_MODE (x2) != i1
6709 2181 : || !register_operand (operands[1], i1)
6710 1977 : || !bcst_vector_operand (operands[2], i1)
6711 1874 : || !nonimm_or_0_operand (operands[3], i1)
6712 4033 : || !register_operand (operands[4], i2))
6713 329 : return -1;
6714 : return 0;
6715 : }
6716 :
6717 : int
6718 2258 : pattern1055 (rtx x1, machine_mode i1)
6719 : {
6720 2258 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6721 2258 : int res ATTRIBUTE_UNUSED;
6722 2258 : if (!register_operand (operands[0], i1)
6723 2149 : || GET_MODE (x1) != i1
6724 2149 : || !sse_comparison_operator (operands[3], i1)
6725 2149 : || !register_operand (operands[1], i1)
6726 4406 : || !nonimmediate_operand (operands[2], i1))
6727 110 : return -1;
6728 : return 0;
6729 : }
6730 :
6731 : int
6732 1571 : pattern1059 (rtx x1)
6733 : {
6734 1571 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6735 1571 : rtx x2, x3, x4;
6736 1571 : int res ATTRIBUTE_UNUSED;
6737 1571 : if (!const_0_to_3_operand (operands[2], E_VOIDmode))
6738 : return -1;
6739 1478 : x2 = XVECEXP (x1, 0, 1);
6740 1478 : operands[3] = x2;
6741 1478 : if (!const_0_to_3_operand (operands[3], E_VOIDmode))
6742 : return -1;
6743 1472 : x3 = XVECEXP (x1, 0, 2);
6744 1472 : operands[4] = x3;
6745 1472 : if (!const_0_to_3_operand (operands[4], E_VOIDmode))
6746 : return -1;
6747 1470 : x4 = XVECEXP (x1, 0, 3);
6748 1470 : operands[5] = x4;
6749 1470 : if (!const_0_to_3_operand (operands[5], E_VOIDmode))
6750 0 : return -1;
6751 : return 0;
6752 : }
6753 :
6754 : int
6755 420 : pattern1064 (rtx x1)
6756 : {
6757 420 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6758 420 : rtx x2;
6759 420 : int res ATTRIBUTE_UNUSED;
6760 420 : if (!register_operand (operands[0], E_V16SImode)
6761 420 : || GET_MODE (x1) != E_V16SImode)
6762 : return -1;
6763 408 : x2 = XVECEXP (x1, 0, 0);
6764 408 : if (GET_MODE (x2) != E_V16SImode)
6765 : return -1;
6766 408 : switch (GET_MODE (operands[1]))
6767 : {
6768 213 : case E_V16HFmode:
6769 213 : if (!register_operand (operands[1], E_V16HFmode))
6770 15 : return -1;
6771 : return 0;
6772 :
6773 195 : case E_V16SFmode:
6774 195 : if (!register_operand (operands[1], E_V16SFmode))
6775 3 : return -1;
6776 : return 1;
6777 :
6778 : default:
6779 : return -1;
6780 : }
6781 : }
6782 :
6783 : int
6784 217 : pattern1071 (rtx x1, machine_mode i1, machine_mode i2)
6785 : {
6786 217 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6787 217 : rtx x2;
6788 217 : int res ATTRIBUTE_UNUSED;
6789 217 : if (!register_operand (operands[0], i2)
6790 217 : || GET_MODE (x1) != i2)
6791 : return -1;
6792 209 : x2 = XVECEXP (x1, 0, 0);
6793 209 : if (GET_MODE (x2) != i2
6794 209 : || !nonimmediate_operand (operands[1], i1))
6795 3 : return -1;
6796 : return 0;
6797 : }
6798 :
6799 : int
6800 227 : pattern1073 (rtx x1, machine_mode i1)
6801 : {
6802 227 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6803 227 : rtx x2;
6804 227 : int res ATTRIBUTE_UNUSED;
6805 227 : if (!register_operand (operands[0], i1)
6806 207 : || GET_MODE (x1) != i1
6807 207 : || !vector_operand (operands[1], i1)
6808 424 : || !vector_operand (operands[2], i1))
6809 : return -1;
6810 191 : x2 = XVECEXP (x1, 0, 2);
6811 191 : if (GET_MODE (x2) != i1
6812 191 : || !vector_operand (operands[3], i1))
6813 2 : return -1;
6814 : return 0;
6815 : }
6816 :
6817 : int
6818 1312 : pattern1078 (rtx x1, machine_mode i1, machine_mode i2)
6819 : {
6820 1312 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6821 1312 : rtx x2;
6822 1312 : int res ATTRIBUTE_UNUSED;
6823 1312 : if (!nonimmediate_operand (operands[0], i2)
6824 1312 : || GET_MODE (x1) != i2
6825 2624 : || !nonimmediate_operand (operands[1], i1))
6826 : return -1;
6827 1312 : x2 = XEXP (x1, 1);
6828 1312 : if (GET_MODE (x2) != i1)
6829 0 : return -1;
6830 : return 0;
6831 : }
6832 :
6833 : int
6834 37871 : pattern1084 (rtx x1)
6835 : {
6836 37871 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6837 37871 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6838 37871 : rtx x10;
6839 37871 : int res ATTRIBUTE_UNUSED;
6840 37871 : x2 = XEXP (x1, 1);
6841 37871 : x3 = XEXP (x2, 0);
6842 37871 : switch (GET_CODE (x3))
6843 : {
6844 647 : case PLUS:
6845 647 : return pattern1081 (x1); /* [-1, 0] */
6846 :
6847 139 : case MINUS:
6848 139 : if (pattern1081 (x1) != 0)
6849 : return -1;
6850 : return 1;
6851 :
6852 7861 : case AND:
6853 7861 : if (pattern1081 (x1) != 0)
6854 : return -1;
6855 : return 2;
6856 :
6857 10629 : case IOR:
6858 10629 : if (pattern1081 (x1) != 0)
6859 : return -1;
6860 : return 3;
6861 :
6862 759 : case XOR:
6863 759 : if (pattern1081 (x1) != 0)
6864 : return -1;
6865 : return 4;
6866 :
6867 33 : case NEG:
6868 33 : if (GET_MODE (x3) != E_QImode)
6869 : return -1;
6870 33 : x4 = XEXP (x3, 0);
6871 33 : if (GET_CODE (x4) != SUBREG
6872 33 : || maybe_ne (SUBREG_BYTE (x4), 0)
6873 66 : || GET_MODE (x4) != E_QImode)
6874 : return -1;
6875 33 : x5 = XEXP (x4, 0);
6876 33 : switch (GET_CODE (x5))
6877 : {
6878 33 : case ASHIFTRT:
6879 33 : case LSHIFTRT:
6880 33 : case SIGN_EXTRACT:
6881 33 : case ZERO_EXTRACT:
6882 33 : operands[2] = x5;
6883 33 : x6 = XEXP (x1, 0);
6884 33 : if (GET_CODE (x6) != ZERO_EXTRACT)
6885 : return -1;
6886 33 : x7 = XEXP (x6, 1);
6887 33 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6888 : return -1;
6889 33 : x8 = XEXP (x6, 2);
6890 33 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6891 : return -1;
6892 33 : x9 = XEXP (x6, 0);
6893 33 : operands[0] = x9;
6894 33 : if (!int248_register_operand (operands[0], E_VOIDmode))
6895 : return -1;
6896 33 : x10 = XEXP (x5, 0);
6897 33 : operands[1] = x10;
6898 33 : if (!int248_register_operand (operands[1], E_VOIDmode))
6899 : return -1;
6900 33 : switch (GET_MODE (x6))
6901 : {
6902 27 : case E_HImode:
6903 27 : if (GET_MODE (x2) != E_HImode
6904 27 : || !extract_high_operator (operands[2], E_HImode))
6905 : return -1;
6906 : return 5;
6907 :
6908 6 : case E_SImode:
6909 6 : if (GET_MODE (x2) != E_SImode
6910 6 : || !extract_high_operator (operands[2], E_SImode))
6911 : return -1;
6912 : return 6;
6913 :
6914 0 : case E_DImode:
6915 0 : if (GET_MODE (x2) != E_DImode
6916 0 : || !extract_high_operator (operands[2], E_DImode))
6917 : return -1;
6918 : return 7;
6919 :
6920 : default:
6921 : return -1;
6922 : }
6923 :
6924 : default:
6925 : return -1;
6926 : }
6927 :
6928 18 : case ASHIFT:
6929 18 : if (GET_MODE (x3) != E_QImode)
6930 : return -1;
6931 18 : res = pattern1083 (x1);
6932 18 : if (res >= 0)
6933 18 : return res + 8; /* [8, 10] */
6934 : return -1;
6935 :
6936 : case LSHIFTRT:
6937 : return 11;
6938 :
6939 1834 : case ASHIFTRT:
6940 1834 : return 12;
6941 :
6942 : default:
6943 : return -1;
6944 : }
6945 : }
6946 :
6947 : int
6948 833 : pattern1092 (rtx x1, machine_mode i1)
6949 : {
6950 833 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6951 833 : rtx x2, x3;
6952 833 : int res ATTRIBUTE_UNUSED;
6953 833 : if (!register_operand (operands[0], i1)
6954 833 : || GET_MODE (x1) != i1)
6955 : return -1;
6956 832 : x2 = XEXP (x1, 0);
6957 832 : if (GET_MODE (x2) != i1)
6958 : return -1;
6959 832 : x3 = XEXP (x2, 0);
6960 832 : if (GET_MODE (x3) != i1
6961 832 : || !nonimmediate_operand (operands[1], i1)
6962 832 : || !nonimmediate_operand (operands[2], i1)
6963 1616 : || !nonimmediate_operand (operands[3], i1))
6964 48 : return -1;
6965 : return 0;
6966 : }
6967 :
6968 : int
6969 0 : pattern1095 (rtx x1, machine_mode i1, machine_mode i2)
6970 : {
6971 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6972 0 : rtx x2;
6973 0 : int res ATTRIBUTE_UNUSED;
6974 0 : if (!register_operand (operands[0], i2)
6975 0 : || GET_MODE (x1) != i2)
6976 : return -1;
6977 0 : x2 = XEXP (x1, 0);
6978 0 : if (GET_MODE (x2) != i2
6979 0 : || !register_operand (operands[1], i2)
6980 0 : || !vector_operand (operands[2], i1))
6981 0 : return -1;
6982 : return 0;
6983 : }
6984 :
6985 : int
6986 9421 : pattern1098 (rtx x1)
6987 : {
6988 9421 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6989 9421 : rtx x2, x3, x4, x5, x6, x7;
6990 9421 : int res ATTRIBUTE_UNUSED;
6991 9421 : x2 = XEXP (x1, 1);
6992 9421 : x3 = XEXP (x2, 0);
6993 9421 : x4 = XEXP (x3, 0);
6994 9421 : if (GET_CODE (x4) != ASHIFT)
6995 : return -1;
6996 2735 : x5 = XEXP (x4, 0);
6997 2735 : if (GET_CODE (x5) != ZERO_EXTEND)
6998 : return -1;
6999 1721 : x6 = XEXP (x3, 1);
7000 1721 : if (GET_CODE (x6) != ZERO_EXTEND)
7001 : return -1;
7002 1719 : x7 = XEXP (x1, 0);
7003 1719 : operands[0] = x7;
7004 1719 : return pattern387 (x2); /* [-1, 3] */
7005 : }
7006 :
7007 : int
7008 67907 : pattern1102 (rtx x1)
7009 : {
7010 67907 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7011 67907 : rtx x2, x3, x4, x5, x6;
7012 67907 : int res ATTRIBUTE_UNUSED;
7013 67907 : x2 = XEXP (x1, 0);
7014 67907 : operands[0] = x2;
7015 67907 : x3 = XEXP (x1, 1);
7016 67907 : x4 = XEXP (x3, 0);
7017 67907 : x5 = XEXP (x4, 0);
7018 67907 : switch (GET_CODE (x5))
7019 : {
7020 40290 : case REG:
7021 40290 : case SUBREG:
7022 40290 : case MEM:
7023 40290 : x6 = XEXP (x3, 1);
7024 40290 : if (GET_CODE (x6) != LSHIFTRT)
7025 : return -1;
7026 1734 : return pattern407 (x3); /* [-1, 3] */
7027 :
7028 987 : case CONST_INT:
7029 987 : if (XWINT (x5, 0) != 1L)
7030 : return -1;
7031 705 : res = pattern1101 (x3);
7032 705 : if (res >= 0)
7033 17 : return res + 4; /* [4, 7] */
7034 : return -1;
7035 :
7036 : default:
7037 : return -1;
7038 : }
7039 : }
7040 :
7041 : int
7042 9888 : pattern1106 (rtx x1, machine_mode i1, machine_mode i2)
7043 : {
7044 9888 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7045 9888 : rtx x2;
7046 9888 : int res ATTRIBUTE_UNUSED;
7047 9888 : if (!sse_reg_operand (operands[0], i1)
7048 9888 : || GET_MODE (x1) != i1)
7049 : return -1;
7050 6562 : x2 = XEXP (x1, 0);
7051 6562 : if (GET_MODE (x2) != i1
7052 6562 : || !sse_reg_operand (operands[2], i2)
7053 6625 : || !sse_reg_operand (operands[1], i1))
7054 6499 : return -1;
7055 : return 0;
7056 : }
7057 :
7058 : int
7059 3826866 : pattern1109 (rtx x1, machine_mode i1)
7060 : {
7061 3826866 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7062 3826866 : rtx x2, x3, x4, x5, x6;
7063 3826866 : int res ATTRIBUTE_UNUSED;
7064 3826866 : if (peep2_current_count < 3
7065 3307674 : || GET_CODE (x1) != SET)
7066 : return -1;
7067 2315607 : x2 = XEXP (x1, 1);
7068 2315607 : operands[2] = x2;
7069 2315607 : if (!general_reg_operand (operands[2], i1))
7070 : return -1;
7071 842287 : x3 = XEXP (x1, 0);
7072 842287 : if (!rtx_equal_p (x3, operands[1]))
7073 : return -1;
7074 94248 : x4 = PATTERN (peep2_next_insn (2));
7075 94248 : if (GET_CODE (x4) != SET)
7076 : return -1;
7077 76598 : x5 = XEXP (x4, 1);
7078 76598 : if (!rtx_equal_p (x5, operands[0]))
7079 : return -1;
7080 8556 : x6 = XEXP (x4, 0);
7081 8556 : if (!rtx_equal_p (x6, operands[2]))
7082 4196 : return -1;
7083 : return 0;
7084 : }
7085 :
7086 : int
7087 332 : pattern1115 ()
7088 : {
7089 332 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7090 332 : int res ATTRIBUTE_UNUSED;
7091 332 : switch (GET_MODE (operands[3]))
7092 : {
7093 33 : case E_HImode:
7094 33 : if (!extract_high_operator (operands[3], E_HImode)
7095 33 : || !extract_high_operator (operands[4], E_HImode))
7096 2 : return -1;
7097 : return 0;
7098 :
7099 243 : case E_SImode:
7100 243 : if (!extract_high_operator (operands[3], E_SImode)
7101 243 : || !extract_high_operator (operands[4], E_SImode))
7102 198 : return -1;
7103 : return 1;
7104 :
7105 56 : case E_DImode:
7106 56 : if (!extract_high_operator (operands[3], E_DImode)
7107 56 : || !extract_high_operator (operands[4], E_DImode))
7108 36 : return -1;
7109 : return 2;
7110 :
7111 : default:
7112 : return -1;
7113 : }
7114 : }
7115 :
7116 : int
7117 32599 : pattern1119 (rtx x1, machine_mode i1)
7118 : {
7119 32599 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7120 32599 : rtx x2;
7121 32599 : int res ATTRIBUTE_UNUSED;
7122 32599 : if (!register_operand (operands[0], i1)
7123 32599 : || GET_MODE (x1) != i1)
7124 : return -1;
7125 32040 : x2 = XEXP (x1, 0);
7126 32040 : if (GET_MODE (x2) != i1
7127 32040 : || !register_operand (operands[4], i1))
7128 3675 : return -1;
7129 : return 0;
7130 : }
7131 :
7132 : int
7133 2 : pattern1123 (rtx x1)
7134 : {
7135 2 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7136 2 : rtx x2;
7137 2 : int res ATTRIBUTE_UNUSED;
7138 2 : if (!register_operand (operands[0], E_QImode)
7139 2 : || GET_MODE (x1) != E_QImode)
7140 : return -1;
7141 2 : x2 = XEXP (x1, 0);
7142 2 : if (GET_MODE (x2) != E_QImode)
7143 : return -1;
7144 2 : return pattern650 (); /* [-1, 5] */
7145 : }
7146 :
7147 : int
7148 7132 : pattern1128 (rtx x1, machine_mode i1)
7149 : {
7150 7132 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7151 7132 : int res ATTRIBUTE_UNUSED;
7152 7132 : if (!nonimmediate_operand (operands[0], i1)
7153 7132 : || GET_MODE (x1) != i1
7154 7132 : || !ix86_carry_flag_operator (operands[2], i1)
7155 14264 : || !nonimmediate_operand (operands[1], i1))
7156 1448 : return -1;
7157 : return 0;
7158 : }
7159 :
7160 : int
7161 0 : pattern1132 (rtx x1, machine_mode i1)
7162 : {
7163 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7164 0 : int res ATTRIBUTE_UNUSED;
7165 0 : if (GET_MODE (x1) != i1
7166 0 : || !vector_all_ones_operand (operands[3], i1)
7167 0 : || !const0_operand (operands[4], i1)
7168 0 : || !register_operand (operands[1], i1)
7169 0 : || !const0_operand (operands[2], i1))
7170 0 : return -1;
7171 : return 0;
7172 : }
7173 :
7174 : int
7175 1056 : pattern1137 (rtx x1)
7176 : {
7177 1056 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7178 1056 : rtx x2;
7179 1056 : int res ATTRIBUTE_UNUSED;
7180 1056 : if (!register_operand (operands[0], E_DImode)
7181 1056 : || GET_MODE (x1) != E_DImode)
7182 : return -1;
7183 1030 : x2 = XEXP (x1, 0);
7184 1030 : if (GET_MODE (x2) != E_DImode
7185 1030 : || !register_operand (operands[1], E_V64QImode)
7186 2060 : || !nonimmediate_operand (operands[2], E_V64QImode))
7187 0 : return -1;
7188 : return 0;
7189 : }
7190 :
7191 : int
7192 0 : pattern1140 (rtx x1)
7193 : {
7194 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7195 0 : rtx x2, x3, x4, x5, x6, x7, x8;
7196 0 : int res ATTRIBUTE_UNUSED;
7197 0 : x2 = XEXP (x1, 0);
7198 0 : x3 = XEXP (x2, 2);
7199 0 : if (GET_CODE (x3) != UNSPEC
7200 0 : || XVECLEN (x3, 0) != 3
7201 0 : || XINT (x3, 1) != 56
7202 0 : || GET_MODE (x3) != E_QImode)
7203 : return -1;
7204 0 : x4 = XVECEXP (x3, 0, 2);
7205 0 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
7206 : return -1;
7207 0 : x5 = XEXP (x2, 0);
7208 0 : operands[3] = x5;
7209 0 : x6 = XEXP (x2, 1);
7210 0 : operands[4] = x6;
7211 0 : x7 = XVECEXP (x3, 0, 0);
7212 0 : operands[1] = x7;
7213 0 : x8 = XVECEXP (x3, 0, 1);
7214 0 : operands[2] = x8;
7215 0 : switch (GET_MODE (x1))
7216 : {
7217 0 : case E_V8SFmode:
7218 0 : return pattern1139 (x2,
7219 0 : E_V8SImode); /* [-1, 0] */
7220 :
7221 0 : case E_V4SFmode:
7222 0 : if (pattern1139 (x2,
7223 : E_V4SImode) != 0)
7224 0 : return -1;
7225 : return 1;
7226 :
7227 0 : case E_V4DFmode:
7228 0 : if (pattern1139 (x2,
7229 : E_V4DImode) != 0)
7230 0 : return -1;
7231 : return 2;
7232 :
7233 0 : case E_V2DFmode:
7234 0 : if (pattern1139 (x2,
7235 : E_V2DImode) != 0)
7236 0 : return -1;
7237 : return 3;
7238 :
7239 : default:
7240 : return -1;
7241 : }
7242 : }
7243 :
7244 : int
7245 510 : pattern1145 (rtx x1)
7246 : {
7247 510 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7248 510 : rtx x2, x3, x4;
7249 510 : int res ATTRIBUTE_UNUSED;
7250 510 : x2 = XEXP (x1, 2);
7251 510 : x3 = XEXP (x2, 0);
7252 510 : operands[3] = x3;
7253 510 : if (!register_operand (operands[3], E_QImode))
7254 : return -1;
7255 473 : x4 = XEXP (x2, 1);
7256 473 : switch (XWINT (x4, 0))
7257 : {
7258 326 : case 15L:
7259 326 : switch (GET_MODE (operands[0]))
7260 : {
7261 0 : case E_V4SFmode:
7262 0 : return pattern1144 (x1,
7263 0 : E_V4SFmode); /* [-1, 0] */
7264 :
7265 104 : case E_V4DFmode:
7266 104 : if (pattern1144 (x1,
7267 : E_V4DFmode) != 0)
7268 0 : return -1;
7269 : return 1;
7270 :
7271 138 : case E_V4SImode:
7272 138 : if (pattern1144 (x1,
7273 : E_V4SImode) != 0)
7274 0 : return -1;
7275 : return 2;
7276 :
7277 84 : case E_V4DImode:
7278 84 : if (pattern1144 (x1,
7279 : E_V4DImode) != 0)
7280 0 : return -1;
7281 : return 3;
7282 :
7283 : default:
7284 : return -1;
7285 : }
7286 :
7287 147 : case 3L:
7288 147 : switch (GET_MODE (operands[0]))
7289 : {
7290 5 : case E_V2DFmode:
7291 5 : if (pattern1144 (x1,
7292 : E_V2DFmode) != 0)
7293 0 : return -1;
7294 : return 4;
7295 :
7296 142 : case E_V2DImode:
7297 142 : if (pattern1144 (x1,
7298 : E_V2DImode) != 0)
7299 0 : return -1;
7300 : return 5;
7301 :
7302 : default:
7303 : return -1;
7304 : }
7305 :
7306 : default:
7307 : return -1;
7308 : }
7309 : }
7310 :
7311 : int
7312 1193 : pattern1152 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
7313 : {
7314 1193 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7315 1193 : rtx x2;
7316 1193 : int res ATTRIBUTE_UNUSED;
7317 1193 : if (!register_operand (operands[0], i2)
7318 1193 : || GET_MODE (x1) != i2)
7319 : return -1;
7320 1122 : x2 = XEXP (x1, 0);
7321 1122 : if (GET_MODE (x2) != i2
7322 1122 : || !nonimmediate_operand (operands[1], i2)
7323 1122 : || !register_operand (operands[2], i3)
7324 1122 : || !nonimm_or_0_operand (operands[3], i2)
7325 2220 : || !register_operand (operands[4], i1))
7326 110 : return -1;
7327 : return 0;
7328 : }
7329 :
7330 : int
7331 1642 : pattern1158 (rtx x1)
7332 : {
7333 1642 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7334 1642 : rtx x2;
7335 1642 : int res ATTRIBUTE_UNUSED;
7336 1642 : x2 = XEXP (x1, 2);
7337 1642 : if (XWINT (x2, 0) != 1L
7338 1642 : || !const_0_to_255_operand (operands[3], E_SImode))
7339 : return -1;
7340 1642 : return pattern1157 (x1); /* [-1, 2] */
7341 : }
7342 :
7343 : int
7344 36 : pattern1161 (rtx x1, machine_mode i1, machine_mode i2)
7345 : {
7346 36 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7347 36 : rtx x2, x3;
7348 36 : int res ATTRIBUTE_UNUSED;
7349 36 : if (!register_operand (operands[0], i1)
7350 36 : || GET_MODE (x1) != i1)
7351 : return -1;
7352 36 : x2 = XEXP (x1, 0);
7353 36 : if (GET_MODE (x2) != i1)
7354 : return -1;
7355 36 : x3 = XEXP (x2, 0);
7356 36 : if (GET_MODE (x3) != i2
7357 36 : || !nonimmediate_operand (operands[1], i2)
7358 68 : || !register_operand (operands[2], i1))
7359 8 : return -1;
7360 : return 0;
7361 : }
7362 :
7363 : int
7364 1148 : pattern1166 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3, machine_mode i4)
7365 : {
7366 1148 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7367 1148 : int res ATTRIBUTE_UNUSED;
7368 1148 : if (GET_MODE (x1) != i4
7369 1148 : || !register_operand (operands[1], i3)
7370 1148 : || !nonimm_or_0_operand (operands[3], i2)
7371 2274 : || !register_operand (operands[4], i1))
7372 77 : return -1;
7373 : return 0;
7374 : }
7375 :
7376 : int
7377 656 : pattern1168 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3, machine_mode i4)
7378 : {
7379 656 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7380 656 : rtx x2, x3, x4;
7381 656 : int res ATTRIBUTE_UNUSED;
7382 656 : if (!register_operand (operands[0], i2)
7383 656 : || GET_MODE (x1) != i2)
7384 : return -1;
7385 605 : x2 = XEXP (x1, 0);
7386 605 : if (GET_MODE (x2) != i2)
7387 : return -1;
7388 605 : x3 = XEXP (x2, 0);
7389 605 : if (GET_MODE (x3) != i4
7390 605 : || !vector_operand (operands[2], i3))
7391 : return -1;
7392 605 : x4 = XEXP (x2, 1);
7393 605 : return pattern1166 (x4,
7394 : i1,
7395 : i2,
7396 : i3,
7397 605 : i4); /* [-1, 0] */
7398 : }
7399 :
7400 : int
7401 493 : pattern1174 (rtx x1)
7402 : {
7403 493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7404 493 : int res ATTRIBUTE_UNUSED;
7405 493 : if (!const48_operand (operands[3], E_SImode))
7406 : return -1;
7407 493 : switch (GET_MODE (operands[0]))
7408 : {
7409 114 : case E_V32HFmode:
7410 114 : return pattern1173 (x1,
7411 114 : E_V32HFmode); /* [-1, 0] */
7412 :
7413 193 : case E_V16SFmode:
7414 193 : if (pattern1173 (x1,
7415 : E_V16SFmode) != 0)
7416 10 : return -1;
7417 : return 1;
7418 :
7419 186 : case E_V8DFmode:
7420 186 : if (pattern1173 (x1,
7421 : E_V8DFmode) != 0)
7422 10 : return -1;
7423 : return 2;
7424 :
7425 : default:
7426 : return -1;
7427 : }
7428 : }
7429 :
7430 : int
7431 6318 : pattern1177 (rtx x1, machine_mode i1)
7432 : {
7433 6318 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7434 6318 : int res ATTRIBUTE_UNUSED;
7435 6318 : if (!register_operand (operands[0], i1)
7436 6304 : || GET_MODE (x1) != i1
7437 6304 : || !register_operand (operands[1], i1)
7438 6156 : || !register_operand (operands[2], i1)
7439 12325 : || !bcst_vector_operand (operands[3], i1))
7440 336 : return -1;
7441 : return 0;
7442 : }
7443 :
7444 : int
7445 8295 : pattern1181 (rtx x1, machine_mode i1, machine_mode i2)
7446 : {
7447 8295 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7448 8295 : rtx x2;
7449 8295 : int res ATTRIBUTE_UNUSED;
7450 8295 : if (!nonimmediate_operand (operands[0], i1)
7451 8295 : || GET_MODE (x1) != i1)
7452 : return -1;
7453 8294 : x2 = XEXP (x1, 0);
7454 8294 : if (GET_MODE (x2) != i2
7455 8294 : || !nonimmediate_operand (operands[1], i1))
7456 3051 : return -1;
7457 : return 0;
7458 : }
7459 :
7460 : int
7461 7402 : pattern1186 (rtx x1, machine_mode i1)
7462 : {
7463 7402 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7464 7402 : rtx x2, x3, x4, x5;
7465 7402 : int res ATTRIBUTE_UNUSED;
7466 7402 : if (!register_operand (operands[0], i1)
7467 7402 : || GET_MODE (x1) != i1)
7468 : return -1;
7469 6508 : x2 = XEXP (x1, 0);
7470 6508 : if (GET_MODE (x2) != i1
7471 6508 : || !nonimmediate_operand (operands[2], i1))
7472 : return -1;
7473 5445 : x3 = XEXP (x1, 1);
7474 5445 : if (GET_MODE (x3) != i1
7475 5445 : || !nonimmediate_operand (operands[1], i1))
7476 : return -1;
7477 4362 : x4 = XEXP (x1, 2);
7478 4362 : if (GET_MODE (x4) != i1)
7479 : return -1;
7480 4362 : x5 = XEXP (x4, 1);
7481 4362 : if (GET_MODE (x5) != i1)
7482 0 : return -1;
7483 : return 0;
7484 : }
7485 :
7486 : int
7487 63 : pattern1191 (rtx x1)
7488 : {
7489 63 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7490 63 : rtx x2;
7491 63 : int res ATTRIBUTE_UNUSED;
7492 63 : switch (GET_MODE (operands[0]))
7493 : {
7494 0 : case E_HImode:
7495 0 : if (!register_operand (operands[0], E_HImode)
7496 0 : || GET_MODE (x1) != E_HImode)
7497 : return -1;
7498 0 : x2 = XEXP (x1, 0);
7499 0 : if (GET_MODE (x2) != E_QImode)
7500 : return -1;
7501 : return 0;
7502 :
7503 6 : case E_SImode:
7504 6 : if (!register_operand (operands[0], E_SImode)
7505 6 : || GET_MODE (x1) != E_SImode)
7506 : return -1;
7507 6 : x2 = XEXP (x1, 0);
7508 6 : switch (GET_MODE (x2))
7509 : {
7510 : case E_QImode:
7511 : return 1;
7512 :
7513 4 : case E_HImode:
7514 4 : return 2;
7515 :
7516 : default:
7517 : return -1;
7518 : }
7519 :
7520 57 : case E_DImode:
7521 57 : if (!register_operand (operands[0], E_DImode)
7522 57 : || GET_MODE (x1) != E_DImode)
7523 : return -1;
7524 57 : x2 = XEXP (x1, 0);
7525 57 : switch (GET_MODE (x2))
7526 : {
7527 : case E_QImode:
7528 : return 3;
7529 :
7530 : case E_HImode:
7531 : return 4;
7532 :
7533 : case E_SImode:
7534 : return 5;
7535 :
7536 : default:
7537 : return -1;
7538 : }
7539 :
7540 : default:
7541 : return -1;
7542 : }
7543 : }
7544 :
7545 : int
7546 2160 : pattern1202 (rtx x1)
7547 : {
7548 2160 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7549 2160 : rtx x2, x3, x4, x5, x6, x7;
7550 2160 : int res ATTRIBUTE_UNUSED;
7551 2160 : x2 = XEXP (x1, 0);
7552 2160 : x3 = XEXP (x2, 0);
7553 2160 : x4 = XEXP (x3, 1);
7554 2160 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7555 : return -1;
7556 2134 : x5 = XEXP (x3, 0);
7557 2134 : operands[3] = x5;
7558 2134 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
7559 : return -1;
7560 930 : x6 = XEXP (x2, 1);
7561 930 : operands[1] = x6;
7562 930 : x7 = XEXP (x1, 1);
7563 930 : operands[2] = x7;
7564 930 : switch (GET_MODE (operands[0]))
7565 : {
7566 0 : case E_QImode:
7567 0 : return pattern1200 (x1,
7568 0 : E_QImode); /* [-1, 0] */
7569 :
7570 0 : case E_HImode:
7571 0 : if (pattern1200 (x1,
7572 : E_HImode) != 0)
7573 0 : return -1;
7574 : return 1;
7575 :
7576 219 : case E_SImode:
7577 219 : if (pattern1201 (x1,
7578 : E_SImode) != 0)
7579 142 : return -1;
7580 : return 2;
7581 :
7582 711 : case E_DImode:
7583 711 : if (pattern1201 (x1,
7584 : E_DImode) != 0)
7585 675 : return -1;
7586 : return 3;
7587 :
7588 : default:
7589 : return -1;
7590 : }
7591 : }
7592 :
7593 : int
7594 459988 : pattern1211 (rtx x1, machine_mode i1, int i2)
7595 : {
7596 459988 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7597 459988 : rtx x2;
7598 459988 : int res ATTRIBUTE_UNUSED;
7599 459988 : if (GET_CODE (x1) != UNSPEC_VOLATILE
7600 459988 : || XVECLEN (x1, 0) != 1
7601 459988 : || XINT (x1, 1) != i2
7602 459988 : || GET_MODE (x1) != i1)
7603 : return -1;
7604 459988 : x2 = XVECEXP (x1, 0, 0);
7605 459988 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7606 0 : return -1;
7607 : return 0;
7608 : }
7609 :
7610 : int
7611 31386 : pattern1213 (rtx x1)
7612 : {
7613 31386 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7614 31386 : rtx x2, x3, x4;
7615 31386 : int res ATTRIBUTE_UNUSED;
7616 31386 : x2 = XEXP (x1, 0);
7617 31386 : if (GET_MODE (x2) != E_SImode
7618 31354 : || !register_operand (operands[0], E_DImode)
7619 62740 : || GET_MODE (x1) != E_DImode)
7620 : return -1;
7621 31354 : x3 = XEXP (x2, 0);
7622 31354 : operands[1] = x3;
7623 31354 : if (!nonimmediate_operand (operands[1], E_SImode))
7624 : return -1;
7625 31326 : x4 = XEXP (x2, 1);
7626 31326 : operands[2] = x4;
7627 31326 : if (!register_operand (operands[2], E_QImode))
7628 31223 : return -1;
7629 : return 0;
7630 : }
7631 :
7632 : int
7633 1151006 : pattern1218 (rtx x1)
7634 : {
7635 1151006 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7636 1151006 : rtx x2, x3, x4;
7637 1151006 : int res ATTRIBUTE_UNUSED;
7638 1151006 : x2 = XEXP (x1, 1);
7639 1151006 : x3 = XEXP (x2, 1);
7640 1151006 : operands[2] = x3;
7641 1151006 : x4 = XEXP (x1, 0);
7642 1151006 : switch (GET_CODE (x4))
7643 : {
7644 1626 : case STRICT_LOW_PART:
7645 1626 : return pattern578 (x1); /* [-1, 1] */
7646 :
7647 1149380 : case REG:
7648 1149380 : case SUBREG:
7649 1149380 : case MEM:
7650 1149380 : operands[0] = x4;
7651 1149380 : switch (GET_MODE (operands[0]))
7652 : {
7653 391168 : case E_DImode:
7654 391168 : if (GET_MODE (x2) != E_DImode)
7655 0 : return -1;
7656 : return 2;
7657 :
7658 8128 : case E_TImode:
7659 8128 : if (pattern586 (x2,
7660 : E_TImode) != 0)
7661 0 : return -1;
7662 : return 3;
7663 :
7664 47552 : case E_HImode:
7665 47552 : if (GET_MODE (x2) != E_HImode
7666 47552 : || !const_int_operand (operands[2], E_HImode))
7667 21828 : return -1;
7668 : return 4;
7669 :
7670 484515 : case E_SImode:
7671 484515 : if (GET_MODE (x2) != E_SImode
7672 484515 : || !const_int_operand (operands[2], E_SImode))
7673 323796 : return -1;
7674 : return 5;
7675 :
7676 : default:
7677 : return -1;
7678 : }
7679 :
7680 : default:
7681 : return -1;
7682 : }
7683 : }
7684 :
7685 : int
7686 2937 : pattern1230 (rtx x1, machine_mode i1)
7687 : {
7688 2937 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7689 2937 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7690 2937 : rtx x10, x11, x12, x13, x14;
7691 2937 : int res ATTRIBUTE_UNUSED;
7692 2937 : x2 = XVECEXP (x1, 0, 0);
7693 2937 : x3 = XEXP (x2, 1);
7694 2937 : x4 = XEXP (x3, 0);
7695 2937 : if (GET_MODE (x4) != i1)
7696 : return -1;
7697 2937 : x5 = XVECEXP (x1, 0, 1);
7698 2937 : x6 = XEXP (x5, 1);
7699 2937 : if (GET_CODE (x6) != PLUS)
7700 : return -1;
7701 2937 : x7 = XEXP (x2, 0);
7702 2937 : if (GET_MODE (x7) != E_CCCmode
7703 297 : || GET_MODE (x3) != E_CCCmode)
7704 : return -1;
7705 297 : x8 = XEXP (x4, 1);
7706 297 : operands[2] = x8;
7707 297 : if (!memory_operand (operands[2], i1))
7708 : return -1;
7709 142 : x9 = XEXP (x4, 0);
7710 142 : if (!rtx_equal_p (x9, operands[0]))
7711 : return -1;
7712 142 : x10 = XEXP (x3, 1);
7713 142 : if (!rtx_equal_p (x10, operands[0]))
7714 : return -1;
7715 142 : x11 = XEXP (x6, 0);
7716 142 : if (!rtx_equal_p (x11, operands[0]))
7717 : return -1;
7718 142 : x12 = XEXP (x6, 1);
7719 142 : if (!rtx_equal_p (x12, operands[2]))
7720 : return -1;
7721 142 : x13 = PATTERN (peep2_next_insn (2));
7722 142 : x14 = XEXP (x13, 0);
7723 142 : if (!rtx_equal_p (x14, operands[1]))
7724 126 : return -1;
7725 : return 0;
7726 : }
7727 :
7728 : int
7729 1612726 : pattern1236 (rtx x1, machine_mode i1)
7730 : {
7731 1612726 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7732 1612726 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7733 1612726 : rtx x10, x11;
7734 1612726 : int res ATTRIBUTE_UNUSED;
7735 1612726 : if (!nonimmediate_gr_operand (operands[1], i1))
7736 : return -1;
7737 1014640 : x2 = XVECEXP (x1, 0, 0);
7738 1014640 : x3 = XEXP (x2, 1);
7739 1014640 : if (GET_CODE (x3) != UNSPEC
7740 1760 : || XVECLEN (x3, 0) != 2
7741 1217 : || XINT (x3, 1) != 37
7742 1206 : || GET_MODE (x3) != E_CCCmode)
7743 : return -1;
7744 1201 : x4 = XVECEXP (x3, 0, 1);
7745 1201 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7746 : return -1;
7747 1201 : x5 = XEXP (x2, 0);
7748 1201 : if (GET_CODE (x5) != REG
7749 1201 : || REGNO (x5) != 17
7750 2402 : || GET_MODE (x5) != E_CCCmode)
7751 : return -1;
7752 1201 : x6 = XVECEXP (x1, 0, 1);
7753 1201 : if (GET_CODE (x6) != SET)
7754 : return -1;
7755 762 : x7 = XEXP (x6, 1);
7756 762 : if (GET_CODE (x7) != NEG
7757 762 : || GET_MODE (x7) != i1)
7758 : return -1;
7759 762 : x8 = XVECEXP (x3, 0, 0);
7760 762 : operands[2] = x8;
7761 762 : if (!general_reg_operand (operands[2], i1))
7762 : return -1;
7763 762 : x9 = XEXP (x7, 0);
7764 762 : if (!rtx_equal_p (x9, operands[2]))
7765 : return -1;
7766 762 : x10 = XEXP (x6, 0);
7767 762 : if (!rtx_equal_p (x10, operands[2]))
7768 : return -1;
7769 762 : x11 = PATTERN (peep2_next_insn (2));
7770 762 : return pattern1235 (x11,
7771 762 : i1); /* [-1, 0] */
7772 : }
7773 :
7774 : int
7775 1199 : pattern1242 (rtx x1, machine_mode i1)
7776 : {
7777 1199 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7778 1199 : int res ATTRIBUTE_UNUSED;
7779 1199 : if (!register_operand (operands[0], i1)
7780 1199 : || GET_MODE (x1) != i1)
7781 : return -1;
7782 868 : return pattern1241 (); /* [-1, 2] */
7783 : }
7784 :
7785 : int
7786 0 : pattern1245 (rtx x1)
7787 : {
7788 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7789 0 : rtx x2, x3, x4;
7790 0 : int res ATTRIBUTE_UNUSED;
7791 0 : if (GET_CODE (x1) != VEC_SELECT)
7792 : return -1;
7793 0 : x2 = XEXP (x1, 1);
7794 0 : if (GET_CODE (x2) != PARALLEL
7795 0 : || XVECLEN (x2, 0) != 1)
7796 : return -1;
7797 0 : x3 = XVECEXP (x2, 0, 0);
7798 0 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7799 : return -1;
7800 0 : x4 = XEXP (x1, 0);
7801 0 : operands[1] = x4;
7802 0 : if (!const48_operand (operands[2], E_SImode))
7803 : return -1;
7804 0 : switch (GET_MODE (x1))
7805 : {
7806 0 : case E_SFmode:
7807 0 : if (!register_operand (operands[1], E_V4SFmode))
7808 0 : return -1;
7809 : return 0;
7810 :
7811 0 : case E_DFmode:
7812 0 : if (!register_operand (operands[1], E_V2DFmode))
7813 0 : return -1;
7814 : return 1;
7815 :
7816 : default:
7817 : return -1;
7818 : }
7819 : }
7820 :
7821 : int
7822 1010 : pattern1253 (rtx x1)
7823 : {
7824 1010 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7825 1010 : rtx x2, x3, x4, x5;
7826 1010 : int res ATTRIBUTE_UNUSED;
7827 1010 : x2 = XEXP (x1, 0);
7828 1010 : x3 = XEXP (x2, 1);
7829 1010 : switch (GET_CODE (x3))
7830 : {
7831 827 : case REG:
7832 827 : case SUBREG:
7833 827 : case MEM:
7834 827 : x4 = XEXP (x2, 2);
7835 827 : operands[4] = x4;
7836 827 : switch (GET_MODE (operands[0]))
7837 : {
7838 : case E_V8HFmode:
7839 : return 0;
7840 :
7841 : case E_V4SFmode:
7842 : return 1;
7843 :
7844 : case E_V2DFmode:
7845 : return 2;
7846 :
7847 : default:
7848 : return -1;
7849 : }
7850 :
7851 183 : case CONST_INT:
7852 183 : case CONST_DOUBLE:
7853 183 : case CONST_VECTOR:
7854 183 : operands[4] = x3;
7855 183 : x4 = XEXP (x2, 2);
7856 183 : operands[5] = x4;
7857 183 : x5 = XEXP (x1, 1);
7858 183 : if (!rtx_equal_p (x5, operands[1]))
7859 : return -1;
7860 183 : switch (GET_MODE (operands[0]))
7861 : {
7862 : case E_V8HFmode:
7863 : return 3;
7864 :
7865 : case E_V4SFmode:
7866 : return 4;
7867 :
7868 : case E_V2DFmode:
7869 : return 5;
7870 :
7871 : default:
7872 : return -1;
7873 : }
7874 :
7875 : default:
7876 : return -1;
7877 : }
7878 : }
7879 :
7880 : int
7881 42 : pattern1263 (rtx x1)
7882 : {
7883 42 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7884 42 : rtx x2, x3, x4, x5, x6, x7;
7885 42 : int res ATTRIBUTE_UNUSED;
7886 42 : x2 = XVECEXP (x1, 0, 2);
7887 42 : x3 = XEXP (x2, 0);
7888 42 : x4 = XEXP (x3, 0);
7889 42 : if (maybe_ne (SUBREG_BYTE (x4), 0))
7890 : return -1;
7891 42 : x5 = XEXP (x4, 0);
7892 42 : if (GET_CODE (x5) != NOT)
7893 : return -1;
7894 18 : x6 = XEXP (x5, 0);
7895 18 : operands[3] = x6;
7896 18 : x7 = XEXP (x3, 1);
7897 18 : operands[4] = x7;
7898 18 : switch (GET_MODE (operands[0]))
7899 : {
7900 18 : case E_V16QImode:
7901 18 : if (!register_operand (operands[0], E_V16QImode)
7902 18 : || GET_MODE (x1) != E_V16QImode
7903 18 : || !register_operand (operands[1], E_V16QImode)
7904 18 : || !vector_operand (operands[2], E_V16QImode)
7905 18 : || GET_MODE (x2) != E_V16QImode
7906 18 : || GET_MODE (x5) != E_V16QImode
7907 36 : || !register_operand (operands[3], E_V16QImode))
7908 : return -1;
7909 18 : switch (GET_MODE (x3))
7910 : {
7911 18 : case E_V4SImode:
7912 18 : if (GET_MODE (x4) != E_V4SImode
7913 18 : || !const0_operand (operands[4], E_V4SImode))
7914 0 : return -1;
7915 : return 0;
7916 :
7917 0 : case E_V2DImode:
7918 0 : if (GET_MODE (x4) != E_V2DImode
7919 0 : || !const0_operand (operands[4], E_V2DImode))
7920 0 : return -1;
7921 : return 1;
7922 :
7923 : default:
7924 : return -1;
7925 : }
7926 :
7927 0 : case E_V32QImode:
7928 0 : if (!register_operand (operands[0], E_V32QImode)
7929 0 : || GET_MODE (x1) != E_V32QImode
7930 0 : || !register_operand (operands[1], E_V32QImode)
7931 0 : || !vector_operand (operands[2], E_V32QImode)
7932 0 : || GET_MODE (x2) != E_V32QImode
7933 0 : || GET_MODE (x5) != E_V32QImode
7934 0 : || !register_operand (operands[3], E_V32QImode))
7935 : return -1;
7936 0 : switch (GET_MODE (x3))
7937 : {
7938 0 : case E_V8SImode:
7939 0 : if (GET_MODE (x4) != E_V8SImode
7940 0 : || !const0_operand (operands[4], E_V8SImode))
7941 0 : return -1;
7942 : return 2;
7943 :
7944 0 : case E_V4DImode:
7945 0 : if (GET_MODE (x4) != E_V4DImode
7946 0 : || !const0_operand (operands[4], E_V4DImode))
7947 0 : return -1;
7948 : return 3;
7949 :
7950 : default:
7951 : return -1;
7952 : }
7953 :
7954 : default:
7955 : return -1;
7956 : }
7957 : }
7958 :
7959 : int
7960 41 : pattern1272 (rtx x1, rtx_code i1)
7961 : {
7962 41 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7963 41 : rtx x2, x3, x4, x5, x6, x7;
7964 41 : int res ATTRIBUTE_UNUSED;
7965 41 : x2 = XVECEXP (x1, 0, 1);
7966 41 : x3 = XEXP (x2, 1);
7967 41 : if (GET_MODE (x3) != E_DImode)
7968 : return -1;
7969 19 : x4 = XEXP (x3, 0);
7970 19 : if (GET_CODE (x4) != i1
7971 0 : || GET_MODE (x4) != E_SImode)
7972 : return -1;
7973 0 : x5 = XVECEXP (x1, 0, 0);
7974 0 : x6 = XEXP (x5, 1);
7975 0 : x7 = XEXP (x6, 0);
7976 0 : if (GET_MODE (x7) != E_SImode)
7977 0 : return -1;
7978 : return 0;
7979 : }
7980 :
7981 : int
7982 12992 : pattern1276 (rtx x1)
7983 : {
7984 12992 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7985 12992 : rtx x2, x3, x4, x5, x6, x7;
7986 12992 : int res ATTRIBUTE_UNUSED;
7987 12992 : x2 = XVECEXP (x1, 0, 1);
7988 12992 : x3 = XEXP (x2, 1);
7989 12992 : x4 = XEXP (x3, 0);
7990 12992 : if (!rtx_equal_p (x4, operands[1]))
7991 : return -1;
7992 12992 : x5 = XVECEXP (x1, 0, 0);
7993 12992 : x6 = XEXP (x5, 1);
7994 12992 : x7 = XEXP (x6, 0);
7995 12992 : switch (GET_MODE (x7))
7996 : {
7997 205 : case E_QImode:
7998 205 : if (!nonimmediate_operand (operands[1], E_QImode)
7999 149 : || !nonimmediate_operand (operands[0], E_QImode)
8000 354 : || GET_MODE (x3) != E_QImode)
8001 56 : return -1;
8002 : return 0;
8003 :
8004 774 : case E_HImode:
8005 774 : if (!nonimmediate_operand (operands[1], E_HImode)
8006 774 : || !nonimmediate_operand (operands[0], E_HImode)
8007 1548 : || GET_MODE (x3) != E_HImode)
8008 0 : return -1;
8009 : return 1;
8010 :
8011 4623 : case E_SImode:
8012 4623 : if (!nonimmediate_operand (operands[1], E_SImode)
8013 4600 : || !nonimmediate_operand (operands[0], E_SImode)
8014 9223 : || GET_MODE (x3) != E_SImode)
8015 23 : return -1;
8016 : return 2;
8017 :
8018 7324 : case E_DImode:
8019 7324 : if (!nonimmediate_operand (operands[1], E_DImode)
8020 7324 : || !nonimmediate_operand (operands[0], E_DImode)
8021 14648 : || GET_MODE (x3) != E_DImode)
8022 0 : return -1;
8023 : return 3;
8024 :
8025 : default:
8026 : return -1;
8027 : }
8028 : }
8029 :
8030 : int
8031 130771 : pattern1285 (rtx x1, machine_mode i1)
8032 : {
8033 130771 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8034 130771 : rtx x2, x3, x4;
8035 130771 : int res ATTRIBUTE_UNUSED;
8036 130771 : x2 = XEXP (x1, 1);
8037 130771 : x3 = XEXP (x2, 1);
8038 130771 : if (maybe_ne (SUBREG_BYTE (x3), 0)
8039 130771 : || GET_MODE (x3) != E_QImode)
8040 : return -1;
8041 130771 : x4 = XEXP (x1, 0);
8042 130771 : operands[0] = x4;
8043 130771 : return pattern1284 (x2,
8044 130771 : i1); /* [-1, 2] */
8045 : }
8046 :
8047 : int
8048 2578908 : pattern1289 (rtx x1, machine_mode i1)
8049 : {
8050 2578908 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8051 2578908 : int res ATTRIBUTE_UNUSED;
8052 2578908 : if (!mask_reg_operand (operands[0], i1)
8053 462 : || GET_MODE (x1) != i1
8054 462 : || !mask_reg_operand (operands[1], i1)
8055 2579370 : || !mask_reg_operand (operands[2], i1))
8056 2578446 : return -1;
8057 : return 0;
8058 : }
8059 :
8060 : int
8061 30 : pattern1292 (rtx x1, machine_mode i1)
8062 : {
8063 30 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8064 30 : rtx x2, x3;
8065 30 : int res ATTRIBUTE_UNUSED;
8066 30 : if (!register_operand (operands[0], i1)
8067 30 : || GET_MODE (x1) != i1)
8068 : return -1;
8069 30 : x2 = XEXP (x1, 0);
8070 30 : if (GET_MODE (x2) != i1)
8071 : return -1;
8072 30 : x3 = XEXP (x2, 0);
8073 30 : if (GET_MODE (x3) != i1
8074 30 : || !register_operand (operands[1], i1)
8075 30 : || !const0_operand (operands[3], i1)
8076 33 : || !const0_operand (operands[4], i1))
8077 27 : return -1;
8078 : return 0;
8079 : }
8080 :
8081 : int
8082 5904 : pattern1297 (rtx x1, machine_mode i1)
8083 : {
8084 5904 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8085 5904 : int res ATTRIBUTE_UNUSED;
8086 5904 : if (GET_MODE (x1) != i1
8087 5904 : || !fcmov_comparison_operator (operands[1], E_VOIDmode)
8088 5852 : || !nonimmediate_operand (operands[2], i1)
8089 11756 : || !nonimmediate_operand (operands[3], i1))
8090 287 : return -1;
8091 : return 0;
8092 : }
8093 :
8094 : int
8095 0 : pattern1300 (rtx x1, machine_mode i1)
8096 : {
8097 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8098 0 : int res ATTRIBUTE_UNUSED;
8099 0 : if (!register_operand (operands[1], i1)
8100 0 : || GET_MODE (x1) != i1)
8101 : return -1;
8102 0 : switch (GET_MODE (operands[2]))
8103 : {
8104 0 : case E_HImode:
8105 0 : if (!nonimmediate_operand (operands[2], E_HImode))
8106 0 : return -1;
8107 : return 0;
8108 :
8109 0 : case E_SImode:
8110 0 : if (!nonimmediate_operand (operands[2], E_SImode))
8111 0 : return -1;
8112 : return 1;
8113 :
8114 : default:
8115 : return -1;
8116 : }
8117 : }
8118 :
8119 : int
8120 6041 : pattern1305 (rtx x1, machine_mode i1)
8121 : {
8122 6041 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8123 6041 : rtx x2;
8124 6041 : int res ATTRIBUTE_UNUSED;
8125 6041 : if (!nonimmediate_operand (operands[0], i1)
8126 6041 : || GET_MODE (x1) != i1)
8127 : return -1;
8128 6041 : x2 = XEXP (x1, 0);
8129 6041 : if (GET_MODE (x2) != i1
8130 6041 : || !ix86_carry_flag_operator (operands[4], i1)
8131 6041 : || !nonimmediate_operand (operands[1], i1)
8132 11465 : || !x86_64_general_operand (operands[2], i1))
8133 787 : return -1;
8134 : return 0;
8135 : }
8136 :
8137 : int
8138 1025 : pattern1310 (machine_mode i1, machine_mode i2, machine_mode i3)
8139 : {
8140 1025 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8141 1025 : int res ATTRIBUTE_UNUSED;
8142 1025 : if (!register_operand (operands[1], i2)
8143 1025 : || !register_operand (operands[2], i1)
8144 1020 : || !nonimmediate_operand (operands[3], i1)
8145 2045 : || !register_operand (operands[4], i3))
8146 37 : return -1;
8147 : return 0;
8148 : }
8149 :
8150 : int
8151 291 : pattern1315 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8152 : {
8153 291 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8154 291 : rtx x2;
8155 291 : int res ATTRIBUTE_UNUSED;
8156 291 : if (!register_operand (operands[0], i2)
8157 291 : || GET_MODE (x1) != i2)
8158 : return -1;
8159 279 : x2 = XEXP (x1, 0);
8160 279 : if (GET_MODE (x2) != i2
8161 279 : || pattern1310 (
8162 : i1,
8163 : i2,
8164 : i3) != 0)
8165 8 : return -1;
8166 : return 0;
8167 : }
8168 :
8169 : int
8170 0 : pattern1320 (rtx x1, machine_mode i1, machine_mode i2)
8171 : {
8172 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8173 0 : rtx x2, x3, x4;
8174 0 : int res ATTRIBUTE_UNUSED;
8175 0 : if (!register_operand (operands[0], i1)
8176 0 : || GET_MODE (x1) != i1)
8177 : return -1;
8178 0 : x2 = XEXP (x1, 0);
8179 0 : if (GET_MODE (x2) != i1)
8180 : return -1;
8181 0 : x3 = XEXP (x2, 0);
8182 0 : if (GET_MODE (x3) != i1)
8183 : return -1;
8184 0 : x4 = XEXP (x3, 0);
8185 0 : if (GET_MODE (x4) != i2
8186 0 : || !nonimmediate_operand (operands[1], i2)
8187 0 : || !nonimm_or_0_operand (operands[3], i1)
8188 0 : || !register_operand (operands[2], i1))
8189 0 : return -1;
8190 : return 0;
8191 : }
8192 :
8193 : int
8194 3427 : pattern1326 (rtx x1)
8195 : {
8196 3427 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8197 3427 : rtx x2;
8198 3427 : int res ATTRIBUTE_UNUSED;
8199 3427 : if (!const_0_to_7_operand (operands[5], E_SImode))
8200 : return -1;
8201 3272 : switch (GET_MODE (operands[0]))
8202 : {
8203 94 : case E_V16QImode:
8204 94 : if (!register_operand (operands[0], E_V16QImode)
8205 94 : || GET_MODE (x1) != E_V16QImode)
8206 : return -1;
8207 94 : x2 = XEXP (x1, 2);
8208 94 : if (GET_MODE (x2) != E_HImode)
8209 0 : return -1;
8210 : return 0;
8211 :
8212 119 : case E_V8HImode:
8213 119 : if (!register_operand (operands[0], E_V8HImode)
8214 119 : || GET_MODE (x1) != E_V8HImode)
8215 : return -1;
8216 119 : x2 = XEXP (x1, 2);
8217 119 : if (GET_MODE (x2) != E_QImode)
8218 0 : return -1;
8219 : return 1;
8220 :
8221 805 : case E_V4SImode:
8222 805 : if (!register_operand (operands[0], E_V4SImode)
8223 805 : || GET_MODE (x1) != E_V4SImode)
8224 : return -1;
8225 797 : x2 = XEXP (x1, 2);
8226 797 : if (GET_MODE (x2) != E_QImode)
8227 0 : return -1;
8228 : return 2;
8229 :
8230 66 : case E_V2DImode:
8231 66 : if (!register_operand (operands[0], E_V2DImode)
8232 66 : || GET_MODE (x1) != E_V2DImode)
8233 : return -1;
8234 66 : x2 = XEXP (x1, 2);
8235 66 : if (GET_MODE (x2) != E_QImode)
8236 0 : return -1;
8237 : return 3;
8238 :
8239 88 : case E_V32QImode:
8240 88 : if (!register_operand (operands[0], E_V32QImode)
8241 88 : || GET_MODE (x1) != E_V32QImode)
8242 : return -1;
8243 88 : x2 = XEXP (x1, 2);
8244 88 : if (GET_MODE (x2) != E_SImode)
8245 0 : return -1;
8246 : return 4;
8247 :
8248 105 : case E_V16HImode:
8249 105 : if (!register_operand (operands[0], E_V16HImode)
8250 105 : || GET_MODE (x1) != E_V16HImode)
8251 : return -1;
8252 105 : x2 = XEXP (x1, 2);
8253 105 : if (GET_MODE (x2) != E_HImode)
8254 0 : return -1;
8255 : return 5;
8256 :
8257 741 : case E_V8SImode:
8258 741 : if (!register_operand (operands[0], E_V8SImode)
8259 741 : || GET_MODE (x1) != E_V8SImode)
8260 : return -1;
8261 741 : x2 = XEXP (x1, 2);
8262 741 : if (GET_MODE (x2) != E_QImode)
8263 0 : return -1;
8264 : return 6;
8265 :
8266 69 : case E_V4DImode:
8267 69 : if (!register_operand (operands[0], E_V4DImode)
8268 69 : || GET_MODE (x1) != E_V4DImode)
8269 : return -1;
8270 69 : x2 = XEXP (x1, 2);
8271 69 : if (GET_MODE (x2) != E_QImode)
8272 0 : return -1;
8273 : return 7;
8274 :
8275 : default:
8276 : return -1;
8277 : }
8278 : }
8279 :
8280 : int
8281 900 : pattern1346 (rtx x1)
8282 : {
8283 900 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8284 900 : rtx x2, x3;
8285 900 : int res ATTRIBUTE_UNUSED;
8286 900 : if (!register_operand (operands[0], E_V8HFmode)
8287 900 : || GET_MODE (x1) != E_V8HFmode)
8288 : return -1;
8289 870 : x2 = XVECEXP (x1, 0, 0);
8290 870 : if (GET_MODE (x2) != E_V8HFmode)
8291 : return -1;
8292 870 : x3 = XEXP (x2, 0);
8293 870 : if (GET_MODE (x3) != E_V8HFmode
8294 870 : || !nonimm_or_0_operand (operands[2], E_V8HFmode)
8295 1738 : || !register_operand (operands[3], E_QImode))
8296 : return -1;
8297 846 : switch (GET_MODE (operands[1]))
8298 : {
8299 0 : case E_V8HImode:
8300 0 : if (!register_operand (operands[1], E_V8HImode))
8301 0 : return -1;
8302 : return 0;
8303 :
8304 0 : case E_V8SImode:
8305 0 : if (!register_operand (operands[1], E_V8SImode))
8306 0 : return -1;
8307 : return 1;
8308 :
8309 846 : case E_V8DImode:
8310 846 : if (!register_operand (operands[1], E_V8DImode))
8311 16 : return -1;
8312 : return 2;
8313 :
8314 : default:
8315 : return -1;
8316 : }
8317 : }
8318 :
8319 : int
8320 834 : pattern1352 (rtx x1)
8321 : {
8322 834 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8323 834 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8324 834 : rtx x10, x11, x12, x13, x14, x15;
8325 834 : int res ATTRIBUTE_UNUSED;
8326 834 : x2 = XEXP (x1, 0);
8327 834 : x3 = XEXP (x2, 0);
8328 834 : x4 = XEXP (x3, 1);
8329 834 : x5 = XVECEXP (x4, 0, 0);
8330 834 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8331 : return -1;
8332 834 : x6 = XVECEXP (x4, 0, 1);
8333 834 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
8334 : return -1;
8335 834 : x7 = XVECEXP (x4, 0, 2);
8336 834 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
8337 : return -1;
8338 834 : x8 = XVECEXP (x4, 0, 3);
8339 834 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
8340 : return -1;
8341 834 : x9 = XVECEXP (x4, 0, 4);
8342 834 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
8343 : return -1;
8344 834 : x10 = XVECEXP (x4, 0, 5);
8345 834 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
8346 : return -1;
8347 834 : x11 = XVECEXP (x4, 0, 6);
8348 834 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
8349 : return -1;
8350 834 : x12 = XVECEXP (x4, 0, 7);
8351 834 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
8352 : return -1;
8353 834 : x13 = XEXP (x1, 1);
8354 834 : x14 = XEXP (x13, 0);
8355 834 : x15 = XEXP (x14, 1);
8356 834 : return pattern1351 (x15,
8357 834 : 8); /* [-1, 0] */
8358 : }
8359 :
8360 : int
8361 118 : pattern1360 (rtx x1)
8362 : {
8363 118 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8364 118 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8365 118 : int res ATTRIBUTE_UNUSED;
8366 118 : x2 = XVECEXP (x1, 0, 0);
8367 118 : x3 = XEXP (x2, 1);
8368 118 : x4 = XEXP (x3, 0);
8369 118 : x5 = XEXP (x4, 0);
8370 118 : operands[2] = x5;
8371 118 : if (!register_operand (operands[2], E_SImode))
8372 : return -1;
8373 118 : x6 = XEXP (x4, 1);
8374 118 : operands[3] = x6;
8375 118 : x7 = XVECEXP (x1, 0, 1);
8376 118 : x8 = XEXP (x7, 0);
8377 118 : operands[0] = x8;
8378 118 : if (!register_operand (operands[0], E_SImode))
8379 : return -1;
8380 118 : x9 = XEXP (x7, 1);
8381 118 : return pattern1357 (x9); /* [-1, 1] */
8382 : }
8383 :
8384 : int
8385 142 : pattern1367 (rtx x1)
8386 : {
8387 142 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8388 142 : rtx x2, x3, x4;
8389 142 : int res ATTRIBUTE_UNUSED;
8390 142 : x2 = XEXP (x1, 0);
8391 142 : x3 = XEXP (x2, 0);
8392 142 : operands[0] = x3;
8393 142 : switch (GET_MODE (operands[0]))
8394 : {
8395 136 : case E_QImode:
8396 136 : x4 = XEXP (x1, 1);
8397 136 : return pattern1366 (x4,
8398 136 : E_QImode); /* [-1, 0] */
8399 :
8400 6 : case E_HImode:
8401 6 : x4 = XEXP (x1, 1);
8402 6 : if (pattern1366 (x4,
8403 : E_HImode) != 0)
8404 0 : return -1;
8405 : return 1;
8406 :
8407 : default:
8408 : return -1;
8409 : }
8410 : }
8411 :
8412 : int
8413 596 : pattern1371 (rtx x1)
8414 : {
8415 596 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8416 596 : rtx x2, x3, x4, x5, x6, x7;
8417 596 : int res ATTRIBUTE_UNUSED;
8418 596 : x2 = XEXP (x1, 0);
8419 596 : x3 = XEXP (x2, 1);
8420 596 : if (maybe_ne (SUBREG_BYTE (x3), 0)
8421 596 : || GET_MODE (x3) != E_QImode)
8422 : return -1;
8423 596 : x4 = XEXP (x3, 0);
8424 596 : if (GET_CODE (x4) != AND)
8425 : return -1;
8426 160 : x5 = XEXP (x4, 0);
8427 160 : operands[1] = x5;
8428 160 : if (!int248_register_operand (operands[1], E_VOIDmode))
8429 : return -1;
8430 155 : x6 = XEXP (x4, 1);
8431 155 : operands[2] = x6;
8432 155 : if (!const_int_operand (operands[2], E_VOIDmode))
8433 : return -1;
8434 155 : x7 = XEXP (x1, 1);
8435 155 : operands[3] = x7;
8436 155 : switch (GET_MODE (operands[0]))
8437 : {
8438 64 : case E_SImode:
8439 64 : return pattern1100 (x1,
8440 64 : E_SImode); /* [-1, 0] */
8441 :
8442 65 : case E_DImode:
8443 65 : if (pattern1100 (x1,
8444 : E_DImode) != 0)
8445 58 : return -1;
8446 : return 1;
8447 :
8448 : default:
8449 : return -1;
8450 : }
8451 : }
8452 :
8453 : int
8454 157300 : pattern1379 (rtx x1, machine_mode i1)
8455 : {
8456 157300 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8457 157300 : int res ATTRIBUTE_UNUSED;
8458 157300 : if (!register_operand (operands[0], i1)
8459 150707 : || GET_MODE (x1) != i1
8460 150707 : || !register_operand (operands[1], i1)
8461 305064 : || !nonmemory_operand (operands[2], E_QImode))
8462 11949 : return -1;
8463 : return 0;
8464 : }
8465 :
8466 : int
8467 583 : pattern1383 (rtx x1)
8468 : {
8469 583 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8470 583 : int res ATTRIBUTE_UNUSED;
8471 583 : switch (GET_MODE (operands[0]))
8472 : {
8473 203 : case E_SImode:
8474 203 : if (!register_operand (operands[0], E_SImode)
8475 203 : || GET_MODE (x1) != E_SImode
8476 406 : || !nonimmediate_operand (operands[1], E_SImode))
8477 0 : return -1;
8478 : return 0;
8479 :
8480 201 : case E_DImode:
8481 201 : if (!register_operand (operands[0], E_DImode)
8482 201 : || GET_MODE (x1) != E_DImode
8483 402 : || !nonimmediate_operand (operands[1], E_DImode))
8484 0 : return -1;
8485 : return 1;
8486 :
8487 : default:
8488 : return -1;
8489 : }
8490 : }
8491 :
8492 : int
8493 5346 : pattern1389 (rtx x1, machine_mode i1)
8494 : {
8495 5346 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8496 5346 : rtx x2, x3, x4, x5, x6, x7, x8;
8497 5346 : int res ATTRIBUTE_UNUSED;
8498 5346 : x2 = XVECEXP (x1, 0, 0);
8499 5346 : x3 = XEXP (x2, 1);
8500 5346 : if (GET_MODE (x3) != i1)
8501 : return -1;
8502 4794 : x4 = XVECEXP (x1, 0, 1);
8503 4794 : if (GET_CODE (x4) != CLOBBER)
8504 : return -1;
8505 4794 : x5 = XEXP (x4, 0);
8506 4794 : if (GET_CODE (x5) != REG
8507 4794 : || REGNO (x5) != 17
8508 9588 : || GET_MODE (x5) != E_CCmode)
8509 : return -1;
8510 4794 : x6 = XEXP (x3, 0);
8511 4794 : if (!rtx_equal_p (x6, operands[0]))
8512 : return -1;
8513 4736 : x7 = XEXP (x2, 0);
8514 4736 : if (!rtx_equal_p (x7, operands[0]))
8515 : return -1;
8516 4736 : x8 = PATTERN (peep2_next_insn (2));
8517 4736 : return pattern1388 (x8); /* [-1, 0] */
8518 : }
8519 :
8520 : int
8521 22481 : pattern1396 (rtx x1, machine_mode i1)
8522 : {
8523 22481 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8524 22481 : rtx x2, x3, x4, x5, x6, x7, x8;
8525 22481 : int res ATTRIBUTE_UNUSED;
8526 22481 : x2 = XVECEXP (x1, 0, 0);
8527 22481 : x3 = XEXP (x2, 1);
8528 22481 : if (GET_MODE (x3) != i1)
8529 : return -1;
8530 22419 : x4 = XVECEXP (x1, 0, 1);
8531 22419 : if (GET_CODE (x4) != CLOBBER)
8532 : return -1;
8533 22419 : x5 = XEXP (x4, 0);
8534 22419 : if (GET_CODE (x5) != REG
8535 22419 : || REGNO (x5) != 17
8536 44838 : || GET_MODE (x5) != E_CCmode)
8537 : return -1;
8538 22419 : x6 = XEXP (x2, 0);
8539 22419 : operands[4] = x6;
8540 22419 : if (!register_operand (operands[4], i1))
8541 : return -1;
8542 22382 : x7 = XEXP (x3, 0);
8543 22382 : operands[3] = x7;
8544 22382 : if (!register_operand (operands[3], i1))
8545 : return -1;
8546 22373 : x8 = XEXP (x3, 1);
8547 22373 : operands[2] = x8;
8548 22373 : if (!x86_64_nonmemory_operand (operands[2], i1))
8549 14439 : return -1;
8550 : return 0;
8551 : }
8552 :
8553 : int
8554 12 : pattern1402 (rtx x1, machine_mode i1)
8555 : {
8556 12 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8557 12 : rtx x2;
8558 12 : int res ATTRIBUTE_UNUSED;
8559 12 : if (!register_operand (operands[0], i1)
8560 12 : || GET_MODE (x1) != i1)
8561 : return -1;
8562 12 : x2 = XEXP (x1, 0);
8563 12 : if (GET_MODE (x2) != i1
8564 12 : || !nonimmediate_operand (operands[1], i1))
8565 0 : return -1;
8566 : return 0;
8567 : }
8568 :
8569 : int
8570 31 : pattern1404 (rtx x1, machine_mode i1)
8571 : {
8572 31 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8573 31 : rtx x2;
8574 31 : int res ATTRIBUTE_UNUSED;
8575 31 : if (!nonimmediate_operand (operands[0], i1)
8576 31 : || GET_MODE (x1) != i1)
8577 : return -1;
8578 31 : x2 = XEXP (x1, 0);
8579 31 : if (GET_MODE (x2) != i1
8580 31 : || !nonimmediate_operand (operands[1], i1)
8581 31 : || !ix86_carry_flag_operator (operands[4], i1)
8582 62 : || !general_operand (operands[2], i1))
8583 0 : return -1;
8584 : return 0;
8585 : }
8586 :
8587 : int
8588 99 : pattern1409 (rtx x1)
8589 : {
8590 99 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8591 99 : rtx x2, x3, x4, x5, x6, x7, x8;
8592 99 : int res ATTRIBUTE_UNUSED;
8593 99 : if (!register_operand (operands[0], E_SImode))
8594 : return -1;
8595 68 : x2 = XEXP (x1, 0);
8596 68 : x3 = XEXP (x2, 0);
8597 68 : operands[1] = x3;
8598 68 : if (!nonimmediate_operand (operands[1], E_SImode))
8599 : return -1;
8600 68 : x4 = XEXP (x1, 1);
8601 68 : if (GET_MODE (x4) != E_SImode)
8602 : return -1;
8603 68 : x5 = XEXP (x4, 0);
8604 68 : if (GET_MODE (x5) != E_DImode)
8605 : return -1;
8606 68 : x6 = XEXP (x5, 0);
8607 68 : if (GET_MODE (x6) != E_DImode)
8608 : return -1;
8609 68 : x7 = XEXP (x6, 0);
8610 68 : operands[2] = x7;
8611 68 : if (!register_operand (operands[2], E_SImode))
8612 : return -1;
8613 68 : x8 = XEXP (x5, 1);
8614 68 : operands[4] = x8;
8615 68 : if (!const_0_to_63_operand (operands[4], E_QImode))
8616 0 : return -1;
8617 : return 0;
8618 : }
8619 :
8620 : int
8621 454 : pattern1414 (rtx x1, machine_mode i1, machine_mode i2)
8622 : {
8623 454 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8624 454 : rtx x2, x3;
8625 454 : int res ATTRIBUTE_UNUSED;
8626 454 : if (!register_operand (operands[0], i1)
8627 454 : || GET_MODE (x1) != i1)
8628 : return -1;
8629 404 : x2 = XEXP (x1, 0);
8630 404 : if (GET_MODE (x2) != i1
8631 404 : || !vector_operand (operands[1], i1)
8632 808 : || !vector_operand (operands[2], i1))
8633 : return -1;
8634 404 : x3 = XVECEXP (x2, 0, 2);
8635 404 : if (GET_MODE (x3) != i1
8636 404 : || !vector_operand (operands[3], i1)
8637 404 : || !const0_operand (operands[4], i1)
8638 808 : || !register_operand (operands[5], i2))
8639 33 : return -1;
8640 : return 0;
8641 : }
8642 :
8643 : int
8644 1600 : pattern1418 (rtx x1, machine_mode i1, machine_mode i2)
8645 : {
8646 1600 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8647 1600 : rtx x2;
8648 1600 : int res ATTRIBUTE_UNUSED;
8649 1600 : if (!register_operand (operands[0], i1)
8650 1600 : || GET_MODE (x1) != i1)
8651 : return -1;
8652 1549 : x2 = XEXP (x1, 0);
8653 1549 : if (GET_MODE (x2) != i1
8654 1549 : || !bcst_vector_operand (operands[1], i1)
8655 3096 : || pattern1417 (
8656 : i1,
8657 : i2) != 0)
8658 37 : return -1;
8659 : return 0;
8660 : }
8661 :
8662 : int
8663 2248 : pattern1423 (rtx x1, machine_mode i1, machine_mode i2)
8664 : {
8665 2248 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8666 2248 : int res ATTRIBUTE_UNUSED;
8667 2248 : if (!bcst_vector_operand (operands[2], i2)
8668 2214 : || GET_MODE (x1) != i2
8669 2214 : || !bcst_vector_operand (operands[3], i2)
8670 2214 : || !const0_operand (operands[4], i2)
8671 4462 : || !register_operand (operands[5], i1))
8672 36 : return -1;
8673 : return 0;
8674 : }
8675 :
8676 : int
8677 279 : pattern1426 (rtx x1, machine_mode i1, machine_mode i2)
8678 : {
8679 279 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8680 279 : rtx x2, x3;
8681 279 : int res ATTRIBUTE_UNUSED;
8682 279 : if (!register_operand (operands[0], i2)
8683 279 : || GET_MODE (x1) != i2)
8684 : return -1;
8685 273 : x2 = XEXP (x1, 0);
8686 273 : if (GET_MODE (x2) != i2
8687 273 : || !nonimmediate_operand (operands[1], i2))
8688 : return -1;
8689 273 : x3 = XEXP (x2, 2);
8690 273 : return pattern1425 (x3,
8691 : i1,
8692 273 : i2); /* [-1, 0] */
8693 : }
8694 :
8695 : int
8696 269 : pattern1433 (rtx x1, machine_mode i1)
8697 : {
8698 269 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8699 269 : rtx x2, x3;
8700 269 : int res ATTRIBUTE_UNUSED;
8701 269 : if (!register_operand (operands[0], i1)
8702 269 : || GET_MODE (x1) != i1)
8703 : return -1;
8704 258 : x2 = XEXP (x1, 0);
8705 258 : if (GET_MODE (x2) != i1)
8706 : return -1;
8707 258 : x3 = XEXP (x2, 0);
8708 258 : if (GET_MODE (x3) != i1
8709 258 : || !nonimmediate_operand (operands[1], i1)
8710 258 : || !nonimmediate_operand (operands[2], i1)
8711 516 : || !nonimmediate_operand (operands[3], i1))
8712 0 : return -1;
8713 : return 0;
8714 : }
8715 :
8716 : int
8717 5466 : pattern1439 (rtx x1, machine_mode i1, machine_mode i2)
8718 : {
8719 5466 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8720 5466 : rtx x2;
8721 5466 : int res ATTRIBUTE_UNUSED;
8722 5466 : if (!register_operand (operands[0], i1)
8723 5466 : || GET_MODE (x1) != i1)
8724 : return -1;
8725 5128 : x2 = XEXP (x1, 0);
8726 5128 : if (GET_MODE (x2) != i1
8727 5128 : || !nonimmediate_operand (operands[1], i1)
8728 4638 : || !nonimm_or_0_operand (operands[4], i1)
8729 9151 : || !register_operand (operands[5], i2))
8730 3160 : return -1;
8731 : return 0;
8732 : }
8733 :
8734 : int
8735 1571 : pattern1445 (rtx x1)
8736 : {
8737 1571 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8738 1571 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8739 1571 : rtx x10, x11;
8740 1571 : int res ATTRIBUTE_UNUSED;
8741 1571 : x2 = XVECEXP (x1, 0, 0);
8742 1571 : x3 = XEXP (x2, 0);
8743 1571 : x4 = XEXP (x3, 1);
8744 1571 : switch (GET_CODE (x4))
8745 : {
8746 1136 : case REG:
8747 1136 : case SUBREG:
8748 1136 : case MEM:
8749 1136 : x5 = XEXP (x3, 2);
8750 1136 : operands[4] = x5;
8751 1136 : x6 = XVECEXP (x1, 0, 1);
8752 1136 : operands[5] = x6;
8753 1136 : switch (GET_MODE (operands[0]))
8754 : {
8755 572 : case E_V8HFmode:
8756 572 : return pattern1444 (x1,
8757 572 : E_V8HFmode); /* [-1, 0] */
8758 :
8759 277 : case E_V4SFmode:
8760 277 : if (pattern1444 (x1,
8761 : E_V4SFmode) != 0)
8762 20 : return -1;
8763 : return 1;
8764 :
8765 287 : case E_V2DFmode:
8766 287 : if (pattern1444 (x1,
8767 : E_V2DFmode) != 0)
8768 20 : return -1;
8769 : return 2;
8770 :
8771 : default:
8772 : return -1;
8773 : }
8774 :
8775 435 : case CONST_INT:
8776 435 : case CONST_DOUBLE:
8777 435 : case CONST_VECTOR:
8778 435 : operands[4] = x4;
8779 435 : x7 = XEXP (x3, 0);
8780 435 : x8 = XEXP (x7, 0);
8781 435 : x9 = XEXP (x8, 0);
8782 435 : operands[2] = x9;
8783 435 : x10 = XEXP (x7, 1);
8784 435 : operands[1] = x10;
8785 435 : x5 = XEXP (x3, 2);
8786 435 : operands[5] = x5;
8787 435 : x6 = XVECEXP (x1, 0, 1);
8788 435 : operands[6] = x6;
8789 435 : x11 = XEXP (x2, 1);
8790 435 : if (!rtx_equal_p (x11, operands[1]))
8791 : return -1;
8792 435 : switch (GET_MODE (operands[0]))
8793 : {
8794 : case E_V8HFmode:
8795 : return 3;
8796 :
8797 : case E_V4SFmode:
8798 : return 4;
8799 :
8800 : case E_V2DFmode:
8801 : return 5;
8802 :
8803 : default:
8804 : return -1;
8805 : }
8806 :
8807 : default:
8808 : return -1;
8809 : }
8810 : }
8811 :
8812 : int
8813 101394 : pattern1458 (rtx x1, machine_mode i1, machine_mode i2)
8814 : {
8815 101394 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8816 101394 : rtx x2;
8817 101394 : int res ATTRIBUTE_UNUSED;
8818 101394 : if (!register_operand (operands[0], i1)
8819 101394 : || GET_MODE (x1) != i1)
8820 : return -1;
8821 100984 : x2 = XEXP (x1, 0);
8822 100984 : if (GET_MODE (x2) != i2
8823 100866 : || !register_operand (operands[1], i1)
8824 200573 : || !nonimmediate_operand (operands[2], i1))
8825 1976 : return -1;
8826 : return 0;
8827 : }
8828 :
8829 : int
8830 5909 : pattern1462 (rtx x1)
8831 : {
8832 5909 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8833 5909 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8834 5909 : rtx x10;
8835 5909 : int res ATTRIBUTE_UNUSED;
8836 5909 : x2 = XVECEXP (x1, 0, 0);
8837 5909 : x3 = XEXP (x2, 1);
8838 5909 : x4 = XVECEXP (x3, 0, 0);
8839 5909 : operands[2] = x4;
8840 5909 : if (!register_operand (operands[2], E_XFmode))
8841 : return -1;
8842 5640 : x5 = XVECEXP (x3, 0, 1);
8843 5640 : operands[3] = x5;
8844 5640 : if (!register_operand (operands[3], E_XFmode))
8845 : return -1;
8846 5541 : x6 = XVECEXP (x1, 0, 1);
8847 5541 : x7 = XEXP (x6, 0);
8848 5541 : operands[1] = x7;
8849 5541 : if (!register_operand (operands[1], E_XFmode))
8850 : return -1;
8851 5541 : x8 = XEXP (x6, 1);
8852 5541 : x9 = XVECEXP (x8, 0, 0);
8853 5541 : if (!rtx_equal_p (x9, operands[2]))
8854 : return -1;
8855 5541 : x10 = XVECEXP (x8, 0, 1);
8856 5541 : if (!rtx_equal_p (x10, operands[3]))
8857 0 : return -1;
8858 : return 0;
8859 : }
8860 :
8861 : int
8862 98691 : pattern1471 (rtx x1)
8863 : {
8864 98691 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8865 98691 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8866 98691 : int res ATTRIBUTE_UNUSED;
8867 98691 : x2 = XVECEXP (x1, 0, 1);
8868 98691 : x3 = XEXP (x2, 1);
8869 98691 : x4 = XEXP (x3, 1);
8870 98691 : if (!rtx_equal_p (x4, operands[2]))
8871 : return -1;
8872 98680 : x5 = XEXP (x3, 0);
8873 98680 : switch (GET_CODE (x5))
8874 : {
8875 98672 : case REG:
8876 98672 : case SUBREG:
8877 98672 : case MEM:
8878 98672 : if (!rtx_equal_p (x5, operands[1]))
8879 : return -1;
8880 98672 : x6 = XVECEXP (x1, 0, 0);
8881 98672 : x7 = XEXP (x6, 1);
8882 98672 : x8 = XEXP (x7, 0);
8883 98672 : switch (GET_MODE (x8))
8884 : {
8885 3147 : case E_QImode:
8886 3147 : return pattern1469 (x3,
8887 3147 : E_QImode); /* [-1, 0] */
8888 :
8889 174 : case E_HImode:
8890 174 : if (pattern1469 (x3,
8891 : E_HImode) != 0)
8892 8 : return -1;
8893 : return 1;
8894 :
8895 33405 : case E_SImode:
8896 33405 : if (pattern1470 (x3,
8897 : E_SImode) != 0)
8898 173 : return -1;
8899 : return 2;
8900 :
8901 61936 : case E_DImode:
8902 61936 : if (pattern1470 (x3,
8903 : E_DImode) != 0)
8904 141 : return -1;
8905 : return 3;
8906 :
8907 : default:
8908 : return -1;
8909 : }
8910 :
8911 0 : case ZERO_EXTEND:
8912 0 : if (GET_MODE (x5) != E_DImode)
8913 : return -1;
8914 0 : x6 = XVECEXP (x1, 0, 0);
8915 0 : x7 = XEXP (x6, 1);
8916 0 : x8 = XEXP (x7, 0);
8917 0 : if (GET_MODE (x8) != E_SImode
8918 0 : || !nonimmediate_operand (operands[1], E_SImode)
8919 0 : || !x86_64_zext_immediate_operand (operands[2], E_SImode)
8920 0 : || !register_operand (operands[0], E_DImode)
8921 0 : || GET_MODE (x3) != E_DImode)
8922 : return -1;
8923 0 : x9 = XEXP (x5, 0);
8924 0 : if (!rtx_equal_p (x9, operands[1]))
8925 0 : return -1;
8926 : return 4;
8927 :
8928 : default:
8929 : return -1;
8930 : }
8931 : }
8932 :
8933 : int
8934 0 : pattern1487 (rtx x1, machine_mode i1)
8935 : {
8936 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8937 0 : rtx x2;
8938 0 : int res ATTRIBUTE_UNUSED;
8939 0 : if (!register_operand (operands[0], i1)
8940 0 : || GET_MODE (x1) != i1
8941 0 : || !vector_operand (operands[1], i1)
8942 0 : || !register_operand (operands[2], i1))
8943 : return -1;
8944 0 : x2 = XVECEXP (x1, 0, 2);
8945 0 : if (GET_MODE (x2) != i1)
8946 0 : return -1;
8947 : return 0;
8948 : }
8949 :
8950 : int
8951 4348 : pattern1492 ()
8952 : {
8953 4348 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8954 4348 : int res ATTRIBUTE_UNUSED;
8955 4348 : switch (GET_MODE (operands[4]))
8956 : {
8957 146 : case E_QImode:
8958 146 : if (!register_operand (operands[4], E_QImode))
8959 4 : return -1;
8960 : return 0;
8961 :
8962 42 : case E_HImode:
8963 42 : if (!register_operand (operands[4], E_HImode))
8964 0 : return -1;
8965 : return 1;
8966 :
8967 880 : case E_SImode:
8968 880 : if (!register_operand (operands[4], E_SImode))
8969 0 : return -1;
8970 : return 2;
8971 :
8972 3280 : case E_DImode:
8973 3280 : if (!register_operand (operands[4], E_DImode))
8974 0 : return -1;
8975 : return 3;
8976 :
8977 : default:
8978 : return -1;
8979 : }
8980 : }
8981 :
8982 : int
8983 660 : pattern1498 (rtx x1, machine_mode i1, machine_mode i2)
8984 : {
8985 660 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8986 660 : rtx x2;
8987 660 : int res ATTRIBUTE_UNUSED;
8988 660 : if (!register_operand (operands[0], i1)
8989 660 : || GET_MODE (x1) != i1)
8990 : return -1;
8991 625 : x2 = XEXP (x1, 0);
8992 625 : if (GET_MODE (x2) != i1
8993 625 : || !register_operand (operands[1], i1)
8994 612 : || !register_operand (operands[2], i1)
8995 612 : || !bcst_vector_operand (operands[3], i1)
8996 611 : || !const0_operand (operands[5], i1)
8997 1236 : || !register_operand (operands[6], i2))
8998 47 : return -1;
8999 : return 0;
9000 : }
9001 :
9002 : int
9003 284 : pattern1503 (rtx x1, machine_mode i1)
9004 : {
9005 284 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9006 284 : rtx x2, x3, x4;
9007 284 : int res ATTRIBUTE_UNUSED;
9008 284 : if (!register_operand (operands[0], i1)
9009 284 : || GET_MODE (x1) != i1)
9010 : return -1;
9011 256 : x2 = XEXP (x1, 0);
9012 256 : if (GET_MODE (x2) != i1)
9013 : return -1;
9014 256 : x3 = XEXP (x2, 0);
9015 256 : if (GET_MODE (x3) != i1
9016 256 : || !nonimmediate_operand (operands[1], i1)
9017 512 : || !nonimmediate_operand (operands[2], i1))
9018 : return -1;
9019 252 : x4 = XEXP (x3, 2);
9020 252 : if (GET_MODE (x4) != i1
9021 252 : || !nonimmediate_operand (operands[3], i1))
9022 0 : return -1;
9023 : return 0;
9024 : }
9025 :
9026 : int
9027 27 : pattern1509 (rtx x1, machine_mode i1, machine_mode i2)
9028 : {
9029 27 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9030 27 : rtx x2, x3;
9031 27 : int res ATTRIBUTE_UNUSED;
9032 27 : if (!register_operand (operands[0], i1)
9033 27 : || GET_MODE (x1) != i1
9034 27 : || !vector_operand (operands[1], i1)
9035 54 : || !vector_operand (operands[2], i1))
9036 : return -1;
9037 27 : x2 = XEXP (x1, 2);
9038 27 : if (GET_MODE (x2) != i2)
9039 : return -1;
9040 27 : x3 = XVECEXP (x2, 0, 0);
9041 27 : if (GET_MODE (x3) != i1
9042 27 : || !register_operand (operands[3], E_VOIDmode)
9043 48 : || !const0_operand (operands[4], i1))
9044 14 : return -1;
9045 : return 0;
9046 : }
9047 :
9048 : int
9049 445 : pattern1513 (rtx x1)
9050 : {
9051 445 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9052 445 : rtx x2, x3, x4, x5;
9053 445 : int res ATTRIBUTE_UNUSED;
9054 445 : x2 = XVECEXP (x1, 0, 12);
9055 445 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
9056 : return -1;
9057 445 : x3 = XVECEXP (x1, 0, 13);
9058 445 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
9059 : return -1;
9060 445 : x4 = XVECEXP (x1, 0, 14);
9061 445 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
9062 : return -1;
9063 445 : x5 = XVECEXP (x1, 0, 15);
9064 445 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 15])
9065 0 : return -1;
9066 : return 0;
9067 : }
9068 :
9069 : int
9070 1605 : pattern1517 (rtx x1, machine_mode i1)
9071 : {
9072 1605 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9073 1605 : rtx x2, x3;
9074 1605 : int res ATTRIBUTE_UNUSED;
9075 1605 : if (!register_operand (operands[0], i1)
9076 1605 : || GET_MODE (x1) != i1)
9077 : return -1;
9078 1569 : x2 = XVECEXP (x1, 0, 0);
9079 1569 : if (GET_MODE (x2) != i1)
9080 : return -1;
9081 1569 : x3 = XEXP (x2, 0);
9082 1569 : if (GET_MODE (x3) != i1
9083 1569 : || !nonimm_or_0_operand (operands[2], i1)
9084 3136 : || !register_operand (operands[3], E_QImode))
9085 : return -1;
9086 1554 : switch (GET_MODE (operands[1]))
9087 : {
9088 423 : case E_V8HFmode:
9089 423 : if (!register_operand (operands[1], E_V8HFmode))
9090 8 : return -1;
9091 : return 0;
9092 :
9093 368 : case E_V8SFmode:
9094 368 : if (!nonimmediate_operand (operands[1], E_V8SFmode))
9095 0 : return -1;
9096 : return 1;
9097 :
9098 763 : case E_V8DFmode:
9099 763 : if (!nonimmediate_operand (operands[1], E_V8DFmode))
9100 0 : return -1;
9101 : return 2;
9102 :
9103 : default:
9104 : return -1;
9105 : }
9106 : }
9107 :
9108 : int
9109 90626 : pattern1525 (rtx x1, machine_mode i1, machine_mode i2)
9110 : {
9111 90626 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9112 90626 : rtx x2;
9113 90626 : int res ATTRIBUTE_UNUSED;
9114 90626 : if (!nonimmediate_operand (operands[0], i1)
9115 90626 : || GET_MODE (x1) != i1)
9116 : return -1;
9117 90626 : x2 = XEXP (x1, 0);
9118 90626 : if (GET_MODE (x2) != i2
9119 90626 : || !nonimmediate_operand (operands[1], i1)
9120 181154 : || !nonimmediate_operand (operands[2], i1))
9121 259 : return -1;
9122 : return 0;
9123 : }
9124 :
9125 : int
9126 47665 : pattern1531 (rtx x1, machine_mode i1)
9127 : {
9128 47665 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9129 47665 : int res ATTRIBUTE_UNUSED;
9130 47665 : if (!nonimmediate_operand (operands[1], i1)
9131 47663 : || !x86_64_general_operand (operands[2], i1)
9132 47394 : || !nonimmediate_operand (operands[0], i1)
9133 95059 : || GET_MODE (x1) != i1)
9134 271 : return -1;
9135 : return 0;
9136 : }
9137 :
9138 : int
9139 39057 : pattern1535 (rtx x1)
9140 : {
9141 39057 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9142 39057 : rtx x2, x3, x4, x5;
9143 39057 : int res ATTRIBUTE_UNUSED;
9144 39057 : if (!register_operand (operands[0], E_SImode))
9145 : return -1;
9146 33421 : x2 = XVECEXP (x1, 0, 0);
9147 33421 : x3 = XEXP (x2, 1);
9148 33421 : if (GET_MODE (x3) != E_SImode
9149 33421 : || !nonimmediate_operand (operands[3], E_SImode)
9150 66382 : || !register_operand (operands[1], E_SImode))
9151 : return -1;
9152 32925 : x4 = XVECEXP (x1, 0, 1);
9153 32925 : x5 = XEXP (x4, 1);
9154 32925 : if (GET_MODE (x5) != E_SImode)
9155 0 : return -1;
9156 : return 0;
9157 : }
9158 :
9159 : int
9160 0 : pattern1540 (rtx x1, rtx_code i1)
9161 : {
9162 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9163 0 : rtx x2, x3, x4, x5, x6, x7, x8;
9164 0 : int res ATTRIBUTE_UNUSED;
9165 0 : x2 = XEXP (x1, 0);
9166 0 : x3 = XEXP (x2, 0);
9167 0 : x4 = XEXP (x3, 1);
9168 0 : if (GET_CODE (x4) != i1)
9169 : return -1;
9170 0 : x5 = XEXP (x3, 0);
9171 0 : x6 = XEXP (x5, 0);
9172 0 : operands[1] = x6;
9173 0 : x7 = XEXP (x4, 0);
9174 0 : operands[2] = x7;
9175 0 : x8 = XEXP (x2, 1);
9176 0 : switch (XWINT (x8, 0))
9177 : {
9178 0 : case 64L:
9179 0 : return pattern1539 (x1,
9180 : E_DImode,
9181 0 : E_TImode); /* [-1, 0] */
9182 :
9183 0 : case 32L:
9184 0 : if (pattern1539 (x1,
9185 : E_SImode,
9186 : E_DImode) != 0)
9187 0 : return -1;
9188 : return 1;
9189 :
9190 : default:
9191 : return -1;
9192 : }
9193 : }
9194 :
9195 : int
9196 9 : pattern1545 (rtx x1)
9197 : {
9198 9 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9199 9 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9200 9 : int res ATTRIBUTE_UNUSED;
9201 9 : x2 = XVECEXP (x1, 0, 0);
9202 9 : x3 = XEXP (x2, 1);
9203 9 : x4 = XEXP (x3, 0);
9204 9 : x5 = XEXP (x4, 0);
9205 9 : x6 = XEXP (x5, 0);
9206 9 : operands[1] = x6;
9207 9 : x7 = XVECEXP (x1, 0, 1);
9208 9 : x8 = XEXP (x7, 0);
9209 9 : operands[0] = x8;
9210 9 : x9 = XEXP (x4, 1);
9211 9 : if (!rtx_equal_p (x9, operands[1]))
9212 : return -1;
9213 9 : return pattern1534 (x1); /* [-1, 1] */
9214 : }
9215 :
9216 : int
9217 4465 : pattern1552 (rtx x1)
9218 : {
9219 4465 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9220 4465 : rtx x2, x3, x4, x5, x6;
9221 4465 : int res ATTRIBUTE_UNUSED;
9222 4465 : x2 = XVECEXP (x1, 0, 2);
9223 4465 : if (GET_CODE (x2) != CLOBBER)
9224 : return -1;
9225 4465 : x3 = XEXP (x2, 0);
9226 4465 : if (GET_CODE (x3) != REG
9227 4465 : || REGNO (x3) != 17
9228 8930 : || GET_MODE (x3) != E_CCmode)
9229 : return -1;
9230 4465 : x4 = XVECEXP (x1, 0, 0);
9231 4465 : x5 = XEXP (x4, 1);
9232 4465 : x6 = XVECEXP (x5, 0, 0);
9233 4465 : operands[1] = x6;
9234 4465 : return 0;
9235 : }
9236 :
9237 : int
9238 2375 : pattern1554 ()
9239 : {
9240 2375 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9241 2375 : int res ATTRIBUTE_UNUSED;
9242 2375 : switch (GET_MODE (operands[1]))
9243 : {
9244 190 : case E_V8HFmode:
9245 190 : if (!register_operand (operands[1], E_V8HFmode)
9246 190 : || !nonimmediate_operand (operands[2], E_V8HFmode))
9247 14 : return -1;
9248 : return 0;
9249 :
9250 1082 : case E_V4SFmode:
9251 1082 : if (!register_operand (operands[1], E_V4SFmode)
9252 1082 : || !nonimmediate_operand (operands[2], E_V4SFmode))
9253 3 : return -1;
9254 : return 1;
9255 :
9256 1082 : case E_V2DFmode:
9257 1082 : if (!register_operand (operands[1], E_V2DFmode)
9258 1082 : || !nonimmediate_operand (operands[2], E_V2DFmode))
9259 3 : return -1;
9260 : return 2;
9261 :
9262 : default:
9263 : return -1;
9264 : }
9265 : }
9266 :
9267 : int
9268 151 : pattern1560 (rtx x1, machine_mode i1, machine_mode i2)
9269 : {
9270 151 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9271 151 : rtx x2;
9272 151 : int res ATTRIBUTE_UNUSED;
9273 151 : if (!register_operand (operands[0], i2)
9274 151 : || GET_MODE (x1) != i2)
9275 : return -1;
9276 135 : x2 = XEXP (x1, 0);
9277 135 : if (GET_MODE (x2) != i2
9278 135 : || !register_operand (operands[1], i2)
9279 123 : || !register_operand (operands[2], i2)
9280 258 : || !nonimmediate_operand (operands[3], i1))
9281 16 : return -1;
9282 : return 0;
9283 : }
9284 :
9285 : int
9286 284 : pattern1566 (rtx x1, machine_mode i1, machine_mode i2)
9287 : {
9288 284 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9289 284 : rtx x2, x3, x4, x5, x6, x7;
9290 284 : int res ATTRIBUTE_UNUSED;
9291 284 : if (!register_operand (operands[0], i1)
9292 284 : || GET_MODE (x1) != i1)
9293 : return -1;
9294 279 : x2 = XEXP (x1, 0);
9295 279 : if (GET_MODE (x2) != i2)
9296 : return -1;
9297 279 : x3 = XEXP (x2, 0);
9298 279 : if (GET_MODE (x3) != i2)
9299 : return -1;
9300 279 : x4 = XEXP (x3, 0);
9301 279 : if (GET_MODE (x4) != i2)
9302 : return -1;
9303 279 : x5 = XEXP (x4, 0);
9304 279 : if (GET_MODE (x5) != i2)
9305 : return -1;
9306 279 : x6 = XEXP (x5, 0);
9307 279 : if (GET_MODE (x6) != i2
9308 279 : || !vector_operand (operands[1], i1))
9309 : return -1;
9310 273 : x7 = XEXP (x5, 1);
9311 273 : if (GET_MODE (x7) != i2
9312 273 : || !vector_operand (operands[2], i1)
9313 544 : || !const1_operand (operands[3], i1))
9314 2 : return -1;
9315 : return 0;
9316 : }
9317 :
9318 : int
9319 3518 : pattern1572 (rtx x1)
9320 : {
9321 3518 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9322 3518 : rtx x2, x3, x4;
9323 3518 : int res ATTRIBUTE_UNUSED;
9324 3518 : x2 = XEXP (x1, 1);
9325 3518 : x3 = XEXP (x2, 1);
9326 3518 : if (maybe_ne (SUBREG_BYTE (x3), 0)
9327 3518 : || GET_MODE (x3) != E_QImode)
9328 : return -1;
9329 3518 : x4 = XEXP (x3, 0);
9330 3518 : switch (GET_CODE (x4))
9331 : {
9332 465 : case ASHIFTRT:
9333 465 : case LSHIFTRT:
9334 465 : case SIGN_EXTRACT:
9335 465 : case ZERO_EXTRACT:
9336 465 : operands[4] = x4;
9337 465 : return pattern1571 (x1); /* [-1, 5] */
9338 :
9339 : default:
9340 : return -1;
9341 : }
9342 : }
9343 :
9344 : int
9345 16136 : pattern1579 (rtx x1)
9346 : {
9347 16136 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9348 16136 : rtx x2, x3, x4, x5, x6, x7, x8;
9349 16136 : int res ATTRIBUTE_UNUSED;
9350 16136 : x2 = XEXP (x1, 1);
9351 16136 : x3 = XEXP (x2, 1);
9352 16136 : switch (GET_CODE (x3))
9353 : {
9354 11539 : case LABEL_REF:
9355 11539 : x4 = XEXP (x2, 2);
9356 11539 : if (GET_CODE (x4) != PC)
9357 : return -1;
9358 11539 : x5 = XEXP (x1, 0);
9359 11539 : if (GET_CODE (x5) != PC)
9360 : return -1;
9361 11539 : x6 = XEXP (x2, 0);
9362 11539 : operands[0] = x6;
9363 11539 : if (!nonmemory_operand (operands[2], E_QImode))
9364 : return -1;
9365 11081 : x7 = XEXP (x3, 0);
9366 11081 : operands[3] = x7;
9367 11081 : x8 = XEXP (x6, 0);
9368 11081 : switch (GET_MODE (x8))
9369 : {
9370 4948 : case E_SImode:
9371 4948 : if (!nonimmediate_operand (operands[1], E_SImode))
9372 2182 : return -1;
9373 : return 0;
9374 :
9375 6133 : case E_DImode:
9376 6133 : if (!nonimmediate_operand (operands[1], E_DImode))
9377 2314 : return -1;
9378 : return 1;
9379 :
9380 : default:
9381 : return -1;
9382 : }
9383 :
9384 12 : case REG:
9385 12 : case SUBREG:
9386 12 : case MEM:
9387 12 : operands[3] = x3;
9388 12 : x5 = XEXP (x1, 0);
9389 12 : operands[0] = x5;
9390 12 : x6 = XEXP (x2, 0);
9391 12 : operands[5] = x6;
9392 12 : if (!register_operand (operands[2], E_QImode))
9393 : return -1;
9394 12 : x4 = XEXP (x2, 2);
9395 12 : operands[4] = x4;
9396 12 : switch (GET_MODE (operands[0]))
9397 : {
9398 0 : case E_HImode:
9399 0 : res = pattern1578 (x2,
9400 : E_HImode);
9401 0 : if (res >= 0)
9402 0 : return res + 2; /* [2, 3] */
9403 : return -1;
9404 :
9405 12 : case E_SImode:
9406 12 : res = pattern1578 (x2,
9407 : E_SImode);
9408 12 : if (res >= 0)
9409 8 : return res + 4; /* [4, 5] */
9410 : return -1;
9411 :
9412 0 : case E_DImode:
9413 0 : res = pattern1578 (x2,
9414 : E_DImode);
9415 0 : if (res >= 0)
9416 0 : return res + 6; /* [6, 7] */
9417 : return -1;
9418 :
9419 : default:
9420 : return -1;
9421 : }
9422 :
9423 : default:
9424 : return -1;
9425 : }
9426 : }
9427 :
9428 : int
9429 937 : pattern1594 (rtx x1, machine_mode i1, machine_mode i2)
9430 : {
9431 937 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9432 937 : rtx x2;
9433 937 : int res ATTRIBUTE_UNUSED;
9434 937 : if (!nonimmediate_operand (operands[0], i1)
9435 937 : || GET_MODE (x1) != i1)
9436 : return -1;
9437 913 : x2 = XEXP (x1, 0);
9438 913 : if (GET_MODE (x2) != i1
9439 913 : || !register_operand (operands[1], i2)
9440 1288 : || !nonimm_or_0_operand (operands[4], i1))
9441 541 : return -1;
9442 : return 0;
9443 : }
9444 :
9445 : int
9446 1203 : pattern1600 (rtx x1, machine_mode i1, machine_mode i2)
9447 : {
9448 1203 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9449 1203 : rtx x2, x3;
9450 1203 : int res ATTRIBUTE_UNUSED;
9451 1203 : if (!register_operand (operands[0], i1)
9452 1203 : || GET_MODE (x1) != i1)
9453 : return -1;
9454 1184 : x2 = XVECEXP (x1, 0, 0);
9455 1184 : if (GET_MODE (x2) != i1)
9456 : return -1;
9457 1184 : x3 = XEXP (x2, 0);
9458 1184 : if (GET_MODE (x3) != i1
9459 1184 : || !register_operand (operands[1], i1)
9460 1184 : || !nonimmediate_operand (operands[2], i1)
9461 1184 : || !nonimm_or_0_operand (operands[3], i1)
9462 2368 : || !register_operand (operands[4], i2))
9463 0 : return -1;
9464 : return 0;
9465 : }
9466 :
9467 : int
9468 498 : pattern1605 (rtx x1)
9469 : {
9470 498 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9471 498 : rtx x2, x3, x4, x5, x6, x7;
9472 498 : int res ATTRIBUTE_UNUSED;
9473 498 : x2 = XVECEXP (x1, 0, 2);
9474 498 : if (XWINT (x2, 0) != 2L)
9475 : return -1;
9476 498 : x3 = XVECEXP (x1, 0, 3);
9477 498 : if (XWINT (x3, 0) != 3L)
9478 : return -1;
9479 498 : x4 = XVECEXP (x1, 0, 4);
9480 498 : if (XWINT (x4, 0) != 4L)
9481 : return -1;
9482 345 : x5 = XVECEXP (x1, 0, 5);
9483 345 : if (XWINT (x5, 0) != 5L)
9484 : return -1;
9485 334 : x6 = XVECEXP (x1, 0, 6);
9486 334 : if (XWINT (x6, 0) != 6L)
9487 : return -1;
9488 334 : x7 = XVECEXP (x1, 0, 7);
9489 334 : if (XWINT (x7, 0) != 7L)
9490 0 : return -1;
9491 : return 0;
9492 : }
9493 :
9494 : int
9495 11083 : pattern1610 (rtx x1, machine_mode i1, machine_mode i2)
9496 : {
9497 11083 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9498 11083 : rtx x2, x3, x4, x5, x6;
9499 11083 : int res ATTRIBUTE_UNUSED;
9500 11083 : x2 = XVECEXP (x1, 0, 0);
9501 11083 : x3 = XEXP (x2, 1);
9502 11083 : x4 = XEXP (x3, 0);
9503 11083 : x5 = XEXP (x4, 0);
9504 11083 : if (GET_MODE (x5) != i2
9505 11083 : || !nonimmediate_operand (operands[1], i1))
9506 : return -1;
9507 10931 : x6 = XEXP (x4, 1);
9508 10931 : if (GET_MODE (x6) != i2
9509 10931 : || !sext_operand (operands[2], i1)
9510 21814 : || pattern752 (x1,
9511 : i1,
9512 : i2) != 0)
9513 48 : return -1;
9514 : return 0;
9515 : }
9516 :
9517 : int
9518 48 : pattern1616 (rtx x1, machine_mode i1)
9519 : {
9520 48 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9521 48 : rtx x2, x3;
9522 48 : int res ATTRIBUTE_UNUSED;
9523 48 : if (!nonimmediate_operand (operands[0], i1)
9524 48 : || GET_MODE (x1) != i1)
9525 : return -1;
9526 48 : x2 = XEXP (x1, 0);
9527 48 : if (GET_MODE (x2) != i1
9528 48 : || !nonimmediate_operand (operands[1], i1))
9529 : return -1;
9530 42 : x3 = XEXP (x2, 1);
9531 42 : if (GET_MODE (x3) != i1
9532 42 : || !x86_64_general_operand (operands[2], i1))
9533 0 : return -1;
9534 : return 0;
9535 : }
9536 :
9537 : int
9538 167 : pattern1621 (rtx x1, int *pnum_clobbers)
9539 : {
9540 167 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9541 167 : rtx x2, x3, x4, x5, x6;
9542 167 : int res ATTRIBUTE_UNUSED;
9543 167 : x2 = XVECEXP (x1, 0, 1);
9544 167 : x3 = XEXP (x2, 1);
9545 167 : x4 = XEXP (x3, 0);
9546 167 : if (!rtx_equal_p (x4, operands[2]))
9547 : return -1;
9548 167 : x5 = XEXP (x3, 1);
9549 167 : if (!rtx_equal_p (x5, operands[3]))
9550 : return -1;
9551 167 : switch (GET_CODE (operands[3]))
9552 : {
9553 135 : case REG:
9554 135 : case SUBREG:
9555 135 : case MEM:
9556 135 : if (!nonimmediate_operand (operands[3], E_SImode))
9557 : return -1;
9558 121 : x6 = XVECEXP (x1, 0, 2);
9559 121 : return pattern1620 (x6, pnum_clobbers); /* [-1, 2] */
9560 :
9561 4 : case CONST_INT:
9562 4 : if (!const_int_operand (operands[3], E_SImode))
9563 : return -1;
9564 4 : x6 = XVECEXP (x1, 0, 2);
9565 4 : if (pattern993 (x6,
9566 : E_CCmode,
9567 : 17) != 0)
9568 0 : return -1;
9569 : return 3;
9570 :
9571 : default:
9572 : return -1;
9573 : }
9574 : }
9575 :
9576 : int
9577 15 : pattern1628 (rtx x1, machine_mode i1)
9578 : {
9579 15 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9580 15 : rtx x2, x3, x4, x5;
9581 15 : int res ATTRIBUTE_UNUSED;
9582 15 : if (!general_reg_operand (operands[0], i1))
9583 : return -1;
9584 15 : x2 = XVECEXP (x1, 0, 0);
9585 15 : x3 = XEXP (x2, 1);
9586 15 : if (GET_MODE (x3) != i1
9587 15 : || !register_operand (operands[2], i1)
9588 15 : || !nonimmediate_operand (operands[3], i1)
9589 30 : || !general_reg_operand (operands[1], i1))
9590 : return -1;
9591 15 : x4 = XVECEXP (x1, 0, 1);
9592 15 : x5 = XEXP (x4, 1);
9593 15 : if (GET_MODE (x5) != i1
9594 15 : || !general_reg_operand (operands[4], i1)
9595 19 : || !general_reg_operand (operands[5], i1))
9596 13 : return -1;
9597 : return 0;
9598 : }
9599 :
9600 : int
9601 284 : pattern1633 (rtx x1, machine_mode i1)
9602 : {
9603 284 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9604 284 : rtx x2, x3;
9605 284 : int res ATTRIBUTE_UNUSED;
9606 284 : if (!register_operand (operands[0], i1)
9607 284 : || GET_MODE (x1) != i1
9608 568 : || !nonimmediate_operand (operands[3], i1))
9609 : return -1;
9610 184 : x2 = XEXP (x1, 0);
9611 184 : x3 = XEXP (x2, 0);
9612 184 : return pattern1632 (x3,
9613 184 : i1); /* [-1, 1] */
9614 : }
9615 :
9616 : int
9617 1584 : pattern1636 (rtx x1, machine_mode i1, machine_mode i2)
9618 : {
9619 1584 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9620 1584 : rtx x2, x3;
9621 1584 : int res ATTRIBUTE_UNUSED;
9622 1584 : if (!register_operand (operands[0], i1)
9623 1584 : || GET_MODE (x1) != i1)
9624 : return -1;
9625 1552 : x2 = XEXP (x1, 0);
9626 1552 : if (GET_MODE (x2) != i1)
9627 : return -1;
9628 1552 : x3 = XEXP (x2, 0);
9629 1552 : if (GET_MODE (x3) != i2
9630 1552 : || !register_operand (operands[1], i1)
9631 1552 : || !vector_operand (operands[2], i1)
9632 3081 : || !nonimm_or_0_operand (operands[3], i1))
9633 61 : return -1;
9634 : return 0;
9635 : }
9636 :
9637 : int
9638 976 : pattern1642 (machine_mode i1, machine_mode i2)
9639 : {
9640 976 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9641 976 : int res ATTRIBUTE_UNUSED;
9642 976 : if (!register_operand (operands[2], i2)
9643 968 : || !register_operand (operands[3], i2)
9644 968 : || !const0_operand (operands[4], i2)
9645 1944 : || !register_operand (operands[5], i1))
9646 24 : return -1;
9647 : return 0;
9648 : }
9649 :
9650 : int
9651 507 : pattern1647 (rtx x1, machine_mode i1, machine_mode i2)
9652 : {
9653 507 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9654 507 : rtx x2, x3, x4;
9655 507 : int res ATTRIBUTE_UNUSED;
9656 507 : if (!register_operand (operands[0], i2)
9657 507 : || GET_MODE (x1) != i2)
9658 : return -1;
9659 493 : x2 = XVECEXP (x1, 0, 0);
9660 493 : if (GET_MODE (x2) != i2)
9661 : return -1;
9662 493 : x3 = XEXP (x2, 0);
9663 493 : if (GET_MODE (x3) != i2
9664 493 : || !register_operand (operands[1], i2))
9665 : return -1;
9666 488 : x4 = XEXP (x3, 2);
9667 488 : return pattern1646 (x4,
9668 : i1,
9669 488 : i2); /* [-1, 0] */
9670 : }
9671 :
9672 : int
9673 507 : pattern1653 (rtx x1, machine_mode i1, machine_mode i2)
9674 : {
9675 507 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9676 507 : rtx x2, x3, x4, x5;
9677 507 : int res ATTRIBUTE_UNUSED;
9678 507 : if (!register_operand (operands[0], i2)
9679 507 : || GET_MODE (x1) != i2)
9680 : return -1;
9681 493 : x2 = XVECEXP (x1, 0, 0);
9682 493 : if (GET_MODE (x2) != i2)
9683 : return -1;
9684 493 : x3 = XEXP (x2, 0);
9685 493 : if (GET_MODE (x3) != i2)
9686 : return -1;
9687 493 : x4 = XEXP (x3, 0);
9688 493 : if (GET_MODE (x4) != i2
9689 493 : || !register_operand (operands[1], i2))
9690 : return -1;
9691 488 : x5 = XEXP (x3, 2);
9692 488 : return pattern1646 (x5,
9693 : i1,
9694 488 : i2); /* [-1, 0] */
9695 : }
9696 :
9697 : int
9698 356 : pattern1658 (rtx x1, machine_mode i1)
9699 : {
9700 356 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9701 356 : rtx x2, x3, x4;
9702 356 : int res ATTRIBUTE_UNUSED;
9703 356 : if (!vsib_mem_operator (operands[5], i1)
9704 356 : || !register_operand (operands[6], E_QImode))
9705 : return -1;
9706 242 : x2 = XEXP (x1, 1);
9707 242 : if (GET_MODE (x2) != i1)
9708 : return -1;
9709 242 : x3 = XEXP (x1, 0);
9710 242 : x4 = XEXP (x3, 0);
9711 242 : switch (GET_MODE (x4))
9712 : {
9713 : case E_SImode:
9714 : return 0;
9715 :
9716 242 : case E_DImode:
9717 242 : return 1;
9718 :
9719 : default:
9720 : return -1;
9721 : }
9722 : }
9723 :
9724 : int
9725 189 : pattern1663 (rtx x1, machine_mode i1, machine_mode i2)
9726 : {
9727 189 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9728 189 : int res ATTRIBUTE_UNUSED;
9729 189 : if (!register_operand (operands[6], i2)
9730 189 : || !register_operand (operands[2], i1))
9731 : return -1;
9732 130 : switch (GET_MODE (x1))
9733 : {
9734 0 : case E_SImode:
9735 0 : if (!vsib_address_operand (operands[3], E_SImode))
9736 0 : return -1;
9737 : return 0;
9738 :
9739 130 : case E_DImode:
9740 130 : if (!vsib_address_operand (operands[3], E_DImode))
9741 8 : return -1;
9742 : return 1;
9743 :
9744 : default:
9745 : return -1;
9746 : }
9747 : }
9748 :
9749 : int
9750 126 : pattern1668 (rtx x1, machine_mode i1, machine_mode i2)
9751 : {
9752 126 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9753 126 : rtx x2, x3;
9754 126 : int res ATTRIBUTE_UNUSED;
9755 126 : if (!register_operand (operands[0], i2)
9756 123 : || GET_MODE (x1) != i2
9757 123 : || !register_operand (operands[6], E_QImode)
9758 155 : || !vsib_mem_operator (operands[5], i1))
9759 : return -1;
9760 29 : x2 = XVECEXP (x1, 0, 2);
9761 29 : x3 = XEXP (x2, 0);
9762 29 : switch (GET_MODE (x3))
9763 : {
9764 0 : case E_SImode:
9765 0 : return pattern1667 (
9766 0 : E_SImode); /* [-1, 1] */
9767 :
9768 29 : case E_DImode:
9769 29 : res = pattern1667 (
9770 : E_DImode);
9771 29 : if (res >= 0)
9772 17 : return res + 2; /* [2, 3] */
9773 : return -1;
9774 :
9775 : default:
9776 : return -1;
9777 : }
9778 : }
9779 :
9780 : int
9781 1616 : pattern1675 (rtx x1)
9782 : {
9783 1616 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9784 1616 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9785 1616 : rtx x10, x11, x12;
9786 1616 : int res ATTRIBUTE_UNUSED;
9787 1616 : x2 = XEXP (x1, 1);
9788 1616 : x3 = XEXP (x2, 1);
9789 1616 : switch (XVECLEN (x3, 0))
9790 : {
9791 808 : case 4:
9792 808 : x4 = XVECEXP (x3, 0, 0);
9793 808 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
9794 : return -1;
9795 808 : x5 = XVECEXP (x3, 0, 1);
9796 808 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
9797 : return -1;
9798 808 : x6 = XVECEXP (x3, 0, 2);
9799 808 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
9800 : return -1;
9801 808 : x7 = XVECEXP (x3, 0, 3);
9802 808 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
9803 808 : || GET_MODE (x1) != E_V4QImode)
9804 : return -1;
9805 808 : x8 = XEXP (x1, 0);
9806 808 : if (GET_MODE (x8) != E_V4QImode
9807 808 : || !register_operand (operands[1], E_V4SImode)
9808 808 : || !nonimmediate_operand (operands[2], E_V4SFmode)
9809 808 : || GET_MODE (x2) != E_V4QImode
9810 1616 : || !const0_operand (operands[5], E_V12QImode))
9811 0 : return -1;
9812 : return 0;
9813 :
9814 808 : case 8:
9815 808 : x4 = XVECEXP (x3, 0, 0);
9816 808 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
9817 : return -1;
9818 808 : x5 = XVECEXP (x3, 0, 1);
9819 808 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
9820 : return -1;
9821 808 : x6 = XVECEXP (x3, 0, 2);
9822 808 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
9823 : return -1;
9824 808 : x7 = XVECEXP (x3, 0, 3);
9825 808 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
9826 : return -1;
9827 808 : x9 = XVECEXP (x3, 0, 4);
9828 808 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
9829 : return -1;
9830 808 : x10 = XVECEXP (x3, 0, 5);
9831 808 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
9832 : return -1;
9833 808 : x11 = XVECEXP (x3, 0, 6);
9834 808 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
9835 : return -1;
9836 808 : x12 = XVECEXP (x3, 0, 7);
9837 808 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
9838 808 : || GET_MODE (x1) != E_V8QImode)
9839 : return -1;
9840 808 : x8 = XEXP (x1, 0);
9841 808 : if (GET_MODE (x8) != E_V8QImode
9842 808 : || pattern1673 (x2,
9843 : E_V8SFmode,
9844 : E_V8SImode) != 0)
9845 0 : return -1;
9846 : return 1;
9847 :
9848 : default:
9849 : return -1;
9850 : }
9851 : }
9852 :
9853 : int
9854 92 : pattern1694 ()
9855 : {
9856 92 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9857 92 : int res ATTRIBUTE_UNUSED;
9858 92 : switch (GET_MODE (operands[3]))
9859 : {
9860 2 : case E_HImode:
9861 2 : if (!extract_high_operator (operands[3], E_HImode))
9862 0 : return -1;
9863 : return 0;
9864 :
9865 68 : case E_SImode:
9866 68 : if (!extract_high_operator (operands[3], E_SImode))
9867 63 : return -1;
9868 : return 1;
9869 :
9870 22 : case E_DImode:
9871 22 : if (!extract_high_operator (operands[3], E_DImode))
9872 20 : return -1;
9873 : return 2;
9874 :
9875 : default:
9876 : return -1;
9877 : }
9878 : }
9879 :
9880 : int
9881 908 : pattern1699 (rtx x1, machine_mode i1, machine_mode i2)
9882 : {
9883 908 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9884 908 : rtx x2, x3, x4;
9885 908 : int res ATTRIBUTE_UNUSED;
9886 908 : if (!register_operand (operands[0], i1)
9887 908 : || GET_MODE (x1) != i1)
9888 : return -1;
9889 856 : x2 = XEXP (x1, 0);
9890 856 : if (GET_MODE (x2) != i1)
9891 : return -1;
9892 856 : x3 = XEXP (x2, 0);
9893 856 : if (GET_MODE (x3) != i2)
9894 : return -1;
9895 856 : x4 = XEXP (x1, 1);
9896 856 : if (!nonimm_or_0_operand (x4, i1))
9897 21 : return -1;
9898 : return 0;
9899 : }
9900 :
9901 : int
9902 1084 : pattern1704 (rtx x1, machine_mode i1)
9903 : {
9904 1084 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9905 1084 : rtx x2, x3, x4;
9906 1084 : int res ATTRIBUTE_UNUSED;
9907 1084 : if (!register_operand (operands[0], i1)
9908 1084 : || GET_MODE (x1) != i1)
9909 : return -1;
9910 1041 : x2 = XVECEXP (x1, 0, 0);
9911 1041 : if (GET_MODE (x2) != i1)
9912 : return -1;
9913 1041 : x3 = XEXP (x2, 0);
9914 1041 : if (GET_MODE (x3) != i1)
9915 : return -1;
9916 1041 : x4 = XEXP (x3, 0);
9917 1041 : if (GET_MODE (x4) != i1
9918 1041 : || !register_operand (operands[1], i1)
9919 1041 : || !register_operand (operands[2], i1)
9920 2082 : || !nonimm_or_0_operand (operands[3], i1))
9921 0 : return -1;
9922 : return 0;
9923 : }
9924 :
9925 : int
9926 1056 : pattern1709 (rtx x1, machine_mode i1)
9927 : {
9928 1056 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9929 1056 : rtx x2, x3;
9930 1056 : int res ATTRIBUTE_UNUSED;
9931 1056 : if (!register_operand (operands[0], i1)
9932 1056 : || GET_MODE (x1) != i1)
9933 : return -1;
9934 1021 : x2 = XVECEXP (x1, 0, 0);
9935 1021 : if (GET_MODE (x2) != i1)
9936 : return -1;
9937 1021 : x3 = XEXP (x2, 0);
9938 1021 : if (GET_MODE (x3) != i1
9939 1021 : || !nonimmediate_operand (operands[1], i1)
9940 1021 : || !register_operand (operands[2], i1)
9941 2008 : || !register_operand (operands[3], i1))
9942 53 : return -1;
9943 : return 0;
9944 : }
9945 :
9946 : int
9947 190 : pattern1715 (rtx x1, machine_mode i1, machine_mode i2)
9948 : {
9949 190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9950 190 : int res ATTRIBUTE_UNUSED;
9951 190 : if (!register_operand (operands[0], i2)
9952 189 : || GET_MODE (x1) != i2
9953 189 : || !register_operand (operands[7], E_QImode)
9954 342 : || !vsib_mem_operator (operands[6], i1))
9955 38 : return -1;
9956 : return 0;
9957 : }
9958 :
9959 : int
9960 163 : pattern1717 (rtx x1, machine_mode i1, machine_mode i2)
9961 : {
9962 163 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9963 163 : rtx x2, x3;
9964 163 : int res ATTRIBUTE_UNUSED;
9965 163 : if (!register_operand (operands[0], i2)
9966 159 : || GET_MODE (x1) != i2
9967 159 : || !register_operand (operands[1], i2)
9968 159 : || !register_operand (operands[7], E_QImode)
9969 281 : || !vsib_mem_operator (operands[6], i1))
9970 : return -1;
9971 118 : x2 = XVECEXP (x1, 0, 2);
9972 118 : x3 = XEXP (x2, 0);
9973 118 : switch (GET_MODE (x3))
9974 : {
9975 0 : case E_SImode:
9976 0 : return pattern1716 (
9977 0 : E_SImode); /* [-1, 1] */
9978 :
9979 118 : case E_DImode:
9980 118 : res = pattern1716 (
9981 : E_DImode);
9982 118 : if (res >= 0)
9983 77 : return res + 2; /* [2, 3] */
9984 : return -1;
9985 :
9986 : default:
9987 : return -1;
9988 : }
9989 : }
9990 :
9991 : int
9992 0 : pattern1726 (rtx x1, machine_mode i1, machine_mode i2)
9993 : {
9994 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9995 0 : rtx x2, x3;
9996 0 : int res ATTRIBUTE_UNUSED;
9997 0 : if (!register_operand (operands[0], i1)
9998 0 : || !addsub_vs_operator (operands[7], i1)
9999 0 : || GET_MODE (x1) != i2)
10000 : return -1;
10001 0 : x2 = XEXP (x1, 0);
10002 0 : if (GET_MODE (x2) != i1
10003 0 : || !register_operand (operands[1], i1)
10004 0 : || !vector_operand (operands[2], i1))
10005 : return -1;
10006 0 : x3 = XEXP (x1, 1);
10007 0 : if (GET_MODE (x3) != i1
10008 0 : || !vector_operand (operands[3], i1)
10009 0 : || !vector_operand (operands[4], i1))
10010 0 : return -1;
10011 : return 0;
10012 : }
10013 :
10014 : int
10015 1279 : pattern1732 (machine_mode i1)
10016 : {
10017 1279 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10018 1279 : int res ATTRIBUTE_UNUSED;
10019 1279 : if (!register_operand (operands[1], i1)
10020 477 : || !const_0_to_15_operand (operands[2], E_VOIDmode)
10021 477 : || !const_0_to_15_operand (operands[3], E_VOIDmode)
10022 477 : || !const_0_to_15_operand (operands[4], E_VOIDmode)
10023 1756 : || !const_0_to_15_operand (operands[5], E_VOIDmode))
10024 802 : return -1;
10025 : return 0;
10026 : }
10027 :
10028 : int
10029 331 : pattern1737 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
10030 : {
10031 331 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10032 331 : rtx x2, x3;
10033 331 : int res ATTRIBUTE_UNUSED;
10034 331 : if (!register_operand (operands[0], i1)
10035 331 : || GET_MODE (x1) != i1)
10036 : return -1;
10037 323 : x2 = XVECEXP (x1, 0, 0);
10038 323 : if (GET_MODE (x2) != i1)
10039 : return -1;
10040 323 : x3 = XEXP (x2, 0);
10041 323 : if (GET_MODE (x3) != i1
10042 323 : || !register_operand (operands[1], i1)
10043 323 : || !register_operand (operands[2], i1)
10044 323 : || !nonimmediate_operand (operands[3], i2)
10045 323 : || !const0_operand (operands[5], i1)
10046 646 : || !register_operand (operands[6], i3))
10047 2 : return -1;
10048 : return 0;
10049 : }
10050 :
10051 : int
10052 62297 : pattern1745 (rtx x1, rtx_code i1)
10053 : {
10054 62297 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10055 62297 : rtx x2, x3, x4;
10056 62297 : int res ATTRIBUTE_UNUSED;
10057 62297 : if (GET_CODE (x1) != i1)
10058 : return -1;
10059 52129 : x2 = XEXP (x1, 0);
10060 52129 : if (GET_CODE (x2) != MINUS)
10061 : return -1;
10062 45664 : x3 = XEXP (x2, 1);
10063 45664 : switch (GET_CODE (x3))
10064 : {
10065 41215 : case LTU:
10066 41215 : case UNLT:
10067 41215 : operands[5] = x3;
10068 41215 : x4 = XEXP (x3, 1);
10069 41215 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10070 0 : return -1;
10071 : return 0;
10072 :
10073 : default:
10074 : return -1;
10075 : }
10076 : }
10077 :
10078 : int
10079 11 : pattern1747 (rtx x1, machine_mode i1)
10080 : {
10081 11 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10082 11 : int res ATTRIBUTE_UNUSED;
10083 11 : if (!nonimmediate_operand (operands[1], i1)
10084 11 : || !register_operand (operands[0], i1)
10085 11 : || GET_MODE (x1) != i1
10086 22 : || !register_operand (operands[2], i1))
10087 0 : return -1;
10088 : return 0;
10089 : }
10090 :
10091 : int
10092 4465 : pattern1753 (rtx x1)
10093 : {
10094 4465 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10095 4465 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10096 4465 : rtx x10, x11;
10097 4465 : int res ATTRIBUTE_UNUSED;
10098 4465 : x2 = XVECEXP (x1, 0, 0);
10099 4465 : x3 = XEXP (x2, 1);
10100 4465 : x4 = XVECEXP (x3, 0, 1);
10101 4465 : operands[4] = x4;
10102 4465 : if (!const_int_operand (operands[4], E_SImode))
10103 : return -1;
10104 4465 : x5 = XEXP (x2, 0);
10105 4465 : if (!rtx_equal_p (x5, operands[0]))
10106 : return -1;
10107 4465 : x6 = XVECEXP (x1, 0, 1);
10108 4465 : x7 = XEXP (x6, 1);
10109 4465 : x8 = XEXP (x7, 0);
10110 4465 : if (!rtx_equal_p (x8, operands[1]))
10111 : return -1;
10112 4465 : x9 = XEXP (x7, 1);
10113 4465 : if (!rtx_equal_p (x9, operands[0]))
10114 : return -1;
10115 4465 : x10 = XEXP (x6, 0);
10116 4465 : if (!rtx_equal_p (x10, operands[1]))
10117 : return -1;
10118 4465 : x11 = PATTERN (peep2_next_insn (2));
10119 4465 : return pattern1584 (x11); /* [-1, 0] */
10120 : }
10121 :
10122 : int
10123 24 : pattern1758 (rtx x1, machine_mode i1)
10124 : {
10125 24 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10126 24 : rtx x2, x3, x4, x5, x6, x7, x8;
10127 24 : int res ATTRIBUTE_UNUSED;
10128 24 : x2 = XEXP (x1, 0);
10129 24 : x3 = XEXP (x2, 0);
10130 24 : x4 = XEXP (x3, 0);
10131 24 : x5 = XEXP (x4, 0);
10132 24 : operands[2] = x5;
10133 24 : x6 = XEXP (x3, 2);
10134 24 : if (GET_MODE (x6) != i1
10135 24 : || !nonimmediate_operand (operands[3], i1))
10136 : return -1;
10137 24 : x7 = XEXP (x2, 1);
10138 24 : if (!rtx_equal_p (x7, operands[3]))
10139 : return -1;
10140 24 : x8 = XEXP (x1, 1);
10141 24 : if (!rtx_equal_p (x8, operands[3]))
10142 0 : return -1;
10143 : return 0;
10144 : }
10145 :
10146 : int
10147 432 : pattern1762 (machine_mode i1)
10148 : {
10149 432 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10150 432 : int res ATTRIBUTE_UNUSED;
10151 432 : if (!vsib_address_operand (operands[0], i1))
10152 : return -1;
10153 409 : switch (GET_MODE (operands[2]))
10154 : {
10155 208 : case E_V16SImode:
10156 208 : if (!register_operand (operands[2], E_V16SImode)
10157 151 : || !register_operand (operands[6], E_HImode)
10158 270 : || !register_operand (operands[3], E_V16SFmode))
10159 167 : return -1;
10160 : return 0;
10161 :
10162 201 : case E_V8DImode:
10163 201 : if (!register_operand (operands[2], E_V8DImode)
10164 184 : || !register_operand (operands[6], E_QImode)
10165 291 : || !register_operand (operands[3], E_V8SFmode))
10166 165 : return -1;
10167 : return 1;
10168 :
10169 : default:
10170 : return -1;
10171 : }
10172 : }
10173 :
10174 : int
10175 5211 : pattern1769 ()
10176 : {
10177 5211 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10178 5211 : int res ATTRIBUTE_UNUSED;
10179 5211 : if (!const_0_to_3_operand (operands[2], E_VOIDmode)
10180 5002 : || !const_0_to_3_operand (operands[3], E_VOIDmode)
10181 4909 : || !const_0_to_3_operand (operands[4], E_VOIDmode)
10182 4884 : || !const_0_to_3_operand (operands[5], E_VOIDmode)
10183 4881 : || !const_4_to_7_operand (operands[6], E_VOIDmode)
10184 4733 : || !const_4_to_7_operand (operands[7], E_VOIDmode)
10185 4685 : || !const_4_to_7_operand (operands[8], E_VOIDmode)
10186 9895 : || !const_4_to_7_operand (operands[9], E_VOIDmode))
10187 527 : return -1;
10188 : return 0;
10189 : }
10190 :
10191 : int
10192 1786 : pattern1776 (rtx x1, machine_mode i1)
10193 : {
10194 1786 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10195 1786 : rtx x2, x3, x4;
10196 1786 : int res ATTRIBUTE_UNUSED;
10197 1786 : if (!vsib_mem_operator (operands[5], i1)
10198 1786 : || !register_operand (operands[6], E_QImode))
10199 : return -1;
10200 1620 : x2 = XEXP (x1, 1);
10201 1620 : if (GET_MODE (x2) != i1
10202 1620 : || !register_operand (operands[3], i1)
10203 3190 : || !scratch_operand (operands[1], E_QImode))
10204 : return -1;
10205 1570 : x3 = XEXP (x1, 0);
10206 1570 : x4 = XEXP (x3, 0);
10207 1570 : switch (GET_MODE (x4))
10208 : {
10209 0 : case E_SImode:
10210 0 : return pattern1775 (
10211 0 : E_SImode); /* [-1, 1] */
10212 :
10213 1570 : case E_DImode:
10214 1570 : res = pattern1775 (
10215 : E_DImode);
10216 1570 : if (res >= 0)
10217 1460 : return res + 2; /* [2, 3] */
10218 : return -1;
10219 :
10220 : default:
10221 : return -1;
10222 : }
10223 : }
10224 :
10225 : int
10226 177 : pattern1782 (rtx x1, machine_mode i1, machine_mode i2)
10227 : {
10228 177 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10229 177 : rtx x2, x3;
10230 177 : int res ATTRIBUTE_UNUSED;
10231 177 : if (!register_operand (operands[0], i2)
10232 177 : || GET_MODE (x1) != i2
10233 177 : || !register_operand (operands[6], E_QImode)
10234 124 : || !vsib_mem_operator (operands[5], i1)
10235 301 : || !scratch_operand (operands[1], E_QImode))
10236 : return -1;
10237 124 : x2 = XVECEXP (x1, 0, 2);
10238 124 : x3 = XEXP (x2, 0);
10239 124 : switch (GET_MODE (x3))
10240 : {
10241 0 : case E_SImode:
10242 0 : return pattern1781 (
10243 0 : E_SImode); /* [-1, 1] */
10244 :
10245 124 : case E_DImode:
10246 124 : res = pattern1781 (
10247 : E_DImode);
10248 124 : if (res >= 0)
10249 116 : return res + 2; /* [2, 3] */
10250 : return -1;
10251 :
10252 : default:
10253 : return -1;
10254 : }
10255 : }
10256 :
10257 : int
10258 5 : pattern1789 (rtx x1, machine_mode i1)
10259 : {
10260 5 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10261 5 : int res ATTRIBUTE_UNUSED;
10262 5 : if (!ix86_carry_flag_unset_operator (operands[2], i1)
10263 5 : || !nonimmediate_operand (operands[1], i1)
10264 5 : || !nonimmediate_operand (operands[0], i1)
10265 10 : || GET_MODE (x1) != i1)
10266 0 : return -1;
10267 : return 0;
10268 : }
10269 :
10270 : int
10271 624 : pattern1794 (rtx x1)
10272 : {
10273 624 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10274 624 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10275 624 : rtx x10, x11;
10276 624 : int res ATTRIBUTE_UNUSED;
10277 624 : x2 = XEXP (x1, 0);
10278 624 : x3 = XEXP (x2, 1);
10279 624 : x4 = XVECEXP (x3, 0, 4);
10280 624 : if (XWINT (x4, 0) != 6L)
10281 : return -1;
10282 624 : x5 = XVECEXP (x3, 0, 5);
10283 624 : if (XWINT (x5, 0) != 14L)
10284 : return -1;
10285 624 : x6 = XVECEXP (x3, 0, 6);
10286 624 : if (XWINT (x6, 0) != 7L)
10287 : return -1;
10288 624 : x7 = XVECEXP (x3, 0, 7);
10289 624 : if (XWINT (x7, 0) != 15L)
10290 : return -1;
10291 624 : x8 = XEXP (x2, 0);
10292 624 : x9 = XEXP (x8, 1);
10293 624 : operands[2] = x9;
10294 624 : x10 = XEXP (x1, 1);
10295 624 : operands[3] = x10;
10296 624 : x11 = XEXP (x1, 2);
10297 624 : operands[4] = x11;
10298 624 : return 0;
10299 : }
10300 :
10301 : int
10302 303 : pattern1798 (rtx x1, machine_mode i1)
10303 : {
10304 303 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10305 303 : rtx x2, x3, x4, x5;
10306 303 : int res ATTRIBUTE_UNUSED;
10307 303 : if (!register_operand (operands[0], i1)
10308 303 : || GET_MODE (x1) != i1)
10309 : return -1;
10310 300 : x2 = XVECEXP (x1, 0, 0);
10311 300 : if (GET_MODE (x2) != i1)
10312 : return -1;
10313 300 : x3 = XEXP (x2, 0);
10314 300 : if (GET_MODE (x3) != i1)
10315 : return -1;
10316 300 : x4 = XEXP (x3, 0);
10317 300 : if (GET_MODE (x4) != i1
10318 300 : || !nonimmediate_operand (operands[1], i1)
10319 600 : || !register_operand (operands[2], i1))
10320 : return -1;
10321 300 : x5 = XEXP (x4, 2);
10322 300 : if (GET_MODE (x5) != i1
10323 300 : || !register_operand (operands[3], i1)
10324 600 : || !const0_operand (operands[4], i1))
10325 0 : return -1;
10326 : return 0;
10327 : }
10328 :
10329 : int
10330 260 : pattern1803 (machine_mode i1)
10331 : {
10332 260 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10333 260 : int res ATTRIBUTE_UNUSED;
10334 260 : if (!vsib_address_operand (operands[3], i1))
10335 : return -1;
10336 220 : switch (GET_MODE (operands[4]))
10337 : {
10338 69 : case E_V4SImode:
10339 69 : if (!register_operand (operands[4], E_V4SImode))
10340 27 : return -1;
10341 : return 0;
10342 :
10343 151 : case E_V2DImode:
10344 151 : if (!register_operand (operands[4], E_V2DImode))
10345 64 : return -1;
10346 : return 1;
10347 :
10348 : default:
10349 : return -1;
10350 : }
10351 : }
10352 :
10353 : int
10354 580 : pattern1809 (rtx x1, machine_mode i1, machine_mode i2)
10355 : {
10356 580 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10357 580 : int res ATTRIBUTE_UNUSED;
10358 580 : if (!register_operand (operands[0], i2)
10359 580 : || GET_MODE (x1) != i2
10360 580 : || !register_operand (operands[7], E_QImode)
10361 580 : || !vsib_mem_operator (operands[6], i1)
10362 1160 : || !scratch_operand (operands[2], E_QImode))
10363 0 : return -1;
10364 : return 0;
10365 : }
10366 :
10367 : int
10368 1308 : pattern1812 (machine_mode i1)
10369 : {
10370 1308 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10371 1308 : int res ATTRIBUTE_UNUSED;
10372 1308 : if (!vsib_address_operand (operands[4], i1))
10373 : return -1;
10374 1308 : switch (GET_MODE (operands[3]))
10375 : {
10376 616 : case E_V4SImode:
10377 616 : if (!register_operand (operands[3], E_V4SImode))
10378 26 : return -1;
10379 : return 0;
10380 :
10381 692 : case E_V2DImode:
10382 692 : if (!register_operand (operands[3], E_V2DImode))
10383 34 : return -1;
10384 : return 1;
10385 :
10386 : default:
10387 : return -1;
10388 : }
10389 : }
10390 :
10391 : int
10392 9 : pattern1818 (rtx x1, machine_mode i1)
10393 : {
10394 9 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10395 9 : int res ATTRIBUTE_UNUSED;
10396 9 : if (!memory_operand (operands[0], i1)
10397 1 : || !const_int_operand (operands[2], i1)
10398 1 : || GET_MODE (x1) != i1
10399 10 : || !const_int_operand (operands[1], i1))
10400 8 : return -1;
10401 : return 0;
10402 : }
10403 :
10404 : int
10405 168233 : pattern1824 (rtx x1, machine_mode i1, machine_mode i2)
10406 : {
10407 168233 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10408 168233 : rtx x2, x3;
10409 168233 : int res ATTRIBUTE_UNUSED;
10410 168233 : if (!register_operand (operands[1], i1)
10411 168233 : || GET_MODE (x1) != i2)
10412 : return -1;
10413 167043 : x2 = XEXP (x1, 0);
10414 167043 : if (GET_MODE (x2) != i2)
10415 : return -1;
10416 167043 : x3 = XEXP (x1, 1);
10417 167043 : if (GET_MODE (x3) != i2
10418 167043 : || !x86_64_sext_operand (operands[2], i1)
10419 333746 : || !scratch_operand (operands[0], i1))
10420 424 : return -1;
10421 : return 0;
10422 : }
10423 :
10424 : int
10425 0 : pattern1828 (rtx x1, machine_mode i1)
10426 : {
10427 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10428 0 : rtx x2, x3, x4, x5;
10429 0 : int res ATTRIBUTE_UNUSED;
10430 0 : x2 = XVECEXP (x1, 0, 0);
10431 0 : x3 = XEXP (x2, 0);
10432 0 : if (GET_MODE (x3) != i1
10433 0 : || !register_operand (operands[1], i1)
10434 0 : || !register_operand (operands[2], i1))
10435 : return -1;
10436 0 : x4 = XVECEXP (x1, 0, 1);
10437 0 : if (GET_MODE (x4) != i1)
10438 : return -1;
10439 0 : x5 = XEXP (x4, 0);
10440 0 : if (GET_MODE (x5) != i1)
10441 0 : return -1;
10442 : return 0;
10443 : }
10444 :
10445 : int
10446 451 : pattern1833 (rtx x1, machine_mode i1, machine_mode i2)
10447 : {
10448 451 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10449 451 : rtx x2, x3, x4;
10450 451 : int res ATTRIBUTE_UNUSED;
10451 451 : if (!register_operand (operands[0], i2)
10452 451 : || GET_MODE (x1) != i2)
10453 : return -1;
10454 443 : x2 = XVECEXP (x1, 0, 0);
10455 443 : if (GET_MODE (x2) != i2)
10456 : return -1;
10457 443 : x3 = XEXP (x2, 0);
10458 443 : if (GET_MODE (x3) != i2)
10459 : return -1;
10460 443 : x4 = XEXP (x3, 0);
10461 443 : if (GET_MODE (x4) != i2
10462 443 : || !register_operand (operands[1], i2)
10463 441 : || !register_operand (operands[2], i2)
10464 884 : || !register_operand (operands[3], i1))
10465 2 : return -1;
10466 : return 0;
10467 : }
10468 :
10469 : int
10470 813 : pattern1837 (machine_mode i1)
10471 : {
10472 813 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10473 813 : int res ATTRIBUTE_UNUSED;
10474 813 : if (!vsib_address_operand (operands[0], i1))
10475 : return -1;
10476 794 : switch (GET_MODE (operands[2]))
10477 : {
10478 400 : case E_V16SImode:
10479 400 : return pattern1835 (
10480 : E_HImode,
10481 : E_V16SFmode,
10482 400 : E_V16SImode); /* [-1, 0] */
10483 :
10484 394 : case E_V8DImode:
10485 394 : if (pattern1835 (
10486 : E_QImode,
10487 : E_V8SFmode,
10488 : E_V8DImode) != 0)
10489 126 : return -1;
10490 : return 1;
10491 :
10492 : default:
10493 : return -1;
10494 : }
10495 : }
10496 :
10497 : int
10498 523 : pattern1841 (machine_mode i1)
10499 : {
10500 523 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10501 523 : int res ATTRIBUTE_UNUSED;
10502 523 : if (!vsib_address_operand (operands[2], i1))
10503 : return -1;
10504 505 : switch (GET_MODE (operands[3]))
10505 : {
10506 276 : case E_V4SImode:
10507 276 : if (!register_operand (operands[3], E_V4SImode))
10508 48 : return -1;
10509 : return 0;
10510 :
10511 229 : case E_V4DImode:
10512 229 : if (!register_operand (operands[3], E_V4DImode))
10513 22 : return -1;
10514 : return 1;
10515 :
10516 : default:
10517 : return -1;
10518 : }
10519 : }
10520 :
10521 : int
10522 5392 : pattern1846 (rtx x1)
10523 : {
10524 5392 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10525 5392 : int res ATTRIBUTE_UNUSED;
10526 5392 : switch (GET_MODE (operands[0]))
10527 : {
10528 689 : case E_V16HImode:
10529 689 : if (!nonimmediate_operand (operands[0], E_V16HImode)
10530 689 : || GET_MODE (x1) != E_V16HImode
10531 1378 : || !nonimmediate_operand (operands[1], E_V32HImode))
10532 0 : return -1;
10533 : return 0;
10534 :
10535 369 : case E_V16HFmode:
10536 369 : if (!nonimmediate_operand (operands[0], E_V16HFmode)
10537 369 : || GET_MODE (x1) != E_V16HFmode
10538 738 : || !nonimmediate_operand (operands[1], E_V32HFmode))
10539 3 : return -1;
10540 : return 1;
10541 :
10542 27 : case E_V16BFmode:
10543 27 : if (!nonimmediate_operand (operands[0], E_V16BFmode)
10544 27 : || GET_MODE (x1) != E_V16BFmode
10545 54 : || !nonimmediate_operand (operands[1], E_V32BFmode))
10546 0 : return -1;
10547 : return 2;
10548 :
10549 4307 : case E_V16QImode:
10550 4307 : if (!nonimmediate_operand (operands[0], E_V16QImode)
10551 4307 : || GET_MODE (x1) != E_V16QImode
10552 8614 : || !nonimmediate_operand (operands[1], E_V32QImode))
10553 1199 : return -1;
10554 : return 3;
10555 :
10556 : default:
10557 : return -1;
10558 : }
10559 : }
10560 :
10561 : int
10562 726 : pattern1856 (rtx x1)
10563 : {
10564 726 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10565 726 : rtx x2, x3, x4, x5, x6, x7;
10566 726 : int res ATTRIBUTE_UNUSED;
10567 726 : x2 = XEXP (x1, 1);
10568 726 : x3 = XEXP (x2, 0);
10569 726 : x4 = XEXP (x3, 1);
10570 726 : if (maybe_ne (SUBREG_BYTE (x4), 0)
10571 726 : || GET_MODE (x4) != E_QImode)
10572 : return -1;
10573 726 : x5 = XEXP (x4, 0);
10574 726 : switch (GET_CODE (x5))
10575 : {
10576 726 : case ASHIFTRT:
10577 726 : case LSHIFTRT:
10578 726 : case SIGN_EXTRACT:
10579 726 : case ZERO_EXTRACT:
10580 726 : operands[4] = x5;
10581 726 : x6 = XEXP (x5, 0);
10582 726 : operands[2] = x6;
10583 726 : if (!int248_register_operand (operands[2], E_VOIDmode))
10584 : return -1;
10585 705 : x7 = XEXP (x1, 0);
10586 705 : switch (GET_MODE (x7))
10587 : {
10588 622 : case E_HImode:
10589 622 : if (GET_MODE (x2) != E_HImode
10590 622 : || !extract_high_operator (operands[3], E_HImode)
10591 1244 : || !extract_high_operator (operands[4], E_HImode))
10592 0 : return -1;
10593 : return 0;
10594 :
10595 75 : case E_SImode:
10596 75 : if (GET_MODE (x2) != E_SImode
10597 75 : || !extract_high_operator (operands[3], E_SImode)
10598 150 : || !extract_high_operator (operands[4], E_SImode))
10599 0 : return -1;
10600 : return 1;
10601 :
10602 8 : case E_DImode:
10603 8 : if (GET_MODE (x2) != E_DImode
10604 8 : || !extract_high_operator (operands[3], E_DImode)
10605 16 : || !extract_high_operator (operands[4], E_DImode))
10606 0 : return -1;
10607 : return 2;
10608 :
10609 : default:
10610 : return -1;
10611 : }
10612 :
10613 : default:
10614 : return -1;
10615 : }
10616 : }
10617 :
10618 : int
10619 15082 : pattern1870 (rtx x1, machine_mode i1, machine_mode i2)
10620 : {
10621 15082 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10622 15082 : rtx x2, x3, x4, x5, x6;
10623 15082 : int res ATTRIBUTE_UNUSED;
10624 15082 : x2 = XVECEXP (x1, 0, 0);
10625 15082 : x3 = XEXP (x2, 1);
10626 15082 : x4 = XEXP (x3, 0);
10627 15082 : x5 = XEXP (x4, 0);
10628 15082 : if (GET_MODE (x5) != i2
10629 15082 : || !nonimmediate_operand (operands[1], i1))
10630 : return -1;
10631 14940 : x6 = XEXP (x4, 1);
10632 14940 : if (GET_MODE (x6) != i2
10633 14940 : || !nonimmediate_operand (operands[2], i1)
10634 29824 : || pattern1868 (x1,
10635 : i1,
10636 : i2) != 0)
10637 56 : return -1;
10638 : return 0;
10639 : }
10640 :
10641 : int
10642 10 : pattern1876 (rtx x1, machine_mode i1)
10643 : {
10644 10 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10645 10 : rtx x2, x3, x4, x5;
10646 10 : int res ATTRIBUTE_UNUSED;
10647 10 : if (!register_operand (operands[2], i1))
10648 : return -1;
10649 10 : x2 = XVECEXP (x1, 0, 0);
10650 10 : x3 = XEXP (x2, 1);
10651 10 : if (GET_MODE (x3) != i1
10652 10 : || !memory_operand (operands[3], i1)
10653 20 : || !register_operand (operands[4], i1))
10654 : return -1;
10655 10 : x4 = XVECEXP (x1, 0, 1);
10656 10 : x5 = XEXP (x4, 1);
10657 10 : if (GET_MODE (x5) != i1)
10658 0 : return -1;
10659 : return 0;
10660 : }
10661 :
10662 : int
10663 423 : pattern1881 (rtx x1, machine_mode i1)
10664 : {
10665 423 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10666 423 : rtx x2, x3, x4, x5, x6, x7;
10667 423 : int res ATTRIBUTE_UNUSED;
10668 423 : x2 = XEXP (x1, 0);
10669 423 : x3 = XEXP (x2, 0);
10670 423 : x4 = XEXP (x3, 0);
10671 423 : x5 = XEXP (x4, 0);
10672 423 : operands[2] = x5;
10673 423 : if (!register_operand (operands[2], i1)
10674 423 : || !nonimmediate_operand (operands[3], i1))
10675 : return -1;
10676 419 : x6 = XEXP (x2, 1);
10677 419 : if (!rtx_equal_p (x6, operands[3]))
10678 : return -1;
10679 342 : x7 = XEXP (x1, 1);
10680 342 : if (!rtx_equal_p (x7, operands[3]))
10681 0 : return -1;
10682 : return 0;
10683 : }
10684 :
10685 : int
10686 255 : pattern1885 (rtx x1, machine_mode i1, machine_mode i2)
10687 : {
10688 255 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10689 255 : int res ATTRIBUTE_UNUSED;
10690 255 : if (!register_operand (operands[2], i1)
10691 255 : || !register_operand (operands[4], i2))
10692 : return -1;
10693 201 : return pattern1884 (x1,
10694 201 : i1); /* [-1, 1] */
10695 : }
10696 :
10697 : int
10698 380 : pattern1888 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
10699 : {
10700 380 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10701 380 : rtx x2, x3, x4;
10702 380 : int res ATTRIBUTE_UNUSED;
10703 380 : if (!register_operand (operands[0], i3)
10704 380 : || GET_MODE (x1) != i3)
10705 : return -1;
10706 364 : x2 = XEXP (x1, 0);
10707 364 : if (GET_MODE (x2) != i3)
10708 : return -1;
10709 364 : x3 = XEXP (x2, 0);
10710 364 : if (GET_MODE (x3) != i2
10711 364 : || !register_operand (operands[1], i1))
10712 : return -1;
10713 364 : x4 = XEXP (x2, 1);
10714 364 : if (GET_MODE (x4) != i2
10715 364 : || !vector_operand (operands[2], i1))
10716 0 : return -1;
10717 : return 0;
10718 : }
10719 :
10720 : int
10721 0 : pattern1891 (machine_mode i1)
10722 : {
10723 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10724 0 : int res ATTRIBUTE_UNUSED;
10725 0 : if (!register_operand (operands[4], i1)
10726 0 : || !register_operand (operands[5], i1)
10727 0 : || !register_operand (operands[6], i1)
10728 0 : || !register_operand (operands[0], i1)
10729 0 : || !register_operand (operands[1], i1)
10730 0 : || !register_operand (operands[2], i1))
10731 0 : return -1;
10732 : return 0;
10733 : }
10734 :
10735 : int
10736 634 : pattern1894 (rtx x1)
10737 : {
10738 634 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10739 634 : int res ATTRIBUTE_UNUSED;
10740 634 : switch (GET_MODE (operands[0]))
10741 : {
10742 464 : case E_V8SFmode:
10743 464 : if (!nonimmediate_operand (operands[0], E_V8SFmode)
10744 464 : || pattern1595 (x1,
10745 : E_V8SFmode,
10746 : E_V16SFmode) != 0)
10747 8 : return -1;
10748 : return 0;
10749 :
10750 170 : case E_V8SImode:
10751 170 : if (!nonimmediate_operand (operands[0], E_V8SImode)
10752 170 : || pattern1595 (x1,
10753 : E_V8SImode,
10754 : E_V16SImode) != 0)
10755 0 : return -1;
10756 : return 1;
10757 :
10758 : default:
10759 : return -1;
10760 : }
10761 : }
10762 :
10763 : int
10764 438496 : pattern1897 (rtx x1, machine_mode i1)
10765 : {
10766 438496 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10767 438496 : rtx x2, x3, x4, x5;
10768 438496 : int res ATTRIBUTE_UNUSED;
10769 438496 : if (!register_operand (operands[0], i1))
10770 : return -1;
10771 438496 : x2 = XVECEXP (x1, 0, 0);
10772 438496 : x3 = XEXP (x2, 1);
10773 438496 : if (GET_MODE (x3) != i1
10774 438496 : || !memory_operand (operands[1], i1)
10775 437435 : || !register_operand (operands[2], i1)
10776 838558 : || !register_operand (operands[3], i1))
10777 : return -1;
10778 342138 : x4 = XVECEXP (x1, 0, 1);
10779 342138 : x5 = XEXP (x4, 1);
10780 342138 : if (GET_MODE (x5) != i1)
10781 0 : return -1;
10782 : return 0;
10783 : }
10784 :
10785 : int
10786 469 : pattern1901 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3, machine_mode i4)
10787 : {
10788 469 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10789 469 : rtx x2, x3, x4, x5;
10790 469 : int res ATTRIBUTE_UNUSED;
10791 469 : if (!register_operand (operands[0], i2)
10792 469 : || GET_MODE (x1) != i2)
10793 : return -1;
10794 447 : x2 = XEXP (x1, 0);
10795 447 : if (GET_MODE (x2) != i2)
10796 : return -1;
10797 447 : x3 = XEXP (x2, 0);
10798 447 : if (GET_MODE (x3) != i2)
10799 : return -1;
10800 447 : x4 = XEXP (x3, 0);
10801 447 : if (GET_MODE (x4) != i4
10802 447 : || !register_operand (operands[1], i3))
10803 : return -1;
10804 447 : x5 = XEXP (x3, 1);
10805 447 : if (GET_MODE (x5) != i4
10806 447 : || !vector_operand (operands[2], i3)
10807 447 : || !nonimm_or_0_operand (operands[3], i2)
10808 878 : || !register_operand (operands[4], i1))
10809 51 : return -1;
10810 : return 0;
10811 : }
10812 :
10813 : int
10814 580 : pattern1905 (rtx x1, machine_mode i1)
10815 : {
10816 580 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10817 580 : int res ATTRIBUTE_UNUSED;
10818 580 : if (!register_operand (operands[3], i1))
10819 : return -1;
10820 558 : switch (GET_MODE (x1))
10821 : {
10822 0 : case E_SImode:
10823 0 : if (!vsib_address_operand (operands[4], E_SImode))
10824 0 : return -1;
10825 : return 0;
10826 :
10827 558 : case E_DImode:
10828 558 : if (!vsib_address_operand (operands[4], E_DImode))
10829 0 : return -1;
10830 : return 1;
10831 :
10832 : default:
10833 : return -1;
10834 : }
10835 : }
10836 :
10837 : int
10838 367 : pattern1907 (machine_mode i1)
10839 : {
10840 367 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10841 367 : int res ATTRIBUTE_UNUSED;
10842 367 : if (!vsib_address_operand (operands[2], i1))
10843 : return -1;
10844 355 : switch (GET_MODE (operands[3]))
10845 : {
10846 116 : case E_V8SImode:
10847 116 : if (!register_operand (operands[3], E_V8SImode)
10848 116 : || !register_operand (operands[4], E_V8SFmode))
10849 26 : return -1;
10850 : return 0;
10851 :
10852 239 : case E_V4DImode:
10853 239 : if (!register_operand (operands[3], E_V4DImode)
10854 239 : || !register_operand (operands[4], E_V4SFmode))
10855 58 : return -1;
10856 : return 1;
10857 :
10858 : default:
10859 : return -1;
10860 : }
10861 : }
10862 :
10863 : int
10864 40704 : pattern1913 (rtx x1, machine_mode i1, machine_mode i2)
10865 : {
10866 40704 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10867 40704 : rtx x2, x3, x4, x5, x6, x7, x8;
10868 40704 : int res ATTRIBUTE_UNUSED;
10869 40704 : if (!nonimmediate_operand (operands[1], i1))
10870 : return -1;
10871 40704 : x2 = XVECEXP (x1, 0, 0);
10872 40704 : x3 = XEXP (x2, 1);
10873 40704 : x4 = XEXP (x3, 1);
10874 40704 : if (GET_MODE (x4) != i2
10875 40704 : || !ix86_carry_flag_operator (operands[4], i2))
10876 : return -1;
10877 40704 : x5 = XEXP (x4, 1);
10878 40704 : if (GET_MODE (x5) != i2
10879 40704 : || !nonimmediate_operand (operands[2], i1)
10880 79942 : || !nonimmediate_operand (operands[0], i1))
10881 : return -1;
10882 39238 : x6 = XVECEXP (x1, 0, 1);
10883 39238 : x7 = XEXP (x6, 1);
10884 39238 : if (GET_MODE (x7) != i1)
10885 : return -1;
10886 39238 : x8 = XEXP (x7, 0);
10887 39238 : if (GET_MODE (x8) != i1
10888 39238 : || !ix86_carry_flag_operator (operands[5], i1))
10889 0 : return -1;
10890 : return 0;
10891 : }
10892 :
10893 : int
10894 419 : pattern1917 ()
10895 : {
10896 419 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10897 419 : int res ATTRIBUTE_UNUSED;
10898 419 : if (!const_0_to_7_operand (operands[4], E_VOIDmode)
10899 419 : || !const_0_to_7_operand (operands[5], E_VOIDmode)
10900 419 : || !const_0_to_7_operand (operands[6], E_VOIDmode)
10901 419 : || !const_8_to_15_operand (operands[7], E_VOIDmode)
10902 419 : || !const_8_to_15_operand (operands[8], E_VOIDmode)
10903 419 : || !const_8_to_15_operand (operands[9], E_VOIDmode)
10904 838 : || !const_8_to_15_operand (operands[10], E_VOIDmode))
10905 0 : return -1;
10906 : return 0;
10907 : }
10908 :
10909 : int
10910 37307 : pattern1922 (rtx x1)
10911 : {
10912 37307 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10913 37307 : rtx x2, x3, x4, x5;
10914 37307 : int res ATTRIBUTE_UNUSED;
10915 37307 : x2 = XVECEXP (x1, 0, 8);
10916 37307 : if (XWINT (x2, 0) != 12L)
10917 : return -1;
10918 37307 : x3 = XVECEXP (x1, 0, 9);
10919 37307 : if (XWINT (x3, 0) != 28L)
10920 : return -1;
10921 37307 : x4 = XVECEXP (x1, 0, 10);
10922 37307 : if (XWINT (x4, 0) != 13L)
10923 : return -1;
10924 37307 : x5 = XVECEXP (x1, 0, 11);
10925 37307 : if (XWINT (x5, 0) != 29L)
10926 0 : return -1;
10927 : return 0;
10928 : }
10929 :
10930 : int
10931 402 : pattern1925 ()
10932 : {
10933 402 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10934 402 : int res ATTRIBUTE_UNUSED;
10935 402 : if (!const_0_to_15_operand (operands[2], E_VOIDmode)
10936 402 : || !const_0_to_15_operand (operands[3], E_VOIDmode)
10937 402 : || !const_0_to_15_operand (operands[4], E_VOIDmode)
10938 402 : || !const_0_to_15_operand (operands[5], E_VOIDmode)
10939 402 : || !const_0_to_15_operand (operands[6], E_VOIDmode)
10940 402 : || !const_0_to_15_operand (operands[7], E_VOIDmode)
10941 402 : || !const_0_to_15_operand (operands[8], E_VOIDmode)
10942 402 : || !const_0_to_15_operand (operands[9], E_VOIDmode)
10943 402 : || !const_0_to_15_operand (operands[10], E_VOIDmode)
10944 402 : || !const_0_to_15_operand (operands[11], E_VOIDmode)
10945 402 : || !const_0_to_15_operand (operands[12], E_VOIDmode)
10946 402 : || !const_0_to_15_operand (operands[13], E_VOIDmode)
10947 402 : || !const_0_to_15_operand (operands[14], E_VOIDmode)
10948 402 : || !const_0_to_15_operand (operands[15], E_VOIDmode)
10949 402 : || !const_0_to_15_operand (operands[16], E_VOIDmode)
10950 804 : || !const_0_to_15_operand (operands[17], E_VOIDmode))
10951 0 : return -1;
10952 : return 0;
10953 : }
10954 :
10955 : int
10956 24 : pattern1932 (rtx x1, machine_mode i1)
10957 : {
10958 24 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10959 24 : rtx x2, x3, x4, x5, x6, x7, x8;
10960 24 : int res ATTRIBUTE_UNUSED;
10961 24 : if (!x86_64_general_operand (operands[1], i1))
10962 : return -1;
10963 24 : x2 = XVECEXP (x1, 0, 1);
10964 24 : x3 = XEXP (x2, 1);
10965 24 : if (XINT (x3, 1) != 128
10966 24 : || GET_MODE (x3) != i1)
10967 : return -1;
10968 24 : x4 = XVECEXP (x1, 0, 2);
10969 24 : x5 = XEXP (x4, 1);
10970 24 : if (GET_CODE (x5) != COMPARE
10971 24 : || GET_MODE (x5) != E_CCmode
10972 24 : || !memory_operand (operands[2], i1)
10973 48 : || !register_operand (operands[3], i1))
10974 : return -1;
10975 24 : x6 = XEXP (x4, 0);
10976 24 : if (GET_MODE (x6) != E_CCmode)
10977 : return -1;
10978 24 : x7 = XEXP (x5, 0);
10979 24 : if (!rtx_equal_p (x7, operands[2]))
10980 : return -1;
10981 24 : x8 = XEXP (x5, 1);
10982 24 : if (!rtx_equal_p (x8, operands[0])
10983 24 : || !register_operand (operands[5], i1)
10984 48 : || !x86_64_general_operand (operands[6], i1))
10985 0 : return -1;
10986 : return 0;
10987 : }
10988 :
10989 : int
10990 351 : pattern1937 (rtx x1)
10991 : {
10992 351 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10993 351 : rtx x2, x3, x4, x5, x6, x7, x8;
10994 351 : int res ATTRIBUTE_UNUSED;
10995 351 : x2 = XEXP (x1, 1);
10996 351 : x3 = XVECEXP (x2, 0, 12);
10997 351 : if (XWINT (x3, 0) != 14L)
10998 : return -1;
10999 351 : x4 = XVECEXP (x2, 0, 13);
11000 351 : if (XWINT (x4, 0) != 30L)
11001 : return -1;
11002 351 : x5 = XVECEXP (x2, 0, 14);
11003 351 : if (XWINT (x5, 0) != 15L)
11004 : return -1;
11005 351 : x6 = XVECEXP (x2, 0, 15);
11006 351 : if (XWINT (x6, 0) != 31L)
11007 : return -1;
11008 351 : x7 = XEXP (x1, 0);
11009 351 : x8 = XEXP (x7, 1);
11010 351 : operands[2] = x8;
11011 351 : return 0;
11012 : }
11013 :
11014 : int
11015 2 : pattern1940 (rtx x1)
11016 : {
11017 2 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11018 2 : rtx x2, x3, x4, x5, x6, x7, x8;
11019 2 : int res ATTRIBUTE_UNUSED;
11020 2 : x2 = XEXP (x1, 1);
11021 2 : x3 = XEXP (x2, 0);
11022 2 : x4 = XEXP (x3, 0);
11023 2 : if (GET_CODE (x4) != REG
11024 2 : || REGNO (x4) != 17
11025 4 : || GET_MODE (x4) != E_CCZmode)
11026 : return -1;
11027 2 : x5 = XEXP (x3, 1);
11028 2 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11029 : return -1;
11030 2 : x6 = XEXP (x2, 1);
11031 2 : if (GET_CODE (x6) != LABEL_REF)
11032 : return -1;
11033 2 : x7 = XEXP (x2, 2);
11034 2 : if (GET_CODE (x7) != PC)
11035 : return -1;
11036 2 : x8 = XEXP (x1, 0);
11037 2 : if (GET_CODE (x8) != PC)
11038 0 : return -1;
11039 : return 0;
11040 : }
11041 :
11042 : int
11043 1056 : pattern1945 (rtx x1, machine_mode i1, machine_mode i2)
11044 : {
11045 1056 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11046 1056 : rtx x2, x3, x4, x5, x6, x7;
11047 1056 : int res ATTRIBUTE_UNUSED;
11048 1056 : x2 = XVECEXP (x1, 0, 0);
11049 1056 : x3 = XEXP (x2, 1);
11050 1056 : x4 = XEXP (x3, 0);
11051 1056 : x5 = XEXP (x4, 0);
11052 1056 : if (GET_MODE (x5) != i2
11053 1056 : || !ix86_carry_flag_operator (operands[4], i2))
11054 : return -1;
11055 1056 : x6 = XEXP (x5, 1);
11056 1056 : if (GET_MODE (x6) != i2
11057 1056 : || !nonimmediate_operand (operands[1], i1))
11058 : return -1;
11059 1056 : x7 = XEXP (x4, 1);
11060 1056 : if (GET_MODE (x7) != i2
11061 1056 : || !x86_64_sext_operand (operands[2], i1)
11062 2112 : || pattern1943 (x1,
11063 : i1,
11064 : i2) != 0)
11065 0 : return -1;
11066 : return 0;
11067 : }
11068 :
11069 : int
11070 178 : pattern1951 (rtx x1, machine_mode i1, machine_mode i2)
11071 : {
11072 178 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11073 178 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11074 178 : rtx x10, x11;
11075 178 : int res ATTRIBUTE_UNUSED;
11076 178 : x2 = XVECEXP (x1, 0, 0);
11077 178 : x3 = XEXP (x2, 1);
11078 178 : x4 = XEXP (x3, 0);
11079 178 : x5 = XEXP (x4, 0);
11080 178 : if (GET_MODE (x5) != i2)
11081 : return -1;
11082 178 : x6 = XEXP (x5, 0);
11083 178 : if (GET_MODE (x6) != i2
11084 178 : || !nonimmediate_operand (operands[1], i1)
11085 178 : || !ix86_carry_flag_operator (operands[4], i2)
11086 356 : || !const_int_operand (operands[6], i2))
11087 : return -1;
11088 178 : x7 = XEXP (x3, 1);
11089 178 : if (GET_MODE (x7) != i2)
11090 : return -1;
11091 178 : x8 = XEXP (x7, 0);
11092 178 : if (GET_MODE (x8) != i1)
11093 : return -1;
11094 178 : x9 = XEXP (x8, 0);
11095 178 : if (GET_MODE (x9) != i1
11096 178 : || !ix86_carry_flag_operator (operands[5], i1))
11097 : return -1;
11098 178 : x10 = XVECEXP (x1, 0, 1);
11099 178 : x11 = XEXP (x10, 1);
11100 178 : return pattern1946 (x11,
11101 178 : i1); /* [-1, 0] */
11102 : }
11103 :
11104 : int
11105 423 : pattern1957 (rtx x1)
11106 : {
11107 423 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11108 423 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11109 423 : int res ATTRIBUTE_UNUSED;
11110 423 : x2 = XVECEXP (x1, 0, 8);
11111 423 : if (XWINT (x2, 0) != 12L)
11112 : return -1;
11113 423 : x3 = XVECEXP (x1, 0, 9);
11114 423 : if (XWINT (x3, 0) != 44L)
11115 : return -1;
11116 423 : x4 = XVECEXP (x1, 0, 10);
11117 423 : if (XWINT (x4, 0) != 13L)
11118 : return -1;
11119 423 : x5 = XVECEXP (x1, 0, 11);
11120 423 : if (XWINT (x5, 0) != 45L)
11121 : return -1;
11122 423 : x6 = XVECEXP (x1, 0, 12);
11123 423 : if (XWINT (x6, 0) != 14L)
11124 : return -1;
11125 423 : x7 = XVECEXP (x1, 0, 13);
11126 423 : if (XWINT (x7, 0) != 46L)
11127 : return -1;
11128 423 : x8 = XVECEXP (x1, 0, 14);
11129 423 : if (XWINT (x8, 0) != 15L)
11130 : return -1;
11131 423 : x9 = XVECEXP (x1, 0, 15);
11132 423 : if (XWINT (x9, 0) != 47L)
11133 0 : return -1;
11134 : return 0;
11135 : }
11136 :
11137 : int
11138 95287668 : recog_1 (rtx x1 ATTRIBUTE_UNUSED,
11139 : rtx_insn *insn ATTRIBUTE_UNUSED,
11140 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11141 : {
11142 95287668 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11143 95287668 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11144 95287668 : rtx x10, x11, x12, x13;
11145 95287668 : int res ATTRIBUTE_UNUSED;
11146 95287668 : x2 = XEXP (x1, 1);
11147 95287668 : x3 = XEXP (x2, 0);
11148 95287668 : x4 = XEXP (x3, 0);
11149 95287668 : if (GET_CODE (x4) != REG
11150 95287668 : || REGNO (x4) != 17)
11151 : return -1;
11152 83825141 : x5 = XEXP (x3, 1);
11153 83825141 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11154 : return -1;
11155 83825141 : x6 = XEXP (x2, 1);
11156 83825141 : switch (GET_CODE (x6))
11157 : {
11158 210 : case COMPARE:
11159 210 : if (GET_MODE (x6) != E_CCmode)
11160 : return -1;
11161 210 : x7 = XEXP (x6, 0);
11162 210 : if (GET_CODE (x7) != MINUS)
11163 : return -1;
11164 146 : x8 = XEXP (x6, 1);
11165 146 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11166 : return -1;
11167 146 : x9 = XEXP (x2, 2);
11168 146 : if (GET_CODE (x9) != UNSPEC
11169 146 : || XVECLEN (x9, 0) != 1
11170 146 : || XINT (x9, 1) != 108
11171 146 : || GET_MODE (x9) != E_CCmode)
11172 : return -1;
11173 146 : x10 = XEXP (x1, 0);
11174 146 : operands[0] = x10;
11175 146 : if (!flags_reg_operand (operands[0], E_CCmode)
11176 146 : || GET_MODE (x2) != E_CCmode
11177 146 : || !comparison_operator (operands[1], E_VOIDmode)
11178 292 : || GET_MODE (x4) != E_CCmode)
11179 : return -1;
11180 146 : x11 = XEXP (x7, 0);
11181 146 : operands[2] = x11;
11182 146 : x12 = XEXP (x7, 1);
11183 146 : operands[3] = x12;
11184 146 : x13 = XVECEXP (x9, 0, 0);
11185 146 : operands[4] = x13;
11186 146 : if (!const_0_to_15_operand (operands[4], E_SImode))
11187 : return -1;
11188 146 : switch (GET_MODE (x7))
11189 : {
11190 5 : case E_QImode:
11191 5 : if (!nonimmediate_operand (operands[2], E_QImode)
11192 5 : || !general_operand (operands[3], E_QImode)
11193 10 : || !insn_condition_0 (operands, insn))
11194 0 : return -1;
11195 : return 1; /* ccmpqi */
11196 :
11197 5 : case E_HImode:
11198 5 : if (!nonimmediate_operand (operands[2], E_HImode)
11199 5 : || !general_operand (operands[3], E_HImode)
11200 10 : || !insn_condition_0 (operands, insn))
11201 0 : return -1;
11202 : return 2; /* ccmphi */
11203 :
11204 131 : case E_SImode:
11205 131 : if (!nonimmediate_operand (operands[2], E_SImode)
11206 126 : || !x86_64_general_operand (operands[3], E_SImode)
11207 253 : || !insn_condition_0 (operands, insn))
11208 9 : return -1;
11209 : return 3; /* ccmpsi */
11210 :
11211 5 : case E_DImode:
11212 5 : if (!nonimmediate_operand (operands[2], E_DImode)
11213 5 : || !x86_64_general_operand (operands[3], E_DImode)
11214 10 : || !insn_condition_1 (operands, insn))
11215 0 : return -1;
11216 : return 4; /* ccmpdi */
11217 :
11218 : default:
11219 : return -1;
11220 : }
11221 :
11222 79459650 : case LABEL_REF:
11223 79459650 : x9 = XEXP (x2, 2);
11224 79459650 : if (GET_CODE (x9) != PC)
11225 : return -1;
11226 79459632 : x10 = XEXP (x1, 0);
11227 79459632 : if (GET_CODE (x10) != PC
11228 79459632 : || !ix86_comparison_operator (operands[1], E_VOIDmode))
11229 : return -1;
11230 79453577 : x7 = XEXP (x6, 0);
11231 79453577 : operands[0] = x7;
11232 79453577 : return 1588; /* *jcc */
11233 :
11234 3026619 : case REG:
11235 3026619 : case SUBREG:
11236 3026619 : case MEM:
11237 3026619 : operands[2] = x6;
11238 3026619 : x10 = XEXP (x1, 0);
11239 3026619 : operands[0] = x10;
11240 3026619 : x9 = XEXP (x2, 2);
11241 3026619 : operands[3] = x9;
11242 3026619 : switch (GET_MODE (operands[0]))
11243 : {
11244 22230 : case E_HImode:
11245 22230 : if (pattern1237 (x2,
11246 : E_HImode) != 0
11247 22230 : || !insn_condition_2 (operands, insn))
11248 6098 : return -1;
11249 : return 1940; /* *movhicc_noc */
11250 :
11251 988722 : case E_QImode:
11252 988722 : if (pattern1238 (x2) != 0
11253 988722 : || !insn_condition_3 (operands, insn))
11254 519769 : return -1;
11255 : return 1945; /* *movqicc_noc */
11256 :
11257 49224 : case E_XFmode:
11258 49224 : if (!register_operand (operands[0], E_XFmode)
11259 49197 : || GET_MODE (x2) != E_XFmode
11260 49197 : || !fcmov_comparison_operator (operands[1], E_VOIDmode)
11261 49019 : || !register_operand (operands[2], E_XFmode)
11262 44456 : || !register_operand (operands[3], E_XFmode)
11263 90187 : || !insn_condition_4 (operands, insn))
11264 8261 : return -1;
11265 : return 1947; /* *movxfcc_1 */
11266 :
11267 4192 : case E_DFmode:
11268 4192 : if (!register_operand (operands[0], E_DFmode)
11269 4025 : || pattern1297 (x2,
11270 : E_DFmode) != 0
11271 7982 : || !insn_condition_5 (operands, insn))
11272 405 : return -1;
11273 : return 1948; /* *movdfcc_1 */
11274 :
11275 1480 : case E_SFmode:
11276 1480 : if (!register_operand (operands[0], E_SFmode)
11277 1471 : || pattern1297 (x2,
11278 : E_SFmode) != 0
11279 2899 : || !insn_condition_5 (operands, insn))
11280 141 : return -1;
11281 : return 1949; /* *movsfcc_1_387 */
11282 :
11283 : default:
11284 : return -1;
11285 : }
11286 :
11287 : default:
11288 : return -1;
11289 : }
11290 : }
11291 :
11292 : int
11293 1004 : recog_9 (rtx x1 ATTRIBUTE_UNUSED,
11294 : rtx_insn *insn ATTRIBUTE_UNUSED,
11295 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11296 : {
11297 1004 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11298 1004 : rtx x2, x3, x4;
11299 1004 : int res ATTRIBUTE_UNUSED;
11300 1004 : x2 = XEXP (x1, 0);
11301 1004 : operands[0] = x2;
11302 1004 : x3 = XEXP (x1, 1);
11303 1004 : x4 = XVECEXP (x3, 0, 0);
11304 1004 : operands[1] = x4;
11305 1004 : switch (GET_MODE (operands[0]))
11306 : {
11307 250 : case E_HImode:
11308 250 : if (!register_operand (operands[0], E_HImode)
11309 250 : || GET_MODE (x3) != E_HImode)
11310 : return -1;
11311 244 : switch (GET_MODE (operands[1]))
11312 : {
11313 80 : case E_V16QImode:
11314 80 : if (!register_operand (operands[1], E_V16QImode)
11315 80 : || !insn_condition_77 (operands, insn))
11316 7 : return -1;
11317 : return 5358; /* avx512vl_cvtb2maskv16qi */
11318 :
11319 80 : case E_V16HImode:
11320 80 : if (!register_operand (operands[1], E_V16HImode)
11321 80 : || !insn_condition_77 (operands, insn))
11322 7 : return -1;
11323 : return 5361; /* avx512vl_cvtw2maskv16hi */
11324 :
11325 84 : case E_V16SImode:
11326 84 : if (!register_operand (operands[1], E_V16SImode)
11327 84 : || !insn_condition_78 (operands, insn))
11328 7 : return -1;
11329 : return 5363; /* avx512f_cvtd2maskv16si */
11330 :
11331 : default:
11332 : return -1;
11333 : }
11334 :
11335 492 : case E_QImode:
11336 492 : if (!register_operand (operands[0], E_QImode)
11337 492 : || GET_MODE (x3) != E_QImode)
11338 : return -1;
11339 477 : switch (GET_MODE (operands[1]))
11340 : {
11341 80 : case E_V8HImode:
11342 80 : if (!register_operand (operands[1], E_V8HImode)
11343 80 : || !insn_condition_77 (operands, insn))
11344 7 : return -1;
11345 : return 5362; /* avx512vl_cvtw2maskv8hi */
11346 :
11347 77 : case E_V8SImode:
11348 77 : if (!register_operand (operands[1], E_V8SImode)
11349 77 : || !insn_condition_79 (operands, insn))
11350 1 : return -1;
11351 : return 5364; /* avx512vl_cvtd2maskv8si */
11352 :
11353 77 : case E_V4SImode:
11354 77 : if (!register_operand (operands[1], E_V4SImode)
11355 77 : || !insn_condition_79 (operands, insn))
11356 1 : return -1;
11357 : return 5365; /* avx512vl_cvtd2maskv4si */
11358 :
11359 83 : case E_V8DImode:
11360 83 : if (!register_operand (operands[1], E_V8DImode)
11361 83 : || !insn_condition_78 (operands, insn))
11362 7 : return -1;
11363 : return 5366; /* avx512f_cvtq2maskv8di */
11364 :
11365 83 : case E_V4DImode:
11366 83 : if (!register_operand (operands[1], E_V4DImode)
11367 83 : || !insn_condition_79 (operands, insn))
11368 7 : return -1;
11369 : return 5367; /* avx512vl_cvtq2maskv4di */
11370 :
11371 77 : case E_V2DImode:
11372 77 : if (!register_operand (operands[1], E_V2DImode)
11373 77 : || !insn_condition_79 (operands, insn))
11374 2 : return -1;
11375 : return 5368; /* avx512vl_cvtq2maskv2di */
11376 :
11377 : default:
11378 : return -1;
11379 : }
11380 :
11381 : default:
11382 : return -1;
11383 : }
11384 : }
11385 :
11386 : int
11387 169968 : recog_11 (rtx x1 ATTRIBUTE_UNUSED,
11388 : rtx_insn *insn ATTRIBUTE_UNUSED,
11389 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11390 : {
11391 169968 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11392 169968 : rtx x2, x3, x4, x5;
11393 169968 : int res ATTRIBUTE_UNUSED;
11394 169968 : x2 = XEXP (x1, 0);
11395 169968 : if (GET_CODE (x2) != REG
11396 169968 : || REGNO (x2) != 17)
11397 : return -1;
11398 169951 : x3 = XEXP (x1, 1);
11399 169951 : x4 = XVECEXP (x3, 0, 0);
11400 169951 : switch (GET_CODE (x4))
11401 : {
11402 168334 : case REG:
11403 168334 : case SUBREG:
11404 168334 : operands[0] = x4;
11405 168334 : if (!register_operand (operands[0], E_TFmode)
11406 23 : || GET_MODE (x2) != E_CCmode
11407 168357 : || GET_MODE (x3) != E_CCmode)
11408 : return -1;
11409 23 : x5 = XVECEXP (x3, 0, 1);
11410 23 : operands[1] = x5;
11411 23 : if (!vector_operand (operands[1], E_TFmode)
11412 23 : || !insn_condition_92 (operands, insn))
11413 0 : return -1;
11414 : return 7620; /* ptesttf2 */
11415 :
11416 53 : case AND:
11417 53 : switch (pattern631 (x1))
11418 : {
11419 0 : case 0:
11420 0 : if (!insn_condition_93 (operands, insn))
11421 0 : return -1;
11422 : return 7621; /* *ptestv16qi_and */
11423 :
11424 0 : case 1:
11425 0 : if (!insn_condition_93 (operands, insn))
11426 0 : return -1;
11427 : return 7622; /* *ptestv8hi_and */
11428 :
11429 0 : case 2:
11430 0 : if (!insn_condition_93 (operands, insn))
11431 0 : return -1;
11432 : return 7623; /* *ptestv4si_and */
11433 :
11434 12 : case 3:
11435 12 : if (!insn_condition_93 (operands, insn))
11436 0 : return -1;
11437 : return 7624; /* *ptestv2di_and */
11438 :
11439 1 : case 4:
11440 1 : if (!insn_condition_93 (operands, insn))
11441 0 : return -1;
11442 : return 7625; /* *ptestv1ti_and */
11443 :
11444 0 : case 5:
11445 0 : if (!insn_condition_93 (operands, insn))
11446 0 : return -1;
11447 : return 7626; /* *ptestv4sf_and */
11448 :
11449 0 : case 6:
11450 0 : if (!insn_condition_93 (operands, insn))
11451 0 : return -1;
11452 : return 7627; /* *ptestv2df_and */
11453 :
11454 0 : case 7:
11455 0 : if (!insn_condition_94 (operands, insn))
11456 0 : return -1;
11457 : return 7628; /* *ptestv32qi_and */
11458 :
11459 0 : case 8:
11460 0 : if (!insn_condition_94 (operands, insn))
11461 0 : return -1;
11462 : return 7629; /* *ptestv16hi_and */
11463 :
11464 0 : case 9:
11465 0 : if (!insn_condition_94 (operands, insn))
11466 0 : return -1;
11467 : return 7630; /* *ptestv8si_and */
11468 :
11469 10 : case 10:
11470 10 : if (!insn_condition_94 (operands, insn))
11471 0 : return -1;
11472 : return 7631; /* *ptestv4di_and */
11473 :
11474 0 : case 11:
11475 0 : if (!insn_condition_94 (operands, insn))
11476 0 : return -1;
11477 : return 7632; /* *ptestv2ti_and */
11478 :
11479 0 : case 12:
11480 0 : if (!insn_condition_94 (operands, insn))
11481 0 : return -1;
11482 : return 7633; /* *ptestv8sf_and */
11483 :
11484 0 : case 13:
11485 0 : if (!insn_condition_94 (operands, insn))
11486 0 : return -1;
11487 : return 7634; /* *ptestv4df_and */
11488 :
11489 : default:
11490 : return -1;
11491 : }
11492 :
11493 654 : case EQ:
11494 654 : switch (pattern633 (x1))
11495 : {
11496 2 : case 0:
11497 2 : if (!insn_condition_94 (operands, insn))
11498 0 : return -1;
11499 : return 7635; /* *ptestv32qi_ccz */
11500 :
11501 0 : case 1:
11502 0 : if (!insn_condition_93 (operands, insn))
11503 0 : return -1;
11504 : return 7636; /* *ptestv16qi_ccz */
11505 :
11506 0 : case 2:
11507 0 : if (!insn_condition_94 (operands, insn))
11508 0 : return -1;
11509 : return 7637; /* *ptestv16hi_ccz */
11510 :
11511 0 : case 3:
11512 0 : if (!insn_condition_93 (operands, insn))
11513 0 : return -1;
11514 : return 7638; /* *ptestv8hi_ccz */
11515 :
11516 1 : case 4:
11517 1 : if (!insn_condition_94 (operands, insn))
11518 0 : return -1;
11519 : return 7639; /* *ptestv8si_ccz */
11520 :
11521 4 : case 5:
11522 4 : if (!insn_condition_93 (operands, insn))
11523 0 : return -1;
11524 : return 7640; /* *ptestv4si_ccz */
11525 :
11526 3 : case 6:
11527 3 : if (!insn_condition_94 (operands, insn))
11528 0 : return -1;
11529 : return 7641; /* *ptestv4di_ccz */
11530 :
11531 0 : case 7:
11532 0 : if (!insn_condition_93 (operands, insn))
11533 0 : return -1;
11534 : return 7642; /* *ptestv2di_ccz */
11535 :
11536 : default:
11537 : return -1;
11538 : }
11539 :
11540 : default:
11541 : return -1;
11542 : }
11543 : }
11544 :
11545 : int
11546 4569712 : recog_15 (rtx x1 ATTRIBUTE_UNUSED,
11547 : rtx_insn *insn ATTRIBUTE_UNUSED,
11548 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11549 : {
11550 4569712 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11551 4569712 : rtx x2, x3, x4, x5, x6, x7;
11552 4569712 : int res ATTRIBUTE_UNUSED;
11553 4569712 : x2 = XEXP (x1, 1);
11554 4569712 : switch (XINT (x2, 1))
11555 : {
11556 2996 : case 22:
11557 2996 : return recog_8 (x1, insn, pnum_clobbers);
11558 :
11559 773 : case 23:
11560 773 : if (pattern78 (x1,
11561 : E_HImode) != 0
11562 773 : || !insn_condition_136 (operands, insn))
11563 148 : return -1;
11564 : return 51; /* x86_sahf_1 */
11565 :
11566 3300030 : case 24:
11567 3300030 : return recog_7 (x1, insn, pnum_clobbers);
11568 :
11569 0 : case 41:
11570 0 : if (GET_MODE (x2) != E_CCFPmode)
11571 : return -1;
11572 0 : x3 = XVECEXP (x2, 0, 0);
11573 0 : if (GET_CODE (x3) != COMPARE
11574 0 : || GET_MODE (x3) != E_CCFPmode)
11575 : return -1;
11576 0 : x4 = XEXP (x1, 0);
11577 0 : if (GET_CODE (x4) != REG
11578 0 : || REGNO (x4) != 17
11579 0 : || GET_MODE (x4) != E_CCFPmode)
11580 : return -1;
11581 0 : x5 = XEXP (x3, 0);
11582 0 : operands[0] = x5;
11583 0 : x6 = XEXP (x3, 1);
11584 0 : operands[1] = x6;
11585 0 : switch (GET_MODE (operands[0]))
11586 : {
11587 0 : case E_SFmode:
11588 0 : if (!register_operand (operands[0], E_SFmode)
11589 0 : || !nonimmediate_operand (operands[1], E_SFmode)
11590 0 : || !insn_condition_41 (operands, insn))
11591 0 : return -1;
11592 : return 54; /* *cmpxsf */
11593 :
11594 0 : case E_DFmode:
11595 0 : if (!register_operand (operands[0], E_DFmode)
11596 0 : || !nonimmediate_operand (operands[1], E_DFmode)
11597 0 : || !insn_condition_41 (operands, insn))
11598 0 : return -1;
11599 : return 56; /* *cmpxdf */
11600 :
11601 0 : case E_HFmode:
11602 0 : if (!register_operand (operands[0], E_HFmode)
11603 0 : || !nonimmediate_operand (operands[1], E_HFmode)
11604 0 : || !insn_condition_41 (operands, insn))
11605 0 : return -1;
11606 : return 58; /* *cmpxhf */
11607 :
11608 : default:
11609 : return -1;
11610 : }
11611 :
11612 35 : case 38:
11613 35 : if (pattern80 (x1,
11614 : E_CCCmode) != 0)
11615 0 : return -1;
11616 : return 67; /* x86_stc */
11617 :
11618 60 : case 39:
11619 60 : x4 = XEXP (x1, 0);
11620 60 : operands[0] = x4;
11621 60 : x3 = XVECEXP (x2, 0, 0);
11622 60 : operands[1] = x3;
11623 60 : if (!flags_reg_operand (operands[1], E_VOIDmode))
11624 : return -1;
11625 59 : switch (GET_MODE (operands[0]))
11626 : {
11627 0 : case E_SImode:
11628 0 : if (!push_operand (operands[0], E_SImode)
11629 0 : || GET_MODE (x2) != E_SImode
11630 0 : || !insn_condition_137 (operands, insn))
11631 0 : return -1;
11632 : return 84; /* pushflsi2 */
11633 :
11634 59 : case E_DImode:
11635 59 : if (!push_operand (operands[0], E_DImode)
11636 59 : || GET_MODE (x2) != E_DImode
11637 59 : || !insn_condition_138 (operands, insn))
11638 0 : return -1;
11639 : return 85; /* pushfldi2 */
11640 :
11641 : default:
11642 : return -1;
11643 : }
11644 :
11645 61 : case 40:
11646 61 : if (GET_MODE (x2) != E_CCmode)
11647 : return -1;
11648 61 : x4 = XEXP (x1, 0);
11649 61 : operands[0] = x4;
11650 61 : if (!flags_reg_operand (operands[0], E_CCmode))
11651 : return -1;
11652 61 : x3 = XVECEXP (x2, 0, 0);
11653 61 : operands[1] = x3;
11654 61 : switch (GET_MODE (operands[1]))
11655 : {
11656 0 : case E_SImode:
11657 0 : if (!pop_operand (operands[1], E_SImode)
11658 0 : || !insn_condition_139 (operands, insn))
11659 0 : return -1;
11660 : return 86; /* popflsi1 */
11661 :
11662 61 : case E_DImode:
11663 61 : if (!pop_operand (operands[1], E_DImode)
11664 61 : || !insn_condition_140 (operands, insn))
11665 0 : return -1;
11666 : return 87; /* popfldi1 */
11667 :
11668 : default:
11669 : return -1;
11670 : }
11671 :
11672 36713 : case 57:
11673 36713 : if (GET_MODE (x2) != E_SFmode)
11674 : return -1;
11675 36713 : x4 = XEXP (x1, 0);
11676 36713 : operands[0] = x4;
11677 36713 : if (!register_operand (operands[0], E_SFmode))
11678 : return -1;
11679 36710 : x3 = XVECEXP (x2, 0, 0);
11680 36710 : operands[1] = x3;
11681 36710 : if (!register_operand (operands[1], E_BFmode)
11682 36710 : || !insn_condition_141 (operands, insn))
11683 6047 : return -1;
11684 : return 208; /* extendbfsf2_1 */
11685 :
11686 8427 : case 26:
11687 8427 : if (GET_MODE (x2) != E_HImode)
11688 : return -1;
11689 8427 : x3 = XVECEXP (x2, 0, 0);
11690 8427 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11691 : return -1;
11692 8427 : x4 = XEXP (x1, 0);
11693 8427 : operands[0] = x4;
11694 8427 : if (!memory_operand (operands[0], E_HImode)
11695 8427 : || !insn_condition_74 (operands, insn))
11696 0 : return -1;
11697 : return 243; /* x86_fnstcw_1 */
11698 :
11699 141 : case 96:
11700 141 : if (GET_MODE (x2) != E_HImode)
11701 : return -1;
11702 48 : x4 = XEXP (x1, 0);
11703 48 : operands[0] = x4;
11704 48 : if (!register_operand (operands[0], E_HImode))
11705 : return -1;
11706 48 : x3 = XVECEXP (x2, 0, 0);
11707 48 : operands[1] = x3;
11708 48 : if (!nonimmediate_operand (operands[1], E_HImode))
11709 : return -1;
11710 46 : if (insn_condition_142 (operands, insn))
11711 : return 1700; /* tzcnt_hi_nf */
11712 46 : if (pnum_clobbers == NULL
11713 46 : || !insn_condition_143 (operands, insn))
11714 : return -1;
11715 46 : *pnum_clobbers = 1;
11716 46 : return 1701; /* tzcnt_hi */
11717 :
11718 108 : case 95:
11719 108 : if (GET_MODE (x2) != E_HImode)
11720 : return -1;
11721 26 : x4 = XEXP (x1, 0);
11722 26 : operands[0] = x4;
11723 26 : if (!register_operand (operands[0], E_HImode))
11724 : return -1;
11725 26 : x3 = XVECEXP (x2, 0, 0);
11726 26 : operands[1] = x3;
11727 26 : if (!nonimmediate_operand (operands[1], E_HImode))
11728 : return -1;
11729 25 : if (insn_condition_144 (operands, insn))
11730 : return 1702; /* lzcnt_hi_nf */
11731 25 : if (pnum_clobbers == NULL
11732 25 : || !insn_condition_145 (operands, insn))
11733 : return -1;
11734 25 : *pnum_clobbers = 1;
11735 25 : return 1703; /* lzcnt_hi */
11736 :
11737 1822 : case 25:
11738 1822 : if (pattern78 (x1,
11739 : E_QImode) != 0)
11740 1778 : return -1;
11741 : return 1787; /* parityqi2_cmp */
11742 :
11743 1494 : case 51:
11744 1494 : switch (pattern81 (x1))
11745 : {
11746 39 : case 0:
11747 39 : if (!insn_condition_146 (operands, insn))
11748 0 : return -1;
11749 : return 1819; /* *rcpsf2_sse */
11750 :
11751 178 : case 1:
11752 178 : if (!insn_condition_40 (operands, insn))
11753 0 : return -1;
11754 : return 1820; /* rcphf2 */
11755 :
11756 : default:
11757 : return -1;
11758 : }
11759 :
11760 1761 : case 28:
11761 1761 : x4 = XEXP (x1, 0);
11762 1761 : operands[0] = x4;
11763 1761 : x3 = XVECEXP (x2, 0, 0);
11764 1761 : operands[1] = x3;
11765 1761 : if (!register_operand (operands[1], E_XFmode))
11766 : return -1;
11767 1301 : switch (GET_MODE (operands[0]))
11768 : {
11769 475 : case E_SFmode:
11770 475 : if (!nonimmediate_operand (operands[0], E_SFmode)
11771 475 : || GET_MODE (x2) != E_SFmode
11772 950 : || !insn_condition_147 (operands, insn))
11773 0 : return -1;
11774 : return 1845; /* truncxfsf2_i387_noop_unspec */
11775 :
11776 826 : case E_DFmode:
11777 826 : if (!nonimmediate_operand (operands[0], E_DFmode)
11778 826 : || GET_MODE (x2) != E_DFmode
11779 1652 : || !insn_condition_147 (operands, insn))
11780 0 : return -1;
11781 : return 1846; /* truncxfdf2_i387_noop_unspec */
11782 :
11783 : default:
11784 : return -1;
11785 : }
11786 :
11787 1597 : case 52:
11788 1597 : switch (pattern81 (x1))
11789 : {
11790 154 : case 0:
11791 154 : if (!insn_condition_148 (operands, insn))
11792 0 : return -1;
11793 : return 1848; /* *rsqrtsf2_sse */
11794 :
11795 178 : case 1:
11796 178 : if (!insn_condition_40 (operands, insn))
11797 0 : return -1;
11798 : return 1849; /* rsqrthf2 */
11799 :
11800 : default:
11801 : return -1;
11802 : }
11803 :
11804 21 : case 61:
11805 21 : if (GET_MODE (x2) != E_XFmode)
11806 : return -1;
11807 21 : x4 = XEXP (x1, 0);
11808 21 : operands[0] = x4;
11809 21 : if (!register_operand (operands[0], E_XFmode))
11810 : return -1;
11811 21 : x3 = XVECEXP (x2, 0, 0);
11812 21 : operands[1] = x3;
11813 21 : if (!register_operand (operands[1], E_XFmode)
11814 21 : || !insn_condition_109 (operands, insn))
11815 9 : return -1;
11816 : return 1856; /* sinxf2 */
11817 :
11818 21 : case 62:
11819 21 : if (GET_MODE (x2) != E_XFmode)
11820 : return -1;
11821 21 : x4 = XEXP (x1, 0);
11822 21 : operands[0] = x4;
11823 21 : if (!register_operand (operands[0], E_XFmode))
11824 : return -1;
11825 21 : x3 = XVECEXP (x2, 0, 0);
11826 21 : operands[1] = x3;
11827 21 : if (!register_operand (operands[1], E_XFmode)
11828 21 : || !insn_condition_109 (operands, insn))
11829 9 : return -1;
11830 : return 1857; /* cosxf2 */
11831 :
11832 187 : case 68:
11833 187 : if (GET_MODE (x2) != E_XFmode)
11834 : return -1;
11835 187 : x4 = XEXP (x1, 0);
11836 187 : operands[0] = x4;
11837 187 : if (!register_operand (operands[0], E_XFmode))
11838 : return -1;
11839 187 : x3 = XVECEXP (x2, 0, 0);
11840 187 : operands[1] = x3;
11841 187 : if (!register_operand (operands[1], E_XFmode)
11842 187 : || !insn_condition_109 (operands, insn))
11843 81 : return -1;
11844 : return 1864; /* *f2xm1xf2_i387 */
11845 :
11846 814 : case 66:
11847 814 : if (GET_MODE (x2) != E_XFmode)
11848 : return -1;
11849 814 : x4 = XEXP (x1, 0);
11850 814 : operands[0] = x4;
11851 814 : if (!register_operand (operands[0], E_XFmode))
11852 : return -1;
11853 808 : x3 = XVECEXP (x2, 0, 0);
11854 808 : operands[1] = x3;
11855 808 : if (!register_operand (operands[1], E_XFmode)
11856 808 : || !insn_condition_147 (operands, insn))
11857 274 : return -1;
11858 : return 1871; /* rintxf2 */
11859 :
11860 210 : case 67:
11861 210 : if (GET_MODE (x2) != E_HImode)
11862 : return -1;
11863 0 : x4 = XEXP (x1, 0);
11864 0 : operands[0] = x4;
11865 0 : if (!nonimmediate_operand (operands[0], E_HImode))
11866 : return -1;
11867 0 : x3 = XVECEXP (x2, 0, 0);
11868 0 : operands[1] = x3;
11869 0 : if (!register_operand (operands[1], E_XFmode)
11870 0 : || !insn_condition_147 (operands, insn))
11871 0 : return -1;
11872 : return 1873; /* lrintxfhi2 */
11873 :
11874 0 : case 71:
11875 0 : if (pattern82 (x1, pnum_clobbers,
11876 : E_XFmode) != 0
11877 0 : || !insn_condition_149 (operands, insn))
11878 : return -1;
11879 0 : *pnum_clobbers = 1;
11880 0 : return 1875; /* frndintxf2_roundeven */
11881 :
11882 207 : case 72:
11883 207 : if (pattern82 (x1, pnum_clobbers,
11884 : E_XFmode) != 0
11885 207 : || !insn_condition_149 (operands, insn))
11886 : return -1;
11887 40 : *pnum_clobbers = 1;
11888 40 : return 1876; /* frndintxf2_floor */
11889 :
11890 77 : case 73:
11891 77 : if (pattern82 (x1, pnum_clobbers,
11892 : E_XFmode) != 0
11893 77 : || !insn_condition_149 (operands, insn))
11894 : return -1;
11895 13 : *pnum_clobbers = 1;
11896 13 : return 1877; /* frndintxf2_ceil */
11897 :
11898 154 : case 74:
11899 154 : if (pattern82 (x1, pnum_clobbers,
11900 : E_XFmode) != 0
11901 154 : || !insn_condition_149 (operands, insn))
11902 : return -1;
11903 34 : *pnum_clobbers = 1;
11904 34 : return 1878; /* frndintxf2_trunc */
11905 :
11906 180 : case 75:
11907 180 : if (pattern83 (x1, pnum_clobbers) != 0
11908 180 : || !insn_condition_150 (operands, insn))
11909 : return -1;
11910 0 : *pnum_clobbers = 1;
11911 0 : return 1883; /* *fisthi2_floor_1 */
11912 :
11913 70 : case 76:
11914 70 : if (pattern83 (x1, pnum_clobbers) != 0
11915 70 : || !insn_condition_150 (operands, insn))
11916 : return -1;
11917 0 : *pnum_clobbers = 1;
11918 0 : return 1884; /* *fisthi2_ceil_1 */
11919 :
11920 87138 : case 70:
11921 87138 : if (GET_MODE (x2) != E_HImode)
11922 : return -1;
11923 87138 : x4 = XEXP (x1, 0);
11924 87138 : operands[0] = x4;
11925 87138 : if (!register_operand (operands[0], E_HImode))
11926 : return -1;
11927 87135 : x3 = XVECEXP (x2, 0, 0);
11928 87135 : operands[1] = x3;
11929 87135 : switch (GET_MODE (operands[1]))
11930 : {
11931 819 : case E_SFmode:
11932 819 : if (!register_operand (operands[1], E_SFmode)
11933 819 : || !insn_condition_147 (operands, insn))
11934 100 : return -1;
11935 : return 1895; /* fxamsf2_i387 */
11936 :
11937 761 : case E_DFmode:
11938 761 : if (!register_operand (operands[1], E_DFmode)
11939 761 : || !insn_condition_147 (operands, insn))
11940 32 : return -1;
11941 : return 1896; /* fxamdf2_i387 */
11942 :
11943 85555 : case E_XFmode:
11944 85555 : if (!register_operand (operands[1], E_XFmode)
11945 85555 : || !insn_condition_147 (operands, insn))
11946 10177 : return -1;
11947 : return 1897; /* fxamxf2_i387 */
11948 :
11949 : default:
11950 : return -1;
11951 : }
11952 :
11953 0 : case 17:
11954 0 : if (pnum_clobbers == NULL
11955 0 : || GET_MODE (x2) != E_QImode)
11956 : return -1;
11957 0 : x4 = XEXP (x1, 0);
11958 0 : operands[0] = x4;
11959 0 : if (!memory_operand (operands[0], E_QImode))
11960 : return -1;
11961 0 : x3 = XVECEXP (x2, 0, 0);
11962 0 : operands[1] = x3;
11963 0 : if (!const0_operand (operands[1], E_QImode))
11964 : return -1;
11965 0 : *pnum_clobbers = 1;
11966 0 : return 2018; /* probe_stack_1 */
11967 :
11968 78 : case 111:
11969 78 : if (GET_MODE (x2) != E_V2SFmode)
11970 : return -1;
11971 78 : x4 = XEXP (x1, 0);
11972 78 : operands[0] = x4;
11973 78 : if (!register_operand (operands[0], E_V2SFmode))
11974 : return -1;
11975 71 : x3 = XVECEXP (x2, 0, 0);
11976 71 : operands[1] = x3;
11977 71 : if (!nonimmediate_operand (operands[1], E_V2SFmode)
11978 71 : || !insn_condition_113 (operands, insn))
11979 0 : return -1;
11980 : return 2219; /* mmx_rcpv2sf2 */
11981 :
11982 78 : case 114:
11983 78 : if (GET_MODE (x2) != E_V2SFmode)
11984 : return -1;
11985 78 : x4 = XEXP (x1, 0);
11986 78 : operands[0] = x4;
11987 78 : if (!register_operand (operands[0], E_V2SFmode))
11988 : return -1;
11989 71 : x3 = XVECEXP (x2, 0, 0);
11990 71 : operands[1] = x3;
11991 71 : if (!nonimmediate_operand (operands[1], E_V2SFmode)
11992 71 : || !insn_condition_113 (operands, insn))
11993 0 : return -1;
11994 : return 2222; /* mmx_rsqrtv2sf2 */
11995 :
11996 2044 : case 171:
11997 2044 : if (GET_MODE (x2) != E_V2SImode)
11998 : return -1;
11999 210 : x4 = XEXP (x1, 0);
12000 210 : operands[0] = x4;
12001 210 : if (!register_operand (operands[0], E_V2SImode))
12002 : return -1;
12003 209 : x3 = XVECEXP (x2, 0, 0);
12004 209 : operands[1] = x3;
12005 209 : switch (GET_MODE (operands[1]))
12006 : {
12007 137 : case E_V4SFmode:
12008 137 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
12009 137 : || !insn_condition_151 (operands, insn))
12010 0 : return -1;
12011 : return 4949; /* unspec_sse_cvttps2pi */
12012 :
12013 72 : case E_V2DFmode:
12014 72 : if (!vector_operand (operands[1], E_V2DFmode)
12015 72 : || !insn_condition_141 (operands, insn))
12016 2 : return -1;
12017 : return 5066; /* unspec_sse2_cvttpd2pi */
12018 :
12019 : default:
12020 : return -1;
12021 : }
12022 :
12023 3638 : case 43:
12024 3638 : if (GET_MODE (x2) != E_V2SImode)
12025 : return -1;
12026 84 : x4 = XEXP (x1, 0);
12027 84 : operands[0] = x4;
12028 84 : if (!register_operand (operands[0], E_V2SImode))
12029 : return -1;
12030 82 : x3 = XVECEXP (x2, 0, 0);
12031 82 : operands[1] = x3;
12032 82 : if (!vector_operand (operands[1], E_V2DFmode)
12033 82 : || !insn_condition_141 (operands, insn))
12034 3 : return -1;
12035 : return 5065; /* sse2_cvtpd2pi */
12036 :
12037 1140 : case 172:
12038 1140 : if (GET_MODE (x2) != E_V2SImode)
12039 : return -1;
12040 4 : x4 = XEXP (x1, 0);
12041 4 : operands[0] = x4;
12042 4 : if (!register_operand (operands[0], E_V2SImode))
12043 : return -1;
12044 4 : x3 = XVECEXP (x2, 0, 0);
12045 4 : operands[1] = x3;
12046 4 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
12047 4 : || !insn_condition_152 (operands, insn))
12048 1 : return -1;
12049 : return 5068; /* unspec_fixuns_truncv2dfv2si2 */
12050 :
12051 1004 : case 190:
12052 1004 : return recog_9 (x1, insn, pnum_clobbers);
12053 :
12054 1364 : case 116:
12055 1364 : x4 = XEXP (x1, 0);
12056 1364 : operands[0] = x4;
12057 1364 : x3 = XVECEXP (x2, 0, 0);
12058 1364 : switch (GET_CODE (x3))
12059 : {
12060 1109 : case REG:
12061 1109 : case SUBREG:
12062 1109 : operands[1] = x3;
12063 1109 : switch (GET_MODE (operands[0]))
12064 : {
12065 0 : case E_SFmode:
12066 0 : if (!memory_operand (operands[0], E_SFmode)
12067 0 : || GET_MODE (x2) != E_SFmode
12068 0 : || !register_operand (operands[1], E_SFmode)
12069 0 : || !insn_condition_153 (operands, insn))
12070 0 : return -1;
12071 : return 7337; /* sse4a_movntsf */
12072 :
12073 0 : case E_DFmode:
12074 0 : if (!memory_operand (operands[0], E_DFmode)
12075 0 : || GET_MODE (x2) != E_DFmode
12076 0 : || !register_operand (operands[1], E_DFmode)
12077 0 : || !insn_condition_153 (operands, insn))
12078 0 : return -1;
12079 : return 7338; /* sse4a_movntdf */
12080 :
12081 : default:
12082 : return -1;
12083 : }
12084 :
12085 114 : case VEC_SELECT:
12086 114 : x6 = XEXP (x3, 1);
12087 114 : if (GET_CODE (x6) != PARALLEL
12088 114 : || XVECLEN (x6, 0) != 1)
12089 : return -1;
12090 114 : x7 = XVECEXP (x6, 0, 0);
12091 114 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
12092 : return -1;
12093 114 : x5 = XEXP (x3, 0);
12094 114 : operands[1] = x5;
12095 114 : switch (GET_MODE (operands[0]))
12096 : {
12097 57 : case E_SFmode:
12098 57 : if (pattern1111 (x2,
12099 : E_V4SFmode,
12100 : E_SFmode) != 0
12101 57 : || !insn_condition_153 (operands, insn))
12102 6 : return -1;
12103 : return 7339; /* sse4a_vmmovntv4sf */
12104 :
12105 57 : case E_DFmode:
12106 57 : if (pattern1111 (x2,
12107 : E_V2DFmode,
12108 : E_DFmode) != 0
12109 57 : || !insn_condition_154 (operands, insn))
12110 6 : return -1;
12111 : return 7340; /* sse4a_vmmovntv2df */
12112 :
12113 : default:
12114 : return -1;
12115 : }
12116 :
12117 : default:
12118 : return -1;
12119 : }
12120 :
12121 196 : case 135:
12122 196 : x4 = XEXP (x1, 0);
12123 196 : operands[0] = x4;
12124 196 : x3 = XVECEXP (x2, 0, 0);
12125 196 : operands[1] = x3;
12126 196 : switch (GET_MODE (operands[0]))
12127 : {
12128 0 : case E_SFmode:
12129 0 : if (!register_operand (operands[0], E_SFmode)
12130 0 : || GET_MODE (x2) != E_SFmode
12131 0 : || !nonimmediate_operand (operands[1], E_SFmode)
12132 0 : || !insn_condition_24 (operands, insn))
12133 0 : return -1;
12134 : return 7729; /* xop_frczsf2 */
12135 :
12136 0 : case E_DFmode:
12137 0 : if (!register_operand (operands[0], E_DFmode)
12138 0 : || GET_MODE (x2) != E_DFmode
12139 0 : || !nonimmediate_operand (operands[1], E_DFmode)
12140 0 : || !insn_condition_24 (operands, insn))
12141 0 : return -1;
12142 : return 7730; /* xop_frczdf2 */
12143 :
12144 : default:
12145 : return -1;
12146 : }
12147 :
12148 47 : case 302:
12149 47 : x4 = XEXP (x1, 0);
12150 47 : operands[0] = x4;
12151 47 : x3 = XVECEXP (x2, 0, 0);
12152 47 : operands[1] = x3;
12153 47 : switch (GET_MODE (operands[0]))
12154 : {
12155 0 : case E_V8QImode:
12156 0 : if (!memory_operand (operands[0], E_V8QImode)
12157 0 : || GET_MODE (x2) != E_V8QImode
12158 0 : || !register_operand (operands[1], E_V8SImode)
12159 0 : || !insn_condition_155 (operands, insn))
12160 0 : return -1;
12161 : return 9803; /* *avx10v2aux_sym_truncatev8siv8qi2_store_1 */
12162 :
12163 0 : case E_V4QImode:
12164 0 : if (!memory_operand (operands[0], E_V4QImode)
12165 0 : || GET_MODE (x2) != E_V4QImode
12166 0 : || !register_operand (operands[1], E_V4SImode)
12167 0 : || !insn_condition_156 (operands, insn))
12168 0 : return -1;
12169 : return 9804; /* *avx10v2aux_sym_truncatev4siv4qi2_store_1 */
12170 :
12171 : default:
12172 : return -1;
12173 : }
12174 :
12175 0 : case 312:
12176 0 : if (GET_MODE (x2) != E_DFmode)
12177 : return -1;
12178 0 : x4 = XEXP (x1, 0);
12179 0 : operands[0] = x4;
12180 0 : if (!register_operand (operands[0], E_DFmode))
12181 : return -1;
12182 0 : x3 = XVECEXP (x2, 0, 0);
12183 0 : operands[1] = x3;
12184 0 : if (!memory_operand (operands[1], E_DImode)
12185 0 : || !insn_condition_74 (operands, insn))
12186 0 : return -1;
12187 : return 9844; /* loaddi_via_fpu */
12188 :
12189 1210 : case 314:
12190 1210 : x4 = XEXP (x1, 0);
12191 1210 : operands[0] = x4;
12192 1210 : x3 = XVECEXP (x2, 0, 0);
12193 1210 : operands[1] = x3;
12194 1210 : switch (GET_MODE (operands[0]))
12195 : {
12196 1016 : case E_DFmode:
12197 1016 : if (!register_operand (operands[0], E_DFmode)
12198 1016 : || GET_MODE (x2) != E_DFmode
12199 1016 : || !memory_operand (operands[1], E_DImode)
12200 2032 : || !insn_condition_148 (operands, insn))
12201 0 : return -1;
12202 : return 9846; /* loaddi_via_sse */
12203 :
12204 194 : case E_TImode:
12205 194 : if (!register_operand (operands[0], E_TImode)
12206 194 : || GET_MODE (x2) != E_TImode
12207 194 : || !memory_operand (operands[1], E_TImode)
12208 388 : || !insn_condition_157 (operands, insn))
12209 0 : return -1;
12210 : return 9848; /* atomic_loadti_sse */
12211 :
12212 : default:
12213 : return -1;
12214 : }
12215 :
12216 171 : case 315:
12217 171 : if (GET_MODE (x2) != E_TImode)
12218 : return -1;
12219 149 : x4 = XEXP (x1, 0);
12220 149 : operands[0] = x4;
12221 149 : if (!memory_operand (operands[0], E_TImode))
12222 : return -1;
12223 149 : x3 = XVECEXP (x2, 0, 0);
12224 149 : operands[1] = x3;
12225 149 : if (!nonimmediate_operand (operands[1], E_V1TImode)
12226 149 : || !insn_condition_157 (operands, insn))
12227 30 : return -1;
12228 : return 9849; /* atomic_storeti_sse */
12229 :
12230 : default:
12231 : return -1;
12232 : }
12233 : }
12234 :
12235 : int
12236 825676 : recog_26 (rtx x1 ATTRIBUTE_UNUSED,
12237 : rtx_insn *insn ATTRIBUTE_UNUSED,
12238 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12239 : {
12240 825676 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12241 825676 : rtx x2, x3, x4, x5, x6, x7;
12242 825676 : int res ATTRIBUTE_UNUSED;
12243 825676 : x2 = XEXP (x1, 1);
12244 825676 : x3 = XEXP (x2, 0);
12245 825676 : switch (GET_CODE (x3))
12246 : {
12247 472174 : case REG:
12248 472174 : case SUBREG:
12249 472174 : case MEM:
12250 472174 : switch (pattern38 (x1, pnum_clobbers))
12251 : {
12252 464640 : case 0:
12253 464640 : if (pnum_clobbers != NULL
12254 454222 : && pattern323 (x1,
12255 : E_TImode) == 0
12256 464660 : && insn_condition_201 (operands, insn))
12257 : {
12258 0 : *pnum_clobbers = 1;
12259 0 : return 1209; /* *ashrti3_doubleword_mask */
12260 : }
12261 464640 : x4 = XEXP (x2, 1);
12262 464640 : operands[2] = x4;
12263 464640 : switch (pattern459 (x1, pnum_clobbers))
12264 : {
12265 464620 : case 0:
12266 464620 : switch (GET_MODE (operands[0]))
12267 : {
12268 4829 : case E_TImode:
12269 4829 : if (pnum_clobbers == NULL
12270 4829 : || pattern896 (x2,
12271 : E_TImode,
12272 : E_QImode) != 0
12273 9169 : || !insn_condition_52 (operands, insn))
12274 : return -1;
12275 4340 : *pnum_clobbers = 1;
12276 4340 : return 1217; /* ashrti3_doubleword */
12277 :
12278 11452 : case E_QImode:
12279 11452 : if (pattern659 (x2,
12280 : E_QImode) != 0)
12281 : return -1;
12282 8962 : if (insn_condition_207 (operands, insn))
12283 : return 1340; /* *ashrqi3_1_nf */
12284 8962 : if (pnum_clobbers == NULL
12285 8962 : || !insn_condition_208 (operands, insn))
12286 : return -1;
12287 5904 : *pnum_clobbers = 1;
12288 5904 : return 1341; /* *ashrqi3_1 */
12289 :
12290 8456 : case E_HImode:
12291 8456 : if (pattern659 (x2,
12292 : E_HImode) != 0)
12293 : return -1;
12294 7775 : if (insn_condition_209 (operands, insn))
12295 : return 1342; /* *ashrhi3_1_nf */
12296 7775 : if (pnum_clobbers == NULL
12297 7775 : || !insn_condition_210 (operands, insn))
12298 : return -1;
12299 6618 : *pnum_clobbers = 1;
12300 6618 : return 1343; /* *ashrhi3_1 */
12301 :
12302 2103 : case E_V4HImode:
12303 2103 : if (pattern896 (x2,
12304 : E_V4HImode,
12305 : E_DImode) != 0
12306 2103 : || !insn_condition_114 (operands, insn))
12307 82 : return -1;
12308 : return 2358; /* mmx_ashrv4hi3 */
12309 :
12310 4055 : case E_V2SImode:
12311 4055 : if (pattern896 (x2,
12312 : E_V2SImode,
12313 : E_DImode) != 0
12314 4055 : || !insn_condition_114 (operands, insn))
12315 326 : return -1;
12316 : return 2359; /* mmx_ashrv2si3 */
12317 :
12318 322 : case E_V2HImode:
12319 322 : if (pattern896 (x2,
12320 : E_V2HImode,
12321 : E_DImode) != 0
12322 322 : || !insn_condition_141 (operands, insn))
12323 37 : return -1;
12324 : return 2372; /* ashrv2hi3 */
12325 :
12326 192 : case E_V2QImode:
12327 192 : if (pnum_clobbers == NULL
12328 192 : || pattern896 (x2,
12329 : E_V2QImode,
12330 : E_QImode) != 0
12331 192 : || !insn_condition_206 (operands, insn))
12332 : return -1;
12333 163 : *pnum_clobbers = 1;
12334 163 : return 2376; /* ashrv2qi3 */
12335 :
12336 : default:
12337 : return -1;
12338 : }
12339 :
12340 14 : case 1:
12341 14 : if (!insn_condition_194 (operands, insn))
12342 : return -1;
12343 14 : *pnum_clobbers = 1;
12344 14 : return 1349; /* *ashrqi3_1_slp */
12345 :
12346 1 : case 2:
12347 1 : if (!insn_condition_194 (operands, insn))
12348 : return -1;
12349 1 : *pnum_clobbers = 1;
12350 1 : return 1351; /* *ashrhi3_1_slp */
12351 :
12352 : default:
12353 : return -1;
12354 : }
12355 :
12356 0 : case 1:
12357 0 : if (!insn_condition_201 (operands, insn))
12358 : return -1;
12359 0 : *pnum_clobbers = 1;
12360 0 : return 1213; /* *ashrti3_doubleword_mask_1 */
12361 :
12362 : default:
12363 : return -1;
12364 : }
12365 :
12366 28102 : case ASHIFT:
12367 28102 : x5 = XEXP (x1, 0);
12368 28102 : operands[0] = x5;
12369 28102 : x6 = XEXP (x3, 0);
12370 28102 : operands[1] = x6;
12371 28102 : x7 = XEXP (x3, 1);
12372 28102 : operands[2] = x7;
12373 28102 : if (!const_int_operand (operands[2], E_QImode))
12374 : return -1;
12375 27743 : x4 = XEXP (x2, 1);
12376 27743 : operands[3] = x4;
12377 27743 : if (!const_int_operand (operands[3], E_QImode))
12378 : return -1;
12379 27743 : switch (GET_MODE (operands[0]))
12380 : {
12381 5700 : case E_TImode:
12382 5700 : if (pnum_clobbers == NULL
12383 5700 : || pattern791 (x2,
12384 : E_TImode) != 0
12385 7605 : || !insn_condition_211 (operands, insn))
12386 : return -1;
12387 1498 : *pnum_clobbers = 1;
12388 1498 : return 1413; /* *extendti2_doubleword_highpart */
12389 :
12390 0 : case E_V2DImode:
12391 0 : if (pattern791 (x2,
12392 : E_V2DImode) != 0)
12393 : return -1;
12394 0 : if (insn_condition_212 (operands, insn))
12395 : return 1414; /* *extendv2di2_highpart_stv */
12396 0 : if (!insn_condition_213 (operands, insn))
12397 0 : return -1;
12398 : return 1415; /* *extendv2di2_highpart_stv_noavx512vl */
12399 :
12400 : default:
12401 : return -1;
12402 : }
12403 :
12404 : default:
12405 : return -1;
12406 : }
12407 : }
12408 :
12409 : int
12410 1882 : recog_30 (rtx x1 ATTRIBUTE_UNUSED,
12411 : rtx_insn *insn ATTRIBUTE_UNUSED,
12412 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12413 : {
12414 1882 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12415 1882 : rtx x2, x3, x4, x5, x6;
12416 1882 : int res ATTRIBUTE_UNUSED;
12417 1882 : if (!register_operand (operands[0], E_HImode))
12418 : return -1;
12419 141 : x2 = XEXP (x1, 1);
12420 141 : if (GET_MODE (x2) != E_HImode)
12421 : return -1;
12422 141 : x3 = XEXP (x2, 0);
12423 141 : switch (XVECLEN (x3, 0))
12424 : {
12425 134 : case 3:
12426 134 : x4 = XVECEXP (x3, 0, 0);
12427 134 : operands[1] = x4;
12428 134 : x5 = XVECEXP (x3, 0, 1);
12429 134 : operands[2] = x5;
12430 134 : x6 = XVECEXP (x3, 0, 2);
12431 134 : operands[3] = x6;
12432 134 : switch (XINT (x3, 1))
12433 : {
12434 91 : case 56:
12435 91 : switch (pattern1023 (x3))
12436 : {
12437 0 : case 0:
12438 0 : if (!insn_condition_254 (operands, insn))
12439 0 : return -1;
12440 : return 3462; /* *avx512f_cmpv16si3_zero_extendhi */
12441 :
12442 0 : case 1:
12443 0 : if (!insn_condition_255 (operands, insn))
12444 0 : return -1;
12445 : return 3483; /* *avx512vl_cmpv16hf3_zero_extendhi */
12446 :
12447 0 : case 2:
12448 0 : if (!insn_condition_256 (operands, insn))
12449 0 : return -1;
12450 : return 3489; /* *avx512f_cmpv16sf3_zero_extendhi */
12451 :
12452 0 : case 3:
12453 0 : if (!insn_condition_257 (operands, insn))
12454 0 : return -1;
12455 : return 3609; /* *avx512vl_cmpv16qi3_zero_extendhi */
12456 :
12457 0 : case 4:
12458 0 : if (!insn_condition_258 (operands, insn))
12459 0 : return -1;
12460 : return 3618; /* *avx512vl_cmpv16hi3_zero_extendhi */
12461 :
12462 6 : case 5:
12463 6 : if (!insn_condition_259 (operands, insn))
12464 0 : return -1;
12465 : return 3465; /* *avx512vl_cmpv8si3_zero_extendhi */
12466 :
12467 6 : case 6:
12468 6 : if (!insn_condition_260 (operands, insn))
12469 0 : return -1;
12470 : return 3468; /* *avx512vl_cmpv4si3_zero_extendhi */
12471 :
12472 6 : case 7:
12473 6 : if (!insn_condition_261 (operands, insn))
12474 0 : return -1;
12475 : return 3471; /* *avx512f_cmpv8di3_zero_extendhi */
12476 :
12477 6 : case 8:
12478 6 : if (!insn_condition_262 (operands, insn))
12479 0 : return -1;
12480 : return 3474; /* *avx512vl_cmpv4di3_zero_extendhi */
12481 :
12482 6 : case 9:
12483 6 : if (!insn_condition_263 (operands, insn))
12484 0 : return -1;
12485 : return 3477; /* *avx512vl_cmpv2di3_zero_extendhi */
12486 :
12487 9 : case 10:
12488 9 : if (!insn_condition_264 (operands, insn))
12489 0 : return -1;
12490 : return 3486; /* *avx512fp16_cmpv8hf3_zero_extendhi */
12491 :
12492 6 : case 11:
12493 6 : if (!insn_condition_265 (operands, insn))
12494 0 : return -1;
12495 : return 3492; /* *avx512vl_cmpv8sf3_zero_extendhi */
12496 :
12497 6 : case 12:
12498 6 : if (!insn_condition_266 (operands, insn))
12499 0 : return -1;
12500 : return 3495; /* *avx512vl_cmpv4sf3_zero_extendhi */
12501 :
12502 10 : case 13:
12503 10 : if (!insn_condition_267 (operands, insn))
12504 0 : return -1;
12505 : return 3498; /* *avx512f_cmpv8df3_zero_extendhi */
12506 :
12507 6 : case 14:
12508 6 : if (!insn_condition_268 (operands, insn))
12509 0 : return -1;
12510 : return 3501; /* *avx512vl_cmpv4df3_zero_extendhi */
12511 :
12512 6 : case 15:
12513 6 : if (!insn_condition_269 (operands, insn))
12514 0 : return -1;
12515 : return 3504; /* *avx512vl_cmpv2df3_zero_extendhi */
12516 :
12517 8 : case 16:
12518 8 : if (!insn_condition_270 (operands, insn))
12519 0 : return -1;
12520 : return 3621; /* *avx512vl_cmpv8hi3_zero_extendhi */
12521 :
12522 0 : case 17:
12523 0 : if (!insn_condition_271 (operands, insn))
12524 0 : return -1;
12525 : return 3480; /* *avx512bw_cmpv32hf3_zero_extendhi */
12526 :
12527 0 : case 18:
12528 0 : if (!insn_condition_272 (operands, insn))
12529 0 : return -1;
12530 : return 3612; /* *avx512vl_cmpv32qi3_zero_extendhi */
12531 :
12532 0 : case 19:
12533 0 : if (!insn_condition_273 (operands, insn))
12534 0 : return -1;
12535 : return 3615; /* *avx512bw_cmpv32hi3_zero_extendhi */
12536 :
12537 0 : case 20:
12538 0 : if (!insn_condition_274 (operands, insn))
12539 0 : return -1;
12540 : return 3606; /* *avx512bw_cmpv64qi3_zero_extendhi */
12541 :
12542 : default:
12543 : return -1;
12544 : }
12545 :
12546 43 : case 156:
12547 43 : if (!const_0_to_7_operand (operands[3], E_SImode))
12548 : return -1;
12549 43 : switch (pattern1134 (x3))
12550 : {
12551 0 : case 0:
12552 0 : if (!insn_condition_275 (operands, insn))
12553 0 : return -1;
12554 : return 3702; /* *avx512bw_ucmpv64qi3_zero_extendhi */
12555 :
12556 0 : case 1:
12557 0 : if (!insn_condition_276 (operands, insn))
12558 0 : return -1;
12559 : return 3705; /* *avx512vl_ucmpv16qi3_zero_extendhi */
12560 :
12561 0 : case 2:
12562 0 : if (!insn_condition_277 (operands, insn))
12563 0 : return -1;
12564 : return 3714; /* *avx512vl_ucmpv16hi3_zero_extendhi */
12565 :
12566 0 : case 3:
12567 0 : if (!insn_condition_254 (operands, insn))
12568 0 : return -1;
12569 : return 3786; /* *avx512f_ucmpv16si3_zero_extendhi */
12570 :
12571 0 : case 4:
12572 0 : if (!insn_condition_278 (operands, insn))
12573 0 : return -1;
12574 : return 3708; /* *avx512vl_ucmpv32qi3_zero_extendhi */
12575 :
12576 0 : case 5:
12577 0 : if (!insn_condition_279 (operands, insn))
12578 0 : return -1;
12579 : return 3711; /* *avx512bw_ucmpv32hi3_zero_extendhi */
12580 :
12581 8 : case 6:
12582 8 : if (!insn_condition_280 (operands, insn))
12583 0 : return -1;
12584 : return 3717; /* *avx512vl_ucmpv8hi3_zero_extendhi */
12585 :
12586 6 : case 7:
12587 6 : if (!insn_condition_259 (operands, insn))
12588 0 : return -1;
12589 : return 3789; /* *avx512vl_ucmpv8si3_zero_extendhi */
12590 :
12591 6 : case 8:
12592 6 : if (!insn_condition_260 (operands, insn))
12593 0 : return -1;
12594 : return 3792; /* *avx512vl_ucmpv4si3_zero_extendhi */
12595 :
12596 6 : case 9:
12597 6 : if (!insn_condition_261 (operands, insn))
12598 0 : return -1;
12599 : return 3795; /* *avx512f_ucmpv8di3_zero_extendhi */
12600 :
12601 6 : case 10:
12602 6 : if (!insn_condition_262 (operands, insn))
12603 0 : return -1;
12604 : return 3798; /* *avx512vl_ucmpv4di3_zero_extendhi */
12605 :
12606 6 : case 11:
12607 6 : if (!insn_condition_263 (operands, insn))
12608 0 : return -1;
12609 : return 3801; /* *avx512vl_ucmpv2di3_zero_extendhi */
12610 :
12611 : default:
12612 : return -1;
12613 : }
12614 :
12615 : default:
12616 : return -1;
12617 : }
12618 :
12619 7 : case 2:
12620 7 : x4 = XVECEXP (x3, 0, 0);
12621 7 : operands[1] = x4;
12622 7 : x5 = XVECEXP (x3, 0, 1);
12623 7 : operands[2] = x5;
12624 7 : switch (XINT (x3, 1))
12625 : {
12626 0 : case 157:
12627 0 : switch (GET_MODE (x3))
12628 : {
12629 0 : case E_DImode:
12630 0 : if (!register_operand (operands[1], E_V64QImode)
12631 0 : || !nonimmediate_operand (operands[2], E_V64QImode)
12632 0 : || !insn_condition_281 (operands, insn))
12633 : return -1;
12634 : return 6824; /* *avx512bw_testmv64qi3_zext */
12635 :
12636 0 : case E_SImode:
12637 0 : switch (pattern648 ())
12638 : {
12639 : case 0:
12640 : if (!insn_condition_282 (operands, insn))
12641 : return -1;
12642 : return 6827; /* *avx512vl_testmv32qi3_zext */
12643 :
12644 : case 1:
12645 : if (!insn_condition_283 (operands, insn))
12646 : return -1;
12647 : return 6833; /* *avx512bw_testmv32hi3_zext */
12648 :
12649 : default:
12650 : return -1;
12651 : }
12652 :
12653 0 : case E_HImode:
12654 0 : switch (pattern649 ())
12655 : {
12656 : case 0:
12657 : if (!insn_condition_284 (operands, insn))
12658 : return -1;
12659 : return 6830; /* *avx512vl_testmv16qi3_zext */
12660 :
12661 : case 1:
12662 : if (!insn_condition_284 (operands, insn))
12663 : return -1;
12664 : return 6836; /* *avx512vl_testmv16hi3_zext */
12665 :
12666 : case 2:
12667 : if (!insn_condition_285 (operands, insn))
12668 : return -1;
12669 : return 6842; /* *avx512f_testmv16si3_zext */
12670 :
12671 : default:
12672 : return -1;
12673 : }
12674 :
12675 0 : case E_QImode:
12676 0 : switch (pattern650 ())
12677 : {
12678 0 : case 0:
12679 0 : if (!insn_condition_286 (operands, insn))
12680 0 : return -1;
12681 : return 6839; /* *avx512vl_testmv8hi3_zext */
12682 :
12683 0 : case 1:
12684 0 : if (!insn_condition_287 (operands, insn))
12685 0 : return -1;
12686 : return 6845; /* *avx512vl_testmv8si3_zext */
12687 :
12688 0 : case 2:
12689 0 : if (!insn_condition_287 (operands, insn))
12690 0 : return -1;
12691 : return 6848; /* *avx512vl_testmv4si3_zext */
12692 :
12693 0 : case 3:
12694 0 : if (!insn_condition_288 (operands, insn))
12695 0 : return -1;
12696 : return 6851; /* *avx512f_testmv8di3_zext */
12697 :
12698 0 : case 4:
12699 0 : if (!insn_condition_287 (operands, insn))
12700 0 : return -1;
12701 : return 6854; /* *avx512vl_testmv4di3_zext */
12702 :
12703 0 : case 5:
12704 0 : if (!insn_condition_287 (operands, insn))
12705 0 : return -1;
12706 : return 6857; /* *avx512vl_testmv2di3_zext */
12707 :
12708 : default:
12709 : return -1;
12710 : }
12711 :
12712 : default:
12713 : return -1;
12714 : }
12715 :
12716 3 : case 158:
12717 3 : switch (GET_MODE (x3))
12718 : {
12719 0 : case E_DImode:
12720 0 : if (!register_operand (operands[1], E_V64QImode)
12721 0 : || !nonimmediate_operand (operands[2], E_V64QImode)
12722 0 : || !insn_condition_281 (operands, insn))
12723 : return -1;
12724 : return 6896; /* *avx512bw_testnmv64qi3_zext */
12725 :
12726 0 : case E_SImode:
12727 0 : switch (pattern648 ())
12728 : {
12729 : case 0:
12730 : if (!insn_condition_282 (operands, insn))
12731 : return -1;
12732 : return 6899; /* *avx512vl_testnmv32qi3_zext */
12733 :
12734 : case 1:
12735 : if (!insn_condition_283 (operands, insn))
12736 : return -1;
12737 : return 6905; /* *avx512bw_testnmv32hi3_zext */
12738 :
12739 : default:
12740 : return -1;
12741 : }
12742 :
12743 0 : case E_HImode:
12744 0 : switch (pattern649 ())
12745 : {
12746 : case 0:
12747 : if (!insn_condition_284 (operands, insn))
12748 : return -1;
12749 : return 6902; /* *avx512vl_testnmv16qi3_zext */
12750 :
12751 : case 1:
12752 : if (!insn_condition_284 (operands, insn))
12753 : return -1;
12754 : return 6908; /* *avx512vl_testnmv16hi3_zext */
12755 :
12756 : case 2:
12757 : if (!insn_condition_285 (operands, insn))
12758 : return -1;
12759 : return 6914; /* *avx512f_testnmv16si3_zext */
12760 :
12761 : default:
12762 : return -1;
12763 : }
12764 :
12765 3 : case E_QImode:
12766 3 : switch (pattern650 ())
12767 : {
12768 2 : case 0:
12769 2 : if (!insn_condition_286 (operands, insn))
12770 0 : return -1;
12771 : return 6911; /* *avx512vl_testnmv8hi3_zext */
12772 :
12773 0 : case 1:
12774 0 : if (!insn_condition_287 (operands, insn))
12775 0 : return -1;
12776 : return 6917; /* *avx512vl_testnmv8si3_zext */
12777 :
12778 0 : case 2:
12779 0 : if (!insn_condition_287 (operands, insn))
12780 0 : return -1;
12781 : return 6920; /* *avx512vl_testnmv4si3_zext */
12782 :
12783 0 : case 3:
12784 0 : if (!insn_condition_288 (operands, insn))
12785 0 : return -1;
12786 : return 6923; /* *avx512f_testnmv8di3_zext */
12787 :
12788 0 : case 4:
12789 0 : if (!insn_condition_287 (operands, insn))
12790 0 : return -1;
12791 : return 6926; /* *avx512vl_testnmv4di3_zext */
12792 :
12793 0 : case 5:
12794 0 : if (!insn_condition_287 (operands, insn))
12795 0 : return -1;
12796 : return 6929; /* *avx512vl_testnmv2di3_zext */
12797 :
12798 : default:
12799 : return -1;
12800 : }
12801 :
12802 : default:
12803 : return -1;
12804 : }
12805 :
12806 : default:
12807 : return -1;
12808 : }
12809 :
12810 : default:
12811 : return -1;
12812 : }
12813 : }
12814 :
12815 : int
12816 8149 : recog_42 (rtx x1 ATTRIBUTE_UNUSED,
12817 : rtx_insn *insn ATTRIBUTE_UNUSED,
12818 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12819 : {
12820 8149 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12821 8149 : rtx x2, x3, x4, x5;
12822 8149 : int res ATTRIBUTE_UNUSED;
12823 8149 : x2 = XEXP (x1, 1);
12824 8149 : x3 = XEXP (x2, 1);
12825 8149 : if (GET_CODE (x3) != CONST_INT
12826 2020 : || !register_operand (operands[0], E_QImode)
12827 10103 : || GET_MODE (x2) != E_QImode)
12828 : return -1;
12829 1954 : x4 = XEXP (x2, 0);
12830 1954 : x5 = XVECEXP (x4, 0, 2);
12831 1954 : operands[3] = x5;
12832 1954 : if (!const_0_to_7_operand (operands[3], E_SImode))
12833 : return -1;
12834 1954 : switch (XWINT (x3, 0))
12835 : {
12836 227 : case 15L:
12837 227 : switch (GET_MODE (operands[1]))
12838 : {
12839 37 : case E_V4SImode:
12840 37 : if (!nonimmediate_operand (operands[1], E_V4SImode)
12841 27 : || !nonimmediate_operand (operands[2], E_V4SImode)
12842 37 : || !insn_condition_100 (operands, insn))
12843 15 : return -1;
12844 : return 3571; /* *avx512vl_ucmpv4si3_and15 */
12845 :
12846 190 : case E_V4DImode:
12847 190 : if (!nonimmediate_operand (operands[1], E_V4DImode)
12848 188 : || !nonimmediate_operand (operands[2], E_V4DImode)
12849 190 : || !insn_condition_100 (operands, insn))
12850 2 : return -1;
12851 : return 3572; /* *avx512vl_ucmpv4di3_and15 */
12852 :
12853 : default:
12854 : return -1;
12855 : }
12856 :
12857 146 : case 3L:
12858 146 : if (!nonimmediate_operand (operands[1], E_V2DImode)
12859 2 : || !nonimmediate_operand (operands[2], E_V2DImode)
12860 148 : || !insn_condition_27 (operands, insn))
12861 144 : return -1;
12862 : return 3579; /* *avx512vl_ucmpv2di3_and3 */
12863 :
12864 : default:
12865 : return -1;
12866 : }
12867 : }
12868 :
12869 : int
12870 674805 : recog_44 (rtx x1 ATTRIBUTE_UNUSED,
12871 : rtx_insn *insn ATTRIBUTE_UNUSED,
12872 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12873 : {
12874 674805 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12875 674805 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
12876 674805 : rtx x10, x11, x12, x13;
12877 674805 : int res ATTRIBUTE_UNUSED;
12878 674805 : x2 = XEXP (x1, 1);
12879 674805 : x3 = XEXP (x2, 0);
12880 674805 : switch (GET_CODE (x3))
12881 : {
12882 4354 : case XOR:
12883 4354 : if (pnum_clobbers == NULL)
12884 : return -1;
12885 4314 : x4 = XEXP (x1, 0);
12886 4314 : operands[0] = x4;
12887 4314 : x5 = XEXP (x3, 0);
12888 4314 : operands[1] = x5;
12889 4314 : x6 = XEXP (x3, 1);
12890 4314 : operands[2] = x6;
12891 4314 : switch (GET_MODE (operands[0]))
12892 : {
12893 182 : case E_HImode:
12894 182 : if (pattern775 (x2,
12895 : E_HImode) != 0
12896 182 : || !insn_condition_362 (operands, insn))
12897 : return -1;
12898 111 : *pnum_clobbers = 1;
12899 111 : return 867; /* *notxorhi_1 */
12900 :
12901 540 : case E_QImode:
12902 540 : if (pattern775 (x2,
12903 : E_QImode) != 0
12904 540 : || !insn_condition_363 (operands, insn))
12905 : return -1;
12906 213 : *pnum_clobbers = 1;
12907 213 : return 903; /* *notxorqi_1 */
12908 :
12909 : default:
12910 : return -1;
12911 : }
12912 :
12913 609743 : case REG:
12914 609743 : case SUBREG:
12915 609743 : case MEM:
12916 609743 : switch (pattern45 (x1))
12917 : {
12918 609738 : case 0:
12919 609738 : switch (GET_MODE (operands[0]))
12920 : {
12921 5142 : case E_TImode:
12922 5142 : if (!nonimmediate_operand (operands[0], E_TImode)
12923 5142 : || GET_MODE (x2) != E_TImode
12924 5142 : || !nonimmediate_operand (operands[1], E_TImode)
12925 10284 : || !insn_condition_364 (operands, insn))
12926 193 : return -1;
12927 : return 1067; /* *one_cmplti2_doubleword */
12928 :
12929 10158 : case E_HImode:
12930 10158 : if (!nonimmediate_operand (operands[0], E_HImode)
12931 10158 : || GET_MODE (x2) != E_HImode
12932 10158 : || !nonimmediate_operand (operands[1], E_HImode)
12933 20195 : || !insn_condition_365 (operands, insn))
12934 1110 : return -1;
12935 : return 1068; /* *one_cmplhi2_1 */
12936 :
12937 40870 : case E_QImode:
12938 40870 : if (!nonimmediate_operand (operands[0], E_QImode)
12939 40862 : || GET_MODE (x2) != E_QImode
12940 40862 : || !nonimmediate_operand (operands[1], E_QImode)
12941 78078 : || !insn_condition_366 (operands, insn))
12942 7650 : return -1;
12943 : return 1077; /* *one_cmplqi2_1 */
12944 :
12945 135 : case E_V4QImode:
12946 135 : if (!register_operand (operands[0], E_V4QImode)
12947 111 : || GET_MODE (x2) != E_V4QImode
12948 246 : || !register_operand (operands[1], E_V4QImode))
12949 32 : return -1;
12950 : return 2425; /* one_cmplv4qi2 */
12951 :
12952 162 : case E_V2QImode:
12953 162 : if (!register_operand (operands[0], E_V2QImode)
12954 162 : || GET_MODE (x2) != E_V2QImode
12955 324 : || !register_operand (operands[1], E_V2QImode))
12956 0 : return -1;
12957 : return 2426; /* one_cmplv2qi2 */
12958 :
12959 125 : case E_V2HImode:
12960 125 : if (!register_operand (operands[0], E_V2HImode)
12961 125 : || GET_MODE (x2) != E_V2HImode
12962 250 : || !register_operand (operands[1], E_V2HImode))
12963 0 : return -1;
12964 : return 2427; /* one_cmplv2hi2 */
12965 :
12966 : default:
12967 : return -1;
12968 : }
12969 :
12970 3 : case 1:
12971 3 : if (!insn_condition_194 (operands, insn))
12972 0 : return -1;
12973 : return 1078; /* *one_cmplqi_1_slp */
12974 :
12975 2 : case 2:
12976 2 : if (!insn_condition_194 (operands, insn))
12977 0 : return -1;
12978 : return 1079; /* *one_cmplhi_1_slp */
12979 :
12980 : default:
12981 : return -1;
12982 : }
12983 :
12984 16294 : case ASHIFTRT:
12985 16294 : case LSHIFTRT:
12986 16294 : case SIGN_EXTRACT:
12987 16294 : case ZERO_EXTRACT:
12988 16294 : operands[2] = x3;
12989 16294 : switch (pattern108 (x1))
12990 : {
12991 : case 0:
12992 : return 1085; /* *one_cmplqi_exthi_1 */
12993 :
12994 3 : case 1:
12995 3 : return 1086; /* *one_cmplqi_extsi_1 */
12996 :
12997 0 : case 2:
12998 0 : if (insn_condition_52 (operands, insn))
12999 : return 1087; /* *one_cmplqi_extdi_1 */
13000 : break;
13001 :
13002 : default:
13003 : break;
13004 : }
13005 16291 : if (pnum_clobbers == NULL
13006 16291 : || GET_CODE (x3) != ZERO_EXTRACT
13007 0 : || GET_MODE (x3) != E_DImode)
13008 : return -1;
13009 0 : x6 = XEXP (x3, 1);
13010 0 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
13011 : return -1;
13012 0 : x4 = XEXP (x1, 0);
13013 0 : if (GET_CODE (x4) != ZERO_EXTRACT
13014 0 : || GET_MODE (x4) != E_DImode)
13015 : return -1;
13016 0 : x7 = XEXP (x4, 1);
13017 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
13018 : return -1;
13019 0 : x8 = XEXP (x4, 0);
13020 0 : operands[0] = x8;
13021 0 : if (!nonimmediate_operand (operands[0], E_DImode))
13022 : return -1;
13023 0 : x9 = XEXP (x4, 2);
13024 0 : operands[1] = x9;
13025 0 : if (!const_0_to_63_operand (operands[1], E_QImode)
13026 0 : || GET_MODE (x2) != E_DImode)
13027 : return -1;
13028 0 : x5 = XEXP (x3, 0);
13029 0 : if (!rtx_equal_p (x5, operands[0]))
13030 : return -1;
13031 0 : x10 = XEXP (x3, 2);
13032 0 : if (!rtx_equal_p (x10, operands[1])
13033 0 : || !insn_condition_199 (operands, insn))
13034 : return -1;
13035 0 : *pnum_clobbers = 1;
13036 0 : return 1547; /* *btcq_imm */
13037 :
13038 558 : case UNSPEC:
13039 558 : if (XVECLEN (x3, 0) != 3)
13040 : return -1;
13041 223 : x4 = XEXP (x1, 0);
13042 223 : operands[0] = x4;
13043 223 : x11 = XVECEXP (x3, 0, 0);
13044 223 : operands[1] = x11;
13045 223 : x12 = XVECEXP (x3, 0, 1);
13046 223 : operands[2] = x12;
13047 223 : x13 = XVECEXP (x3, 0, 2);
13048 223 : operands[3] = x13;
13049 223 : switch (XINT (x3, 1))
13050 : {
13051 215 : case 56:
13052 215 : switch (GET_MODE (operands[0]))
13053 : {
13054 40 : case E_HImode:
13055 40 : switch (pattern1011 (x2))
13056 : {
13057 16 : case 0:
13058 16 : if (!insn_condition_367 (operands, insn))
13059 0 : return -1;
13060 : return 3552; /* *avx512f_cmpv16si3 */
13061 :
13062 0 : case 1:
13063 0 : if (!insn_condition_368 (operands, insn))
13064 0 : return -1;
13065 : return 3559; /* *avx512vl_cmpv16hf3 */
13066 :
13067 20 : case 2:
13068 20 : if (!insn_condition_369 (operands, insn))
13069 0 : return -1;
13070 : return 3561; /* *avx512f_cmpv16sf3 */
13071 :
13072 2 : case 3:
13073 2 : if (!insn_condition_370 (operands, insn))
13074 0 : return -1;
13075 : return 3644; /* *avx512vl_cmpv16qi3 */
13076 :
13077 2 : case 4:
13078 2 : if (!insn_condition_370 (operands, insn))
13079 0 : return -1;
13080 : return 3650; /* *avx512vl_cmpv16hi3 */
13081 :
13082 : default:
13083 : return -1;
13084 : }
13085 :
13086 141 : case E_QImode:
13087 141 : switch (pattern1012 (x2))
13088 : {
13089 2 : case 0:
13090 2 : if (!insn_condition_371 (operands, insn))
13091 0 : return -1;
13092 : return 3553; /* *avx512vl_cmpv8si3 */
13093 :
13094 : case 1:
13095 : if (!insn_condition_372 (operands, insn))
13096 : return -1;
13097 : return 3554; /* *avx512vl_cmpv4si3 */
13098 :
13099 23 : case 2:
13100 23 : if (!insn_condition_373 (operands, insn))
13101 0 : return -1;
13102 : return 3555; /* *avx512f_cmpv8di3 */
13103 :
13104 : case 3:
13105 : if (!insn_condition_374 (operands, insn))
13106 : return -1;
13107 : return 3556; /* *avx512vl_cmpv4di3 */
13108 :
13109 : case 4:
13110 : if (!insn_condition_375 (operands, insn))
13111 : return -1;
13112 : return 3557; /* *avx512vl_cmpv2di3 */
13113 :
13114 0 : case 5:
13115 0 : if (!insn_condition_376 (operands, insn))
13116 0 : return -1;
13117 : return 3560; /* *avx512fp16_cmpv8hf3 */
13118 :
13119 2 : case 6:
13120 2 : if (!insn_condition_377 (operands, insn))
13121 0 : return -1;
13122 : return 3562; /* *avx512vl_cmpv8sf3 */
13123 :
13124 : case 7:
13125 : if (!insn_condition_378 (operands, insn))
13126 : return -1;
13127 : return 3563; /* *avx512vl_cmpv4sf3 */
13128 :
13129 49 : case 8:
13130 49 : if (!insn_condition_379 (operands, insn))
13131 9 : return -1;
13132 : return 3564; /* *avx512f_cmpv8df3 */
13133 :
13134 : case 9:
13135 : if (!insn_condition_380 (operands, insn))
13136 : return -1;
13137 : return 3565; /* *avx512vl_cmpv4df3 */
13138 :
13139 : case 10:
13140 : if (!insn_condition_381 (operands, insn))
13141 : return -1;
13142 : return 3566; /* *avx512vl_cmpv2df3 */
13143 :
13144 2 : case 11:
13145 2 : if (!insn_condition_370 (operands, insn))
13146 0 : return -1;
13147 : return 3652; /* *avx512vl_cmpv8hi3 */
13148 :
13149 : default:
13150 : return -1;
13151 : }
13152 :
13153 : default:
13154 : return -1;
13155 : }
13156 :
13157 2 : case 156:
13158 2 : if (!const_0_to_7_operand (operands[3], E_SImode))
13159 : return -1;
13160 2 : switch (GET_MODE (operands[0]))
13161 : {
13162 0 : case E_HImode:
13163 0 : switch (pattern1122 (x2))
13164 : {
13165 0 : case 0:
13166 0 : if (!insn_condition_370 (operands, insn))
13167 0 : return -1;
13168 : return 3645; /* *avx512vl_cmpv16qi3 */
13169 :
13170 0 : case 1:
13171 0 : if (!insn_condition_370 (operands, insn))
13172 0 : return -1;
13173 : return 3651; /* *avx512vl_cmpv16hi3 */
13174 :
13175 0 : case 2:
13176 0 : if (!insn_condition_382 (operands, insn))
13177 0 : return -1;
13178 : return 3822; /* *avx512f_ucmpv16si3 */
13179 :
13180 : default:
13181 : return -1;
13182 : }
13183 :
13184 2 : case E_QImode:
13185 2 : switch (pattern1123 (x2))
13186 : {
13187 0 : case 0:
13188 0 : if (!insn_condition_370 (operands, insn))
13189 0 : return -1;
13190 : return 3653; /* *avx512vl_cmpv8hi3 */
13191 :
13192 0 : case 1:
13193 0 : if (!insn_condition_383 (operands, insn))
13194 0 : return -1;
13195 : return 3823; /* *avx512vl_ucmpv8si3 */
13196 :
13197 2 : case 2:
13198 2 : if (!insn_condition_384 (operands, insn))
13199 : return -1;
13200 : return 3824; /* *avx512vl_ucmpv4si3 */
13201 :
13202 0 : case 3:
13203 0 : if (!insn_condition_385 (operands, insn))
13204 0 : return -1;
13205 : return 3825; /* *avx512f_ucmpv8di3 */
13206 :
13207 0 : case 4:
13208 0 : if (!insn_condition_386 (operands, insn))
13209 : return -1;
13210 : return 3826; /* *avx512vl_ucmpv4di3 */
13211 :
13212 0 : case 5:
13213 0 : if (!insn_condition_387 (operands, insn))
13214 : return -1;
13215 : return 3827; /* *avx512vl_ucmpv2di3 */
13216 :
13217 : default:
13218 : return -1;
13219 : }
13220 :
13221 : default:
13222 : return -1;
13223 : }
13224 :
13225 : default:
13226 : return -1;
13227 : }
13228 :
13229 : default:
13230 : return -1;
13231 : }
13232 : }
13233 :
13234 : int
13235 3686541 : recog_51 (rtx x1 ATTRIBUTE_UNUSED,
13236 : rtx_insn *insn ATTRIBUTE_UNUSED,
13237 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13238 : {
13239 3686541 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13240 3686541 : rtx x2, x3, x4;
13241 3686541 : int res ATTRIBUTE_UNUSED;
13242 3686541 : x2 = XEXP (x1, 1);
13243 3686541 : if (GET_CODE (x2) == EQ)
13244 : {
13245 2127629 : res = recog_50 (x1, insn, pnum_clobbers);
13246 2127629 : if (res >= 0)
13247 : return res;
13248 : }
13249 3672726 : if (pnum_clobbers == NULL)
13250 : return -1;
13251 3170111 : operands[1] = x2;
13252 3170111 : if (!bt_comparison_operator (operands[1], E_QImode))
13253 : return -1;
13254 2372491 : x3 = XEXP (x2, 1);
13255 2372491 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + -1]
13256 2372491 : || !nonimmediate_operand (operands[0], E_QImode))
13257 : return -1;
13258 47259 : x4 = XEXP (x2, 0);
13259 47259 : operands[2] = x4;
13260 47259 : switch (GET_MODE (operands[2]))
13261 : {
13262 361 : case E_QImode:
13263 361 : if (!register_operand (operands[2], E_QImode)
13264 361 : || !insn_condition_11 (operands, insn))
13265 : return -1;
13266 12 : *pnum_clobbers = 1;
13267 12 : return 2801; /* *kortest_cmpqi_setcc */
13268 :
13269 200 : case E_HImode:
13270 200 : if (!register_operand (operands[2], E_HImode)
13271 200 : || !insn_condition_12 (operands, insn))
13272 : return -1;
13273 34 : *pnum_clobbers = 1;
13274 34 : return 2802; /* *kortest_cmphi_setcc */
13275 :
13276 12027 : case E_SImode:
13277 12027 : if (!register_operand (operands[2], E_SImode)
13278 12027 : || !insn_condition_12 (operands, insn))
13279 : return -1;
13280 12 : *pnum_clobbers = 1;
13281 12 : return 2803; /* *kortest_cmpsi_setcc */
13282 :
13283 34592 : case E_DImode:
13284 34592 : if (!register_operand (operands[2], E_DImode)
13285 34592 : || !insn_condition_13 (operands, insn))
13286 : return -1;
13287 19 : *pnum_clobbers = 1;
13288 19 : return 2804; /* *kortest_cmpdi_setcc */
13289 :
13290 : default:
13291 : return -1;
13292 : }
13293 : }
13294 :
13295 : int
13296 4208894 : recog_54 (rtx x1 ATTRIBUTE_UNUSED,
13297 : rtx_insn *insn ATTRIBUTE_UNUSED,
13298 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13299 : {
13300 4208894 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13301 4208894 : rtx x2, x3, x4, x5;
13302 4208894 : int res ATTRIBUTE_UNUSED;
13303 4208894 : x2 = XEXP (x1, 1);
13304 4208894 : x3 = XEXP (x2, 1);
13305 4208894 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13306 : return -1;
13307 4208798 : x4 = XEXP (x1, 0);
13308 4208798 : switch (GET_CODE (x4))
13309 : {
13310 4167966 : case REG:
13311 4167966 : case SUBREG:
13312 4167966 : case MEM:
13313 4167966 : operands[0] = x4;
13314 4167966 : switch (GET_MODE (operands[0]))
13315 : {
13316 5012 : case E_HImode:
13317 5012 : if (!register_operand (operands[0], E_HImode)
13318 5012 : || !ix86_comparison_operator (operands[1], E_HImode))
13319 : return -1;
13320 4521 : if (insn_condition_427 (operands, insn))
13321 : return 1574; /* *setcc_hi_zu */
13322 4510 : if (pnum_clobbers != NULL
13323 4510 : && insn_condition_428 (operands, insn))
13324 : {
13325 0 : *pnum_clobbers = 1;
13326 0 : return 1578; /* *setcc_hi_1_and */
13327 : }
13328 4510 : if (!insn_condition_429 (operands, insn))
13329 0 : return -1;
13330 : return 1580; /* *setcc_hi_1_movzbl */
13331 :
13332 3948085 : case E_QImode:
13333 3948085 : if (!nonimmediate_operand (operands[0], E_QImode)
13334 3948085 : || !ix86_comparison_operator (operands[1], E_QImode))
13335 8099 : return -1;
13336 : return 1582; /* *setcc_qi */
13337 :
13338 : default:
13339 : return -1;
13340 : }
13341 :
13342 40832 : case STRICT_LOW_PART:
13343 40832 : x5 = XEXP (x4, 0);
13344 40832 : operands[0] = x5;
13345 40832 : if (!register_operand (operands[0], E_QImode)
13346 40832 : || !ix86_comparison_operator (operands[1], E_QImode))
13347 95 : return -1;
13348 : return 1583; /* *setcc_qi_slp */
13349 :
13350 : default:
13351 : return -1;
13352 : }
13353 : }
13354 :
13355 : int
13356 24417651 : recog_58 (rtx x1 ATTRIBUTE_UNUSED,
13357 : rtx_insn *insn ATTRIBUTE_UNUSED,
13358 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13359 : {
13360 24417651 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13361 24417651 : rtx x2;
13362 24417651 : int res ATTRIBUTE_UNUSED;
13363 24417651 : switch (pattern106 (x1, pnum_clobbers))
13364 : {
13365 24416970 : case 0:
13366 24416970 : switch (GET_MODE (operands[0]))
13367 : {
13368 33891 : case E_TImode:
13369 33891 : x2 = XEXP (x1, 1);
13370 33891 : if (pattern97 (x2, pnum_clobbers) != 0
13371 33891 : || !insn_condition_438 (operands, insn))
13372 : return -1;
13373 22131 : *pnum_clobbers = 1;
13374 22131 : return 272; /* *addti3_doubleword */
13375 :
13376 55895 : case E_HImode:
13377 55895 : x2 = XEXP (x1, 1);
13378 55895 : if (pattern98 (x2,
13379 : E_HImode) != 0)
13380 : return -1;
13381 47728 : if (insn_condition_439 (operands, insn))
13382 : return 302; /* *addhi_1_nf */
13383 47712 : if (pnum_clobbers == NULL
13384 47712 : || !insn_condition_440 (operands, insn))
13385 : return -1;
13386 31897 : *pnum_clobbers = 1;
13387 31897 : return 303; /* *addhi_1 */
13388 :
13389 148915 : case E_QImode:
13390 148915 : x2 = XEXP (x1, 1);
13391 148915 : if (pattern98 (x2,
13392 : E_QImode) != 0)
13393 : return -1;
13394 132207 : if (insn_condition_441 (operands, insn))
13395 : return 304; /* *addqi_1_nf */
13396 132179 : if (pnum_clobbers == NULL
13397 132179 : || !insn_condition_442 (operands, insn))
13398 : return -1;
13399 73168 : *pnum_clobbers = 1;
13400 73168 : return 305; /* *addqi_1 */
13401 :
13402 7505 : case E_HFmode:
13403 7505 : x2 = XEXP (x1, 1);
13404 7505 : if (pattern3 (x2,
13405 : E_HFmode) != 0
13406 7505 : || !insn_condition_443 (operands, insn))
13407 1731 : return -1;
13408 : return 1815; /* *addhf */
13409 :
13410 15879 : case E_V8QImode:
13411 15879 : x2 = XEXP (x1, 1);
13412 15879 : if (pattern6 (x2,
13413 : E_V8QImode) != 0
13414 15879 : || !insn_condition_444 (operands, insn))
13415 5175 : return -1;
13416 : return 2284; /* *mmx_addv8qi3 */
13417 :
13418 21270 : case E_V4HImode:
13419 21270 : x2 = XEXP (x1, 1);
13420 21270 : if (pattern6 (x2,
13421 : E_V4HImode) != 0
13422 21270 : || !insn_condition_445 (operands, insn))
13423 4929 : return -1;
13424 : return 2286; /* *mmx_addv4hi3 */
13425 :
13426 122818 : case E_V2SImode:
13427 122818 : x2 = XEXP (x1, 1);
13428 122818 : if (pattern6 (x2,
13429 : E_V2SImode) != 0
13430 122818 : || !insn_condition_446 (operands, insn))
13431 40593 : return -1;
13432 : return 2288; /* *mmx_addv2si3 */
13433 :
13434 197 : case E_V1DImode:
13435 197 : x2 = XEXP (x1, 1);
13436 197 : if (pattern6 (x2,
13437 : E_V1DImode) != 0
13438 197 : || !insn_condition_447 (operands, insn))
13439 27 : return -1;
13440 : return 2290; /* *mmx_addv1di3 */
13441 :
13442 14212 : case E_V4QImode:
13443 14212 : x2 = XEXP (x1, 1);
13444 14212 : if (pattern5 (x2,
13445 : E_V4QImode) != 0
13446 14212 : || !insn_condition_141 (operands, insn))
13447 4309 : return -1;
13448 : return 2292; /* addv4qi3 */
13449 :
13450 11369 : case E_V2HImode:
13451 11369 : x2 = XEXP (x1, 1);
13452 11369 : if (pattern5 (x2,
13453 : E_V2HImode) != 0
13454 11369 : || !insn_condition_141 (operands, insn))
13455 916 : return -1;
13456 : return 2294; /* addv2hi3 */
13457 :
13458 1708 : case E_V2QImode:
13459 1708 : if (pnum_clobbers == NULL)
13460 : return -1;
13461 1708 : x2 = XEXP (x1, 1);
13462 1708 : if (pattern5 (x2,
13463 : E_V2QImode) != 0
13464 1708 : || !insn_condition_397 (operands, insn))
13465 : return -1;
13466 620 : *pnum_clobbers = 1;
13467 620 : return 2296; /* addv2qi3 */
13468 :
13469 : default:
13470 : return -1;
13471 : }
13472 :
13473 8 : case 1:
13474 8 : if (!insn_condition_194 (operands, insn))
13475 : return -1;
13476 8 : *pnum_clobbers = 1;
13477 8 : return 306; /* *addqi_1_slp */
13478 :
13479 355 : case 2:
13480 355 : if (!insn_condition_194 (operands, insn))
13481 : return -1;
13482 355 : *pnum_clobbers = 1;
13483 355 : return 307; /* *addhi_1_slp */
13484 :
13485 : default:
13486 : return -1;
13487 : }
13488 : }
13489 :
13490 : int
13491 3412576 : recog_63 (rtx x1 ATTRIBUTE_UNUSED,
13492 : rtx_insn *insn ATTRIBUTE_UNUSED,
13493 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13494 : {
13495 3412576 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13496 3412576 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
13497 3412576 : rtx x10, x11, x12, x13;
13498 3412576 : int res ATTRIBUTE_UNUSED;
13499 3412576 : x2 = XEXP (x1, 0);
13500 3412576 : operands[0] = x2;
13501 3412576 : x3 = XEXP (x1, 1);
13502 3412576 : x4 = XEXP (x3, 0);
13503 3412576 : switch (GET_CODE (x4))
13504 : {
13505 2240849 : case REG:
13506 2240849 : case SUBREG:
13507 2240849 : case MEM:
13508 2240849 : operands[1] = x4;
13509 2240849 : x5 = XEXP (x3, 1);
13510 2240849 : operands[2] = x5;
13511 2240849 : switch (GET_MODE (operands[0]))
13512 : {
13513 19629 : case E_HImode:
13514 19629 : if (!register_operand (operands[0], E_HImode)
13515 18412 : || GET_MODE (x3) != E_HImode
13516 18412 : || !nonimmediate_operand (operands[1], E_HImode)
13517 35296 : || !general_operand (operands[2], E_HImode))
13518 : return -1;
13519 13076 : if (insn_condition_480 (operands, insn))
13520 : return 619; /* *mulhi3_1_nf */
13521 13076 : if (pnum_clobbers == NULL
13522 13076 : || !insn_condition_481 (operands, insn))
13523 : return -1;
13524 10498 : *pnum_clobbers = 1;
13525 10498 : return 620; /* *mulhi3_1 */
13526 :
13527 18979 : case E_QImode:
13528 18979 : if (pattern3 (x3,
13529 : E_QImode) != 0)
13530 : return -1;
13531 12698 : if (insn_condition_482 (operands, insn))
13532 : return 631; /* *mulqi3_1_nf */
13533 12698 : if (pnum_clobbers == NULL
13534 12698 : || !insn_condition_483 (operands, insn))
13535 : return -1;
13536 8371 : *pnum_clobbers = 1;
13537 8371 : return 632; /* *mulqi3_1 */
13538 :
13539 3006 : case E_HFmode:
13540 3006 : if (pattern3 (x3,
13541 : E_HFmode) != 0
13542 3006 : || !insn_condition_443 (operands, insn))
13543 673 : return -1;
13544 : return 1817; /* *mulhf */
13545 :
13546 2722 : case E_V2SImode:
13547 2722 : if (pattern5 (x3,
13548 : E_V2SImode) != 0
13549 2722 : || !insn_condition_115 (operands, insn))
13550 585 : return -1;
13551 : return 2318; /* mulv2si3 */
13552 :
13553 5651 : case E_V4HImode:
13554 5651 : if (pattern6 (x3,
13555 : E_V4HImode) != 0
13556 5651 : || !insn_condition_455 (operands, insn))
13557 1575 : return -1;
13558 : return 2319; /* *mmx_mulv4hi3 */
13559 :
13560 12170 : case E_V2HImode:
13561 12170 : if (pattern5 (x3,
13562 : E_V2HImode) != 0
13563 12170 : || !insn_condition_141 (operands, insn))
13564 2212 : return -1;
13565 : return 2320; /* mulv2hi3 */
13566 :
13567 : default:
13568 : return -1;
13569 : }
13570 :
13571 420344 : case ZERO_EXTEND:
13572 420344 : x5 = XEXP (x3, 1);
13573 420344 : if (GET_CODE (x5) != ZERO_EXTEND)
13574 : return -1;
13575 236443 : x6 = XEXP (x4, 0);
13576 236443 : switch (GET_CODE (x6))
13577 : {
13578 49605 : case REG:
13579 49605 : case SUBREG:
13580 49605 : operands[1] = x6;
13581 49605 : x7 = XEXP (x5, 0);
13582 49605 : operands[2] = x7;
13583 49605 : switch (GET_MODE (operands[0]))
13584 : {
13585 25857 : case E_TImode:
13586 25857 : if (pnum_clobbers == NULL
13587 25857 : || pattern904 (x3,
13588 : E_DImode,
13589 : E_TImode) != 0
13590 49000 : || !insn_condition_52 (operands, insn))
13591 : return -1;
13592 23143 : *pnum_clobbers = 1;
13593 23143 : return 647; /* *umulditi3_1 */
13594 :
13595 613 : case E_HImode:
13596 613 : if (pattern904 (x3,
13597 : E_QImode,
13598 : E_HImode) != 0)
13599 : return -1;
13600 478 : if (insn_condition_222 (operands, insn))
13601 : return 654; /* *umulqihi3_1_nf */
13602 478 : if (pnum_clobbers == NULL
13603 478 : || !insn_condition_223 (operands, insn))
13604 : return -1;
13605 454 : *pnum_clobbers = 1;
13606 454 : return 655; /* *umulqihi3_1 */
13607 :
13608 : default:
13609 : return -1;
13610 : }
13611 :
13612 173674 : case VEC_SELECT:
13613 173674 : if (GET_MODE (x6) != E_V1SImode)
13614 : return -1;
13615 73 : x8 = XEXP (x6, 1);
13616 73 : if (GET_CODE (x8) != PARALLEL
13617 73 : || XVECLEN (x8, 0) != 1)
13618 : return -1;
13619 73 : x9 = XVECEXP (x8, 0, 0);
13620 73 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13621 : return -1;
13622 73 : x7 = XEXP (x5, 0);
13623 73 : if (GET_CODE (x7) != VEC_SELECT
13624 73 : || GET_MODE (x7) != E_V1SImode)
13625 : return -1;
13626 73 : x10 = XEXP (x7, 1);
13627 73 : if (GET_CODE (x10) != PARALLEL
13628 73 : || XVECLEN (x10, 0) != 1)
13629 : return -1;
13630 73 : x11 = XVECEXP (x10, 0, 0);
13631 73 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
13632 73 : || !register_operand (operands[0], E_V1DImode)
13633 68 : || GET_MODE (x3) != E_V1DImode
13634 141 : || GET_MODE (x4) != E_V1DImode)
13635 : return -1;
13636 68 : x12 = XEXP (x6, 0);
13637 68 : operands[1] = x12;
13638 68 : if (!register_mmxmem_operand (operands[1], E_V2SImode)
13639 68 : || GET_MODE (x5) != E_V1DImode)
13640 : return -1;
13641 66 : x13 = XEXP (x7, 0);
13642 66 : operands[2] = x13;
13643 66 : if (!register_mmxmem_operand (operands[2], E_V2SImode)
13644 66 : || !insn_condition_484 (operands, insn))
13645 1 : return -1;
13646 : return 2327; /* *sse2_umulv1siv1di3 */
13647 :
13648 : default:
13649 : return -1;
13650 : }
13651 :
13652 94436 : case SIGN_EXTEND:
13653 94436 : x5 = XEXP (x3, 1);
13654 94436 : if (GET_CODE (x5) != SIGN_EXTEND)
13655 : return -1;
13656 12893 : x6 = XEXP (x4, 0);
13657 12893 : operands[1] = x6;
13658 12893 : x7 = XEXP (x5, 0);
13659 12893 : operands[2] = x7;
13660 12893 : switch (GET_MODE (operands[0]))
13661 : {
13662 1537 : case E_TImode:
13663 1537 : if (pattern904 (x3,
13664 : E_DImode,
13665 : E_TImode) != 0)
13666 : return -1;
13667 1417 : if (insn_condition_485 (operands, insn))
13668 : return 650; /* *mulditi3_1_nf */
13669 1417 : if (pnum_clobbers == NULL
13670 1417 : || !insn_condition_486 (operands, insn))
13671 : return -1;
13672 1417 : *pnum_clobbers = 1;
13673 1417 : return 651; /* *mulditi3_1 */
13674 :
13675 377 : case E_HImode:
13676 377 : if (pattern904 (x3,
13677 : E_QImode,
13678 : E_HImode) != 0)
13679 : return -1;
13680 227 : if (insn_condition_222 (operands, insn))
13681 : return 652; /* *mulqihi3_1_nf */
13682 227 : if (pnum_clobbers == NULL
13683 227 : || !insn_condition_223 (operands, insn))
13684 : return -1;
13685 227 : *pnum_clobbers = 1;
13686 227 : return 653; /* *mulqihi3_1 */
13687 :
13688 : default:
13689 : return -1;
13690 : }
13691 :
13692 : default:
13693 : return -1;
13694 : }
13695 : }
13696 :
13697 : int
13698 1444489 : recog_67 (rtx x1 ATTRIBUTE_UNUSED,
13699 : rtx_insn *insn ATTRIBUTE_UNUSED,
13700 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13701 : {
13702 1444489 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13703 1444489 : rtx x2, x3, x4, x5, x6, x7, x8;
13704 1444489 : int res ATTRIBUTE_UNUSED;
13705 1444489 : x2 = XEXP (x1, 0);
13706 1444489 : operands[0] = x2;
13707 1444489 : x3 = XEXP (x1, 1);
13708 1444489 : x4 = XEXP (x3, 0);
13709 1444489 : switch (GET_CODE (x4))
13710 : {
13711 226657 : case REG:
13712 226657 : case SUBREG:
13713 226657 : operands[2] = x4;
13714 226657 : x5 = XEXP (x3, 2);
13715 226657 : if (GET_CODE (x5) != CONST_INT)
13716 : return -1;
13717 168565 : operands[3] = x5;
13718 168565 : x6 = XEXP (x3, 1);
13719 168565 : operands[1] = x6;
13720 168565 : switch (GET_MODE (operands[0]))
13721 : {
13722 2739 : case E_V2SFmode:
13723 2739 : if (register_operand (operands[0], E_V2SFmode)
13724 2410 : && GET_MODE (x3) == E_V2SFmode
13725 2410 : && register_operand (operands[2], E_V2SFmode)
13726 1782 : && register_operand (operands[1], E_V2SFmode)
13727 1748 : && const_0_to_3_operand (operands[3], E_SImode)
13728 2739 : && insn_condition_115 (operands, insn))
13729 : return 2234; /* *mmx_blendps */
13730 : break;
13731 :
13732 3 : case E_V4HFmode:
13733 3 : if (pattern908 (x3,
13734 : E_V4HFmode) == 0
13735 3 : && insn_condition_115 (operands, insn))
13736 : return 2496; /* *mmx_pblendw64 */
13737 : break;
13738 :
13739 0 : case E_V4BFmode:
13740 0 : if (pattern908 (x3,
13741 : E_V4BFmode) == 0
13742 0 : && insn_condition_115 (operands, insn))
13743 : return 2497; /* *mmx_pblendw64 */
13744 : break;
13745 :
13746 6211 : case E_V4HImode:
13747 6211 : if (pattern908 (x3,
13748 : E_V4HImode) == 0
13749 6211 : && insn_condition_115 (operands, insn))
13750 : return 2498; /* *mmx_pblendw64 */
13751 : break;
13752 :
13753 1 : case E_V2HFmode:
13754 1 : if (pattern909 (x3,
13755 : E_V2HFmode) == 0
13756 1 : && insn_condition_92 (operands, insn))
13757 : return 2499; /* *mmx_pblendw32 */
13758 : break;
13759 :
13760 0 : case E_V2BFmode:
13761 0 : if (pattern909 (x3,
13762 : E_V2BFmode) == 0
13763 0 : && insn_condition_92 (operands, insn))
13764 : return 2500; /* *mmx_pblendw32 */
13765 : break;
13766 :
13767 64 : case E_V2HImode:
13768 64 : if (pattern909 (x3,
13769 : E_V2HImode) == 0
13770 64 : && insn_condition_92 (operands, insn))
13771 : return 2501; /* *mmx_pblendw32 */
13772 : break;
13773 :
13774 : default:
13775 : break;
13776 : }
13777 165527 : if (XWINT (x5, 0) != 1L)
13778 : return -1;
13779 70687 : operands[1] = x6;
13780 70687 : switch (GET_MODE (operands[0]))
13781 : {
13782 2279 : case E_V2SFmode:
13783 2279 : if (pattern910 (x3,
13784 : E_V2SFmode) != 0
13785 2279 : || !insn_condition_228 (operands, insn))
13786 695 : return -1;
13787 : return 2250; /* *mmx_movss_v2sf */
13788 :
13789 3375 : case E_V2SImode:
13790 3375 : if (pattern910 (x3,
13791 : E_V2SImode) != 0
13792 3375 : || !insn_condition_228 (operands, insn))
13793 789 : return -1;
13794 : return 2251; /* *mmx_movss_v2si */
13795 :
13796 : default:
13797 : return -1;
13798 : }
13799 :
13800 701611 : case VEC_DUPLICATE:
13801 701611 : x7 = XEXP (x4, 0);
13802 701611 : operands[2] = x7;
13803 701611 : x6 = XEXP (x3, 1);
13804 701611 : operands[1] = x6;
13805 701611 : x5 = XEXP (x3, 2);
13806 701611 : operands[3] = x5;
13807 701611 : if (!const_int_operand (operands[3], E_SImode))
13808 : return -1;
13809 690467 : switch (GET_MODE (operands[0]))
13810 : {
13811 280 : case E_V2SImode:
13812 280 : if (pattern911 (x3,
13813 : E_V2SImode,
13814 : E_SImode) != 0
13815 280 : || !insn_condition_527 (operands, insn))
13816 72 : return -1;
13817 : return 2476; /* *mmx_pinsrd */
13818 :
13819 21 : case E_V4HFmode:
13820 21 : if (pattern911 (x3,
13821 : E_V4HFmode,
13822 : E_HFmode) != 0
13823 21 : || !insn_condition_528 (operands, insn))
13824 6 : return -1;
13825 : return 2477; /* *mmx_pinsrw */
13826 :
13827 0 : case E_V4BFmode:
13828 0 : if (pattern911 (x3,
13829 : E_V4BFmode,
13830 : E_BFmode) != 0
13831 0 : || !insn_condition_528 (operands, insn))
13832 0 : return -1;
13833 : return 2478; /* *mmx_pinsrw */
13834 :
13835 595 : case E_V4HImode:
13836 595 : if (pattern911 (x3,
13837 : E_V4HImode,
13838 : E_HImode) != 0
13839 595 : || !insn_condition_528 (operands, insn))
13840 204 : return -1;
13841 : return 2479; /* *mmx_pinsrw */
13842 :
13843 24 : case E_V8QImode:
13844 24 : if (pattern911 (x3,
13845 : E_V8QImode,
13846 : E_QImode) != 0
13847 24 : || !insn_condition_529 (operands, insn))
13848 14 : return -1;
13849 : return 2480; /* *mmx_pinsrb */
13850 :
13851 7 : case E_V2HFmode:
13852 7 : if (pattern911 (x3,
13853 : E_V2HFmode,
13854 : E_HFmode) != 0
13855 7 : || !insn_condition_530 (operands, insn))
13856 0 : return -1;
13857 : return 2515; /* *pinsrw */
13858 :
13859 0 : case E_V2BFmode:
13860 0 : if (pattern911 (x3,
13861 : E_V2BFmode,
13862 : E_BFmode) != 0
13863 0 : || !insn_condition_530 (operands, insn))
13864 0 : return -1;
13865 : return 2516; /* *pinsrw */
13866 :
13867 1144 : case E_V2HImode:
13868 1144 : if (pattern911 (x3,
13869 : E_V2HImode,
13870 : E_HImode) != 0
13871 1144 : || !insn_condition_530 (operands, insn))
13872 475 : return -1;
13873 : return 2517; /* *pinsrw */
13874 :
13875 0 : case E_V4QImode:
13876 0 : if (pattern911 (x3,
13877 : E_V4QImode,
13878 : E_QImode) != 0
13879 0 : || !insn_condition_531 (operands, insn))
13880 0 : return -1;
13881 : return 2518; /* *pinsrb */
13882 :
13883 : default:
13884 : return -1;
13885 : }
13886 :
13887 3026 : case SS_TRUNCATE:
13888 3026 : switch (pattern125 (x3))
13889 : {
13890 66 : case 0:
13891 66 : if (!insn_condition_532 (operands, insn))
13892 0 : return -1;
13893 : return 5988; /* avx512vl_ss_truncatev2div2qi2_mask_store_1 */
13894 :
13895 75 : case 1:
13896 75 : if (!insn_condition_532 (operands, insn))
13897 0 : return -1;
13898 : return 6015; /* avx512vl_ss_truncatev4siv4qi2_mask_store_1 */
13899 :
13900 66 : case 2:
13901 66 : if (!insn_condition_532 (operands, insn))
13902 0 : return -1;
13903 : return 6018; /* avx512vl_ss_truncatev4div4qi2_mask_store_1 */
13904 :
13905 79 : case 3:
13906 79 : if (!insn_condition_533 (operands, insn))
13907 0 : return -1;
13908 : return 6045; /* avx512vl_ss_truncatev8hiv8qi2_mask_store_1 */
13909 :
13910 75 : case 4:
13911 75 : if (!insn_condition_532 (operands, insn))
13912 0 : return -1;
13913 : return 6048; /* avx512vl_ss_truncatev8siv8qi2_mask_store_1 */
13914 :
13915 72 : case 5:
13916 72 : if (!insn_condition_27 (operands, insn))
13917 0 : return -1;
13918 : return 6140; /* avx512f_ss_truncatev8div16qi2_mask_store_1 */
13919 :
13920 75 : case 6:
13921 75 : if (!insn_condition_532 (operands, insn))
13922 0 : return -1;
13923 : return 6085; /* avx512vl_ss_truncatev4siv4hi2_mask_store_1 */
13924 :
13925 69 : case 7:
13926 69 : if (!insn_condition_532 (operands, insn))
13927 0 : return -1;
13928 : return 6088; /* avx512vl_ss_truncatev4div4hi2_mask_store_1 */
13929 :
13930 70 : case 8:
13931 70 : if (!insn_condition_532 (operands, insn))
13932 0 : return -1;
13933 : return 6103; /* avx512vl_ss_truncatev2div2hi2_mask_store_1 */
13934 :
13935 65 : case 9:
13936 65 : if (!insn_condition_532 (operands, insn))
13937 0 : return -1;
13938 : return 6122; /* avx512vl_ss_truncatev2div2si2_mask_store_1 */
13939 :
13940 : default:
13941 : return -1;
13942 : }
13943 :
13944 6677 : case TRUNCATE:
13945 6677 : switch (pattern125 (x3))
13946 : {
13947 70 : case 0:
13948 70 : if (!insn_condition_532 (operands, insn))
13949 0 : return -1;
13950 : return 5989; /* avx512vl_truncatev2div2qi2_mask_store_1 */
13951 :
13952 75 : case 1:
13953 75 : if (!insn_condition_532 (operands, insn))
13954 0 : return -1;
13955 : return 6016; /* avx512vl_truncatev4siv4qi2_mask_store_1 */
13956 :
13957 70 : case 2:
13958 70 : if (!insn_condition_532 (operands, insn))
13959 0 : return -1;
13960 : return 6019; /* avx512vl_truncatev4div4qi2_mask_store_1 */
13961 :
13962 79 : case 3:
13963 79 : if (!insn_condition_533 (operands, insn))
13964 0 : return -1;
13965 : return 6046; /* avx512vl_truncatev8hiv8qi2_mask_store_1 */
13966 :
13967 75 : case 4:
13968 75 : if (!insn_condition_532 (operands, insn))
13969 0 : return -1;
13970 : return 6049; /* avx512vl_truncatev8siv8qi2_mask_store_1 */
13971 :
13972 74 : case 5:
13973 74 : if (!insn_condition_27 (operands, insn))
13974 0 : return -1;
13975 : return 6141; /* avx512f_truncatev8div16qi2_mask_store_1 */
13976 :
13977 76 : case 6:
13978 76 : if (!insn_condition_532 (operands, insn))
13979 0 : return -1;
13980 : return 6086; /* avx512vl_truncatev4siv4hi2_mask_store_1 */
13981 :
13982 70 : case 7:
13983 70 : if (!insn_condition_532 (operands, insn))
13984 0 : return -1;
13985 : return 6089; /* avx512vl_truncatev4div4hi2_mask_store_1 */
13986 :
13987 71 : case 8:
13988 71 : if (!insn_condition_532 (operands, insn))
13989 0 : return -1;
13990 : return 6104; /* avx512vl_truncatev2div2hi2_mask_store_1 */
13991 :
13992 65 : case 9:
13993 65 : if (!insn_condition_532 (operands, insn))
13994 0 : return -1;
13995 : return 6123; /* avx512vl_truncatev2div2si2_mask_store_1 */
13996 :
13997 : default:
13998 : return -1;
13999 : }
14000 :
14001 3023 : case US_TRUNCATE:
14002 3023 : switch (pattern125 (x3))
14003 : {
14004 69 : case 0:
14005 69 : if (!insn_condition_532 (operands, insn))
14006 0 : return -1;
14007 : return 5990; /* avx512vl_us_truncatev2div2qi2_mask_store_1 */
14008 :
14009 76 : case 1:
14010 76 : if (!insn_condition_532 (operands, insn))
14011 0 : return -1;
14012 : return 6017; /* avx512vl_us_truncatev4siv4qi2_mask_store_1 */
14013 :
14014 69 : case 2:
14015 69 : if (!insn_condition_532 (operands, insn))
14016 0 : return -1;
14017 : return 6020; /* avx512vl_us_truncatev4div4qi2_mask_store_1 */
14018 :
14019 79 : case 3:
14020 79 : if (!insn_condition_533 (operands, insn))
14021 0 : return -1;
14022 : return 6047; /* avx512vl_us_truncatev8hiv8qi2_mask_store_1 */
14023 :
14024 76 : case 4:
14025 76 : if (!insn_condition_532 (operands, insn))
14026 0 : return -1;
14027 : return 6050; /* avx512vl_us_truncatev8siv8qi2_mask_store_1 */
14028 :
14029 76 : case 5:
14030 76 : if (!insn_condition_27 (operands, insn))
14031 0 : return -1;
14032 : return 6142; /* avx512f_us_truncatev8div16qi2_mask_store_1 */
14033 :
14034 75 : case 6:
14035 75 : if (!insn_condition_532 (operands, insn))
14036 0 : return -1;
14037 : return 6087; /* avx512vl_us_truncatev4siv4hi2_mask_store_1 */
14038 :
14039 69 : case 7:
14040 69 : if (!insn_condition_532 (operands, insn))
14041 0 : return -1;
14042 : return 6090; /* avx512vl_us_truncatev4div4hi2_mask_store_1 */
14043 :
14044 69 : case 8:
14045 69 : if (!insn_condition_532 (operands, insn))
14046 0 : return -1;
14047 : return 6105; /* avx512vl_us_truncatev2div2hi2_mask_store_1 */
14048 :
14049 65 : case 9:
14050 65 : if (!insn_condition_532 (operands, insn))
14051 0 : return -1;
14052 : return 6124; /* avx512vl_us_truncatev2div2si2_mask_store_1 */
14053 :
14054 : default:
14055 : return -1;
14056 : }
14057 :
14058 158328 : case UNSPEC:
14059 158328 : if (XVECLEN (x4, 0) != 1
14060 65770 : || XINT (x4, 1) != 302)
14061 : return -1;
14062 428 : x8 = XVECEXP (x4, 0, 0);
14063 428 : operands[1] = x8;
14064 428 : x5 = XEXP (x3, 2);
14065 428 : operands[2] = x5;
14066 428 : if (!register_operand (operands[2], E_QImode))
14067 : return -1;
14068 172 : x6 = XEXP (x3, 1);
14069 172 : if (!rtx_equal_p (x6, operands[0]))
14070 : return -1;
14071 148 : switch (GET_MODE (operands[0]))
14072 : {
14073 74 : case E_V8QImode:
14074 74 : if (pattern1126 (x3,
14075 : E_V8SImode,
14076 : E_V8QImode) != 0
14077 74 : || !insn_condition_155 (operands, insn))
14078 3 : return -1;
14079 : return 9807; /* avx10v2aux_sym_truncatev8siv8qi2_mask_store_1 */
14080 :
14081 74 : case E_V4QImode:
14082 74 : if (pattern1126 (x3,
14083 : E_V4SImode,
14084 : E_V4QImode) != 0
14085 74 : || !insn_condition_156 (operands, insn))
14086 3 : return -1;
14087 : return 9808; /* avx10v2aux_sym_truncatev4siv4qi2_mask_store_1 */
14088 :
14089 : default:
14090 : return -1;
14091 : }
14092 :
14093 : default:
14094 : return -1;
14095 : }
14096 : }
14097 :
14098 : int
14099 0 : recog_74 (rtx x1 ATTRIBUTE_UNUSED,
14100 : rtx_insn *insn ATTRIBUTE_UNUSED,
14101 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14102 : {
14103 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14104 0 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14105 0 : rtx x10, x11;
14106 0 : int res ATTRIBUTE_UNUSED;
14107 0 : x2 = XEXP (x1, 1);
14108 0 : x3 = XEXP (x2, 0);
14109 0 : x4 = XEXP (x3, 1);
14110 0 : x5 = XEXP (x4, 0);
14111 0 : operands[2] = x5;
14112 0 : x6 = XEXP (x3, 0);
14113 0 : if (!rtx_equal_p (x6, operands[0]))
14114 : return -1;
14115 0 : x7 = XEXP (x2, 1);
14116 0 : x8 = XEXP (x7, 0);
14117 0 : x9 = XEXP (x8, 1);
14118 0 : x10 = XEXP (x9, 1);
14119 0 : x11 = XEXP (x10, 0);
14120 0 : if (!rtx_equal_p (x11, operands[2]))
14121 : return -1;
14122 0 : if (insn_condition_562 (operands, insn))
14123 : return 1098; /* *x86_64_shld_nf */
14124 0 : if (pnum_clobbers == NULL
14125 0 : || !insn_condition_563 (operands, insn))
14126 : return -1;
14127 0 : *pnum_clobbers = 1;
14128 0 : return 1099; /* *x86_64_shld */
14129 : }
14130 :
14131 : int
14132 4235 : recog_76 (rtx x1 ATTRIBUTE_UNUSED,
14133 : rtx_insn *insn ATTRIBUTE_UNUSED,
14134 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14135 : {
14136 4235 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14137 4235 : rtx x2, x3, x4;
14138 4235 : int res ATTRIBUTE_UNUSED;
14139 4235 : x2 = XEXP (x1, 1);
14140 4235 : switch (pattern139 (x2,
14141 : ASHIFT))
14142 : {
14143 0 : case 0:
14144 0 : x3 = XEXP (x2, 0);
14145 0 : x4 = XEXP (x3, 1);
14146 0 : operands[2] = x4;
14147 0 : if (pattern1406 (x2) == 0)
14148 : {
14149 0 : if (insn_condition_564 (operands, insn))
14150 : return 1238; /* *x86_64_shrd_1_nf */
14151 0 : if (pnum_clobbers != NULL
14152 0 : && insn_condition_565 (operands, insn))
14153 : {
14154 0 : *pnum_clobbers = 1;
14155 0 : return 1239; /* *x86_64_shrd_1 */
14156 : }
14157 : }
14158 0 : operands[3] = x4;
14159 0 : if (pattern1407 (x2) != 0)
14160 : return -1;
14161 0 : if (insn_condition_566 (operands, insn))
14162 : return 1244; /* *x86_64_shrd_ndd_1_nf */
14163 0 : if (pnum_clobbers == NULL
14164 0 : || !insn_condition_567 (operands, insn))
14165 : return -1;
14166 0 : *pnum_clobbers = 1;
14167 0 : return 1245; /* *x86_64_shrd_ndd_1 */
14168 :
14169 0 : case 1:
14170 0 : x3 = XEXP (x2, 0);
14171 0 : x4 = XEXP (x3, 1);
14172 0 : operands[2] = x4;
14173 0 : if (pattern1408 (x2) == 0)
14174 : {
14175 0 : if (insn_condition_568 (operands, insn))
14176 : return 1274; /* *x86_shrd_1_nf */
14177 0 : if (pnum_clobbers != NULL
14178 0 : && insn_condition_569 (operands, insn))
14179 : {
14180 0 : *pnum_clobbers = 1;
14181 0 : return 1275; /* *x86_shrd_1 */
14182 : }
14183 : }
14184 0 : operands[3] = x4;
14185 0 : if (pattern1409 (x2) != 0)
14186 : return -1;
14187 0 : if (insn_condition_570 (operands, insn))
14188 : return 1280; /* *x86_shrd_ndd_1_nf */
14189 0 : if (pnum_clobbers == NULL
14190 0 : || !insn_condition_571 (operands, insn))
14191 : return -1;
14192 0 : *pnum_clobbers = 1;
14193 0 : return 1281; /* *x86_shrd_ndd_1 */
14194 :
14195 : default:
14196 : return -1;
14197 : }
14198 : }
14199 :
14200 : int
14201 5778 : recog_79 (rtx x1 ATTRIBUTE_UNUSED,
14202 : rtx_insn *insn ATTRIBUTE_UNUSED,
14203 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14204 : {
14205 5778 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14206 5778 : rtx x2, x3, x4, x5;
14207 5778 : int res ATTRIBUTE_UNUSED;
14208 5778 : x2 = XEXP (x1, 1);
14209 5778 : if (GET_MODE (x2) != E_DImode)
14210 : return -1;
14211 5778 : x3 = XEXP (x2, 0);
14212 5778 : x4 = XEXP (x3, 0);
14213 5778 : operands[1] = x4;
14214 5778 : if (!nonimmediate_operand (operands[1], E_SImode))
14215 : return -1;
14216 4363 : x5 = XEXP (x3, 1);
14217 4363 : operands[2] = x5;
14218 4363 : switch (GET_CODE (operands[2]))
14219 : {
14220 4286 : case CONST_INT:
14221 4286 : if (pnum_clobbers == NULL
14222 4233 : || !const_int_operand (operands[2], E_QImode)
14223 8519 : || !insn_condition_611 (operands, insn))
14224 : return -1;
14225 2 : *pnum_clobbers = 1;
14226 2 : return 1302; /* *ashrsi3_cvt_zext */
14227 :
14228 29 : case REG:
14229 29 : case SUBREG:
14230 29 : if (!register_operand (operands[2], E_SImode)
14231 29 : || !insn_condition_612 (operands, insn))
14232 29 : return -1;
14233 : return 1317; /* *bmi2_ashrsi3_1_zext */
14234 :
14235 : default:
14236 : return -1;
14237 : }
14238 : }
14239 :
14240 : int
14241 1061 : recog_80 (rtx x1 ATTRIBUTE_UNUSED,
14242 : rtx_insn *insn ATTRIBUTE_UNUSED,
14243 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14244 : {
14245 1061 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14246 1061 : rtx x2, x3, x4, x5, x6, x7;
14247 1061 : int res ATTRIBUTE_UNUSED;
14248 1061 : x2 = XEXP (x1, 1);
14249 1061 : x3 = XEXP (x2, 0);
14250 1061 : x4 = XVECEXP (x3, 0, 1);
14251 1061 : operands[2] = x4;
14252 1061 : switch (XINT (x3, 1))
14253 : {
14254 9 : case 91:
14255 9 : if (pattern647 (x2,
14256 : E_QImode) != 0
14257 9 : || !insn_condition_613 (operands, insn))
14258 5 : return -1;
14259 : return 2048; /* *sse4_2_crc32qi_zext */
14260 :
14261 339 : case 94:
14262 339 : if (pattern647 (x2,
14263 : E_DImode) != 0
14264 339 : || !insn_condition_613 (operands, insn))
14265 45 : return -1;
14266 : return 2051; /* sse4_2_crc32di */
14267 :
14268 498 : case 177:
14269 498 : if (GET_MODE (x3) != E_SImode
14270 34 : || !register_operand (operands[0], E_DImode)
14271 532 : || GET_MODE (x2) != E_DImode)
14272 : return -1;
14273 34 : x5 = XVECEXP (x3, 0, 0);
14274 34 : if (GET_MODE (x5) != E_SImode)
14275 : return -1;
14276 34 : switch (GET_CODE (x5))
14277 : {
14278 34 : case UNSPEC:
14279 34 : if (XVECLEN (x5, 0) != 1)
14280 : return -1;
14281 34 : switch (XINT (x5, 1))
14282 : {
14283 6 : case 155:
14284 6 : x6 = XVECEXP (x5, 0, 0);
14285 6 : switch (pattern1410 (x6))
14286 : {
14287 2 : case 0:
14288 2 : if (!insn_condition_614 (operands, insn))
14289 0 : return -1;
14290 : return 4705; /* *avx512fp16_vcvtsh2usi_round_zext */
14291 :
14292 2 : case 1:
14293 2 : if (!insn_condition_615 (operands, insn))
14294 0 : return -1;
14295 : return 5078; /* *avx512f_vcvtss2usi_round_zext */
14296 :
14297 2 : case 2:
14298 2 : if (!insn_condition_615 (operands, insn))
14299 0 : return -1;
14300 : return 5096; /* *avx512f_vcvtsd2usi_round_zext */
14301 :
14302 : default:
14303 : return -1;
14304 : }
14305 :
14306 10 : case 43:
14307 10 : x6 = XVECEXP (x5, 0, 0);
14308 10 : switch (pattern1410 (x6))
14309 : {
14310 2 : case 0:
14311 2 : if (!insn_condition_614 (operands, insn))
14312 0 : return -1;
14313 : return 4707; /* *avx512fp16_vcvtsh2si_round_zext */
14314 :
14315 4 : case 1:
14316 4 : if (!insn_condition_616 (operands, insn))
14317 0 : return -1;
14318 : return 4960; /* *sse_cvtss2si_round_zext */
14319 :
14320 4 : case 2:
14321 4 : if (!insn_condition_617 (operands, insn))
14322 0 : return -1;
14323 : return 5114; /* *sse2_cvtsd2si_round_zext */
14324 :
14325 : default:
14326 : return -1;
14327 : }
14328 :
14329 4 : case 171:
14330 4 : x6 = XVECEXP (x5, 0, 0);
14331 4 : switch (pattern1411 (x6))
14332 : {
14333 2 : case 0:
14334 2 : if (!insn_condition_614 (operands, insn))
14335 0 : return -1;
14336 : return 4863; /* *unspec_avx512fp16_fix_truncsi2_round_zext */
14337 :
14338 2 : case 1:
14339 2 : if (!insn_condition_616 (operands, insn))
14340 0 : return -1;
14341 : return 4969; /* *unspec_sse_cvttss2si_round_zext */
14342 :
14343 0 : case 2:
14344 0 : if (!insn_condition_617 (operands, insn))
14345 0 : return -1;
14346 : return 5123; /* *unspec_sse2_cvttsd2si_round_zext */
14347 :
14348 : default:
14349 : return -1;
14350 : }
14351 :
14352 6 : case 172:
14353 6 : x6 = XVECEXP (x5, 0, 0);
14354 6 : switch (pattern1411 (x6))
14355 : {
14356 2 : case 0:
14357 2 : if (!insn_condition_614 (operands, insn))
14358 0 : return -1;
14359 : return 4865; /* *unspec_avx512fp16_fixuns_truncsi2_round_zext */
14360 :
14361 2 : case 1:
14362 2 : if (!insn_condition_615 (operands, insn))
14363 0 : return -1;
14364 : return 5084; /* *unspec_avx512f_vcvttss2usi_round_zext */
14365 :
14366 2 : case 2:
14367 2 : if (!insn_condition_615 (operands, insn))
14368 0 : return -1;
14369 : return 5102; /* *unspec_avx512f_vcvttsd2usi_round_zext */
14370 :
14371 : default:
14372 : return -1;
14373 : }
14374 :
14375 4 : case 274:
14376 4 : x6 = XVECEXP (x5, 0, 0);
14377 4 : switch (pattern1412 (x6))
14378 : {
14379 2 : case 0:
14380 2 : if (!insn_condition_618 (operands, insn))
14381 0 : return -1;
14382 : return 9586; /* *avx10_2_vcvttsd2sissi_round_zext */
14383 :
14384 2 : case 1:
14385 2 : if (!insn_condition_618 (operands, insn))
14386 0 : return -1;
14387 : return 9598; /* *avx10_2_vcvttss2sissi_round_zext */
14388 :
14389 : default:
14390 : return -1;
14391 : }
14392 :
14393 4 : case 275:
14394 4 : x6 = XVECEXP (x5, 0, 0);
14395 4 : switch (pattern1412 (x6))
14396 : {
14397 2 : case 0:
14398 2 : if (!insn_condition_618 (operands, insn))
14399 0 : return -1;
14400 : return 9588; /* *avx10_2_vcvttsd2usissi_round_zext */
14401 :
14402 2 : case 1:
14403 2 : if (!insn_condition_618 (operands, insn))
14404 0 : return -1;
14405 : return 9600; /* *avx10_2_vcvttss2usissi_round_zext */
14406 :
14407 : default:
14408 : return -1;
14409 : }
14410 :
14411 : default:
14412 : return -1;
14413 : }
14414 :
14415 0 : case FIX:
14416 0 : x7 = XEXP (x5, 0);
14417 0 : switch (pattern1245 (x7))
14418 : {
14419 0 : case 0:
14420 0 : if (!insn_condition_616 (operands, insn))
14421 0 : return -1;
14422 : return 4975; /* *sse_cvttss2si_round_zext */
14423 :
14424 0 : case 1:
14425 0 : if (!insn_condition_617 (operands, insn))
14426 0 : return -1;
14427 : return 5129; /* *sse2_cvttsd2si_round_zext */
14428 :
14429 : default:
14430 : return -1;
14431 : }
14432 :
14433 0 : case UNSIGNED_FIX:
14434 0 : x7 = XEXP (x5, 0);
14435 0 : switch (pattern1245 (x7))
14436 : {
14437 0 : case 0:
14438 0 : if (!insn_condition_615 (operands, insn))
14439 0 : return -1;
14440 : return 5090; /* *avx512f_vcvttss2usi_round_zext */
14441 :
14442 0 : case 1:
14443 0 : if (!insn_condition_615 (operands, insn))
14444 0 : return -1;
14445 : return 5108; /* *avx512f_vcvttsd2usi_round_zext */
14446 :
14447 : default:
14448 : return -1;
14449 : }
14450 :
14451 : default:
14452 : return -1;
14453 : }
14454 :
14455 0 : case 157:
14456 0 : switch (pattern652 (x2))
14457 : {
14458 : case 0:
14459 : if (!insn_condition_619 (operands, insn))
14460 : return -1;
14461 : return 6822; /* *avx512bw_testmv64qi3_zext */
14462 :
14463 0 : case 1:
14464 0 : if (!insn_condition_620 (operands, insn))
14465 0 : return -1;
14466 : return 6825; /* *avx512vl_testmv32qi3_zext */
14467 :
14468 0 : case 2:
14469 0 : if (!insn_condition_621 (operands, insn))
14470 0 : return -1;
14471 : return 6831; /* *avx512bw_testmv32hi3_zext */
14472 :
14473 0 : case 3:
14474 0 : if (!insn_condition_622 (operands, insn))
14475 0 : return -1;
14476 : return 6828; /* *avx512vl_testmv16qi3_zext */
14477 :
14478 0 : case 4:
14479 0 : if (!insn_condition_622 (operands, insn))
14480 0 : return -1;
14481 : return 6834; /* *avx512vl_testmv16hi3_zext */
14482 :
14483 0 : case 5:
14484 0 : if (!insn_condition_623 (operands, insn))
14485 0 : return -1;
14486 : return 6840; /* *avx512f_testmv16si3_zext */
14487 :
14488 0 : case 6:
14489 0 : if (!insn_condition_624 (operands, insn))
14490 0 : return -1;
14491 : return 6837; /* *avx512vl_testmv8hi3_zext */
14492 :
14493 0 : case 7:
14494 0 : if (!insn_condition_625 (operands, insn))
14495 0 : return -1;
14496 : return 6843; /* *avx512vl_testmv8si3_zext */
14497 :
14498 0 : case 8:
14499 0 : if (!insn_condition_625 (operands, insn))
14500 0 : return -1;
14501 : return 6846; /* *avx512vl_testmv4si3_zext */
14502 :
14503 0 : case 9:
14504 0 : if (!insn_condition_626 (operands, insn))
14505 0 : return -1;
14506 : return 6849; /* *avx512f_testmv8di3_zext */
14507 :
14508 0 : case 10:
14509 0 : if (!insn_condition_625 (operands, insn))
14510 0 : return -1;
14511 : return 6852; /* *avx512vl_testmv4di3_zext */
14512 :
14513 0 : case 11:
14514 0 : if (!insn_condition_625 (operands, insn))
14515 0 : return -1;
14516 : return 6855; /* *avx512vl_testmv2di3_zext */
14517 :
14518 : case 12:
14519 : if (!insn_condition_627 (operands, insn))
14520 : return -1;
14521 : return 6823; /* *avx512bw_testmv64qi3_zext */
14522 :
14523 : case 13:
14524 : if (!insn_condition_628 (operands, insn))
14525 : return -1;
14526 : return 6826; /* *avx512vl_testmv32qi3_zext */
14527 :
14528 : case 14:
14529 : if (!insn_condition_629 (operands, insn))
14530 : return -1;
14531 : return 6832; /* *avx512bw_testmv32hi3_zext */
14532 :
14533 0 : case 15:
14534 0 : if (!insn_condition_630 (operands, insn))
14535 0 : return -1;
14536 : return 6829; /* *avx512vl_testmv16qi3_zext */
14537 :
14538 0 : case 16:
14539 0 : if (!insn_condition_630 (operands, insn))
14540 0 : return -1;
14541 : return 6835; /* *avx512vl_testmv16hi3_zext */
14542 :
14543 0 : case 17:
14544 0 : if (!insn_condition_631 (operands, insn))
14545 0 : return -1;
14546 : return 6841; /* *avx512f_testmv16si3_zext */
14547 :
14548 0 : case 18:
14549 0 : if (!insn_condition_632 (operands, insn))
14550 0 : return -1;
14551 : return 6838; /* *avx512vl_testmv8hi3_zext */
14552 :
14553 0 : case 19:
14554 0 : if (!insn_condition_633 (operands, insn))
14555 0 : return -1;
14556 : return 6844; /* *avx512vl_testmv8si3_zext */
14557 :
14558 0 : case 20:
14559 0 : if (!insn_condition_633 (operands, insn))
14560 0 : return -1;
14561 : return 6847; /* *avx512vl_testmv4si3_zext */
14562 :
14563 0 : case 21:
14564 0 : if (!insn_condition_634 (operands, insn))
14565 0 : return -1;
14566 : return 6850; /* *avx512f_testmv8di3_zext */
14567 :
14568 0 : case 22:
14569 0 : if (!insn_condition_633 (operands, insn))
14570 0 : return -1;
14571 : return 6853; /* *avx512vl_testmv4di3_zext */
14572 :
14573 0 : case 23:
14574 0 : if (!insn_condition_633 (operands, insn))
14575 0 : return -1;
14576 : return 6856; /* *avx512vl_testmv2di3_zext */
14577 :
14578 : default:
14579 : return -1;
14580 : }
14581 :
14582 1 : case 158:
14583 1 : switch (pattern652 (x2))
14584 : {
14585 : case 0:
14586 : if (!insn_condition_619 (operands, insn))
14587 : return -1;
14588 : return 6894; /* *avx512bw_testnmv64qi3_zext */
14589 :
14590 0 : case 1:
14591 0 : if (!insn_condition_620 (operands, insn))
14592 0 : return -1;
14593 : return 6897; /* *avx512vl_testnmv32qi3_zext */
14594 :
14595 0 : case 2:
14596 0 : if (!insn_condition_621 (operands, insn))
14597 0 : return -1;
14598 : return 6903; /* *avx512bw_testnmv32hi3_zext */
14599 :
14600 0 : case 3:
14601 0 : if (!insn_condition_622 (operands, insn))
14602 0 : return -1;
14603 : return 6900; /* *avx512vl_testnmv16qi3_zext */
14604 :
14605 0 : case 4:
14606 0 : if (!insn_condition_622 (operands, insn))
14607 0 : return -1;
14608 : return 6906; /* *avx512vl_testnmv16hi3_zext */
14609 :
14610 0 : case 5:
14611 0 : if (!insn_condition_623 (operands, insn))
14612 0 : return -1;
14613 : return 6912; /* *avx512f_testnmv16si3_zext */
14614 :
14615 0 : case 6:
14616 0 : if (!insn_condition_624 (operands, insn))
14617 0 : return -1;
14618 : return 6909; /* *avx512vl_testnmv8hi3_zext */
14619 :
14620 0 : case 7:
14621 0 : if (!insn_condition_625 (operands, insn))
14622 0 : return -1;
14623 : return 6915; /* *avx512vl_testnmv8si3_zext */
14624 :
14625 0 : case 8:
14626 0 : if (!insn_condition_625 (operands, insn))
14627 0 : return -1;
14628 : return 6918; /* *avx512vl_testnmv4si3_zext */
14629 :
14630 0 : case 9:
14631 0 : if (!insn_condition_626 (operands, insn))
14632 0 : return -1;
14633 : return 6921; /* *avx512f_testnmv8di3_zext */
14634 :
14635 0 : case 10:
14636 0 : if (!insn_condition_625 (operands, insn))
14637 0 : return -1;
14638 : return 6924; /* *avx512vl_testnmv4di3_zext */
14639 :
14640 0 : case 11:
14641 0 : if (!insn_condition_625 (operands, insn))
14642 0 : return -1;
14643 : return 6927; /* *avx512vl_testnmv2di3_zext */
14644 :
14645 : case 12:
14646 : if (!insn_condition_627 (operands, insn))
14647 : return -1;
14648 : return 6895; /* *avx512bw_testnmv64qi3_zext */
14649 :
14650 : case 13:
14651 : if (!insn_condition_628 (operands, insn))
14652 : return -1;
14653 : return 6898; /* *avx512vl_testnmv32qi3_zext */
14654 :
14655 : case 14:
14656 : if (!insn_condition_629 (operands, insn))
14657 : return -1;
14658 : return 6904; /* *avx512bw_testnmv32hi3_zext */
14659 :
14660 0 : case 15:
14661 0 : if (!insn_condition_630 (operands, insn))
14662 0 : return -1;
14663 : return 6901; /* *avx512vl_testnmv16qi3_zext */
14664 :
14665 0 : case 16:
14666 0 : if (!insn_condition_630 (operands, insn))
14667 0 : return -1;
14668 : return 6907; /* *avx512vl_testnmv16hi3_zext */
14669 :
14670 0 : case 17:
14671 0 : if (!insn_condition_631 (operands, insn))
14672 0 : return -1;
14673 : return 6913; /* *avx512f_testnmv16si3_zext */
14674 :
14675 0 : case 18:
14676 0 : if (!insn_condition_632 (operands, insn))
14677 0 : return -1;
14678 : return 6910; /* *avx512vl_testnmv8hi3_zext */
14679 :
14680 0 : case 19:
14681 0 : if (!insn_condition_633 (operands, insn))
14682 0 : return -1;
14683 : return 6916; /* *avx512vl_testnmv8si3_zext */
14684 :
14685 0 : case 20:
14686 0 : if (!insn_condition_633 (operands, insn))
14687 0 : return -1;
14688 : return 6919; /* *avx512vl_testnmv4si3_zext */
14689 :
14690 0 : case 21:
14691 0 : if (!insn_condition_634 (operands, insn))
14692 0 : return -1;
14693 : return 6922; /* *avx512f_testnmv8di3_zext */
14694 :
14695 0 : case 22:
14696 0 : if (!insn_condition_633 (operands, insn))
14697 0 : return -1;
14698 : return 6925; /* *avx512vl_testnmv4di3_zext */
14699 :
14700 0 : case 23:
14701 0 : if (!insn_condition_633 (operands, insn))
14702 0 : return -1;
14703 : return 6928; /* *avx512vl_testnmv2di3_zext */
14704 :
14705 : default:
14706 : return -1;
14707 : }
14708 :
14709 : default:
14710 : return -1;
14711 : }
14712 : }
14713 :
14714 : int
14715 7264 : recog_86 (rtx x1 ATTRIBUTE_UNUSED,
14716 : rtx_insn *insn ATTRIBUTE_UNUSED,
14717 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14718 : {
14719 7264 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14720 7264 : rtx x2, x3, x4, x5, x6;
14721 7264 : int res ATTRIBUTE_UNUSED;
14722 7264 : x2 = XEXP (x1, 1);
14723 7264 : x3 = XEXP (x2, 0);
14724 7264 : x4 = XEXP (x3, 0);
14725 7264 : switch (GET_CODE (x4))
14726 : {
14727 6463 : case REG:
14728 6463 : case SUBREG:
14729 6463 : case MEM:
14730 6463 : switch (pattern133 (x2, pnum_clobbers))
14731 : {
14732 3583 : case 0:
14733 3583 : if (insn_condition_293 (operands, insn))
14734 : return 881; /* *xorqi_1_zextsi_nf */
14735 3583 : if (pnum_clobbers == NULL
14736 3583 : || !insn_condition_294 (operands, insn))
14737 : return -1;
14738 4 : *pnum_clobbers = 1;
14739 4 : return 882; /* *xorqi_1_zextsi */
14740 :
14741 274 : case 1:
14742 274 : if (insn_condition_293 (operands, insn))
14743 : return 889; /* *xorhi_1_zextsi_nf */
14744 274 : if (pnum_clobbers == NULL
14745 274 : || !insn_condition_294 (operands, insn))
14746 : return -1;
14747 4 : *pnum_clobbers = 1;
14748 4 : return 890; /* *xorhi_1_zextsi */
14749 :
14750 1091 : case 2:
14751 1091 : if (insn_condition_293 (operands, insn))
14752 : return 885; /* *xorqi_1_zextdi_nf */
14753 1090 : if (pnum_clobbers == NULL
14754 1090 : || !insn_condition_294 (operands, insn))
14755 : return -1;
14756 4 : *pnum_clobbers = 1;
14757 4 : return 886; /* *xorqi_1_zextdi */
14758 :
14759 22 : case 3:
14760 22 : if (insn_condition_293 (operands, insn))
14761 : return 893; /* *xorhi_1_zextdi_nf */
14762 21 : if (pnum_clobbers == NULL
14763 21 : || !insn_condition_294 (operands, insn))
14764 : return -1;
14765 4 : *pnum_clobbers = 1;
14766 4 : return 894; /* *xorhi_1_zextdi */
14767 :
14768 792 : case 4:
14769 792 : if (!insn_condition_711 (operands, insn))
14770 : return -1;
14771 716 : *pnum_clobbers = 1;
14772 716 : return 896; /* *xorsi_1_zext */
14773 :
14774 : default:
14775 : return -1;
14776 : }
14777 :
14778 75 : case MINUS:
14779 75 : if (pnum_clobbers == NULL
14780 75 : || pattern474 (x3) != 0
14781 47 : || !register_operand (operands[0], E_DImode)
14782 47 : || GET_MODE (x2) != E_DImode
14783 122 : || GET_MODE (x3) != E_SImode)
14784 : return -1;
14785 47 : x5 = XEXP (x4, 1);
14786 47 : x6 = XEXP (x5, 0);
14787 47 : operands[1] = x6;
14788 47 : if (!nonimmediate_operand (operands[1], E_SImode)
14789 47 : || !insn_condition_712 (operands, insn))
14790 : return -1;
14791 4 : *pnum_clobbers = 1;
14792 4 : return 1669; /* *bsru_2 */
14793 :
14794 : default:
14795 : return -1;
14796 : }
14797 : }
14798 :
14799 : int
14800 12144 : recog_87 (rtx x1 ATTRIBUTE_UNUSED,
14801 : rtx_insn *insn ATTRIBUTE_UNUSED,
14802 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14803 : {
14804 12144 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14805 12144 : rtx x2, x3, x4, x5;
14806 12144 : int res ATTRIBUTE_UNUSED;
14807 12144 : x2 = XEXP (x1, 1);
14808 12144 : x3 = XEXP (x2, 0);
14809 12144 : x4 = XEXP (x3, 0);
14810 12144 : operands[1] = x4;
14811 12144 : x5 = XEXP (x3, 1);
14812 12144 : operands[2] = x5;
14813 12144 : switch (GET_MODE (operands[0]))
14814 : {
14815 799 : case E_SImode:
14816 799 : if (!register_operand (operands[0], E_SImode)
14817 799 : || GET_MODE (x2) != E_SImode
14818 799 : || GET_MODE (x3) != E_HImode
14819 595 : || !nonimmediate_operand (operands[1], E_HImode)
14820 1340 : || !immediate_operand (operands[2], E_HImode))
14821 : return -1;
14822 208 : if (insn_condition_713 (operands, insn))
14823 : return 625; /* *imulhisizu_nf */
14824 208 : if (pnum_clobbers == NULL
14825 208 : || !insn_condition_714 (operands, insn))
14826 : return -1;
14827 0 : *pnum_clobbers = 1;
14828 0 : return 626; /* *imulhisizu */
14829 :
14830 9642 : case E_DImode:
14831 9642 : if (!register_operand (operands[0], E_DImode)
14832 9642 : || GET_MODE (x2) != E_DImode)
14833 : return -1;
14834 9607 : switch (GET_MODE (x3))
14835 : {
14836 142 : case E_HImode:
14837 142 : if (!nonimmediate_operand (operands[1], E_HImode)
14838 142 : || !immediate_operand (operands[2], E_HImode))
14839 : return -1;
14840 4 : if (insn_condition_713 (operands, insn))
14841 : return 627; /* *imulhidizu_nf */
14842 0 : if (pnum_clobbers == NULL
14843 0 : || !insn_condition_714 (operands, insn))
14844 : return -1;
14845 0 : *pnum_clobbers = 1;
14846 0 : return 628; /* *imulhidizu */
14847 :
14848 9464 : case E_SImode:
14849 9464 : if (!nonimmediate_operand (operands[1], E_SImode)
14850 9464 : || !x86_64_general_operand (operands[2], E_SImode))
14851 : return -1;
14852 7796 : if (insn_condition_715 (operands, insn))
14853 : return 629; /* *mulsi3_1_zext_nf */
14854 7796 : if (pnum_clobbers == NULL
14855 7796 : || !insn_condition_716 (operands, insn))
14856 : return -1;
14857 6975 : *pnum_clobbers = 1;
14858 6975 : return 630; /* *mulsi3_1_zext */
14859 :
14860 : default:
14861 : return -1;
14862 : }
14863 :
14864 : default:
14865 : return -1;
14866 : }
14867 : }
14868 :
14869 : int
14870 5528731 : recog_89 (rtx x1 ATTRIBUTE_UNUSED,
14871 : rtx_insn *insn ATTRIBUTE_UNUSED,
14872 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14873 : {
14874 5528731 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14875 5528731 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14876 5528731 : rtx x10, x11;
14877 5528731 : int res ATTRIBUTE_UNUSED;
14878 5528731 : x2 = XEXP (x1, 1);
14879 5528731 : x3 = XEXP (x2, 0);
14880 5528731 : switch (GET_CODE (x3))
14881 : {
14882 17142 : case NEG:
14883 17142 : if (pnum_clobbers == NULL)
14884 : return -1;
14885 17142 : x4 = XEXP (x1, 0);
14886 17142 : if (GET_CODE (x4) != REG
14887 17142 : || REGNO (x4) != 17)
14888 : return -1;
14889 17142 : x5 = XEXP (x3, 0);
14890 17142 : operands[2] = x5;
14891 17142 : x6 = XEXP (x2, 1);
14892 17142 : operands[1] = x6;
14893 17142 : switch (GET_MODE (x3))
14894 : {
14895 1016 : case E_QImode:
14896 1016 : if (!general_operand (operands[2], E_QImode)
14897 48 : || !nonimmediate_operand (operands[1], E_QImode)
14898 1045 : || !insn_condition_730 (operands, insn))
14899 : return -1;
14900 29 : *pnum_clobbers = 1;
14901 29 : return 319; /* *addqi_3 */
14902 :
14903 611 : case E_HImode:
14904 611 : if (!general_operand (operands[2], E_HImode)
14905 599 : || !nonimmediate_operand (operands[1], E_HImode)
14906 931 : || !insn_condition_730 (operands, insn))
14907 : return -1;
14908 320 : *pnum_clobbers = 1;
14909 320 : return 320; /* *addhi_3 */
14910 :
14911 8052 : case E_SImode:
14912 8052 : if (!x86_64_general_operand (operands[2], E_SImode)
14913 5103 : || !nonimmediate_operand (operands[1], E_SImode)
14914 10324 : || !insn_condition_730 (operands, insn))
14915 : return -1;
14916 1883 : *pnum_clobbers = 1;
14917 1883 : return 321; /* *addsi_3 */
14918 :
14919 7145 : case E_DImode:
14920 7145 : if (!x86_64_general_operand (operands[2], E_DImode)
14921 6258 : || !nonimmediate_operand (operands[1], E_DImode)
14922 10768 : || !insn_condition_731 (operands, insn))
14923 : return -1;
14924 969 : *pnum_clobbers = 1;
14925 969 : return 322; /* *adddi_3 */
14926 :
14927 : default:
14928 : return -1;
14929 : }
14930 :
14931 1620056 : case REG:
14932 1620056 : case SUBREG:
14933 1620056 : case MEM:
14934 1620056 : if (pnum_clobbers == NULL)
14935 : return -1;
14936 1617493 : operands[1] = x3;
14937 1617493 : x4 = XEXP (x1, 0);
14938 1617493 : if (GET_CODE (x4) != REG
14939 1617493 : || REGNO (x4) != 17)
14940 : return -1;
14941 1561882 : x6 = XEXP (x2, 1);
14942 1561882 : operands[2] = x6;
14943 1561882 : switch (GET_MODE (operands[1]))
14944 : {
14945 892057 : case E_DImode:
14946 892057 : if (!nonimmediate_operand (operands[1], E_DImode)
14947 851211 : || !x86_64_immediate_operand (operands[2], E_DImode)
14948 892069 : || !insn_condition_732 (operands, insn))
14949 : return -1;
14950 0 : *pnum_clobbers = 1;
14951 0 : return 324; /* *adddi_4 */
14952 :
14953 135084 : case E_QImode:
14954 135084 : if (!nonimmediate_operand (operands[1], E_QImode)
14955 25494 : || !const_int_operand (operands[2], E_QImode)
14956 135084 : || !insn_condition_733 (operands, insn))
14957 : return -1;
14958 0 : *pnum_clobbers = 1;
14959 0 : return 325; /* *addqi_4 */
14960 :
14961 25647 : case E_HImode:
14962 25647 : if (!nonimmediate_operand (operands[1], E_HImode)
14963 15975 : || !const_int_operand (operands[2], E_HImode)
14964 25647 : || !insn_condition_733 (operands, insn))
14965 : return -1;
14966 0 : *pnum_clobbers = 1;
14967 0 : return 326; /* *addhi_4 */
14968 :
14969 369940 : case E_SImode:
14970 369940 : if (!nonimmediate_operand (operands[1], E_SImode)
14971 215562 : || !const_int_operand (operands[2], E_SImode)
14972 369940 : || !insn_condition_733 (operands, insn))
14973 : return -1;
14974 0 : *pnum_clobbers = 1;
14975 0 : return 327; /* *addsi_4 */
14976 :
14977 : default:
14978 : return -1;
14979 : }
14980 :
14981 884592 : case PLUS:
14982 884592 : if (pnum_clobbers == NULL)
14983 : return -1;
14984 881562 : x4 = XEXP (x1, 0);
14985 881562 : if (GET_CODE (x4) != REG
14986 881562 : || REGNO (x4) != 17)
14987 : return -1;
14988 881554 : x5 = XEXP (x3, 0);
14989 881554 : operands[1] = x5;
14990 881554 : x7 = XEXP (x3, 1);
14991 881554 : operands[2] = x7;
14992 881554 : x6 = XEXP (x2, 1);
14993 881554 : if (x6 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
14994 : {
14995 29989 : switch (pattern51 (x3))
14996 : {
14997 64 : case 0:
14998 64 : if (insn_condition_734 (operands, insn))
14999 : {
15000 36 : *pnum_clobbers = 1;
15001 36 : return 328; /* *addqi_5 */
15002 : }
15003 : break;
15004 :
15005 58 : case 1:
15006 58 : if (insn_condition_734 (operands, insn))
15007 : {
15008 24 : *pnum_clobbers = 1;
15009 24 : return 329; /* *addhi_5 */
15010 : }
15011 : break;
15012 :
15013 9585 : case 2:
15014 9585 : if (insn_condition_734 (operands, insn))
15015 : {
15016 1575 : *pnum_clobbers = 1;
15017 1575 : return 330; /* *addsi_5 */
15018 : }
15019 : break;
15020 :
15021 16097 : case 3:
15022 16097 : if (insn_condition_735 (operands, insn))
15023 : {
15024 10089 : *pnum_clobbers = 1;
15025 10089 : return 331; /* *adddi_5 */
15026 : }
15027 : break;
15028 :
15029 : default:
15030 : break;
15031 : }
15032 : }
15033 869830 : if (GET_MODE (x4) != E_CCCmode
15034 1763 : || GET_MODE (x2) != E_CCCmode
15035 871593 : || !rtx_equal_p (x6, operands[2]))
15036 : return -1;
15037 16 : switch (pattern51 (x3))
15038 : {
15039 0 : case 0:
15040 0 : if (!insn_condition_48 (operands, insn))
15041 : return -1;
15042 0 : *pnum_clobbers = 1;
15043 0 : return 572; /* *addqi3_cconly_overflow_2 */
15044 :
15045 0 : case 1:
15046 0 : if (!insn_condition_48 (operands, insn))
15047 : return -1;
15048 0 : *pnum_clobbers = 1;
15049 0 : return 573; /* *addhi3_cconly_overflow_2 */
15050 :
15051 0 : case 2:
15052 0 : if (!insn_condition_48 (operands, insn))
15053 : return -1;
15054 0 : *pnum_clobbers = 1;
15055 0 : return 574; /* *addsi3_cconly_overflow_2 */
15056 :
15057 1 : case 3:
15058 1 : if (!insn_condition_49 (operands, insn))
15059 : return -1;
15060 1 : *pnum_clobbers = 1;
15061 1 : return 575; /* *adddi3_cconly_overflow_2 */
15062 :
15063 : default:
15064 : return -1;
15065 : }
15066 :
15067 706275 : case AND:
15068 706275 : x6 = XEXP (x2, 1);
15069 706275 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15070 : return -1;
15071 562910 : x4 = XEXP (x1, 0);
15072 562910 : if (GET_CODE (x4) != REG
15073 562910 : || REGNO (x4) != 17)
15074 : return -1;
15075 562910 : x5 = XEXP (x3, 0);
15076 562910 : switch (GET_CODE (x5))
15077 : {
15078 434038 : case REG:
15079 434038 : case SUBREG:
15080 434038 : case MEM:
15081 434038 : operands[0] = x5;
15082 434038 : x7 = XEXP (x3, 1);
15083 434038 : operands[1] = x7;
15084 434038 : switch (GET_MODE (x3))
15085 : {
15086 80541 : case E_DImode:
15087 80541 : if (nonimmediate_operand (operands[0], E_DImode)
15088 79716 : && x86_64_szext_general_operand (operands[1], E_DImode)
15089 143765 : && insn_condition_736 (operands, insn))
15090 : return 714; /* *testdi_1 */
15091 : break;
15092 :
15093 172529 : case E_QImode:
15094 172529 : if (nonimmediate_operand (operands[0], E_QImode)
15095 172529 : && general_operand (operands[1], E_QImode))
15096 : {
15097 151710 : if (insn_condition_737 (operands, insn))
15098 : return 715; /* *testqi_1_maybe_si */
15099 116 : if (insn_condition_738 (operands, insn))
15100 : return 716; /* *testqi_1 */
15101 : }
15102 : break;
15103 :
15104 32490 : case E_HImode:
15105 32490 : if (nonimmediate_operand (operands[0], E_HImode)
15106 26105 : && general_operand (operands[1], E_HImode)
15107 58185 : && insn_condition_738 (operands, insn))
15108 : return 717; /* *testhi_1 */
15109 : break;
15110 :
15111 148437 : case E_SImode:
15112 148437 : if (nonimmediate_operand (operands[0], E_SImode)
15113 126736 : && x86_64_general_operand (operands[1], E_SImode)
15114 271361 : && insn_condition_738 (operands, insn))
15115 : return 718; /* *testsi_1 */
15116 : break;
15117 :
15118 : default:
15119 : break;
15120 : }
15121 75471 : if (GET_CODE (x5) != SUBREG
15122 43245 : || maybe_ne (SUBREG_BYTE (x5), 0)
15123 118712 : || GET_MODE (x5) != E_QImode)
15124 : return -1;
15125 17936 : x8 = XEXP (x5, 0);
15126 17936 : switch (GET_CODE (x8))
15127 : {
15128 15306 : case ASHIFTRT:
15129 15306 : case LSHIFTRT:
15130 15306 : case SIGN_EXTRACT:
15131 15306 : case ZERO_EXTRACT:
15132 15306 : operands[2] = x8;
15133 15306 : if (GET_MODE (x3) != E_QImode)
15134 : return -1;
15135 15306 : x9 = XEXP (x8, 0);
15136 15306 : operands[0] = x9;
15137 15306 : if (!int248_register_operand (operands[0], E_VOIDmode))
15138 : return -1;
15139 14616 : operands[1] = x7;
15140 14616 : if (general_operand (operands[1], E_QImode))
15141 : {
15142 14612 : switch (GET_MODE (operands[2]))
15143 : {
15144 13841 : case E_HImode:
15145 13841 : if (extract_high_operator (operands[2], E_HImode)
15146 27682 : && insn_condition_29 (operands, insn))
15147 : return 719; /* *testqi_exthi_1 */
15148 : break;
15149 :
15150 437 : case E_SImode:
15151 437 : if (extract_high_operator (operands[2], E_SImode)
15152 437 : && insn_condition_29 (operands, insn))
15153 : return 720; /* *testqi_extsi_1 */
15154 : break;
15155 :
15156 334 : case E_DImode:
15157 334 : if (extract_high_operator (operands[2], E_DImode)
15158 334 : && insn_condition_34 (operands, insn))
15159 : return 721; /* *testqi_extdi_1 */
15160 : break;
15161 :
15162 : default:
15163 : break;
15164 : }
15165 : }
15166 775 : if (GET_CODE (x7) != SUBREG
15167 7 : || maybe_ne (SUBREG_BYTE (x7), 0)
15168 782 : || GET_MODE (x7) != E_QImode)
15169 : return -1;
15170 7 : x10 = XEXP (x7, 0);
15171 7 : switch (GET_CODE (x10))
15172 : {
15173 0 : case ASHIFTRT:
15174 0 : case LSHIFTRT:
15175 0 : case SIGN_EXTRACT:
15176 0 : case ZERO_EXTRACT:
15177 0 : operands[3] = x10;
15178 0 : x11 = XEXP (x10, 0);
15179 0 : operands[1] = x11;
15180 0 : if (!int248_register_operand (operands[1], E_VOIDmode))
15181 : return -1;
15182 0 : switch (GET_MODE (operands[2]))
15183 : {
15184 0 : case E_HImode:
15185 0 : if (!extract_high_operator (operands[2], E_HImode)
15186 0 : || !extract_high_operator (operands[3], E_HImode)
15187 0 : || !insn_condition_29 (operands, insn))
15188 0 : return -1;
15189 : return 722; /* *testqi_exthi_2 */
15190 :
15191 0 : case E_SImode:
15192 0 : if (!extract_high_operator (operands[2], E_SImode)
15193 0 : || !extract_high_operator (operands[3], E_SImode)
15194 0 : || !insn_condition_29 (operands, insn))
15195 0 : return -1;
15196 : return 723; /* *testqi_extsi_2 */
15197 :
15198 0 : case E_DImode:
15199 0 : if (!extract_high_operator (operands[2], E_DImode)
15200 0 : || !extract_high_operator (operands[3], E_DImode)
15201 0 : || !insn_condition_34 (operands, insn))
15202 0 : return -1;
15203 : return 724; /* *testqi_extdi_2 */
15204 :
15205 : default:
15206 : return -1;
15207 : }
15208 :
15209 : default:
15210 : return -1;
15211 : }
15212 :
15213 : default:
15214 : return -1;
15215 : }
15216 :
15217 13361 : case NOT:
15218 13361 : if (pnum_clobbers == NULL)
15219 : return -1;
15220 13361 : x8 = XEXP (x5, 0);
15221 13361 : operands[1] = x8;
15222 13361 : x7 = XEXP (x3, 1);
15223 13361 : operands[2] = x7;
15224 13361 : switch (GET_MODE (x3))
15225 : {
15226 7598 : case E_SImode:
15227 7598 : if (GET_MODE (x5) != E_SImode
15228 7598 : || !register_operand (operands[1], E_SImode)
15229 4752 : || !nonimmediate_operand (operands[2], E_SImode)
15230 8582 : || !insn_condition_739 (operands, insn))
15231 : return -1;
15232 4 : *pnum_clobbers = 1;
15233 4 : return 849; /* *andn_si_ccno */
15234 :
15235 4799 : case E_DImode:
15236 4799 : if (GET_MODE (x5) != E_DImode
15237 4799 : || !register_operand (operands[1], E_DImode)
15238 3754 : || !nonimmediate_operand (operands[2], E_DImode)
15239 5921 : || !insn_condition_740 (operands, insn))
15240 : return -1;
15241 247 : *pnum_clobbers = 1;
15242 247 : return 850; /* *andn_di_ccno */
15243 :
15244 : default:
15245 : return -1;
15246 : }
15247 :
15248 1095 : case NEG:
15249 1095 : if (pnum_clobbers == NULL)
15250 : return -1;
15251 1095 : switch (pattern790 (x3))
15252 : {
15253 7 : case 0:
15254 7 : if (!insn_condition_739 (operands, insn))
15255 : return -1;
15256 7 : *pnum_clobbers = 1;
15257 7 : return 1714; /* *bmi_blsi_si_ccno */
15258 :
15259 2 : case 1:
15260 2 : if (!insn_condition_740 (operands, insn))
15261 : return -1;
15262 2 : *pnum_clobbers = 1;
15263 2 : return 1715; /* *bmi_blsi_di_ccno */
15264 :
15265 : default:
15266 : return -1;
15267 : }
15268 :
15269 : default:
15270 : return -1;
15271 : }
15272 :
15273 177754 : case ZERO_EXTRACT:
15274 177754 : switch (pattern50 (x1))
15275 : {
15276 9359 : case 0:
15277 9359 : if (!insn_condition_741 (operands, insn))
15278 0 : return -1;
15279 : return 726; /* *testqi_ext_3 */
15280 :
15281 58641 : case 1:
15282 58641 : if (!insn_condition_742 (operands, insn))
15283 0 : return -1;
15284 : return 727; /* *testqi_ext_3 */
15285 :
15286 26219 : case 2:
15287 26219 : if (!insn_condition_743 (operands, insn))
15288 1642 : return -1;
15289 : return 728; /* *testqi_ext_3 */
15290 :
15291 : default:
15292 : return -1;
15293 : }
15294 :
15295 125428 : case IOR:
15296 125428 : switch (pattern53 (x1, pnum_clobbers))
15297 : {
15298 12640 : case 0:
15299 12640 : if (!insn_condition_744 (operands, insn))
15300 : return -1;
15301 12410 : *pnum_clobbers = 1;
15302 12410 : return 920; /* *iorqi_3 */
15303 :
15304 318 : case 1:
15305 318 : if (!insn_condition_744 (operands, insn))
15306 : return -1;
15307 162 : *pnum_clobbers = 1;
15308 162 : return 922; /* *iorhi_3 */
15309 :
15310 13531 : case 2:
15311 13531 : if (!insn_condition_744 (operands, insn))
15312 : return -1;
15313 9324 : *pnum_clobbers = 1;
15314 9324 : return 924; /* *iorsi_3 */
15315 :
15316 16094 : case 3:
15317 16094 : if (!insn_condition_745 (operands, insn))
15318 : return -1;
15319 10575 : *pnum_clobbers = 1;
15320 10575 : return 926; /* *iordi_3 */
15321 :
15322 : default:
15323 : return -1;
15324 : }
15325 :
15326 13867 : case XOR:
15327 13867 : switch (pattern53 (x1, pnum_clobbers))
15328 : {
15329 3029 : case 0:
15330 3029 : if (!insn_condition_744 (operands, insn))
15331 : return -1;
15332 3029 : *pnum_clobbers = 1;
15333 3029 : return 921; /* *xorqi_3 */
15334 :
15335 129 : case 1:
15336 129 : if (!insn_condition_744 (operands, insn))
15337 : return -1;
15338 129 : *pnum_clobbers = 1;
15339 129 : return 923; /* *xorhi_3 */
15340 :
15341 2684 : case 2:
15342 2684 : if (!insn_condition_744 (operands, insn))
15343 : return -1;
15344 2589 : *pnum_clobbers = 1;
15345 2589 : return 925; /* *xorsi_3 */
15346 :
15347 3246 : case 3:
15348 3246 : if (!insn_condition_745 (operands, insn))
15349 : return -1;
15350 3246 : *pnum_clobbers = 1;
15351 3246 : return 927; /* *xordi_3 */
15352 :
15353 : default:
15354 : return -1;
15355 : }
15356 :
15357 85705 : case ASHIFT:
15358 85705 : switch (pattern54 (x1, pnum_clobbers))
15359 : {
15360 173 : case 0:
15361 173 : if (!insn_condition_746 (operands, insn))
15362 : return -1;
15363 151 : *pnum_clobbers = 1;
15364 151 : return 1199; /* *ashlqi3_cconly */
15365 :
15366 85 : case 1:
15367 85 : if (!insn_condition_746 (operands, insn))
15368 : return -1;
15369 63 : *pnum_clobbers = 1;
15370 63 : return 1200; /* *ashlhi3_cconly */
15371 :
15372 933 : case 2:
15373 933 : if (!insn_condition_746 (operands, insn))
15374 : return -1;
15375 813 : *pnum_clobbers = 1;
15376 813 : return 1201; /* *ashlsi3_cconly */
15377 :
15378 10946 : case 3:
15379 10946 : if (!insn_condition_747 (operands, insn))
15380 : return -1;
15381 10530 : *pnum_clobbers = 1;
15382 10530 : return 1202; /* *ashldi3_cconly */
15383 :
15384 : default:
15385 : return -1;
15386 : }
15387 :
15388 38172 : case LSHIFTRT:
15389 38172 : switch (pattern54 (x1, pnum_clobbers))
15390 : {
15391 205 : case 0:
15392 205 : if (!insn_condition_746 (operands, insn))
15393 : return -1;
15394 205 : *pnum_clobbers = 1;
15395 205 : return 1362; /* *lshrqi3_cconly */
15396 :
15397 645 : case 1:
15398 645 : if (!insn_condition_746 (operands, insn))
15399 : return -1;
15400 645 : *pnum_clobbers = 1;
15401 645 : return 1364; /* *lshrhi3_cconly */
15402 :
15403 1023 : case 2:
15404 1023 : if (!insn_condition_746 (operands, insn))
15405 : return -1;
15406 1019 : *pnum_clobbers = 1;
15407 1019 : return 1366; /* *lshrsi3_cconly */
15408 :
15409 11564 : case 3:
15410 11564 : if (!insn_condition_747 (operands, insn))
15411 : return -1;
15412 11497 : *pnum_clobbers = 1;
15413 11497 : return 1368; /* *lshrdi3_cconly */
15414 :
15415 : default:
15416 : return -1;
15417 : }
15418 :
15419 76746 : case ASHIFTRT:
15420 76746 : switch (pattern54 (x1, pnum_clobbers))
15421 : {
15422 154 : case 0:
15423 154 : if (!insn_condition_746 (operands, insn))
15424 : return -1;
15425 154 : *pnum_clobbers = 1;
15426 154 : return 1363; /* *ashrqi3_cconly */
15427 :
15428 12 : case 1:
15429 12 : if (!insn_condition_746 (operands, insn))
15430 : return -1;
15431 6 : *pnum_clobbers = 1;
15432 6 : return 1365; /* *ashrhi3_cconly */
15433 :
15434 462 : case 2:
15435 462 : if (!insn_condition_746 (operands, insn))
15436 : return -1;
15437 423 : *pnum_clobbers = 1;
15438 423 : return 1367; /* *ashrsi3_cconly */
15439 :
15440 6458 : case 3:
15441 6458 : if (!insn_condition_747 (operands, insn))
15442 : return -1;
15443 6330 : *pnum_clobbers = 1;
15444 6330 : return 1369; /* *ashrdi3_cconly */
15445 :
15446 : default:
15447 : return -1;
15448 : }
15449 :
15450 : default:
15451 : return -1;
15452 : }
15453 : }
15454 :
15455 : int
15456 13996647 : recog_101 (rtx x1 ATTRIBUTE_UNUSED,
15457 : rtx_insn *insn ATTRIBUTE_UNUSED,
15458 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15459 : {
15460 13996647 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15461 13996647 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
15462 13996647 : rtx x10, x11, x12, x13;
15463 13996647 : int res ATTRIBUTE_UNUSED;
15464 13996647 : x2 = XEXP (x1, 1);
15465 13996647 : x3 = XEXP (x2, 0);
15466 13996647 : x4 = XEXP (x3, 1);
15467 13996647 : if (GET_CODE (x4) != CONST_INT)
15468 : return -1;
15469 10419004 : x5 = XEXP (x1, 0);
15470 10419004 : operands[0] = x5;
15471 10419004 : switch (GET_CODE (x3))
15472 : {
15473 7120756 : case NE:
15474 7120756 : case EQ:
15475 7120756 : if (bt_comparison_operator (x3, E_VOIDmode))
15476 : {
15477 7120756 : res = recog_100 (x1, insn, pnum_clobbers);
15478 7120756 : if (res >= 0)
15479 : return res;
15480 : }
15481 7120705 : if (GET_CODE (x3) != NE
15482 4107609 : || GET_MODE (x3) != E_QImode
15483 67 : || XWINT (x4, 0) != 0L)
15484 : return -1;
15485 67 : x6 = XEXP (x2, 1);
15486 67 : if (GET_CODE (x6) != ZERO_EXTRACT)
15487 : return -1;
15488 67 : x7 = XEXP (x6, 1);
15489 67 : if (GET_CODE (x7) != UMIN
15490 67 : || GET_MODE (x7) != E_QImode)
15491 : return -1;
15492 67 : x8 = XEXP (x6, 2);
15493 67 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15494 : return -1;
15495 67 : x9 = XEXP (x2, 2);
15496 67 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15497 : return -1;
15498 67 : x10 = XEXP (x3, 0);
15499 67 : operands[2] = x10;
15500 67 : if (!register_operand (operands[2], E_QImode))
15501 : return -1;
15502 63 : x11 = XEXP (x6, 0);
15503 63 : operands[1] = x11;
15504 63 : x12 = XEXP (x7, 1);
15505 63 : operands[3] = x12;
15506 63 : if (!const_int_operand (operands[3], E_QImode))
15507 : return -1;
15508 63 : x13 = XEXP (x7, 0);
15509 63 : if (!rtx_equal_p (x13, operands[2]))
15510 : return -1;
15511 63 : switch (GET_MODE (operands[0]))
15512 : {
15513 31 : case E_SImode:
15514 31 : if (pattern919 (x2,
15515 : E_SImode) != 0
15516 31 : || !insn_condition_68 (operands, insn))
15517 : return -1;
15518 31 : *pnum_clobbers = 1;
15519 31 : return 1728; /* *bmi2_bzhi_si3 */
15520 :
15521 32 : case E_DImode:
15522 32 : if (pattern919 (x2,
15523 : E_DImode) != 0
15524 32 : || !insn_condition_69 (operands, insn))
15525 : return -1;
15526 32 : *pnum_clobbers = 1;
15527 32 : return 1729; /* *bmi2_bzhi_di3 */
15528 :
15529 : default:
15530 : return -1;
15531 : }
15532 :
15533 148002 : case LTU:
15534 148002 : case UNLT:
15535 148002 : operands[1] = x3;
15536 148002 : if (!ix86_carry_flag_operator (operands[1], E_VOIDmode))
15537 : return -1;
15538 124816 : x10 = XEXP (x3, 0);
15539 124816 : if (GET_CODE (x10) != REG
15540 112686 : || REGNO (x10) != 17
15541 237502 : || XWINT (x4, 0) != 0L)
15542 : return -1;
15543 112686 : x6 = XEXP (x2, 1);
15544 112686 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
15545 : return -1;
15546 506 : x9 = XEXP (x2, 2);
15547 506 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15548 : return -1;
15549 506 : switch (pattern24 (x2))
15550 : {
15551 358 : case 0:
15552 358 : *pnum_clobbers = 1;
15553 358 : return 1932; /* *x86_movsicc_0_m1 */
15554 :
15555 120 : case 1:
15556 120 : if (!insn_condition_52 (operands, insn))
15557 : return -1;
15558 120 : *pnum_clobbers = 1;
15559 120 : return 1933; /* *x86_movdicc_0_m1 */
15560 :
15561 : default:
15562 : return -1;
15563 : }
15564 :
15565 : default:
15566 : return -1;
15567 : }
15568 : }
15569 :
15570 : int
15571 3390842 : recog_106 (rtx x1 ATTRIBUTE_UNUSED,
15572 : rtx_insn *insn ATTRIBUTE_UNUSED,
15573 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15574 : {
15575 3390842 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15576 3390842 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
15577 3390842 : rtx x10, x11, x12, x13;
15578 3390842 : int res ATTRIBUTE_UNUSED;
15579 3390842 : x2 = XEXP (x1, 0);
15580 3390842 : operands[0] = x2;
15581 3390842 : x3 = XEXP (x1, 1);
15582 3390842 : x4 = XEXP (x3, 0);
15583 3390842 : switch (GET_CODE (x4))
15584 : {
15585 2012906 : case REG:
15586 2012906 : case SUBREG:
15587 2012906 : case MEM:
15588 2012906 : operands[1] = x4;
15589 2012906 : res = recog_105 (x1, insn, pnum_clobbers);
15590 2012906 : if (res >= 0)
15591 : return res;
15592 1472725 : if (pnum_clobbers == NULL
15593 1300894 : || GET_CODE (x4) != SUBREG
15594 199618 : || maybe_ne (SUBREG_BYTE (x4), 0)
15595 1672281 : || GET_MODE (x4) != E_DImode)
15596 : return -1;
15597 24662 : x5 = XEXP (x3, 1);
15598 24662 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 63]
15599 1052 : || !register_operand (operands[0], E_DImode)
15600 25705 : || GET_MODE (x3) != E_DImode)
15601 : return -1;
15602 1043 : x6 = XEXP (x4, 0);
15603 1043 : if (GET_MODE (x6) != E_SImode)
15604 : return -1;
15605 847 : switch (GET_CODE (x6))
15606 : {
15607 8 : case CTZ:
15608 8 : x7 = XEXP (x6, 0);
15609 8 : operands[1] = x7;
15610 8 : if (!nonimmediate_operand (operands[1], E_SImode)
15611 8 : || !insn_condition_796 (operands, insn))
15612 : return -1;
15613 8 : *pnum_clobbers = 1;
15614 8 : return 1648; /* *ctzsi2_zext */
15615 :
15616 8 : case CLZ:
15617 8 : x7 = XEXP (x6, 0);
15618 8 : operands[1] = x7;
15619 8 : if (!nonimmediate_operand (operands[1], E_SImode)
15620 8 : || !insn_condition_726 (operands, insn))
15621 : return -1;
15622 8 : *pnum_clobbers = 1;
15623 8 : return 1678; /* *clzsi2_lzcnt_zext */
15624 :
15625 8 : case POPCOUNT:
15626 8 : x7 = XEXP (x6, 0);
15627 8 : operands[1] = x7;
15628 8 : if (!nonimmediate_operand (operands[1], E_SImode)
15629 8 : || !insn_condition_727 (operands, insn))
15630 : return -1;
15631 8 : *pnum_clobbers = 1;
15632 8 : return 1770; /* *popcountsi2_zext */
15633 :
15634 : default:
15635 : return -1;
15636 : }
15637 :
15638 151541 : case NOT:
15639 151541 : if (pnum_clobbers == NULL)
15640 : return -1;
15641 140831 : x6 = XEXP (x4, 0);
15642 140831 : switch (GET_CODE (x6))
15643 : {
15644 120122 : case REG:
15645 120122 : case SUBREG:
15646 120122 : operands[1] = x6;
15647 120122 : x5 = XEXP (x3, 1);
15648 120122 : operands[2] = x5;
15649 120122 : switch (GET_MODE (operands[0]))
15650 : {
15651 44804 : case E_DImode:
15652 44804 : if (pattern773 (x3,
15653 : E_DImode) != 0)
15654 : return -1;
15655 42560 : if (insn_condition_797 (operands, insn))
15656 : {
15657 0 : *pnum_clobbers = 1;
15658 0 : return 841; /* *andndi3_doubleword_bmi */
15659 : }
15660 42560 : if (insn_condition_798 (operands, insn))
15661 : {
15662 8739 : *pnum_clobbers = 1;
15663 8739 : return 843; /* *andndi3_doubleword */
15664 : }
15665 33821 : if (!insn_condition_799 (operands, insn))
15666 : return -1;
15667 14 : *pnum_clobbers = 1;
15668 14 : return 846; /* *andndi_1 */
15669 :
15670 13259 : case E_SImode:
15671 13259 : if (pattern773 (x3,
15672 : E_SImode) != 0
15673 13259 : || !insn_condition_336 (operands, insn))
15674 : return -1;
15675 14 : *pnum_clobbers = 1;
15676 14 : return 845; /* *andnsi_1 */
15677 :
15678 : default:
15679 : return -1;
15680 : }
15681 :
15682 160 : case LSHIFTRT:
15683 160 : x5 = XEXP (x3, 1);
15684 160 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
15685 : return -1;
15686 36 : x7 = XEXP (x6, 0);
15687 36 : operands[1] = x7;
15688 36 : x8 = XEXP (x6, 1);
15689 36 : operands[2] = x8;
15690 36 : if (!register_operand (operands[2], E_QImode))
15691 : return -1;
15692 14 : switch (GET_MODE (operands[0]))
15693 : {
15694 12 : case E_SImode:
15695 12 : if (pattern1027 (x3,
15696 : E_SImode) != 0
15697 12 : || !insn_condition_198 (operands, insn))
15698 : return -1;
15699 2 : *pnum_clobbers = 1;
15700 2 : return 1568; /* *btsi_setncsi */
15701 :
15702 2 : case E_DImode:
15703 2 : if (pattern1027 (x3,
15704 : E_DImode) != 0
15705 2 : || !insn_condition_343 (operands, insn))
15706 : return -1;
15707 2 : *pnum_clobbers = 1;
15708 2 : return 1569; /* *btdi_setncdi */
15709 :
15710 : default:
15711 : return -1;
15712 : }
15713 :
15714 3264 : case ASHIFT:
15715 3264 : x7 = XEXP (x6, 0);
15716 3264 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
15717 : return -1;
15718 732 : switch (pattern656 (x3))
15719 : {
15720 317 : case 0:
15721 317 : if (!insn_condition_800 (operands, insn))
15722 : return -1;
15723 0 : *pnum_clobbers = 1;
15724 0 : return 1734; /* *bmi2_bzhi_si3_3 */
15725 :
15726 280 : case 1:
15727 280 : if (!insn_condition_801 (operands, insn))
15728 : return -1;
15729 0 : *pnum_clobbers = 1;
15730 0 : return 1735; /* *bmi2_bzhi_di3_3 */
15731 :
15732 : default:
15733 : return -1;
15734 : }
15735 :
15736 : default:
15737 : return -1;
15738 : }
15739 :
15740 861 : case ROTATE:
15741 861 : if (pnum_clobbers == NULL)
15742 : return -1;
15743 861 : x6 = XEXP (x4, 0);
15744 861 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + -2])
15745 : return -1;
15746 313 : switch (pattern148 (x3))
15747 : {
15748 278 : case 0:
15749 278 : x9 = XEXP (x4, 1);
15750 278 : operands[2] = x9;
15751 278 : if (register_operand (operands[2], E_QImode))
15752 : {
15753 191 : switch (pattern788 (x3))
15754 : {
15755 9 : case 0:
15756 9 : if (insn_condition_750 (operands, insn))
15757 : {
15758 9 : *pnum_clobbers = 1;
15759 9 : return 1535; /* *btrsi */
15760 : }
15761 : break;
15762 :
15763 10 : case 1:
15764 10 : if (insn_condition_751 (operands, insn))
15765 : {
15766 7 : *pnum_clobbers = 1;
15767 7 : return 1536; /* *btrdi */
15768 : }
15769 : break;
15770 :
15771 : default:
15772 : break;
15773 : }
15774 : }
15775 262 : if (GET_CODE (x9) != SUBREG)
15776 : return -1;
15777 231 : switch (pattern797 (x3))
15778 : {
15779 0 : case 0:
15780 0 : if (!insn_condition_62 (operands, insn))
15781 : return -1;
15782 0 : *pnum_clobbers = 1;
15783 0 : return 1537; /* *btrsi_mask */
15784 :
15785 0 : case 1:
15786 0 : if (!insn_condition_63 (operands, insn))
15787 : return -1;
15788 0 : *pnum_clobbers = 1;
15789 0 : return 1538; /* *btrdi_mask */
15790 :
15791 : default:
15792 : return -1;
15793 : }
15794 :
15795 0 : case 1:
15796 0 : if (!insn_condition_62 (operands, insn))
15797 : return -1;
15798 0 : *pnum_clobbers = 1;
15799 0 : return 1539; /* *btrsi_mask_1 */
15800 :
15801 0 : case 2:
15802 0 : if (!insn_condition_63 (operands, insn))
15803 : return -1;
15804 0 : *pnum_clobbers = 1;
15805 0 : return 1540; /* *btrdi_mask_1 */
15806 :
15807 : default:
15808 : return -1;
15809 : }
15810 :
15811 28217 : case NEG:
15812 28217 : if (pnum_clobbers == NULL)
15813 : return -1;
15814 28217 : x6 = XEXP (x4, 0);
15815 28217 : operands[1] = x6;
15816 28217 : x5 = XEXP (x3, 1);
15817 28217 : if (!rtx_equal_p (x5, operands[1]))
15818 : return -1;
15819 420 : switch (GET_MODE (operands[0]))
15820 : {
15821 95 : case E_SImode:
15822 95 : if (pattern791 (x3,
15823 : E_SImode) != 0
15824 95 : || !insn_condition_56 (operands, insn))
15825 : return -1;
15826 1 : *pnum_clobbers = 1;
15827 1 : return 1708; /* *bmi_blsi_si */
15828 :
15829 286 : case E_DImode:
15830 286 : if (pattern791 (x3,
15831 : E_DImode) != 0
15832 286 : || !insn_condition_57 (operands, insn))
15833 : return -1;
15834 0 : *pnum_clobbers = 1;
15835 0 : return 1709; /* *bmi_blsi_di */
15836 :
15837 : default:
15838 : return -1;
15839 : }
15840 :
15841 311510 : case PLUS:
15842 311510 : if (pnum_clobbers == NULL)
15843 : return -1;
15844 311021 : x9 = XEXP (x4, 1);
15845 311021 : if (GET_CODE (x9) != CONST_INT)
15846 : return -1;
15847 228339 : x6 = XEXP (x4, 0);
15848 228339 : switch (GET_CODE (x6))
15849 : {
15850 182796 : case REG:
15851 182796 : case SUBREG:
15852 182796 : case MEM:
15853 182796 : operands[1] = x6;
15854 182796 : switch (XWINT (x9, 0))
15855 : {
15856 13771 : case -1L:
15857 13771 : switch (pattern793 (x3))
15858 : {
15859 1400 : case 0:
15860 1400 : if (!insn_condition_56 (operands, insn))
15861 : return -1;
15862 1 : *pnum_clobbers = 1;
15863 1 : return 1720; /* *bmi_blsr_si */
15864 :
15865 1253 : case 1:
15866 1253 : if (!insn_condition_57 (operands, insn))
15867 : return -1;
15868 0 : *pnum_clobbers = 1;
15869 0 : return 1721; /* *bmi_blsr_di */
15870 :
15871 0 : case 2:
15872 0 : if (!insn_condition_758 (operands, insn))
15873 : return -1;
15874 0 : *pnum_clobbers = 1;
15875 0 : return 1760; /* *tbm_tzmsk_si */
15876 :
15877 0 : case 3:
15878 0 : if (!insn_condition_759 (operands, insn))
15879 : return -1;
15880 0 : *pnum_clobbers = 1;
15881 0 : return 1761; /* *tbm_tzmsk_di */
15882 :
15883 : default:
15884 : return -1;
15885 : }
15886 :
15887 38364 : case 1L:
15888 38364 : switch (pattern793 (x3))
15889 : {
15890 150 : case 0:
15891 150 : if (!insn_condition_758 (operands, insn))
15892 : return -1;
15893 0 : *pnum_clobbers = 1;
15894 0 : return 1744; /* *tbm_blcfill_si */
15895 :
15896 414 : case 1:
15897 414 : if (!insn_condition_759 (operands, insn))
15898 : return -1;
15899 0 : *pnum_clobbers = 1;
15900 0 : return 1745; /* *tbm_blcfill_di */
15901 :
15902 0 : case 2:
15903 0 : if (!insn_condition_758 (operands, insn))
15904 : return -1;
15905 0 : *pnum_clobbers = 1;
15906 0 : return 1748; /* *tbm_blcic_si */
15907 :
15908 84 : case 3:
15909 84 : if (!insn_condition_759 (operands, insn))
15910 : return -1;
15911 0 : *pnum_clobbers = 1;
15912 0 : return 1749; /* *tbm_blcic_di */
15913 :
15914 : default:
15915 : return -1;
15916 : }
15917 :
15918 : default:
15919 : return -1;
15920 : }
15921 :
15922 6178 : case ASHIFT:
15923 6178 : x7 = XEXP (x6, 0);
15924 6178 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
15925 46 : || XWINT (x9, 0) != -1L)
15926 : return -1;
15927 45 : switch (pattern656 (x3))
15928 : {
15929 37 : case 0:
15930 37 : if (!insn_condition_800 (operands, insn))
15931 : return -1;
15932 0 : *pnum_clobbers = 1;
15933 0 : return 1732; /* *bmi2_bzhi_si3_2 */
15934 :
15935 8 : case 1:
15936 8 : if (!insn_condition_801 (operands, insn))
15937 : return -1;
15938 0 : *pnum_clobbers = 1;
15939 0 : return 1733; /* *bmi2_bzhi_di3_2 */
15940 :
15941 : default:
15942 : return -1;
15943 : }
15944 :
15945 : default:
15946 : return -1;
15947 : }
15948 :
15949 2764 : case ZERO_EXTEND:
15950 2764 : if (pnum_clobbers == NULL
15951 2764 : || GET_MODE (x4) != E_DImode)
15952 : return -1;
15953 1050 : x6 = XEXP (x4, 0);
15954 1050 : if (GET_CODE (x6) != PLUS
15955 1050 : || pattern473 (x6) != 0)
15956 : return -1;
15957 0 : x8 = XEXP (x6, 1);
15958 0 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + -1]
15959 0 : || !register_operand (operands[0], E_DImode)
15960 0 : || GET_MODE (x3) != E_DImode)
15961 : return -1;
15962 0 : x7 = XEXP (x6, 0);
15963 0 : x10 = XEXP (x7, 1);
15964 0 : operands[2] = x10;
15965 0 : if (!register_operand (operands[2], E_QImode))
15966 : return -1;
15967 0 : x5 = XEXP (x3, 1);
15968 0 : operands[1] = x5;
15969 0 : if (!nonimmediate_operand (operands[1], E_DImode)
15970 0 : || !insn_condition_612 (operands, insn))
15971 : return -1;
15972 0 : *pnum_clobbers = 1;
15973 0 : return 1737; /* *bmi2_bzhi_zero_extendsidi_5 */
15974 :
15975 26774 : case UNSPEC:
15976 26774 : switch (XVECLEN (x4, 0))
15977 : {
15978 18975 : case 3:
15979 18975 : x11 = XVECEXP (x4, 0, 2);
15980 18975 : if (GET_CODE (x11) != CONST_INT)
15981 : return -1;
15982 18673 : x12 = XVECEXP (x4, 0, 0);
15983 18673 : operands[1] = x12;
15984 18673 : x13 = XVECEXP (x4, 0, 1);
15985 18673 : operands[2] = x13;
15986 18673 : switch (XINT (x4, 1))
15987 : {
15988 12163 : case 56:
15989 12163 : operands[3] = x11;
15990 12163 : x5 = XEXP (x3, 1);
15991 12163 : operands[4] = x5;
15992 12163 : switch (GET_MODE (operands[0]))
15993 : {
15994 2856 : case E_SImode:
15995 2856 : if (pattern1119 (x3,
15996 : E_SImode) == 0)
15997 : {
15998 2190 : switch (GET_MODE (operands[1]))
15999 : {
16000 56 : case E_V32HFmode:
16001 56 : if (register_operand (operands[1], E_V32HFmode)
16002 50 : && nonimmediate_operand (operands[2], E_V32HFmode)
16003 50 : && const_0_to_31_operand (operands[3], E_SImode)
16004 56 : && insn_condition_802 (operands, insn))
16005 : return 3440; /* avx512bw_cmpv32hf3_mask */
16006 : break;
16007 :
16008 972 : case E_V32QImode:
16009 972 : if (register_operand (operands[1], E_V32QImode)
16010 970 : && nonimmediate_operand (operands[2], E_V32QImode)
16011 970 : && const_0_to_7_operand (operands[3], E_SImode)
16012 972 : && insn_condition_339 (operands, insn))
16013 : return 3585; /* avx512vl_cmpv32qi3_mask */
16014 : break;
16015 :
16016 1045 : case E_V32HImode:
16017 1045 : if (register_operand (operands[1], E_V32HImode)
16018 1043 : && nonimmediate_operand (operands[2], E_V32HImode)
16019 1043 : && const_0_to_7_operand (operands[3], E_SImode)
16020 1045 : && insn_condition_803 (operands, insn))
16021 : return 3589; /* avx512bw_cmpv32hi3_mask */
16022 : break;
16023 :
16024 117 : case E_V32BFmode:
16025 117 : if (register_operand (operands[1], E_V32BFmode)
16026 117 : && nonimmediate_operand (operands[2], E_V32BFmode)
16027 117 : && const_0_to_31_operand (operands[3], E_VOIDmode)
16028 117 : && insn_condition_83 (operands, insn))
16029 : return 9420; /* avx10_2_cmpbf16_v32bf_mask */
16030 : break;
16031 :
16032 : default:
16033 : break;
16034 : }
16035 : }
16036 : break;
16037 :
16038 1741 : case E_DImode:
16039 1741 : if (pattern1030 (x3) == 0
16040 1560 : && register_operand (operands[4], E_DImode)
16041 1741 : && insn_condition_803 (operands, insn))
16042 : return 3583; /* avx512bw_cmpv64qi3_mask */
16043 : break;
16044 :
16045 : default:
16046 : break;
16047 : }
16048 8679 : if (XWINT (x11, 0) != 0L)
16049 : return -1;
16050 967 : switch (pattern1028 (x3))
16051 : {
16052 33 : case 0:
16053 33 : if (!insn_condition_804 (operands, insn))
16054 0 : return -1;
16055 : return 3679; /* *avx512bw_eqv64qi3_mask_1 */
16056 :
16057 2 : case 1:
16058 2 : if (!insn_condition_344 (operands, insn))
16059 0 : return -1;
16060 : return 3687; /* *avx512vl_eqv32qi3_mask_1 */
16061 :
16062 2 : case 2:
16063 2 : if (!insn_condition_804 (operands, insn))
16064 0 : return -1;
16065 : return 3691; /* *avx512bw_eqv32hi3_mask_1 */
16066 :
16067 : default:
16068 : return -1;
16069 : }
16070 :
16071 6510 : case 156:
16072 6510 : if (XWINT (x11, 0) == 0L)
16073 : {
16074 759 : switch (pattern1028 (x3))
16075 : {
16076 63 : case 0:
16077 63 : if (insn_condition_804 (operands, insn))
16078 : return 3681; /* *avx512bw_eqv64qi3_mask_1 */
16079 : break;
16080 :
16081 65 : case 1:
16082 65 : if (insn_condition_344 (operands, insn))
16083 : return 3689; /* *avx512vl_eqv32qi3_mask_1 */
16084 : break;
16085 :
16086 65 : case 2:
16087 65 : if (insn_condition_804 (operands, insn))
16088 : return 3693; /* *avx512bw_eqv32hi3_mask_1 */
16089 : break;
16090 :
16091 : default:
16092 : break;
16093 : }
16094 : }
16095 6317 : operands[3] = x11;
16096 6317 : if (!const_0_to_7_operand (operands[3], E_SImode))
16097 : return -1;
16098 6317 : x5 = XEXP (x3, 1);
16099 6317 : operands[4] = x5;
16100 6317 : switch (GET_MODE (operands[0]))
16101 : {
16102 1056 : case E_DImode:
16103 1056 : if (pattern1137 (x3) != 0
16104 1030 : || !register_operand (operands[4], E_DImode)
16105 1056 : || !insn_condition_803 (operands, insn))
16106 153 : return -1;
16107 : return 3763; /* avx512bw_ucmpv64qi3_mask */
16108 :
16109 2393 : case E_SImode:
16110 2393 : if (pattern1119 (x3,
16111 : E_SImode) != 0)
16112 : return -1;
16113 1795 : switch (pattern648 ())
16114 : {
16115 895 : case 0:
16116 895 : if (!insn_condition_339 (operands, insn))
16117 0 : return -1;
16118 : return 3765; /* avx512vl_ucmpv32qi3_mask */
16119 :
16120 900 : case 1:
16121 900 : if (!insn_condition_803 (operands, insn))
16122 0 : return -1;
16123 : return 3769; /* avx512bw_ucmpv32hi3_mask */
16124 :
16125 : default:
16126 : return -1;
16127 : }
16128 :
16129 : default:
16130 : return -1;
16131 : }
16132 :
16133 : default:
16134 : return -1;
16135 : }
16136 :
16137 4839 : case 2:
16138 4839 : x12 = XVECEXP (x4, 0, 0);
16139 4839 : operands[1] = x12;
16140 4839 : x13 = XVECEXP (x4, 0, 1);
16141 4839 : operands[2] = x13;
16142 4839 : x5 = XEXP (x3, 1);
16143 4839 : operands[3] = x5;
16144 4839 : switch (XINT (x4, 1))
16145 : {
16146 695 : case 157:
16147 695 : switch (pattern921 (x3))
16148 : {
16149 118 : case 0:
16150 118 : if (!insn_condition_803 (operands, insn))
16151 0 : return -1;
16152 : return 6775; /* avx512bw_testmv64qi3_mask */
16153 :
16154 118 : case 1:
16155 118 : if (!insn_condition_339 (operands, insn))
16156 0 : return -1;
16157 : return 6777; /* avx512vl_testmv32qi3_mask */
16158 :
16159 118 : case 2:
16160 118 : if (!insn_condition_803 (operands, insn))
16161 0 : return -1;
16162 : return 6781; /* avx512bw_testmv32hi3_mask */
16163 :
16164 : default:
16165 : return -1;
16166 : }
16167 :
16168 695 : case 158:
16169 695 : switch (pattern921 (x3))
16170 : {
16171 118 : case 0:
16172 118 : if (!insn_condition_803 (operands, insn))
16173 0 : return -1;
16174 : return 6799; /* avx512bw_testnmv64qi3_mask */
16175 :
16176 118 : case 1:
16177 118 : if (!insn_condition_339 (operands, insn))
16178 0 : return -1;
16179 : return 6801; /* avx512vl_testnmv32qi3_mask */
16180 :
16181 118 : case 2:
16182 118 : if (!insn_condition_803 (operands, insn))
16183 0 : return -1;
16184 : return 6805; /* avx512bw_testnmv32hi3_mask */
16185 :
16186 : default:
16187 : return -1;
16188 : }
16189 :
16190 432 : case 192:
16191 432 : if (GET_MODE (x4) != E_SImode
16192 146 : || !register_operand (operands[0], E_SImode)
16193 146 : || GET_MODE (x3) != E_SImode
16194 146 : || !vector_operand (operands[1], E_V32HFmode)
16195 144 : || !const_0_to_255_operand (operands[2], E_VOIDmode)
16196 144 : || !register_operand (operands[3], E_SImode)
16197 432 : || !insn_condition_805 (operands, insn))
16198 316 : return -1;
16199 : return 8678; /* avx512dq_fpclassv32hf_mask */
16200 :
16201 288 : case 213:
16202 288 : switch (GET_MODE (operands[0]))
16203 : {
16204 129 : case E_DImode:
16205 129 : if (pattern920 (x3,
16206 : E_DImode,
16207 : E_V64QImode) != 0
16208 129 : || !insn_condition_806 (operands, insn))
16209 9 : return -1;
16210 : return 9020; /* avx512vl_vpshufbitqmbv64qi_mask */
16211 :
16212 139 : case E_SImode:
16213 139 : if (pattern920 (x3,
16214 : E_SImode,
16215 : E_V32QImode) != 0
16216 139 : || !insn_condition_358 (operands, insn))
16217 20 : return -1;
16218 : return 9024; /* avx512vl_vpshufbitqmbv32qi_mask */
16219 :
16220 : default:
16221 : return -1;
16222 : }
16223 :
16224 228 : case 261:
16225 228 : if (GET_MODE (x4) != E_SImode
16226 163 : || !register_operand (operands[0], E_SImode)
16227 157 : || GET_MODE (x3) != E_SImode
16228 157 : || !nonimmediate_operand (operands[1], E_V32BFmode)
16229 155 : || !const_0_to_255_operand (operands[2], E_VOIDmode)
16230 155 : || !register_operand (operands[3], E_SImode)
16231 228 : || !insn_condition_83 (operands, insn))
16232 98 : return -1;
16233 : return 9414; /* avx10_2_fpclassbf16_v32bf_mask */
16234 :
16235 : default:
16236 : return -1;
16237 : }
16238 :
16239 : default:
16240 : return -1;
16241 : }
16242 :
16243 : default:
16244 : return -1;
16245 : }
16246 : }
16247 :
16248 : int
16249 842575 : recog_133 (rtx x1 ATTRIBUTE_UNUSED,
16250 : rtx_insn *insn ATTRIBUTE_UNUSED,
16251 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16252 : {
16253 842575 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16254 842575 : rtx x2, x3, x4;
16255 842575 : int res ATTRIBUTE_UNUSED;
16256 842575 : x2 = XEXP (x1, 1);
16257 842575 : x3 = XEXP (x2, 1);
16258 842575 : x4 = XVECEXP (x3, 0, 0);
16259 842575 : switch (XWINT (x4, 0))
16260 : {
16261 647113 : case 0L:
16262 647113 : if (nonimmediate_operand (operands[0], E_SImode)
16263 647113 : && GET_MODE (x2) == E_SImode)
16264 : {
16265 389400 : switch (GET_MODE (operands[1]))
16266 : {
16267 27510 : case E_V2SImode:
16268 27510 : if (nonimmediate_operand (operands[1], E_V2SImode)
16269 27510 : && insn_condition_536 (operands, insn))
16270 : return 2509; /* *vec_extractv2si_0 */
16271 : break;
16272 :
16273 361276 : case E_V4SImode:
16274 361276 : if (nonimmediate_operand (operands[1], E_V4SImode)
16275 361276 : && insn_condition_535 (operands, insn))
16276 : return 7133; /* *vec_extractv4si_0 */
16277 : break;
16278 :
16279 : default:
16280 : break;
16281 : }
16282 : }
16283 : break;
16284 :
16285 135990 : case 1L:
16286 135990 : switch (GET_MODE (operands[0]))
16287 : {
16288 39542 : case E_SImode:
16289 39542 : if (nonimmediate_operand (operands[0], E_SImode)
16290 39432 : && GET_MODE (x2) == E_SImode
16291 39432 : && nonimmediate_operand (operands[1], E_V2SImode)
16292 57175 : && insn_condition_536 (operands, insn))
16293 : return 2512; /* *vec_extractv2si_1 */
16294 : break;
16295 :
16296 88413 : case E_DImode:
16297 88413 : if (nonimmediate_operand (operands[0], E_DImode)
16298 88329 : && GET_MODE (x2) == E_DImode
16299 88329 : && nonimmediate_operand (operands[1], E_V2DImode)
16300 174481 : && insn_condition_535 (operands, insn))
16301 : return 7142; /* *vec_extractv2di_1 */
16302 : break;
16303 :
16304 : default:
16305 : break;
16306 : }
16307 : break;
16308 :
16309 : default:
16310 : break;
16311 : }
16312 405167 : operands[2] = x4;
16313 405167 : switch (GET_MODE (operands[0]))
16314 : {
16315 123894 : case E_SImode:
16316 123894 : if (GET_MODE (x2) != E_SImode)
16317 : return -1;
16318 123894 : if (register_operand (operands[0], E_SImode))
16319 : {
16320 108606 : switch (GET_MODE (operands[1]))
16321 : {
16322 125 : case E_V16SImode:
16323 125 : if (register_operand (operands[1], E_V16SImode)
16324 125 : && const_0_to_15_operand (operands[2], E_VOIDmode)
16325 125 : && insn_condition_955 (operands, insn))
16326 : return 5760; /* *vec_extractv16sisi_valign */
16327 : break;
16328 :
16329 1938 : case E_V8SImode:
16330 1938 : if (register_operand (operands[1], E_V8SImode)
16331 1920 : && const_0_to_7_operand (operands[2], E_VOIDmode)
16332 3858 : && insn_condition_956 (operands, insn))
16333 : return 5761; /* *vec_extractv8sisi_valign */
16334 : break;
16335 :
16336 : default:
16337 : break;
16338 : }
16339 : }
16340 123754 : if (nonimmediate_operand (operands[0], E_SImode)
16341 122066 : && register_operand (operands[1], E_V4SImode)
16342 61416 : && const_0_to_3_operand (operands[2], E_SImode)
16343 185170 : && insn_condition_92 (operands, insn))
16344 : return 7138; /* *vec_extractv4si */
16345 100844 : if (!register_operand (operands[0], E_SImode)
16346 91090 : || !memory_operand (operands[1], E_V4SImode)
16347 441 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
16348 101285 : || !insn_condition_148 (operands, insn))
16349 100403 : return -1;
16350 : return 7140; /* *vec_extractv4si_mem */
16351 :
16352 210525 : case E_DImode:
16353 210525 : if (!register_operand (operands[0], E_DImode)
16354 210525 : || GET_MODE (x2) != E_DImode)
16355 : return -1;
16356 193479 : switch (GET_MODE (operands[1]))
16357 : {
16358 429 : case E_V8DImode:
16359 429 : if (!register_operand (operands[1], E_V8DImode)
16360 429 : || !const_0_to_7_operand (operands[2], E_VOIDmode)
16361 429 : || !insn_condition_957 (operands, insn))
16362 92 : return -1;
16363 : return 5762; /* *vec_extractv8didi_valign */
16364 :
16365 2852 : case E_V4DImode:
16366 2852 : if (!register_operand (operands[1], E_V4DImode)
16367 2845 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
16368 5697 : || !insn_condition_958 (operands, insn))
16369 2682 : return -1;
16370 : return 5763; /* *vec_extractv4didi_valign */
16371 :
16372 : default:
16373 : return -1;
16374 : }
16375 :
16376 : default:
16377 : return -1;
16378 : }
16379 : }
16380 :
16381 : int
16382 3788 : recog_136 (rtx x1 ATTRIBUTE_UNUSED,
16383 : rtx_insn *insn ATTRIBUTE_UNUSED,
16384 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16385 : {
16386 3788 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16387 3788 : rtx x2;
16388 3788 : int res ATTRIBUTE_UNUSED;
16389 3788 : x2 = XEXP (x1, 1);
16390 3788 : switch (pattern665 (x2))
16391 : {
16392 87 : case 0:
16393 87 : if (pattern668 (x2,
16394 : E_V32HImode,
16395 : E_SImode,
16396 : E_V32HFmode) != 0
16397 87 : || !insn_condition_26 (operands, insn))
16398 20 : return -1;
16399 : return 4564; /* avx512fp16_vcvtph2w_v32hi_mask */
16400 :
16401 171 : case 1:
16402 171 : switch (pattern1034 (x2))
16403 : {
16404 66 : case 0:
16405 66 : if (!insn_condition_26 (operands, insn))
16406 0 : return -1;
16407 : return 4572; /* avx512fp16_vcvtph2dq_v16si_mask */
16408 :
16409 56 : case 1:
16410 56 : if (!insn_condition_27 (operands, insn))
16411 0 : return -1;
16412 : return 5009; /* avx512f_fix_notruncv16sfv16si_mask */
16413 :
16414 : default:
16415 : return -1;
16416 : }
16417 :
16418 323 : case 2:
16419 323 : switch (pattern1033 (x2,
16420 : E_V8DImode))
16421 : {
16422 73 : case 0:
16423 73 : if (!insn_condition_26 (operands, insn))
16424 0 : return -1;
16425 : return 4580; /* avx512fp16_vcvtph2qq_v8di_mask */
16426 :
16427 80 : case 1:
16428 80 : if (!insn_condition_964 (operands, insn))
16429 0 : return -1;
16430 : return 5025; /* avx512dq_cvtps2qqv8di_mask */
16431 :
16432 63 : case 2:
16433 63 : if (!insn_condition_964 (operands, insn))
16434 0 : return -1;
16435 : return 5270; /* fix_notruncv8dfv8di2_mask */
16436 :
16437 : default:
16438 : return -1;
16439 : }
16440 :
16441 243 : case 3:
16442 243 : if (pattern668 (x2,
16443 : E_V16HImode,
16444 : E_HImode,
16445 : E_V16HFmode) != 0
16446 243 : || !insn_condition_965 (operands, insn))
16447 24 : return -1;
16448 : return 4588; /* avx512fp16_vcvtph2w_v16hi_mask */
16449 :
16450 554 : case 4:
16451 554 : if (pattern176 (x2,
16452 : E_V8SImode,
16453 : E_QImode) != 0)
16454 : return -1;
16455 474 : switch (GET_MODE (operands[1]))
16456 : {
16457 218 : case E_V8HFmode:
16458 218 : if (!vector_operand (operands[1], E_V8HFmode)
16459 218 : || !insn_condition_965 (operands, insn))
16460 0 : return -1;
16461 : return 4596; /* avx512fp16_vcvtph2dq_v8si_mask */
16462 :
16463 194 : case E_V8SFmode:
16464 194 : if (!vector_operand (operands[1], E_V8SFmode)
16465 194 : || !insn_condition_966 (operands, insn))
16466 0 : return -1;
16467 : return 5004; /* avx_fix_notruncv8sfv8si_mask */
16468 :
16469 62 : case E_V8DFmode:
16470 62 : if (!vector_operand (operands[1], E_V8DFmode)
16471 62 : || !insn_condition_27 (operands, insn))
16472 0 : return -1;
16473 : return 5188; /* avx512f_cvtpd2dq512_mask */
16474 :
16475 : default:
16476 : return -1;
16477 : }
16478 :
16479 767 : case 5:
16480 767 : switch (pattern1149 (x2,
16481 : E_V4DImode))
16482 : {
16483 219 : case 0:
16484 219 : if (!vector_operand (operands[1], E_V8HFmode)
16485 219 : || !insn_condition_965 (operands, insn))
16486 0 : return -1;
16487 : return 4604; /* avx512fp16_vcvtph2qq_v4di_mask */
16488 :
16489 222 : case 1:
16490 222 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
16491 222 : || !insn_condition_967 (operands, insn))
16492 0 : return -1;
16493 : return 5028; /* avx512dq_cvtps2qqv4di_mask */
16494 :
16495 223 : case 2:
16496 223 : if (!vector_operand (operands[1], E_V4DFmode)
16497 223 : || !insn_condition_967 (operands, insn))
16498 0 : return -1;
16499 : return 5273; /* fix_notruncv4dfv4di2_mask */
16500 :
16501 : default:
16502 : return -1;
16503 : }
16504 :
16505 243 : case 6:
16506 243 : if (pattern668 (x2,
16507 : E_V8HImode,
16508 : E_QImode,
16509 : E_V8HFmode) != 0
16510 243 : || !insn_condition_965 (operands, insn))
16511 24 : return -1;
16512 : return 4612; /* avx512fp16_vcvtph2w_v8hi_mask */
16513 :
16514 660 : case 7:
16515 660 : switch (pattern1149 (x2,
16516 : E_V4SImode))
16517 : {
16518 220 : case 0:
16519 220 : if (!vector_operand (operands[1], E_V8HFmode)
16520 220 : || !insn_condition_965 (operands, insn))
16521 0 : return -1;
16522 : return 4620; /* avx512fp16_vcvtph2dq_v4si_mask */
16523 :
16524 193 : case 1:
16525 193 : if (!vector_operand (operands[1], E_V4SFmode)
16526 193 : || !insn_condition_968 (operands, insn))
16527 0 : return -1;
16528 : return 5006; /* sse2_fix_notruncv4sfv4si_mask */
16529 :
16530 195 : case 2:
16531 195 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
16532 195 : || !insn_condition_969 (operands, insn))
16533 0 : return -1;
16534 : return 5191; /* avx_cvtpd2dq256_mask */
16535 :
16536 : default:
16537 : return -1;
16538 : }
16539 :
16540 475 : case 8:
16541 475 : switch (pattern1148 (x2))
16542 : {
16543 212 : case 0:
16544 212 : if (!vector_operand (operands[1], E_V8HFmode)
16545 212 : || !insn_condition_965 (operands, insn))
16546 0 : return -1;
16547 : return 4628; /* avx512fp16_vcvtph2qq_v2di_mask */
16548 :
16549 222 : case 1:
16550 222 : if (!vector_operand (operands[1], E_V2DFmode)
16551 222 : || !insn_condition_967 (operands, insn))
16552 0 : return -1;
16553 : return 5275; /* fix_notruncv2dfv2di2_mask */
16554 :
16555 : default:
16556 : return -1;
16557 : }
16558 :
16559 219 : case 9:
16560 219 : if (!insn_condition_970 (operands, insn))
16561 0 : return -1;
16562 : return 5030; /* avx512dq_cvtps2qqv2di_mask */
16563 :
16564 : default:
16565 : return -1;
16566 : }
16567 : }
16568 :
16569 : int
16570 3948 : recog_138 (rtx x1 ATTRIBUTE_UNUSED,
16571 : rtx_insn *insn ATTRIBUTE_UNUSED,
16572 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16573 : {
16574 3948 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16575 3948 : rtx x2, x3, x4, x5;
16576 3948 : int res ATTRIBUTE_UNUSED;
16577 3948 : x2 = XEXP (x1, 1);
16578 3948 : x3 = XEXP (x2, 0);
16579 3948 : x4 = XVECEXP (x3, 0, 0);
16580 3948 : operands[1] = x4;
16581 3948 : x5 = XEXP (x2, 2);
16582 3948 : operands[3] = x5;
16583 3948 : switch (GET_MODE (operands[0]))
16584 : {
16585 243 : case E_V8HImode:
16586 243 : if (pattern668 (x2,
16587 : E_V8HImode,
16588 : E_QImode,
16589 : E_V8HFmode) != 0
16590 243 : || !insn_condition_965 (operands, insn))
16591 24 : return -1;
16592 : return 4724; /* unspec_avx512fp16_fix_truncv8hi2_mask */
16593 :
16594 243 : case E_V16HImode:
16595 243 : if (pattern668 (x2,
16596 : E_V16HImode,
16597 : E_HImode,
16598 : E_V16HFmode) != 0
16599 243 : || !insn_condition_965 (operands, insn))
16600 24 : return -1;
16601 : return 4732; /* unspec_avx512fp16_fix_truncv16hi2_mask */
16602 :
16603 87 : case E_V32HImode:
16604 87 : if (pattern668 (x2,
16605 : E_V32HImode,
16606 : E_SImode,
16607 : E_V32HFmode) != 0
16608 87 : || !insn_condition_26 (operands, insn))
16609 20 : return -1;
16610 : return 4740; /* unspec_avx512fp16_fix_truncv32hi2_mask */
16611 :
16612 552 : case E_V8SImode:
16613 552 : switch (pattern1033 (x2,
16614 : E_V8SImode))
16615 : {
16616 218 : case 0:
16617 218 : if (!insn_condition_965 (operands, insn))
16618 0 : return -1;
16619 : return 4748; /* unspec_avx512fp16_fix_truncv8si2_mask */
16620 :
16621 194 : case 1:
16622 194 : if (!insn_condition_969 (operands, insn))
16623 0 : return -1;
16624 : return 5056; /* unspec_fix_truncv8sfv8si2_mask */
16625 :
16626 56 : case 2:
16627 56 : if (!insn_condition_27 (operands, insn))
16628 0 : return -1;
16629 : return 5209; /* unspec_fix_truncv8dfv8si2_mask */
16630 :
16631 : default:
16632 : return -1;
16633 : }
16634 :
16635 173 : case E_V16SImode:
16636 173 : switch (pattern1034 (x2))
16637 : {
16638 66 : case 0:
16639 66 : if (!insn_condition_26 (operands, insn))
16640 0 : return -1;
16641 : return 4756; /* unspec_avx512fp16_fix_truncv16si2_mask */
16642 :
16643 56 : case 1:
16644 56 : if (!insn_condition_27 (operands, insn))
16645 0 : return -1;
16646 : return 5041; /* unspec_fix_truncv16sfv16si2_mask */
16647 :
16648 : default:
16649 : return -1;
16650 : }
16651 :
16652 311 : case E_V8DImode:
16653 311 : switch (pattern1035 (x2))
16654 : {
16655 73 : case 0:
16656 73 : if (!insn_condition_26 (operands, insn))
16657 0 : return -1;
16658 : return 4764; /* unspec_avx512fp16_fix_truncv8di2_mask */
16659 :
16660 63 : case 1:
16661 63 : if (!insn_condition_964 (operands, insn))
16662 0 : return -1;
16663 : return 5238; /* unspec_fix_truncv8dfv8di2_mask */
16664 :
16665 64 : case 2:
16666 64 : if (!insn_condition_964 (operands, insn))
16667 0 : return -1;
16668 : return 5286; /* unspec_fix_truncv8sfv8di2_mask */
16669 :
16670 : default:
16671 : return -1;
16672 : }
16673 :
16674 853 : case E_V4SImode:
16675 853 : if (pattern176 (x2,
16676 : E_V4SImode,
16677 : E_QImode) != 0)
16678 : return -1;
16679 783 : switch (GET_MODE (operands[1]))
16680 : {
16681 201 : case E_V8HFmode:
16682 201 : if (!register_operand (operands[1], E_V8HFmode)
16683 201 : || !insn_condition_972 (operands, insn))
16684 8 : return -1;
16685 : return 4819; /* unspec_avx512fp16_fix_truncv4si2_mask */
16686 :
16687 193 : case E_V4SFmode:
16688 193 : if (!vector_operand (operands[1], E_V4SFmode)
16689 193 : || !insn_condition_974 (operands, insn))
16690 0 : return -1;
16691 : return 5060; /* unspec_fix_truncv4sfv4si2_mask */
16692 :
16693 195 : case E_V4DFmode:
16694 195 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
16695 195 : || !insn_condition_975 (operands, insn))
16696 0 : return -1;
16697 : return 5229; /* unspec_fix_truncv4dfv4si2_mask */
16698 :
16699 194 : case E_V2DFmode:
16700 194 : if (!vector_operand (operands[1], E_V2DFmode)
16701 194 : || !insn_condition_974 (operands, insn))
16702 0 : return -1;
16703 : return 5325; /* unspec_sse2_cvttpd2dq_mask */
16704 :
16705 : default:
16706 : return -1;
16707 : }
16708 :
16709 763 : case E_V4DImode:
16710 763 : switch (pattern1036 (x2))
16711 : {
16712 196 : case 0:
16713 196 : if (!insn_condition_972 (operands, insn))
16714 0 : return -1;
16715 : return 4823; /* unspec_avx512fp16_fix_truncv4di2_mask */
16716 :
16717 223 : case 1:
16718 223 : if (!insn_condition_967 (operands, insn))
16719 0 : return -1;
16720 : return 5245; /* unspec_fix_truncv4dfv4di2_mask */
16721 :
16722 222 : case 2:
16723 222 : if (!insn_condition_967 (operands, insn))
16724 0 : return -1;
16725 : return 5293; /* unspec_fix_truncv4sfv4di2_mask */
16726 :
16727 : default:
16728 : return -1;
16729 : }
16730 :
16731 723 : case E_V2DImode:
16732 723 : switch (pattern1037 (x2))
16733 : {
16734 211 : case 0:
16735 211 : if (!insn_condition_972 (operands, insn))
16736 0 : return -1;
16737 : return 4843; /* unspec_avx512fp16_fix_truncv2di2_mask */
16738 :
16739 222 : case 1:
16740 222 : if (!insn_condition_967 (operands, insn))
16741 0 : return -1;
16742 : return 5249; /* unspec_fix_truncv2dfv2di2_mask */
16743 :
16744 223 : case 2:
16745 223 : if (!insn_condition_970 (operands, insn))
16746 0 : return -1;
16747 : return 5309; /* unspec_avx512dq_fix_truncv2sfv2di2_mask */
16748 :
16749 : default:
16750 : return -1;
16751 : }
16752 :
16753 : default:
16754 : return -1;
16755 : }
16756 : }
16757 :
16758 : int
16759 3261 : recog_145 (rtx x1 ATTRIBUTE_UNUSED,
16760 : rtx_insn *insn ATTRIBUTE_UNUSED,
16761 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16762 : {
16763 3261 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16764 3261 : rtx x2, x3, x4, x5, x6, x7;
16765 3261 : int res ATTRIBUTE_UNUSED;
16766 3261 : x2 = XEXP (x1, 1);
16767 3261 : x3 = XEXP (x2, 2);
16768 3261 : switch (GET_CODE (x3))
16769 : {
16770 2048 : case REG:
16771 2048 : case SUBREG:
16772 2048 : operands[4] = x3;
16773 2048 : x4 = XEXP (x2, 0);
16774 2048 : x5 = XVECEXP (x4, 0, 0);
16775 2048 : operands[1] = x5;
16776 2048 : x6 = XVECEXP (x4, 0, 1);
16777 2048 : operands[2] = x6;
16778 2048 : if (!const_0_to_255_operand (operands[2], E_SImode))
16779 : return -1;
16780 2048 : x7 = XEXP (x2, 1);
16781 2048 : operands[3] = x7;
16782 2048 : switch (GET_MODE (operands[0]))
16783 : {
16784 90 : case E_V32HFmode:
16785 90 : if (pattern498 (x2,
16786 : E_V32HFmode,
16787 : E_SImode) != 0
16788 90 : || !insn_condition_89 (operands, insn))
16789 12 : return -1;
16790 : return 5818; /* avx512bw_rndscalev32hf_mask */
16791 :
16792 222 : case E_V16HFmode:
16793 222 : if (pattern498 (x2,
16794 : E_V16HFmode,
16795 : E_HImode) != 0
16796 222 : || !insn_condition_980 (operands, insn))
16797 11 : return -1;
16798 : return 5822; /* avx512vl_rndscalev16hf_mask */
16799 :
16800 221 : case E_V8HFmode:
16801 221 : if (pattern498 (x2,
16802 : E_V8HFmode,
16803 : E_QImode) != 0
16804 221 : || !insn_condition_980 (operands, insn))
16805 10 : return -1;
16806 : return 5826; /* avx512fp16_rndscalev8hf_mask */
16807 :
16808 224 : case E_V16SFmode:
16809 224 : if (pattern498 (x2,
16810 : E_V16SFmode,
16811 : E_HImode) != 0
16812 224 : || !insn_condition_27 (operands, insn))
16813 38 : return -1;
16814 : return 5830; /* avx512f_rndscalev16sf_mask */
16815 :
16816 212 : case E_V8SFmode:
16817 212 : if (pattern498 (x2,
16818 : E_V8SFmode,
16819 : E_QImode) != 0
16820 212 : || !insn_condition_341 (operands, insn))
16821 13 : return -1;
16822 : return 5834; /* avx512vl_rndscalev8sf_mask */
16823 :
16824 372 : case E_V4SFmode:
16825 372 : if (pattern498 (x2,
16826 : E_V4SFmode,
16827 : E_QImode) != 0
16828 372 : || !insn_condition_341 (operands, insn))
16829 10 : return -1;
16830 : return 5838; /* avx512vl_rndscalev4sf_mask */
16831 :
16832 287 : case E_V8DFmode:
16833 287 : if (pattern498 (x2,
16834 : E_V8DFmode,
16835 : E_QImode) != 0
16836 287 : || !insn_condition_27 (operands, insn))
16837 46 : return -1;
16838 : return 5842; /* avx512f_rndscalev8df_mask */
16839 :
16840 212 : case E_V4DFmode:
16841 212 : if (pattern498 (x2,
16842 : E_V4DFmode,
16843 : E_QImode) != 0
16844 212 : || !insn_condition_341 (operands, insn))
16845 14 : return -1;
16846 : return 5846; /* avx512vl_rndscalev4df_mask */
16847 :
16848 208 : case E_V2DFmode:
16849 208 : if (pattern498 (x2,
16850 : E_V2DFmode,
16851 : E_QImode) != 0
16852 208 : || !insn_condition_341 (operands, insn))
16853 10 : return -1;
16854 : return 5850; /* avx512vl_rndscalev2df_mask */
16855 :
16856 : default:
16857 : return -1;
16858 : }
16859 :
16860 1201 : case CONST_INT:
16861 1201 : if (XWINT (x3, 0) != 1L)
16862 : return -1;
16863 964 : x4 = XEXP (x2, 0);
16864 964 : x5 = XVECEXP (x4, 0, 0);
16865 964 : operands[2] = x5;
16866 964 : x6 = XVECEXP (x4, 0, 1);
16867 964 : operands[3] = x6;
16868 964 : x7 = XEXP (x2, 1);
16869 964 : operands[1] = x7;
16870 964 : switch (GET_MODE (operands[0]))
16871 : {
16872 20 : case E_V8HFmode:
16873 20 : if (pattern1251 (x2,
16874 : E_V8HFmode) != 0)
16875 : return -1;
16876 10 : if (const_0_to_255_operand (operands[3], E_SImode)
16877 10 : && insn_condition_26 (operands, insn))
16878 : return 5852; /* avx512f_rndscalev8hf */
16879 0 : if (!const_0_to_15_operand (operands[3], E_SImode)
16880 0 : || !insn_condition_110 (operands, insn))
16881 0 : return -1;
16882 : return 7647; /* sse4_1_roundsh */
16883 :
16884 353 : case E_V4SFmode:
16885 353 : if (pattern1251 (x2,
16886 : E_V4SFmode) != 0)
16887 : return -1;
16888 292 : if (const_0_to_255_operand (operands[3], E_SImode)
16889 292 : && insn_condition_27 (operands, insn))
16890 : return 5856; /* avx512f_rndscalev4sf */
16891 109 : if (!const_0_to_15_operand (operands[3], E_SImode)
16892 109 : || !insn_condition_92 (operands, insn))
16893 0 : return -1;
16894 : return 7648; /* sse4_1_roundss */
16895 :
16896 591 : case E_V2DFmode:
16897 591 : if (pattern1251 (x2,
16898 : E_V2DFmode) != 0)
16899 : return -1;
16900 465 : if (const_0_to_255_operand (operands[3], E_SImode)
16901 465 : && insn_condition_342 (operands, insn))
16902 : return 5860; /* avx512f_rndscalev2df */
16903 282 : if (!const_0_to_15_operand (operands[3], E_SImode)
16904 282 : || !insn_condition_990 (operands, insn))
16905 0 : return -1;
16906 : return 7649; /* sse4_1_roundsd */
16907 :
16908 : default:
16909 : return -1;
16910 : }
16911 :
16912 : default:
16913 : return -1;
16914 : }
16915 : }
16916 :
16917 : int
16918 1920 : recog_152 (rtx x1 ATTRIBUTE_UNUSED,
16919 : rtx_insn *insn ATTRIBUTE_UNUSED,
16920 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16921 : {
16922 1920 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16923 1920 : rtx x2;
16924 1920 : int res ATTRIBUTE_UNUSED;
16925 1920 : x2 = XEXP (x1, 1);
16926 1920 : switch (pattern514 (x2))
16927 : {
16928 97 : case 0:
16929 97 : if (!insn_condition_1003 (operands, insn))
16930 0 : return -1;
16931 : return 8923; /* vpshrdv_v32hi_mask */
16932 :
16933 96 : case 1:
16934 96 : if (!insn_condition_1003 (operands, insn))
16935 0 : return -1;
16936 : return 8924; /* vpshrdv_v16si_mask */
16937 :
16938 96 : case 2:
16939 96 : if (!insn_condition_1003 (operands, insn))
16940 0 : return -1;
16941 : return 8925; /* vpshrdv_v8di_mask */
16942 :
16943 97 : case 3:
16944 97 : if (!insn_condition_1004 (operands, insn))
16945 0 : return -1;
16946 : return 8926; /* vpshrdv_v16hi_mask */
16947 :
16948 96 : case 4:
16949 96 : if (!insn_condition_1004 (operands, insn))
16950 0 : return -1;
16951 : return 8927; /* vpshrdv_v8si_mask */
16952 :
16953 96 : case 5:
16954 96 : if (!insn_condition_1004 (operands, insn))
16955 0 : return -1;
16956 : return 8928; /* vpshrdv_v4di_mask */
16957 :
16958 97 : case 6:
16959 97 : if (!insn_condition_1004 (operands, insn))
16960 0 : return -1;
16961 : return 8929; /* vpshrdv_v8hi_mask */
16962 :
16963 95 : case 7:
16964 95 : if (!insn_condition_1004 (operands, insn))
16965 0 : return -1;
16966 : return 8930; /* vpshrdv_v4si_mask */
16967 :
16968 95 : case 8:
16969 95 : if (!insn_condition_1004 (operands, insn))
16970 0 : return -1;
16971 : return 8931; /* vpshrdv_v2di_mask */
16972 :
16973 95 : case 9:
16974 95 : if (!insn_condition_1003 (operands, insn))
16975 0 : return -1;
16976 : return 8932; /* vpshrdv_v32hi_maskz_1 */
16977 :
16978 94 : case 10:
16979 94 : if (!insn_condition_1003 (operands, insn))
16980 0 : return -1;
16981 : return 8933; /* vpshrdv_v16si_maskz_1 */
16982 :
16983 94 : case 11:
16984 94 : if (!insn_condition_1003 (operands, insn))
16985 0 : return -1;
16986 : return 8934; /* vpshrdv_v8di_maskz_1 */
16987 :
16988 96 : case 12:
16989 96 : if (!insn_condition_1004 (operands, insn))
16990 0 : return -1;
16991 : return 8935; /* vpshrdv_v16hi_maskz_1 */
16992 :
16993 95 : case 13:
16994 95 : if (!insn_condition_1004 (operands, insn))
16995 0 : return -1;
16996 : return 8936; /* vpshrdv_v8si_maskz_1 */
16997 :
16998 95 : case 14:
16999 95 : if (!insn_condition_1004 (operands, insn))
17000 0 : return -1;
17001 : return 8937; /* vpshrdv_v4di_maskz_1 */
17002 :
17003 96 : case 15:
17004 96 : if (!insn_condition_1004 (operands, insn))
17005 0 : return -1;
17006 : return 8938; /* vpshrdv_v8hi_maskz_1 */
17007 :
17008 95 : case 16:
17009 95 : if (!insn_condition_1004 (operands, insn))
17010 0 : return -1;
17011 : return 8939; /* vpshrdv_v4si_maskz_1 */
17012 :
17013 94 : case 17:
17014 94 : if (!insn_condition_1004 (operands, insn))
17015 0 : return -1;
17016 : return 8940; /* vpshrdv_v2di_maskz_1 */
17017 :
17018 : default:
17019 : return -1;
17020 : }
17021 : }
17022 :
17023 : int
17024 1387 : recog_156 (rtx x1 ATTRIBUTE_UNUSED,
17025 : rtx_insn *insn ATTRIBUTE_UNUSED,
17026 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17027 : {
17028 1387 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17029 1387 : rtx x2, x3, x4, x5, x6, x7, x8;
17030 1387 : int res ATTRIBUTE_UNUSED;
17031 1387 : x2 = XEXP (x1, 1);
17032 1387 : x3 = XEXP (x2, 0);
17033 1387 : x4 = XVECEXP (x3, 0, 0);
17034 1387 : operands[1] = x4;
17035 1387 : x5 = XVECEXP (x3, 0, 1);
17036 1387 : operands[2] = x5;
17037 1387 : x6 = XVECEXP (x3, 0, 2);
17038 1387 : operands[3] = x6;
17039 1387 : if (!const_0_to_255_operand (operands[3], E_SImode))
17040 : return -1;
17041 1387 : x7 = XEXP (x2, 1);
17042 1387 : operands[4] = x7;
17043 1387 : x8 = XEXP (x2, 2);
17044 1387 : operands[5] = x8;
17045 1387 : switch (GET_MODE (operands[0]))
17046 : {
17047 237 : case E_V16SImode:
17048 237 : if (pattern509 (x2,
17049 : E_V16SImode,
17050 : E_HImode) != 0
17051 237 : || !insn_condition_27 (operands, insn))
17052 32 : return -1;
17053 : return 5749; /* avx512f_alignv16si_mask */
17054 :
17055 229 : case E_V8SImode:
17056 229 : if (pattern509 (x2,
17057 : E_V8SImode,
17058 : E_QImode) != 0
17059 229 : || !insn_condition_341 (operands, insn))
17060 31 : return -1;
17061 : return 5751; /* avx512vl_alignv8si_mask */
17062 :
17063 214 : case E_V4SImode:
17064 214 : if (pattern509 (x2,
17065 : E_V4SImode,
17066 : E_QImode) != 0
17067 214 : || !insn_condition_341 (operands, insn))
17068 17 : return -1;
17069 : return 5753; /* avx512vl_alignv4si_mask */
17070 :
17071 247 : case E_V8DImode:
17072 247 : if (pattern509 (x2,
17073 : E_V8DImode,
17074 : E_QImode) != 0
17075 247 : || !insn_condition_27 (operands, insn))
17076 41 : return -1;
17077 : return 5755; /* avx512f_alignv8di_mask */
17078 :
17079 237 : case E_V4DImode:
17080 237 : if (pattern509 (x2,
17081 : E_V4DImode,
17082 : E_QImode) != 0
17083 237 : || !insn_condition_341 (operands, insn))
17084 38 : return -1;
17085 : return 5757; /* avx512vl_alignv4di_mask */
17086 :
17087 223 : case E_V2DImode:
17088 223 : if (pattern509 (x2,
17089 : E_V2DImode,
17090 : E_QImode) != 0
17091 223 : || !insn_condition_341 (operands, insn))
17092 24 : return -1;
17093 : return 5759; /* avx512vl_alignv2di_mask */
17094 :
17095 : default:
17096 : return -1;
17097 : }
17098 : }
17099 :
17100 : int
17101 51603 : recog_160 (rtx x1 ATTRIBUTE_UNUSED,
17102 : rtx_insn *insn ATTRIBUTE_UNUSED,
17103 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17104 : {
17105 51603 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17106 51603 : rtx x2, x3, x4, x5, x6, x7, x8;
17107 51603 : int res ATTRIBUTE_UNUSED;
17108 51603 : x2 = XEXP (x1, 1);
17109 51603 : x3 = XEXP (x2, 0);
17110 51603 : switch (XINT (x3, 1))
17111 : {
17112 174 : case 191:
17113 174 : x4 = XEXP (x2, 2);
17114 174 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
17115 : return -1;
17116 171 : x5 = XVECEXP (x3, 0, 0);
17117 171 : operands[1] = x5;
17118 171 : x6 = XVECEXP (x3, 0, 1);
17119 171 : operands[2] = x6;
17120 171 : x7 = XVECEXP (x3, 0, 2);
17121 171 : operands[3] = x7;
17122 171 : if (!const_0_to_255_operand (operands[3], E_SImode))
17123 : return -1;
17124 171 : switch (pattern488 (x2))
17125 : {
17126 10 : case 0:
17127 10 : if (!insn_condition_1056 (operands, insn))
17128 0 : return -1;
17129 : return 3378; /* reducesv8hf */
17130 :
17131 67 : case 1:
17132 67 : if (!insn_condition_1057 (operands, insn))
17133 0 : return -1;
17134 : return 3382; /* reducesv4sf */
17135 :
17136 67 : case 2:
17137 67 : if (!insn_condition_1058 (operands, insn))
17138 0 : return -1;
17139 : return 3386; /* reducesv2df */
17140 :
17141 : default:
17142 : return -1;
17143 : }
17144 :
17145 1664 : case 56:
17146 1664 : x4 = XEXP (x2, 2);
17147 1664 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
17148 : return -1;
17149 1664 : x5 = XVECEXP (x3, 0, 0);
17150 1664 : operands[1] = x5;
17151 1664 : x6 = XVECEXP (x3, 0, 1);
17152 1664 : operands[2] = x6;
17153 1664 : x7 = XVECEXP (x3, 0, 2);
17154 1664 : operands[3] = x7;
17155 1664 : if (!cmpps_imm_operand (operands[3], E_SImode))
17156 : return -1;
17157 1664 : switch (pattern1155 (x2))
17158 : {
17159 667 : case 0:
17160 667 : if (!insn_condition_148 (operands, insn))
17161 0 : return -1;
17162 : return 3422; /* avx_vmcmpv4sf3 */
17163 :
17164 635 : case 1:
17165 635 : if (!insn_condition_236 (operands, insn))
17166 0 : return -1;
17167 : return 3423; /* avx_vmcmpv2df3 */
17168 :
17169 : default:
17170 : return -1;
17171 : }
17172 :
17173 5251 : case 132:
17174 5251 : return recog_149 (x1, insn, pnum_clobbers);
17175 :
17176 956 : case 216:
17177 956 : switch (pattern503 (x2))
17178 : {
17179 27 : case 0:
17180 27 : if (!insn_condition_1059 (operands, insn))
17181 0 : return -1;
17182 : return 4476; /* fma_fmaddc_v32hf_maskz_1 */
17183 :
17184 114 : case 1:
17185 114 : if (!insn_condition_1060 (operands, insn))
17186 0 : return -1;
17187 : return 4483; /* fma_fmaddc_v16hf_maskz_1 */
17188 :
17189 114 : case 2:
17190 114 : if (!insn_condition_1061 (operands, insn))
17191 0 : return -1;
17192 : return 4487; /* fma_fmaddc_v8hf_maskz_1 */
17193 :
17194 54 : case 3:
17195 54 : if (!insn_condition_1062 (operands, insn))
17196 0 : return -1;
17197 : return 4514; /* avx512bw_fmaddc_v32hf_mask */
17198 :
17199 230 : case 4:
17200 230 : if (!insn_condition_1063 (operands, insn))
17201 0 : return -1;
17202 : return 4518; /* avx512vl_fmaddc_v16hf_mask */
17203 :
17204 233 : case 5:
17205 233 : if (!insn_condition_1063 (operands, insn))
17206 4 : return -1;
17207 : return 4520; /* avx512fp16_fmaddc_v8hf_mask */
17208 :
17209 23 : case 6:
17210 23 : if (!insn_condition_40 (operands, insn))
17211 0 : return -1;
17212 : return 4538; /* avx512fp16_fma_fmaddcsh_v8hf */
17213 :
17214 : default:
17215 : return -1;
17216 : }
17217 :
17218 940 : case 218:
17219 940 : switch (pattern503 (x2))
17220 : {
17221 27 : case 0:
17222 27 : if (!insn_condition_1059 (operands, insn))
17223 0 : return -1;
17224 : return 4480; /* fma_fcmaddc_v32hf_maskz_1 */
17225 :
17226 114 : case 1:
17227 114 : if (!insn_condition_1060 (operands, insn))
17228 0 : return -1;
17229 : return 4485; /* fma_fcmaddc_v16hf_maskz_1 */
17230 :
17231 114 : case 2:
17232 114 : if (!insn_condition_1061 (operands, insn))
17233 0 : return -1;
17234 : return 4489; /* fma_fcmaddc_v8hf_maskz_1 */
17235 :
17236 54 : case 3:
17237 54 : if (!insn_condition_1062 (operands, insn))
17238 0 : return -1;
17239 : return 4516; /* avx512bw_fcmaddc_v32hf_mask */
17240 :
17241 230 : case 4:
17242 230 : if (!insn_condition_1063 (operands, insn))
17243 0 : return -1;
17244 : return 4519; /* avx512vl_fcmaddc_v16hf_mask */
17245 :
17246 233 : case 5:
17247 233 : if (!insn_condition_1063 (operands, insn))
17248 4 : return -1;
17249 : return 4521; /* avx512fp16_fcmaddc_v8hf_mask */
17250 :
17251 12 : case 6:
17252 12 : if (!insn_condition_40 (operands, insn))
17253 0 : return -1;
17254 : return 4542; /* avx512fp16_fma_fcmaddcsh_v8hf */
17255 :
17256 : default:
17257 : return -1;
17258 : }
17259 :
17260 1387 : case 166:
17261 1387 : return recog_156 (x1, insn, pnum_clobbers);
17262 :
17263 587 : case 120:
17264 587 : x5 = XVECEXP (x3, 0, 0);
17265 587 : operands[1] = x5;
17266 587 : x6 = XVECEXP (x3, 0, 1);
17267 587 : operands[2] = x6;
17268 587 : x7 = XVECEXP (x3, 0, 2);
17269 587 : operands[3] = x7;
17270 587 : if (!const_0_to_255_mul_8_operand (operands[3], E_SImode))
17271 : return -1;
17272 587 : x8 = XEXP (x2, 1);
17273 587 : operands[4] = x8;
17274 587 : x4 = XEXP (x2, 2);
17275 587 : operands[5] = x4;
17276 587 : switch (GET_MODE (operands[0]))
17277 : {
17278 194 : case E_V64QImode:
17279 194 : if (pattern509 (x2,
17280 : E_V64QImode,
17281 : E_DImode) != 0
17282 194 : || !insn_condition_1064 (operands, insn))
17283 21 : return -1;
17284 : return 7306; /* avx512bw_palignrv64qi_mask */
17285 :
17286 195 : case E_V32QImode:
17287 195 : if (pattern509 (x2,
17288 : E_V32QImode,
17289 : E_SImode) != 0
17290 195 : || !insn_condition_1065 (operands, insn))
17291 18 : return -1;
17292 : return 7307; /* avx2_palignrv32qi_mask */
17293 :
17294 198 : case E_V16QImode:
17295 198 : if (pattern509 (x2,
17296 : E_V16QImode,
17297 : E_HImode) != 0
17298 198 : || !insn_condition_1066 (operands, insn))
17299 20 : return -1;
17300 : return 7308; /* ssse3_palignrv16qi_mask */
17301 :
17302 : default:
17303 : return -1;
17304 : }
17305 :
17306 612 : case 127:
17307 612 : switch (pattern505 (x2,
17308 : E_SImode))
17309 : {
17310 187 : case 0:
17311 187 : if (!insn_condition_83 (operands, insn))
17312 0 : return -1;
17313 : return 7389; /* avx10_2_mpsadbw_mask */
17314 :
17315 185 : case 1:
17316 185 : if (!insn_condition_1067 (operands, insn))
17317 0 : return -1;
17318 : return 7391; /* avx2_mpsadbw_mask */
17319 :
17320 186 : case 2:
17321 186 : if (!insn_condition_83 (operands, insn))
17322 0 : return -1;
17323 : return 7393; /* sse4_1_mpsadbw_mask */
17324 :
17325 : default:
17326 : return -1;
17327 : }
17328 :
17329 7083 : case 154:
17330 7083 : return recog_148 (x1, insn, pnum_clobbers);
17331 :
17332 1265 : case 193:
17333 1265 : return recog_153 (x1, insn, pnum_clobbers);
17334 :
17335 416 : case 165:
17336 416 : x4 = XEXP (x2, 2);
17337 416 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
17338 : return -1;
17339 413 : x5 = XVECEXP (x3, 0, 0);
17340 413 : operands[1] = x5;
17341 413 : x6 = XVECEXP (x3, 0, 1);
17342 413 : operands[2] = x6;
17343 413 : x7 = XVECEXP (x3, 0, 2);
17344 413 : operands[3] = x7;
17345 413 : if (!const_0_to_15_operand (operands[3], E_SImode))
17346 : return -1;
17347 413 : switch (pattern488 (x2))
17348 : {
17349 108 : case 0:
17350 108 : if (!insn_condition_26 (operands, insn))
17351 0 : return -1;
17352 : return 8737; /* avx512f_vgetmantv8hf */
17353 :
17354 139 : case 1:
17355 139 : if (!insn_condition_27 (operands, insn))
17356 0 : return -1;
17357 : return 8741; /* avx512f_vgetmantv4sf */
17358 :
17359 139 : case 2:
17360 139 : if (!insn_condition_342 (operands, insn))
17361 0 : return -1;
17362 : return 8745; /* avx512f_vgetmantv2df */
17363 :
17364 : default:
17365 : return -1;
17366 : }
17367 :
17368 666 : case 185:
17369 666 : x5 = XVECEXP (x3, 0, 0);
17370 666 : operands[1] = x5;
17371 666 : x6 = XVECEXP (x3, 0, 1);
17372 666 : operands[2] = x6;
17373 666 : x7 = XVECEXP (x3, 0, 2);
17374 666 : operands[3] = x7;
17375 666 : if (!const_0_to_255_operand (operands[3], E_SImode))
17376 : return -1;
17377 666 : x8 = XEXP (x2, 1);
17378 666 : operands[4] = x8;
17379 666 : x4 = XEXP (x2, 2);
17380 666 : operands[5] = x4;
17381 666 : switch (GET_MODE (operands[0]))
17382 : {
17383 218 : case E_V8HImode:
17384 218 : if (pattern1313 (x2,
17385 : E_QImode,
17386 : E_V8HImode,
17387 : E_V16QImode) != 0
17388 218 : || !insn_condition_1039 (operands, insn))
17389 20 : return -1;
17390 : return 8750; /* avx512bw_dbpsadbwv8hi_mask */
17391 :
17392 224 : case E_V16HImode:
17393 224 : if (pattern1313 (x2,
17394 : E_HImode,
17395 : E_V16HImode,
17396 : E_V32QImode) != 0
17397 224 : || !insn_condition_1039 (operands, insn))
17398 29 : return -1;
17399 : return 8752; /* avx512bw_dbpsadbwv16hi_mask */
17400 :
17401 224 : case E_V32HImode:
17402 224 : if (pattern1313 (x2,
17403 : E_SImode,
17404 : E_V32HImode,
17405 : E_V64QImode) != 0
17406 224 : || !insn_condition_120 (operands, insn))
17407 31 : return -1;
17408 : return 8754; /* avx512bw_dbpsadbwv32hi_mask */
17409 :
17410 : default:
17411 : return -1;
17412 : }
17413 :
17414 832 : case 194:
17415 832 : switch (pattern508 (x2))
17416 : {
17417 103 : case 0:
17418 103 : if (!insn_condition_1068 (operands, insn))
17419 0 : return -1;
17420 : return 8810; /* vpmadd52luqv8di_maskz_1 */
17421 :
17422 104 : case 1:
17423 104 : if (!insn_condition_1069 (operands, insn))
17424 0 : return -1;
17425 : return 8812; /* vpmadd52luqv4di_maskz_1 */
17426 :
17427 103 : case 2:
17428 103 : if (!insn_condition_1069 (operands, insn))
17429 0 : return -1;
17430 : return 8814; /* vpmadd52luqv2di_maskz_1 */
17431 :
17432 129 : case 3:
17433 129 : if (!insn_condition_1068 (operands, insn))
17434 0 : return -1;
17435 : return 8816; /* vpmadd52luqv8di_mask */
17436 :
17437 107 : case 4:
17438 107 : if (!insn_condition_1069 (operands, insn))
17439 0 : return -1;
17440 : return 8818; /* vpmadd52luqv4di_mask */
17441 :
17442 106 : case 5:
17443 106 : if (!insn_condition_1069 (operands, insn))
17444 0 : return -1;
17445 : return 8820; /* vpmadd52luqv2di_mask */
17446 :
17447 : default:
17448 : return -1;
17449 : }
17450 :
17451 896 : case 195:
17452 896 : switch (pattern508 (x2))
17453 : {
17454 104 : case 0:
17455 104 : if (!insn_condition_1068 (operands, insn))
17456 0 : return -1;
17457 : return 8811; /* vpmadd52huqv8di_maskz_1 */
17458 :
17459 105 : case 1:
17460 105 : if (!insn_condition_1069 (operands, insn))
17461 0 : return -1;
17462 : return 8813; /* vpmadd52huqv4di_maskz_1 */
17463 :
17464 104 : case 2:
17465 104 : if (!insn_condition_1069 (operands, insn))
17466 0 : return -1;
17467 : return 8815; /* vpmadd52huqv2di_maskz_1 */
17468 :
17469 128 : case 3:
17470 128 : if (!insn_condition_1068 (operands, insn))
17471 0 : return -1;
17472 : return 8817; /* vpmadd52huqv8di_mask */
17473 :
17474 108 : case 4:
17475 108 : if (!insn_condition_1069 (operands, insn))
17476 0 : return -1;
17477 : return 8819; /* vpmadd52huqv4di_mask */
17478 :
17479 107 : case 5:
17480 107 : if (!insn_condition_1069 (operands, insn))
17481 0 : return -1;
17482 : return 8821; /* vpmadd52huqv2di_mask */
17483 :
17484 : default:
17485 : return -1;
17486 : }
17487 :
17488 684 : case 197:
17489 684 : switch (pattern505 (x2,
17490 : E_VOIDmode))
17491 : {
17492 189 : case 0:
17493 189 : if (!insn_condition_1049 (operands, insn))
17494 0 : return -1;
17495 : return 8861; /* vgf2p8affineinvqb_v64qi_mask */
17496 :
17497 191 : case 1:
17498 191 : if (!insn_condition_1050 (operands, insn))
17499 0 : return -1;
17500 : return 8863; /* vgf2p8affineinvqb_v32qi_mask */
17501 :
17502 192 : case 2:
17503 192 : if (!insn_condition_1051 (operands, insn))
17504 0 : return -1;
17505 : return 8865; /* vgf2p8affineinvqb_v16qi_mask */
17506 :
17507 : default:
17508 : return -1;
17509 : }
17510 :
17511 720 : case 198:
17512 720 : switch (pattern505 (x2,
17513 : E_VOIDmode))
17514 : {
17515 200 : case 0:
17516 200 : if (!insn_condition_1049 (operands, insn))
17517 0 : return -1;
17518 : return 8867; /* vgf2p8affineqb_v64qi_mask */
17519 :
17520 191 : case 1:
17521 191 : if (!insn_condition_1050 (operands, insn))
17522 0 : return -1;
17523 : return 8869; /* vgf2p8affineqb_v32qi_mask */
17524 :
17525 192 : case 2:
17526 192 : if (!insn_condition_1051 (operands, insn))
17527 0 : return -1;
17528 : return 8871; /* vgf2p8affineqb_v16qi_mask */
17529 :
17530 : default:
17531 : return -1;
17532 : }
17533 :
17534 2158 : case 201:
17535 2158 : return recog_157 (x1, insn, pnum_clobbers);
17536 :
17537 2067 : case 200:
17538 2067 : return recog_158 (x1, insn, pnum_clobbers);
17539 :
17540 1920 : case 202:
17541 1920 : return recog_152 (x1, insn, pnum_clobbers);
17542 :
17543 1920 : case 203:
17544 1920 : return recog_151 (x1, insn, pnum_clobbers);
17545 :
17546 680 : case 204:
17547 680 : switch (pattern515 (x2))
17548 : {
17549 97 : case 0:
17550 97 : if (!insn_condition_1070 (operands, insn))
17551 0 : return -1;
17552 : return 8971; /* vpdpbusd_v16si_mask */
17553 :
17554 104 : case 1:
17555 104 : if (!insn_condition_1071 (operands, insn))
17556 0 : return -1;
17557 : return 8972; /* vpdpbusd_v8si_mask */
17558 :
17559 104 : case 2:
17560 104 : if (!insn_condition_1071 (operands, insn))
17561 0 : return -1;
17562 : return 8973; /* vpdpbusd_v4si_mask */
17563 :
17564 95 : case 3:
17565 95 : if (!insn_condition_1070 (operands, insn))
17566 0 : return -1;
17567 : return 8974; /* vpdpbusd_v16si_maskz_1 */
17568 :
17569 103 : case 4:
17570 103 : if (!insn_condition_1071 (operands, insn))
17571 0 : return -1;
17572 : return 8975; /* vpdpbusd_v8si_maskz_1 */
17573 :
17574 102 : case 5:
17575 102 : if (!insn_condition_1071 (operands, insn))
17576 0 : return -1;
17577 : return 8976; /* vpdpbusd_v4si_maskz_1 */
17578 :
17579 : default:
17580 : return -1;
17581 : }
17582 :
17583 680 : case 205:
17584 680 : switch (pattern515 (x2))
17585 : {
17586 97 : case 0:
17587 97 : if (!insn_condition_1070 (operands, insn))
17588 0 : return -1;
17589 : return 8980; /* vpdpbusds_v16si_mask */
17590 :
17591 104 : case 1:
17592 104 : if (!insn_condition_1071 (operands, insn))
17593 0 : return -1;
17594 : return 8981; /* vpdpbusds_v8si_mask */
17595 :
17596 104 : case 2:
17597 104 : if (!insn_condition_1071 (operands, insn))
17598 0 : return -1;
17599 : return 8982; /* vpdpbusds_v4si_mask */
17600 :
17601 95 : case 3:
17602 95 : if (!insn_condition_1070 (operands, insn))
17603 0 : return -1;
17604 : return 8983; /* vpdpbusds_v16si_maskz_1 */
17605 :
17606 103 : case 4:
17607 103 : if (!insn_condition_1071 (operands, insn))
17608 0 : return -1;
17609 : return 8984; /* vpdpbusds_v8si_maskz_1 */
17610 :
17611 102 : case 5:
17612 102 : if (!insn_condition_1071 (operands, insn))
17613 0 : return -1;
17614 : return 8985; /* vpdpbusds_v4si_maskz_1 */
17615 :
17616 : default:
17617 : return -1;
17618 : }
17619 :
17620 674 : case 206:
17621 674 : switch (pattern515 (x2))
17622 : {
17623 96 : case 0:
17624 96 : if (!insn_condition_1070 (operands, insn))
17625 0 : return -1;
17626 : return 8989; /* vpdpwssd_v16si_mask */
17627 :
17628 103 : case 1:
17629 103 : if (!insn_condition_1071 (operands, insn))
17630 0 : return -1;
17631 : return 8990; /* vpdpwssd_v8si_mask */
17632 :
17633 103 : case 2:
17634 103 : if (!insn_condition_1071 (operands, insn))
17635 0 : return -1;
17636 : return 8991; /* vpdpwssd_v4si_mask */
17637 :
17638 94 : case 3:
17639 94 : if (!insn_condition_1070 (operands, insn))
17640 0 : return -1;
17641 : return 8992; /* vpdpwssd_v16si_maskz_1 */
17642 :
17643 102 : case 4:
17644 102 : if (!insn_condition_1071 (operands, insn))
17645 0 : return -1;
17646 : return 8993; /* vpdpwssd_v8si_maskz_1 */
17647 :
17648 101 : case 5:
17649 101 : if (!insn_condition_1071 (operands, insn))
17650 0 : return -1;
17651 : return 8994; /* vpdpwssd_v4si_maskz_1 */
17652 :
17653 : default:
17654 : return -1;
17655 : }
17656 :
17657 674 : case 207:
17658 674 : switch (pattern515 (x2))
17659 : {
17660 96 : case 0:
17661 96 : if (!insn_condition_1070 (operands, insn))
17662 0 : return -1;
17663 : return 8998; /* vpdpwssds_v16si_mask */
17664 :
17665 103 : case 1:
17666 103 : if (!insn_condition_1071 (operands, insn))
17667 0 : return -1;
17668 : return 8999; /* vpdpwssds_v8si_mask */
17669 :
17670 103 : case 2:
17671 103 : if (!insn_condition_1071 (operands, insn))
17672 0 : return -1;
17673 : return 9000; /* vpdpwssds_v4si_mask */
17674 :
17675 94 : case 3:
17676 94 : if (!insn_condition_1070 (operands, insn))
17677 0 : return -1;
17678 : return 9001; /* vpdpwssds_v16si_maskz_1 */
17679 :
17680 102 : case 4:
17681 102 : if (!insn_condition_1071 (operands, insn))
17682 0 : return -1;
17683 : return 9002; /* vpdpwssds_v8si_maskz_1 */
17684 :
17685 101 : case 5:
17686 101 : if (!insn_condition_1071 (operands, insn))
17687 0 : return -1;
17688 : return 9003; /* vpdpwssds_v4si_maskz_1 */
17689 :
17690 : default:
17691 : return -1;
17692 : }
17693 :
17694 579 : case 215:
17695 579 : return recog_155 (x1, insn, pnum_clobbers);
17696 :
17697 694 : case 226:
17698 694 : switch (pattern517 (x2))
17699 : {
17700 104 : case 0:
17701 104 : if (!insn_condition_1072 (operands, insn))
17702 0 : return -1;
17703 : return 9084; /* vpdpbssd_v16si_mask */
17704 :
17705 103 : case 1:
17706 103 : if (!insn_condition_1072 (operands, insn))
17707 0 : return -1;
17708 : return 9090; /* vpdpbssd_v8si_mask */
17709 :
17710 102 : case 2:
17711 102 : if (!insn_condition_1072 (operands, insn))
17712 0 : return -1;
17713 : return 9096; /* vpdpbssd_v4si_mask */
17714 :
17715 102 : case 3:
17716 102 : if (!insn_condition_1072 (operands, insn))
17717 0 : return -1;
17718 : return 9102; /* *vpdpbssd_v16si_maskz */
17719 :
17720 101 : case 4:
17721 101 : if (!insn_condition_1072 (operands, insn))
17722 0 : return -1;
17723 : return 9108; /* *vpdpbssd_v8si_maskz */
17724 :
17725 101 : case 5:
17726 101 : if (!insn_condition_1072 (operands, insn))
17727 0 : return -1;
17728 : return 9114; /* *vpdpbssd_v4si_maskz */
17729 :
17730 : default:
17731 : return -1;
17732 : }
17733 :
17734 694 : case 227:
17735 694 : switch (pattern517 (x2))
17736 : {
17737 104 : case 0:
17738 104 : if (!insn_condition_1072 (operands, insn))
17739 0 : return -1;
17740 : return 9085; /* vpdpbssds_v16si_mask */
17741 :
17742 103 : case 1:
17743 103 : if (!insn_condition_1072 (operands, insn))
17744 0 : return -1;
17745 : return 9091; /* vpdpbssds_v8si_mask */
17746 :
17747 102 : case 2:
17748 102 : if (!insn_condition_1072 (operands, insn))
17749 0 : return -1;
17750 : return 9097; /* vpdpbssds_v4si_mask */
17751 :
17752 102 : case 3:
17753 102 : if (!insn_condition_1072 (operands, insn))
17754 0 : return -1;
17755 : return 9103; /* *vpdpbssds_v16si_maskz */
17756 :
17757 101 : case 4:
17758 101 : if (!insn_condition_1072 (operands, insn))
17759 0 : return -1;
17760 : return 9109; /* *vpdpbssds_v8si_maskz */
17761 :
17762 101 : case 5:
17763 101 : if (!insn_condition_1072 (operands, insn))
17764 0 : return -1;
17765 : return 9115; /* *vpdpbssds_v4si_maskz */
17766 :
17767 : default:
17768 : return -1;
17769 : }
17770 :
17771 694 : case 228:
17772 694 : switch (pattern517 (x2))
17773 : {
17774 104 : case 0:
17775 104 : if (!insn_condition_1072 (operands, insn))
17776 0 : return -1;
17777 : return 9086; /* vpdpbsud_v16si_mask */
17778 :
17779 103 : case 1:
17780 103 : if (!insn_condition_1072 (operands, insn))
17781 0 : return -1;
17782 : return 9092; /* vpdpbsud_v8si_mask */
17783 :
17784 102 : case 2:
17785 102 : if (!insn_condition_1072 (operands, insn))
17786 0 : return -1;
17787 : return 9098; /* vpdpbsud_v4si_mask */
17788 :
17789 102 : case 3:
17790 102 : if (!insn_condition_1072 (operands, insn))
17791 0 : return -1;
17792 : return 9104; /* *vpdpbsud_v16si_maskz */
17793 :
17794 101 : case 4:
17795 101 : if (!insn_condition_1072 (operands, insn))
17796 0 : return -1;
17797 : return 9110; /* *vpdpbsud_v8si_maskz */
17798 :
17799 101 : case 5:
17800 101 : if (!insn_condition_1072 (operands, insn))
17801 0 : return -1;
17802 : return 9116; /* *vpdpbsud_v4si_maskz */
17803 :
17804 : default:
17805 : return -1;
17806 : }
17807 :
17808 694 : case 229:
17809 694 : switch (pattern517 (x2))
17810 : {
17811 104 : case 0:
17812 104 : if (!insn_condition_1072 (operands, insn))
17813 0 : return -1;
17814 : return 9087; /* vpdpbsuds_v16si_mask */
17815 :
17816 103 : case 1:
17817 103 : if (!insn_condition_1072 (operands, insn))
17818 0 : return -1;
17819 : return 9093; /* vpdpbsuds_v8si_mask */
17820 :
17821 102 : case 2:
17822 102 : if (!insn_condition_1072 (operands, insn))
17823 0 : return -1;
17824 : return 9099; /* vpdpbsuds_v4si_mask */
17825 :
17826 102 : case 3:
17827 102 : if (!insn_condition_1072 (operands, insn))
17828 0 : return -1;
17829 : return 9105; /* *vpdpbsuds_v16si_maskz */
17830 :
17831 101 : case 4:
17832 101 : if (!insn_condition_1072 (operands, insn))
17833 0 : return -1;
17834 : return 9111; /* *vpdpbsuds_v8si_maskz */
17835 :
17836 101 : case 5:
17837 101 : if (!insn_condition_1072 (operands, insn))
17838 0 : return -1;
17839 : return 9117; /* *vpdpbsuds_v4si_maskz */
17840 :
17841 : default:
17842 : return -1;
17843 : }
17844 :
17845 692 : case 230:
17846 692 : switch (pattern517 (x2))
17847 : {
17848 103 : case 0:
17849 103 : if (!insn_condition_1072 (operands, insn))
17850 0 : return -1;
17851 : return 9088; /* vpdpbuud_v16si_mask */
17852 :
17853 103 : case 1:
17854 103 : if (!insn_condition_1072 (operands, insn))
17855 0 : return -1;
17856 : return 9094; /* vpdpbuud_v8si_mask */
17857 :
17858 102 : case 2:
17859 102 : if (!insn_condition_1072 (operands, insn))
17860 0 : return -1;
17861 : return 9100; /* vpdpbuud_v4si_mask */
17862 :
17863 101 : case 3:
17864 101 : if (!insn_condition_1072 (operands, insn))
17865 0 : return -1;
17866 : return 9106; /* *vpdpbuud_v16si_maskz */
17867 :
17868 101 : case 4:
17869 101 : if (!insn_condition_1072 (operands, insn))
17870 0 : return -1;
17871 : return 9112; /* *vpdpbuud_v8si_maskz */
17872 :
17873 101 : case 5:
17874 101 : if (!insn_condition_1072 (operands, insn))
17875 0 : return -1;
17876 : return 9118; /* *vpdpbuud_v4si_maskz */
17877 :
17878 : default:
17879 : return -1;
17880 : }
17881 :
17882 692 : case 231:
17883 692 : switch (pattern517 (x2))
17884 : {
17885 103 : case 0:
17886 103 : if (!insn_condition_1072 (operands, insn))
17887 0 : return -1;
17888 : return 9089; /* vpdpbuuds_v16si_mask */
17889 :
17890 103 : case 1:
17891 103 : if (!insn_condition_1072 (operands, insn))
17892 0 : return -1;
17893 : return 9095; /* vpdpbuuds_v8si_mask */
17894 :
17895 102 : case 2:
17896 102 : if (!insn_condition_1072 (operands, insn))
17897 0 : return -1;
17898 : return 9101; /* vpdpbuuds_v4si_mask */
17899 :
17900 101 : case 3:
17901 101 : if (!insn_condition_1072 (operands, insn))
17902 0 : return -1;
17903 : return 9107; /* *vpdpbuuds_v16si_maskz */
17904 :
17905 101 : case 4:
17906 101 : if (!insn_condition_1072 (operands, insn))
17907 0 : return -1;
17908 : return 9113; /* *vpdpbuuds_v8si_maskz */
17909 :
17910 101 : case 5:
17911 101 : if (!insn_condition_1072 (operands, insn))
17912 0 : return -1;
17913 : return 9119; /* *vpdpbuuds_v4si_maskz */
17914 :
17915 : default:
17916 : return -1;
17917 : }
17918 :
17919 692 : case 232:
17920 692 : switch (pattern517 (x2))
17921 : {
17922 103 : case 0:
17923 103 : if (!insn_condition_1072 (operands, insn))
17924 0 : return -1;
17925 : return 9236; /* vpdpwusd_v16si_mask */
17926 :
17927 103 : case 1:
17928 103 : if (!insn_condition_1072 (operands, insn))
17929 0 : return -1;
17930 : return 9242; /* vpdpwusd_v8si_mask */
17931 :
17932 102 : case 2:
17933 102 : if (!insn_condition_1072 (operands, insn))
17934 0 : return -1;
17935 : return 9248; /* vpdpwusd_v4si_mask */
17936 :
17937 101 : case 3:
17938 101 : if (!insn_condition_1072 (operands, insn))
17939 0 : return -1;
17940 : return 9254; /* *vpdpwusd_v16si_maskz */
17941 :
17942 101 : case 4:
17943 101 : if (!insn_condition_1072 (operands, insn))
17944 0 : return -1;
17945 : return 9260; /* *vpdpwusd_v8si_maskz */
17946 :
17947 101 : case 5:
17948 101 : if (!insn_condition_1072 (operands, insn))
17949 0 : return -1;
17950 : return 9266; /* *vpdpwusd_v4si_maskz */
17951 :
17952 : default:
17953 : return -1;
17954 : }
17955 :
17956 692 : case 233:
17957 692 : switch (pattern517 (x2))
17958 : {
17959 103 : case 0:
17960 103 : if (!insn_condition_1072 (operands, insn))
17961 0 : return -1;
17962 : return 9237; /* vpdpwusds_v16si_mask */
17963 :
17964 103 : case 1:
17965 103 : if (!insn_condition_1072 (operands, insn))
17966 0 : return -1;
17967 : return 9243; /* vpdpwusds_v8si_mask */
17968 :
17969 102 : case 2:
17970 102 : if (!insn_condition_1072 (operands, insn))
17971 0 : return -1;
17972 : return 9249; /* vpdpwusds_v4si_mask */
17973 :
17974 101 : case 3:
17975 101 : if (!insn_condition_1072 (operands, insn))
17976 0 : return -1;
17977 : return 9255; /* *vpdpwusds_v16si_maskz */
17978 :
17979 101 : case 4:
17980 101 : if (!insn_condition_1072 (operands, insn))
17981 0 : return -1;
17982 : return 9261; /* *vpdpwusds_v8si_maskz */
17983 :
17984 101 : case 5:
17985 101 : if (!insn_condition_1072 (operands, insn))
17986 0 : return -1;
17987 : return 9267; /* *vpdpwusds_v4si_maskz */
17988 :
17989 : default:
17990 : return -1;
17991 : }
17992 :
17993 692 : case 234:
17994 692 : switch (pattern517 (x2))
17995 : {
17996 103 : case 0:
17997 103 : if (!insn_condition_1072 (operands, insn))
17998 0 : return -1;
17999 : return 9238; /* vpdpwsud_v16si_mask */
18000 :
18001 103 : case 1:
18002 103 : if (!insn_condition_1072 (operands, insn))
18003 0 : return -1;
18004 : return 9244; /* vpdpwsud_v8si_mask */
18005 :
18006 102 : case 2:
18007 102 : if (!insn_condition_1072 (operands, insn))
18008 0 : return -1;
18009 : return 9250; /* vpdpwsud_v4si_mask */
18010 :
18011 101 : case 3:
18012 101 : if (!insn_condition_1072 (operands, insn))
18013 0 : return -1;
18014 : return 9256; /* *vpdpwsud_v16si_maskz */
18015 :
18016 101 : case 4:
18017 101 : if (!insn_condition_1072 (operands, insn))
18018 0 : return -1;
18019 : return 9262; /* *vpdpwsud_v8si_maskz */
18020 :
18021 101 : case 5:
18022 101 : if (!insn_condition_1072 (operands, insn))
18023 0 : return -1;
18024 : return 9268; /* *vpdpwsud_v4si_maskz */
18025 :
18026 : default:
18027 : return -1;
18028 : }
18029 :
18030 692 : case 235:
18031 692 : switch (pattern517 (x2))
18032 : {
18033 103 : case 0:
18034 103 : if (!insn_condition_1072 (operands, insn))
18035 0 : return -1;
18036 : return 9239; /* vpdpwsuds_v16si_mask */
18037 :
18038 103 : case 1:
18039 103 : if (!insn_condition_1072 (operands, insn))
18040 0 : return -1;
18041 : return 9245; /* vpdpwsuds_v8si_mask */
18042 :
18043 102 : case 2:
18044 102 : if (!insn_condition_1072 (operands, insn))
18045 0 : return -1;
18046 : return 9251; /* vpdpwsuds_v4si_mask */
18047 :
18048 101 : case 3:
18049 101 : if (!insn_condition_1072 (operands, insn))
18050 0 : return -1;
18051 : return 9257; /* *vpdpwsuds_v16si_maskz */
18052 :
18053 101 : case 4:
18054 101 : if (!insn_condition_1072 (operands, insn))
18055 0 : return -1;
18056 : return 9263; /* *vpdpwsuds_v8si_maskz */
18057 :
18058 101 : case 5:
18059 101 : if (!insn_condition_1072 (operands, insn))
18060 0 : return -1;
18061 : return 9269; /* *vpdpwsuds_v4si_maskz */
18062 :
18063 : default:
18064 : return -1;
18065 : }
18066 :
18067 692 : case 236:
18068 692 : switch (pattern517 (x2))
18069 : {
18070 103 : case 0:
18071 103 : if (!insn_condition_1072 (operands, insn))
18072 0 : return -1;
18073 : return 9240; /* vpdpwuud_v16si_mask */
18074 :
18075 103 : case 1:
18076 103 : if (!insn_condition_1072 (operands, insn))
18077 0 : return -1;
18078 : return 9246; /* vpdpwuud_v8si_mask */
18079 :
18080 102 : case 2:
18081 102 : if (!insn_condition_1072 (operands, insn))
18082 0 : return -1;
18083 : return 9252; /* vpdpwuud_v4si_mask */
18084 :
18085 101 : case 3:
18086 101 : if (!insn_condition_1072 (operands, insn))
18087 0 : return -1;
18088 : return 9258; /* *vpdpwuud_v16si_maskz */
18089 :
18090 101 : case 4:
18091 101 : if (!insn_condition_1072 (operands, insn))
18092 0 : return -1;
18093 : return 9264; /* *vpdpwuud_v8si_maskz */
18094 :
18095 101 : case 5:
18096 101 : if (!insn_condition_1072 (operands, insn))
18097 0 : return -1;
18098 : return 9270; /* *vpdpwuud_v4si_maskz */
18099 :
18100 : default:
18101 : return -1;
18102 : }
18103 :
18104 692 : case 237:
18105 692 : switch (pattern517 (x2))
18106 : {
18107 103 : case 0:
18108 103 : if (!insn_condition_1072 (operands, insn))
18109 0 : return -1;
18110 : return 9241; /* vpdpwuuds_v16si_mask */
18111 :
18112 103 : case 1:
18113 103 : if (!insn_condition_1072 (operands, insn))
18114 0 : return -1;
18115 : return 9247; /* vpdpwuuds_v8si_mask */
18116 :
18117 102 : case 2:
18118 102 : if (!insn_condition_1072 (operands, insn))
18119 0 : return -1;
18120 : return 9253; /* vpdpwuuds_v4si_mask */
18121 :
18122 101 : case 3:
18123 101 : if (!insn_condition_1072 (operands, insn))
18124 0 : return -1;
18125 : return 9259; /* *vpdpwuuds_v16si_maskz */
18126 :
18127 101 : case 4:
18128 101 : if (!insn_condition_1072 (operands, insn))
18129 0 : return -1;
18130 : return 9265; /* *vpdpwuuds_v8si_maskz */
18131 :
18132 101 : case 5:
18133 101 : if (!insn_condition_1072 (operands, insn))
18134 0 : return -1;
18135 : return 9271; /* *vpdpwuuds_v4si_maskz */
18136 :
18137 : default:
18138 : return -1;
18139 : }
18140 :
18141 705 : case 243:
18142 705 : return recog_154 (x1, insn, pnum_clobbers);
18143 :
18144 1404 : case 276:
18145 1404 : x5 = XVECEXP (x3, 0, 0);
18146 1404 : operands[1] = x5;
18147 1404 : x6 = XVECEXP (x3, 0, 1);
18148 1404 : operands[2] = x6;
18149 1404 : x7 = XVECEXP (x3, 0, 2);
18150 1404 : operands[3] = x7;
18151 1404 : if (!const_0_to_255_operand (operands[3], E_SImode))
18152 : return -1;
18153 1404 : x8 = XEXP (x2, 1);
18154 1404 : operands[4] = x8;
18155 1404 : x4 = XEXP (x2, 2);
18156 1404 : operands[5] = x4;
18157 1404 : switch (GET_MODE (operands[0]))
18158 : {
18159 476 : case E_V32BFmode:
18160 476 : if (pattern1316 (x2,
18161 : E_SImode,
18162 : E_V32BFmode) != 0
18163 476 : || !insn_condition_83 (operands, insn))
18164 126 : return -1;
18165 : return 9602; /* avx10_2_minmaxbf16_v32bf_mask */
18166 :
18167 476 : case E_V16BFmode:
18168 476 : if (pattern1316 (x2,
18169 : E_HImode,
18170 : E_V16BFmode) != 0
18171 476 : || !insn_condition_83 (operands, insn))
18172 125 : return -1;
18173 : return 9604; /* avx10_2_minmaxbf16_v16bf_mask */
18174 :
18175 452 : case E_V8BFmode:
18176 452 : if (pattern1316 (x2,
18177 : E_QImode,
18178 : E_V8BFmode) != 0
18179 452 : || !insn_condition_83 (operands, insn))
18180 78 : return -1;
18181 : return 9606; /* avx10_2_minmaxbf16_v8bf_mask */
18182 :
18183 : default:
18184 : return -1;
18185 : }
18186 :
18187 5697 : case 277:
18188 5697 : return recog_150 (x1, insn, pnum_clobbers);
18189 :
18190 : default:
18191 : return -1;
18192 : }
18193 : }
18194 :
18195 : int
18196 5404 : recog_176 (rtx x1 ATTRIBUTE_UNUSED,
18197 : rtx_insn *insn ATTRIBUTE_UNUSED,
18198 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18199 : {
18200 5404 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18201 5404 : rtx x2, x3, x4;
18202 5404 : int res ATTRIBUTE_UNUSED;
18203 5404 : x2 = XEXP (x1, 1);
18204 5404 : x3 = XEXP (x2, 1);
18205 5404 : switch (GET_CODE (x3))
18206 : {
18207 1736 : case CONST_INT:
18208 1736 : case CONST_DOUBLE:
18209 1736 : case CONST_VECTOR:
18210 1736 : operands[4] = x3;
18211 1736 : x4 = XEXP (x2, 2);
18212 1736 : switch (GET_CODE (x4))
18213 : {
18214 1593 : case REG:
18215 1593 : case SUBREG:
18216 1593 : operands[5] = x4;
18217 1593 : switch (GET_MODE (operands[0]))
18218 : {
18219 116 : case E_V4SFmode:
18220 116 : if (pattern1434 (x2,
18221 : E_V4SFmode) != 0)
18222 : return -1;
18223 114 : if (nonimmediate_operand (operands[1], E_V4SFmode)
18224 114 : && nonimmediate_operand (operands[2], E_V4SFmode)
18225 114 : && nonimmediate_operand (operands[3], E_V4SFmode)
18226 114 : && insn_condition_559 (operands, insn))
18227 : return 4170; /* *fma_fnmsub_v4sf */
18228 60 : if (!bcst_vector_operand (operands[1], E_V4SFmode)
18229 60 : || !bcst_vector_operand (operands[2], E_V4SFmode)
18230 60 : || !bcst_vector_operand (operands[3], E_V4SFmode)
18231 60 : || !insn_condition_999 (operands, insn))
18232 0 : return -1;
18233 : return 4202; /* fma_fnmsub_v4sf_maskz_1 */
18234 :
18235 115 : case E_V2DFmode:
18236 115 : if (pattern1434 (x2,
18237 : E_V2DFmode) != 0)
18238 : return -1;
18239 113 : if (nonimmediate_operand (operands[1], E_V2DFmode)
18240 113 : && nonimmediate_operand (operands[2], E_V2DFmode)
18241 113 : && nonimmediate_operand (operands[3], E_V2DFmode)
18242 113 : && insn_condition_559 (operands, insn))
18243 : return 4174; /* *fma_fnmsub_v2df */
18244 59 : if (!bcst_vector_operand (operands[1], E_V2DFmode)
18245 59 : || !bcst_vector_operand (operands[2], E_V2DFmode)
18246 59 : || !bcst_vector_operand (operands[3], E_V2DFmode)
18247 59 : || !insn_condition_999 (operands, insn))
18248 0 : return -1;
18249 : return 4211; /* fma_fnmsub_v2df_maskz_1 */
18250 :
18251 172 : case E_V8SFmode:
18252 172 : if (pattern1434 (x2,
18253 : E_V8SFmode) != 0)
18254 : return -1;
18255 165 : if (nonimmediate_operand (operands[1], E_V8SFmode)
18256 165 : && nonimmediate_operand (operands[2], E_V8SFmode)
18257 165 : && nonimmediate_operand (operands[3], E_V8SFmode)
18258 165 : && insn_condition_559 (operands, insn))
18259 : return 4178; /* *fma_fnmsub_v8sf */
18260 94 : if (!bcst_vector_operand (operands[1], E_V8SFmode)
18261 94 : || !bcst_vector_operand (operands[2], E_V8SFmode)
18262 94 : || !bcst_vector_operand (operands[3], E_V8SFmode)
18263 94 : || !insn_condition_998 (operands, insn))
18264 0 : return -1;
18265 : return 4200; /* fma_fnmsub_v8sf_maskz_1 */
18266 :
18267 174 : case E_V4DFmode:
18268 174 : if (pattern1434 (x2,
18269 : E_V4DFmode) != 0)
18270 : return -1;
18271 164 : if (nonimmediate_operand (operands[1], E_V4DFmode)
18272 164 : && nonimmediate_operand (operands[2], E_V4DFmode)
18273 164 : && nonimmediate_operand (operands[3], E_V4DFmode)
18274 164 : && insn_condition_559 (operands, insn))
18275 : return 4182; /* *fma_fnmsub_v4df */
18276 93 : if (!bcst_vector_operand (operands[1], E_V4DFmode)
18277 93 : || !bcst_vector_operand (operands[2], E_V4DFmode)
18278 93 : || !bcst_vector_operand (operands[3], E_V4DFmode)
18279 93 : || !insn_condition_998 (operands, insn))
18280 0 : return -1;
18281 : return 4209; /* fma_fnmsub_v4df_maskz_1 */
18282 :
18283 31 : case E_V32HFmode:
18284 31 : if (pattern1435 (x2,
18285 : E_SImode,
18286 : E_V32HFmode) != 0
18287 31 : || !insn_condition_994 (operands, insn))
18288 4 : return -1;
18289 : return 4186; /* fma_fnmsub_v32hf_maskz_1 */
18290 :
18291 238 : case E_V16HFmode:
18292 238 : if (pattern1435 (x2,
18293 : E_HImode,
18294 : E_V16HFmode) != 0
18295 238 : || !insn_condition_995 (operands, insn))
18296 11 : return -1;
18297 : return 4190; /* fma_fnmsub_v16hf_maskz_1 */
18298 :
18299 106 : case E_V8HFmode:
18300 106 : if (pattern1435 (x2,
18301 : E_QImode,
18302 : E_V8HFmode) != 0
18303 106 : || !insn_condition_996 (operands, insn))
18304 3 : return -1;
18305 : return 4192; /* fma_fnmsub_v8hf_maskz_1 */
18306 :
18307 217 : case E_V16SFmode:
18308 217 : if (pattern1435 (x2,
18309 : E_HImode,
18310 : E_V16SFmode) != 0
18311 217 : || !insn_condition_997 (operands, insn))
18312 4 : return -1;
18313 : return 4196; /* fma_fnmsub_v16sf_maskz_1 */
18314 :
18315 145 : case E_V8DFmode:
18316 145 : if (pattern1435 (x2,
18317 : E_QImode,
18318 : E_V8DFmode) != 0
18319 145 : || !insn_condition_997 (operands, insn))
18320 11 : return -1;
18321 : return 4205; /* fma_fnmsub_v8df_maskz_1 */
18322 :
18323 93 : case E_V32BFmode:
18324 93 : if (pattern1436 (x2,
18325 : E_SImode,
18326 : E_V32BFmode) != 0
18327 93 : || !insn_condition_41 (operands, insn))
18328 2 : return -1;
18329 : return 9360; /* avx10_2_fnmsubbf16_v32bf_maskz_1 */
18330 :
18331 93 : case E_V16BFmode:
18332 93 : if (pattern1436 (x2,
18333 : E_HImode,
18334 : E_V16BFmode) != 0
18335 93 : || !insn_condition_41 (operands, insn))
18336 2 : return -1;
18337 : return 9362; /* avx10_2_fnmsubbf16_v16bf_maskz_1 */
18338 :
18339 93 : case E_V8BFmode:
18340 93 : if (pattern1436 (x2,
18341 : E_QImode,
18342 : E_V8BFmode) != 0
18343 93 : || !insn_condition_41 (operands, insn))
18344 2 : return -1;
18345 : return 9364; /* avx10_2_fnmsubbf16_v8bf_maskz_1 */
18346 :
18347 : default:
18348 : return -1;
18349 : }
18350 :
18351 58 : case CONST_INT:
18352 58 : if (XWINT (x4, 0) != 1L)
18353 : return -1;
18354 10 : switch (GET_MODE (operands[0]))
18355 : {
18356 5 : case E_V4SFmode:
18357 5 : if (pattern1437 (x2,
18358 : E_V4SFmode) != 0
18359 5 : || !insn_condition_1135 (operands, insn))
18360 0 : return -1;
18361 : return 4472; /* *fma4i_vmfnmsub_v4sf */
18362 :
18363 5 : case E_V2DFmode:
18364 5 : if (pattern1437 (x2,
18365 : E_V2DFmode) != 0
18366 5 : || !insn_condition_1136 (operands, insn))
18367 0 : return -1;
18368 : return 4473; /* *fma4i_vmfnmsub_v2df */
18369 :
18370 : default:
18371 : return -1;
18372 : }
18373 :
18374 : default:
18375 : return -1;
18376 : }
18377 :
18378 3567 : case REG:
18379 3567 : case SUBREG:
18380 3567 : case MEM:
18381 3567 : switch (pattern676 (x2))
18382 : {
18383 101 : case 0:
18384 101 : if (pattern1334 (x2,
18385 : E_V32HFmode,
18386 : E_SImode) != 0)
18387 : return -1;
18388 92 : if (nonimmediate_operand (operands[1], E_V32HFmode)
18389 92 : && vector_operand (operands[3], E_V32HFmode)
18390 92 : && rtx_equal_p (x3, operands[1])
18391 92 : && insn_condition_916 (operands, insn))
18392 : return 4212; /* avx512bw_fnmsub_v32hf_mask */
18393 39 : if (!vector_operand (operands[1], E_V32HFmode)
18394 39 : || !nonimmediate_operand (operands[3], E_V32HFmode)
18395 39 : || !rtx_equal_p (x3, operands[3])
18396 39 : || !insn_condition_26 (operands, insn))
18397 0 : return -1;
18398 : return 4224; /* avx512bw_fnmsub_v32hf_mask3 */
18399 :
18400 509 : case 1:
18401 509 : if (pattern1334 (x2,
18402 : E_V16HFmode,
18403 : E_HImode) != 0)
18404 : return -1;
18405 462 : if (nonimmediate_operand (operands[1], E_V16HFmode)
18406 462 : && vector_operand (operands[3], E_V16HFmode)
18407 446 : && rtx_equal_p (x3, operands[1])
18408 706 : && insn_condition_95 (operands, insn))
18409 : return 4214; /* avx512vl_fnmsub_v16hf_mask */
18410 218 : if (!vector_operand (operands[1], E_V16HFmode)
18411 218 : || !nonimmediate_operand (operands[3], E_V16HFmode)
18412 202 : || !rtx_equal_p (x3, operands[3])
18413 420 : || !insn_condition_972 (operands, insn))
18414 16 : return -1;
18415 : return 4226; /* avx512vl_fnmsub_v16hf_mask3 */
18416 :
18417 249 : case 2:
18418 249 : if (pattern1334 (x2,
18419 : E_V8HFmode,
18420 : E_QImode) != 0)
18421 : return -1;
18422 242 : if (nonimmediate_operand (operands[1], E_V8HFmode)
18423 242 : && vector_operand (operands[3], E_V8HFmode)
18424 242 : && rtx_equal_p (x3, operands[1])
18425 372 : && insn_condition_95 (operands, insn))
18426 : return 4215; /* avx512fp16_fnmsub_v8hf_mask */
18427 112 : if (!vector_operand (operands[1], E_V8HFmode)
18428 112 : || !nonimmediate_operand (operands[3], E_V8HFmode)
18429 112 : || !rtx_equal_p (x3, operands[3])
18430 224 : || !insn_condition_972 (operands, insn))
18431 0 : return -1;
18432 : return 4228; /* avx512fp16_fnmsub_v8hf_mask3 */
18433 :
18434 105 : case 3:
18435 105 : if (pattern1334 (x2,
18436 : E_V16SFmode,
18437 : E_HImode) != 0)
18438 : return -1;
18439 96 : if (nonimmediate_operand (operands[1], E_V16SFmode)
18440 96 : && vector_operand (operands[3], E_V16SFmode)
18441 96 : && rtx_equal_p (x3, operands[1])
18442 160 : && insn_condition_97 (operands, insn))
18443 : return 4216; /* avx512f_fnmsub_v16sf_mask */
18444 32 : if (!vector_operand (operands[1], E_V16SFmode)
18445 32 : || !nonimmediate_operand (operands[3], E_V16SFmode)
18446 32 : || !rtx_equal_p (x3, operands[3])
18447 64 : || !insn_condition_27 (operands, insn))
18448 0 : return -1;
18449 : return 4230; /* avx512f_fnmsub_v16sf_mask3 */
18450 :
18451 324 : case 4:
18452 324 : if (pattern1334 (x2,
18453 : E_V8SFmode,
18454 : E_QImode) != 0)
18455 : return -1;
18456 300 : if (nonimmediate_operand (operands[1], E_V8SFmode)
18457 300 : && vector_operand (operands[3], E_V8SFmode)
18458 294 : && rtx_equal_p (x3, operands[1])
18459 300 : && insn_condition_96 (operands, insn))
18460 : return 4218; /* avx512vl_fnmsub_v8sf_mask */
18461 143 : if (!vector_operand (operands[1], E_V8SFmode)
18462 143 : || !nonimmediate_operand (operands[3], E_V8SFmode)
18463 137 : || !rtx_equal_p (x3, operands[3])
18464 143 : || !insn_condition_100 (operands, insn))
18465 6 : return -1;
18466 : return 4232; /* avx512vl_fnmsub_v8sf_mask3 */
18467 :
18468 217 : case 5:
18469 217 : if (pattern1334 (x2,
18470 : E_V4SFmode,
18471 : E_QImode) != 0)
18472 : return -1;
18473 212 : if (nonimmediate_operand (operands[1], E_V4SFmode)
18474 212 : && vector_operand (operands[3], E_V4SFmode)
18475 212 : && rtx_equal_p (x3, operands[1])
18476 212 : && insn_condition_96 (operands, insn))
18477 : return 4219; /* avx512vl_fnmsub_v4sf_mask */
18478 110 : if (!vector_operand (operands[1], E_V4SFmode)
18479 110 : || !nonimmediate_operand (operands[3], E_V4SFmode)
18480 110 : || !rtx_equal_p (x3, operands[3])
18481 110 : || !insn_condition_100 (operands, insn))
18482 0 : return -1;
18483 : return 4234; /* avx512vl_fnmsub_v4sf_mask3 */
18484 :
18485 232 : case 6:
18486 232 : if (pattern1334 (x2,
18487 : E_V8DFmode,
18488 : E_QImode) != 0)
18489 : return -1;
18490 199 : if (nonimmediate_operand (operands[1], E_V8DFmode)
18491 199 : && vector_operand (operands[3], E_V8DFmode)
18492 199 : && rtx_equal_p (x3, operands[1])
18493 327 : && insn_condition_97 (operands, insn))
18494 : return 4220; /* avx512f_fnmsub_v8df_mask */
18495 71 : if (!vector_operand (operands[1], E_V8DFmode)
18496 71 : || !nonimmediate_operand (operands[3], E_V8DFmode)
18497 71 : || !rtx_equal_p (x3, operands[3])
18498 142 : || !insn_condition_27 (operands, insn))
18499 0 : return -1;
18500 : return 4236; /* avx512f_fnmsub_v8df_mask3 */
18501 :
18502 333 : case 7:
18503 333 : if (pattern1334 (x2,
18504 : E_V4DFmode,
18505 : E_QImode) != 0)
18506 : return -1;
18507 303 : if (nonimmediate_operand (operands[1], E_V4DFmode)
18508 303 : && vector_operand (operands[3], E_V4DFmode)
18509 297 : && rtx_equal_p (x3, operands[1])
18510 303 : && insn_condition_96 (operands, insn))
18511 : return 4222; /* avx512vl_fnmsub_v4df_mask */
18512 143 : if (!vector_operand (operands[1], E_V4DFmode)
18513 143 : || !nonimmediate_operand (operands[3], E_V4DFmode)
18514 137 : || !rtx_equal_p (x3, operands[3])
18515 143 : || !insn_condition_100 (operands, insn))
18516 6 : return -1;
18517 : return 4238; /* avx512vl_fnmsub_v4df_mask3 */
18518 :
18519 217 : case 8:
18520 217 : if (pattern1334 (x2,
18521 : E_V2DFmode,
18522 : E_QImode) != 0)
18523 : return -1;
18524 212 : if (nonimmediate_operand (operands[1], E_V2DFmode)
18525 212 : && vector_operand (operands[3], E_V2DFmode)
18526 212 : && rtx_equal_p (x3, operands[1])
18527 212 : && insn_condition_96 (operands, insn))
18528 : return 4223; /* avx512vl_fnmsub_v2df_mask */
18529 110 : if (!vector_operand (operands[1], E_V2DFmode)
18530 110 : || !nonimmediate_operand (operands[3], E_V2DFmode)
18531 110 : || !rtx_equal_p (x3, operands[3])
18532 110 : || !insn_condition_100 (operands, insn))
18533 0 : return -1;
18534 : return 4240; /* avx512vl_fnmsub_v2df_mask3 */
18535 :
18536 261 : case 9:
18537 261 : if (pattern1335 (x2,
18538 : E_SImode,
18539 : E_V32BFmode) != 0)
18540 : return -1;
18541 241 : if (rtx_equal_p (x3, operands[1])
18542 241 : && insn_condition_41 (operands, insn))
18543 : return 9365; /* avx10_2_fnmsubbf16_v32bf_mask */
18544 110 : if (!rtx_equal_p (x3, operands[3])
18545 110 : || !insn_condition_41 (operands, insn))
18546 0 : return -1;
18547 : return 9368; /* avx10_2_fnmsubbf16_v32bf_mask3 */
18548 :
18549 265 : case 10:
18550 265 : if (pattern1335 (x2,
18551 : E_HImode,
18552 : E_V16BFmode) != 0)
18553 : return -1;
18554 245 : if (rtx_equal_p (x3, operands[1])
18555 245 : && insn_condition_41 (operands, insn))
18556 : return 9366; /* avx10_2_fnmsubbf16_v16bf_mask */
18557 112 : if (!rtx_equal_p (x3, operands[3])
18558 112 : || !insn_condition_41 (operands, insn))
18559 0 : return -1;
18560 : return 9369; /* avx10_2_fnmsubbf16_v16bf_mask3 */
18561 :
18562 261 : case 11:
18563 261 : if (pattern1335 (x2,
18564 : E_QImode,
18565 : E_V8BFmode) != 0)
18566 : return -1;
18567 241 : if (rtx_equal_p (x3, operands[1])
18568 241 : && insn_condition_41 (operands, insn))
18569 : return 9367; /* avx10_2_fnmsubbf16_v8bf_mask */
18570 110 : if (!rtx_equal_p (x3, operands[3])
18571 110 : || !insn_condition_41 (operands, insn))
18572 0 : return -1;
18573 : return 9370; /* avx10_2_fnmsubbf16_v8bf_mask3 */
18574 :
18575 31 : case 12:
18576 31 : if (pattern1438 (x2,
18577 : E_V8HFmode) != 0
18578 31 : || !insn_condition_1137 (operands, insn))
18579 10 : return -1;
18580 : return 4388; /* *fmai_fnmsub_v8hf */
18581 :
18582 98 : case 13:
18583 98 : if (pattern1438 (x2,
18584 : E_V4SFmode) != 0
18585 98 : || !insn_condition_1138 (operands, insn))
18586 0 : return -1;
18587 : return 4390; /* *fmai_fnmsub_v4sf */
18588 :
18589 115 : case 14:
18590 115 : if (pattern1438 (x2,
18591 : E_V2DFmode) != 0
18592 115 : || !insn_condition_1139 (operands, insn))
18593 0 : return -1;
18594 : return 4392; /* *fmai_fnmsub_v2df */
18595 :
18596 : default:
18597 : return -1;
18598 : }
18599 :
18600 : default:
18601 : return -1;
18602 : }
18603 : }
18604 :
18605 : int
18606 5378 : recog_180 (rtx x1 ATTRIBUTE_UNUSED,
18607 : rtx_insn *insn ATTRIBUTE_UNUSED,
18608 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18609 : {
18610 5378 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18611 5378 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18612 5378 : rtx x10, x11, x12;
18613 5378 : int res ATTRIBUTE_UNUSED;
18614 5378 : x2 = XEXP (x1, 1);
18615 5378 : x3 = XEXP (x2, 0);
18616 5378 : x4 = XEXP (x3, 1);
18617 5378 : x5 = XVECEXP (x4, 0, 2);
18618 5378 : if (GET_CODE (x5) != CONST_INT)
18619 : return -1;
18620 5378 : x6 = XVECEXP (x4, 0, 3);
18621 5378 : if (GET_CODE (x6) != CONST_INT)
18622 : return -1;
18623 5378 : x7 = XEXP (x2, 2);
18624 5378 : if (!register_operand (x7, E_QImode))
18625 : return -1;
18626 3053 : x8 = XVECEXP (x4, 0, 0);
18627 3053 : switch (XWINT (x8, 0))
18628 : {
18629 795 : case 2L:
18630 795 : x9 = XVECEXP (x4, 0, 1);
18631 795 : if (XWINT (x9, 0) != 6L
18632 377 : || XWINT (x5, 0) != 3L
18633 377 : || XWINT (x6, 0) != 7L)
18634 : return -1;
18635 377 : x10 = XEXP (x3, 0);
18636 377 : x11 = XEXP (x10, 1);
18637 377 : operands[2] = x11;
18638 377 : x12 = XEXP (x2, 1);
18639 377 : operands[3] = x12;
18640 377 : operands[4] = x7;
18641 377 : switch (GET_MODE (operands[0]))
18642 : {
18643 181 : case E_V4SFmode:
18644 181 : if (pattern1636 (x2,
18645 : E_V4SFmode,
18646 : E_V8SFmode) != 0
18647 181 : || !insn_condition_1143 (operands, insn))
18648 6 : return -1;
18649 : return 5413; /* vec_interleave_highv4sf_mask */
18650 :
18651 196 : case E_V4SImode:
18652 196 : if (pattern1636 (x2,
18653 : E_V4SImode,
18654 : E_V8SImode) != 0
18655 196 : || !insn_condition_974 (operands, insn))
18656 9 : return -1;
18657 : return 7037; /* vec_interleave_highv4si_mask */
18658 :
18659 : default:
18660 : return -1;
18661 : }
18662 :
18663 1279 : case 0L:
18664 1279 : x9 = XVECEXP (x4, 0, 1);
18665 1279 : switch (XWINT (x9, 0))
18666 : {
18667 1021 : case 4L:
18668 1021 : switch (XWINT (x5, 0))
18669 : {
18670 383 : case 1L:
18671 383 : if (XWINT (x6, 0) != 5L)
18672 : return -1;
18673 383 : x10 = XEXP (x3, 0);
18674 383 : x11 = XEXP (x10, 1);
18675 383 : operands[2] = x11;
18676 383 : x12 = XEXP (x2, 1);
18677 383 : operands[3] = x12;
18678 383 : operands[4] = x7;
18679 383 : switch (GET_MODE (operands[0]))
18680 : {
18681 185 : case E_V4SFmode:
18682 185 : if (pattern1635 (x2,
18683 : E_V4SFmode,
18684 : E_V8SFmode) != 0
18685 185 : || !insn_condition_532 (operands, insn))
18686 9 : return -1;
18687 : return 5418; /* unpcklps128_mask */
18688 :
18689 198 : case E_V4SImode:
18690 198 : if (pattern1636 (x2,
18691 : E_V4SImode,
18692 : E_V8SImode) != 0
18693 198 : || !insn_condition_974 (operands, insn))
18694 11 : return -1;
18695 : return 7043; /* vec_interleave_lowv4si_mask */
18696 :
18697 : default:
18698 : return -1;
18699 : }
18700 :
18701 638 : case 2L:
18702 638 : if (XWINT (x6, 0) != 6L)
18703 : return -1;
18704 638 : switch (GET_MODE (operands[0]))
18705 : {
18706 428 : case E_V4DFmode:
18707 428 : if (pattern1699 (x2,
18708 : E_V4DFmode,
18709 : E_V8DFmode) != 0)
18710 : return -1;
18711 392 : x12 = XEXP (x2, 1);
18712 392 : operands[2] = x12;
18713 392 : if (nonimmediate_operand (operands[1], E_V4DFmode))
18714 : {
18715 392 : operands[3] = x7;
18716 392 : x10 = XEXP (x3, 0);
18717 392 : x11 = XEXP (x10, 1);
18718 392 : if (rtx_equal_p (x11, operands[1])
18719 392 : && insn_condition_969 (operands, insn))
18720 : return 5581; /* avx_movddup256_mask */
18721 : }
18722 200 : operands[3] = x12;
18723 200 : if (!register_operand (operands[1], E_V4DFmode))
18724 : return -1;
18725 200 : x10 = XEXP (x3, 0);
18726 200 : x11 = XEXP (x10, 1);
18727 200 : operands[2] = x11;
18728 200 : if (!nonimmediate_operand (operands[2], E_V4DFmode))
18729 : return -1;
18730 188 : operands[4] = x7;
18731 188 : if (!insn_condition_969 (operands, insn))
18732 0 : return -1;
18733 : return 5583; /* avx_unpcklpd256_mask */
18734 :
18735 210 : case E_V4DImode:
18736 210 : if (pattern1700 (x2,
18737 : E_V4DImode,
18738 : E_V8DImode) != 0
18739 210 : || !insn_condition_1142 (operands, insn))
18740 21 : return -1;
18741 : return 5884; /* avx2_interleave_lowv4di_mask */
18742 :
18743 : default:
18744 : return -1;
18745 : }
18746 :
18747 : default:
18748 : return -1;
18749 : }
18750 :
18751 206 : case 0L:
18752 206 : if (XWINT (x5, 0) != 6L
18753 185 : || XWINT (x6, 0) != 6L
18754 185 : || pattern1634 (x2) != 0
18755 206 : || !insn_condition_1144 (operands, insn))
18756 27 : return -1;
18757 : return 5429; /* sse3_movsldup_mask */
18758 :
18759 : default:
18760 : return -1;
18761 : }
18762 :
18763 971 : case 1L:
18764 971 : if (XWINT (x6, 0) != 7L)
18765 : return -1;
18766 634 : x9 = XVECEXP (x4, 0, 1);
18767 634 : switch (XWINT (x9, 0))
18768 : {
18769 185 : case 1L:
18770 185 : if (XWINT (x5, 0) != 7L
18771 185 : || pattern1634 (x2) != 0
18772 185 : || !insn_condition_1144 (operands, insn))
18773 6 : return -1;
18774 : return 5423; /* sse3_movshdup_mask */
18775 :
18776 428 : case 5L:
18777 428 : if (XWINT (x5, 0) != 3L)
18778 : return -1;
18779 428 : x10 = XEXP (x3, 0);
18780 428 : x11 = XEXP (x10, 1);
18781 428 : operands[2] = x11;
18782 428 : x12 = XEXP (x2, 1);
18783 428 : operands[3] = x12;
18784 428 : operands[4] = x7;
18785 428 : switch (GET_MODE (operands[0]))
18786 : {
18787 218 : case E_V4DFmode:
18788 218 : if (pattern1635 (x2,
18789 : E_V4DFmode,
18790 : E_V8DFmode) != 0
18791 218 : || !insn_condition_969 (operands, insn))
18792 30 : return -1;
18793 : return 5573; /* avx_unpckhpd256_mask */
18794 :
18795 210 : case E_V4DImode:
18796 210 : if (pattern1635 (x2,
18797 : E_V4DImode,
18798 : E_V8DImode) != 0
18799 210 : || !insn_condition_1142 (operands, insn))
18800 21 : return -1;
18801 : return 5878; /* avx2_interleave_highv4di_mask */
18802 :
18803 : default:
18804 : return -1;
18805 : }
18806 :
18807 : default:
18808 : return -1;
18809 : }
18810 :
18811 : default:
18812 : return -1;
18813 : }
18814 : }
18815 :
18816 : int
18817 6991 : recog_185 (rtx x1 ATTRIBUTE_UNUSED,
18818 : rtx_insn *insn ATTRIBUTE_UNUSED,
18819 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18820 : {
18821 6991 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18822 6991 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18823 6991 : int res ATTRIBUTE_UNUSED;
18824 6991 : x2 = XEXP (x1, 1);
18825 6991 : x3 = XEXP (x2, 0);
18826 6991 : x4 = XEXP (x3, 1);
18827 6991 : x5 = XVECEXP (x4, 0, 1);
18828 6991 : operands[3] = x5;
18829 6991 : x6 = XVECEXP (x4, 0, 2);
18830 6991 : operands[4] = x6;
18831 6991 : x7 = XVECEXP (x4, 0, 3);
18832 6991 : operands[5] = x7;
18833 6991 : x8 = XEXP (x2, 1);
18834 6991 : operands[6] = x8;
18835 6991 : x9 = XEXP (x2, 2);
18836 6991 : operands[7] = x9;
18837 6991 : if (!register_operand (operands[7], E_QImode))
18838 : return -1;
18839 4873 : switch (GET_MODE (operands[0]))
18840 : {
18841 661 : case E_V4SFmode:
18842 661 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
18843 649 : || GET_MODE (x2) != E_V4SFmode
18844 649 : || GET_MODE (x3) != E_V4SFmode
18845 649 : || pattern1732 (
18846 : E_V16SFmode) != 0
18847 237 : || !nonimm_or_0_operand (operands[6], E_V4SFmode)
18848 897 : || !insn_condition_1153 (operands, insn))
18849 427 : return -1;
18850 : return 5510; /* avx512f_vextractf32x4_1_mask */
18851 :
18852 633 : case E_V4SImode:
18853 633 : if (GET_MODE (x2) != E_V4SImode
18854 633 : || GET_MODE (x3) != E_V4SImode
18855 1266 : || !nonimm_or_0_operand (operands[6], E_V4SImode))
18856 : return -1;
18857 630 : if (nonimmediate_operand (operands[0], E_V4SImode)
18858 630 : && pattern1732 (
18859 : E_V16SImode) == 0
18860 870 : && insn_condition_1153 (operands, insn))
18861 : return 5511; /* avx512f_vextracti32x4_1_mask */
18862 390 : if (!register_operand (operands[0], E_V4SImode)
18863 390 : || !vector_operand (operands[1], E_V4SImode)
18864 162 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
18865 162 : || !const_0_to_3_operand (operands[3], E_VOIDmode)
18866 162 : || !const_0_to_3_operand (operands[4], E_VOIDmode)
18867 162 : || !const_0_to_3_operand (operands[5], E_VOIDmode)
18868 390 : || !insn_condition_974 (operands, insn))
18869 228 : return -1;
18870 : return 7108; /* sse2_pshufd_1_mask */
18871 :
18872 : default:
18873 : return -1;
18874 : }
18875 : }
18876 :
18877 : int
18878 3192 : recog_187 (rtx x1 ATTRIBUTE_UNUSED,
18879 : rtx_insn *insn ATTRIBUTE_UNUSED,
18880 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18881 : {
18882 3192 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18883 3192 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18884 3192 : rtx x10, x11, x12, x13, x14;
18885 3192 : int res ATTRIBUTE_UNUSED;
18886 3192 : x2 = XEXP (x1, 1);
18887 3192 : x3 = XEXP (x2, 0);
18888 3192 : x4 = XEXP (x3, 1);
18889 3192 : if (pattern970 (x4) != 0)
18890 : return -1;
18891 3192 : x5 = XEXP (x2, 1);
18892 3192 : operands[2] = x5;
18893 3192 : x6 = XEXP (x2, 2);
18894 3192 : operands[3] = x6;
18895 3192 : if (!register_operand (operands[3], E_QImode))
18896 : return -1;
18897 2110 : x7 = XVECEXP (x4, 0, 0);
18898 2110 : switch (XWINT (x7, 0))
18899 : {
18900 634 : case 8L:
18901 634 : x8 = XVECEXP (x4, 0, 1);
18902 634 : if (XWINT (x8, 0) != 9L)
18903 : return -1;
18904 634 : x9 = XVECEXP (x4, 0, 2);
18905 634 : if (XWINT (x9, 0) != 10L)
18906 : return -1;
18907 634 : x10 = XVECEXP (x4, 0, 3);
18908 634 : if (XWINT (x10, 0) != 11L)
18909 : return -1;
18910 634 : x11 = XVECEXP (x4, 0, 4);
18911 634 : if (XWINT (x11, 0) != 12L)
18912 : return -1;
18913 634 : x12 = XVECEXP (x4, 0, 5);
18914 634 : if (XWINT (x12, 0) != 13L)
18915 : return -1;
18916 634 : x13 = XVECEXP (x4, 0, 6);
18917 634 : if (XWINT (x13, 0) != 14L)
18918 : return -1;
18919 634 : x14 = XVECEXP (x4, 0, 7);
18920 634 : if (XWINT (x14, 0) != 15L)
18921 : return -1;
18922 634 : switch (pattern1894 (x2))
18923 : {
18924 456 : case 0:
18925 456 : if (!insn_condition_1156 (operands, insn))
18926 2 : return -1;
18927 : return 5522; /* vec_extract_hi_v16sf_mask */
18928 :
18929 170 : case 1:
18930 170 : if (!insn_condition_1156 (operands, insn))
18931 0 : return -1;
18932 : return 5523; /* vec_extract_hi_v16si_mask */
18933 :
18934 : default:
18935 : return -1;
18936 : }
18937 :
18938 322 : case 0L:
18939 322 : x8 = XVECEXP (x4, 0, 1);
18940 322 : if (XWINT (x8, 0) != 1L
18941 322 : || pattern1605 (x4) != 0)
18942 : return -1;
18943 0 : switch (pattern1894 (x2))
18944 : {
18945 0 : case 0:
18946 0 : if (!insn_condition_1156 (operands, insn))
18947 0 : return -1;
18948 : return 5526; /* vec_extract_lo_v16sf_mask */
18949 :
18950 0 : case 1:
18951 0 : if (!insn_condition_1156 (operands, insn))
18952 0 : return -1;
18953 : return 5527; /* vec_extract_lo_v16si_mask */
18954 :
18955 : default:
18956 : return -1;
18957 : }
18958 :
18959 : default:
18960 : return -1;
18961 : }
18962 : }
18963 :
18964 : int
18965 936 : recog_191 (rtx x1 ATTRIBUTE_UNUSED,
18966 : rtx_insn *insn ATTRIBUTE_UNUSED,
18967 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18968 : {
18969 936 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18970 936 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18971 936 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
18972 936 : rtx x18, x19, x20;
18973 936 : int res ATTRIBUTE_UNUSED;
18974 936 : x2 = XEXP (x1, 1);
18975 936 : x3 = XEXP (x2, 0);
18976 936 : x4 = XEXP (x3, 1);
18977 936 : x5 = XVECEXP (x4, 0, 1);
18978 936 : operands[3] = x5;
18979 936 : x6 = XVECEXP (x4, 0, 2);
18980 936 : operands[4] = x6;
18981 936 : x7 = XVECEXP (x4, 0, 3);
18982 936 : operands[5] = x7;
18983 936 : x8 = XVECEXP (x4, 0, 5);
18984 936 : operands[7] = x8;
18985 936 : x9 = XVECEXP (x4, 0, 6);
18986 936 : operands[8] = x9;
18987 936 : x10 = XVECEXP (x4, 0, 7);
18988 936 : operands[9] = x10;
18989 936 : x11 = XVECEXP (x4, 0, 8);
18990 936 : operands[10] = x11;
18991 936 : x12 = XVECEXP (x4, 0, 9);
18992 936 : operands[11] = x12;
18993 936 : x13 = XVECEXP (x4, 0, 10);
18994 936 : operands[12] = x13;
18995 936 : x14 = XVECEXP (x4, 0, 11);
18996 936 : operands[13] = x14;
18997 936 : x15 = XVECEXP (x4, 0, 12);
18998 936 : operands[14] = x15;
18999 936 : x16 = XVECEXP (x4, 0, 13);
19000 936 : operands[15] = x16;
19001 936 : x17 = XVECEXP (x4, 0, 14);
19002 936 : operands[16] = x17;
19003 936 : x18 = XVECEXP (x4, 0, 15);
19004 936 : operands[17] = x18;
19005 936 : x19 = XEXP (x2, 1);
19006 936 : operands[18] = x19;
19007 936 : x20 = XEXP (x2, 2);
19008 936 : operands[19] = x20;
19009 936 : if (!register_operand (operands[19], E_HImode))
19010 : return -1;
19011 830 : switch (GET_MODE (operands[0]))
19012 : {
19013 238 : case E_V16SFmode:
19014 238 : if (!register_operand (operands[0], E_V16SFmode)
19015 225 : || GET_MODE (x2) != E_V16SFmode
19016 225 : || GET_MODE (x3) != E_V16SFmode
19017 225 : || !register_operand (operands[1], E_V16SFmode)
19018 198 : || pattern1925 () != 0
19019 198 : || !nonimm_or_0_operand (operands[18], E_V16SFmode)
19020 431 : || !insn_condition_1160 (operands, insn))
19021 238 : return -1;
19022 : return 7100; /* *avx512f_shuf_f32x4_1_mask_1 */
19023 :
19024 220 : case E_V16SImode:
19025 220 : if (!register_operand (operands[0], E_V16SImode)
19026 211 : || GET_MODE (x2) != E_V16SImode
19027 211 : || GET_MODE (x3) != E_V16SImode
19028 431 : || !nonimm_or_0_operand (operands[18], E_V16SImode))
19029 : return -1;
19030 204 : if (register_operand (operands[1], E_V16SImode)
19031 204 : && pattern1925 () == 0
19032 408 : && insn_condition_1160 (operands, insn))
19033 : return 7102; /* *avx512f_shuf_i32x4_1_mask_1 */
19034 204 : if (!nonimmediate_operand (operands[1], E_V16SImode)
19035 204 : || pattern1879 () != 0
19036 204 : || !const_8_to_11_operand (operands[10], E_VOIDmode)
19037 204 : || !const_8_to_11_operand (operands[11], E_VOIDmode)
19038 204 : || !const_8_to_11_operand (operands[12], E_VOIDmode)
19039 204 : || !const_8_to_11_operand (operands[13], E_VOIDmode)
19040 204 : || !const_12_to_15_operand (operands[14], E_VOIDmode)
19041 204 : || !const_12_to_15_operand (operands[15], E_VOIDmode)
19042 204 : || !const_12_to_15_operand (operands[16], E_VOIDmode)
19043 204 : || !const_12_to_15_operand (operands[17], E_VOIDmode)
19044 408 : || !insn_condition_1161 (operands, insn))
19045 0 : return -1;
19046 : return 7104; /* avx512f_pshufd_1_mask */
19047 :
19048 : default:
19049 : return -1;
19050 : }
19051 : }
19052 :
19053 : int
19054 30951 : recog_197 (rtx x1 ATTRIBUTE_UNUSED,
19055 : rtx_insn *insn ATTRIBUTE_UNUSED,
19056 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19057 : {
19058 30951 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19059 30951 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
19060 30951 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
19061 30951 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
19062 30951 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
19063 30951 : rtx x34, x35, x36, x37, x38, x39, x40, x41;
19064 30951 : rtx x42, x43, x44, x45, x46, x47, x48, x49;
19065 30951 : rtx x50, x51, x52, x53, x54, x55, x56, x57;
19066 30951 : rtx x58, x59, x60, x61;
19067 30951 : int res ATTRIBUTE_UNUSED;
19068 30951 : x2 = XEXP (x1, 1);
19069 30951 : x3 = XEXP (x2, 0);
19070 30951 : x4 = XEXP (x3, 1);
19071 30951 : if (GET_CODE (x4) != PARALLEL)
19072 : return -1;
19073 30951 : x5 = XEXP (x3, 0);
19074 30951 : switch (GET_CODE (x5))
19075 : {
19076 17964 : case VEC_CONCAT:
19077 17964 : x6 = XEXP (x5, 0);
19078 17964 : switch (GET_CODE (x6))
19079 : {
19080 16032 : case REG:
19081 16032 : case SUBREG:
19082 16032 : case MEM:
19083 16032 : return recog_183 (x1, insn, pnum_clobbers);
19084 :
19085 997 : case SS_TRUNCATE:
19086 997 : x7 = XEXP (x5, 1);
19087 997 : if (GET_CODE (x7) != SS_TRUNCATE)
19088 : return -1;
19089 941 : x8 = XEXP (x6, 0);
19090 941 : operands[1] = x8;
19091 941 : x9 = XEXP (x7, 0);
19092 941 : operands[2] = x9;
19093 941 : x10 = XEXP (x2, 1);
19094 941 : operands[3] = x10;
19095 941 : x11 = XEXP (x2, 2);
19096 941 : operands[4] = x11;
19097 941 : switch (XVECLEN (x4, 0))
19098 : {
19099 472 : case 32:
19100 472 : if (pattern712 (x4,
19101 : 3,
19102 : 2,
19103 : 1) != 0
19104 472 : || pattern1336 (x4) != 0
19105 944 : || pattern1851 (x4,
19106 : 23,
19107 : 22,
19108 : 21,
19109 : 20) != 0)
19110 : return -1;
19111 472 : x12 = XVECEXP (x4, 0, 20);
19112 472 : if (GET_CODE (x12) != CONST_INT)
19113 : return -1;
19114 472 : x13 = XVECEXP (x4, 0, 21);
19115 472 : if (GET_CODE (x13) != CONST_INT)
19116 : return -1;
19117 472 : x14 = XVECEXP (x4, 0, 22);
19118 472 : if (GET_CODE (x14) != CONST_INT)
19119 : return -1;
19120 472 : x15 = XVECEXP (x4, 0, 23);
19121 472 : if (GET_CODE (x15) != CONST_INT)
19122 : return -1;
19123 472 : x16 = XVECEXP (x4, 0, 24);
19124 472 : if (GET_CODE (x16) != CONST_INT)
19125 : return -1;
19126 472 : x17 = XVECEXP (x4, 0, 25);
19127 472 : if (GET_CODE (x17) != CONST_INT)
19128 : return -1;
19129 472 : x18 = XVECEXP (x4, 0, 26);
19130 472 : if (GET_CODE (x18) != CONST_INT)
19131 : return -1;
19132 472 : x19 = XVECEXP (x4, 0, 27);
19133 472 : if (GET_CODE (x19) != CONST_INT
19134 472 : || pattern1952 (x4,
19135 : 31,
19136 : 30,
19137 : 29,
19138 : 28) != 0
19139 944 : || !register_operand (operands[4], E_SImode))
19140 : return -1;
19141 429 : x20 = XVECEXP (x4, 0, 4);
19142 429 : switch (XWINT (x20, 0))
19143 : {
19144 202 : case 4L:
19145 202 : x21 = XVECEXP (x4, 0, 5);
19146 202 : if (XWINT (x21, 0) != 5L)
19147 : return -1;
19148 202 : x22 = XVECEXP (x4, 0, 6);
19149 202 : if (XWINT (x22, 0) != 6L)
19150 : return -1;
19151 202 : x23 = XVECEXP (x4, 0, 7);
19152 202 : if (XWINT (x23, 0) != 7L)
19153 : return -1;
19154 202 : x24 = XVECEXP (x4, 0, 8);
19155 202 : if (XWINT (x24, 0) != 16L)
19156 : return -1;
19157 202 : x25 = XVECEXP (x4, 0, 9);
19158 202 : if (XWINT (x25, 0) != 17L)
19159 : return -1;
19160 202 : x26 = XVECEXP (x4, 0, 10);
19161 202 : if (XWINT (x26, 0) != 18L)
19162 : return -1;
19163 202 : x27 = XVECEXP (x4, 0, 11);
19164 202 : if (XWINT (x27, 0) != 19L
19165 202 : || XWINT (x12, 0) != 12L
19166 202 : || XWINT (x13, 0) != 13L
19167 202 : || XWINT (x14, 0) != 14L
19168 202 : || XWINT (x15, 0) != 15L
19169 202 : || XWINT (x16, 0) != 24L
19170 202 : || XWINT (x17, 0) != 25L
19171 202 : || XWINT (x18, 0) != 26L
19172 202 : || XWINT (x19, 0) != 27L
19173 202 : || pattern1960 (x2,
19174 : E_V32QImode,
19175 : E_V16HImode,
19176 : E_V16QImode) != 0
19177 389 : || !insn_condition_1141 (operands, insn))
19178 15 : return -1;
19179 : return 6969; /* avx2_packsswb_mask */
19180 :
19181 227 : case 16L:
19182 227 : x21 = XVECEXP (x4, 0, 5);
19183 227 : if (XWINT (x21, 0) != 17L)
19184 : return -1;
19185 227 : x22 = XVECEXP (x4, 0, 6);
19186 227 : if (XWINT (x22, 0) != 18L)
19187 : return -1;
19188 227 : x23 = XVECEXP (x4, 0, 7);
19189 227 : if (XWINT (x23, 0) != 19L)
19190 : return -1;
19191 227 : x24 = XVECEXP (x4, 0, 8);
19192 227 : if (XWINT (x24, 0) != 4L)
19193 : return -1;
19194 227 : x25 = XVECEXP (x4, 0, 9);
19195 227 : if (XWINT (x25, 0) != 5L)
19196 : return -1;
19197 227 : x26 = XVECEXP (x4, 0, 10);
19198 227 : if (XWINT (x26, 0) != 6L)
19199 : return -1;
19200 227 : x27 = XVECEXP (x4, 0, 11);
19201 227 : if (XWINT (x27, 0) != 7L
19202 227 : || XWINT (x12, 0) != 24L
19203 227 : || XWINT (x13, 0) != 25L
19204 227 : || XWINT (x14, 0) != 26L
19205 227 : || XWINT (x15, 0) != 27L
19206 227 : || XWINT (x16, 0) != 12L
19207 227 : || XWINT (x17, 0) != 13L
19208 227 : || XWINT (x18, 0) != 14L
19209 227 : || XWINT (x19, 0) != 15L
19210 227 : || pattern1960 (x2,
19211 : E_V32HImode,
19212 : E_V16SImode,
19213 : E_V16HImode) != 0
19214 227 : || !insn_condition_120 (operands, insn))
19215 15 : return -1;
19216 : return 6977; /* avx512bw_packssdw_mask */
19217 :
19218 : default:
19219 : return -1;
19220 : }
19221 :
19222 246 : case 64:
19223 246 : if (pattern711 (x4) != 0
19224 246 : || pattern1338 (x4,
19225 : 35,
19226 : 34,
19227 : 33,
19228 : 32) != 0
19229 492 : || pattern1851 (x4,
19230 : 39,
19231 : 38,
19232 : 37,
19233 : 36) != 0)
19234 : return -1;
19235 246 : x12 = XVECEXP (x4, 0, 20);
19236 246 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
19237 : return -1;
19238 246 : x13 = XVECEXP (x4, 0, 21);
19239 246 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
19240 : return -1;
19241 246 : x14 = XVECEXP (x4, 0, 22);
19242 246 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
19243 : return -1;
19244 246 : x15 = XVECEXP (x4, 0, 23);
19245 246 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 15])
19246 : return -1;
19247 246 : x16 = XVECEXP (x4, 0, 24);
19248 246 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 40])
19249 : return -1;
19250 246 : x17 = XVECEXP (x4, 0, 25);
19251 246 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 41])
19252 : return -1;
19253 246 : x18 = XVECEXP (x4, 0, 26);
19254 246 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 42])
19255 : return -1;
19256 246 : x19 = XVECEXP (x4, 0, 27);
19257 246 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 43]
19258 246 : || pattern1952 (x4,
19259 : 47,
19260 : 46,
19261 : 45,
19262 : 44) != 0)
19263 : return -1;
19264 246 : x28 = XVECEXP (x4, 0, 32);
19265 246 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 16])
19266 : return -1;
19267 246 : x29 = XVECEXP (x4, 0, 33);
19268 246 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 17])
19269 : return -1;
19270 246 : x30 = XVECEXP (x4, 0, 34);
19271 246 : if (x30 != const_int_rtx[MAX_SAVED_CONST_INT + 18])
19272 : return -1;
19273 246 : x31 = XVECEXP (x4, 0, 35);
19274 246 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 19])
19275 : return -1;
19276 246 : x32 = XVECEXP (x4, 0, 36);
19277 246 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 20])
19278 : return -1;
19279 246 : x33 = XVECEXP (x4, 0, 37);
19280 246 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 21])
19281 : return -1;
19282 246 : x34 = XVECEXP (x4, 0, 38);
19283 246 : if (x34 != const_int_rtx[MAX_SAVED_CONST_INT + 22])
19284 : return -1;
19285 246 : x35 = XVECEXP (x4, 0, 39);
19286 246 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 23])
19287 : return -1;
19288 246 : x36 = XVECEXP (x4, 0, 40);
19289 246 : if (x36 != const_int_rtx[MAX_SAVED_CONST_INT + 48])
19290 : return -1;
19291 246 : x37 = XVECEXP (x4, 0, 41);
19292 246 : if (x37 != const_int_rtx[MAX_SAVED_CONST_INT + 49])
19293 : return -1;
19294 246 : x38 = XVECEXP (x4, 0, 42);
19295 246 : if (x38 != const_int_rtx[MAX_SAVED_CONST_INT + 50])
19296 : return -1;
19297 246 : x39 = XVECEXP (x4, 0, 43);
19298 246 : if (x39 != const_int_rtx[MAX_SAVED_CONST_INT + 51])
19299 : return -1;
19300 246 : x40 = XVECEXP (x4, 0, 44);
19301 246 : if (x40 != const_int_rtx[MAX_SAVED_CONST_INT + 52])
19302 : return -1;
19303 246 : x41 = XVECEXP (x4, 0, 45);
19304 246 : if (x41 != const_int_rtx[MAX_SAVED_CONST_INT + 53])
19305 : return -1;
19306 246 : x42 = XVECEXP (x4, 0, 46);
19307 246 : if (x42 != const_int_rtx[MAX_SAVED_CONST_INT + 54])
19308 : return -1;
19309 246 : x43 = XVECEXP (x4, 0, 47);
19310 246 : if (x43 != const_int_rtx[MAX_SAVED_CONST_INT + 55])
19311 : return -1;
19312 246 : x44 = XVECEXP (x4, 0, 48);
19313 246 : if (x44 != const_int_rtx[MAX_SAVED_CONST_INT + 24])
19314 : return -1;
19315 246 : x45 = XVECEXP (x4, 0, 49);
19316 246 : if (x45 != const_int_rtx[MAX_SAVED_CONST_INT + 25])
19317 : return -1;
19318 246 : x46 = XVECEXP (x4, 0, 50);
19319 246 : if (x46 != const_int_rtx[MAX_SAVED_CONST_INT + 26])
19320 : return -1;
19321 246 : x47 = XVECEXP (x4, 0, 51);
19322 246 : if (x47 != const_int_rtx[MAX_SAVED_CONST_INT + 27])
19323 : return -1;
19324 246 : x48 = XVECEXP (x4, 0, 52);
19325 246 : if (x48 != const_int_rtx[MAX_SAVED_CONST_INT + 28])
19326 : return -1;
19327 246 : x49 = XVECEXP (x4, 0, 53);
19328 246 : if (x49 != const_int_rtx[MAX_SAVED_CONST_INT + 29])
19329 : return -1;
19330 246 : x50 = XVECEXP (x4, 0, 54);
19331 246 : if (x50 != const_int_rtx[MAX_SAVED_CONST_INT + 30])
19332 : return -1;
19333 246 : x51 = XVECEXP (x4, 0, 55);
19334 246 : if (x51 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
19335 : return -1;
19336 246 : x52 = XVECEXP (x4, 0, 56);
19337 246 : if (x52 != const_int_rtx[MAX_SAVED_CONST_INT + 56])
19338 : return -1;
19339 246 : x53 = XVECEXP (x4, 0, 57);
19340 246 : if (x53 != const_int_rtx[MAX_SAVED_CONST_INT + 57])
19341 : return -1;
19342 246 : x54 = XVECEXP (x4, 0, 58);
19343 246 : if (x54 != const_int_rtx[MAX_SAVED_CONST_INT + 58])
19344 : return -1;
19345 246 : x55 = XVECEXP (x4, 0, 59);
19346 246 : if (x55 != const_int_rtx[MAX_SAVED_CONST_INT + 59])
19347 : return -1;
19348 246 : x56 = XVECEXP (x4, 0, 60);
19349 246 : if (x56 != const_int_rtx[MAX_SAVED_CONST_INT + 60])
19350 : return -1;
19351 246 : x57 = XVECEXP (x4, 0, 61);
19352 246 : if (x57 != const_int_rtx[MAX_SAVED_CONST_INT + 61])
19353 : return -1;
19354 246 : x58 = XVECEXP (x4, 0, 62);
19355 246 : if (x58 != const_int_rtx[MAX_SAVED_CONST_INT + 62])
19356 : return -1;
19357 246 : x59 = XVECEXP (x4, 0, 63);
19358 246 : if (x59 != const_int_rtx[MAX_SAVED_CONST_INT + 63]
19359 246 : || pattern1901 (x2,
19360 : E_DImode,
19361 : E_V64QImode,
19362 : E_V32HImode,
19363 : E_V32QImode) != 0
19364 246 : || !insn_condition_120 (operands, insn))
19365 37 : return -1;
19366 : return 6971; /* avx512bw_packsswb_mask */
19367 :
19368 223 : case 16:
19369 223 : if (pattern827 (x4,
19370 : 10,
19371 : 9,
19372 : 8) != 0
19373 223 : || pattern1522 (x4,
19374 : 7,
19375 : 6,
19376 : 5,
19377 : 4,
19378 : 11) != 0
19379 223 : || pattern1901 (x2,
19380 : E_HImode,
19381 : E_V16HImode,
19382 : E_V8SImode,
19383 : E_V8HImode) != 0
19384 410 : || !insn_condition_1141 (operands, insn))
19385 36 : return -1;
19386 : return 6975; /* avx2_packssdw_mask */
19387 :
19388 : default:
19389 : return -1;
19390 : }
19391 :
19392 : default:
19393 : return -1;
19394 : }
19395 :
19396 12232 : case REG:
19397 12232 : case SUBREG:
19398 12232 : case MEM:
19399 12232 : operands[1] = x5;
19400 12232 : switch (XVECLEN (x4, 0))
19401 : {
19402 1113 : case 2:
19403 1113 : res = recog_184 (x1, insn, pnum_clobbers);
19404 1113 : if (res >= 0)
19405 : return res;
19406 : break;
19407 :
19408 6991 : case 4:
19409 6991 : res = recog_186 (x1, insn, pnum_clobbers);
19410 6991 : if (res >= 0)
19411 : return res;
19412 : break;
19413 :
19414 3192 : case 8:
19415 3192 : res = recog_190 (x1, insn, pnum_clobbers);
19416 3192 : if (res >= 0)
19417 : return res;
19418 : break;
19419 :
19420 936 : case 16:
19421 936 : res = recog_193 (x1, insn, pnum_clobbers);
19422 936 : if (res >= 0)
19423 : return res;
19424 : break;
19425 :
19426 : default:
19427 : break;
19428 : }
19429 5874 : if (XVECLEN (x4, 0) >= 1)
19430 : {
19431 5874 : operands[2] = x4;
19432 5874 : x60 = XVECEXP (x4, 0, 0);
19433 5874 : operands[3] = x60;
19434 5874 : if (const_int_operand (operands[3], E_VOIDmode))
19435 : {
19436 5874 : x10 = XEXP (x2, 1);
19437 5874 : operands[4] = x10;
19438 5874 : x11 = XEXP (x2, 2);
19439 5874 : operands[5] = x11;
19440 5874 : switch (GET_MODE (operands[0]))
19441 : {
19442 46 : case E_V16SImode:
19443 46 : if (pattern1439 (x2,
19444 : E_V16SImode,
19445 : E_HImode) == 0
19446 46 : && insn_condition_1173 (operands, insn))
19447 : return 7834; /* *avx512f_vpermilpv16si_mask */
19448 : break;
19449 :
19450 518 : case E_V8SImode:
19451 518 : if (pattern1439 (x2,
19452 : E_V8SImode,
19453 : E_QImode) == 0
19454 518 : && insn_condition_1174 (operands, insn))
19455 : return 7836; /* *avx_vpermilpv8si_mask */
19456 : break;
19457 :
19458 712 : case E_V4SImode:
19459 712 : if (pattern1439 (x2,
19460 : E_V4SImode,
19461 : E_QImode) == 0
19462 712 : && insn_condition_1175 (operands, insn))
19463 : return 7838; /* *sse2_vpermilpv4si_mask */
19464 : break;
19465 :
19466 334 : case E_V8DImode:
19467 334 : if (pattern1439 (x2,
19468 : E_V8DImode,
19469 : E_QImode) == 0
19470 334 : && insn_condition_1176 (operands, insn))
19471 : return 7840; /* *avx512f_vpermilpv8di_mask */
19472 : break;
19473 :
19474 353 : case E_V4DImode:
19475 353 : if (pattern1439 (x2,
19476 : E_V4DImode,
19477 : E_QImode) == 0
19478 353 : && insn_condition_1177 (operands, insn))
19479 : return 7842; /* *avx512vl_vpermilpv4di_mask */
19480 : break;
19481 :
19482 89 : case E_V2DImode:
19483 89 : if (pattern1439 (x2,
19484 : E_V2DImode,
19485 : E_QImode) == 0
19486 89 : && insn_condition_1178 (operands, insn))
19487 : return 7844; /* *avx512vl_vpermilpv2di_mask */
19488 : break;
19489 :
19490 261 : case E_V16SFmode:
19491 261 : if (pattern1439 (x2,
19492 : E_V16SFmode,
19493 : E_HImode) == 0
19494 261 : && insn_condition_1179 (operands, insn))
19495 : return 7846; /* *avx512f_vpermilpv16sf_mask */
19496 : break;
19497 :
19498 630 : case E_V8SFmode:
19499 630 : if (pattern1439 (x2,
19500 : E_V8SFmode,
19501 : E_QImode) == 0
19502 630 : && insn_condition_1180 (operands, insn))
19503 : return 7848; /* *avx_vpermilpv8sf_mask */
19504 : break;
19505 :
19506 1168 : case E_V4SFmode:
19507 1168 : if (pattern1439 (x2,
19508 : E_V4SFmode,
19509 : E_QImode) == 0
19510 1168 : && insn_condition_1181 (operands, insn))
19511 : return 7850; /* *avx_vpermilpv4sf_mask */
19512 : break;
19513 :
19514 531 : case E_V8DFmode:
19515 531 : if (pattern1439 (x2,
19516 : E_V8DFmode,
19517 : E_QImode) == 0
19518 531 : && insn_condition_1182 (operands, insn))
19519 : return 7852; /* *avx512f_vpermilpv8df_mask */
19520 : break;
19521 :
19522 571 : case E_V4DFmode:
19523 571 : if (pattern1439 (x2,
19524 : E_V4DFmode,
19525 : E_QImode) == 0
19526 571 : && insn_condition_1183 (operands, insn))
19527 : return 7854; /* *avx_vpermilpv4df_mask */
19528 : break;
19529 :
19530 253 : case E_V2DFmode:
19531 253 : if (pattern1439 (x2,
19532 : E_V2DFmode,
19533 : E_QImode) == 0
19534 253 : && insn_condition_1184 (operands, insn))
19535 : return 7856; /* *avx_vpermilpv2df_mask */
19536 : break;
19537 :
19538 : default:
19539 : break;
19540 : }
19541 : }
19542 : }
19543 4796 : x11 = XEXP (x2, 2);
19544 4796 : if (!register_operand (x11, E_QImode))
19545 : return -1;
19546 1250 : switch (XVECLEN (x4, 0))
19547 : {
19548 596 : case 4:
19549 596 : x60 = XVECEXP (x4, 0, 0);
19550 596 : operands[2] = x60;
19551 596 : if (pattern1059 (x4) != 0)
19552 : return -1;
19553 511 : x10 = XEXP (x2, 1);
19554 511 : operands[6] = x10;
19555 511 : operands[7] = x11;
19556 511 : switch (GET_MODE (operands[0]))
19557 : {
19558 243 : case E_V4DImode:
19559 243 : if (pattern1733 (x2,
19560 : E_V4DImode) != 0
19561 243 : || !insn_condition_981 (operands, insn))
19562 37 : return -1;
19563 : return 7858; /* avx2_permv4di_1_mask */
19564 :
19565 261 : case E_V4DFmode:
19566 261 : if (pattern1733 (x2,
19567 : E_V4DFmode) != 0
19568 261 : || !insn_condition_981 (operands, insn))
19569 55 : return -1;
19570 : return 7860; /* avx2_permv4df_1_mask */
19571 :
19572 : default:
19573 : return -1;
19574 : }
19575 :
19576 606 : case 8:
19577 606 : x60 = XVECEXP (x4, 0, 0);
19578 606 : operands[2] = x60;
19579 606 : if (pattern1059 (x4) != 0)
19580 : return -1;
19581 590 : x20 = XVECEXP (x4, 0, 4);
19582 590 : operands[6] = x20;
19583 590 : if (!const_4_to_7_operand (operands[6], E_VOIDmode))
19584 : return -1;
19585 590 : x21 = XVECEXP (x4, 0, 5);
19586 590 : operands[7] = x21;
19587 590 : if (!const_4_to_7_operand (operands[7], E_VOIDmode))
19588 : return -1;
19589 590 : x22 = XVECEXP (x4, 0, 6);
19590 590 : operands[8] = x22;
19591 590 : if (!const_4_to_7_operand (operands[8], E_VOIDmode))
19592 : return -1;
19593 590 : x23 = XVECEXP (x4, 0, 7);
19594 590 : operands[9] = x23;
19595 590 : if (!const_4_to_7_operand (operands[9], E_VOIDmode))
19596 : return -1;
19597 590 : x10 = XEXP (x2, 1);
19598 590 : operands[10] = x10;
19599 590 : operands[11] = x11;
19600 590 : switch (GET_MODE (operands[0]))
19601 : {
19602 265 : case E_V8DFmode:
19603 265 : if (pattern1899 (x2,
19604 : E_V8DFmode) != 0
19605 265 : || !insn_condition_1185 (operands, insn))
19606 36 : return -1;
19607 : return 7862; /* avx512f_permv8df_1_mask */
19608 :
19609 287 : case E_V8DImode:
19610 287 : if (pattern1899 (x2,
19611 : E_V8DImode) != 0
19612 287 : || !insn_condition_1185 (operands, insn))
19613 38 : return -1;
19614 : return 7864; /* avx512f_permv8di_1_mask */
19615 :
19616 : default:
19617 : return -1;
19618 : }
19619 :
19620 : default:
19621 : return -1;
19622 : }
19623 :
19624 223 : case UNSPEC:
19625 223 : if (XVECLEN (x5, 0) != 1
19626 215 : || XINT (x5, 1) != 148
19627 215 : || GET_MODE (x5) != E_V8SFmode
19628 215 : || XVECLEN (x4, 0) != 4
19629 215 : || pattern712 (x4,
19630 : 3,
19631 : 2,
19632 : 1) != 0
19633 215 : || !register_operand (operands[0], E_V4SFmode)
19634 206 : || GET_MODE (x2) != E_V4SFmode
19635 429 : || GET_MODE (x3) != E_V4SFmode)
19636 : return -1;
19637 206 : x61 = XVECEXP (x5, 0, 0);
19638 206 : operands[1] = x61;
19639 206 : if (!register_operand (operands[1], E_V8HImode))
19640 : return -1;
19641 204 : x10 = XEXP (x2, 1);
19642 204 : operands[2] = x10;
19643 204 : if (!nonimm_or_0_operand (operands[2], E_V4SFmode))
19644 : return -1;
19645 199 : x11 = XEXP (x2, 2);
19646 199 : operands[3] = x11;
19647 199 : if (!register_operand (operands[3], E_QImode)
19648 199 : || !insn_condition_1047 (operands, insn))
19649 14 : return -1;
19650 : return 8343; /* vcvtph2ps_mask */
19651 :
19652 : default:
19653 : return -1;
19654 : }
19655 : }
19656 :
19657 : int
19658 9911 : recog_204 (rtx x1 ATTRIBUTE_UNUSED,
19659 : rtx_insn *insn ATTRIBUTE_UNUSED,
19660 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19661 : {
19662 9911 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19663 9911 : rtx x2;
19664 9911 : int res ATTRIBUTE_UNUSED;
19665 9911 : x2 = XEXP (x1, 1);
19666 9911 : switch (pattern182 (x2))
19667 : {
19668 534 : case 0:
19669 534 : if (nonimmediate_operand (operands[1], E_V16HImode)
19670 534 : && nonmemory_operand (operands[2], E_DImode)
19671 534 : && insn_condition_1194 (operands, insn))
19672 : return 6351; /* lshrv16hi3_mask */
19673 184 : if (!register_operand (operands[1], E_V16HImode)
19674 184 : || !nonimmediate_operand (operands[2], E_V16HImode)
19675 184 : || !insn_condition_1039 (operands, insn))
19676 0 : return -1;
19677 : return 8297; /* avx512vl_lshrvv16hi_mask */
19678 :
19679 501 : case 1:
19680 501 : if (nonimmediate_operand (operands[1], E_V8HImode)
19681 501 : && nonmemory_operand (operands[2], E_DImode)
19682 501 : && insn_condition_1194 (operands, insn))
19683 : return 6355; /* lshrv8hi3_mask */
19684 184 : if (!register_operand (operands[1], E_V8HImode)
19685 184 : || !nonimmediate_operand (operands[2], E_V8HImode)
19686 184 : || !insn_condition_1039 (operands, insn))
19687 0 : return -1;
19688 : return 8293; /* avx512vl_lshrvv8hi_mask */
19689 :
19690 1291 : case 2:
19691 1291 : if (nonimmediate_operand (operands[1], E_V8SImode)
19692 1287 : && nonmemory_operand (operands[2], E_DImode)
19693 1291 : && insn_condition_100 (operands, insn))
19694 : return 6359; /* lshrv8si3_mask */
19695 215 : if (!register_operand (operands[1], E_V8SImode)
19696 208 : || !nonimmediate_operand (operands[2], E_V8SImode)
19697 215 : || !insn_condition_981 (operands, insn))
19698 10 : return -1;
19699 : return 8273; /* avx2_lshrvv8si_mask */
19700 :
19701 1562 : case 3:
19702 1562 : if (nonimmediate_operand (operands[1], E_V4SImode)
19703 1558 : && nonmemory_operand (operands[2], E_DImode)
19704 1562 : && insn_condition_100 (operands, insn))
19705 : return 6363; /* lshrv4si3_mask */
19706 182 : if (!register_operand (operands[1], E_V4SImode)
19707 178 : || !nonimmediate_operand (operands[2], E_V4SImode)
19708 182 : || !insn_condition_1195 (operands, insn))
19709 7 : return -1;
19710 : return 8277; /* avx2_lshrvv4si_mask */
19711 :
19712 604 : case 4:
19713 604 : if (nonimmediate_operand (operands[1], E_V4DImode)
19714 604 : && nonmemory_operand (operands[2], E_DImode)
19715 604 : && insn_condition_100 (operands, insn))
19716 : return 6367; /* lshrv4di3_mask */
19717 212 : if (!register_operand (operands[1], E_V4DImode)
19718 206 : || !nonimmediate_operand (operands[2], E_V4DImode)
19719 212 : || !insn_condition_981 (operands, insn))
19720 21 : return -1;
19721 : return 8285; /* avx2_lshrvv4di_mask */
19722 :
19723 539 : case 5:
19724 539 : if (nonimmediate_operand (operands[1], E_V2DImode)
19725 539 : && nonmemory_operand (operands[2], E_DImode)
19726 539 : && insn_condition_100 (operands, insn))
19727 : return 6371; /* lshrv2di3_mask */
19728 167 : if (!register_operand (operands[1], E_V2DImode)
19729 167 : || !nonimmediate_operand (operands[2], E_V2DImode)
19730 167 : || !insn_condition_1195 (operands, insn))
19731 0 : return -1;
19732 : return 8289; /* avx2_lshrvv2di_mask */
19733 :
19734 702 : case 6:
19735 702 : if (nonimmediate_operand (operands[1], E_V32HImode)
19736 702 : && nonmemory_operand (operands[2], E_DImode)
19737 702 : && insn_condition_803 (operands, insn))
19738 : return 6391; /* lshrv32hi3_mask */
19739 186 : if (!register_operand (operands[1], E_V32HImode)
19740 186 : || !nonimmediate_operand (operands[2], E_V32HImode)
19741 186 : || !insn_condition_120 (operands, insn))
19742 0 : return -1;
19743 : return 8301; /* avx512bw_lshrvv32hi_mask */
19744 :
19745 1350 : case 7:
19746 1350 : if (nonimmediate_operand (operands[1], E_V16SImode)
19747 1346 : && nonmemory_operand (operands[2], E_DImode)
19748 2500 : && insn_condition_27 (operands, insn))
19749 : return 6395; /* lshrv16si3_mask */
19750 200 : if (!register_operand (operands[1], E_V16SImode)
19751 196 : || !nonimmediate_operand (operands[2], E_V16SImode)
19752 200 : || !insn_condition_982 (operands, insn))
19753 7 : return -1;
19754 : return 8269; /* avx512f_lshrvv16si_mask */
19755 :
19756 642 : case 8:
19757 642 : if (nonimmediate_operand (operands[1], E_V8DImode)
19758 638 : && nonmemory_operand (operands[2], E_DImode)
19759 1079 : && insn_condition_27 (operands, insn))
19760 : return 6399; /* lshrv8di3_mask */
19761 205 : if (!register_operand (operands[1], E_V8DImode)
19762 201 : || !nonimmediate_operand (operands[2], E_V8DImode)
19763 205 : || !insn_condition_982 (operands, insn))
19764 7 : return -1;
19765 : return 8281; /* avx512f_lshrvv8di_mask */
19766 :
19767 : default:
19768 : return -1;
19769 : }
19770 : }
19771 :
19772 : int
19773 6623 : recog_208 (rtx x1 ATTRIBUTE_UNUSED,
19774 : rtx_insn *insn ATTRIBUTE_UNUSED,
19775 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19776 : {
19777 6623 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19778 6623 : rtx x2, x3, x4, x5, x6, x7, x8;
19779 6623 : int res ATTRIBUTE_UNUSED;
19780 6623 : x2 = XEXP (x1, 1);
19781 6623 : x3 = XEXP (x2, 0);
19782 6623 : x4 = XEXP (x3, 1);
19783 6623 : operands[2] = x4;
19784 6623 : x5 = XEXP (x2, 1);
19785 6623 : operands[3] = x5;
19786 6623 : x6 = XEXP (x2, 2);
19787 6623 : operands[4] = x6;
19788 6623 : x7 = XEXP (x3, 0);
19789 6623 : switch (GET_CODE (x7))
19790 : {
19791 2800 : case NOT:
19792 2800 : x8 = XEXP (x7, 0);
19793 2800 : operands[1] = x8;
19794 2800 : switch (GET_MODE (operands[0]))
19795 : {
19796 237 : case E_V8SFmode:
19797 237 : if (pattern1056 (x2,
19798 : E_V8SFmode) != 0
19799 237 : || !insn_condition_1230 (operands, insn))
19800 49 : return -1;
19801 : return 3882; /* avx_andnotv8sf3_mask */
19802 :
19803 184 : case E_V4SFmode:
19804 184 : if (pattern1056 (x2,
19805 : E_V4SFmode) != 0
19806 184 : || !insn_condition_1231 (operands, insn))
19807 9 : return -1;
19808 : return 3884; /* sse_andnotv4sf3_mask */
19809 :
19810 237 : case E_V4DFmode:
19811 237 : if (pattern1056 (x2,
19812 : E_V4DFmode) != 0
19813 237 : || !insn_condition_1232 (operands, insn))
19814 49 : return -1;
19815 : return 3886; /* avx_andnotv4df3_mask */
19816 :
19817 181 : case E_V2DFmode:
19818 181 : if (pattern1056 (x2,
19819 : E_V2DFmode) != 0
19820 181 : || !insn_condition_1233 (operands, insn))
19821 8 : return -1;
19822 : return 3888; /* sse2_andnotv2df3_mask */
19823 :
19824 256 : case E_V16SFmode:
19825 256 : if (pattern1057 (x2,
19826 : E_V16SFmode,
19827 : E_HImode) != 0
19828 256 : || !insn_condition_1234 (operands, insn))
19829 49 : return -1;
19830 : return 3892; /* avx512f_andnotv16sf3_mask */
19831 :
19832 256 : case E_V8DFmode:
19833 256 : if (pattern1057 (x2,
19834 : E_V8DFmode,
19835 : E_QImode) != 0
19836 256 : || !insn_condition_1235 (operands, insn))
19837 49 : return -1;
19838 : return 3894; /* avx512f_andnotv8df3_mask */
19839 :
19840 283 : case E_V16SImode:
19841 283 : if (pattern1057 (x2,
19842 : E_V16SImode,
19843 : E_HImode) != 0
19844 283 : || !insn_condition_27 (operands, insn))
19845 50 : return -1;
19846 : return 6711; /* *andnotv16si3_mask */
19847 :
19848 237 : case E_V8SImode:
19849 237 : if (pattern1057 (x2,
19850 : E_V8SImode,
19851 : E_QImode) != 0
19852 237 : || !insn_condition_100 (operands, insn))
19853 55 : return -1;
19854 : return 6712; /* *andnotv8si3_mask */
19855 :
19856 178 : case E_V4SImode:
19857 178 : if (pattern1057 (x2,
19858 : E_V4SImode,
19859 : E_QImode) != 0
19860 178 : || !insn_condition_100 (operands, insn))
19861 4 : return -1;
19862 : return 6713; /* *andnotv4si3_mask */
19863 :
19864 291 : case E_V8DImode:
19865 291 : if (pattern1057 (x2,
19866 : E_V8DImode,
19867 : E_QImode) != 0
19868 291 : || !insn_condition_27 (operands, insn))
19869 80 : return -1;
19870 : return 6714; /* *andnotv8di3_mask */
19871 :
19872 246 : case E_V4DImode:
19873 246 : if (pattern1057 (x2,
19874 : E_V4DImode,
19875 : E_QImode) != 0
19876 246 : || !insn_condition_100 (operands, insn))
19877 63 : return -1;
19878 : return 6715; /* *andnotv4di3_mask */
19879 :
19880 214 : case E_V2DImode:
19881 214 : if (pattern1057 (x2,
19882 : E_V2DImode,
19883 : E_QImode) != 0
19884 214 : || !insn_condition_100 (operands, insn))
19885 33 : return -1;
19886 : return 6716; /* *andnotv2di3_mask */
19887 :
19888 : default:
19889 : return -1;
19890 : }
19891 :
19892 3778 : case REG:
19893 3778 : case SUBREG:
19894 3778 : case MEM:
19895 3778 : case VEC_DUPLICATE:
19896 3778 : operands[1] = x7;
19897 3778 : switch (GET_MODE (operands[0]))
19898 : {
19899 277 : case E_V8SFmode:
19900 277 : if (pattern167 (x2,
19901 : E_V8SFmode,
19902 : E_QImode) != 0
19903 277 : || !insn_condition_1236 (operands, insn))
19904 73 : return -1;
19905 : return 3908; /* *andv8sf3_mask */
19906 :
19907 200 : case E_V4SFmode:
19908 200 : if (pattern167 (x2,
19909 : E_V4SFmode,
19910 : E_QImode) != 0
19911 200 : || !insn_condition_1237 (operands, insn))
19912 9 : return -1;
19913 : return 3914; /* *andv4sf3_mask */
19914 :
19915 277 : case E_V4DFmode:
19916 277 : if (pattern167 (x2,
19917 : E_V4DFmode,
19918 : E_QImode) != 0
19919 277 : || !insn_condition_1238 (operands, insn))
19920 73 : return -1;
19921 : return 3920; /* *andv4df3_mask */
19922 :
19923 197 : case E_V2DFmode:
19924 197 : if (pattern167 (x2,
19925 : E_V2DFmode,
19926 : E_QImode) != 0
19927 197 : || !insn_condition_1239 (operands, insn))
19928 8 : return -1;
19929 : return 3926; /* *andv2df3_mask */
19930 :
19931 302 : case E_V16SFmode:
19932 302 : if (pattern168 (x2,
19933 : E_V16SFmode,
19934 : E_HImode) != 0
19935 302 : || !insn_condition_1240 (operands, insn))
19936 73 : return -1;
19937 : return 3938; /* *andv16sf3_mask */
19938 :
19939 302 : case E_V8DFmode:
19940 302 : if (pattern168 (x2,
19941 : E_V8DFmode,
19942 : E_QImode) != 0
19943 302 : || !insn_condition_1241 (operands, insn))
19944 73 : return -1;
19945 : return 3944; /* *andv8df3_mask */
19946 :
19947 486 : case E_V16SImode:
19948 486 : if (pattern518 (x2,
19949 : E_V16SImode,
19950 : E_HImode) != 0
19951 486 : || !insn_condition_1242 (operands, insn))
19952 190 : return -1;
19953 : return 6718; /* *andv16si3_mask */
19954 :
19955 365 : case E_V8SImode:
19956 365 : if (pattern518 (x2,
19957 : E_V8SImode,
19958 : E_QImode) != 0
19959 365 : || !insn_condition_1243 (operands, insn))
19960 144 : return -1;
19961 : return 6724; /* *andv8si3_mask */
19962 :
19963 200 : case E_V4SImode:
19964 200 : if (pattern518 (x2,
19965 : E_V4SImode,
19966 : E_QImode) != 0
19967 200 : || !insn_condition_1244 (operands, insn))
19968 16 : return -1;
19969 : return 6730; /* *andv4si3_mask */
19970 :
19971 482 : case E_V8DImode:
19972 482 : if (pattern518 (x2,
19973 : E_V8DImode,
19974 : E_QImode) != 0
19975 482 : || !insn_condition_1245 (operands, insn))
19976 172 : return -1;
19977 : return 6736; /* *andv8di3_mask */
19978 :
19979 476 : case E_V4DImode:
19980 476 : if (pattern518 (x2,
19981 : E_V4DImode,
19982 : E_QImode) != 0
19983 476 : || !insn_condition_1246 (operands, insn))
19984 145 : return -1;
19985 : return 6742; /* *andv4di3_mask */
19986 :
19987 214 : case E_V2DImode:
19988 214 : if (pattern518 (x2,
19989 : E_V2DImode,
19990 : E_QImode) != 0
19991 214 : || !insn_condition_1247 (operands, insn))
19992 25 : return -1;
19993 : return 6748; /* *andv2di3_mask */
19994 :
19995 : default:
19996 : return -1;
19997 : }
19998 :
19999 : default:
20000 : return -1;
20001 : }
20002 : }
20003 :
20004 : int
20005 4438 : recog_213 (rtx x1 ATTRIBUTE_UNUSED,
20006 : rtx_insn *insn ATTRIBUTE_UNUSED,
20007 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20008 : {
20009 4438 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20010 4438 : rtx x2;
20011 4438 : int res ATTRIBUTE_UNUSED;
20012 4438 : x2 = XEXP (x1, 1);
20013 4438 : switch (pattern173 (x2))
20014 : {
20015 0 : case 0:
20016 0 : if (!insn_condition_1290 (operands, insn))
20017 0 : return -1;
20018 : return 3159; /* *smaxv32hf3_mask */
20019 :
20020 30 : case 1:
20021 30 : if (!insn_condition_1291 (operands, insn))
20022 0 : return -1;
20023 : return 3166; /* *smaxv16hf3_mask */
20024 :
20025 0 : case 2:
20026 0 : if (!insn_condition_1292 (operands, insn))
20027 0 : return -1;
20028 : return 3170; /* *smaxv8hf3_mask */
20029 :
20030 0 : case 3:
20031 0 : if (!insn_condition_1293 (operands, insn))
20032 0 : return -1;
20033 : return 3175; /* *smaxv16sf3_mask */
20034 :
20035 20 : case 4:
20036 20 : if (!insn_condition_1294 (operands, insn))
20037 0 : return -1;
20038 : return 3182; /* *smaxv8sf3_mask */
20039 :
20040 0 : case 5:
20041 0 : if (!insn_condition_1295 (operands, insn))
20042 0 : return -1;
20043 : return 3186; /* *smaxv4sf3_mask */
20044 :
20045 0 : case 6:
20046 0 : if (!insn_condition_1293 (operands, insn))
20047 0 : return -1;
20048 : return 3191; /* *smaxv8df3_mask */
20049 :
20050 30 : case 7:
20051 30 : if (!insn_condition_1294 (operands, insn))
20052 0 : return -1;
20053 : return 3198; /* *smaxv4df3_mask */
20054 :
20055 0 : case 8:
20056 0 : if (!insn_condition_1296 (operands, insn))
20057 0 : return -1;
20058 : return 3202; /* *smaxv2df3_mask */
20059 :
20060 203 : case 9:
20061 203 : if (!insn_condition_345 (operands, insn))
20062 0 : return -1;
20063 : return 6476; /* *avx512f_smaxv16si3_mask */
20064 :
20065 212 : case 10:
20066 212 : if (!insn_condition_346 (operands, insn))
20067 0 : return -1;
20068 : return 6484; /* *avx512f_smaxv8si3_mask */
20069 :
20070 174 : case 11:
20071 174 : if (nonimmediate_operand (operands[1], E_V4SImode)
20072 174 : && nonimmediate_operand (operands[2], E_V4SImode)
20073 348 : && insn_condition_346 (operands, insn))
20074 : return 6492; /* *avx512f_smaxv4si3_mask */
20075 0 : if (!vector_operand (operands[1], E_V4SImode)
20076 0 : || !vector_operand (operands[2], E_V4SImode)
20077 0 : || !insn_condition_1297 (operands, insn))
20078 0 : return -1;
20079 : return 6576; /* *sse4_1_smaxv4si3_mask */
20080 :
20081 430 : case 12:
20082 430 : if (!insn_condition_345 (operands, insn))
20083 0 : return -1;
20084 : return 6500; /* *avx512f_smaxv8di3_mask */
20085 :
20086 258 : case 13:
20087 258 : if (!insn_condition_346 (operands, insn))
20088 0 : return -1;
20089 : return 6508; /* *avx512f_smaxv4di3_mask */
20090 :
20091 220 : case 14:
20092 220 : if (!insn_condition_346 (operands, insn))
20093 0 : return -1;
20094 : return 6516; /* *avx512f_smaxv2di3_mask */
20095 :
20096 213 : case 15:
20097 213 : if (!insn_condition_804 (operands, insn))
20098 0 : return -1;
20099 : return 6524; /* *avx512bw_smaxv64qi3_mask */
20100 :
20101 198 : case 16:
20102 198 : if (nonimmediate_operand (operands[1], E_V16QImode)
20103 188 : && nonimmediate_operand (operands[2], E_V16QImode)
20104 386 : && insn_condition_344 (operands, insn))
20105 : return 6532; /* *avx512bw_smaxv16qi3_mask */
20106 10 : if (!vector_operand (operands[1], E_V16QImode)
20107 0 : || !vector_operand (operands[2], E_V16QImode)
20108 10 : || !insn_condition_1297 (operands, insn))
20109 10 : return -1;
20110 : return 6572; /* *sse4_1_smaxv16qi3_mask */
20111 :
20112 216 : case 17:
20113 216 : if (!insn_condition_344 (operands, insn))
20114 0 : return -1;
20115 : return 6540; /* *avx512bw_smaxv32qi3_mask */
20116 :
20117 205 : case 18:
20118 205 : if (!insn_condition_804 (operands, insn))
20119 0 : return -1;
20120 : return 6548; /* *avx512bw_smaxv32hi3_mask */
20121 :
20122 271 : case 19:
20123 271 : if (!insn_condition_344 (operands, insn))
20124 0 : return -1;
20125 : return 6556; /* *avx512bw_smaxv16hi3_mask */
20126 :
20127 188 : case 20:
20128 188 : if (!insn_condition_344 (operands, insn))
20129 0 : return -1;
20130 : return 6564; /* *avx512bw_smaxv8hi3_mask */
20131 :
20132 189 : case 21:
20133 189 : if (!insn_condition_83 (operands, insn))
20134 0 : return -1;
20135 : return 9288; /* avx10_2_smaxbf16_v32bf_mask */
20136 :
20137 194 : case 22:
20138 194 : if (!insn_condition_83 (operands, insn))
20139 0 : return -1;
20140 : return 9292; /* avx10_2_smaxbf16_v16bf_mask */
20141 :
20142 195 : case 23:
20143 195 : if (!insn_condition_83 (operands, insn))
20144 0 : return -1;
20145 : return 9296; /* avx10_2_smaxbf16_v8bf_mask */
20146 :
20147 0 : case 24:
20148 0 : if (!insn_condition_1018 (operands, insn))
20149 0 : return -1;
20150 : return 3280; /* *avx512fp16_vmsmaxv8hf3 */
20151 :
20152 0 : case 25:
20153 0 : if (!insn_condition_148 (operands, insn))
20154 0 : return -1;
20155 : return 3288; /* *sse_vmsmaxv4sf3 */
20156 :
20157 0 : case 26:
20158 0 : if (!insn_condition_236 (operands, insn))
20159 0 : return -1;
20160 : return 3296; /* *sse2_vmsmaxv2df3 */
20161 :
20162 : default:
20163 : return -1;
20164 : }
20165 : }
20166 :
20167 : int
20168 0 : recog_219 (rtx x1 ATTRIBUTE_UNUSED,
20169 : rtx_insn *insn ATTRIBUTE_UNUSED,
20170 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20171 : {
20172 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20173 0 : rtx x2;
20174 0 : int res ATTRIBUTE_UNUSED;
20175 0 : x2 = XEXP (x1, 1);
20176 0 : switch (pattern178 (x2))
20177 : {
20178 0 : case 0:
20179 0 : if (!insn_condition_965 (operands, insn))
20180 0 : return -1;
20181 : return 4772; /* avx512fp16_fix_truncv8hi2_mask */
20182 :
20183 0 : case 1:
20184 0 : if (!insn_condition_965 (operands, insn))
20185 0 : return -1;
20186 : return 4780; /* avx512fp16_fix_truncv16hi2_mask */
20187 :
20188 0 : case 2:
20189 0 : if (!insn_condition_26 (operands, insn))
20190 0 : return -1;
20191 : return 4788; /* avx512fp16_fix_truncv32hi2_mask */
20192 :
20193 0 : case 3:
20194 0 : switch (GET_MODE (operands[1]))
20195 : {
20196 0 : case E_V8HFmode:
20197 0 : if (!vector_operand (operands[1], E_V8HFmode)
20198 0 : || !insn_condition_965 (operands, insn))
20199 0 : return -1;
20200 : return 4796; /* avx512fp16_fix_truncv8si2_mask */
20201 :
20202 0 : case E_V8SFmode:
20203 0 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
20204 0 : || !insn_condition_969 (operands, insn))
20205 0 : return -1;
20206 : return 5058; /* fix_truncv8sfv8si2_mask */
20207 :
20208 0 : case E_V8DFmode:
20209 0 : if (!vector_operand (operands[1], E_V8DFmode)
20210 0 : || !insn_condition_27 (operands, insn))
20211 0 : return -1;
20212 : return 5217; /* fix_truncv8dfv8si2_mask */
20213 :
20214 : default:
20215 : return -1;
20216 : }
20217 :
20218 0 : case 4:
20219 0 : if (!insn_condition_26 (operands, insn))
20220 0 : return -1;
20221 : return 4804; /* avx512fp16_fix_truncv16si2_mask */
20222 :
20223 0 : case 5:
20224 0 : if (!insn_condition_27 (operands, insn))
20225 0 : return -1;
20226 : return 5049; /* fix_truncv16sfv16si2_mask */
20227 :
20228 0 : case 6:
20229 0 : if (!insn_condition_26 (operands, insn))
20230 0 : return -1;
20231 : return 4812; /* avx512fp16_fix_truncv8di2_mask */
20232 :
20233 0 : case 7:
20234 0 : if (!insn_condition_964 (operands, insn))
20235 0 : return -1;
20236 : return 5254; /* fix_truncv8dfv8di2_mask */
20237 :
20238 0 : case 8:
20239 0 : if (!insn_condition_964 (operands, insn))
20240 0 : return -1;
20241 : return 5298; /* fix_truncv8sfv8di2_mask */
20242 :
20243 0 : case 9:
20244 0 : switch (GET_MODE (operands[1]))
20245 : {
20246 0 : case E_V4HFmode:
20247 0 : if (!memory_operand (operands[1], E_V4HFmode)
20248 0 : || !insn_condition_972 (operands, insn))
20249 0 : return -1;
20250 : return 4835; /* *avx512fp16_fix_truncv4si2_load_mask */
20251 :
20252 0 : case E_V4SFmode:
20253 0 : if (!vector_operand (operands[1], E_V4SFmode)
20254 0 : || !insn_condition_974 (operands, insn))
20255 0 : return -1;
20256 : return 5062; /* fix_truncv4sfv4si2_mask */
20257 :
20258 0 : case E_V4DFmode:
20259 0 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
20260 0 : || !insn_condition_975 (operands, insn))
20261 0 : return -1;
20262 : return 5231; /* fix_truncv4dfv4si2_mask */
20263 :
20264 : default:
20265 : return -1;
20266 : }
20267 :
20268 0 : case 10:
20269 0 : if (!insn_condition_972 (operands, insn))
20270 0 : return -1;
20271 : return 4839; /* *avx512fp16_fix_truncv4di2_load_mask */
20272 :
20273 0 : case 11:
20274 0 : if (!insn_condition_967 (operands, insn))
20275 0 : return -1;
20276 : return 5261; /* fix_truncv4dfv4di2_mask */
20277 :
20278 0 : case 12:
20279 0 : if (!insn_condition_967 (operands, insn))
20280 0 : return -1;
20281 : return 5305; /* fix_truncv4sfv4di2_mask */
20282 :
20283 0 : case 13:
20284 0 : if (!insn_condition_972 (operands, insn))
20285 0 : return -1;
20286 : return 4851; /* *avx512fp16_fix_truncv2di2_load_mask */
20287 :
20288 0 : case 14:
20289 0 : if (!insn_condition_967 (operands, insn))
20290 0 : return -1;
20291 : return 5265; /* fix_truncv2dfv2di2_mask */
20292 :
20293 0 : case 15:
20294 0 : if (!insn_condition_972 (operands, insn))
20295 0 : return -1;
20296 : return 4827; /* avx512fp16_fix_truncv4si2_mask */
20297 :
20298 0 : case 16:
20299 0 : if (!insn_condition_972 (operands, insn))
20300 0 : return -1;
20301 : return 4831; /* avx512fp16_fix_truncv4di2_mask */
20302 :
20303 0 : case 17:
20304 0 : if (!insn_condition_972 (operands, insn))
20305 0 : return -1;
20306 : return 4847; /* avx512fp16_fix_truncv2di2_mask */
20307 :
20308 0 : case 18:
20309 0 : if (!insn_condition_970 (operands, insn))
20310 0 : return -1;
20311 : return 5313; /* avx512dq_fix_truncv2sfv2di2_mask */
20312 :
20313 : default:
20314 : return -1;
20315 : }
20316 : }
20317 :
20318 : int
20319 471 : recog_225 (rtx x1 ATTRIBUTE_UNUSED,
20320 : rtx_insn *insn ATTRIBUTE_UNUSED,
20321 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20322 : {
20323 471 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20324 471 : rtx x2, x3;
20325 471 : int res ATTRIBUTE_UNUSED;
20326 471 : x2 = XEXP (x1, 1);
20327 471 : x3 = XVECEXP (x2, 0, 0);
20328 471 : operands[1] = x3;
20329 471 : switch (GET_MODE (operands[0]))
20330 : {
20331 42 : case E_V64QImode:
20332 42 : if (!register_operand (operands[0], E_V64QImode)
20333 42 : || GET_MODE (x2) != E_V64QImode
20334 42 : || !memory_operand (operands[1], E_V64QImode)
20335 82 : || !insn_condition_1346 (operands, insn))
20336 2 : return -1;
20337 : return 9655; /* avx10_2_vmovrsbv64qi */
20338 :
20339 42 : case E_V32QImode:
20340 42 : if (!register_operand (operands[0], E_V32QImode)
20341 42 : || GET_MODE (x2) != E_V32QImode
20342 42 : || !memory_operand (operands[1], E_V32QImode)
20343 82 : || !insn_condition_1347 (operands, insn))
20344 2 : return -1;
20345 : return 9657; /* avx10_2_vmovrsbv32qi */
20346 :
20347 42 : case E_V16QImode:
20348 42 : if (!register_operand (operands[0], E_V16QImode)
20349 42 : || GET_MODE (x2) != E_V16QImode
20350 42 : || !memory_operand (operands[1], E_V16QImode)
20351 82 : || !insn_condition_1347 (operands, insn))
20352 2 : return -1;
20353 : return 9659; /* avx10_2_vmovrsbv16qi */
20354 :
20355 40 : case E_V32HImode:
20356 40 : if (!register_operand (operands[0], E_V32HImode)
20357 40 : || GET_MODE (x2) != E_V32HImode
20358 40 : || !memory_operand (operands[1], E_V32HImode)
20359 80 : || !insn_condition_1346 (operands, insn))
20360 0 : return -1;
20361 : return 9661; /* avx10_2_vmovrswv32hi */
20362 :
20363 40 : case E_V16HImode:
20364 40 : if (!register_operand (operands[0], E_V16HImode)
20365 40 : || GET_MODE (x2) != E_V16HImode
20366 40 : || !memory_operand (operands[1], E_V16HImode)
20367 80 : || !insn_condition_1347 (operands, insn))
20368 0 : return -1;
20369 : return 9663; /* avx10_2_vmovrswv16hi */
20370 :
20371 40 : case E_V8HImode:
20372 40 : if (!register_operand (operands[0], E_V8HImode)
20373 40 : || GET_MODE (x2) != E_V8HImode
20374 40 : || !memory_operand (operands[1], E_V8HImode)
20375 80 : || !insn_condition_1347 (operands, insn))
20376 0 : return -1;
20377 : return 9665; /* avx10_2_vmovrswv8hi */
20378 :
20379 40 : case E_V16SImode:
20380 40 : if (!register_operand (operands[0], E_V16SImode)
20381 40 : || GET_MODE (x2) != E_V16SImode
20382 40 : || !memory_operand (operands[1], E_V16SImode)
20383 40 : || !insn_condition_1348 (operands, insn))
20384 0 : return -1;
20385 : return 9667; /* avx10_2_vmovrsdv16si */
20386 :
20387 40 : case E_V8SImode:
20388 40 : if (!register_operand (operands[0], E_V8SImode)
20389 40 : || GET_MODE (x2) != E_V8SImode
20390 40 : || !memory_operand (operands[1], E_V8SImode)
20391 80 : || !insn_condition_1349 (operands, insn))
20392 0 : return -1;
20393 : return 9669; /* avx10_2_vmovrsdv8si */
20394 :
20395 40 : case E_V4SImode:
20396 40 : if (!register_operand (operands[0], E_V4SImode)
20397 40 : || GET_MODE (x2) != E_V4SImode
20398 40 : || !memory_operand (operands[1], E_V4SImode)
20399 80 : || !insn_condition_1349 (operands, insn))
20400 0 : return -1;
20401 : return 9671; /* avx10_2_vmovrsdv4si */
20402 :
20403 35 : case E_V8DImode:
20404 35 : if (!register_operand (operands[0], E_V8DImode)
20405 34 : || GET_MODE (x2) != E_V8DImode
20406 34 : || !memory_operand (operands[1], E_V8DImode)
20407 35 : || !insn_condition_1348 (operands, insn))
20408 1 : return -1;
20409 : return 9673; /* avx10_2_vmovrsqv8di */
20410 :
20411 35 : case E_V4DImode:
20412 35 : if (!register_operand (operands[0], E_V4DImode)
20413 34 : || GET_MODE (x2) != E_V4DImode
20414 34 : || !memory_operand (operands[1], E_V4DImode)
20415 69 : || !insn_condition_1349 (operands, insn))
20416 1 : return -1;
20417 : return 9675; /* avx10_2_vmovrsqv4di */
20418 :
20419 35 : case E_V2DImode:
20420 35 : if (!register_operand (operands[0], E_V2DImode)
20421 34 : || GET_MODE (x2) != E_V2DImode
20422 34 : || !memory_operand (operands[1], E_V2DImode)
20423 69 : || !insn_condition_1349 (operands, insn))
20424 1 : return -1;
20425 : return 9677; /* avx10_2_vmovrsqv2di */
20426 :
20427 : default:
20428 : return -1;
20429 : }
20430 : }
20431 :
20432 : int
20433 1265 : recog_230 (rtx x1 ATTRIBUTE_UNUSED,
20434 : rtx_insn *insn ATTRIBUTE_UNUSED,
20435 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20436 : {
20437 1265 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20438 1265 : rtx x2, x3;
20439 1265 : int res ATTRIBUTE_UNUSED;
20440 1265 : x2 = XEXP (x1, 1);
20441 1265 : x3 = XVECEXP (x2, 0, 0);
20442 1265 : operands[1] = x3;
20443 1265 : switch (GET_MODE (operands[0]))
20444 : {
20445 300 : case E_V8SFmode:
20446 300 : if (!register_operand (operands[0], E_V8SFmode)
20447 296 : || GET_MODE (x2) != E_V8SFmode
20448 296 : || !vector_operand (operands[1], E_V8SFmode)
20449 300 : || !insn_condition_887 (operands, insn))
20450 17 : return -1;
20451 : return 3127; /* avx_rsqrtv8sf2 */
20452 :
20453 463 : case E_V4SFmode:
20454 463 : if (!register_operand (operands[0], E_V4SFmode)
20455 463 : || GET_MODE (x2) != E_V4SFmode
20456 463 : || !vector_operand (operands[1], E_V4SFmode)
20457 889 : || !insn_condition_148 (operands, insn))
20458 37 : return -1;
20459 : return 3128; /* sse_rsqrtv4sf2 */
20460 :
20461 88 : case E_V32HFmode:
20462 88 : if (!register_operand (operands[0], E_V32HFmode)
20463 80 : || GET_MODE (x2) != E_V32HFmode
20464 80 : || !vector_operand (operands[1], E_V32HFmode)
20465 167 : || !insn_condition_40 (operands, insn))
20466 9 : return -1;
20467 : return 3129; /* avx512fp16_rsqrtv32hf2 */
20468 :
20469 62 : case E_V16HFmode:
20470 62 : if (!register_operand (operands[0], E_V16HFmode)
20471 54 : || GET_MODE (x2) != E_V16HFmode
20472 54 : || !vector_operand (operands[1], E_V16HFmode)
20473 62 : || !insn_condition_1340 (operands, insn))
20474 9 : return -1;
20475 : return 3131; /* avx512fp16_rsqrtv16hf2 */
20476 :
20477 124 : case E_V8HFmode:
20478 124 : if (!register_operand (operands[0], E_V8HFmode)
20479 116 : || GET_MODE (x2) != E_V8HFmode
20480 116 : || !vector_operand (operands[1], E_V8HFmode)
20481 124 : || !insn_condition_1340 (operands, insn))
20482 9 : return -1;
20483 : return 3133; /* avx512fp16_rsqrtv8hf2 */
20484 :
20485 66 : case E_V32BFmode:
20486 66 : if (!register_operand (operands[0], E_V32BFmode)
20487 60 : || GET_MODE (x2) != E_V32BFmode
20488 60 : || !nonimmediate_operand (operands[1], E_V32BFmode)
20489 121 : || !insn_condition_41 (operands, insn))
20490 11 : return -1;
20491 : return 9371; /* avx10_2_rsqrtbf16_v32bf */
20492 :
20493 67 : case E_V16BFmode:
20494 67 : if (!register_operand (operands[0], E_V16BFmode)
20495 61 : || GET_MODE (x2) != E_V16BFmode
20496 61 : || !nonimmediate_operand (operands[1], E_V16BFmode)
20497 123 : || !insn_condition_41 (operands, insn))
20498 11 : return -1;
20499 : return 9373; /* avx10_2_rsqrtbf16_v16bf */
20500 :
20501 65 : case E_V8BFmode:
20502 65 : if (!register_operand (operands[0], E_V8BFmode)
20503 59 : || GET_MODE (x2) != E_V8BFmode
20504 59 : || !nonimmediate_operand (operands[1], E_V8BFmode)
20505 120 : || !insn_condition_41 (operands, insn))
20506 10 : return -1;
20507 : return 9375; /* avx10_2_rsqrtbf16_v8bf */
20508 :
20509 : default:
20510 : return -1;
20511 : }
20512 : }
20513 :
20514 : int
20515 788 : recog_236 (rtx x1 ATTRIBUTE_UNUSED,
20516 : rtx_insn *insn ATTRIBUTE_UNUSED,
20517 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20518 : {
20519 788 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20520 788 : rtx x2;
20521 788 : int res ATTRIBUTE_UNUSED;
20522 788 : x2 = XEXP (x1, 1);
20523 788 : switch (pattern361 (x2))
20524 : {
20525 57 : case 0:
20526 57 : if (!insn_condition_1357 (operands, insn))
20527 0 : return -1;
20528 : return 9517; /* avx10_2_vcvttps2udqsv16sf */
20529 :
20530 56 : case 1:
20531 56 : if (!insn_condition_1358 (operands, insn))
20532 0 : return -1;
20533 : return 9523; /* avx10_2_vcvttps2udqsv8sf */
20534 :
20535 59 : case 2:
20536 59 : if (!insn_condition_1357 (operands, insn))
20537 0 : return -1;
20538 : return 9533; /* avx10_2_vcvttpd2udqsv8df */
20539 :
20540 56 : case 3:
20541 56 : if (!insn_condition_1359 (operands, insn))
20542 0 : return -1;
20543 : return 9527; /* avx10_2_vcvttps2udqsv4sf */
20544 :
20545 57 : case 4:
20546 57 : if (!insn_condition_1358 (operands, insn))
20547 0 : return -1;
20548 : return 9539; /* avx10_2_vcvttpd2udqsv4df */
20549 :
20550 57 : case 5:
20551 57 : if (!insn_condition_1360 (operands, insn))
20552 0 : return -1;
20553 : return 9543; /* avx10_2_vcvttpd2udqsv2df */
20554 :
20555 59 : case 6:
20556 59 : if (!insn_condition_1357 (operands, insn))
20557 0 : return -1;
20558 : return 9549; /* avx10_2_vcvttpd2uqqsv8df */
20559 :
20560 57 : case 7:
20561 57 : if (!insn_condition_1357 (operands, insn))
20562 0 : return -1;
20563 : return 9565; /* avx10_2_vcvttps2uqqsv8di */
20564 :
20565 58 : case 8:
20566 58 : if (!insn_condition_1358 (operands, insn))
20567 0 : return -1;
20568 : return 9555; /* avx10_2_vcvttpd2uqqsv4df */
20569 :
20570 54 : case 9:
20571 54 : if (!insn_condition_1358 (operands, insn))
20572 0 : return -1;
20573 : return 9571; /* avx10_2_vcvttps2uqqsv4di */
20574 :
20575 57 : case 10:
20576 57 : if (!insn_condition_1359 (operands, insn))
20577 0 : return -1;
20578 : return 9559; /* avx10_2_vcvttpd2uqqsv2df */
20579 :
20580 59 : case 11:
20581 59 : if (!insn_condition_1359 (operands, insn))
20582 0 : return -1;
20583 : return 9575; /* avx10_2_vcvttps2uqqsv2di */
20584 :
20585 : default:
20586 : return -1;
20587 : }
20588 : }
20589 :
20590 : int
20591 7105 : recog_240 (rtx x1 ATTRIBUTE_UNUSED,
20592 : rtx_insn *insn ATTRIBUTE_UNUSED,
20593 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20594 : {
20595 7105 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20596 7105 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
20597 7105 : rtx x10, x11, x12, x13, x14;
20598 7105 : int res ATTRIBUTE_UNUSED;
20599 7105 : x2 = XEXP (x1, 1);
20600 7105 : x3 = XVECEXP (x2, 0, 0);
20601 7105 : x4 = XEXP (x3, 2);
20602 7105 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
20603 : return -1;
20604 7105 : x5 = XEXP (x3, 0);
20605 7105 : x6 = XEXP (x5, 2);
20606 7105 : if (!register_operand (x6, E_QImode))
20607 : return -1;
20608 7069 : x7 = XVECEXP (x2, 0, 1);
20609 7069 : if (!const_4_or_8_to_11_operand (x7, E_SImode))
20610 : return -1;
20611 7069 : x8 = XEXP (x5, 0);
20612 7069 : x9 = XEXP (x8, 0);
20613 7069 : switch (GET_CODE (x9))
20614 : {
20615 5498 : case REG:
20616 5498 : case SUBREG:
20617 5498 : case MEM:
20618 5498 : operands[1] = x9;
20619 5498 : x10 = XEXP (x8, 1);
20620 5498 : operands[2] = x10;
20621 5498 : x11 = XEXP (x8, 2);
20622 5498 : switch (GET_CODE (x11))
20623 : {
20624 3831 : case REG:
20625 3831 : case SUBREG:
20626 3831 : case MEM:
20627 3831 : operands[3] = x11;
20628 3831 : switch (pattern1562 (x2))
20629 : {
20630 768 : case 0:
20631 768 : if (pattern1734 (x2,
20632 : E_V8HFmode) != 0)
20633 : return -1;
20634 751 : if (nonimmediate_operand (operands[1], E_V8HFmode)
20635 751 : && register_operand (operands[3], E_V8HFmode))
20636 : {
20637 741 : x12 = XEXP (x5, 1);
20638 741 : if (rtx_equal_p (x12, operands[1]))
20639 : {
20640 559 : x13 = XEXP (x3, 1);
20641 559 : if (rtx_equal_p (x13, operands[1])
20642 559 : && insn_condition_89 (operands, insn))
20643 : return 4395; /* avx512f_vmfmadd_v8hf_mask_round */
20644 : }
20645 : }
20646 192 : if (!register_operand (operands[1], E_V8HFmode)
20647 192 : || !nonimmediate_operand (operands[3], E_V8HFmode))
20648 : return -1;
20649 187 : x12 = XEXP (x5, 1);
20650 187 : if (!rtx_equal_p (x12, operands[3]))
20651 : return -1;
20652 187 : x13 = XEXP (x3, 1);
20653 187 : if (!rtx_equal_p (x13, operands[3])
20654 187 : || !insn_condition_89 (operands, insn))
20655 0 : return -1;
20656 : return 4401; /* avx512f_vmfmadd_v8hf_mask3_round */
20657 :
20658 840 : case 1:
20659 840 : if (pattern1734 (x2,
20660 : E_V4SFmode) != 0)
20661 : return -1;
20662 826 : if (nonimmediate_operand (operands[1], E_V4SFmode)
20663 826 : && register_operand (operands[3], E_V4SFmode))
20664 : {
20665 806 : x12 = XEXP (x5, 1);
20666 806 : if (rtx_equal_p (x12, operands[1]))
20667 : {
20668 513 : x13 = XEXP (x3, 1);
20669 513 : if (rtx_equal_p (x13, operands[1])
20670 513 : && insn_condition_27 (operands, insn))
20671 : return 4397; /* avx512f_vmfmadd_v4sf_mask_round */
20672 : }
20673 : }
20674 313 : if (!register_operand (operands[1], E_V4SFmode)
20675 313 : || !nonimmediate_operand (operands[3], E_V4SFmode))
20676 : return -1;
20677 311 : x12 = XEXP (x5, 1);
20678 311 : if (!rtx_equal_p (x12, operands[3]))
20679 : return -1;
20680 311 : x13 = XEXP (x3, 1);
20681 311 : if (!rtx_equal_p (x13, operands[3])
20682 311 : || !insn_condition_27 (operands, insn))
20683 0 : return -1;
20684 : return 4403; /* avx512f_vmfmadd_v4sf_mask3_round */
20685 :
20686 860 : case 2:
20687 860 : if (pattern1734 (x2,
20688 : E_V2DFmode) != 0)
20689 : return -1;
20690 846 : if (nonimmediate_operand (operands[1], E_V2DFmode)
20691 846 : && register_operand (operands[3], E_V2DFmode))
20692 : {
20693 826 : x12 = XEXP (x5, 1);
20694 826 : if (rtx_equal_p (x12, operands[1]))
20695 : {
20696 513 : x13 = XEXP (x3, 1);
20697 513 : if (rtx_equal_p (x13, operands[1])
20698 513 : && insn_condition_90 (operands, insn))
20699 : return 4399; /* avx512f_vmfmadd_v2df_mask_round */
20700 : }
20701 : }
20702 333 : if (!register_operand (operands[1], E_V2DFmode)
20703 333 : || !nonimmediate_operand (operands[3], E_V2DFmode))
20704 : return -1;
20705 331 : x12 = XEXP (x5, 1);
20706 331 : if (!rtx_equal_p (x12, operands[3]))
20707 : return -1;
20708 331 : x13 = XEXP (x3, 1);
20709 331 : if (!rtx_equal_p (x13, operands[3])
20710 331 : || !insn_condition_90 (operands, insn))
20711 0 : return -1;
20712 : return 4405; /* avx512f_vmfmadd_v2df_mask3_round */
20713 :
20714 383 : case 3:
20715 383 : if (pattern1797 (x2,
20716 : E_V8HFmode) != 0
20717 383 : || !insn_condition_89 (operands, insn))
20718 4 : return -1;
20719 : return 4407; /* avx512f_vmfmadd_v8hf_maskz_1_round */
20720 :
20721 490 : case 4:
20722 490 : if (pattern1797 (x2,
20723 : E_V4SFmode) != 0
20724 490 : || !insn_condition_27 (operands, insn))
20725 5 : return -1;
20726 : return 4409; /* avx512f_vmfmadd_v4sf_maskz_1_round */
20727 :
20728 490 : case 5:
20729 490 : if (pattern1797 (x2,
20730 : E_V2DFmode) != 0
20731 490 : || !insn_condition_90 (operands, insn))
20732 5 : return -1;
20733 : return 4411; /* avx512f_vmfmadd_v2df_maskz_1_round */
20734 :
20735 : default:
20736 : return -1;
20737 : }
20738 :
20739 1659 : case NEG:
20740 1659 : x14 = XEXP (x11, 0);
20741 1659 : operands[3] = x14;
20742 1659 : switch (pattern1562 (x2))
20743 : {
20744 476 : case 0:
20745 476 : if (pattern1735 (x2,
20746 : E_V8HFmode) != 0)
20747 : return -1;
20748 449 : if (nonimmediate_operand (operands[1], E_V8HFmode)
20749 449 : && register_operand (operands[3], E_V8HFmode))
20750 : {
20751 430 : x12 = XEXP (x5, 1);
20752 430 : if (rtx_equal_p (x12, operands[1]))
20753 : {
20754 126 : x13 = XEXP (x3, 1);
20755 126 : if (rtx_equal_p (x13, operands[1])
20756 126 : && insn_condition_89 (operands, insn))
20757 : return 4413; /* *avx512f_vmfmsub_v8hf_mask_round */
20758 : }
20759 : }
20760 323 : if (!register_operand (operands[1], E_V8HFmode)
20761 323 : || !nonimmediate_operand (operands[3], E_V8HFmode))
20762 : return -1;
20763 312 : x12 = XEXP (x5, 1);
20764 312 : if (!rtx_equal_p (x12, operands[3]))
20765 : return -1;
20766 312 : x13 = XEXP (x3, 1);
20767 312 : if (!rtx_equal_p (x13, operands[3])
20768 312 : || !insn_condition_89 (operands, insn))
20769 0 : return -1;
20770 : return 4419; /* avx512f_vmfmsub_v8hf_mask3_round */
20771 :
20772 430 : case 1:
20773 430 : if (pattern1735 (x2,
20774 : E_V4SFmode) != 0)
20775 : return -1;
20776 416 : if (nonimmediate_operand (operands[1], E_V4SFmode)
20777 416 : && register_operand (operands[3], E_V4SFmode))
20778 : {
20779 396 : x12 = XEXP (x5, 1);
20780 396 : if (rtx_equal_p (x12, operands[1]))
20781 : {
20782 102 : x13 = XEXP (x3, 1);
20783 102 : if (rtx_equal_p (x13, operands[1])
20784 102 : && insn_condition_27 (operands, insn))
20785 : return 4415; /* *avx512f_vmfmsub_v4sf_mask_round */
20786 : }
20787 : }
20788 314 : if (!register_operand (operands[1], E_V4SFmode)
20789 314 : || !nonimmediate_operand (operands[3], E_V4SFmode))
20790 : return -1;
20791 311 : x12 = XEXP (x5, 1);
20792 311 : if (!rtx_equal_p (x12, operands[3]))
20793 : return -1;
20794 311 : x13 = XEXP (x3, 1);
20795 311 : if (!rtx_equal_p (x13, operands[3])
20796 311 : || !insn_condition_27 (operands, insn))
20797 0 : return -1;
20798 : return 4421; /* avx512f_vmfmsub_v4sf_mask3_round */
20799 :
20800 450 : case 2:
20801 450 : if (pattern1735 (x2,
20802 : E_V2DFmode) != 0)
20803 : return -1;
20804 436 : if (nonimmediate_operand (operands[1], E_V2DFmode)
20805 436 : && register_operand (operands[3], E_V2DFmode))
20806 : {
20807 416 : x12 = XEXP (x5, 1);
20808 416 : if (rtx_equal_p (x12, operands[1]))
20809 : {
20810 102 : x13 = XEXP (x3, 1);
20811 102 : if (rtx_equal_p (x13, operands[1])
20812 102 : && insn_condition_90 (operands, insn))
20813 : return 4417; /* *avx512f_vmfmsub_v2df_mask_round */
20814 : }
20815 : }
20816 334 : if (!register_operand (operands[1], E_V2DFmode)
20817 334 : || !nonimmediate_operand (operands[3], E_V2DFmode))
20818 : return -1;
20819 331 : x12 = XEXP (x5, 1);
20820 331 : if (!rtx_equal_p (x12, operands[3]))
20821 : return -1;
20822 331 : x13 = XEXP (x3, 1);
20823 331 : if (!rtx_equal_p (x13, operands[3])
20824 331 : || !insn_condition_90 (operands, insn))
20825 0 : return -1;
20826 : return 4423; /* avx512f_vmfmsub_v2df_mask3_round */
20827 :
20828 101 : case 3:
20829 101 : if (pattern1798 (x2,
20830 : E_V8HFmode) != 0
20831 101 : || !insn_condition_89 (operands, insn))
20832 1 : return -1;
20833 : return 4425; /* *avx512f_vmfmsub_v8hf_maskz_1_round */
20834 :
20835 101 : case 4:
20836 101 : if (pattern1798 (x2,
20837 : E_V4SFmode) != 0
20838 101 : || !insn_condition_27 (operands, insn))
20839 1 : return -1;
20840 : return 4427; /* *avx512f_vmfmsub_v4sf_maskz_1_round */
20841 :
20842 101 : case 5:
20843 101 : if (pattern1798 (x2,
20844 : E_V2DFmode) != 0
20845 101 : || !insn_condition_90 (operands, insn))
20846 1 : return -1;
20847 : return 4429; /* *avx512f_vmfmsub_v2df_maskz_1_round */
20848 :
20849 : default:
20850 : return -1;
20851 : }
20852 :
20853 : default:
20854 : return -1;
20855 : }
20856 :
20857 1571 : case NEG:
20858 1571 : x11 = XEXP (x8, 2);
20859 1571 : switch (GET_CODE (x11))
20860 : {
20861 1139 : case REG:
20862 1139 : case SUBREG:
20863 1139 : case MEM:
20864 1139 : operands[3] = x11;
20865 1139 : switch (pattern1445 (x2))
20866 : {
20867 436 : case 0:
20868 436 : x10 = XEXP (x8, 1);
20869 436 : operands[2] = x10;
20870 436 : if (pattern1880 (x3,
20871 : E_V8HFmode) == 0
20872 436 : && insn_condition_89 (operands, insn))
20873 : return 4431; /* avx512f_vmfnmadd_v8hf_mask_round */
20874 216 : operands[1] = x10;
20875 216 : if (pattern1881 (x3,
20876 : E_V8HFmode) != 0
20877 216 : || !insn_condition_89 (operands, insn))
20878 29 : return -1;
20879 : return 4437; /* avx512f_vmfnmadd_v8hf_mask3_round */
20880 :
20881 154 : case 1:
20882 154 : x10 = XEXP (x8, 1);
20883 154 : operands[2] = x10;
20884 154 : if (pattern1880 (x3,
20885 : E_V4SFmode) == 0
20886 154 : && insn_condition_27 (operands, insn))
20887 : return 4433; /* avx512f_vmfnmadd_v4sf_mask_round */
20888 101 : operands[1] = x10;
20889 101 : if (pattern1881 (x3,
20890 : E_V4SFmode) != 0
20891 101 : || !insn_condition_27 (operands, insn))
20892 26 : return -1;
20893 : return 4439; /* avx512f_vmfnmadd_v4sf_mask3_round */
20894 :
20895 159 : case 2:
20896 159 : x10 = XEXP (x8, 1);
20897 159 : operands[2] = x10;
20898 159 : if (pattern1880 (x3,
20899 : E_V2DFmode) == 0
20900 159 : && insn_condition_90 (operands, insn))
20901 : return 4435; /* avx512f_vmfnmadd_v2df_mask_round */
20902 106 : operands[1] = x10;
20903 106 : if (pattern1881 (x3,
20904 : E_V2DFmode) != 0
20905 106 : || !insn_condition_90 (operands, insn))
20906 26 : return -1;
20907 : return 4441; /* avx512f_vmfnmadd_v2df_mask3_round */
20908 :
20909 198 : case 3:
20910 198 : if (pattern1799 (x2,
20911 : E_V8HFmode) != 0
20912 198 : || !insn_condition_89 (operands, insn))
20913 12 : return -1;
20914 : return 4443; /* avx512f_vmfnmadd_v8hf_maskz_1_round */
20915 :
20916 78 : case 4:
20917 78 : if (pattern1799 (x2,
20918 : E_V4SFmode) != 0
20919 78 : || !insn_condition_27 (operands, insn))
20920 1 : return -1;
20921 : return 4445; /* avx512f_vmfnmadd_v4sf_maskz_1_round */
20922 :
20923 78 : case 5:
20924 78 : if (pattern1799 (x2,
20925 : E_V2DFmode) != 0
20926 78 : || !insn_condition_90 (operands, insn))
20927 1 : return -1;
20928 : return 4447; /* avx512f_vmfnmadd_v2df_maskz_1_round */
20929 :
20930 : default:
20931 : return -1;
20932 : }
20933 :
20934 432 : case NEG:
20935 432 : x14 = XEXP (x11, 0);
20936 432 : operands[3] = x14;
20937 432 : switch (pattern1445 (x2))
20938 : {
20939 107 : case 0:
20940 107 : x10 = XEXP (x8, 1);
20941 107 : operands[2] = x10;
20942 107 : if (pattern1882 (x3,
20943 : E_V8HFmode) == 0
20944 107 : && insn_condition_89 (operands, insn))
20945 : return 4449; /* *avx512f_vmfnmsub_v8hf_mask_round */
20946 79 : operands[1] = x10;
20947 79 : if (pattern1883 (x3,
20948 : E_V8HFmode) != 0
20949 79 : || !insn_condition_89 (operands, insn))
20950 1 : return -1;
20951 : return 4455; /* *avx512f_vmfnmsub_v8hf_mask3_round */
20952 :
20953 103 : case 1:
20954 103 : x10 = XEXP (x8, 1);
20955 103 : operands[2] = x10;
20956 103 : if (pattern1882 (x3,
20957 : E_V4SFmode) == 0
20958 103 : && insn_condition_27 (operands, insn))
20959 : return 4451; /* *avx512f_vmfnmsub_v4sf_mask_round */
20960 75 : operands[1] = x10;
20961 75 : if (pattern1883 (x3,
20962 : E_V4SFmode) != 0
20963 75 : || !insn_condition_27 (operands, insn))
20964 0 : return -1;
20965 : return 4457; /* *avx512f_vmfnmsub_v4sf_mask3_round */
20966 :
20967 108 : case 2:
20968 108 : x10 = XEXP (x8, 1);
20969 108 : operands[2] = x10;
20970 108 : if (pattern1882 (x3,
20971 : E_V2DFmode) == 0
20972 108 : && insn_condition_90 (operands, insn))
20973 : return 4453; /* *avx512f_vmfnmsub_v2df_mask_round */
20974 80 : operands[1] = x10;
20975 80 : if (pattern1883 (x3,
20976 : E_V2DFmode) != 0
20977 80 : || !insn_condition_90 (operands, insn))
20978 0 : return -1;
20979 : return 4459; /* *avx512f_vmfnmsub_v2df_mask3_round */
20980 :
20981 27 : case 3:
20982 27 : if (pattern1800 (x2,
20983 : E_V8HFmode) != 0
20984 27 : || !insn_condition_89 (operands, insn))
20985 1 : return -1;
20986 : return 4461; /* *avx512f_vmfnmsub_v8hf_maskz_1_round */
20987 :
20988 27 : case 4:
20989 27 : if (pattern1800 (x2,
20990 : E_V4SFmode) != 0
20991 27 : || !insn_condition_27 (operands, insn))
20992 1 : return -1;
20993 : return 4463; /* *avx512f_vmfnmsub_v4sf_maskz_1_round */
20994 :
20995 27 : case 5:
20996 27 : if (pattern1800 (x2,
20997 : E_V2DFmode) != 0
20998 27 : || !insn_condition_90 (operands, insn))
20999 1 : return -1;
21000 : return 4465; /* *avx512f_vmfnmsub_v2df_maskz_1_round */
21001 :
21002 : default:
21003 : return -1;
21004 : }
21005 :
21006 : default:
21007 : return -1;
21008 : }
21009 :
21010 : default:
21011 : return -1;
21012 : }
21013 : }
21014 :
21015 : int
21016 35277 : recog_247 (rtx x1 ATTRIBUTE_UNUSED,
21017 : rtx_insn *insn ATTRIBUTE_UNUSED,
21018 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21019 : {
21020 35277 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21021 35277 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
21022 35277 : rtx x10, x11;
21023 35277 : int res ATTRIBUTE_UNUSED;
21024 35277 : x2 = XEXP (x1, 1);
21025 35277 : x3 = XVECEXP (x2, 0, 0);
21026 35277 : x4 = XEXP (x3, 0);
21027 35277 : switch (XVECLEN (x4, 0))
21028 : {
21029 9360 : case 2:
21030 9360 : return recog_242 (x1, insn, pnum_clobbers);
21031 :
21032 7684 : case 3:
21033 7684 : x5 = XVECEXP (x4, 0, 0);
21034 7684 : operands[1] = x5;
21035 7684 : x6 = XVECEXP (x4, 0, 1);
21036 7684 : operands[2] = x6;
21037 7684 : switch (XINT (x4, 1))
21038 : {
21039 223 : case 191:
21040 223 : x7 = XEXP (x3, 2);
21041 223 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
21042 : return -1;
21043 223 : x8 = XVECEXP (x4, 0, 2);
21044 223 : operands[3] = x8;
21045 223 : if (!const_0_to_255_operand (operands[3], E_SImode))
21046 : return -1;
21047 223 : switch (pattern1452 (x2))
21048 : {
21049 79 : case 0:
21050 79 : if (!insn_condition_1085 (operands, insn))
21051 0 : return -1;
21052 : return 3380; /* reducesv8hf_round */
21053 :
21054 46 : case 1:
21055 46 : if (!insn_condition_1086 (operands, insn))
21056 0 : return -1;
21057 : return 3384; /* reducesv4sf_round */
21058 :
21059 46 : case 2:
21060 46 : if (!insn_condition_1087 (operands, insn))
21061 0 : return -1;
21062 : return 3388; /* reducesv2df_round */
21063 :
21064 : default:
21065 : return -1;
21066 : }
21067 :
21068 3602 : case 132:
21069 3602 : return recog_241 (x1, insn, pnum_clobbers);
21070 :
21071 842 : case 216:
21072 842 : switch (pattern1172 (x2))
21073 : {
21074 192 : case 0:
21075 192 : if (!insn_condition_1410 (operands, insn))
21076 0 : return -1;
21077 : return 4477; /* fma_fmaddc_v32hf_maskz_1_round */
21078 :
21079 381 : case 1:
21080 381 : if (!insn_condition_1411 (operands, insn))
21081 0 : return -1;
21082 : return 4515; /* avx512bw_fmaddc_v32hf_mask_round */
21083 :
21084 164 : case 2:
21085 164 : if (!insn_condition_26 (operands, insn))
21086 0 : return -1;
21087 : return 4540; /* avx512fp16_fma_fmaddcsh_v8hf_round */
21088 :
21089 : default:
21090 : return -1;
21091 : }
21092 :
21093 854 : case 218:
21094 854 : switch (pattern1172 (x2))
21095 : {
21096 192 : case 0:
21097 192 : if (!insn_condition_1410 (operands, insn))
21098 0 : return -1;
21099 : return 4481; /* fma_fcmaddc_v32hf_maskz_1_round */
21100 :
21101 381 : case 1:
21102 381 : if (!insn_condition_1411 (operands, insn))
21103 0 : return -1;
21104 : return 4517; /* avx512bw_fcmaddc_v32hf_mask_round */
21105 :
21106 176 : case 2:
21107 176 : if (!insn_condition_26 (operands, insn))
21108 0 : return -1;
21109 : return 4544; /* avx512fp16_fma_fcmaddcsh_v8hf_round */
21110 :
21111 : default:
21112 : return -1;
21113 : }
21114 :
21115 1012 : case 193:
21116 1012 : x8 = XVECEXP (x4, 0, 2);
21117 1012 : operands[3] = x8;
21118 1012 : if (!const_0_to_15_operand (operands[3], E_SImode))
21119 : return -1;
21120 1012 : x9 = XVECEXP (x2, 0, 1);
21121 1012 : if (!const48_operand (x9, E_SImode))
21122 : return -1;
21123 1012 : x7 = XEXP (x3, 2);
21124 1012 : switch (GET_CODE (x7))
21125 : {
21126 850 : case REG:
21127 850 : case SUBREG:
21128 850 : operands[5] = x7;
21129 850 : x10 = XEXP (x3, 1);
21130 850 : operands[4] = x10;
21131 850 : operands[6] = x9;
21132 850 : switch (GET_MODE (operands[0]))
21133 : {
21134 425 : case E_V16SFmode:
21135 425 : if (pattern1708 (x2,
21136 : E_V16SFmode,
21137 : E_HImode) != 0
21138 425 : || !insn_condition_1412 (operands, insn))
21139 7 : return -1;
21140 : return 8656; /* avx512dq_rangepv16sf_mask_round */
21141 :
21142 425 : case E_V8DFmode:
21143 425 : if (pattern1708 (x2,
21144 : E_V8DFmode,
21145 : E_QImode) != 0
21146 425 : || !insn_condition_1384 (operands, insn))
21147 7 : return -1;
21148 : return 8664; /* avx512dq_rangepv8df_mask_round */
21149 :
21150 : default:
21151 : return -1;
21152 : }
21153 :
21154 134 : case CONST_INT:
21155 134 : if (XWINT (x7, 0) != 1L)
21156 : return -1;
21157 134 : operands[4] = x9;
21158 134 : x10 = XEXP (x3, 1);
21159 134 : if (!rtx_equal_p (x10, operands[1]))
21160 : return -1;
21161 134 : switch (GET_MODE (operands[0]))
21162 : {
21163 67 : case E_V4SFmode:
21164 67 : if (pattern1450 (x2,
21165 : E_V4SFmode) != 0
21166 67 : || !insn_condition_119 (operands, insn))
21167 4 : return -1;
21168 : return 8671; /* avx512dq_rangesv4sf_round */
21169 :
21170 67 : case E_V2DFmode:
21171 67 : if (pattern1450 (x2,
21172 : E_V2DFmode) != 0
21173 67 : || !insn_condition_1088 (operands, insn))
21174 4 : return -1;
21175 : return 8675; /* avx512dq_rangesv2df_round */
21176 :
21177 : default:
21178 : return -1;
21179 : }
21180 :
21181 : default:
21182 : return -1;
21183 : }
21184 :
21185 1124 : case 165:
21186 1124 : x7 = XEXP (x3, 2);
21187 1124 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
21188 : return -1;
21189 1124 : x8 = XVECEXP (x4, 0, 2);
21190 1124 : operands[3] = x8;
21191 1124 : if (!const_0_to_15_operand (operands[3], E_SImode))
21192 : return -1;
21193 1124 : switch (pattern1452 (x2))
21194 : {
21195 22 : case 0:
21196 22 : if (!insn_condition_89 (operands, insn))
21197 0 : return -1;
21198 : return 8739; /* avx512f_vgetmantv8hf_round */
21199 :
21200 37 : case 1:
21201 37 : if (!insn_condition_27 (operands, insn))
21202 0 : return -1;
21203 : return 8743; /* avx512f_vgetmantv4sf_round */
21204 :
21205 998 : case 2:
21206 998 : if (!insn_condition_90 (operands, insn))
21207 0 : return -1;
21208 : return 8747; /* avx512f_vgetmantv2df_round */
21209 :
21210 : default:
21211 : return -1;
21212 : }
21213 :
21214 27 : case 277:
21215 27 : x8 = XVECEXP (x4, 0, 2);
21216 27 : operands[3] = x8;
21217 27 : if (!const_0_to_255_operand (operands[3], E_SImode))
21218 : return -1;
21219 27 : x9 = XVECEXP (x2, 0, 1);
21220 27 : if (!const48_operand (x9, E_SImode))
21221 : return -1;
21222 27 : x7 = XEXP (x3, 2);
21223 27 : switch (GET_CODE (x7))
21224 : {
21225 0 : case REG:
21226 0 : case SUBREG:
21227 0 : operands[5] = x7;
21228 0 : x10 = XEXP (x3, 1);
21229 0 : operands[4] = x10;
21230 0 : operands[6] = x9;
21231 0 : switch (GET_MODE (operands[0]))
21232 : {
21233 0 : case E_V32HFmode:
21234 0 : if (pattern1708 (x2,
21235 : E_V32HFmode,
21236 : E_SImode) != 0
21237 0 : || !insn_condition_1407 (operands, insn))
21238 0 : return -1;
21239 : return 9610; /* avx10_2_minmaxpv32hf_mask_round */
21240 :
21241 0 : case E_V16HFmode:
21242 0 : if (pattern1708 (x2,
21243 : E_V16HFmode,
21244 : E_HImode) != 0
21245 0 : || !insn_condition_1413 (operands, insn))
21246 0 : return -1;
21247 : return 9614; /* avx10_2_minmaxpv16hf_mask_round */
21248 :
21249 0 : case E_V8HFmode:
21250 0 : if (pattern1708 (x2,
21251 : E_V8HFmode,
21252 : E_QImode) != 0
21253 0 : || !insn_condition_1413 (operands, insn))
21254 0 : return -1;
21255 : return 9618; /* avx10_2_minmaxpv8hf_mask_round */
21256 :
21257 0 : case E_V16SFmode:
21258 0 : if (pattern1708 (x2,
21259 : E_V16SFmode,
21260 : E_HImode) != 0
21261 0 : || !insn_condition_1408 (operands, insn))
21262 0 : return -1;
21263 : return 9622; /* avx10_2_minmaxpv16sf_mask_round */
21264 :
21265 0 : case E_V8SFmode:
21266 0 : if (pattern1708 (x2,
21267 : E_V8SFmode,
21268 : E_QImode) != 0
21269 0 : || !insn_condition_1414 (operands, insn))
21270 0 : return -1;
21271 : return 9626; /* avx10_2_minmaxpv8sf_mask_round */
21272 :
21273 0 : case E_V4SFmode:
21274 0 : if (pattern1708 (x2,
21275 : E_V4SFmode,
21276 : E_QImode) != 0
21277 0 : || !insn_condition_1414 (operands, insn))
21278 0 : return -1;
21279 : return 9630; /* avx10_2_minmaxpv4sf_mask_round */
21280 :
21281 0 : case E_V8DFmode:
21282 0 : if (pattern1708 (x2,
21283 : E_V8DFmode,
21284 : E_QImode) != 0
21285 0 : || !insn_condition_1408 (operands, insn))
21286 0 : return -1;
21287 : return 9634; /* avx10_2_minmaxpv8df_mask_round */
21288 :
21289 0 : case E_V4DFmode:
21290 0 : if (pattern1708 (x2,
21291 : E_V4DFmode,
21292 : E_QImode) != 0
21293 0 : || !insn_condition_1414 (operands, insn))
21294 0 : return -1;
21295 : return 9638; /* avx10_2_minmaxpv4df_mask_round */
21296 :
21297 0 : case E_V2DFmode:
21298 0 : if (pattern1708 (x2,
21299 : E_V2DFmode,
21300 : E_QImode) != 0
21301 0 : || !insn_condition_1414 (operands, insn))
21302 0 : return -1;
21303 : return 9642; /* avx10_2_minmaxpv2df_mask_round */
21304 :
21305 : default:
21306 : return -1;
21307 : }
21308 :
21309 27 : case CONST_INT:
21310 27 : if (XWINT (x7, 0) != 1L)
21311 : return -1;
21312 27 : operands[4] = x9;
21313 27 : switch (pattern1451 (x2))
21314 : {
21315 4 : case 0:
21316 4 : if (!insn_condition_82 (operands, insn))
21317 0 : return -1;
21318 : return 9645; /* avx10_2_minmaxsv8hf_round */
21319 :
21320 4 : case 1:
21321 4 : if (!insn_condition_83 (operands, insn))
21322 0 : return -1;
21323 : return 9649; /* avx10_2_minmaxsv4sf_round */
21324 :
21325 4 : case 2:
21326 4 : if (!insn_condition_1089 (operands, insn))
21327 0 : return -1;
21328 : return 9653; /* avx10_2_minmaxsv2df_round */
21329 :
21330 : default:
21331 : return -1;
21332 : }
21333 :
21334 : default:
21335 : return -1;
21336 : }
21337 :
21338 : default:
21339 : return -1;
21340 : }
21341 :
21342 17264 : case 1:
21343 17264 : return recog_243 (x1, insn, pnum_clobbers);
21344 :
21345 969 : case 4:
21346 969 : if (XINT (x4, 1) != 162)
21347 : return -1;
21348 969 : x5 = XVECEXP (x4, 0, 0);
21349 969 : operands[1] = x5;
21350 969 : x6 = XVECEXP (x4, 0, 1);
21351 969 : operands[2] = x6;
21352 969 : x8 = XVECEXP (x4, 0, 2);
21353 969 : operands[3] = x8;
21354 969 : x11 = XVECEXP (x4, 0, 3);
21355 969 : operands[4] = x11;
21356 969 : if (!const_0_to_255_operand (operands[4], E_SImode))
21357 : return -1;
21358 969 : x9 = XVECEXP (x2, 0, 1);
21359 969 : if (!const48_operand (x9, E_SImode))
21360 : return -1;
21361 969 : x10 = XEXP (x3, 1);
21362 969 : switch (GET_CODE (x10))
21363 : {
21364 331 : case CONST_INT:
21365 331 : case CONST_DOUBLE:
21366 331 : case CONST_VECTOR:
21367 331 : operands[5] = x10;
21368 331 : x7 = XEXP (x3, 2);
21369 331 : operands[6] = x7;
21370 331 : operands[7] = x9;
21371 331 : switch (GET_MODE (operands[0]))
21372 : {
21373 172 : case E_V16SFmode:
21374 172 : if (pattern1737 (x2,
21375 : E_V16SFmode,
21376 : E_V16SImode,
21377 : E_HImode) != 0
21378 172 : || !insn_condition_27 (operands, insn))
21379 5 : return -1;
21380 : return 5771; /* avx512f_fixupimmv16sf_maskz_1_round */
21381 :
21382 0 : case E_V8SFmode:
21383 0 : if (pattern1737 (x2,
21384 : E_V8SFmode,
21385 : E_V8SImode,
21386 : E_QImode) != 0
21387 0 : || !insn_condition_341 (operands, insn))
21388 0 : return -1;
21389 : return 5775; /* avx512vl_fixupimmv8sf_maskz_1_round */
21390 :
21391 0 : case E_V4SFmode:
21392 0 : if (pattern1737 (x2,
21393 : E_V4SFmode,
21394 : E_V4SImode,
21395 : E_QImode) != 0
21396 0 : || !insn_condition_341 (operands, insn))
21397 0 : return -1;
21398 : return 5779; /* avx512vl_fixupimmv4sf_maskz_1_round */
21399 :
21400 159 : case E_V8DFmode:
21401 159 : if (pattern1737 (x2,
21402 : E_V8DFmode,
21403 : E_V8DImode,
21404 : E_QImode) != 0
21405 159 : || !insn_condition_27 (operands, insn))
21406 5 : return -1;
21407 : return 5783; /* avx512f_fixupimmv8df_maskz_1_round */
21408 :
21409 0 : case E_V4DFmode:
21410 0 : if (pattern1737 (x2,
21411 : E_V4DFmode,
21412 : E_V4DImode,
21413 : E_QImode) != 0
21414 0 : || !insn_condition_341 (operands, insn))
21415 0 : return -1;
21416 : return 5787; /* avx512vl_fixupimmv4df_maskz_1_round */
21417 :
21418 0 : case E_V2DFmode:
21419 0 : if (pattern1737 (x2,
21420 : E_V2DFmode,
21421 : E_V2DImode,
21422 : E_QImode) != 0
21423 0 : || !insn_condition_341 (operands, insn))
21424 0 : return -1;
21425 : return 5791; /* avx512vl_fixupimmv2df_maskz_1_round */
21426 :
21427 : default:
21428 : return -1;
21429 : }
21430 :
21431 634 : case REG:
21432 634 : case SUBREG:
21433 634 : x7 = XEXP (x3, 2);
21434 634 : switch (GET_CODE (x7))
21435 : {
21436 447 : case REG:
21437 447 : case SUBREG:
21438 447 : operands[5] = x7;
21439 447 : operands[6] = x9;
21440 447 : if (!rtx_equal_p (x10, operands[1]))
21441 : return -1;
21442 447 : switch (GET_MODE (operands[0]))
21443 : {
21444 245 : case E_V16SFmode:
21445 245 : if (pattern1759 (x2,
21446 : E_V16SImode,
21447 : E_V16SFmode,
21448 : E_HImode) != 0
21449 245 : || !insn_condition_27 (operands, insn))
21450 3 : return -1;
21451 : return 5793; /* avx512f_fixupimmv16sf_mask_round */
21452 :
21453 0 : case E_V8SFmode:
21454 0 : if (pattern1759 (x2,
21455 : E_V8SImode,
21456 : E_V8SFmode,
21457 : E_QImode) != 0
21458 0 : || !insn_condition_341 (operands, insn))
21459 0 : return -1;
21460 : return 5795; /* avx512vl_fixupimmv8sf_mask_round */
21461 :
21462 0 : case E_V4SFmode:
21463 0 : if (pattern1759 (x2,
21464 : E_V4SImode,
21465 : E_V4SFmode,
21466 : E_QImode) != 0
21467 0 : || !insn_condition_341 (operands, insn))
21468 0 : return -1;
21469 : return 5797; /* avx512vl_fixupimmv4sf_mask_round */
21470 :
21471 202 : case E_V8DFmode:
21472 202 : if (pattern1759 (x2,
21473 : E_V8DImode,
21474 : E_V8DFmode,
21475 : E_QImode) != 0
21476 202 : || !insn_condition_27 (operands, insn))
21477 3 : return -1;
21478 : return 5799; /* avx512f_fixupimmv8df_mask_round */
21479 :
21480 0 : case E_V4DFmode:
21481 0 : if (pattern1759 (x2,
21482 : E_V4DImode,
21483 : E_V4DFmode,
21484 : E_QImode) != 0
21485 0 : || !insn_condition_341 (operands, insn))
21486 0 : return -1;
21487 : return 5801; /* avx512vl_fixupimmv4df_mask_round */
21488 :
21489 0 : case E_V2DFmode:
21490 0 : if (pattern1759 (x2,
21491 : E_V2DImode,
21492 : E_V2DFmode,
21493 : E_QImode) != 0
21494 0 : || !insn_condition_341 (operands, insn))
21495 0 : return -1;
21496 : return 5803; /* avx512vl_fixupimmv2df_mask_round */
21497 :
21498 : default:
21499 : return -1;
21500 : }
21501 :
21502 187 : case CONST_INT:
21503 187 : if (XWINT (x7, 0) != 1L)
21504 : return -1;
21505 187 : operands[5] = x9;
21506 187 : if (!rtx_equal_p (x10, operands[2]))
21507 : return -1;
21508 187 : switch (GET_MODE (operands[0]))
21509 : {
21510 82 : case E_V4SFmode:
21511 82 : if (pattern1760 (x2,
21512 : E_V4SImode,
21513 : E_V4SFmode) != 0
21514 82 : || !insn_condition_27 (operands, insn))
21515 5 : return -1;
21516 : return 5805; /* avx512f_sfixupimmv4sf_round */
21517 :
21518 105 : case E_V2DFmode:
21519 105 : if (pattern1760 (x2,
21520 : E_V2DImode,
21521 : E_V2DFmode) != 0
21522 105 : || !insn_condition_90 (operands, insn))
21523 5 : return -1;
21524 : return 5809; /* avx512f_sfixupimmv2df_round */
21525 :
21526 : default:
21527 : return -1;
21528 : }
21529 :
21530 : default:
21531 : return -1;
21532 : }
21533 :
21534 : default:
21535 : return -1;
21536 : }
21537 :
21538 : default:
21539 : return -1;
21540 : }
21541 : }
21542 :
21543 : int
21544 3633 : recog_254 (rtx x1 ATTRIBUTE_UNUSED,
21545 : rtx_insn *insn ATTRIBUTE_UNUSED,
21546 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21547 : {
21548 3633 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21549 3633 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
21550 3633 : rtx x10;
21551 3633 : int res ATTRIBUTE_UNUSED;
21552 3633 : if (pnum_clobbers == NULL)
21553 : return -1;
21554 3633 : x2 = XEXP (x1, 0);
21555 3633 : if (GET_CODE (x2) != MEM)
21556 : return -1;
21557 3633 : operands[5] = x2;
21558 3633 : x3 = XEXP (x2, 0);
21559 3633 : if (GET_CODE (x3) != UNSPEC
21560 3633 : || XVECLEN (x3, 0) != 4
21561 3633 : || XINT (x3, 1) != 153)
21562 : return -1;
21563 3633 : x4 = XVECEXP (x3, 0, 0);
21564 3633 : operands[0] = x4;
21565 3633 : x5 = XVECEXP (x3, 0, 1);
21566 3633 : operands[2] = x5;
21567 3633 : x6 = XVECEXP (x3, 0, 2);
21568 3633 : operands[4] = x6;
21569 3633 : if (!const1248_operand (operands[4], E_SImode))
21570 : return -1;
21571 3633 : x7 = XVECEXP (x3, 0, 3);
21572 3633 : operands[6] = x7;
21573 3633 : x8 = XEXP (x1, 1);
21574 3633 : x9 = XVECEXP (x8, 0, 1);
21575 3633 : operands[3] = x9;
21576 3633 : x10 = XVECEXP (x8, 0, 0);
21577 3633 : if (!rtx_equal_p (x10, operands[6]))
21578 : return -1;
21579 2820 : switch (GET_MODE (operands[5]))
21580 : {
21581 423 : case E_V16SImode:
21582 423 : if (!vsib_mem_operator (operands[5], E_V16SImode)
21583 423 : || GET_MODE (x8) != E_V16SImode)
21584 : return -1;
21585 423 : switch (GET_MODE (x3))
21586 : {
21587 0 : case E_SImode:
21588 0 : switch (pattern1761 (
21589 : E_SImode))
21590 : {
21591 0 : case 0:
21592 0 : if (!insn_condition_1513 (operands, insn))
21593 : return -1;
21594 0 : *pnum_clobbers = 1;
21595 0 : return 8533; /* *avx512f_scattersiv16si */
21596 :
21597 0 : case 1:
21598 0 : if (!insn_condition_1513 (operands, insn))
21599 : return -1;
21600 0 : *pnum_clobbers = 1;
21601 0 : return 8557; /* *avx512f_scatterdiv16si */
21602 :
21603 : default:
21604 : return -1;
21605 : }
21606 :
21607 423 : case E_DImode:
21608 423 : switch (pattern1761 (
21609 : E_DImode))
21610 : {
21611 26 : case 0:
21612 26 : if (!insn_condition_1514 (operands, insn))
21613 : return -1;
21614 26 : *pnum_clobbers = 1;
21615 26 : return 8534; /* *avx512f_scattersiv16si */
21616 :
21617 68 : case 1:
21618 68 : if (!insn_condition_1514 (operands, insn))
21619 : return -1;
21620 68 : *pnum_clobbers = 1;
21621 68 : return 8558; /* *avx512f_scatterdiv16si */
21622 :
21623 : default:
21624 : return -1;
21625 : }
21626 :
21627 : default:
21628 : return -1;
21629 : }
21630 :
21631 432 : case E_V16SFmode:
21632 432 : if (!vsib_mem_operator (operands[5], E_V16SFmode)
21633 432 : || GET_MODE (x8) != E_V16SFmode)
21634 : return -1;
21635 432 : switch (GET_MODE (x3))
21636 : {
21637 0 : case E_SImode:
21638 0 : switch (pattern1762 (
21639 : E_SImode))
21640 : {
21641 0 : case 0:
21642 0 : if (!insn_condition_1513 (operands, insn))
21643 : return -1;
21644 0 : *pnum_clobbers = 1;
21645 0 : return 8535; /* *avx512f_scattersiv16sf */
21646 :
21647 0 : case 1:
21648 0 : if (!insn_condition_1513 (operands, insn))
21649 : return -1;
21650 0 : *pnum_clobbers = 1;
21651 0 : return 8559; /* *avx512f_scatterdiv16sf */
21652 :
21653 : default:
21654 : return -1;
21655 : }
21656 :
21657 432 : case E_DImode:
21658 432 : switch (pattern1762 (
21659 : E_DImode))
21660 : {
21661 41 : case 0:
21662 41 : if (!insn_condition_1514 (operands, insn))
21663 : return -1;
21664 41 : *pnum_clobbers = 1;
21665 41 : return 8536; /* *avx512f_scattersiv16sf */
21666 :
21667 36 : case 1:
21668 36 : if (!insn_condition_1514 (operands, insn))
21669 : return -1;
21670 36 : *pnum_clobbers = 1;
21671 36 : return 8560; /* *avx512f_scatterdiv16sf */
21672 :
21673 : default:
21674 : return -1;
21675 : }
21676 :
21677 : default:
21678 : return -1;
21679 : }
21680 :
21681 259 : case E_V8DImode:
21682 259 : switch (pattern1657 (x1,
21683 : E_V8DImode))
21684 : {
21685 0 : case 0:
21686 0 : if (!insn_condition_1513 (operands, insn))
21687 : return -1;
21688 0 : *pnum_clobbers = 1;
21689 0 : return 8537; /* *avx512f_scattersiv8di */
21690 :
21691 0 : case 1:
21692 0 : if (!insn_condition_1513 (operands, insn))
21693 : return -1;
21694 0 : *pnum_clobbers = 1;
21695 0 : return 8561; /* *avx512f_scatterdiv8di */
21696 :
21697 30 : case 2:
21698 30 : if (!insn_condition_1514 (operands, insn))
21699 : return -1;
21700 30 : *pnum_clobbers = 1;
21701 30 : return 8538; /* *avx512f_scattersiv8di */
21702 :
21703 27 : case 3:
21704 27 : if (!insn_condition_1514 (operands, insn))
21705 : return -1;
21706 27 : *pnum_clobbers = 1;
21707 27 : return 8562; /* *avx512f_scatterdiv8di */
21708 :
21709 : default:
21710 : return -1;
21711 : }
21712 :
21713 442 : case E_V8DFmode:
21714 442 : switch (pattern1657 (x1,
21715 : E_V8DFmode))
21716 : {
21717 3 : case 0:
21718 3 : if (!insn_condition_1513 (operands, insn))
21719 : return -1;
21720 3 : *pnum_clobbers = 1;
21721 3 : return 8539; /* *avx512f_scattersiv8df */
21722 :
21723 2 : case 1:
21724 2 : if (!insn_condition_1513 (operands, insn))
21725 : return -1;
21726 2 : *pnum_clobbers = 1;
21727 2 : return 8563; /* *avx512f_scatterdiv8df */
21728 :
21729 42 : case 2:
21730 42 : if (!insn_condition_1514 (operands, insn))
21731 : return -1;
21732 42 : *pnum_clobbers = 1;
21733 42 : return 8540; /* *avx512f_scattersiv8df */
21734 :
21735 29 : case 3:
21736 29 : if (!insn_condition_1514 (operands, insn))
21737 : return -1;
21738 29 : *pnum_clobbers = 1;
21739 29 : return 8564; /* *avx512f_scatterdiv8df */
21740 :
21741 : default:
21742 : return -1;
21743 : }
21744 :
21745 205 : case E_V8SImode:
21746 205 : switch (pattern1658 (x1,
21747 : E_V8SImode))
21748 : {
21749 0 : case 0:
21750 0 : switch (pattern1801 (
21751 : E_SImode))
21752 : {
21753 0 : case 0:
21754 0 : if (!insn_condition_1515 (operands, insn))
21755 : return -1;
21756 0 : *pnum_clobbers = 1;
21757 0 : return 8541; /* *avx512f_scattersiv8si */
21758 :
21759 0 : case 1:
21760 0 : if (!insn_condition_1516 (operands, insn))
21761 : return -1;
21762 0 : *pnum_clobbers = 1;
21763 0 : return 8565; /* *avx512f_scatterdiv8si */
21764 :
21765 : default:
21766 : return -1;
21767 : }
21768 :
21769 148 : case 1:
21770 148 : switch (pattern1801 (
21771 : E_DImode))
21772 : {
21773 27 : case 0:
21774 27 : if (!insn_condition_1517 (operands, insn))
21775 : return -1;
21776 27 : *pnum_clobbers = 1;
21777 27 : return 8542; /* *avx512f_scattersiv8si */
21778 :
21779 27 : case 1:
21780 27 : if (!insn_condition_1518 (operands, insn))
21781 : return -1;
21782 27 : *pnum_clobbers = 1;
21783 27 : return 8566; /* *avx512f_scatterdiv8si */
21784 :
21785 : default:
21786 : return -1;
21787 : }
21788 :
21789 : default:
21790 : return -1;
21791 : }
21792 :
21793 151 : case E_V8SFmode:
21794 151 : switch (pattern1658 (x1,
21795 : E_V8SFmode))
21796 : {
21797 0 : case 0:
21798 0 : switch (pattern1802 (
21799 : E_SImode))
21800 : {
21801 0 : case 0:
21802 0 : if (!insn_condition_1515 (operands, insn))
21803 : return -1;
21804 0 : *pnum_clobbers = 1;
21805 0 : return 8543; /* *avx512f_scattersiv8sf */
21806 :
21807 0 : case 1:
21808 0 : if (!insn_condition_1516 (operands, insn))
21809 : return -1;
21810 0 : *pnum_clobbers = 1;
21811 0 : return 8567; /* *avx512f_scatterdiv8sf */
21812 :
21813 : default:
21814 : return -1;
21815 : }
21816 :
21817 94 : case 1:
21818 94 : switch (pattern1802 (
21819 : E_DImode))
21820 : {
21821 21 : case 0:
21822 21 : if (!insn_condition_1517 (operands, insn))
21823 : return -1;
21824 21 : *pnum_clobbers = 1;
21825 21 : return 8544; /* *avx512f_scattersiv8sf */
21826 :
21827 25 : case 1:
21828 25 : if (!insn_condition_1518 (operands, insn))
21829 : return -1;
21830 25 : *pnum_clobbers = 1;
21831 25 : return 8568; /* *avx512f_scatterdiv8sf */
21832 :
21833 : default:
21834 : return -1;
21835 : }
21836 :
21837 : default:
21838 : return -1;
21839 : }
21840 :
21841 135 : case E_V4DImode:
21842 135 : switch (pattern1660 (x1,
21843 : E_V4DImode))
21844 : {
21845 0 : case 0:
21846 0 : if (!insn_condition_1515 (operands, insn))
21847 : return -1;
21848 0 : *pnum_clobbers = 1;
21849 0 : return 8545; /* *avx512f_scattersiv4di */
21850 :
21851 0 : case 1:
21852 0 : if (!insn_condition_1516 (operands, insn))
21853 : return -1;
21854 0 : *pnum_clobbers = 1;
21855 0 : return 8569; /* *avx512f_scatterdiv4di */
21856 :
21857 23 : case 2:
21858 23 : if (!insn_condition_1517 (operands, insn))
21859 : return -1;
21860 23 : *pnum_clobbers = 1;
21861 23 : return 8546; /* *avx512f_scattersiv4di */
21862 :
21863 21 : case 3:
21864 21 : if (!insn_condition_1518 (operands, insn))
21865 : return -1;
21866 21 : *pnum_clobbers = 1;
21867 21 : return 8570; /* *avx512f_scatterdiv4di */
21868 :
21869 : default:
21870 : return -1;
21871 : }
21872 :
21873 135 : case E_V4DFmode:
21874 135 : switch (pattern1660 (x1,
21875 : E_V4DFmode))
21876 : {
21877 0 : case 0:
21878 0 : if (!insn_condition_1515 (operands, insn))
21879 : return -1;
21880 0 : *pnum_clobbers = 1;
21881 0 : return 8547; /* *avx512f_scattersiv4df */
21882 :
21883 0 : case 1:
21884 0 : if (!insn_condition_1516 (operands, insn))
21885 : return -1;
21886 0 : *pnum_clobbers = 1;
21887 0 : return 8571; /* *avx512f_scatterdiv4df */
21888 :
21889 23 : case 2:
21890 23 : if (!insn_condition_1517 (operands, insn))
21891 : return -1;
21892 23 : *pnum_clobbers = 1;
21893 23 : return 8548; /* *avx512f_scattersiv4df */
21894 :
21895 21 : case 3:
21896 21 : if (!insn_condition_1518 (operands, insn))
21897 : return -1;
21898 21 : *pnum_clobbers = 1;
21899 21 : return 8572; /* *avx512f_scatterdiv4df */
21900 :
21901 : default:
21902 : return -1;
21903 : }
21904 :
21905 226 : case E_V4SImode:
21906 226 : switch (pattern1662 (x1,
21907 : E_V4SImode))
21908 : {
21909 0 : case 0:
21910 0 : if (!insn_condition_1515 (operands, insn))
21911 : return -1;
21912 0 : *pnum_clobbers = 1;
21913 0 : return 8549; /* *avx512f_scattersiv4si */
21914 :
21915 0 : case 1:
21916 0 : if (!insn_condition_1516 (operands, insn))
21917 : return -1;
21918 0 : *pnum_clobbers = 1;
21919 0 : return 8573; /* *avx512f_scatterdiv4si */
21920 :
21921 28 : case 2:
21922 28 : if (!insn_condition_1517 (operands, insn))
21923 : return -1;
21924 28 : *pnum_clobbers = 1;
21925 28 : return 8550; /* *avx512f_scattersiv4si */
21926 :
21927 32 : case 3:
21928 32 : if (!insn_condition_1518 (operands, insn))
21929 : return -1;
21930 32 : *pnum_clobbers = 1;
21931 32 : return 8574; /* *avx512f_scatterdiv4si */
21932 :
21933 : default:
21934 : return -1;
21935 : }
21936 :
21937 152 : case E_V4SFmode:
21938 152 : switch (pattern1662 (x1,
21939 : E_V4SFmode))
21940 : {
21941 0 : case 0:
21942 0 : if (!insn_condition_1515 (operands, insn))
21943 : return -1;
21944 0 : *pnum_clobbers = 1;
21945 0 : return 8551; /* *avx512f_scattersiv4sf */
21946 :
21947 0 : case 1:
21948 0 : if (!insn_condition_1516 (operands, insn))
21949 : return -1;
21950 0 : *pnum_clobbers = 1;
21951 0 : return 8575; /* *avx512f_scatterdiv4sf */
21952 :
21953 22 : case 2:
21954 22 : if (!insn_condition_1517 (operands, insn))
21955 : return -1;
21956 22 : *pnum_clobbers = 1;
21957 22 : return 8552; /* *avx512f_scattersiv4sf */
21958 :
21959 30 : case 3:
21960 30 : if (!insn_condition_1518 (operands, insn))
21961 : return -1;
21962 30 : *pnum_clobbers = 1;
21963 30 : return 8576; /* *avx512f_scatterdiv4sf */
21964 :
21965 : default:
21966 : return -1;
21967 : }
21968 :
21969 130 : case E_V2DImode:
21970 130 : switch (pattern1662 (x1,
21971 : E_V2DImode))
21972 : {
21973 0 : case 0:
21974 0 : if (!insn_condition_1515 (operands, insn))
21975 : return -1;
21976 0 : *pnum_clobbers = 1;
21977 0 : return 8553; /* *avx512f_scattersiv2di */
21978 :
21979 0 : case 1:
21980 0 : if (!insn_condition_1516 (operands, insn))
21981 : return -1;
21982 0 : *pnum_clobbers = 1;
21983 0 : return 8577; /* *avx512f_scatterdiv2di */
21984 :
21985 26 : case 2:
21986 26 : if (!insn_condition_1517 (operands, insn))
21987 : return -1;
21988 26 : *pnum_clobbers = 1;
21989 26 : return 8554; /* *avx512f_scattersiv2di */
21990 :
21991 20 : case 3:
21992 20 : if (!insn_condition_1518 (operands, insn))
21993 : return -1;
21994 20 : *pnum_clobbers = 1;
21995 20 : return 8578; /* *avx512f_scatterdiv2di */
21996 :
21997 : default:
21998 : return -1;
21999 : }
22000 :
22001 130 : case E_V2DFmode:
22002 130 : switch (pattern1662 (x1,
22003 : E_V2DFmode))
22004 : {
22005 0 : case 0:
22006 0 : if (!insn_condition_1515 (operands, insn))
22007 : return -1;
22008 0 : *pnum_clobbers = 1;
22009 0 : return 8555; /* *avx512f_scattersiv2df */
22010 :
22011 0 : case 1:
22012 0 : if (!insn_condition_1516 (operands, insn))
22013 : return -1;
22014 0 : *pnum_clobbers = 1;
22015 0 : return 8579; /* *avx512f_scatterdiv2df */
22016 :
22017 26 : case 2:
22018 26 : if (!insn_condition_1517 (operands, insn))
22019 : return -1;
22020 26 : *pnum_clobbers = 1;
22021 26 : return 8556; /* *avx512f_scattersiv2df */
22022 :
22023 20 : case 3:
22024 20 : if (!insn_condition_1518 (operands, insn))
22025 : return -1;
22026 20 : *pnum_clobbers = 1;
22027 20 : return 8580; /* *avx512f_scatterdiv2df */
22028 :
22029 : default:
22030 : return -1;
22031 : }
22032 :
22033 : default:
22034 : return -1;
22035 : }
22036 : }
22037 :
22038 : int
22039 2907 : recog_262 (rtx x1 ATTRIBUTE_UNUSED,
22040 : rtx_insn *insn ATTRIBUTE_UNUSED,
22041 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22042 : {
22043 2907 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22044 2907 : rtx x2, x3, x4, x5;
22045 2907 : int res ATTRIBUTE_UNUSED;
22046 2907 : x2 = XEXP (x1, 0);
22047 2907 : operands[0] = x2;
22048 2907 : x3 = XEXP (x1, 1);
22049 2907 : x4 = XVECEXP (x3, 0, 0);
22050 2907 : operands[2] = x4;
22051 2907 : x5 = XVECEXP (x3, 0, 1);
22052 2907 : operands[1] = x5;
22053 2907 : switch (GET_MODE (operands[0]))
22054 : {
22055 114 : case E_V4SFmode:
22056 114 : if (pattern822 (x3,
22057 : E_V4SFmode,
22058 : E_V4SImode) != 0
22059 114 : || !insn_condition_122 (operands, insn))
22060 17 : return -1;
22061 : return 8181; /* avx_maskloadps */
22062 :
22063 115 : case E_V2DFmode:
22064 115 : if (pattern822 (x3,
22065 : E_V2DFmode,
22066 : E_V2DImode) != 0
22067 115 : || !insn_condition_122 (operands, insn))
22068 18 : return -1;
22069 : return 8182; /* avx_maskloadpd */
22070 :
22071 320 : case E_V4DImode:
22072 320 : if (pattern823 (x3,
22073 : E_V4DImode) != 0
22074 320 : || !insn_condition_122 (operands, insn))
22075 90 : return -1;
22076 : return 8183; /* avx2_maskloadq256 */
22077 :
22078 87 : case E_V2DImode:
22079 87 : if (pattern823 (x3,
22080 : E_V2DImode) != 0
22081 87 : || !insn_condition_122 (operands, insn))
22082 23 : return -1;
22083 : return 8184; /* avx2_maskloadq */
22084 :
22085 142 : case E_V8SFmode:
22086 142 : if (pattern822 (x3,
22087 : E_V8SFmode,
22088 : E_V8SImode) != 0
22089 142 : || !insn_condition_122 (operands, insn))
22090 17 : return -1;
22091 : return 8185; /* avx_maskloadps256 */
22092 :
22093 345 : case E_V4DFmode:
22094 345 : if (pattern822 (x3,
22095 : E_V4DFmode,
22096 : E_V4DImode) != 0
22097 345 : || !insn_condition_122 (operands, insn))
22098 73 : return -1;
22099 : return 8186; /* avx_maskloadpd256 */
22100 :
22101 789 : case E_V8SImode:
22102 789 : if (pattern823 (x3,
22103 : E_V8SImode) != 0
22104 789 : || !insn_condition_122 (operands, insn))
22105 221 : return -1;
22106 : return 8187; /* avx2_maskloadd256 */
22107 :
22108 995 : case E_V4SImode:
22109 995 : if (pattern823 (x3,
22110 : E_V4SImode) != 0
22111 995 : || !insn_condition_122 (operands, insn))
22112 321 : return -1;
22113 : return 8188; /* avx2_maskloadd */
22114 :
22115 : default:
22116 : return -1;
22117 : }
22118 : }
22119 :
22120 : int
22121 1386 : recog_264 (rtx x1 ATTRIBUTE_UNUSED,
22122 : rtx_insn *insn ATTRIBUTE_UNUSED,
22123 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22124 : {
22125 1386 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22126 1386 : rtx x2, x3, x4, x5;
22127 1386 : int res ATTRIBUTE_UNUSED;
22128 1386 : x2 = XEXP (x1, 0);
22129 1386 : operands[0] = x2;
22130 1386 : x3 = XEXP (x1, 1);
22131 1386 : x4 = XVECEXP (x3, 0, 0);
22132 1386 : operands[1] = x4;
22133 1386 : x5 = XVECEXP (x3, 0, 1);
22134 1386 : operands[2] = x5;
22135 1386 : switch (GET_MODE (operands[0]))
22136 : {
22137 70 : case E_V16SFmode:
22138 70 : if (pattern821 (x3,
22139 : E_V16SImode,
22140 : E_V16SFmode) != 0
22141 70 : || !insn_condition_1537 (operands, insn))
22142 9 : return -1;
22143 : return 8047; /* avx512f_vpermilvarv16sf3 */
22144 :
22145 862 : case E_V8SFmode:
22146 862 : if (pattern821 (x3,
22147 : E_V8SImode,
22148 : E_V8SFmode) != 0
22149 862 : || !insn_condition_1538 (operands, insn))
22150 94 : return -1;
22151 : return 8049; /* avx_vpermilvarv8sf3 */
22152 :
22153 124 : case E_V4SFmode:
22154 124 : if (pattern821 (x3,
22155 : E_V4SImode,
22156 : E_V4SFmode) != 0
22157 124 : || !insn_condition_1344 (operands, insn))
22158 11 : return -1;
22159 : return 8051; /* avx_vpermilvarv4sf3 */
22160 :
22161 76 : case E_V8DFmode:
22162 76 : if (pattern821 (x3,
22163 : E_V8DImode,
22164 : E_V8DFmode) != 0
22165 76 : || !insn_condition_1537 (operands, insn))
22166 13 : return -1;
22167 : return 8053; /* avx512f_vpermilvarv8df3 */
22168 :
22169 107 : case E_V4DFmode:
22170 107 : if (pattern821 (x3,
22171 : E_V4DImode,
22172 : E_V4DFmode) != 0
22173 107 : || !insn_condition_1538 (operands, insn))
22174 18 : return -1;
22175 : return 8055; /* avx_vpermilvarv4df3 */
22176 :
22177 147 : case E_V2DFmode:
22178 147 : if (pattern821 (x3,
22179 : E_V2DImode,
22180 : E_V2DFmode) != 0
22181 147 : || !insn_condition_1539 (operands, insn))
22182 30 : return -1;
22183 : return 8057; /* avx_vpermilvarv2df3 */
22184 :
22185 : default:
22186 : return -1;
22187 : }
22188 : }
22189 :
22190 : int
22191 3026 : recog_269 (rtx x1 ATTRIBUTE_UNUSED,
22192 : rtx_insn *insn ATTRIBUTE_UNUSED,
22193 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22194 : {
22195 3026 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22196 3026 : rtx x2, x3, x4, x5, x6, x7;
22197 3026 : int res ATTRIBUTE_UNUSED;
22198 3026 : x2 = XEXP (x1, 0);
22199 3026 : operands[0] = x2;
22200 3026 : x3 = XEXP (x1, 1);
22201 3026 : x4 = XVECEXP (x3, 0, 0);
22202 3026 : operands[1] = x4;
22203 3026 : x5 = XVECEXP (x3, 0, 1);
22204 3026 : operands[2] = x5;
22205 3026 : x6 = XVECEXP (x3, 0, 2);
22206 3026 : switch (GET_CODE (x6))
22207 : {
22208 2109 : case REG:
22209 2109 : case SUBREG:
22210 2109 : case MEM:
22211 2109 : operands[3] = x6;
22212 2109 : switch (GET_MODE (operands[0]))
22213 : {
22214 303 : case E_V8SFmode:
22215 303 : if (!register_operand (operands[0], E_V8SFmode)
22216 303 : || GET_MODE (x3) != E_V8SFmode)
22217 : return -1;
22218 299 : if (nonimmediate_operand (operands[1], E_V8SFmode)
22219 299 : && nonimmediate_operand (operands[2], E_V8SFmode)
22220 299 : && nonimmediate_operand (operands[3], E_V8SFmode)
22221 299 : && insn_condition_1548 (operands, insn))
22222 : return 4242; /* *fma_fmaddsub_v8sf */
22223 0 : if (!vector_operand (operands[1], E_V8SFmode)
22224 0 : || !vector_operand (operands[2], E_V8SFmode)
22225 0 : || !vector_operand (operands[3], E_V8SFmode)
22226 0 : || !insn_condition_1549 (operands, insn))
22227 0 : return -1;
22228 : return 4258; /* *fma_fmaddsub_v8sf */
22229 :
22230 374 : case E_V4SFmode:
22231 374 : if (!register_operand (operands[0], E_V4SFmode)
22232 374 : || GET_MODE (x3) != E_V4SFmode)
22233 : return -1;
22234 372 : if (nonimmediate_operand (operands[1], E_V4SFmode)
22235 345 : && nonimmediate_operand (operands[2], E_V4SFmode)
22236 329 : && nonimmediate_operand (operands[3], E_V4SFmode)
22237 372 : && insn_condition_559 (operands, insn))
22238 : return 4243; /* *fma_fmaddsub_v4sf */
22239 43 : if (!vector_operand (operands[1], E_V4SFmode)
22240 16 : || !vector_operand (operands[2], E_V4SFmode)
22241 0 : || !vector_operand (operands[3], E_V4SFmode)
22242 43 : || !insn_condition_1549 (operands, insn))
22243 43 : return -1;
22244 : return 4260; /* *fma_fmaddsub_v4sf */
22245 :
22246 622 : case E_V4DFmode:
22247 622 : if (!register_operand (operands[0], E_V4DFmode)
22248 622 : || GET_MODE (x3) != E_V4DFmode)
22249 : return -1;
22250 618 : if (nonimmediate_operand (operands[1], E_V4DFmode)
22251 588 : && nonimmediate_operand (operands[2], E_V4DFmode)
22252 570 : && nonimmediate_operand (operands[3], E_V4DFmode)
22253 618 : && insn_condition_1548 (operands, insn))
22254 : return 4244; /* *fma_fmaddsub_v4df */
22255 48 : if (!vector_operand (operands[1], E_V4DFmode)
22256 18 : || !vector_operand (operands[2], E_V4DFmode)
22257 0 : || !vector_operand (operands[3], E_V4DFmode)
22258 48 : || !insn_condition_1549 (operands, insn))
22259 48 : return -1;
22260 : return 4266; /* *fma_fmaddsub_v4df */
22261 :
22262 480 : case E_V2DFmode:
22263 480 : if (!register_operand (operands[0], E_V2DFmode)
22264 480 : || GET_MODE (x3) != E_V2DFmode)
22265 : return -1;
22266 473 : if (nonimmediate_operand (operands[1], E_V2DFmode)
22267 408 : && nonimmediate_operand (operands[2], E_V2DFmode)
22268 396 : && nonimmediate_operand (operands[3], E_V2DFmode)
22269 473 : && insn_condition_1550 (operands, insn))
22270 : return 4245; /* *fma_fmaddsub_v2df */
22271 149 : if (!vector_operand (operands[1], E_V2DFmode)
22272 84 : || !vector_operand (operands[2], E_V2DFmode)
22273 72 : || !vector_operand (operands[3], E_V2DFmode)
22274 149 : || !insn_condition_1549 (operands, insn))
22275 77 : return -1;
22276 : return 4268; /* *fma_fmaddsub_v2df */
22277 :
22278 40 : case E_V32HFmode:
22279 40 : if (pattern704 (x3,
22280 : E_V32HFmode) != 0
22281 40 : || !insn_condition_561 (operands, insn))
22282 12 : return -1;
22283 : return 4246; /* *fma_fmaddsub_v32hf */
22284 :
22285 64 : case E_V16HFmode:
22286 64 : if (pattern704 (x3,
22287 : E_V16HFmode) != 0
22288 64 : || !insn_condition_1551 (operands, insn))
22289 2 : return -1;
22290 : return 4250; /* *fma_fmaddsub_v16hf */
22291 :
22292 78 : case E_V8HFmode:
22293 78 : if (pattern704 (x3,
22294 : E_V8HFmode) != 0
22295 78 : || !insn_condition_1551 (operands, insn))
22296 11 : return -1;
22297 : return 4252; /* *fma_fmaddsub_v8hf */
22298 :
22299 55 : case E_V16SFmode:
22300 55 : if (pattern704 (x3,
22301 : E_V16SFmode) != 0
22302 55 : || !insn_condition_560 (operands, insn))
22303 11 : return -1;
22304 : return 4254; /* *fma_fmaddsub_v16sf */
22305 :
22306 93 : case E_V8DFmode:
22307 93 : if (pattern704 (x3,
22308 : E_V8DFmode) != 0
22309 93 : || !insn_condition_560 (operands, insn))
22310 27 : return -1;
22311 : return 4262; /* *fma_fmaddsub_v8df */
22312 :
22313 : default:
22314 : return -1;
22315 : }
22316 :
22317 623 : case NEG:
22318 623 : x7 = XEXP (x6, 0);
22319 623 : operands[3] = x7;
22320 623 : switch (GET_MODE (operands[0]))
22321 : {
22322 60 : case E_V8SFmode:
22323 60 : if (!register_operand (operands[0], E_V8SFmode)
22324 58 : || GET_MODE (x3) != E_V8SFmode
22325 118 : || GET_MODE (x6) != E_V8SFmode)
22326 : return -1;
22327 58 : if (nonimmediate_operand (operands[1], E_V8SFmode)
22328 58 : && nonimmediate_operand (operands[2], E_V8SFmode)
22329 58 : && nonimmediate_operand (operands[3], E_V8SFmode)
22330 58 : && insn_condition_1548 (operands, insn))
22331 : return 4306; /* *fma_fmsubadd_v8sf */
22332 0 : if (!vector_operand (operands[1], E_V8SFmode)
22333 0 : || !vector_operand (operands[2], E_V8SFmode)
22334 0 : || !vector_operand (operands[3], E_V8SFmode)
22335 0 : || !insn_condition_1549 (operands, insn))
22336 0 : return -1;
22337 : return 4322; /* *fma_fmsubadd_v8sf */
22338 :
22339 104 : case E_V4SFmode:
22340 104 : if (!register_operand (operands[0], E_V4SFmode)
22341 104 : || GET_MODE (x3) != E_V4SFmode
22342 208 : || GET_MODE (x6) != E_V4SFmode)
22343 : return -1;
22344 104 : if (nonimmediate_operand (operands[1], E_V4SFmode)
22345 91 : && nonimmediate_operand (operands[2], E_V4SFmode)
22346 82 : && nonimmediate_operand (operands[3], E_V4SFmode)
22347 104 : && insn_condition_559 (operands, insn))
22348 : return 4307; /* *fma_fmsubadd_v4sf */
22349 34 : if (!vector_operand (operands[1], E_V4SFmode)
22350 21 : || !vector_operand (operands[2], E_V4SFmode)
22351 12 : || !vector_operand (operands[3], E_V4SFmode)
22352 34 : || !insn_condition_1549 (operands, insn))
22353 34 : return -1;
22354 : return 4324; /* *fma_fmsubadd_v4sf */
22355 :
22356 57 : case E_V4DFmode:
22357 57 : if (!register_operand (operands[0], E_V4DFmode)
22358 55 : || GET_MODE (x3) != E_V4DFmode
22359 112 : || GET_MODE (x6) != E_V4DFmode)
22360 : return -1;
22361 55 : if (nonimmediate_operand (operands[1], E_V4DFmode)
22362 55 : && nonimmediate_operand (operands[2], E_V4DFmode)
22363 55 : && nonimmediate_operand (operands[3], E_V4DFmode)
22364 55 : && insn_condition_1548 (operands, insn))
22365 : return 4308; /* *fma_fmsubadd_v4df */
22366 0 : if (!vector_operand (operands[1], E_V4DFmode)
22367 0 : || !vector_operand (operands[2], E_V4DFmode)
22368 0 : || !vector_operand (operands[3], E_V4DFmode)
22369 0 : || !insn_condition_1549 (operands, insn))
22370 0 : return -1;
22371 : return 4330; /* *fma_fmsubadd_v4df */
22372 :
22373 175 : case E_V2DFmode:
22374 175 : if (!register_operand (operands[0], E_V2DFmode)
22375 159 : || GET_MODE (x3) != E_V2DFmode
22376 334 : || GET_MODE (x6) != E_V2DFmode)
22377 : return -1;
22378 159 : if (nonimmediate_operand (operands[1], E_V2DFmode)
22379 142 : && nonimmediate_operand (operands[2], E_V2DFmode)
22380 127 : && nonimmediate_operand (operands[3], E_V2DFmode)
22381 159 : && insn_condition_1550 (operands, insn))
22382 : return 4309; /* *fma_fmsubadd_v2df */
22383 55 : if (!vector_operand (operands[1], E_V2DFmode)
22384 38 : || !vector_operand (operands[2], E_V2DFmode)
22385 23 : || !vector_operand (operands[3], E_V2DFmode)
22386 55 : || !insn_condition_1549 (operands, insn))
22387 55 : return -1;
22388 : return 4332; /* *fma_fmsubadd_v2df */
22389 :
22390 40 : case E_V32HFmode:
22391 40 : if (pattern1073 (x3,
22392 : E_V32HFmode) != 0
22393 40 : || !insn_condition_561 (operands, insn))
22394 12 : return -1;
22395 : return 4310; /* *fma_fmsubadd_v32hf */
22396 :
22397 64 : case E_V16HFmode:
22398 64 : if (pattern1073 (x3,
22399 : E_V16HFmode) != 0
22400 64 : || !insn_condition_1551 (operands, insn))
22401 2 : return -1;
22402 : return 4314; /* *fma_fmsubadd_v16hf */
22403 :
22404 83 : case E_V8HFmode:
22405 83 : if (pattern1073 (x3,
22406 : E_V8HFmode) != 0
22407 83 : || !insn_condition_1551 (operands, insn))
22408 16 : return -1;
22409 : return 4316; /* *fma_fmsubadd_v8hf */
22410 :
22411 20 : case E_V16SFmode:
22412 20 : if (pattern1073 (x3,
22413 : E_V16SFmode) != 0
22414 20 : || !insn_condition_560 (operands, insn))
22415 4 : return -1;
22416 : return 4318; /* *fma_fmsubadd_v16sf */
22417 :
22418 20 : case E_V8DFmode:
22419 20 : if (pattern1073 (x3,
22420 : E_V8DFmode) != 0
22421 20 : || !insn_condition_560 (operands, insn))
22422 4 : return -1;
22423 : return 4326; /* *fma_fmsubadd_v8df */
22424 :
22425 : default:
22426 : return -1;
22427 : }
22428 :
22429 : default:
22430 : return -1;
22431 : }
22432 : }
22433 :
22434 : int
22435 3938 : recog_274 (rtx x1 ATTRIBUTE_UNUSED,
22436 : rtx_insn *insn ATTRIBUTE_UNUSED,
22437 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22438 : {
22439 3938 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22440 3938 : rtx x2, x3, x4, x5, x6;
22441 3938 : int res ATTRIBUTE_UNUSED;
22442 3938 : x2 = XEXP (x1, 0);
22443 3938 : operands[0] = x2;
22444 3938 : x3 = XEXP (x1, 1);
22445 3938 : x4 = XVECEXP (x3, 0, 0);
22446 3938 : operands[1] = x4;
22447 3938 : x5 = XVECEXP (x3, 0, 1);
22448 3938 : operands[2] = x5;
22449 3938 : x6 = XVECEXP (x3, 0, 2);
22450 3938 : operands[3] = x6;
22451 3938 : switch (GET_MODE (operands[0]))
22452 : {
22453 213 : case E_V16SImode:
22454 213 : if (pattern954 (x3,
22455 : E_HImode,
22456 : E_V16SImode) != 0
22457 213 : || !insn_condition_27 (operands, insn))
22458 34 : return -1;
22459 : return 8581; /* avx512f_compressv16si_mask */
22460 :
22461 220 : case E_V16SFmode:
22462 220 : if (pattern954 (x3,
22463 : E_HImode,
22464 : E_V16SFmode) != 0
22465 220 : || !insn_condition_27 (operands, insn))
22466 40 : return -1;
22467 : return 8582; /* avx512f_compressv16sf_mask */
22468 :
22469 227 : case E_V8DImode:
22470 227 : if (pattern954 (x3,
22471 : E_QImode,
22472 : E_V8DImode) != 0
22473 227 : || !insn_condition_27 (operands, insn))
22474 44 : return -1;
22475 : return 8583; /* avx512f_compressv8di_mask */
22476 :
22477 233 : case E_V8DFmode:
22478 233 : if (pattern954 (x3,
22479 : E_QImode,
22480 : E_V8DFmode) != 0
22481 233 : || !insn_condition_27 (operands, insn))
22482 50 : return -1;
22483 : return 8584; /* avx512f_compressv8df_mask */
22484 :
22485 216 : case E_V8SImode:
22486 216 : if (pattern954 (x3,
22487 : E_QImode,
22488 : E_V8SImode) != 0
22489 216 : || !insn_condition_100 (operands, insn))
22490 33 : return -1;
22491 : return 8585; /* avx512vl_compressv8si_mask */
22492 :
22493 223 : case E_V8SFmode:
22494 223 : if (pattern954 (x3,
22495 : E_QImode,
22496 : E_V8SFmode) != 0
22497 223 : || !insn_condition_100 (operands, insn))
22498 39 : return -1;
22499 : return 8586; /* avx512vl_compressv8sf_mask */
22500 :
22501 228 : case E_V4DImode:
22502 228 : if (pattern954 (x3,
22503 : E_QImode,
22504 : E_V4DImode) != 0
22505 228 : || !insn_condition_100 (operands, insn))
22506 44 : return -1;
22507 : return 8587; /* avx512vl_compressv4di_mask */
22508 :
22509 233 : case E_V4DFmode:
22510 233 : if (pattern954 (x3,
22511 : E_QImode,
22512 : E_V4DFmode) != 0
22513 233 : || !insn_condition_100 (operands, insn))
22514 50 : return -1;
22515 : return 8588; /* avx512vl_compressv4df_mask */
22516 :
22517 207 : case E_V4SImode:
22518 207 : if (pattern954 (x3,
22519 : E_QImode,
22520 : E_V4SImode) != 0
22521 207 : || !insn_condition_100 (operands, insn))
22522 26 : return -1;
22523 : return 8589; /* avx512vl_compressv4si_mask */
22524 :
22525 216 : case E_V4SFmode:
22526 216 : if (pattern954 (x3,
22527 : E_QImode,
22528 : E_V4SFmode) != 0
22529 216 : || !insn_condition_100 (operands, insn))
22530 32 : return -1;
22531 : return 8590; /* avx512vl_compressv4sf_mask */
22532 :
22533 222 : case E_V2DImode:
22534 222 : if (pattern954 (x3,
22535 : E_QImode,
22536 : E_V2DImode) != 0
22537 222 : || !insn_condition_100 (operands, insn))
22538 36 : return -1;
22539 : return 8591; /* avx512vl_compressv2di_mask */
22540 :
22541 223 : case E_V2DFmode:
22542 223 : if (pattern954 (x3,
22543 : E_QImode,
22544 : E_V2DFmode) != 0
22545 223 : || !insn_condition_100 (operands, insn))
22546 36 : return -1;
22547 : return 8592; /* avx512vl_compressv2df_mask */
22548 :
22549 204 : case E_V64QImode:
22550 204 : if (pattern954 (x3,
22551 : E_DImode,
22552 : E_V64QImode) != 0
22553 204 : || !insn_condition_1003 (operands, insn))
22554 21 : return -1;
22555 : return 8593; /* compressv64qi_mask */
22556 :
22557 220 : case E_V16QImode:
22558 220 : if (pattern954 (x3,
22559 : E_HImode,
22560 : E_V16QImode) != 0
22561 220 : || !insn_condition_1004 (operands, insn))
22562 27 : return -1;
22563 : return 8594; /* compressv16qi_mask */
22564 :
22565 215 : case E_V32QImode:
22566 215 : if (pattern954 (x3,
22567 : E_SImode,
22568 : E_V32QImode) != 0
22569 215 : || !insn_condition_1004 (operands, insn))
22570 34 : return -1;
22571 : return 8595; /* compressv32qi_mask */
22572 :
22573 214 : case E_V32HImode:
22574 214 : if (pattern954 (x3,
22575 : E_SImode,
22576 : E_V32HImode) != 0
22577 214 : || !insn_condition_1003 (operands, insn))
22578 34 : return -1;
22579 : return 8596; /* compressv32hi_mask */
22580 :
22581 215 : case E_V16HImode:
22582 215 : if (pattern954 (x3,
22583 : E_HImode,
22584 : E_V16HImode) != 0
22585 215 : || !insn_condition_1004 (operands, insn))
22586 34 : return -1;
22587 : return 8597; /* compressv16hi_mask */
22588 :
22589 209 : case E_V8HImode:
22590 209 : if (pattern954 (x3,
22591 : E_QImode,
22592 : E_V8HImode) != 0
22593 209 : || !insn_condition_1004 (operands, insn))
22594 26 : return -1;
22595 : return 8598; /* compressv8hi_mask */
22596 :
22597 : default:
22598 : return -1;
22599 : }
22600 : }
22601 :
22602 : int
22603 986 : recog_283 (rtx x1 ATTRIBUTE_UNUSED,
22604 : rtx_insn *insn ATTRIBUTE_UNUSED,
22605 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22606 : {
22607 986 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22608 986 : rtx x2, x3, x4, x5, x6;
22609 986 : int res ATTRIBUTE_UNUSED;
22610 986 : x2 = XEXP (x1, 0);
22611 986 : operands[0] = x2;
22612 986 : x3 = XEXP (x1, 1);
22613 986 : x4 = XVECEXP (x3, 0, 0);
22614 986 : operands[1] = x4;
22615 986 : x5 = XVECEXP (x3, 0, 1);
22616 986 : operands[2] = x5;
22617 986 : x6 = XVECEXP (x3, 0, 2);
22618 986 : operands[3] = x6;
22619 986 : if (!const_0_to_255_operand (operands[3], E_SImode))
22620 : return -1;
22621 986 : switch (GET_MODE (operands[0]))
22622 : {
22623 80 : case E_V8SFmode:
22624 80 : if (pattern194 (x3,
22625 : E_V8SFmode) != 0
22626 80 : || !insn_condition_1109 (operands, insn))
22627 2 : return -1;
22628 : return 7379; /* avx_dpps256 */
22629 :
22630 646 : case E_V4SFmode:
22631 646 : if (pattern194 (x3,
22632 : E_V4SFmode) != 0
22633 646 : || !insn_condition_92 (operands, insn))
22634 103 : return -1;
22635 : return 7380; /* sse4_1_dpps */
22636 :
22637 0 : case E_V4DFmode:
22638 0 : if (pattern194 (x3,
22639 : E_V4DFmode) != 0
22640 0 : || !insn_condition_1109 (operands, insn))
22641 0 : return -1;
22642 : return 7381; /* avx_dppd256 */
22643 :
22644 260 : case E_V2DFmode:
22645 260 : if (pattern194 (x3,
22646 : E_V2DFmode) != 0
22647 260 : || !insn_condition_990 (operands, insn))
22648 35 : return -1;
22649 : return 7382; /* sse4_1_dppd */
22650 :
22651 : default:
22652 : return -1;
22653 : }
22654 : }
22655 :
22656 : int
22657 11781 : recog_288 (rtx x1 ATTRIBUTE_UNUSED,
22658 : rtx_insn *insn ATTRIBUTE_UNUSED,
22659 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22660 : {
22661 11781 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22662 11781 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
22663 11781 : rtx x10, x11, x12;
22664 11781 : int res ATTRIBUTE_UNUSED;
22665 11781 : x2 = XEXP (x1, 0);
22666 11781 : operands[0] = x2;
22667 11781 : x3 = XEXP (x1, 1);
22668 11781 : switch (XINT (x3, 1))
22669 : {
22670 6318 : case 163:
22671 6318 : x4 = XVECEXP (x3, 0, 0);
22672 6318 : operands[1] = x4;
22673 6318 : x5 = XVECEXP (x3, 0, 1);
22674 6318 : operands[2] = x5;
22675 6318 : x6 = XVECEXP (x3, 0, 2);
22676 6318 : operands[3] = x6;
22677 6318 : x7 = XVECEXP (x3, 0, 3);
22678 6318 : operands[4] = x7;
22679 6318 : if (!const_0_to_255_operand (operands[4], E_SImode))
22680 : return -1;
22681 6318 : switch (GET_MODE (operands[0]))
22682 : {
22683 1843 : case E_V16SImode:
22684 1843 : if (pattern1177 (x3,
22685 : E_V16SImode) != 0)
22686 : return -1;
22687 1808 : if (insn_condition_27 (operands, insn))
22688 : return 5634; /* avx512f_vternlogv16si */
22689 0 : if (!insn_condition_1584 (operands, insn))
22690 0 : return -1;
22691 : return 5652; /* *avx512f_vternlogv16si_all */
22692 :
22693 1817 : case E_V8SImode:
22694 1817 : if (pattern1177 (x3,
22695 : E_V8SImode) != 0)
22696 : return -1;
22697 1801 : if (insn_condition_100 (operands, insn))
22698 : return 5636; /* avx512vl_vternlogv8si */
22699 1726 : if (!insn_condition_1585 (operands, insn))
22700 0 : return -1;
22701 : return 5653; /* *avx512vl_vternlogv8si_all */
22702 :
22703 1798 : case E_V4SImode:
22704 1798 : if (pattern1177 (x3,
22705 : E_V4SImode) != 0)
22706 : return -1;
22707 1789 : if (insn_condition_100 (operands, insn))
22708 : return 5638; /* avx512vl_vternlogv4si */
22709 1715 : if (!insn_condition_1586 (operands, insn))
22710 0 : return -1;
22711 : return 5654; /* *avx512vl_vternlogv4si_all */
22712 :
22713 133 : case E_V8DImode:
22714 133 : if (pattern1177 (x3,
22715 : E_V8DImode) != 0)
22716 : return -1;
22717 105 : if (insn_condition_27 (operands, insn))
22718 : return 5640; /* avx512f_vternlogv8di */
22719 0 : if (!insn_condition_1587 (operands, insn))
22720 0 : return -1;
22721 : return 5655; /* *avx512f_vternlogv8di_all */
22722 :
22723 157 : case E_V4DImode:
22724 157 : if (pattern1177 (x3,
22725 : E_V4DImode) != 0)
22726 : return -1;
22727 118 : if (insn_condition_100 (operands, insn))
22728 : return 5642; /* avx512vl_vternlogv4di */
22729 1 : if (!insn_condition_1588 (operands, insn))
22730 0 : return -1;
22731 : return 5656; /* *avx512vl_vternlogv4di_all */
22732 :
22733 81 : case E_V2DImode:
22734 81 : if (pattern1177 (x3,
22735 : E_V2DImode) != 0)
22736 : return -1;
22737 73 : if (insn_condition_100 (operands, insn))
22738 : return 5644; /* avx512vl_vternlogv2di */
22739 0 : if (!insn_condition_1589 (operands, insn))
22740 0 : return -1;
22741 : return 5657; /* *avx512vl_vternlogv2di_all */
22742 :
22743 4 : case E_V64QImode:
22744 4 : if (pattern1177 (x3,
22745 : E_V64QImode) != 0
22746 4 : || !insn_condition_1590 (operands, insn))
22747 2 : return -1;
22748 : return 5646; /* *avx512bw_vternlogv64qi_all */
22749 :
22750 44 : case E_V32QImode:
22751 44 : if (pattern1177 (x3,
22752 : E_V32QImode) != 0
22753 44 : || !insn_condition_1591 (operands, insn))
22754 27 : return -1;
22755 : return 5647; /* *avx512vl_vternlogv32qi_all */
22756 :
22757 132 : case E_V16QImode:
22758 132 : if (pattern1177 (x3,
22759 : E_V16QImode) != 0
22760 132 : || !insn_condition_1592 (operands, insn))
22761 44 : return -1;
22762 : return 5648; /* *avx512vl_vternlogv16qi_all */
22763 :
22764 4 : case E_V32HImode:
22765 4 : if (pattern1177 (x3,
22766 : E_V32HImode) != 0
22767 4 : || !insn_condition_1593 (operands, insn))
22768 2 : return -1;
22769 : return 5649; /* *avx512bw_vternlogv32hi_all */
22770 :
22771 5 : case E_V16HImode:
22772 5 : if (pattern1177 (x3,
22773 : E_V16HImode) != 0
22774 5 : || !insn_condition_1594 (operands, insn))
22775 2 : return -1;
22776 : return 5650; /* *avx512vl_vternlogv16hi_all */
22777 :
22778 88 : case E_V8HImode:
22779 88 : if (pattern1177 (x3,
22780 : E_V8HImode) != 0
22781 88 : || !insn_condition_1595 (operands, insn))
22782 44 : return -1;
22783 : return 5651; /* *avx512vl_vternlogv8hi_all */
22784 :
22785 21 : case E_V32HFmode:
22786 21 : if (pattern1177 (x3,
22787 : E_V32HFmode) != 0
22788 21 : || !insn_condition_1596 (operands, insn))
22789 12 : return -1;
22790 : return 5658; /* *avx512bw_vternlogv32hf_all */
22791 :
22792 24 : case E_V16HFmode:
22793 24 : if (pattern1177 (x3,
22794 : E_V16HFmode) != 0
22795 24 : || !insn_condition_1597 (operands, insn))
22796 15 : return -1;
22797 : return 5659; /* *avx512vl_vternlogv16hf_all */
22798 :
22799 62 : case E_V8HFmode:
22800 62 : if (pattern1177 (x3,
22801 : E_V8HFmode) != 0
22802 62 : || !insn_condition_1598 (operands, insn))
22803 23 : return -1;
22804 : return 5660; /* *avx512fp16_vternlogv8hf_all */
22805 :
22806 0 : case E_V32BFmode:
22807 0 : if (pattern1177 (x3,
22808 : E_V32BFmode) != 0
22809 0 : || !insn_condition_1599 (operands, insn))
22810 0 : return -1;
22811 : return 5661; /* *avx512bw_vternlogv32bf_all */
22812 :
22813 0 : case E_V16BFmode:
22814 0 : if (pattern1177 (x3,
22815 : E_V16BFmode) != 0
22816 0 : || !insn_condition_1600 (operands, insn))
22817 0 : return -1;
22818 : return 5662; /* *avx512vl_vternlogv16bf_all */
22819 :
22820 0 : case E_V8BFmode:
22821 0 : if (pattern1177 (x3,
22822 : E_V8BFmode) != 0
22823 0 : || !insn_condition_1601 (operands, insn))
22824 0 : return -1;
22825 : return 5663; /* *avx512vl_vternlogv8bf_all */
22826 :
22827 54 : case E_V16SFmode:
22828 54 : if (pattern1177 (x3,
22829 : E_V16SFmode) != 0
22830 54 : || !insn_condition_1602 (operands, insn))
22831 28 : return -1;
22832 : return 5664; /* *avx512f_vternlogv16sf_all */
22833 :
22834 0 : case E_V8SFmode:
22835 0 : if (pattern1177 (x3,
22836 : E_V8SFmode) != 0
22837 0 : || !insn_condition_1603 (operands, insn))
22838 0 : return -1;
22839 : return 5665; /* *avx512vl_vternlogv8sf_all */
22840 :
22841 12 : case E_V4SFmode:
22842 12 : if (pattern1177 (x3,
22843 : E_V4SFmode) != 0
22844 12 : || !insn_condition_1604 (operands, insn))
22845 3 : return -1;
22846 : return 5666; /* *avx512vl_vternlogv4sf_all */
22847 :
22848 17 : case E_V8DFmode:
22849 17 : if (pattern1177 (x3,
22850 : E_V8DFmode) != 0
22851 17 : || !insn_condition_1605 (operands, insn))
22852 4 : return -1;
22853 : return 5667; /* *avx512f_vternlogv8df_all */
22854 :
22855 13 : case E_V4DFmode:
22856 13 : if (pattern1177 (x3,
22857 : E_V4DFmode) != 0
22858 13 : || !insn_condition_1606 (operands, insn))
22859 2 : return -1;
22860 : return 5668; /* *avx512vl_vternlogv4df_all */
22861 :
22862 9 : case E_V2DFmode:
22863 9 : if (pattern1177 (x3,
22864 : E_V2DFmode) != 0
22865 9 : || !insn_condition_1607 (operands, insn))
22866 2 : return -1;
22867 : return 5669; /* *avx512vl_vternlogv2df_all */
22868 :
22869 : default:
22870 : return -1;
22871 : }
22872 :
22873 436 : case 162:
22874 436 : x4 = XVECEXP (x3, 0, 0);
22875 436 : operands[1] = x4;
22876 436 : x5 = XVECEXP (x3, 0, 1);
22877 436 : operands[2] = x5;
22878 436 : x6 = XVECEXP (x3, 0, 2);
22879 436 : operands[3] = x6;
22880 436 : x7 = XVECEXP (x3, 0, 3);
22881 436 : operands[4] = x7;
22882 436 : if (!const_0_to_255_operand (operands[4], E_SImode))
22883 : return -1;
22884 436 : switch (GET_MODE (operands[0]))
22885 : {
22886 33 : case E_V16SFmode:
22887 33 : if (pattern1178 (x3,
22888 : E_V16SImode,
22889 : E_V16SFmode) != 0
22890 33 : || !insn_condition_27 (operands, insn))
22891 17 : return -1;
22892 : return 5768; /* avx512f_fixupimmv16sf */
22893 :
22894 86 : case E_V8SFmode:
22895 86 : if (pattern1178 (x3,
22896 : E_V8SImode,
22897 : E_V8SFmode) != 0
22898 86 : || !insn_condition_100 (operands, insn))
22899 17 : return -1;
22900 : return 5772; /* avx512vl_fixupimmv8sf */
22901 :
22902 85 : case E_V4SFmode:
22903 85 : if (pattern1178 (x3,
22904 : E_V4SImode,
22905 : E_V4SFmode) != 0
22906 85 : || !insn_condition_100 (operands, insn))
22907 16 : return -1;
22908 : return 5776; /* avx512vl_fixupimmv4sf */
22909 :
22910 32 : case E_V8DFmode:
22911 32 : if (pattern1178 (x3,
22912 : E_V8DImode,
22913 : E_V8DFmode) != 0
22914 32 : || !insn_condition_27 (operands, insn))
22915 17 : return -1;
22916 : return 5780; /* avx512f_fixupimmv8df */
22917 :
22918 90 : case E_V4DFmode:
22919 90 : if (pattern1178 (x3,
22920 : E_V4DImode,
22921 : E_V4DFmode) != 0
22922 90 : || !insn_condition_100 (operands, insn))
22923 17 : return -1;
22924 : return 5784; /* avx512vl_fixupimmv4df */
22925 :
22926 110 : case E_V2DFmode:
22927 110 : if (pattern1178 (x3,
22928 : E_V2DImode,
22929 : E_V2DFmode) != 0
22930 110 : || !insn_condition_100 (operands, insn))
22931 27 : return -1;
22932 : return 5788; /* avx512vl_fixupimmv2df */
22933 :
22934 : default:
22935 : return -1;
22936 : }
22937 :
22938 112 : case 123:
22939 112 : if (GET_MODE (x3) != E_V2DImode
22940 112 : || !register_operand (operands[0], E_V2DImode))
22941 : return -1;
22942 110 : x4 = XVECEXP (x3, 0, 0);
22943 110 : operands[1] = x4;
22944 110 : if (!register_operand (operands[1], E_V2DImode))
22945 : return -1;
22946 94 : x5 = XVECEXP (x3, 0, 1);
22947 94 : operands[2] = x5;
22948 94 : if (!register_operand (operands[2], E_V2DImode))
22949 : return -1;
22950 86 : x6 = XVECEXP (x3, 0, 2);
22951 86 : operands[3] = x6;
22952 86 : if (!const_0_to_255_operand (operands[3], E_VOIDmode))
22953 : return -1;
22954 86 : x7 = XVECEXP (x3, 0, 3);
22955 86 : operands[4] = x7;
22956 86 : if (!const_0_to_255_operand (operands[4], E_VOIDmode)
22957 86 : || !insn_condition_153 (operands, insn))
22958 0 : return -1;
22959 : return 7343; /* sse4a_insertqi */
22960 :
22961 548 : case 144:
22962 548 : x4 = XVECEXP (x3, 0, 0);
22963 548 : operands[1] = x4;
22964 548 : x5 = XVECEXP (x3, 0, 1);
22965 548 : operands[2] = x5;
22966 548 : x6 = XVECEXP (x3, 0, 2);
22967 548 : operands[3] = x6;
22968 548 : x7 = XVECEXP (x3, 0, 3);
22969 548 : operands[4] = x7;
22970 548 : if (!const_0_to_3_operand (operands[4], E_SImode))
22971 : return -1;
22972 548 : switch (GET_MODE (operands[0]))
22973 : {
22974 134 : case E_V8SFmode:
22975 134 : if (pattern1179 (x3,
22976 : E_V8SImode,
22977 : E_V8SFmode) != 0
22978 134 : || !insn_condition_1608 (operands, insn))
22979 12 : return -1;
22980 : return 7753; /* xop_vpermil2v8sf3 */
22981 :
22982 139 : case E_V4SFmode:
22983 139 : if (pattern1179 (x3,
22984 : E_V4SImode,
22985 : E_V4SFmode) != 0
22986 139 : || !insn_condition_24 (operands, insn))
22987 17 : return -1;
22988 : return 7754; /* xop_vpermil2v4sf3 */
22989 :
22990 138 : case E_V4DFmode:
22991 138 : if (pattern1179 (x3,
22992 : E_V4DImode,
22993 : E_V4DFmode) != 0
22994 138 : || !insn_condition_1608 (operands, insn))
22995 19 : return -1;
22996 : return 7755; /* xop_vpermil2v4df3 */
22997 :
22998 137 : case E_V2DFmode:
22999 137 : if (pattern1179 (x3,
23000 : E_V2DImode,
23001 : E_V2DFmode) != 0
23002 137 : || !insn_condition_1073 (operands, insn))
23003 20 : return -1;
23004 : return 7756; /* xop_vpermil2v2df3 */
23005 :
23006 : default:
23007 : return -1;
23008 : }
23009 :
23010 3752 : case 152:
23011 3752 : if (pnum_clobbers == NULL)
23012 : return -1;
23013 3752 : x5 = XVECEXP (x3, 0, 1);
23014 3752 : if (GET_CODE (x5) != MEM)
23015 : return -1;
23016 3752 : x8 = XEXP (x5, 0);
23017 3752 : if (GET_CODE (x8) != UNSPEC
23018 3752 : || XVECLEN (x8, 0) != 3
23019 3752 : || XINT (x8, 1) != 153)
23020 : return -1;
23021 3752 : x6 = XVECEXP (x3, 0, 2);
23022 3752 : if (GET_CODE (x6) != MEM
23023 3752 : || GET_MODE (x6) != E_BLKmode)
23024 : return -1;
23025 3752 : x9 = XEXP (x6, 0);
23026 3752 : if (GET_CODE (x9) != SCRATCH)
23027 : return -1;
23028 3752 : x10 = XVECEXP (x8, 0, 2);
23029 3752 : if (!const1248_operand (x10, E_SImode))
23030 : return -1;
23031 3752 : x4 = XVECEXP (x3, 0, 0);
23032 3752 : switch (GET_CODE (x4))
23033 : {
23034 1064 : case REG:
23035 1064 : case SUBREG:
23036 1064 : operands[2] = x4;
23037 1064 : operands[7] = x5;
23038 1064 : x11 = XVECEXP (x8, 0, 0);
23039 1064 : operands[3] = x11;
23040 1064 : x12 = XVECEXP (x8, 0, 1);
23041 1064 : operands[4] = x12;
23042 1064 : operands[6] = x10;
23043 1064 : x7 = XVECEXP (x3, 0, 3);
23044 1064 : operands[5] = x7;
23045 1064 : switch (GET_MODE (operands[0]))
23046 : {
23047 133 : case E_V2DImode:
23048 133 : switch (pattern1804 (x3,
23049 : E_V2DImode,
23050 : E_DImode))
23051 : {
23052 0 : case 0:
23053 0 : if (!insn_condition_1609 (operands, insn))
23054 : return -1;
23055 0 : *pnum_clobbers = 1;
23056 0 : return 8365; /* *avx2_gathersiv2di */
23057 :
23058 0 : case 1:
23059 0 : if (!insn_condition_1609 (operands, insn))
23060 : return -1;
23061 0 : *pnum_clobbers = 1;
23062 0 : return 8397; /* *avx2_gatherdiv2di */
23063 :
23064 2 : case 2:
23065 2 : if (!insn_condition_1610 (operands, insn))
23066 : return -1;
23067 2 : *pnum_clobbers = 1;
23068 2 : return 8373; /* *avx2_gathersiv2di */
23069 :
23070 32 : case 3:
23071 32 : if (!insn_condition_1610 (operands, insn))
23072 : return -1;
23073 32 : *pnum_clobbers = 1;
23074 32 : return 8405; /* *avx2_gatherdiv2di */
23075 :
23076 : default:
23077 : return -1;
23078 : }
23079 :
23080 55 : case E_V2DFmode:
23081 55 : switch (pattern1804 (x3,
23082 : E_V2DFmode,
23083 : E_DFmode))
23084 : {
23085 0 : case 0:
23086 0 : if (!insn_condition_1609 (operands, insn))
23087 : return -1;
23088 0 : *pnum_clobbers = 1;
23089 0 : return 8366; /* *avx2_gathersiv2df */
23090 :
23091 0 : case 1:
23092 0 : if (!insn_condition_1609 (operands, insn))
23093 : return -1;
23094 0 : *pnum_clobbers = 1;
23095 0 : return 8398; /* *avx2_gatherdiv2df */
23096 :
23097 2 : case 2:
23098 2 : if (!insn_condition_1610 (operands, insn))
23099 : return -1;
23100 2 : *pnum_clobbers = 1;
23101 2 : return 8374; /* *avx2_gathersiv2df */
23102 :
23103 2 : case 3:
23104 2 : if (!insn_condition_1610 (operands, insn))
23105 : return -1;
23106 2 : *pnum_clobbers = 1;
23107 2 : return 8406; /* *avx2_gatherdiv2df */
23108 :
23109 : default:
23110 : return -1;
23111 : }
23112 :
23113 167 : case E_V4DImode:
23114 167 : switch (pattern1806 (x3,
23115 : E_V4DImode,
23116 : E_DImode))
23117 : {
23118 0 : case 0:
23119 0 : if (!insn_condition_1609 (operands, insn))
23120 : return -1;
23121 0 : *pnum_clobbers = 1;
23122 0 : return 8367; /* *avx2_gathersiv4di */
23123 :
23124 0 : case 1:
23125 0 : if (!insn_condition_1609 (operands, insn))
23126 : return -1;
23127 0 : *pnum_clobbers = 1;
23128 0 : return 8399; /* *avx2_gatherdiv4di */
23129 :
23130 16 : case 2:
23131 16 : if (!insn_condition_1610 (operands, insn))
23132 : return -1;
23133 16 : *pnum_clobbers = 1;
23134 16 : return 8375; /* *avx2_gathersiv4di */
23135 :
23136 44 : case 3:
23137 44 : if (!insn_condition_1610 (operands, insn))
23138 : return -1;
23139 44 : *pnum_clobbers = 1;
23140 44 : return 8407; /* *avx2_gatherdiv4di */
23141 :
23142 : default:
23143 : return -1;
23144 : }
23145 :
23146 182 : case E_V4DFmode:
23147 182 : switch (pattern1806 (x3,
23148 : E_V4DFmode,
23149 : E_DFmode))
23150 : {
23151 0 : case 0:
23152 0 : if (!insn_condition_1609 (operands, insn))
23153 : return -1;
23154 0 : *pnum_clobbers = 1;
23155 0 : return 8368; /* *avx2_gathersiv4df */
23156 :
23157 0 : case 1:
23158 0 : if (!insn_condition_1609 (operands, insn))
23159 : return -1;
23160 0 : *pnum_clobbers = 1;
23161 0 : return 8400; /* *avx2_gatherdiv4df */
23162 :
23163 20 : case 2:
23164 20 : if (!insn_condition_1610 (operands, insn))
23165 : return -1;
23166 20 : *pnum_clobbers = 1;
23167 20 : return 8376; /* *avx2_gathersiv4df */
23168 :
23169 10 : case 3:
23170 10 : if (!insn_condition_1610 (operands, insn))
23171 : return -1;
23172 10 : *pnum_clobbers = 1;
23173 10 : return 8408; /* *avx2_gatherdiv4df */
23174 :
23175 : default:
23176 : return -1;
23177 : }
23178 :
23179 125 : case E_V4SImode:
23180 125 : switch (pattern1804 (x3,
23181 : E_V4SImode,
23182 : E_SImode))
23183 : {
23184 0 : case 0:
23185 0 : if (!insn_condition_1609 (operands, insn))
23186 : return -1;
23187 0 : *pnum_clobbers = 1;
23188 0 : return 8369; /* *avx2_gathersiv4si */
23189 :
23190 0 : case 1:
23191 0 : if (!insn_condition_1609 (operands, insn))
23192 : return -1;
23193 0 : *pnum_clobbers = 1;
23194 0 : return 8401; /* *avx2_gatherdiv4si */
23195 :
23196 24 : case 2:
23197 24 : if (!insn_condition_1610 (operands, insn))
23198 : return -1;
23199 24 : *pnum_clobbers = 1;
23200 24 : return 8377; /* *avx2_gathersiv4si */
23201 :
23202 39 : case 3:
23203 39 : if (!insn_condition_1610 (operands, insn))
23204 : return -1;
23205 39 : *pnum_clobbers = 1;
23206 39 : return 8409; /* *avx2_gatherdiv4si */
23207 :
23208 : default:
23209 : return -1;
23210 : }
23211 :
23212 86 : case E_V4SFmode:
23213 86 : switch (pattern1804 (x3,
23214 : E_V4SFmode,
23215 : E_SFmode))
23216 : {
23217 0 : case 0:
23218 0 : if (!insn_condition_1609 (operands, insn))
23219 : return -1;
23220 0 : *pnum_clobbers = 1;
23221 0 : return 8370; /* *avx2_gathersiv4sf */
23222 :
23223 0 : case 1:
23224 0 : if (!insn_condition_1609 (operands, insn))
23225 : return -1;
23226 0 : *pnum_clobbers = 1;
23227 0 : return 8402; /* *avx2_gatherdiv4sf */
23228 :
23229 14 : case 2:
23230 14 : if (!insn_condition_1610 (operands, insn))
23231 : return -1;
23232 14 : *pnum_clobbers = 1;
23233 14 : return 8378; /* *avx2_gathersiv4sf */
23234 :
23235 14 : case 3:
23236 14 : if (!insn_condition_1610 (operands, insn))
23237 : return -1;
23238 14 : *pnum_clobbers = 1;
23239 14 : return 8410; /* *avx2_gatherdiv4sf */
23240 :
23241 : default:
23242 : return -1;
23243 : }
23244 :
23245 163 : case E_V8SImode:
23246 163 : if (!register_operand (operands[0], E_V8SImode)
23247 159 : || GET_MODE (x3) != E_V8SImode
23248 322 : || !vsib_mem_operator (operands[7], E_SImode))
23249 : return -1;
23250 159 : switch (GET_MODE (operands[2]))
23251 : {
23252 52 : case E_V8SImode:
23253 52 : if (!register_operand (operands[2], E_V8SImode)
23254 52 : || !register_operand (operands[4], E_V8SImode))
23255 : return -1;
23256 45 : switch (pattern1884 (x8,
23257 : E_V8SImode))
23258 : {
23259 0 : case 0:
23260 0 : if (!insn_condition_1609 (operands, insn))
23261 : return -1;
23262 0 : *pnum_clobbers = 1;
23263 0 : return 8371; /* *avx2_gathersiv8si */
23264 :
23265 32 : case 1:
23266 32 : if (!insn_condition_1610 (operands, insn))
23267 : return -1;
23268 32 : *pnum_clobbers = 1;
23269 32 : return 8379; /* *avx2_gathersiv8si */
23270 :
23271 : default:
23272 : return -1;
23273 : }
23274 :
23275 107 : case E_V4SImode:
23276 107 : switch (pattern1885 (x8,
23277 : E_V4SImode,
23278 : E_V4DImode))
23279 : {
23280 0 : case 0:
23281 0 : if (!insn_condition_1609 (operands, insn))
23282 : return -1;
23283 0 : *pnum_clobbers = 1;
23284 0 : return 8403; /* *avx2_gatherdiv8si */
23285 :
23286 31 : case 1:
23287 31 : if (!insn_condition_1610 (operands, insn))
23288 : return -1;
23289 31 : *pnum_clobbers = 1;
23290 31 : return 8411; /* *avx2_gatherdiv8si */
23291 :
23292 : default:
23293 : return -1;
23294 : }
23295 :
23296 : default:
23297 : return -1;
23298 : }
23299 :
23300 153 : case E_V8SFmode:
23301 153 : if (!register_operand (operands[0], E_V8SFmode)
23302 148 : || GET_MODE (x3) != E_V8SFmode
23303 301 : || !vsib_mem_operator (operands[7], E_SFmode))
23304 : return -1;
23305 148 : switch (GET_MODE (operands[2]))
23306 : {
23307 99 : case E_V8SFmode:
23308 99 : switch (pattern1885 (x8,
23309 : E_V8SFmode,
23310 : E_V8SImode))
23311 : {
23312 0 : case 0:
23313 0 : if (!insn_condition_1609 (operands, insn))
23314 : return -1;
23315 0 : *pnum_clobbers = 1;
23316 0 : return 8372; /* *avx2_gathersiv8sf */
23317 :
23318 26 : case 1:
23319 26 : if (!insn_condition_1610 (operands, insn))
23320 : return -1;
23321 26 : *pnum_clobbers = 1;
23322 26 : return 8380; /* *avx2_gathersiv8sf */
23323 :
23324 : default:
23325 : return -1;
23326 : }
23327 :
23328 49 : case E_V4SFmode:
23329 49 : switch (pattern1885 (x8,
23330 : E_V4SFmode,
23331 : E_V4DImode))
23332 : {
23333 0 : case 0:
23334 0 : if (!insn_condition_1609 (operands, insn))
23335 : return -1;
23336 0 : *pnum_clobbers = 1;
23337 0 : return 8404; /* *avx2_gatherdiv8sf */
23338 :
23339 9 : case 1:
23340 9 : if (!insn_condition_1610 (operands, insn))
23341 : return -1;
23342 9 : *pnum_clobbers = 1;
23343 9 : return 8412; /* *avx2_gatherdiv8sf */
23344 :
23345 : default:
23346 : return -1;
23347 : }
23348 :
23349 : default:
23350 : return -1;
23351 : }
23352 :
23353 : default:
23354 : return -1;
23355 : }
23356 :
23357 1653 : case PC:
23358 1653 : operands[6] = x5;
23359 1653 : x11 = XVECEXP (x8, 0, 0);
23360 1653 : operands[2] = x11;
23361 1653 : x12 = XVECEXP (x8, 0, 1);
23362 1653 : operands[3] = x12;
23363 1653 : operands[5] = x10;
23364 1653 : x7 = XVECEXP (x3, 0, 3);
23365 1653 : operands[4] = x7;
23366 1653 : switch (GET_MODE (operands[0]))
23367 : {
23368 158 : case E_V2DImode:
23369 158 : switch (pattern1764 (x3,
23370 : E_V2DImode,
23371 : E_DImode))
23372 : {
23373 0 : case 0:
23374 0 : if (!insn_condition_1609 (operands, insn))
23375 : return -1;
23376 0 : *pnum_clobbers = 1;
23377 0 : return 8381; /* *avx2_gathersiv2di_2 */
23378 :
23379 0 : case 1:
23380 0 : if (!insn_condition_1609 (operands, insn))
23381 : return -1;
23382 0 : *pnum_clobbers = 1;
23383 0 : return 8413; /* *avx2_gatherdiv2di_2 */
23384 :
23385 1 : case 2:
23386 1 : if (!insn_condition_1610 (operands, insn))
23387 : return -1;
23388 1 : *pnum_clobbers = 1;
23389 1 : return 8389; /* *avx2_gathersiv2di_2 */
23390 :
23391 1 : case 3:
23392 1 : if (!insn_condition_1610 (operands, insn))
23393 : return -1;
23394 1 : *pnum_clobbers = 1;
23395 1 : return 8421; /* *avx2_gatherdiv2di_2 */
23396 :
23397 : default:
23398 : return -1;
23399 : }
23400 :
23401 247 : case E_V2DFmode:
23402 247 : switch (pattern1764 (x3,
23403 : E_V2DFmode,
23404 : E_DFmode))
23405 : {
23406 0 : case 0:
23407 0 : if (!insn_condition_1609 (operands, insn))
23408 : return -1;
23409 0 : *pnum_clobbers = 1;
23410 0 : return 8382; /* *avx2_gathersiv2df_2 */
23411 :
23412 0 : case 1:
23413 0 : if (!insn_condition_1609 (operands, insn))
23414 : return -1;
23415 0 : *pnum_clobbers = 1;
23416 0 : return 8414; /* *avx2_gatherdiv2df_2 */
23417 :
23418 1 : case 2:
23419 1 : if (!insn_condition_1610 (operands, insn))
23420 : return -1;
23421 1 : *pnum_clobbers = 1;
23422 1 : return 8390; /* *avx2_gathersiv2df_2 */
23423 :
23424 6 : case 3:
23425 6 : if (!insn_condition_1610 (operands, insn))
23426 : return -1;
23427 6 : *pnum_clobbers = 1;
23428 6 : return 8422; /* *avx2_gatherdiv2df_2 */
23429 :
23430 : default:
23431 : return -1;
23432 : }
23433 :
23434 161 : case E_V4DImode:
23435 161 : switch (pattern1766 (x3,
23436 : E_V4DImode,
23437 : E_DImode))
23438 : {
23439 0 : case 0:
23440 0 : if (!insn_condition_1609 (operands, insn))
23441 : return -1;
23442 0 : *pnum_clobbers = 1;
23443 0 : return 8383; /* *avx2_gathersiv4di_2 */
23444 :
23445 0 : case 1:
23446 0 : if (!insn_condition_1609 (operands, insn))
23447 : return -1;
23448 0 : *pnum_clobbers = 1;
23449 0 : return 8415; /* *avx2_gatherdiv4di_2 */
23450 :
23451 2 : case 2:
23452 2 : if (!insn_condition_1610 (operands, insn))
23453 : return -1;
23454 2 : *pnum_clobbers = 1;
23455 2 : return 8391; /* *avx2_gathersiv4di_2 */
23456 :
23457 1 : case 3:
23458 1 : if (!insn_condition_1610 (operands, insn))
23459 : return -1;
23460 1 : *pnum_clobbers = 1;
23461 1 : return 8423; /* *avx2_gatherdiv4di_2 */
23462 :
23463 : default:
23464 : return -1;
23465 : }
23466 :
23467 287 : case E_V4DFmode:
23468 287 : switch (pattern1766 (x3,
23469 : E_V4DFmode,
23470 : E_DFmode))
23471 : {
23472 0 : case 0:
23473 0 : if (!insn_condition_1609 (operands, insn))
23474 : return -1;
23475 0 : *pnum_clobbers = 1;
23476 0 : return 8384; /* *avx2_gathersiv4df_2 */
23477 :
23478 0 : case 1:
23479 0 : if (!insn_condition_1609 (operands, insn))
23480 : return -1;
23481 0 : *pnum_clobbers = 1;
23482 0 : return 8416; /* *avx2_gatherdiv4df_2 */
23483 :
23484 14 : case 2:
23485 14 : if (!insn_condition_1610 (operands, insn))
23486 : return -1;
23487 14 : *pnum_clobbers = 1;
23488 14 : return 8392; /* *avx2_gathersiv4df_2 */
23489 :
23490 17 : case 3:
23491 17 : if (!insn_condition_1610 (operands, insn))
23492 : return -1;
23493 17 : *pnum_clobbers = 1;
23494 17 : return 8424; /* *avx2_gatherdiv4df_2 */
23495 :
23496 : default:
23497 : return -1;
23498 : }
23499 :
23500 236 : case E_V4SImode:
23501 236 : switch (pattern1764 (x3,
23502 : E_V4SImode,
23503 : E_SImode))
23504 : {
23505 0 : case 0:
23506 0 : if (!insn_condition_1609 (operands, insn))
23507 : return -1;
23508 0 : *pnum_clobbers = 1;
23509 0 : return 8385; /* *avx2_gathersiv4si_2 */
23510 :
23511 0 : case 1:
23512 0 : if (!insn_condition_1609 (operands, insn))
23513 : return -1;
23514 0 : *pnum_clobbers = 1;
23515 0 : return 8417; /* *avx2_gatherdiv4si_2 */
23516 :
23517 7 : case 2:
23518 7 : if (!insn_condition_1610 (operands, insn))
23519 : return -1;
23520 7 : *pnum_clobbers = 1;
23521 7 : return 8393; /* *avx2_gathersiv4si_2 */
23522 :
23523 41 : case 3:
23524 41 : if (!insn_condition_1610 (operands, insn))
23525 : return -1;
23526 41 : *pnum_clobbers = 1;
23527 41 : return 8425; /* *avx2_gatherdiv4si_2 */
23528 :
23529 : default:
23530 : return -1;
23531 : }
23532 :
23533 201 : case E_V4SFmode:
23534 201 : switch (pattern1764 (x3,
23535 : E_V4SFmode,
23536 : E_SFmode))
23537 : {
23538 0 : case 0:
23539 0 : if (!insn_condition_1609 (operands, insn))
23540 : return -1;
23541 0 : *pnum_clobbers = 1;
23542 0 : return 8386; /* *avx2_gathersiv4sf_2 */
23543 :
23544 0 : case 1:
23545 0 : if (!insn_condition_1609 (operands, insn))
23546 : return -1;
23547 0 : *pnum_clobbers = 1;
23548 0 : return 8418; /* *avx2_gatherdiv4sf_2 */
23549 :
23550 6 : case 2:
23551 6 : if (!insn_condition_1610 (operands, insn))
23552 : return -1;
23553 6 : *pnum_clobbers = 1;
23554 6 : return 8394; /* *avx2_gathersiv4sf_2 */
23555 :
23556 1 : case 3:
23557 1 : if (!insn_condition_1610 (operands, insn))
23558 : return -1;
23559 1 : *pnum_clobbers = 1;
23560 1 : return 8426; /* *avx2_gatherdiv4sf_2 */
23561 :
23562 : default:
23563 : return -1;
23564 : }
23565 :
23566 131 : case E_V8SImode:
23567 131 : switch (pattern1767 (x3,
23568 : E_SImode,
23569 : E_V8SImode))
23570 : {
23571 0 : case 0:
23572 0 : switch (pattern1853 (
23573 : E_SImode))
23574 : {
23575 0 : case 0:
23576 0 : if (!insn_condition_1609 (operands, insn))
23577 : return -1;
23578 0 : *pnum_clobbers = 1;
23579 0 : return 8387; /* *avx2_gathersiv8si_2 */
23580 :
23581 0 : case 1:
23582 0 : if (!insn_condition_1609 (operands, insn))
23583 : return -1;
23584 0 : *pnum_clobbers = 1;
23585 0 : return 8419; /* *avx2_gatherdiv8si_2 */
23586 :
23587 : default:
23588 : return -1;
23589 : }
23590 :
23591 126 : case 1:
23592 126 : switch (pattern1853 (
23593 : E_DImode))
23594 : {
23595 9 : case 0:
23596 9 : if (!insn_condition_1610 (operands, insn))
23597 : return -1;
23598 9 : *pnum_clobbers = 1;
23599 9 : return 8395; /* *avx2_gathersiv8si_2 */
23600 :
23601 1 : case 1:
23602 1 : if (!insn_condition_1610 (operands, insn))
23603 : return -1;
23604 1 : *pnum_clobbers = 1;
23605 1 : return 8427; /* *avx2_gatherdiv8si_2 */
23606 :
23607 : default:
23608 : return -1;
23609 : }
23610 :
23611 : default:
23612 : return -1;
23613 : }
23614 :
23615 232 : case E_V8SFmode:
23616 232 : switch (pattern1767 (x3,
23617 : E_SFmode,
23618 : E_V8SFmode))
23619 : {
23620 0 : case 0:
23621 0 : switch (pattern1854 (
23622 : E_SImode))
23623 : {
23624 0 : case 0:
23625 0 : if (!insn_condition_1609 (operands, insn))
23626 : return -1;
23627 0 : *pnum_clobbers = 1;
23628 0 : return 8388; /* *avx2_gathersiv8sf_2 */
23629 :
23630 0 : case 1:
23631 0 : if (!insn_condition_1609 (operands, insn))
23632 : return -1;
23633 0 : *pnum_clobbers = 1;
23634 0 : return 8420; /* *avx2_gatherdiv8sf_2 */
23635 :
23636 : default:
23637 : return -1;
23638 : }
23639 :
23640 217 : case 1:
23641 217 : switch (pattern1854 (
23642 : E_DImode))
23643 : {
23644 12 : case 0:
23645 12 : if (!insn_condition_1610 (operands, insn))
23646 : return -1;
23647 12 : *pnum_clobbers = 1;
23648 12 : return 8396; /* *avx2_gathersiv8sf_2 */
23649 :
23650 13 : case 1:
23651 13 : if (!insn_condition_1610 (operands, insn))
23652 : return -1;
23653 13 : *pnum_clobbers = 1;
23654 13 : return 8428; /* *avx2_gatherdiv8sf_2 */
23655 :
23656 : default:
23657 : return -1;
23658 : }
23659 :
23660 : default:
23661 : return -1;
23662 : }
23663 :
23664 : default:
23665 : return -1;
23666 : }
23667 :
23668 : default:
23669 : return -1;
23670 : }
23671 :
23672 96 : case 225:
23673 96 : if (GET_MODE (x3) != E_V4SImode
23674 96 : || pattern211 (x3) != 0)
23675 : return -1;
23676 79 : x7 = XVECEXP (x3, 0, 3);
23677 79 : operands[4] = x7;
23678 79 : if (!const_0_to_255_operand (operands[4], E_SImode)
23679 79 : || !insn_condition_1611 (operands, insn))
23680 0 : return -1;
23681 : return 8788; /* vsm3rnds2 */
23682 :
23683 : default:
23684 : return -1;
23685 : }
23686 : }
23687 :
23688 : int
23689 189517 : recog_307 (rtx x1 ATTRIBUTE_UNUSED,
23690 : rtx_insn *insn ATTRIBUTE_UNUSED,
23691 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23692 : {
23693 189517 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23694 189517 : rtx x2, x3, x4, x5, x6, x7;
23695 189517 : int res ATTRIBUTE_UNUSED;
23696 189517 : x2 = XEXP (x1, 1);
23697 189517 : x3 = XEXP (x2, 1);
23698 189517 : x4 = XVECEXP (x3, 0, 0);
23699 189517 : if (GET_CODE (x4) != CONST_INT)
23700 : return -1;
23701 189517 : x5 = XVECEXP (x3, 0, 1);
23702 189517 : if (GET_CODE (x5) == CONST_INT)
23703 : {
23704 189517 : x6 = XEXP (x2, 0);
23705 189517 : x7 = XEXP (x6, 1);
23706 189517 : operands[2] = x7;
23707 189517 : switch (XWINT (x4, 0))
23708 : {
23709 114194 : case 1L:
23710 114194 : if (XWINT (x5, 0) == 3L)
23711 : {
23712 73166 : switch (GET_MODE (operands[0]))
23713 : {
23714 66122 : case E_V2DFmode:
23715 66122 : if (pattern1525 (x2,
23716 : E_V2DFmode,
23717 : E_V4DFmode) == 0
23718 66122 : && insn_condition_1700 (operands, insn))
23719 : return 5575; /* *vec_interleave_highv2df */
23720 : break;
23721 :
23722 5807 : case E_V2DImode:
23723 5807 : if (pattern1526 (x2,
23724 : E_V2DImode,
23725 : E_V4DImode) == 0
23726 5807 : && insn_condition_1343 (operands, insn))
23727 : return 5881; /* vec_interleave_highv2di */
23728 : break;
23729 :
23730 : default:
23731 : break;
23732 : }
23733 : }
23734 : break;
23735 :
23736 70106 : case 0L:
23737 70106 : if (XWINT (x5, 0) == 2L)
23738 : {
23739 69900 : switch (GET_MODE (operands[0]))
23740 : {
23741 23936 : case E_V2DFmode:
23742 23936 : if (pattern1525 (x2,
23743 : E_V2DFmode,
23744 : E_V4DFmode) == 0
23745 23936 : && insn_condition_1701 (operands, insn))
23746 : return 5585; /* *vec_interleave_lowv2df */
23747 : break;
23748 :
23749 42597 : case E_V2DImode:
23750 42597 : if (pattern1526 (x2,
23751 : E_V2DImode,
23752 : E_V4DImode) == 0
23753 42597 : && insn_condition_1343 (operands, insn))
23754 : return 5887; /* vec_interleave_lowv2di */
23755 : break;
23756 :
23757 : default:
23758 : break;
23759 : }
23760 : }
23761 : break;
23762 :
23763 : default:
23764 : break;
23765 : }
23766 : }
23767 77562 : operands[3] = x4;
23768 77562 : if (!const_0_to_1_operand (operands[3], E_VOIDmode))
23769 : return -1;
23770 72345 : x6 = XEXP (x2, 0);
23771 72345 : x7 = XEXP (x6, 1);
23772 72345 : operands[2] = x7;
23773 72345 : operands[4] = x5;
23774 72345 : if (!const_2_to_3_operand (operands[4], E_VOIDmode))
23775 : return -1;
23776 72345 : switch (GET_MODE (operands[0]))
23777 : {
23778 50844 : case E_V2DImode:
23779 50844 : if (pattern1526 (x2,
23780 : E_V2DImode,
23781 : E_V4DImode) != 0
23782 50844 : || !insn_condition_141 (operands, insn))
23783 30383 : return -1;
23784 : return 5889; /* sse2_shufpd_v2di */
23785 :
23786 11586 : case E_V2DFmode:
23787 11586 : if (pattern1526 (x2,
23788 : E_V2DFmode,
23789 : E_V4DFmode) != 0
23790 11586 : || !insn_condition_141 (operands, insn))
23791 5198 : return -1;
23792 : return 5890; /* sse2_shufpd_v2df */
23793 :
23794 : default:
23795 : return -1;
23796 : }
23797 : }
23798 :
23799 : int
23800 2206026 : recog_310 (rtx x1 ATTRIBUTE_UNUSED,
23801 : rtx_insn *insn ATTRIBUTE_UNUSED,
23802 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23803 : {
23804 2206026 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23805 2206026 : rtx x2, x3, x4, x5, x6;
23806 2206026 : int res ATTRIBUTE_UNUSED;
23807 2206026 : x2 = XEXP (x1, 1);
23808 2206026 : x3 = XEXP (x2, 0);
23809 2206026 : x4 = XEXP (x3, 1);
23810 2206026 : switch (GET_CODE (x4))
23811 : {
23812 1956777 : case REG:
23813 1956777 : case SUBREG:
23814 1956777 : case MEM:
23815 1956777 : x5 = XEXP (x2, 1);
23816 1956777 : switch (XVECLEN (x5, 0))
23817 : {
23818 1201886 : case 4:
23819 1201886 : res = recog_302 (x1, insn, pnum_clobbers);
23820 1201886 : if (res >= 0)
23821 : return res;
23822 : break;
23823 :
23824 398578 : case 8:
23825 398578 : res = recog_304 (x1, insn, pnum_clobbers);
23826 398578 : if (res >= 0)
23827 : return res;
23828 : break;
23829 :
23830 161001 : case 16:
23831 161001 : res = recog_306 (x1, insn, pnum_clobbers);
23832 161001 : if (res >= 0)
23833 : return res;
23834 : break;
23835 :
23836 189517 : case 2:
23837 189517 : res = recog_307 (x1, insn, pnum_clobbers);
23838 189517 : if (res >= 0)
23839 : return res;
23840 : break;
23841 :
23842 777 : case 64:
23843 777 : res = recog_308 (x1, insn, pnum_clobbers);
23844 777 : if (res >= 0)
23845 : return res;
23846 : break;
23847 :
23848 5016 : case 32:
23849 5016 : res = recog_309 (x1, insn, pnum_clobbers);
23850 5016 : if (res >= 0)
23851 : return res;
23852 : break;
23853 :
23854 : default:
23855 : break;
23856 : }
23857 618421 : operands[2] = x4;
23858 618421 : if (XVECLEN (x5, 0) >= 1)
23859 : {
23860 618421 : operands[3] = x5;
23861 618421 : x6 = XVECEXP (x5, 0, 0);
23862 618421 : operands[4] = x6;
23863 618421 : if (const_int_operand (operands[4], E_VOIDmode))
23864 : {
23865 618421 : switch (GET_MODE (operands[0]))
23866 : {
23867 5091 : case E_V8SImode:
23868 5091 : if (pattern1458 (x2,
23869 : E_V8SImode,
23870 : E_V16SImode) == 0
23871 5091 : && insn_condition_1702 (operands, insn))
23872 : return 8146; /* *avx_vperm2f128v8si_nozero */
23873 : break;
23874 :
23875 26708 : case E_V8SFmode:
23876 26708 : if (pattern1458 (x2,
23877 : E_V8SFmode,
23878 : E_V16SFmode) == 0
23879 26708 : && insn_condition_1703 (operands, insn))
23880 : return 8147; /* *avx_vperm2f128v8sf_nozero */
23881 : break;
23882 :
23883 9607 : case E_V4DFmode:
23884 9607 : if (pattern1458 (x2,
23885 : E_V4DFmode,
23886 : E_V8DFmode) == 0
23887 9607 : && insn_condition_1704 (operands, insn))
23888 : return 8148; /* *avx_vperm2f128v4df_nozero */
23889 : break;
23890 :
23891 : default:
23892 : break;
23893 : }
23894 : }
23895 : }
23896 : break;
23897 :
23898 70821 : case CONST_INT:
23899 70821 : case CONST_DOUBLE:
23900 70821 : case CONST_VECTOR:
23901 70821 : switch (pattern844 (x2))
23902 : {
23903 11256 : case 0:
23904 11256 : if (register_operand (operands[1], E_V4SImode)
23905 11256 : && insertps_parallel (operands[3], E_VOIDmode))
23906 : {
23907 878 : if (insn_condition_92 (operands, insn))
23908 : return 5498; /* *sse4_1_insertps_v4si_perm */
23909 148 : if (insn_condition_1705 (operands, insn))
23910 : return 5500; /* *sse2_insertps_v4si_perm */
23911 : }
23912 10379 : if (vector_operand (operands[1], E_V4SImode)
23913 10343 : && pmovzx_parallel (operands[3], E_VOIDmode)
23914 15650 : && insn_condition_92 (operands, insn))
23915 : return 7600; /* *sse4_1_zero_extendv2siv2di2_3 */
23916 10210 : if (nonimmediate_operand (operands[1], E_V4SImode)
23917 10174 : && movq_parallel (operands[3], E_VOIDmode)
23918 10346 : && insn_condition_163 (operands, insn))
23919 : return 8326; /* *vec_concatv4si_0_1 */
23920 : break;
23921 :
23922 1037 : case 1:
23923 1037 : if (register_operand (operands[1], E_V4SFmode)
23924 1037 : && insertps_parallel (operands[3], E_VOIDmode))
23925 : {
23926 368 : if (insn_condition_92 (operands, insn))
23927 : return 5499; /* *sse4_1_insertps_v4sf_perm */
23928 126 : if (insn_condition_1705 (operands, insn))
23929 : return 5501; /* *sse2_insertps_v4sf_perm */
23930 : }
23931 669 : if (nonimmediate_operand (operands[1], E_V4SFmode)
23932 669 : && movq_parallel (operands[3], E_VOIDmode)
23933 734 : && insn_condition_163 (operands, insn))
23934 : return 8338; /* *vec_concatv4sf_0_1 */
23935 : break;
23936 :
23937 45 : case 2:
23938 45 : if (insn_condition_1108 (operands, insn))
23939 : return 7423; /* *avx2_zero_extendv16qiv16hi2_1 */
23940 : break;
23941 :
23942 45 : case 3:
23943 45 : if (insn_condition_12 (operands, insn))
23944 : return 7431; /* *avx512bw_zero_extendv32qiv32hi2_1 */
23945 : break;
23946 :
23947 10547 : case 4:
23948 10547 : if (insn_condition_92 (operands, insn))
23949 : return 7447; /* *sse4_1_zero_extendv8qiv8hi2_3 */
23950 : break;
23951 :
23952 52 : case 5:
23953 52 : if (insn_condition_27 (operands, insn))
23954 : return 7485; /* avx512f_zero_extendv16hiv16si2_1 */
23955 : break;
23956 :
23957 52 : case 6:
23958 52 : if (insn_condition_1108 (operands, insn))
23959 : return 7493; /* avx2_zero_extendv8hiv8si2_1 */
23960 : break;
23961 :
23962 13443 : case 7:
23963 13443 : if (insn_condition_92 (operands, insn))
23964 : return 7509; /* *sse4_1_zero_extendv4hiv4si2_3 */
23965 : break;
23966 :
23967 170 : case 8:
23968 170 : if (pmovzx_parallel (operands[3], E_VOIDmode)
23969 170 : && insn_condition_27 (operands, insn))
23970 : return 7580; /* *avx512f_zero_extendv8siv8di2_1 */
23971 126 : if (movq_parallel (operands[3], E_VOIDmode)
23972 126 : && insn_condition_1171 (operands, insn))
23973 : return 8324; /* *vec_concatv16si_0_1 */
23974 : break;
23975 :
23976 147 : case 9:
23977 147 : if (pmovzx_parallel (operands[3], E_VOIDmode)
23978 147 : && insn_condition_1108 (operands, insn))
23979 : return 7586; /* *avx2_zero_extendv4siv4di2_1 */
23980 103 : if (movq_parallel (operands[3], E_VOIDmode)
23981 103 : && insn_condition_1172 (operands, insn))
23982 : return 8325; /* *vec_concatv8si_0_1 */
23983 : break;
23984 :
23985 18 : case 10:
23986 18 : if (insn_condition_1171 (operands, insn))
23987 : return 8327; /* *vec_concatv8di_0_1 */
23988 : break;
23989 :
23990 18 : case 11:
23991 18 : if (insn_condition_1172 (operands, insn))
23992 : return 8328; /* *vec_concatv4di_0_1 */
23993 : break;
23994 :
23995 27 : case 12:
23996 27 : if (insn_condition_163 (operands, insn))
23997 : return 8329; /* *vec_concatv2di_0_1 */
23998 : break;
23999 :
24000 0 : case 13:
24001 0 : if (insn_condition_1171 (operands, insn))
24002 : return 8330; /* *vec_concatv32hf_0_1 */
24003 : break;
24004 :
24005 0 : case 14:
24006 0 : if (insn_condition_1172 (operands, insn))
24007 : return 8331; /* *vec_concatv16hf_0_1 */
24008 : break;
24009 :
24010 0 : case 15:
24011 0 : if (insn_condition_163 (operands, insn))
24012 : return 8332; /* *vec_concatv8hf_0_1 */
24013 : break;
24014 :
24015 0 : case 16:
24016 0 : if (insn_condition_1171 (operands, insn))
24017 : return 8333; /* *vec_concatv32bf_0_1 */
24018 : break;
24019 :
24020 0 : case 17:
24021 0 : if (insn_condition_1172 (operands, insn))
24022 : return 8334; /* *vec_concatv16bf_0_1 */
24023 : break;
24024 :
24025 0 : case 18:
24026 0 : if (insn_condition_163 (operands, insn))
24027 : return 8335; /* *vec_concatv8bf_0_1 */
24028 : break;
24029 :
24030 18 : case 19:
24031 18 : if (insn_condition_1171 (operands, insn))
24032 : return 8336; /* *vec_concatv16sf_0_1 */
24033 : break;
24034 :
24035 18 : case 20:
24036 18 : if (insn_condition_1172 (operands, insn))
24037 : return 8337; /* *vec_concatv8sf_0_1 */
24038 : break;
24039 :
24040 18 : case 21:
24041 18 : if (insn_condition_1171 (operands, insn))
24042 : return 8339; /* *vec_concatv8df_0_1 */
24043 : break;
24044 :
24045 18 : case 22:
24046 18 : if (insn_condition_1172 (operands, insn))
24047 : return 8340; /* *vec_concatv4df_0_1 */
24048 : break;
24049 :
24050 0 : case 23:
24051 0 : if (insn_condition_1706 (operands, insn))
24052 : return 8341; /* *vec_concatv2df_0_1 */
24053 : break;
24054 :
24055 : default:
24056 : break;
24057 : }
24058 : break;
24059 :
24060 : default:
24061 : break;
24062 : }
24063 851238 : x5 = XEXP (x2, 1);
24064 851238 : if (XVECLEN (x5, 0) < 1)
24065 : return -1;
24066 851238 : switch (pattern846 (x2))
24067 : {
24068 0 : case 0:
24069 0 : if (!insn_condition_1707 (operands, insn))
24070 0 : return -1;
24071 : return 8007; /* *avx_vbroadcastf128_v32qi_perm */
24072 :
24073 0 : case 1:
24074 0 : if (!insn_condition_1707 (operands, insn))
24075 0 : return -1;
24076 : return 8008; /* *avx_vbroadcastf128_v16hi_perm */
24077 :
24078 0 : case 2:
24079 0 : if (!insn_condition_1707 (operands, insn))
24080 0 : return -1;
24081 : return 8009; /* *avx_vbroadcastf128_v8si_perm */
24082 :
24083 0 : case 3:
24084 0 : if (!insn_condition_1707 (operands, insn))
24085 0 : return -1;
24086 : return 8010; /* *avx_vbroadcastf128_v4di_perm */
24087 :
24088 0 : case 4:
24089 0 : if (!insn_condition_1707 (operands, insn))
24090 0 : return -1;
24091 : return 8011; /* *avx_vbroadcastf128_v8sf_perm */
24092 :
24093 25 : case 5:
24094 25 : if (!insn_condition_1707 (operands, insn))
24095 0 : return -1;
24096 : return 8012; /* *avx_vbroadcastf128_v4df_perm */
24097 :
24098 0 : case 6:
24099 0 : if (!insn_condition_1707 (operands, insn))
24100 0 : return -1;
24101 : return 8013; /* *avx_vbroadcastf128_v16hf_perm */
24102 :
24103 0 : case 7:
24104 0 : if (!insn_condition_1707 (operands, insn))
24105 0 : return -1;
24106 : return 8014; /* *avx_vbroadcastf128_v16bf_perm */
24107 :
24108 : default:
24109 : return -1;
24110 : }
24111 : }
24112 :
24113 : int
24114 79183 : recog_317 (rtx x1 ATTRIBUTE_UNUSED,
24115 : rtx_insn *insn ATTRIBUTE_UNUSED,
24116 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24117 : {
24118 79183 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24119 79183 : rtx x2, x3, x4, x5, x6, x7;
24120 79183 : int res ATTRIBUTE_UNUSED;
24121 79183 : x2 = XEXP (x1, 1);
24122 79183 : x3 = XEXP (x2, 1);
24123 79183 : x4 = XVECEXP (x3, 0, 0);
24124 79183 : if (GET_CODE (x4) != CONST_INT)
24125 : return -1;
24126 79183 : x5 = XVECEXP (x3, 0, 1);
24127 79183 : if (GET_CODE (x5) == CONST_INT)
24128 : {
24129 79183 : res = recog_314 (x1, insn, pnum_clobbers);
24130 79183 : if (res >= 0)
24131 : return res;
24132 : }
24133 40194 : operands[2] = x4;
24134 40194 : res = recog_316 (x1, insn, pnum_clobbers);
24135 40194 : if (res >= 0)
24136 : return res;
24137 25938 : if (XWINT (x4, 0) != 0L
24138 9321 : || x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24139 : return -1;
24140 2722 : x6 = XVECEXP (x3, 0, 2);
24141 2722 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
24142 : return -1;
24143 2207 : x7 = XVECEXP (x3, 0, 3);
24144 2207 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
24145 2198 : || !register_operand (operands[0], E_V8HImode)
24146 1672 : || GET_MODE (x2) != E_V8HImode
24147 1672 : || !vector_operand (operands[1], E_V8HImode)
24148 1589 : || pattern1528 (x3) != 0
24149 3780 : || !insn_condition_1622 (operands, insn))
24150 634 : return -1;
24151 : return 7119; /* sse2_pshufhw_1 */
24152 : }
24153 :
24154 : int
24155 288854 : recog_323 (rtx x1 ATTRIBUTE_UNUSED,
24156 : rtx_insn *insn ATTRIBUTE_UNUSED,
24157 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24158 : {
24159 288854 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24160 288854 : rtx x2, x3, x4;
24161 288854 : int res ATTRIBUTE_UNUSED;
24162 288854 : x2 = XEXP (x1, 1);
24163 288854 : x3 = XEXP (x2, 1);
24164 288854 : x4 = XVECEXP (x3, 0, 0);
24165 288854 : operands[3] = x4;
24166 288854 : if (!const_int_operand (operands[3], E_VOIDmode))
24167 : return -1;
24168 288854 : switch (GET_MODE (operands[0]))
24169 : {
24170 11123 : case E_V4SFmode:
24171 11123 : if (!register_operand (operands[0], E_V4SFmode)
24172 11123 : || GET_MODE (x2) != E_V4SFmode)
24173 : return -1;
24174 10881 : if (nonimmediate_operand (operands[1], E_V4SFmode))
24175 : {
24176 10073 : if (avx_vbroadcast_operand (operands[2], E_VOIDmode)
24177 10073 : && insn_condition_122 (operands, insn))
24178 : return 7830; /* *avx_vperm_broadcast_v4sf */
24179 9805 : if (insn_condition_1719 (operands, insn))
24180 : return 7849; /* *avx_vpermilpv4sf */
24181 : }
24182 6803 : if (!register_operand (operands[1], E_V4SFmode)
24183 5971 : || !palignr_operand (operands[2], E_VOIDmode)
24184 7003 : || !insn_condition_117 (operands, insn))
24185 6619 : return -1;
24186 : return 8155; /* *ssse3_palignrv4sf_perm */
24187 :
24188 10453 : case E_V8SFmode:
24189 10453 : if (!register_operand (operands[0], E_V8SFmode)
24190 10431 : || GET_MODE (x2) != E_V8SFmode
24191 20884 : || !nonimmediate_operand (operands[1], E_V8SFmode))
24192 : return -1;
24193 9563 : if (avx_vbroadcast_operand (operands[2], E_VOIDmode)
24194 9563 : && insn_condition_1720 (operands, insn))
24195 : return 7831; /* *avx_vperm_broadcast_v8sf */
24196 9213 : if (!insn_condition_1721 (operands, insn))
24197 3959 : return -1;
24198 : return 7847; /* *avx_vpermilpv8sf */
24199 :
24200 13380 : case E_V4DFmode:
24201 13380 : if (!register_operand (operands[0], E_V4DFmode)
24202 13276 : || GET_MODE (x2) != E_V4DFmode
24203 26656 : || !nonimmediate_operand (operands[1], E_V4DFmode))
24204 : return -1;
24205 12992 : if (avx_vbroadcast_operand (operands[2], E_VOIDmode)
24206 12992 : && insn_condition_1722 (operands, insn))
24207 : return 7832; /* *avx_vperm_broadcast_v4df */
24208 12903 : if (!insn_condition_1723 (operands, insn))
24209 7703 : return -1;
24210 : return 7853; /* *avx_vpermilpv4df */
24211 :
24212 77 : case E_V16SImode:
24213 77 : if (!register_operand (operands[0], E_V16SImode)
24214 73 : || GET_MODE (x2) != E_V16SImode
24215 73 : || !nonimmediate_operand (operands[1], E_V16SImode)
24216 150 : || !insn_condition_1724 (operands, insn))
24217 77 : return -1;
24218 : return 7833; /* *avx512f_vpermilpv16si */
24219 :
24220 1980 : case E_V8SImode:
24221 1980 : if (!register_operand (operands[0], E_V8SImode)
24222 1972 : || GET_MODE (x2) != E_V8SImode
24223 1972 : || !nonimmediate_operand (operands[1], E_V8SImode)
24224 2497 : || !insn_condition_1725 (operands, insn))
24225 1925 : return -1;
24226 : return 7835; /* *avx_vpermilpv8si */
24227 :
24228 60157 : case E_V4SImode:
24229 60157 : if (!register_operand (operands[0], E_V4SImode)
24230 60157 : || GET_MODE (x2) != E_V4SImode)
24231 : return -1;
24232 44289 : if (nonimmediate_operand (operands[1], E_V4SImode)
24233 44289 : && insn_condition_1726 (operands, insn))
24234 : return 7837; /* *sse2_vpermilpv4si */
24235 44289 : if (!register_operand (operands[1], E_V4SImode)
24236 2 : || !palignr_operand (operands[2], E_VOIDmode)
24237 44289 : || !insn_condition_117 (operands, insn))
24238 44289 : return -1;
24239 : return 8153; /* *ssse3_palignrv4si_perm */
24240 :
24241 661 : case E_V8DImode:
24242 661 : if (!register_operand (operands[0], E_V8DImode)
24243 657 : || GET_MODE (x2) != E_V8DImode
24244 657 : || !nonimmediate_operand (operands[1], E_V8DImode)
24245 1318 : || !insn_condition_1727 (operands, insn))
24246 87 : return -1;
24247 : return 7839; /* *avx512f_vpermilpv8di */
24248 :
24249 9246 : case E_V4DImode:
24250 9246 : if (!register_operand (operands[0], E_V4DImode)
24251 9210 : || GET_MODE (x2) != E_V4DImode
24252 9210 : || !nonimmediate_operand (operands[1], E_V4DImode)
24253 15496 : || !insn_condition_1728 (operands, insn))
24254 9171 : return -1;
24255 : return 7841; /* *avx512vl_vpermilpv4di */
24256 :
24257 9450 : case E_V2DImode:
24258 9450 : if (!register_operand (operands[0], E_V2DImode)
24259 9450 : || GET_MODE (x2) != E_V2DImode)
24260 : return -1;
24261 9397 : if (nonimmediate_operand (operands[1], E_V2DImode)
24262 9397 : && insn_condition_1729 (operands, insn))
24263 : return 7843; /* *avx512vl_vpermilpv2di */
24264 4409 : if (!register_operand (operands[1], E_V2DImode)
24265 2618 : || !palignr_operand (operands[2], E_VOIDmode)
24266 6361 : || !insn_condition_117 (operands, insn))
24267 3773 : return -1;
24268 : return 8154; /* *ssse3_palignrv2di_perm */
24269 :
24270 156 : case E_V16SFmode:
24271 156 : if (!register_operand (operands[0], E_V16SFmode)
24272 150 : || GET_MODE (x2) != E_V16SFmode
24273 150 : || !nonimmediate_operand (operands[1], E_V16SFmode)
24274 306 : || !insn_condition_1730 (operands, insn))
24275 26 : return -1;
24276 : return 7845; /* *avx512f_vpermilpv16sf */
24277 :
24278 202 : case E_V8DFmode:
24279 202 : if (!register_operand (operands[0], E_V8DFmode)
24280 196 : || GET_MODE (x2) != E_V8DFmode
24281 196 : || !nonimmediate_operand (operands[1], E_V8DFmode)
24282 398 : || !insn_condition_1731 (operands, insn))
24283 98 : return -1;
24284 : return 7851; /* *avx512f_vpermilpv8df */
24285 :
24286 22690 : case E_V2DFmode:
24287 22690 : if (!register_operand (operands[0], E_V2DFmode)
24288 22690 : || GET_MODE (x2) != E_V2DFmode)
24289 : return -1;
24290 22579 : if (nonimmediate_operand (operands[1], E_V2DFmode)
24291 22579 : && insn_condition_1732 (operands, insn))
24292 : return 7855; /* *avx_vpermilpv2df */
24293 1433 : if (!register_operand (operands[1], E_V2DFmode)
24294 873 : || !palignr_operand (operands[2], E_VOIDmode)
24295 1433 : || !insn_condition_1733 (operands, insn))
24296 1433 : return -1;
24297 : return 8156; /* *ssse3_palignrv2df_perm */
24298 :
24299 11028 : case E_V16QImode:
24300 11028 : if (pattern1185 (x2,
24301 : E_V16QImode) != 0
24302 11028 : || !insn_condition_117 (operands, insn))
24303 9936 : return -1;
24304 : return 8149; /* *ssse3_palignrv16qi_perm */
24305 :
24306 7993 : case E_V8HImode:
24307 7993 : if (pattern1185 (x2,
24308 : E_V8HImode) != 0
24309 7993 : || !insn_condition_117 (operands, insn))
24310 7544 : return -1;
24311 : return 8150; /* *ssse3_palignrv8hi_perm */
24312 :
24313 106 : case E_V8HFmode:
24314 106 : if (pattern1185 (x2,
24315 : E_V8HFmode) != 0
24316 106 : || !insn_condition_117 (operands, insn))
24317 33 : return -1;
24318 : return 8151; /* *ssse3_palignrv8hf_perm */
24319 :
24320 51 : case E_V8BFmode:
24321 51 : if (pattern1185 (x2,
24322 : E_V8BFmode) != 0
24323 51 : || !insn_condition_117 (operands, insn))
24324 51 : return -1;
24325 : return 8152; /* *ssse3_palignrv8bf_perm */
24326 :
24327 : default:
24328 : return -1;
24329 : }
24330 : }
24331 :
24332 : int
24333 3463183 : recog_330 (rtx x1 ATTRIBUTE_UNUSED,
24334 : rtx_insn *insn ATTRIBUTE_UNUSED,
24335 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24336 : {
24337 3463183 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24338 3463183 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
24339 3463183 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
24340 3463183 : rtx x18, x19, x20, x21, x22;
24341 3463183 : int res ATTRIBUTE_UNUSED;
24342 3463183 : x2 = XEXP (x1, 0);
24343 3463183 : operands[0] = x2;
24344 3463183 : x3 = XEXP (x1, 1);
24345 3463183 : x4 = XEXP (x3, 0);
24346 3463183 : switch (GET_CODE (x4))
24347 : {
24348 26012 : case VEC_SELECT:
24349 26012 : return recog_296 (x1, insn, pnum_clobbers);
24350 :
24351 17668 : case VEC_CONCAT:
24352 17668 : x5 = XEXP (x4, 0);
24353 17668 : switch (GET_CODE (x5))
24354 : {
24355 919 : case PLUS:
24356 919 : switch (pattern365 (x3,
24357 : PLUS))
24358 : {
24359 78 : case 0:
24360 78 : if (!insn_condition_122 (operands, insn))
24361 0 : return -1;
24362 : return 3332; /* avx_haddv4df3 */
24363 :
24364 575 : case 1:
24365 575 : if (!insn_condition_1276 (operands, insn))
24366 0 : return -1;
24367 : return 3340; /* sse3_haddv4sf3 */
24368 :
24369 : default:
24370 : return -1;
24371 : }
24372 :
24373 232 : case MINUS:
24374 232 : switch (pattern365 (x3,
24375 : MINUS))
24376 : {
24377 78 : case 0:
24378 78 : if (!insn_condition_122 (operands, insn))
24379 0 : return -1;
24380 : return 3333; /* avx_hsubv4df3 */
24381 :
24382 99 : case 1:
24383 99 : if (!insn_condition_1276 (operands, insn))
24384 0 : return -1;
24385 : return 3341; /* sse3_hsubv4sf3 */
24386 :
24387 : default:
24388 : return -1;
24389 : }
24390 :
24391 460 : case VEC_CONCAT:
24392 460 : if (GET_MODE (x5) != E_V2SFmode)
24393 : return -1;
24394 352 : x6 = XEXP (x4, 1);
24395 352 : if (GET_CODE (x6) != VEC_CONCAT
24396 208 : || GET_MODE (x6) != E_V2SFmode)
24397 : return -1;
24398 208 : x7 = XEXP (x3, 1);
24399 208 : if (GET_CODE (x7) != VEC_CONCAT
24400 208 : || GET_MODE (x7) != E_V4SFmode
24401 208 : || pattern1077 (x7,
24402 : E_V2SFmode,
24403 : VEC_CONCAT) != 0
24404 208 : || !register_operand (operands[0], E_V8SFmode)
24405 204 : || GET_MODE (x3) != E_V8SFmode
24406 204 : || GET_MODE (x4) != E_V4SFmode
24407 412 : || pattern1602 (x3,
24408 : E_SFmode) != 0)
24409 : return -1;
24410 204 : x8 = XEXP (x5, 0);
24411 204 : switch (GET_CODE (x8))
24412 : {
24413 102 : case PLUS:
24414 102 : if (pattern1886 (x3,
24415 : PLUS) != 0
24416 102 : || !insn_condition_122 (operands, insn))
24417 24 : return -1;
24418 : return 3338; /* avx_haddv8sf3 */
24419 :
24420 102 : case MINUS:
24421 102 : if (pattern1886 (x3,
24422 : MINUS) != 0
24423 102 : || !insn_condition_122 (operands, insn))
24424 24 : return -1;
24425 : return 3339; /* avx_hsubv8sf3 */
24426 :
24427 : default:
24428 : return -1;
24429 : }
24430 :
24431 14905 : case REG:
24432 14905 : case SUBREG:
24433 14905 : case MEM:
24434 14905 : operands[1] = x5;
24435 14905 : if (pattern449 (x3) != 0)
24436 : return -1;
24437 229 : switch (GET_MODE (operands[0]))
24438 : {
24439 71 : case E_V16SImode:
24440 71 : if (pattern1523 (x3,
24441 : E_V8SImode,
24442 : E_V4SImode,
24443 : E_V16SImode) != 0
24444 71 : || !insn_condition_1711 (operands, insn))
24445 1 : return -1;
24446 : return 8798; /* avx512f_si512_si */
24447 :
24448 79 : case E_V16SFmode:
24449 79 : if (pattern1523 (x3,
24450 : E_V8SFmode,
24451 : E_V4SFmode,
24452 : E_V16SFmode) != 0
24453 79 : || !insn_condition_1711 (operands, insn))
24454 1 : return -1;
24455 : return 8799; /* avx512f_ps512_ps */
24456 :
24457 79 : case E_V8DFmode:
24458 79 : if (pattern1523 (x3,
24459 : E_V4DFmode,
24460 : E_V2DFmode,
24461 : E_V8DFmode) != 0
24462 79 : || !insn_condition_1711 (operands, insn))
24463 1 : return -1;
24464 : return 8800; /* avx512f_pd512_pd */
24465 :
24466 : default:
24467 : return -1;
24468 : }
24469 :
24470 : default:
24471 : return -1;
24472 : }
24473 :
24474 73581 : case PLUS:
24475 73581 : if (pattern120 (x3,
24476 : E_V2DFmode,
24477 : E_DFmode) != 0)
24478 : return -1;
24479 154 : x7 = XEXP (x3, 1);
24480 154 : x9 = XEXP (x7, 0);
24481 154 : x10 = XEXP (x9, 0);
24482 154 : operands[2] = x10;
24483 154 : if (!vector_operand (operands[2], E_V2DFmode)
24484 154 : || pattern1921 (x3) != 0
24485 308 : || !insn_condition_1810 (operands, insn))
24486 0 : return -1;
24487 : return 3334; /* *sse3_haddv2df3 */
24488 :
24489 777 : case MINUS:
24490 777 : if (pattern121 (x4,
24491 : E_DFmode) != 0)
24492 : return -1;
24493 111 : x7 = XEXP (x3, 1);
24494 111 : if (GET_CODE (x7) != MINUS
24495 110 : || GET_MODE (x7) != E_DFmode
24496 110 : || pattern1603 (x7,
24497 : E_DFmode) != 0
24498 110 : || !register_operand (operands[0], E_V2DFmode)
24499 221 : || GET_MODE (x3) != E_V2DFmode)
24500 : return -1;
24501 110 : x5 = XEXP (x4, 0);
24502 110 : x8 = XEXP (x5, 0);
24503 110 : operands[1] = x8;
24504 110 : if (!register_operand (operands[1], E_V2DFmode))
24505 : return -1;
24506 100 : x9 = XEXP (x7, 0);
24507 100 : x10 = XEXP (x9, 0);
24508 100 : operands[2] = x10;
24509 100 : if (!vector_operand (operands[2], E_V2DFmode))
24510 : return -1;
24511 100 : x6 = XEXP (x4, 1);
24512 100 : x11 = XEXP (x6, 0);
24513 100 : if (!rtx_equal_p (x11, operands[1]))
24514 : return -1;
24515 100 : x12 = XEXP (x7, 1);
24516 100 : x13 = XEXP (x12, 0);
24517 100 : if (!rtx_equal_p (x13, operands[2])
24518 100 : || !insn_condition_1276 (operands, insn))
24519 0 : return -1;
24520 : return 3335; /* sse3_hsubv2df3 */
24521 :
24522 2024 : case FLOAT:
24523 2024 : switch (pattern224 (x3))
24524 : {
24525 80 : case 0:
24526 80 : if (!insn_condition_1351 (operands, insn))
24527 0 : return -1;
24528 : return 4678; /* *avx512fp16_vcvtdq2ph_v4si */
24529 :
24530 59 : case 1:
24531 59 : if (!insn_condition_1351 (operands, insn))
24532 0 : return -1;
24533 : return 4680; /* *avx512fp16_vcvtqq2ph_v4di */
24534 :
24535 59 : case 2:
24536 59 : if (!insn_condition_1351 (operands, insn))
24537 0 : return -1;
24538 : return 4690; /* *avx512fp16_vcvtqq2ph_v2di */
24539 :
24540 113 : case 3:
24541 113 : if (!insn_condition_1345 (operands, insn))
24542 0 : return -1;
24543 : return 5170; /* *avx512dq_floatv2div2sf2 */
24544 :
24545 : default:
24546 : return -1;
24547 : }
24548 :
24549 338 : case UNSIGNED_FLOAT:
24550 338 : switch (pattern224 (x3))
24551 : {
24552 64 : case 0:
24553 64 : if (!insn_condition_1351 (operands, insn))
24554 0 : return -1;
24555 : return 4679; /* *avx512fp16_vcvtudq2ph_v4si */
24556 :
24557 59 : case 1:
24558 59 : if (!insn_condition_1351 (operands, insn))
24559 0 : return -1;
24560 : return 4681; /* *avx512fp16_vcvtuqq2ph_v4di */
24561 :
24562 59 : case 2:
24563 59 : if (!insn_condition_1351 (operands, insn))
24564 0 : return -1;
24565 : return 4691; /* *avx512fp16_vcvtuqq2ph_v2di */
24566 :
24567 101 : case 3:
24568 101 : if (!insn_condition_1345 (operands, insn))
24569 0 : return -1;
24570 : return 5171; /* *avx512dq_floatunsv2div2sf2 */
24571 :
24572 : default:
24573 : return -1;
24574 : }
24575 :
24576 20172 : case VEC_MERGE:
24577 20172 : return recog_294 (x1, insn, pnum_clobbers);
24578 :
24579 26669 : case FLOAT_TRUNCATE:
24580 26669 : x7 = XEXP (x3, 1);
24581 26669 : switch (GET_CODE (x7))
24582 : {
24583 25591 : case CONST_INT:
24584 25591 : case CONST_DOUBLE:
24585 25591 : case CONST_VECTOR:
24586 25591 : operands[2] = x7;
24587 25591 : x5 = XEXP (x4, 0);
24588 25591 : operands[1] = x5;
24589 25591 : switch (GET_MODE (operands[0]))
24590 : {
24591 260 : case E_V8HFmode:
24592 260 : if (!register_operand (operands[0], E_V8HFmode)
24593 260 : || GET_MODE (x3) != E_V8HFmode)
24594 : return -1;
24595 248 : switch (GET_MODE (x4))
24596 : {
24597 182 : case E_V4HFmode:
24598 182 : if (!const0_operand (operands[2], E_V4HFmode))
24599 : return -1;
24600 182 : switch (GET_MODE (operands[1]))
24601 : {
24602 71 : case E_V4DFmode:
24603 71 : if (!vector_operand (operands[1], E_V4DFmode)
24604 71 : || !insn_condition_1351 (operands, insn))
24605 1 : return -1;
24606 : return 4914; /* *avx512fp16_vcvtpd2ph_v4df */
24607 :
24608 111 : case E_V4SFmode:
24609 111 : if (!vector_operand (operands[1], E_V4SFmode)
24610 111 : || !insn_condition_1351 (operands, insn))
24611 3 : return -1;
24612 : return 4915; /* *avx512fp16_vcvtps2ph_v4sf */
24613 :
24614 : default:
24615 : return -1;
24616 : }
24617 :
24618 66 : case E_V2HFmode:
24619 66 : if (!vector_operand (operands[1], E_V2DFmode)
24620 65 : || !const0_operand (operands[2], E_V6HFmode)
24621 66 : || !insn_condition_1351 (operands, insn))
24622 1 : return -1;
24623 : return 4920; /* *avx512fp16_vcvtpd2ph_v2df */
24624 :
24625 : default:
24626 : return -1;
24627 : }
24628 :
24629 25131 : case E_V4SFmode:
24630 25131 : if (!register_operand (operands[0], E_V4SFmode)
24631 25128 : || GET_MODE (x3) != E_V4SFmode
24632 25128 : || GET_MODE (x4) != E_V2SFmode
24633 25128 : || !vector_operand (operands[1], E_V2DFmode)
24634 19982 : || !const0_operand (operands[2], E_V2SFmode)
24635 45113 : || !insn_condition_141 (operands, insn))
24636 5149 : return -1;
24637 : return 5345; /* *sse2_cvtpd2ps */
24638 :
24639 188 : case E_V8BFmode:
24640 188 : if (pattern223 (x3,
24641 : E_V4BFmode,
24642 : E_V4SFmode,
24643 : E_V8BFmode) != 0
24644 188 : || !insn_condition_1811 (operands, insn))
24645 43 : return -1;
24646 : return 9039; /* *vcvtneps2bf16_v4sf */
24647 :
24648 : default:
24649 : return -1;
24650 : }
24651 :
24652 493 : case FLOAT_TRUNCATE:
24653 493 : x5 = XEXP (x4, 0);
24654 493 : operands[2] = x5;
24655 493 : x9 = XEXP (x7, 0);
24656 493 : operands[1] = x9;
24657 493 : switch (GET_MODE (operands[0]))
24658 : {
24659 68 : case E_V32BFmode:
24660 68 : if (pattern828 (x3,
24661 : E_V16SFmode,
24662 : E_V16BFmode,
24663 : E_V32BFmode) != 0
24664 68 : || !insn_condition_1007 (operands, insn))
24665 4 : return -1;
24666 : return 9033; /* avx512f_cvtne2ps2bf16_v32bf */
24667 :
24668 68 : case E_V16BFmode:
24669 68 : if (pattern828 (x3,
24670 : E_V8SFmode,
24671 : E_V8BFmode,
24672 : E_V16BFmode) != 0
24673 68 : || !insn_condition_1008 (operands, insn))
24674 4 : return -1;
24675 : return 9035; /* avx512f_cvtne2ps2bf16_v16bf */
24676 :
24677 68 : case E_V8BFmode:
24678 68 : if (pattern828 (x3,
24679 : E_V4SFmode,
24680 : E_V4BFmode,
24681 : E_V8BFmode) != 0
24682 68 : || !insn_condition_1008 (operands, insn))
24683 4 : return -1;
24684 : return 9037; /* avx512f_cvtne2ps2bf16_v8bf */
24685 :
24686 23 : case E_V32HFmode:
24687 23 : if (pattern829 (x3,
24688 : E_V16SFmode,
24689 : E_V16HFmode,
24690 : E_V32HFmode) != 0
24691 23 : || !insn_condition_1812 (operands, insn))
24692 9 : return -1;
24693 : return 9132; /* avx10v1aux_cvt2ps2phx_v32hf */
24694 :
24695 78 : case E_V16HFmode:
24696 78 : if (pattern829 (x3,
24697 : E_V8SFmode,
24698 : E_V8HFmode,
24699 : E_V16HFmode) != 0
24700 78 : || !insn_condition_1813 (operands, insn))
24701 13 : return -1;
24702 : return 9136; /* avx10v1aux_cvt2ps2phx_v16hf */
24703 :
24704 78 : case E_V8HFmode:
24705 78 : if (pattern829 (x3,
24706 : E_V4SFmode,
24707 : E_V4HFmode,
24708 : E_V8HFmode) != 0
24709 78 : || !insn_condition_1813 (operands, insn))
24710 10 : return -1;
24711 : return 9138; /* avx10v1aux_cvt2ps2phx_v8hf */
24712 :
24713 : default:
24714 : return -1;
24715 : }
24716 :
24717 : default:
24718 : return -1;
24719 : }
24720 :
24721 3211 : case UNSPEC:
24722 3211 : return recog_295 (x1, insn, pnum_clobbers);
24723 :
24724 0 : case UNSIGNED_FIX:
24725 0 : if (GET_MODE (x4) != E_V2SImode)
24726 : return -1;
24727 0 : x7 = XEXP (x3, 1);
24728 0 : if (GET_CODE (x7) != CONST_VECTOR
24729 0 : || XVECLEN (x7, 0) != 2
24730 0 : || GET_MODE (x7) != E_V2SImode
24731 0 : || pattern313 (x3,
24732 : E_V2DFmode,
24733 : E_V4SImode,
24734 : 0) != 0
24735 0 : || !insn_condition_532 (operands, insn))
24736 0 : return -1;
24737 : return 5224; /* *fixuns_truncv2dfv2si2 */
24738 :
24739 8049 : case FIX:
24740 8049 : if (GET_MODE (x4) != E_V2SImode)
24741 : return -1;
24742 7736 : x7 = XEXP (x3, 1);
24743 7736 : if (GET_CODE (x7) != CONST_VECTOR
24744 7736 : || pattern542 (x7,
24745 : E_V2SImode,
24746 : 2) != 0
24747 7736 : || !register_operand (operands[0], E_V4SImode)
24748 15472 : || GET_MODE (x3) != E_V4SImode)
24749 : return -1;
24750 7736 : x5 = XEXP (x4, 0);
24751 7736 : operands[1] = x5;
24752 7736 : if (!vector_operand (operands[1], E_V2DFmode)
24753 7736 : || !insn_condition_141 (operands, insn))
24754 1413 : return -1;
24755 : return 5326; /* sse2_cvttpd2dq */
24756 :
24757 2549770 : case REG:
24758 2549770 : case SUBREG:
24759 2549770 : case MEM:
24760 2549770 : x7 = XEXP (x3, 1);
24761 2549770 : switch (GET_CODE (x7))
24762 : {
24763 4345 : case VEC_SELECT:
24764 4345 : res = recog_292 (x1, insn, pnum_clobbers);
24765 4345 : if (res >= 0)
24766 : return res;
24767 : break;
24768 :
24769 2091520 : case CONST_INT:
24770 2091520 : case CONST_DOUBLE:
24771 2091520 : case CONST_VECTOR:
24772 2091520 : case REG:
24773 2091520 : case SUBREG:
24774 2091520 : case MEM:
24775 2091520 : res = recog_293 (x1, insn, pnum_clobbers);
24776 2091520 : if (res >= 0)
24777 : return res;
24778 : break;
24779 :
24780 1332 : case UNSPEC:
24781 1332 : if (XVECLEN (x7, 0) == 1
24782 1243 : && XINT (x7, 1) == 146)
24783 : {
24784 1062 : x14 = XVECEXP (x7, 0, 0);
24785 1062 : if (x14 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
24786 : {
24787 1062 : operands[1] = x4;
24788 1062 : switch (GET_MODE (operands[0]))
24789 : {
24790 286 : case E_V8SImode:
24791 286 : if (pattern1078 (x3,
24792 : E_V4SImode,
24793 : E_V8SImode) == 0
24794 286 : && insn_condition_1713 (operands, insn))
24795 : return 8245; /* avx_si256_si */
24796 : break;
24797 :
24798 269 : case E_V8SFmode:
24799 269 : if (pattern1078 (x3,
24800 : E_V4SFmode,
24801 : E_V8SFmode) == 0
24802 269 : && insn_condition_1713 (operands, insn))
24803 : return 8246; /* avx_ps256_ps */
24804 : break;
24805 :
24806 279 : case E_V4DFmode:
24807 279 : if (pattern1078 (x3,
24808 : E_V2DFmode,
24809 : E_V4DFmode) == 0
24810 279 : && insn_condition_1713 (operands, insn))
24811 : return 8247; /* avx_pd256_pd */
24812 : break;
24813 :
24814 71 : case E_V16SImode:
24815 71 : if (pattern1078 (x3,
24816 : E_V8SImode,
24817 : E_V16SImode) == 0
24818 71 : && insn_condition_1711 (operands, insn))
24819 : return 8801; /* avx512f_si512_256si */
24820 : break;
24821 :
24822 79 : case E_V16SFmode:
24823 79 : if (pattern1078 (x3,
24824 : E_V8SFmode,
24825 : E_V16SFmode) == 0
24826 79 : && insn_condition_1711 (operands, insn))
24827 : return 8802; /* avx512f_ps512_256ps */
24828 : break;
24829 :
24830 78 : case E_V8DFmode:
24831 78 : if (pattern1078 (x3,
24832 : E_V4DFmode,
24833 : E_V8DFmode) == 0
24834 78 : && insn_condition_1711 (operands, insn))
24835 : return 8803; /* avx512f_pd512_256pd */
24836 : break;
24837 :
24838 : default:
24839 : break;
24840 : }
24841 : }
24842 : }
24843 : break;
24844 :
24845 : default:
24846 : break;
24847 : }
24848 906701 : if (!register_operand (operands[0], E_V4DImode)
24849 906701 : || GET_MODE (x3) != E_V4DImode)
24850 : return -1;
24851 7043 : if (GET_CODE (x4) == SUBREG
24852 2651 : && known_eq (SUBREG_BYTE (x4), 0)
24853 9694 : && GET_MODE (x4) == E_V2DImode)
24854 : {
24855 2651 : x5 = XEXP (x4, 0);
24856 2651 : if (pattern107 (x5,
24857 : E_V16QImode,
24858 : 118,
24859 : 1) == 0
24860 1 : && GET_CODE (x7) == SUBREG
24861 2652 : && pattern1291 (x7) == 0)
24862 : {
24863 1 : x15 = XVECEXP (x5, 0, 0);
24864 1 : operands[1] = x15;
24865 1 : if (memory_operand (operands[1], E_V16QImode))
24866 : {
24867 1 : x9 = XEXP (x7, 0);
24868 1 : x16 = XVECEXP (x9, 0, 0);
24869 1 : if (rtx_equal_p (x16, operands[1])
24870 1 : && insn_condition_1814 (operands, insn))
24871 : return 7984; /* avx2_lddqu_inserti_to_bcasti */
24872 : }
24873 : }
24874 : }
24875 7042 : operands[1] = x4;
24876 7042 : if (!nonimmediate_operand (operands[1], E_V2DImode))
24877 : return -1;
24878 6729 : if (rtx_equal_p (x7, operands[1])
24879 6729 : && insn_condition_122 (operands, insn))
24880 : return 8002; /* avx_vbroadcastf128_v4di */
24881 6581 : operands[2] = x7;
24882 6581 : if (!nonimm_or_0_operand (operands[2], E_V2DImode)
24883 6581 : || !insn_condition_1815 (operands, insn))
24884 2625 : return -1;
24885 : return 8307; /* avx_vec_concatv4di */
24886 :
24887 678 : case ZERO_EXTEND:
24888 678 : switch (pattern225 (x3))
24889 : {
24890 38 : case 0:
24891 38 : if (!insn_condition_1170 (operands, insn))
24892 37 : return -1;
24893 : return 5479; /* *vec_setv2di_0_zero_extendhi_1 */
24894 :
24895 381 : case 1:
24896 381 : if (!insn_condition_163 (operands, insn))
24897 0 : return -1;
24898 : return 5491; /* *vec_setv2di_0_zero_extendsi_1 */
24899 :
24900 : default:
24901 : return -1;
24902 : }
24903 :
24904 1626 : case SS_TRUNCATE:
24905 1626 : x5 = XEXP (x4, 0);
24906 1626 : operands[1] = x5;
24907 1626 : x7 = XEXP (x3, 1);
24908 1626 : switch (GET_CODE (x7))
24909 : {
24910 626 : case CONST_INT:
24911 626 : case CONST_DOUBLE:
24912 626 : case CONST_VECTOR:
24913 626 : operands[2] = x7;
24914 626 : switch (pattern544 (x3))
24915 : {
24916 49 : case 0:
24917 49 : if (insn_condition_532 (operands, insn))
24918 : return 5960; /* avx512vl_ss_truncatev4div4qi2 */
24919 : break;
24920 :
24921 49 : case 1:
24922 49 : if (insn_condition_532 (operands, insn))
24923 : return 5969; /* avx512vl_ss_truncatev4siv4qi2 */
24924 : break;
24925 :
24926 49 : case 2:
24927 49 : if (insn_condition_532 (operands, insn))
24928 : return 5963; /* avx512vl_ss_truncatev2div2qi2 */
24929 : break;
24930 :
24931 49 : case 3:
24932 49 : if (insn_condition_532 (operands, insn))
24933 : return 5966; /* avx512vl_ss_truncatev8siv8qi2 */
24934 : break;
24935 :
24936 49 : case 4:
24937 49 : if (insn_condition_533 (operands, insn))
24938 : return 5972; /* avx512vl_ss_truncatev8hiv8qi2 */
24939 : break;
24940 :
24941 55 : case 5:
24942 55 : if (insn_condition_1816 (operands, insn))
24943 : return 6051; /* avx512vl_ss_truncatev4div4hi2 */
24944 : break;
24945 :
24946 49 : case 6:
24947 49 : if (insn_condition_532 (operands, insn))
24948 : return 6057; /* avx512vl_ss_truncatev4siv4hi2 */
24949 : break;
24950 :
24951 49 : case 7:
24952 49 : if (insn_condition_532 (operands, insn))
24953 : return 6054; /* avx512vl_ss_truncatev2div2hi2 */
24954 : break;
24955 :
24956 54 : case 8:
24957 54 : if (insn_condition_532 (operands, insn))
24958 : return 6106; /* avx512vl_ss_truncatev2div2si2 */
24959 : break;
24960 :
24961 : default:
24962 : break;
24963 : }
24964 174 : if (GET_CODE (x7) != CONST_VECTOR
24965 174 : || pattern542 (x7,
24966 : E_V8QImode,
24967 : 8) != 0)
24968 : return -1;
24969 50 : x17 = XVECEXP (x7, 0, 2);
24970 50 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
24971 : return -1;
24972 50 : x18 = XVECEXP (x7, 0, 3);
24973 50 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
24974 : return -1;
24975 50 : x19 = XVECEXP (x7, 0, 4);
24976 50 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
24977 : return -1;
24978 50 : x20 = XVECEXP (x7, 0, 5);
24979 50 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
24980 : return -1;
24981 50 : x21 = XVECEXP (x7, 0, 6);
24982 50 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
24983 : return -1;
24984 50 : x22 = XVECEXP (x7, 0, 7);
24985 50 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
24986 50 : || pattern636 (x3,
24987 : E_V8DImode,
24988 : E_V8QImode,
24989 : E_V16QImode) != 0
24990 99 : || !insn_condition_27 (operands, insn))
24991 1 : return -1;
24992 : return 6125; /* avx512f_ss_truncatev8div16qi2 */
24993 :
24994 1000 : case SS_TRUNCATE:
24995 1000 : x9 = XEXP (x7, 0);
24996 1000 : operands[2] = x9;
24997 1000 : switch (GET_MODE (operands[0]))
24998 : {
24999 563 : case E_V16QImode:
25000 563 : if (pattern834 (x3,
25001 : E_V8HImode,
25002 : E_V8QImode,
25003 : E_V16QImode) != 0
25004 563 : || !insn_condition_1622 (operands, insn))
25005 32 : return -1;
25006 : return 6966; /* sse2_packsswb */
25007 :
25008 159 : case E_V8HImode:
25009 159 : if (pattern834 (x3,
25010 : E_V4SImode,
25011 : E_V4HImode,
25012 : E_V8HImode) != 0
25013 159 : || !insn_condition_1622 (operands, insn))
25014 0 : return -1;
25015 : return 6972; /* sse2_packssdw */
25016 :
25017 : default:
25018 : return -1;
25019 : }
25020 :
25021 : default:
25022 : return -1;
25023 : }
25024 :
25025 1595 : case TRUNCATE:
25026 1595 : x5 = XEXP (x4, 0);
25027 1595 : operands[1] = x5;
25028 1595 : x7 = XEXP (x3, 1);
25029 1595 : operands[2] = x7;
25030 1595 : switch (pattern544 (x3))
25031 : {
25032 66 : case 0:
25033 66 : if (insn_condition_532 (operands, insn))
25034 : return 5961; /* avx512vl_truncatev4div4qi2 */
25035 : break;
25036 :
25037 106 : case 1:
25038 106 : if (insn_condition_532 (operands, insn))
25039 : return 5970; /* avx512vl_truncatev4siv4qi2 */
25040 : break;
25041 :
25042 78 : case 2:
25043 78 : if (insn_condition_532 (operands, insn))
25044 : return 5964; /* avx512vl_truncatev2div2qi2 */
25045 : break;
25046 :
25047 86 : case 3:
25048 86 : if (insn_condition_532 (operands, insn))
25049 : return 5967; /* avx512vl_truncatev8siv8qi2 */
25050 : break;
25051 :
25052 461 : case 4:
25053 461 : if (insn_condition_533 (operands, insn))
25054 : return 5973; /* avx512vl_truncatev8hiv8qi2 */
25055 : break;
25056 :
25057 77 : case 5:
25058 77 : if (insn_condition_1816 (operands, insn))
25059 : return 6052; /* avx512vl_truncatev4div4hi2 */
25060 : break;
25061 :
25062 68 : case 6:
25063 68 : if (insn_condition_532 (operands, insn))
25064 : return 6058; /* avx512vl_truncatev4siv4hi2 */
25065 : break;
25066 :
25067 66 : case 7:
25068 66 : if (insn_condition_532 (operands, insn))
25069 : return 6055; /* avx512vl_truncatev2div2hi2 */
25070 : break;
25071 :
25072 84 : case 8:
25073 84 : if (insn_condition_532 (operands, insn))
25074 : return 6107; /* avx512vl_truncatev2div2si2 */
25075 : break;
25076 :
25077 : default:
25078 : break;
25079 : }
25080 503 : if (!register_operand (operands[1], E_V8DImode)
25081 77 : || pattern545 (x3) != 0
25082 576 : || !insn_condition_27 (operands, insn))
25083 430 : return -1;
25084 : return 6126; /* avx512f_truncatev8div16qi2 */
25085 :
25086 529 : case US_TRUNCATE:
25087 529 : x5 = XEXP (x4, 0);
25088 529 : operands[1] = x5;
25089 529 : x7 = XEXP (x3, 1);
25090 529 : operands[2] = x7;
25091 529 : switch (pattern544 (x3))
25092 : {
25093 49 : case 0:
25094 49 : if (insn_condition_532 (operands, insn))
25095 : return 5962; /* avx512vl_us_truncatev4div4qi2 */
25096 : break;
25097 :
25098 49 : case 1:
25099 49 : if (insn_condition_532 (operands, insn))
25100 : return 5971; /* avx512vl_us_truncatev4siv4qi2 */
25101 : break;
25102 :
25103 49 : case 2:
25104 49 : if (insn_condition_532 (operands, insn))
25105 : return 5965; /* avx512vl_us_truncatev2div2qi2 */
25106 : break;
25107 :
25108 49 : case 3:
25109 49 : if (insn_condition_532 (operands, insn))
25110 : return 5968; /* avx512vl_us_truncatev8siv8qi2 */
25111 : break;
25112 :
25113 55 : case 4:
25114 55 : if (insn_condition_533 (operands, insn))
25115 : return 5974; /* avx512vl_us_truncatev8hiv8qi2 */
25116 : break;
25117 :
25118 49 : case 5:
25119 49 : if (insn_condition_1816 (operands, insn))
25120 : return 6053; /* avx512vl_us_truncatev4div4hi2 */
25121 : break;
25122 :
25123 49 : case 6:
25124 49 : if (insn_condition_532 (operands, insn))
25125 : return 6059; /* avx512vl_us_truncatev4siv4hi2 */
25126 : break;
25127 :
25128 49 : case 7:
25129 49 : if (insn_condition_532 (operands, insn))
25130 : return 6056; /* avx512vl_us_truncatev2div2hi2 */
25131 : break;
25132 :
25133 54 : case 8:
25134 54 : if (insn_condition_532 (operands, insn))
25135 : return 6108; /* avx512vl_us_truncatev2div2si2 */
25136 : break;
25137 :
25138 : default:
25139 : break;
25140 : }
25141 77 : if (!register_operand (operands[1], E_V8DImode)
25142 60 : || pattern545 (x3) != 0
25143 133 : || !insn_condition_27 (operands, insn))
25144 21 : return -1;
25145 : return 6127; /* avx512f_us_truncatev8div16qi2 */
25146 :
25147 : default:
25148 : return -1;
25149 : }
25150 : }
25151 :
25152 : int
25153 5667623 : recog_336 (rtx x1 ATTRIBUTE_UNUSED,
25154 : rtx_insn *insn ATTRIBUTE_UNUSED,
25155 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25156 : {
25157 5667623 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25158 5667623 : rtx x2, x3, x4, x5;
25159 5667623 : int res ATTRIBUTE_UNUSED;
25160 5667623 : x2 = XEXP (x1, 0);
25161 5667623 : operands[0] = x2;
25162 5667623 : x3 = XEXP (x1, 1);
25163 5667623 : switch (GET_CODE (x3))
25164 : {
25165 2830892 : case AND:
25166 2830892 : res = recog_327 (x1, insn, pnum_clobbers);
25167 2830892 : if (res >= 0)
25168 : return res;
25169 : break;
25170 :
25171 2157389 : case IOR:
25172 2157389 : x4 = XEXP (x3, 0);
25173 2157389 : operands[1] = x4;
25174 2157389 : x5 = XEXP (x3, 1);
25175 2157389 : operands[2] = x5;
25176 2157389 : switch (GET_MODE (operands[0]))
25177 : {
25178 0 : case E_V16BFmode:
25179 0 : if (pattern26 (x3,
25180 : E_V16BFmode) == 0
25181 0 : && insn_condition_1738 (operands, insn))
25182 : return 3896; /* *iorv16bf3 */
25183 : break;
25184 :
25185 0 : case E_V8BFmode:
25186 0 : if (pattern26 (x3,
25187 : E_V8BFmode) == 0
25188 0 : && insn_condition_1740 (operands, insn))
25189 : return 3899; /* *iorv8bf3 */
25190 : break;
25191 :
25192 25 : case E_V16HFmode:
25193 25 : if (pattern26 (x3,
25194 : E_V16HFmode) == 0
25195 25 : && insn_condition_1738 (operands, insn))
25196 : return 3902; /* *iorv16hf3 */
25197 : break;
25198 :
25199 258 : case E_V8HFmode:
25200 258 : if (pattern26 (x3,
25201 : E_V8HFmode) == 0
25202 258 : && insn_condition_1740 (operands, insn))
25203 : return 3905; /* *iorv8hf3 */
25204 : break;
25205 :
25206 227 : case E_V8SFmode:
25207 227 : if (pattern26 (x3,
25208 : E_V8SFmode) == 0
25209 227 : && insn_condition_1742 (operands, insn))
25210 : return 3909; /* *iorv8sf3 */
25211 : break;
25212 :
25213 114310 : case E_V4SFmode:
25214 114310 : if (pattern26 (x3,
25215 : E_V4SFmode) == 0
25216 114310 : && insn_condition_1743 (operands, insn))
25217 : return 3915; /* *iorv4sf3 */
25218 : break;
25219 :
25220 370 : case E_V4DFmode:
25221 370 : if (pattern26 (x3,
25222 : E_V4DFmode) == 0
25223 370 : && insn_condition_1745 (operands, insn))
25224 : return 3921; /* *iorv4df3 */
25225 : break;
25226 :
25227 114510 : case E_V2DFmode:
25228 114510 : if (pattern26 (x3,
25229 : E_V2DFmode) == 0
25230 114510 : && insn_condition_1746 (operands, insn))
25231 : return 3927; /* *iorv2df3 */
25232 : break;
25233 :
25234 0 : case E_V32BFmode:
25235 0 : if (pattern3 (x3,
25236 : E_V32BFmode) == 0
25237 0 : && insn_condition_1747 (operands, insn))
25238 : return 3932; /* *iorv32bf3 */
25239 : break;
25240 :
25241 38 : case E_V32HFmode:
25242 38 : if (pattern3 (x3,
25243 : E_V32HFmode) == 0
25244 38 : && insn_condition_1747 (operands, insn))
25245 : return 3935; /* *iorv32hf3 */
25246 : break;
25247 :
25248 152 : case E_V16SFmode:
25249 152 : if (pattern3 (x3,
25250 : E_V16SFmode) == 0
25251 152 : && insn_condition_1749 (operands, insn))
25252 : return 3939; /* *iorv16sf3 */
25253 : break;
25254 :
25255 152 : case E_V8DFmode:
25256 152 : if (pattern3 (x3,
25257 : E_V8DFmode) == 0
25258 152 : && insn_condition_1750 (operands, insn))
25259 : return 3945; /* *iorv8df3 */
25260 : break;
25261 :
25262 4500 : case E_V16SImode:
25263 4500 : if (pattern226 (x3,
25264 : E_V16SImode) == 0
25265 4500 : && insn_condition_1857 (operands, insn))
25266 : return 6719; /* *iorv16si3 */
25267 : break;
25268 :
25269 6005 : case E_V8SImode:
25270 6005 : if (pattern226 (x3,
25271 : E_V8SImode) == 0
25272 6005 : && insn_condition_1858 (operands, insn))
25273 : return 6725; /* *iorv8si3 */
25274 : break;
25275 :
25276 90774 : case E_V4SImode:
25277 90774 : if (pattern226 (x3,
25278 : E_V4SImode) == 0
25279 90774 : && insn_condition_1859 (operands, insn))
25280 : return 6731; /* *iorv4si3 */
25281 : break;
25282 :
25283 329 : case E_V8DImode:
25284 329 : if (pattern226 (x3,
25285 : E_V8DImode) == 0
25286 329 : && insn_condition_1860 (operands, insn))
25287 : return 6737; /* *iorv8di3 */
25288 : break;
25289 :
25290 2316 : case E_V4DImode:
25291 2316 : if (pattern226 (x3,
25292 : E_V4DImode) == 0
25293 2316 : && insn_condition_1861 (operands, insn))
25294 : return 6743; /* *iorv4di3 */
25295 : break;
25296 :
25297 48462 : case E_V2DImode:
25298 48462 : if (pattern226 (x3,
25299 : E_V2DImode) == 0
25300 48462 : && insn_condition_1862 (operands, insn))
25301 : return 6749; /* *iorv2di3 */
25302 : break;
25303 :
25304 1025 : case E_V64QImode:
25305 1025 : if (pattern26 (x3,
25306 : E_V64QImode) == 0
25307 1025 : && insn_condition_1757 (operands, insn))
25308 : return 6754; /* *iorv64qi3 */
25309 : break;
25310 :
25311 3037 : case E_V32QImode:
25312 3037 : if (pattern26 (x3,
25313 : E_V32QImode) == 0
25314 3037 : && insn_condition_1758 (operands, insn))
25315 : return 6757; /* *iorv32qi3 */
25316 : break;
25317 :
25318 314390 : case E_V16QImode:
25319 314390 : if (pattern26 (x3,
25320 : E_V16QImode) == 0
25321 314390 : && insn_condition_237 (operands, insn))
25322 : return 6760; /* *iorv16qi3 */
25323 : break;
25324 :
25325 137 : case E_V32HImode:
25326 137 : if (pattern26 (x3,
25327 : E_V32HImode) == 0
25328 137 : && insn_condition_1757 (operands, insn))
25329 : return 6763; /* *iorv32hi3 */
25330 : break;
25331 :
25332 508 : case E_V16HImode:
25333 508 : if (pattern26 (x3,
25334 : E_V16HImode) == 0
25335 508 : && insn_condition_1758 (operands, insn))
25336 : return 6766; /* *iorv16hi3 */
25337 : break;
25338 :
25339 14897 : case E_V8HImode:
25340 14897 : if (pattern26 (x3,
25341 : E_V8HImode) == 0
25342 14897 : && insn_condition_237 (operands, insn))
25343 : return 6769; /* *iorv8hi3 */
25344 : break;
25345 :
25346 1353 : case E_V1TImode:
25347 1353 : if (pattern710 (x3,
25348 : E_V1TImode) == 0
25349 1353 : && insn_condition_141 (operands, insn))
25350 : return 6772; /* iorv1ti3 */
25351 : break;
25352 :
25353 : default:
25354 : break;
25355 : }
25356 : break;
25357 :
25358 590155 : case XOR:
25359 590155 : x4 = XEXP (x3, 0);
25360 590155 : operands[1] = x4;
25361 590155 : x5 = XEXP (x3, 1);
25362 590155 : operands[2] = x5;
25363 590155 : switch (GET_CODE (operands[2]))
25364 : {
25365 487729 : case REG:
25366 487729 : case SUBREG:
25367 487729 : case MEM:
25368 487729 : case VEC_DUPLICATE:
25369 487729 : switch (GET_MODE (operands[0]))
25370 : {
25371 1 : case E_V16BFmode:
25372 1 : if (pattern26 (x3,
25373 : E_V16BFmode) == 0
25374 1 : && insn_condition_1738 (operands, insn))
25375 : return 3897; /* *xorv16bf3 */
25376 : break;
25377 :
25378 1 : case E_V8BFmode:
25379 1 : if (pattern26 (x3,
25380 : E_V8BFmode) == 0
25381 1 : && insn_condition_1740 (operands, insn))
25382 : return 3900; /* *xorv8bf3 */
25383 : break;
25384 :
25385 40 : case E_V16HFmode:
25386 40 : if (pattern26 (x3,
25387 : E_V16HFmode) == 0
25388 40 : && insn_condition_1738 (operands, insn))
25389 : return 3903; /* *xorv16hf3 */
25390 : break;
25391 :
25392 175 : case E_V8HFmode:
25393 175 : if (pattern26 (x3,
25394 : E_V8HFmode) == 0
25395 175 : && insn_condition_1740 (operands, insn))
25396 : return 3906; /* *xorv8hf3 */
25397 : break;
25398 :
25399 418 : case E_V8SFmode:
25400 418 : if (pattern26 (x3,
25401 : E_V8SFmode) == 0
25402 418 : && insn_condition_1742 (operands, insn))
25403 : return 3911; /* *xorv8sf3 */
25404 : break;
25405 :
25406 3436 : case E_V4SFmode:
25407 3436 : if (pattern26 (x3,
25408 : E_V4SFmode) == 0
25409 3436 : && insn_condition_1743 (operands, insn))
25410 : return 3917; /* *xorv4sf3 */
25411 : break;
25412 :
25413 650 : case E_V4DFmode:
25414 650 : if (pattern26 (x3,
25415 : E_V4DFmode) == 0
25416 650 : && insn_condition_1745 (operands, insn))
25417 : return 3923; /* *xorv4df3 */
25418 : break;
25419 :
25420 7881 : case E_V2DFmode:
25421 7881 : if (pattern26 (x3,
25422 : E_V2DFmode) == 0
25423 7881 : && insn_condition_1746 (operands, insn))
25424 : return 3929; /* *xorv2df3 */
25425 : break;
25426 :
25427 1 : case E_V32BFmode:
25428 1 : if (pattern3 (x3,
25429 : E_V32BFmode) == 0
25430 1 : && insn_condition_1747 (operands, insn))
25431 : return 3933; /* *xorv32bf3 */
25432 : break;
25433 :
25434 28 : case E_V32HFmode:
25435 28 : if (pattern3 (x3,
25436 : E_V32HFmode) == 0
25437 28 : && insn_condition_1747 (operands, insn))
25438 : return 3936; /* *xorv32hf3 */
25439 : break;
25440 :
25441 139 : case E_V16SFmode:
25442 139 : if (pattern3 (x3,
25443 : E_V16SFmode) == 0
25444 139 : && insn_condition_1749 (operands, insn))
25445 : return 3941; /* *xorv16sf3 */
25446 : break;
25447 :
25448 91 : case E_V8DFmode:
25449 91 : if (pattern3 (x3,
25450 : E_V8DFmode) == 0
25451 91 : && insn_condition_1750 (operands, insn))
25452 : return 3947; /* *xorv8df3 */
25453 : break;
25454 :
25455 5692 : case E_V16SImode:
25456 5692 : if (pattern226 (x3,
25457 : E_V16SImode) == 0
25458 5692 : && insn_condition_1863 (operands, insn))
25459 : return 6721; /* *xorv16si3 */
25460 : break;
25461 :
25462 6817 : case E_V8SImode:
25463 6817 : if (pattern226 (x3,
25464 : E_V8SImode) == 0
25465 6817 : && insn_condition_1864 (operands, insn))
25466 : return 6727; /* *xorv8si3 */
25467 : break;
25468 :
25469 63295 : case E_V4SImode:
25470 63295 : if (pattern226 (x3,
25471 : E_V4SImode) == 0
25472 63295 : && insn_condition_1865 (operands, insn))
25473 : return 6733; /* *xorv4si3 */
25474 : break;
25475 :
25476 156 : case E_V8DImode:
25477 156 : if (pattern226 (x3,
25478 : E_V8DImode) == 0
25479 156 : && insn_condition_1866 (operands, insn))
25480 : return 6739; /* *xorv8di3 */
25481 : break;
25482 :
25483 2242 : case E_V4DImode:
25484 2242 : if (pattern226 (x3,
25485 : E_V4DImode) == 0
25486 2242 : && insn_condition_1867 (operands, insn))
25487 : return 6745; /* *xorv4di3 */
25488 : break;
25489 :
25490 41488 : case E_V2DImode:
25491 41488 : if (pattern226 (x3,
25492 : E_V2DImode) == 0
25493 41488 : && insn_condition_1868 (operands, insn))
25494 : return 6751; /* *xorv2di3 */
25495 : break;
25496 :
25497 92 : case E_V64QImode:
25498 92 : if (pattern26 (x3,
25499 : E_V64QImode) == 0
25500 92 : && insn_condition_1757 (operands, insn))
25501 : return 6755; /* *xorv64qi3 */
25502 : break;
25503 :
25504 28157 : case E_V32QImode:
25505 28157 : if (pattern26 (x3,
25506 : E_V32QImode) == 0
25507 28157 : && insn_condition_1758 (operands, insn))
25508 : return 6758; /* *xorv32qi3 */
25509 : break;
25510 :
25511 100064 : case E_V16QImode:
25512 100064 : if (pattern26 (x3,
25513 : E_V16QImode) == 0
25514 100064 : && insn_condition_237 (operands, insn))
25515 : return 6761; /* *xorv16qi3 */
25516 : break;
25517 :
25518 179 : case E_V32HImode:
25519 179 : if (pattern26 (x3,
25520 : E_V32HImode) == 0
25521 179 : && insn_condition_1757 (operands, insn))
25522 : return 6764; /* *xorv32hi3 */
25523 : break;
25524 :
25525 68 : case E_V16HImode:
25526 68 : if (pattern26 (x3,
25527 : E_V16HImode) == 0
25528 68 : && insn_condition_1758 (operands, insn))
25529 : return 6767; /* *xorv16hi3 */
25530 : break;
25531 :
25532 4132 : case E_V8HImode:
25533 4132 : if (pattern26 (x3,
25534 : E_V8HImode) == 0
25535 4132 : && insn_condition_237 (operands, insn))
25536 : return 6770; /* *xorv8hi3 */
25537 : break;
25538 :
25539 766 : case E_V1TImode:
25540 766 : if (pattern710 (x3,
25541 : E_V1TImode) == 0
25542 766 : && insn_condition_141 (operands, insn))
25543 : return 6773; /* xorv1ti3 */
25544 : break;
25545 :
25546 : default:
25547 : break;
25548 : }
25549 : break;
25550 :
25551 7852 : case CONST_VECTOR:
25552 7852 : switch (GET_MODE (operands[0]))
25553 : {
25554 1342 : case E_V16SImode:
25555 1342 : if (pattern849 (x3,
25556 : E_V16SImode) == 0
25557 1342 : && insn_condition_1869 (operands, insn))
25558 : return 6669; /* *one_cmplv16si2 */
25559 : break;
25560 :
25561 37 : case E_V8DImode:
25562 37 : if (pattern849 (x3,
25563 : E_V8DImode) == 0
25564 37 : && insn_condition_1870 (operands, insn))
25565 : return 6671; /* *one_cmplv8di2 */
25566 : break;
25567 :
25568 5 : case E_V64QImode:
25569 5 : if (pattern849 (x3,
25570 : E_V64QImode) == 0
25571 5 : && insn_condition_1871 (operands, insn))
25572 : return 6673; /* *one_cmplv64qi2 */
25573 : break;
25574 :
25575 93 : case E_V32QImode:
25576 93 : if (pattern849 (x3,
25577 : E_V32QImode) == 0
25578 93 : && insn_condition_1872 (operands, insn))
25579 : return 6674; /* *one_cmplv32qi2 */
25580 : break;
25581 :
25582 384 : case E_V16QImode:
25583 384 : if (pattern849 (x3,
25584 : E_V16QImode) == 0
25585 384 : && insn_condition_1873 (operands, insn))
25586 : return 6675; /* *one_cmplv16qi2 */
25587 : break;
25588 :
25589 11 : case E_V32HImode:
25590 11 : if (pattern849 (x3,
25591 : E_V32HImode) == 0
25592 11 : && insn_condition_1874 (operands, insn))
25593 : return 6676; /* *one_cmplv32hi2 */
25594 : break;
25595 :
25596 49 : case E_V16HImode:
25597 49 : if (pattern849 (x3,
25598 : E_V16HImode) == 0
25599 49 : && insn_condition_1875 (operands, insn))
25600 : return 6677; /* *one_cmplv16hi2 */
25601 : break;
25602 :
25603 85 : case E_V8HImode:
25604 85 : if (pattern849 (x3,
25605 : E_V8HImode) == 0
25606 85 : && insn_condition_1876 (operands, insn))
25607 : return 6678; /* *one_cmplv8hi2 */
25608 : break;
25609 :
25610 1540 : case E_V8SImode:
25611 1540 : if (pattern849 (x3,
25612 : E_V8SImode) == 0
25613 1540 : && insn_condition_1877 (operands, insn))
25614 : return 6679; /* *one_cmplv8si2 */
25615 : break;
25616 :
25617 2774 : case E_V4SImode:
25618 2774 : if (pattern849 (x3,
25619 : E_V4SImode) == 0
25620 2774 : && insn_condition_1878 (operands, insn))
25621 : return 6681; /* *one_cmplv4si2 */
25622 : break;
25623 :
25624 66 : case E_V4DImode:
25625 66 : if (pattern849 (x3,
25626 : E_V4DImode) == 0
25627 66 : && insn_condition_1879 (operands, insn))
25628 : return 6683; /* *one_cmplv4di2 */
25629 : break;
25630 :
25631 864 : case E_V2DImode:
25632 864 : if (pattern849 (x3,
25633 : E_V2DImode) == 0
25634 864 : && insn_condition_1880 (operands, insn))
25635 : return 6685; /* *one_cmplv2di2 */
25636 : break;
25637 :
25638 : default:
25639 : break;
25640 : }
25641 : break;
25642 :
25643 : default:
25644 : break;
25645 : }
25646 : break;
25647 :
25648 : default:
25649 : break;
25650 : }
25651 4247709 : operands[1] = x3;
25652 4247709 : switch (pattern242 ())
25653 : {
25654 28 : case 0:
25655 28 : if (!insn_condition_1881 (operands, insn))
25656 0 : return -1;
25657 : return 5682; /* *avx512bw_vpternlogv32hf_0 */
25658 :
25659 20 : case 1:
25660 20 : if (!insn_condition_1882 (operands, insn))
25661 0 : return -1;
25662 : return 5683; /* *avx512vl_vpternlogv16hf_0 */
25663 :
25664 129 : case 2:
25665 129 : if (!insn_condition_1883 (operands, insn))
25666 1 : return -1;
25667 : return 5684; /* *avx512fp16_vpternlogv8hf_0 */
25668 :
25669 0 : case 3:
25670 0 : if (!insn_condition_1881 (operands, insn))
25671 0 : return -1;
25672 : return 5685; /* *avx512bw_vpternlogv32bf_0 */
25673 :
25674 0 : case 4:
25675 0 : if (!insn_condition_1882 (operands, insn))
25676 0 : return -1;
25677 : return 5686; /* *avx512vl_vpternlogv16bf_0 */
25678 :
25679 0 : case 5:
25680 0 : if (!insn_condition_1883 (operands, insn))
25681 0 : return -1;
25682 : return 5687; /* *avx512vl_vpternlogv8bf_0 */
25683 :
25684 44 : case 6:
25685 44 : if (!insn_condition_1881 (operands, insn))
25686 0 : return -1;
25687 : return 5688; /* *avx512f_vpternlogv16sf_0 */
25688 :
25689 25 : case 7:
25690 25 : if (!insn_condition_1882 (operands, insn))
25691 25 : return -1;
25692 : return 5689; /* *avx512vl_vpternlogv8sf_0 */
25693 :
25694 39060 : case 8:
25695 39060 : if (!insn_condition_1883 (operands, insn))
25696 39009 : return -1;
25697 : return 5690; /* *avx512vl_vpternlogv4sf_0 */
25698 :
25699 49 : case 9:
25700 49 : if (!insn_condition_1881 (operands, insn))
25701 0 : return -1;
25702 : return 5691; /* *avx512f_vpternlogv8df_0 */
25703 :
25704 90 : case 10:
25705 90 : if (!insn_condition_1882 (operands, insn))
25706 47 : return -1;
25707 : return 5692; /* *avx512vl_vpternlogv4df_0 */
25708 :
25709 39262 : case 11:
25710 39262 : if (!insn_condition_1884 (operands, insn))
25711 39221 : return -1;
25712 : return 5693; /* *avx512vl_vpternlogv2df_0 */
25713 :
25714 : default:
25715 : return -1;
25716 : }
25717 : }
25718 :
25719 : int
25720 14113697 : recog_343 (rtx x1 ATTRIBUTE_UNUSED,
25721 : rtx_insn *insn ATTRIBUTE_UNUSED,
25722 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25723 : {
25724 14113697 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25725 14113697 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
25726 14113697 : rtx x10, x11;
25727 14113697 : int res ATTRIBUTE_UNUSED;
25728 14113697 : x2 = XEXP (x1, 0);
25729 14113697 : operands[0] = x2;
25730 14113697 : x3 = XEXP (x1, 1);
25731 14113697 : x4 = XEXP (x3, 0);
25732 14113697 : switch (GET_CODE (x4))
25733 : {
25734 665 : case REG:
25735 665 : case SUBREG:
25736 665 : case MEM:
25737 665 : operands[3] = x4;
25738 665 : x5 = XEXP (x3, 1);
25739 665 : operands[1] = x5;
25740 665 : x6 = XEXP (x3, 2);
25741 665 : operands[2] = x6;
25742 665 : switch (GET_MODE (operands[0]))
25743 : {
25744 0 : case E_V32QImode:
25745 0 : if (pattern852 (x3,
25746 : E_V32QImode) != 0
25747 0 : || !insn_condition_24 (operands, insn))
25748 0 : return -1;
25749 : return 7673; /* xop_pcmov_v32qi256 */
25750 :
25751 0 : case E_V16QImode:
25752 0 : if (pattern852 (x3,
25753 : E_V16QImode) != 0
25754 0 : || !insn_condition_24 (operands, insn))
25755 0 : return -1;
25756 : return 7674; /* xop_pcmov_v16qi */
25757 :
25758 0 : case E_V16HImode:
25759 0 : if (pattern852 (x3,
25760 : E_V16HImode) != 0
25761 0 : || !insn_condition_24 (operands, insn))
25762 0 : return -1;
25763 : return 7675; /* xop_pcmov_v16hi256 */
25764 :
25765 0 : case E_V8HImode:
25766 0 : if (pattern852 (x3,
25767 : E_V8HImode) != 0
25768 0 : || !insn_condition_24 (operands, insn))
25769 0 : return -1;
25770 : return 7676; /* xop_pcmov_v8hi */
25771 :
25772 0 : case E_V8SImode:
25773 0 : if (pattern852 (x3,
25774 : E_V8SImode) != 0
25775 0 : || !insn_condition_24 (operands, insn))
25776 0 : return -1;
25777 : return 7677; /* xop_pcmov_v8si256 */
25778 :
25779 15 : case E_V4SImode:
25780 15 : if (pattern852 (x3,
25781 : E_V4SImode) != 0
25782 15 : || !insn_condition_24 (operands, insn))
25783 4 : return -1;
25784 : return 7678; /* xop_pcmov_v4si */
25785 :
25786 58 : case E_V4DImode:
25787 58 : if (pattern852 (x3,
25788 : E_V4DImode) != 0
25789 58 : || !insn_condition_24 (operands, insn))
25790 0 : return -1;
25791 : return 7679; /* xop_pcmov_v4di256 */
25792 :
25793 66 : case E_V2DImode:
25794 66 : if (pattern852 (x3,
25795 : E_V2DImode) != 0
25796 66 : || !insn_condition_24 (operands, insn))
25797 5 : return -1;
25798 : return 7680; /* xop_pcmov_v2di */
25799 :
25800 0 : case E_V2TImode:
25801 0 : if (pattern852 (x3,
25802 : E_V2TImode) != 0
25803 0 : || !insn_condition_24 (operands, insn))
25804 0 : return -1;
25805 : return 7681; /* xop_pcmov_v2ti256 */
25806 :
25807 0 : case E_V1TImode:
25808 0 : if (pattern852 (x3,
25809 : E_V1TImode) != 0
25810 0 : || !insn_condition_24 (operands, insn))
25811 0 : return -1;
25812 : return 7682; /* xop_pcmov_v1ti */
25813 :
25814 8 : case E_V16HFmode:
25815 8 : if (pattern852 (x3,
25816 : E_V16HFmode) != 0
25817 8 : || !insn_condition_24 (operands, insn))
25818 3 : return -1;
25819 : return 7683; /* xop_pcmov_v16hf256 */
25820 :
25821 8 : case E_V8HFmode:
25822 8 : if (pattern852 (x3,
25823 : E_V8HFmode) != 0
25824 8 : || !insn_condition_24 (operands, insn))
25825 3 : return -1;
25826 : return 7684; /* xop_pcmov_v8hf */
25827 :
25828 0 : case E_V8SFmode:
25829 0 : if (pattern852 (x3,
25830 : E_V8SFmode) != 0
25831 0 : || !insn_condition_24 (operands, insn))
25832 0 : return -1;
25833 : return 7685; /* xop_pcmov_v8sf256 */
25834 :
25835 123 : case E_V4SFmode:
25836 123 : if (pattern852 (x3,
25837 : E_V4SFmode) != 0
25838 123 : || !insn_condition_24 (operands, insn))
25839 48 : return -1;
25840 : return 7686; /* xop_pcmov_v4sf */
25841 :
25842 0 : case E_V4DFmode:
25843 0 : if (pattern852 (x3,
25844 : E_V4DFmode) != 0
25845 0 : || !insn_condition_24 (operands, insn))
25846 0 : return -1;
25847 : return 7687; /* xop_pcmov_v4df256 */
25848 :
25849 0 : case E_V2DFmode:
25850 0 : if (pattern852 (x3,
25851 : E_V2DFmode) != 0
25852 0 : || !insn_condition_24 (operands, insn))
25853 0 : return -1;
25854 : return 7688; /* xop_pcmov_v2df */
25855 :
25856 : default:
25857 : return -1;
25858 : }
25859 :
25860 460714 : case GE:
25861 460714 : x7 = XEXP (x4, 1);
25862 460714 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
25863 : return -1;
25864 316657 : x8 = XEXP (x4, 0);
25865 316657 : operands[2] = x8;
25866 316657 : x5 = XEXP (x3, 1);
25867 316657 : switch (GET_CODE (x5))
25868 : {
25869 1387 : case ROTATE:
25870 1387 : x6 = XEXP (x3, 2);
25871 1387 : if (GET_CODE (x6) != ROTATERT)
25872 : return -1;
25873 1367 : x9 = XEXP (x6, 1);
25874 1367 : if (GET_CODE (x9) != NEG)
25875 : return -1;
25876 1331 : x10 = XEXP (x5, 0);
25877 1331 : operands[1] = x10;
25878 1331 : x11 = XEXP (x5, 1);
25879 1331 : if (!rtx_equal_p (x11, operands[2]))
25880 : return -1;
25881 1331 : switch (pattern1187 (x3))
25882 : {
25883 208 : case 0:
25884 208 : if (!insn_condition_1918 (operands, insn))
25885 0 : return -1;
25886 : return 7716; /* xop_vrotlv16qi3 */
25887 :
25888 215 : case 1:
25889 215 : if (!insn_condition_1918 (operands, insn))
25890 0 : return -1;
25891 : return 7717; /* xop_vrotlv8hi3 */
25892 :
25893 304 : case 2:
25894 304 : if (!insn_condition_1918 (operands, insn))
25895 9 : return -1;
25896 : return 7718; /* xop_vrotlv4si3 */
25897 :
25898 193 : case 3:
25899 193 : if (!insn_condition_1918 (operands, insn))
25900 0 : return -1;
25901 : return 7719; /* xop_vrotlv2di3 */
25902 :
25903 : default:
25904 : return -1;
25905 : }
25906 :
25907 9982 : case ASHIFT:
25908 9982 : x10 = XEXP (x5, 0);
25909 9982 : operands[1] = x10;
25910 9982 : x11 = XEXP (x5, 1);
25911 9982 : if (!rtx_equal_p (x11, operands[2]))
25912 : return -1;
25913 8206 : x6 = XEXP (x3, 2);
25914 8206 : switch (GET_CODE (x6))
25915 : {
25916 6744 : case ASHIFTRT:
25917 6744 : x9 = XEXP (x6, 1);
25918 6744 : if (GET_CODE (x9) != NEG)
25919 : return -1;
25920 5133 : switch (pattern1187 (x3))
25921 : {
25922 78 : case 0:
25923 78 : if (!insn_condition_1918 (operands, insn))
25924 0 : return -1;
25925 : return 7720; /* xop_shav16qi3 */
25926 :
25927 58 : case 1:
25928 58 : if (!insn_condition_1918 (operands, insn))
25929 0 : return -1;
25930 : return 7721; /* xop_shav8hi3 */
25931 :
25932 1693 : case 2:
25933 1693 : if (!insn_condition_1918 (operands, insn))
25934 35 : return -1;
25935 : return 7722; /* xop_shav4si3 */
25936 :
25937 873 : case 3:
25938 873 : if (!insn_condition_1918 (operands, insn))
25939 0 : return -1;
25940 : return 7723; /* xop_shav2di3 */
25941 :
25942 : default:
25943 : return -1;
25944 : }
25945 :
25946 1462 : case LSHIFTRT:
25947 1462 : x9 = XEXP (x6, 1);
25948 1462 : if (GET_CODE (x9) != NEG)
25949 : return -1;
25950 960 : switch (pattern1187 (x3))
25951 : {
25952 64 : case 0:
25953 64 : if (!insn_condition_1918 (operands, insn))
25954 0 : return -1;
25955 : return 7724; /* xop_shlv16qi3 */
25956 :
25957 58 : case 1:
25958 58 : if (!insn_condition_1918 (operands, insn))
25959 0 : return -1;
25960 : return 7725; /* xop_shlv8hi3 */
25961 :
25962 258 : case 2:
25963 258 : if (!insn_condition_1918 (operands, insn))
25964 0 : return -1;
25965 : return 7726; /* xop_shlv4si3 */
25966 :
25967 360 : case 3:
25968 360 : if (!insn_condition_1918 (operands, insn))
25969 0 : return -1;
25970 : return 7727; /* xop_shlv2di3 */
25971 :
25972 : default:
25973 : return -1;
25974 : }
25975 :
25976 : default:
25977 : return -1;
25978 : }
25979 :
25980 : default:
25981 : return -1;
25982 : }
25983 :
25984 : default:
25985 : return -1;
25986 : }
25987 : }
25988 :
25989 : int
25990 2561499 : recog_352 (rtx x1 ATTRIBUTE_UNUSED,
25991 : rtx_insn *insn ATTRIBUTE_UNUSED,
25992 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25993 : {
25994 2561499 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25995 2561499 : rtx x2, x3, x4;
25996 2561499 : int res ATTRIBUTE_UNUSED;
25997 2561499 : x2 = XEXP (x1, 0);
25998 2561499 : operands[0] = x2;
25999 2561499 : x3 = XEXP (x1, 1);
26000 2561499 : x4 = XEXP (x3, 0);
26001 2561499 : switch (GET_CODE (x4))
26002 : {
26003 1393792 : case REG:
26004 1393792 : case SUBREG:
26005 1393792 : case MEM:
26006 1393792 : case VEC_DUPLICATE:
26007 1393792 : switch (pattern228 (x3))
26008 : {
26009 190 : case 0:
26010 190 : if (!insn_condition_1962 (operands, insn))
26011 33 : return -1;
26012 : return 2862; /* *subv32hf3 */
26013 :
26014 350 : case 1:
26015 350 : if (!insn_condition_1963 (operands, insn))
26016 67 : return -1;
26017 : return 2870; /* *subv16hf3 */
26018 :
26019 315 : case 2:
26020 315 : if (!insn_condition_1964 (operands, insn))
26021 64 : return -1;
26022 : return 2878; /* *subv8hf3 */
26023 :
26024 150 : case 3:
26025 150 : if (!insn_condition_1965 (operands, insn))
26026 7 : return -1;
26027 : return 2886; /* *subv16sf3 */
26028 :
26029 10739 : case 4:
26030 10739 : if (!insn_condition_1966 (operands, insn))
26031 97 : return -1;
26032 : return 2894; /* *subv8sf3 */
26033 :
26034 17342 : case 5:
26035 17342 : if (!insn_condition_1967 (operands, insn))
26036 177 : return -1;
26037 : return 2902; /* *subv4sf3 */
26038 :
26039 142 : case 6:
26040 142 : if (!insn_condition_1968 (operands, insn))
26041 5 : return -1;
26042 : return 2910; /* *subv8df3 */
26043 :
26044 21820 : case 7:
26045 21820 : if (!insn_condition_1969 (operands, insn))
26046 879 : return -1;
26047 : return 2918; /* *subv4df3 */
26048 :
26049 30718 : case 8:
26050 30718 : if (!insn_condition_1970 (operands, insn))
26051 425 : return -1;
26052 : return 2926; /* *subv2df3 */
26053 :
26054 86 : case 9:
26055 86 : if (!insn_condition_1971 (operands, insn))
26056 6 : return -1;
26057 : return 6144; /* *subv64qi3 */
26058 :
26059 489 : case 10:
26060 489 : if (!insn_condition_1972 (operands, insn))
26061 22 : return -1;
26062 : return 6146; /* *subv32qi3 */
26063 :
26064 9761 : case 11:
26065 9761 : if (!insn_condition_1973 (operands, insn))
26066 154 : return -1;
26067 : return 6148; /* *subv16qi3 */
26068 :
26069 121 : case 12:
26070 121 : if (!insn_condition_1974 (operands, insn))
26071 2 : return -1;
26072 : return 6150; /* *subv32hi3 */
26073 :
26074 390 : case 13:
26075 390 : if (!insn_condition_1975 (operands, insn))
26076 17 : return -1;
26077 : return 6152; /* *subv16hi3 */
26078 :
26079 8895 : case 14:
26080 8895 : if (!insn_condition_1976 (operands, insn))
26081 125 : return -1;
26082 : return 6154; /* *subv8hi3 */
26083 :
26084 947 : case 15:
26085 947 : if (!insn_condition_1977 (operands, insn))
26086 61 : return -1;
26087 : return 6156; /* *subv16si3 */
26088 :
26089 3944 : case 16:
26090 3944 : if (!insn_condition_1978 (operands, insn))
26091 125 : return -1;
26092 : return 6158; /* *subv8si3 */
26093 :
26094 127370 : case 17:
26095 127370 : if (!insn_condition_1979 (operands, insn))
26096 2147 : return -1;
26097 : return 6160; /* *subv4si3 */
26098 :
26099 217 : case 18:
26100 217 : if (!insn_condition_1980 (operands, insn))
26101 7 : return -1;
26102 : return 6162; /* *subv8di3 */
26103 :
26104 1407 : case 19:
26105 1407 : if (!insn_condition_1981 (operands, insn))
26106 44 : return -1;
26107 : return 6164; /* *subv4di3 */
26108 :
26109 32424 : case 20:
26110 32424 : if (!insn_condition_1982 (operands, insn))
26111 510 : return -1;
26112 : return 6166; /* *subv2di3 */
26113 :
26114 96 : case 21:
26115 96 : if (!insn_condition_41 (operands, insn))
26116 0 : return -1;
26117 : return 9301; /* avx10_2_subbf16_v32bf */
26118 :
26119 96 : case 22:
26120 96 : if (!insn_condition_41 (operands, insn))
26121 0 : return -1;
26122 : return 9309; /* avx10_2_subbf16_v16bf */
26123 :
26124 109 : case 23:
26125 109 : if (!insn_condition_41 (operands, insn))
26126 0 : return -1;
26127 : return 9317; /* avx10_2_subbf16_v8bf */
26128 :
26129 0 : case 24:
26130 0 : if (!insn_condition_1807 (operands, insn))
26131 0 : return -1;
26132 : return 6203; /* *subv64qi3_one */
26133 :
26134 0 : case 25:
26135 0 : if (!insn_condition_1785 (operands, insn))
26136 0 : return -1;
26137 : return 6204; /* *subv32qi3_one */
26138 :
26139 12 : case 26:
26140 12 : if (!insn_condition_163 (operands, insn))
26141 0 : return -1;
26142 : return 6205; /* *subv16qi3_one */
26143 :
26144 0 : case 27:
26145 0 : if (!insn_condition_1807 (operands, insn))
26146 0 : return -1;
26147 : return 6206; /* *subv32hi3_one */
26148 :
26149 0 : case 28:
26150 0 : if (!insn_condition_1785 (operands, insn))
26151 0 : return -1;
26152 : return 6207; /* *subv16hi3_one */
26153 :
26154 12 : case 29:
26155 12 : if (!insn_condition_163 (operands, insn))
26156 0 : return -1;
26157 : return 6208; /* *subv8hi3_one */
26158 :
26159 0 : case 30:
26160 0 : if (!insn_condition_1171 (operands, insn))
26161 0 : return -1;
26162 : return 6209; /* *subv16si3_one */
26163 :
26164 0 : case 31:
26165 0 : if (!insn_condition_1785 (operands, insn))
26166 0 : return -1;
26167 : return 6210; /* *subv8si3_one */
26168 :
26169 16 : case 32:
26170 16 : if (!insn_condition_163 (operands, insn))
26171 0 : return -1;
26172 : return 6211; /* *subv4si3_one */
26173 :
26174 0 : case 33:
26175 0 : if (!insn_condition_1171 (operands, insn))
26176 0 : return -1;
26177 : return 6212; /* *subv8di3_one */
26178 :
26179 0 : case 34:
26180 0 : if (!insn_condition_1785 (operands, insn))
26181 0 : return -1;
26182 : return 6213; /* *subv4di3_one */
26183 :
26184 24 : case 35:
26185 24 : if (!insn_condition_163 (operands, insn))
26186 0 : return -1;
26187 : return 6214; /* *subv2di3_one */
26188 :
26189 : default:
26190 : return -1;
26191 : }
26192 :
26193 15273 : case VEC_SELECT:
26194 15273 : switch (pattern235 (x3))
26195 : {
26196 78 : case 0:
26197 78 : if (!insn_condition_1108 (operands, insn))
26198 0 : return -1;
26199 : return 7255; /* avx2_phsubwv16hi3 */
26200 :
26201 109 : case 1:
26202 109 : if (!insn_condition_117 (operands, insn))
26203 0 : return -1;
26204 : return 7259; /* ssse3_phsubwv8hi3 */
26205 :
26206 93 : case 2:
26207 93 : if (!insn_condition_1108 (operands, insn))
26208 0 : return -1;
26209 : return 7266; /* avx2_phsubdv8si3 */
26210 :
26211 110 : case 3:
26212 110 : if (!insn_condition_117 (operands, insn))
26213 0 : return -1;
26214 : return 7268; /* ssse3_phsubdv4si3 */
26215 :
26216 : default:
26217 : return -1;
26218 : }
26219 :
26220 15625 : case SIGN_EXTEND:
26221 15625 : switch (pattern237 (x3,
26222 : SIGN_EXTEND))
26223 : {
26224 58 : case 0:
26225 58 : if (!insn_condition_24 (operands, insn))
26226 0 : return -1;
26227 : return 7701; /* xop_phsubbw */
26228 :
26229 58 : case 1:
26230 58 : if (!insn_condition_24 (operands, insn))
26231 0 : return -1;
26232 : return 7702; /* xop_phsubwd */
26233 :
26234 58 : case 2:
26235 58 : if (!insn_condition_24 (operands, insn))
26236 0 : return -1;
26237 : return 7703; /* xop_phsubdq */
26238 :
26239 : default:
26240 : return -1;
26241 : }
26242 :
26243 : default:
26244 : return -1;
26245 : }
26246 : }
26247 :
26248 : int
26249 72461 : recog_357 (rtx x1 ATTRIBUTE_UNUSED,
26250 : rtx_insn *insn ATTRIBUTE_UNUSED,
26251 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26252 : {
26253 72461 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26254 72461 : int res ATTRIBUTE_UNUSED;
26255 72461 : switch (pattern29 (x1))
26256 : {
26257 70 : case 0:
26258 70 : if (!insn_condition_1340 (operands, insn))
26259 0 : return -1;
26260 : return 4770; /* avx512fp16_fix_truncv8hi2 */
26261 :
26262 18 : case 1:
26263 18 : if (!insn_condition_1340 (operands, insn))
26264 0 : return -1;
26265 : return 4778; /* avx512fp16_fix_truncv16hi2 */
26266 :
26267 18 : case 2:
26268 18 : if (!insn_condition_40 (operands, insn))
26269 0 : return -1;
26270 : return 4786; /* avx512fp16_fix_truncv32hi2 */
26271 :
26272 454 : case 3:
26273 454 : switch (GET_MODE (operands[1]))
26274 : {
26275 28 : case E_V8HFmode:
26276 28 : if (!vector_operand (operands[1], E_V8HFmode)
26277 28 : || !insn_condition_1340 (operands, insn))
26278 0 : return -1;
26279 : return 4794; /* avx512fp16_fix_truncv8si2 */
26280 :
26281 150 : case E_V8SFmode:
26282 150 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
26283 150 : || !insn_condition_1344 (operands, insn))
26284 0 : return -1;
26285 : return 5057; /* fix_truncv8sfv8si2 */
26286 :
26287 276 : case E_V8DFmode:
26288 276 : if (!vector_operand (operands[1], E_V8DFmode)
26289 276 : || !insn_condition_27 (operands, insn))
26290 0 : return -1;
26291 : return 5215; /* fix_truncv8dfv8si2 */
26292 :
26293 : default:
26294 : return -1;
26295 : }
26296 :
26297 28 : case 4:
26298 28 : if (!insn_condition_40 (operands, insn))
26299 0 : return -1;
26300 : return 4802; /* avx512fp16_fix_truncv16si2 */
26301 :
26302 60 : case 5:
26303 60 : if (!insn_condition_27 (operands, insn))
26304 0 : return -1;
26305 : return 5047; /* fix_truncv16sfv16si2 */
26306 :
26307 14 : case 6:
26308 14 : if (!insn_condition_40 (operands, insn))
26309 0 : return -1;
26310 : return 4810; /* avx512fp16_fix_truncv8di2 */
26311 :
26312 47 : case 7:
26313 47 : if (!insn_condition_1339 (operands, insn))
26314 0 : return -1;
26315 : return 5252; /* fix_truncv8dfv8di2 */
26316 :
26317 32 : case 8:
26318 32 : if (!insn_condition_1339 (operands, insn))
26319 0 : return -1;
26320 : return 5296; /* fix_truncv8sfv8di2 */
26321 :
26322 6666 : case 9:
26323 6666 : switch (GET_MODE (operands[1]))
26324 : {
26325 2 : case E_V4HFmode:
26326 2 : if (!memory_operand (operands[1], E_V4HFmode)
26327 2 : || !insn_condition_1351 (operands, insn))
26328 1 : return -1;
26329 : return 4834; /* *avx512fp16_fix_truncv4si2_load */
26330 :
26331 5827 : case E_V4SFmode:
26332 5827 : if (!vector_operand (operands[1], E_V4SFmode)
26333 5827 : || !insn_condition_1343 (operands, insn))
26334 140 : return -1;
26335 : return 5061; /* fix_truncv4sfv4si2 */
26336 :
26337 837 : case E_V4DFmode:
26338 837 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
26339 837 : || !insn_condition_1353 (operands, insn))
26340 0 : return -1;
26341 : return 5230; /* fix_truncv4dfv4si2 */
26342 :
26343 : default:
26344 : return -1;
26345 : }
26346 :
26347 1 : case 10:
26348 1 : if (!insn_condition_1351 (operands, insn))
26349 0 : return -1;
26350 : return 4838; /* *avx512fp16_fix_truncv4di2_load */
26351 :
26352 23 : case 11:
26353 23 : if (!insn_condition_1342 (operands, insn))
26354 0 : return -1;
26355 : return 5260; /* fix_truncv4dfv4di2 */
26356 :
26357 32 : case 12:
26358 32 : if (!insn_condition_1342 (operands, insn))
26359 0 : return -1;
26360 : return 5304; /* fix_truncv4sfv4di2 */
26361 :
26362 1 : case 13:
26363 1 : if (!insn_condition_1351 (operands, insn))
26364 0 : return -1;
26365 : return 4850; /* *avx512fp16_fix_truncv2di2_load */
26366 :
26367 76 : case 14:
26368 76 : if (!insn_condition_1342 (operands, insn))
26369 0 : return -1;
26370 : return 5264; /* fix_truncv2dfv2di2 */
26371 :
26372 29 : case 15:
26373 29 : if (!insn_condition_1351 (operands, insn))
26374 0 : return -1;
26375 : return 4826; /* avx512fp16_fix_truncv4si2 */
26376 :
26377 12 : case 16:
26378 12 : if (!insn_condition_1351 (operands, insn))
26379 0 : return -1;
26380 : return 4830; /* avx512fp16_fix_truncv4di2 */
26381 :
26382 12 : case 17:
26383 12 : if (!insn_condition_1351 (operands, insn))
26384 0 : return -1;
26385 : return 4846; /* avx512fp16_fix_truncv2di2 */
26386 :
26387 58 : case 18:
26388 58 : if (!insn_condition_1345 (operands, insn))
26389 0 : return -1;
26390 : return 5312; /* avx512dq_fix_truncv2sfv2di2 */
26391 :
26392 : default:
26393 : return -1;
26394 : }
26395 : }
26396 :
26397 : int
26398 285848 : recog_363 (rtx x1 ATTRIBUTE_UNUSED,
26399 : rtx_insn *insn ATTRIBUTE_UNUSED,
26400 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26401 : {
26402 285848 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26403 285848 : rtx x2, x3, x4, x5;
26404 285848 : int res ATTRIBUTE_UNUSED;
26405 285848 : x2 = XEXP (x1, 0);
26406 285848 : operands[0] = x2;
26407 285848 : x3 = XEXP (x1, 1);
26408 285848 : x4 = XEXP (x3, 0);
26409 285848 : operands[1] = x4;
26410 285848 : x5 = XEXP (x3, 1);
26411 285848 : operands[2] = x5;
26412 285848 : switch (GET_MODE (operands[0]))
26413 : {
26414 286 : case E_V32HFmode:
26415 286 : if (pattern546 (x3,
26416 : E_V32HFmode) != 0
26417 286 : || !insn_condition_1950 (operands, insn))
26418 95 : return -1;
26419 : return 3026; /* avx512fp16_divv32hf3 */
26420 :
26421 363 : case E_V16HFmode:
26422 363 : if (pattern546 (x3,
26423 : E_V16HFmode) != 0
26424 363 : || !insn_condition_1951 (operands, insn))
26425 136 : return -1;
26426 : return 3030; /* avx512fp16_divv16hf3 */
26427 :
26428 630 : case E_V8HFmode:
26429 630 : if (pattern546 (x3,
26430 : E_V8HFmode) != 0
26431 630 : || !insn_condition_1951 (operands, insn))
26432 292 : return -1;
26433 : return 3032; /* avx512fp16_divv8hf3 */
26434 :
26435 177 : case E_V16SFmode:
26436 177 : if (pattern546 (x3,
26437 : E_V16SFmode) != 0
26438 177 : || !insn_condition_1952 (operands, insn))
26439 27 : return -1;
26440 : return 3034; /* avx512f_divv16sf3 */
26441 :
26442 140 : case E_V8SFmode:
26443 140 : if (pattern546 (x3,
26444 : E_V8SFmode) != 0
26445 140 : || !insn_condition_1953 (operands, insn))
26446 25 : return -1;
26447 : return 3038; /* avx_divv8sf3 */
26448 :
26449 19871 : case E_V4SFmode:
26450 19871 : if (pattern546 (x3,
26451 : E_V4SFmode) != 0
26452 19871 : || !insn_condition_1954 (operands, insn))
26453 9354 : return -1;
26454 : return 3040; /* sse_divv4sf3 */
26455 :
26456 96 : case E_V8DFmode:
26457 96 : if (pattern546 (x3,
26458 : E_V8DFmode) != 0
26459 96 : || !insn_condition_1952 (operands, insn))
26460 6 : return -1;
26461 : return 3042; /* avx512f_divv8df3 */
26462 :
26463 574 : case E_V4DFmode:
26464 574 : if (pattern546 (x3,
26465 : E_V4DFmode) != 0
26466 574 : || !insn_condition_1953 (operands, insn))
26467 208 : return -1;
26468 : return 3046; /* avx_divv4df3 */
26469 :
26470 10880 : case E_V2DFmode:
26471 10880 : if (pattern546 (x3,
26472 : E_V2DFmode) != 0
26473 10880 : || !insn_condition_1955 (operands, insn))
26474 5003 : return -1;
26475 : return 3048; /* sse2_divv2df3 */
26476 :
26477 103 : case E_V32BFmode:
26478 103 : if (pattern12 (x3,
26479 : E_V32BFmode) != 0
26480 103 : || !insn_condition_41 (operands, insn))
26481 7 : return -1;
26482 : return 9305; /* avx10_2_divbf16_v32bf */
26483 :
26484 103 : case E_V16BFmode:
26485 103 : if (pattern12 (x3,
26486 : E_V16BFmode) != 0
26487 103 : || !insn_condition_41 (operands, insn))
26488 7 : return -1;
26489 : return 9313; /* avx10_2_divbf16_v16bf */
26490 :
26491 115 : case E_V8BFmode:
26492 115 : if (pattern12 (x3,
26493 : E_V8BFmode) != 0
26494 115 : || !insn_condition_41 (operands, insn))
26495 6 : return -1;
26496 : return 9321; /* avx10_2_divbf16_v8bf */
26497 :
26498 : default:
26499 : return -1;
26500 : }
26501 : }
26502 :
26503 : int
26504 78883 : recog_371 (rtx x1 ATTRIBUTE_UNUSED,
26505 : rtx_insn *insn ATTRIBUTE_UNUSED,
26506 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26507 : {
26508 78883 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26509 78883 : rtx x2, x3, x4, x5, x6;
26510 78883 : int res ATTRIBUTE_UNUSED;
26511 78883 : x2 = XVECEXP (x1, 0, 1);
26512 78883 : if (GET_CODE (x2) != USE)
26513 : return -1;
26514 78663 : x3 = XEXP (x2, 0);
26515 78663 : if (GET_CODE (x3) != LABEL_REF)
26516 : return -1;
26517 78663 : x4 = XVECEXP (x1, 0, 0);
26518 78663 : x5 = XEXP (x4, 1);
26519 78663 : operands[0] = x5;
26520 78663 : x6 = XEXP (x3, 0);
26521 78663 : operands[1] = x6;
26522 78663 : switch (GET_MODE (operands[0]))
26523 : {
26524 8879 : case E_SImode:
26525 8879 : if (!indirect_branch_operand (operands[0], E_SImode)
26526 8879 : || !insn_condition_139 (operands, insn))
26527 575 : return -1;
26528 : return 1592; /* *tablejump_1 */
26529 :
26530 69784 : case E_DImode:
26531 69784 : if (!indirect_branch_operand (operands[0], E_DImode)
26532 69784 : || !insn_condition_140 (operands, insn))
26533 20734 : return -1;
26534 : return 1593; /* *tablejump_1 */
26535 :
26536 : default:
26537 : return -1;
26538 : }
26539 : }
26540 :
26541 : int
26542 6739 : recog_374 (rtx x1 ATTRIBUTE_UNUSED,
26543 : rtx_insn *insn ATTRIBUTE_UNUSED,
26544 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26545 : {
26546 6739 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26547 6739 : rtx x2, x3, x4, x5, x6, x7, x8;
26548 6739 : int res ATTRIBUTE_UNUSED;
26549 6739 : x2 = XVECEXP (x1, 0, 0);
26550 6739 : x3 = XEXP (x2, 0);
26551 6739 : if (GET_MODE (x3) != E_CCCmode)
26552 : return -1;
26553 6739 : x4 = XEXP (x2, 1);
26554 6739 : if (GET_MODE (x4) != E_CCCmode)
26555 : return -1;
26556 6739 : x5 = XVECEXP (x1, 0, 1);
26557 6739 : switch (GET_CODE (x5))
26558 : {
26559 5740 : case SET:
26560 5740 : x6 = XEXP (x5, 1);
26561 5740 : if (GET_CODE (x6) != NEG)
26562 : return -1;
26563 4674 : x7 = XEXP (x5, 0);
26564 4674 : operands[0] = x7;
26565 4674 : x8 = XEXP (x6, 0);
26566 4674 : if (!rtx_equal_p (x8, operands[1]))
26567 : return -1;
26568 4674 : switch (GET_MODE (operands[1]))
26569 : {
26570 0 : case E_QImode:
26571 0 : if (!nonimmediate_operand (operands[1], E_QImode)
26572 0 : || !nonimmediate_operand (operands[0], E_QImode)
26573 0 : || GET_MODE (x6) != E_QImode)
26574 0 : return -1;
26575 : return 1016; /* *negqi_ccc_1 */
26576 :
26577 0 : case E_HImode:
26578 0 : if (!nonimmediate_operand (operands[1], E_HImode)
26579 0 : || !nonimmediate_operand (operands[0], E_HImode)
26580 0 : || GET_MODE (x6) != E_HImode)
26581 0 : return -1;
26582 : return 1017; /* *neghi_ccc_1 */
26583 :
26584 1145 : case E_SImode:
26585 1145 : if (!nonimmediate_operand (operands[1], E_SImode)
26586 1145 : || !nonimmediate_operand (operands[0], E_SImode)
26587 2290 : || GET_MODE (x6) != E_SImode)
26588 0 : return -1;
26589 : return 1018; /* *negsi_ccc_1 */
26590 :
26591 3529 : case E_DImode:
26592 3529 : if (!nonimmediate_operand (operands[1], E_DImode)
26593 3529 : || !nonimmediate_operand (operands[0], E_DImode)
26594 3529 : || GET_MODE (x6) != E_DImode
26595 7058 : || !insn_condition_52 (operands, insn))
26596 0 : return -1;
26597 : return 1019; /* *negdi_ccc_1 */
26598 :
26599 : default:
26600 : return -1;
26601 : }
26602 :
26603 999 : case CLOBBER:
26604 999 : x7 = XEXP (x5, 0);
26605 999 : operands[0] = x7;
26606 999 : switch (GET_MODE (operands[1]))
26607 : {
26608 277 : case E_QImode:
26609 277 : if (!nonimmediate_operand (operands[1], E_QImode)
26610 277 : || !scratch_operand (operands[0], E_QImode))
26611 89 : return -1;
26612 : return 1020; /* *negqi_ccc_2 */
26613 :
26614 34 : case E_HImode:
26615 34 : if (!nonimmediate_operand (operands[1], E_HImode)
26616 34 : || !scratch_operand (operands[0], E_HImode))
26617 0 : return -1;
26618 : return 1021; /* *neghi_ccc_2 */
26619 :
26620 483 : case E_SImode:
26621 483 : if (!nonimmediate_operand (operands[1], E_SImode)
26622 483 : || !scratch_operand (operands[0], E_SImode))
26623 118 : return -1;
26624 : return 1022; /* *negsi_ccc_2 */
26625 :
26626 205 : case E_DImode:
26627 205 : if (!nonimmediate_operand (operands[1], E_DImode)
26628 205 : || !scratch_operand (operands[0], E_DImode)
26629 410 : || !insn_condition_52 (operands, insn))
26630 0 : return -1;
26631 : return 1023; /* *negdi_ccc_2 */
26632 :
26633 : default:
26634 : return -1;
26635 : }
26636 :
26637 : default:
26638 : return -1;
26639 : }
26640 : }
26641 :
26642 : int
26643 442759 : recog_378 (rtx x1 ATTRIBUTE_UNUSED,
26644 : rtx_insn *insn ATTRIBUTE_UNUSED,
26645 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26646 : {
26647 442759 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26648 442759 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
26649 442759 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
26650 442759 : rtx x18, x19, x20, x21, x22;
26651 442759 : int res ATTRIBUTE_UNUSED;
26652 442759 : x2 = XVECEXP (x1, 0, 0);
26653 442759 : x3 = XEXP (x2, 1);
26654 442759 : switch (XVECLEN (x3, 0))
26655 : {
26656 276905 : case 1:
26657 276905 : return recog_377 (x1, insn, pnum_clobbers);
26658 :
26659 56374 : case 2:
26660 56374 : return recog_376 (x1, insn, pnum_clobbers);
26661 :
26662 102933 : case 3:
26663 102933 : return recog_375 (x1, insn, pnum_clobbers);
26664 :
26665 6106 : case 4:
26666 6106 : x4 = XVECEXP (x1, 0, 1);
26667 6106 : if (GET_CODE (x4) != CLOBBER)
26668 : return -1;
26669 5849 : x5 = XEXP (x2, 0);
26670 5849 : operands[0] = x5;
26671 5849 : switch (XINT (x3, 1))
26672 : {
26673 0 : case 21:
26674 0 : if (pattern855 (x3) != 0)
26675 : return -1;
26676 0 : x6 = XEXP (x4, 0);
26677 0 : if (GET_CODE (x6) != REG
26678 0 : || REGNO (x6) != 17
26679 0 : || GET_MODE (x6) != E_CCmode
26680 0 : || !register_operand (operands[0], E_SImode))
26681 : return -1;
26682 0 : x7 = XVECEXP (x3, 0, 0);
26683 0 : operands[1] = x7;
26684 0 : if (!tls_symbolic_operand (operands[1], E_VOIDmode))
26685 : return -1;
26686 0 : x8 = XVECEXP (x3, 0, 1);
26687 0 : operands[2] = x8;
26688 0 : if (!register_operand (operands[2], E_SImode))
26689 : return -1;
26690 0 : x9 = XVECEXP (x3, 0, 2);
26691 0 : operands[3] = x9;
26692 0 : if (!register_operand (operands[3], E_SImode)
26693 0 : || !insn_condition_591 (operands, insn))
26694 0 : return -1;
26695 : return 1804; /* *tls_dynamic_gnu2_call_32 */
26696 :
26697 5849 : case 152:
26698 5849 : x8 = XVECEXP (x3, 0, 1);
26699 5849 : if (GET_CODE (x8) != MEM)
26700 : return -1;
26701 5849 : x10 = XEXP (x8, 0);
26702 5849 : if (GET_CODE (x10) != UNSPEC
26703 5849 : || XVECLEN (x10, 0) != 3
26704 5849 : || XINT (x10, 1) != 153)
26705 : return -1;
26706 5849 : x9 = XVECEXP (x3, 0, 2);
26707 5849 : if (GET_CODE (x9) != MEM
26708 5849 : || GET_MODE (x9) != E_BLKmode)
26709 : return -1;
26710 5849 : x11 = XEXP (x9, 0);
26711 5849 : if (GET_CODE (x11) != SCRATCH)
26712 : return -1;
26713 5849 : x12 = XVECEXP (x10, 0, 2);
26714 5849 : if (!const1248_operand (x12, E_SImode))
26715 : return -1;
26716 5849 : x6 = XEXP (x4, 0);
26717 5849 : operands[1] = x6;
26718 5849 : x7 = XVECEXP (x3, 0, 0);
26719 5849 : switch (GET_CODE (x7))
26720 : {
26721 2545 : case REG:
26722 2545 : case SUBREG:
26723 2545 : operands[2] = x7;
26724 2545 : operands[7] = x8;
26725 2545 : x13 = XVECEXP (x10, 0, 0);
26726 2545 : operands[3] = x13;
26727 2545 : x14 = XVECEXP (x10, 0, 1);
26728 2545 : operands[4] = x14;
26729 2545 : operands[6] = x12;
26730 2545 : x15 = XVECEXP (x3, 0, 3);
26731 2545 : operands[5] = x15;
26732 2545 : switch (GET_MODE (operands[0]))
26733 : {
26734 300 : case E_V2DImode:
26735 300 : switch (pattern1858 (x3,
26736 : E_V2DImode,
26737 : E_DImode))
26738 : {
26739 0 : case 0:
26740 0 : if (!insn_condition_1609 (operands, insn))
26741 0 : return -1;
26742 : return 8365; /* *avx2_gathersiv2di */
26743 :
26744 0 : case 1:
26745 0 : if (!insn_condition_1609 (operands, insn))
26746 0 : return -1;
26747 : return 8397; /* *avx2_gatherdiv2di */
26748 :
26749 74 : case 2:
26750 74 : if (!insn_condition_1610 (operands, insn))
26751 0 : return -1;
26752 : return 8373; /* *avx2_gathersiv2di */
26753 :
26754 176 : case 3:
26755 176 : if (!insn_condition_1610 (operands, insn))
26756 0 : return -1;
26757 : return 8405; /* *avx2_gatherdiv2di */
26758 :
26759 : default:
26760 : return -1;
26761 : }
26762 :
26763 183 : case E_V2DFmode:
26764 183 : switch (pattern1858 (x3,
26765 : E_V2DFmode,
26766 : E_DFmode))
26767 : {
26768 0 : case 0:
26769 0 : if (!insn_condition_1609 (operands, insn))
26770 0 : return -1;
26771 : return 8366; /* *avx2_gathersiv2df */
26772 :
26773 0 : case 1:
26774 0 : if (!insn_condition_1609 (operands, insn))
26775 0 : return -1;
26776 : return 8398; /* *avx2_gatherdiv2df */
26777 :
26778 74 : case 2:
26779 74 : if (!insn_condition_1610 (operands, insn))
26780 0 : return -1;
26781 : return 8374; /* *avx2_gathersiv2df */
26782 :
26783 74 : case 3:
26784 74 : if (!insn_condition_1610 (operands, insn))
26785 0 : return -1;
26786 : return 8406; /* *avx2_gatherdiv2df */
26787 :
26788 : default:
26789 : return -1;
26790 : }
26791 :
26792 368 : case E_V4DImode:
26793 368 : switch (pattern1860 (x3,
26794 : E_V4DImode,
26795 : E_DImode))
26796 : {
26797 0 : case 0:
26798 0 : if (!insn_condition_1609 (operands, insn))
26799 0 : return -1;
26800 : return 8367; /* *avx2_gathersiv4di */
26801 :
26802 0 : case 1:
26803 0 : if (!insn_condition_1609 (operands, insn))
26804 0 : return -1;
26805 : return 8399; /* *avx2_gatherdiv4di */
26806 :
26807 117 : case 2:
26808 117 : if (!insn_condition_1610 (operands, insn))
26809 0 : return -1;
26810 : return 8375; /* *avx2_gathersiv4di */
26811 :
26812 201 : case 3:
26813 201 : if (!insn_condition_1610 (operands, insn))
26814 0 : return -1;
26815 : return 8407; /* *avx2_gatherdiv4di */
26816 :
26817 : default:
26818 : return -1;
26819 : }
26820 :
26821 394 : case E_V4DFmode:
26822 394 : switch (pattern1860 (x3,
26823 : E_V4DFmode,
26824 : E_DFmode))
26825 : {
26826 0 : case 0:
26827 0 : if (!insn_condition_1609 (operands, insn))
26828 0 : return -1;
26829 : return 8368; /* *avx2_gathersiv4df */
26830 :
26831 0 : case 1:
26832 0 : if (!insn_condition_1609 (operands, insn))
26833 0 : return -1;
26834 : return 8400; /* *avx2_gatherdiv4df */
26835 :
26836 159 : case 2:
26837 159 : if (!insn_condition_1610 (operands, insn))
26838 0 : return -1;
26839 : return 8376; /* *avx2_gathersiv4df */
26840 :
26841 141 : case 3:
26842 141 : if (!insn_condition_1610 (operands, insn))
26843 0 : return -1;
26844 : return 8408; /* *avx2_gatherdiv4df */
26845 :
26846 : default:
26847 : return -1;
26848 : }
26849 :
26850 294 : case E_V4SImode:
26851 294 : switch (pattern1858 (x3,
26852 : E_V4SImode,
26853 : E_SImode))
26854 : {
26855 0 : case 0:
26856 0 : if (!insn_condition_1609 (operands, insn))
26857 0 : return -1;
26858 : return 8369; /* *avx2_gathersiv4si */
26859 :
26860 0 : case 1:
26861 0 : if (!insn_condition_1609 (operands, insn))
26862 0 : return -1;
26863 : return 8401; /* *avx2_gatherdiv4si */
26864 :
26865 109 : case 2:
26866 109 : if (!insn_condition_1610 (operands, insn))
26867 0 : return -1;
26868 : return 8377; /* *avx2_gathersiv4si */
26869 :
26870 153 : case 3:
26871 153 : if (!insn_condition_1610 (operands, insn))
26872 0 : return -1;
26873 : return 8409; /* *avx2_gatherdiv4si */
26874 :
26875 : default:
26876 : return -1;
26877 : }
26878 :
26879 237 : case E_V4SFmode:
26880 237 : switch (pattern1858 (x3,
26881 : E_V4SFmode,
26882 : E_SFmode))
26883 : {
26884 0 : case 0:
26885 0 : if (!insn_condition_1609 (operands, insn))
26886 0 : return -1;
26887 : return 8370; /* *avx2_gathersiv4sf */
26888 :
26889 0 : case 1:
26890 0 : if (!insn_condition_1609 (operands, insn))
26891 0 : return -1;
26892 : return 8402; /* *avx2_gatherdiv4sf */
26893 :
26894 96 : case 2:
26895 96 : if (!insn_condition_1610 (operands, insn))
26896 0 : return -1;
26897 : return 8378; /* *avx2_gathersiv4sf */
26898 :
26899 98 : case 3:
26900 98 : if (!insn_condition_1610 (operands, insn))
26901 0 : return -1;
26902 : return 8410; /* *avx2_gatherdiv4sf */
26903 :
26904 : default:
26905 : return -1;
26906 : }
26907 :
26908 407 : case E_V8SImode:
26909 407 : if (pattern1861 (x3,
26910 : E_V8SImode,
26911 : E_SImode) != 0)
26912 : return -1;
26913 405 : switch (GET_MODE (operands[2]))
26914 : {
26915 151 : case E_V8SImode:
26916 151 : if (!register_operand (operands[2], E_V8SImode)
26917 151 : || !register_operand (operands[4], E_V8SImode))
26918 : return -1;
26919 145 : switch (pattern1911 (x10,
26920 : E_V8SImode))
26921 : {
26922 0 : case 0:
26923 0 : if (!insn_condition_1609 (operands, insn))
26924 0 : return -1;
26925 : return 8371; /* *avx2_gathersiv8si */
26926 :
26927 141 : case 1:
26928 141 : if (!insn_condition_1610 (operands, insn))
26929 0 : return -1;
26930 : return 8379; /* *avx2_gathersiv8si */
26931 :
26932 : default:
26933 : return -1;
26934 : }
26935 :
26936 254 : case E_V4SImode:
26937 254 : switch (pattern1912 (x10,
26938 : E_V4SImode,
26939 : E_V4DImode))
26940 : {
26941 0 : case 0:
26942 0 : if (!insn_condition_1609 (operands, insn))
26943 0 : return -1;
26944 : return 8403; /* *avx2_gatherdiv8si */
26945 :
26946 207 : case 1:
26947 207 : if (!insn_condition_1610 (operands, insn))
26948 0 : return -1;
26949 : return 8411; /* *avx2_gatherdiv8si */
26950 :
26951 : default:
26952 : return -1;
26953 : }
26954 :
26955 : default:
26956 : return -1;
26957 : }
26958 :
26959 362 : case E_V8SFmode:
26960 362 : if (pattern1861 (x3,
26961 : E_V8SFmode,
26962 : E_SFmode) != 0)
26963 : return -1;
26964 360 : switch (GET_MODE (operands[2]))
26965 : {
26966 224 : case E_V8SFmode:
26967 224 : switch (pattern1912 (x10,
26968 : E_V8SFmode,
26969 : E_V8SImode))
26970 : {
26971 0 : case 0:
26972 0 : if (!insn_condition_1609 (operands, insn))
26973 0 : return -1;
26974 : return 8372; /* *avx2_gathersiv8sf */
26975 :
26976 179 : case 1:
26977 179 : if (!insn_condition_1610 (operands, insn))
26978 0 : return -1;
26979 : return 8380; /* *avx2_gathersiv8sf */
26980 :
26981 : default:
26982 : return -1;
26983 : }
26984 :
26985 136 : case E_V4SFmode:
26986 136 : switch (pattern1912 (x10,
26987 : E_V4SFmode,
26988 : E_V4DImode))
26989 : {
26990 0 : case 0:
26991 0 : if (!insn_condition_1609 (operands, insn))
26992 0 : return -1;
26993 : return 8404; /* *avx2_gatherdiv8sf */
26994 :
26995 109 : case 1:
26996 109 : if (!insn_condition_1610 (operands, insn))
26997 0 : return -1;
26998 : return 8412; /* *avx2_gatherdiv8sf */
26999 :
27000 : default:
27001 : return -1;
27002 : }
27003 :
27004 : default:
27005 : return -1;
27006 : }
27007 :
27008 : default:
27009 : return -1;
27010 : }
27011 :
27012 2588 : case PC:
27013 2588 : operands[6] = x8;
27014 2588 : x13 = XVECEXP (x10, 0, 0);
27015 2588 : operands[2] = x13;
27016 2588 : x14 = XVECEXP (x10, 0, 1);
27017 2588 : operands[3] = x14;
27018 2588 : operands[5] = x12;
27019 2588 : x15 = XVECEXP (x3, 0, 3);
27020 2588 : operands[4] = x15;
27021 2588 : switch (GET_MODE (operands[0]))
27022 : {
27023 229 : case E_V2DImode:
27024 229 : switch (pattern1840 (x3,
27025 : E_V2DImode,
27026 : E_DImode))
27027 : {
27028 0 : case 0:
27029 0 : if (!insn_condition_1609 (operands, insn))
27030 0 : return -1;
27031 : return 8381; /* *avx2_gathersiv2di_2 */
27032 :
27033 0 : case 1:
27034 0 : if (!insn_condition_1609 (operands, insn))
27035 0 : return -1;
27036 : return 8413; /* *avx2_gatherdiv2di_2 */
27037 :
27038 69 : case 2:
27039 69 : if (!insn_condition_1610 (operands, insn))
27040 0 : return -1;
27041 : return 8389; /* *avx2_gathersiv2di_2 */
27042 :
27043 69 : case 3:
27044 69 : if (!insn_condition_1610 (operands, insn))
27045 0 : return -1;
27046 : return 8421; /* *avx2_gatherdiv2di_2 */
27047 :
27048 : default:
27049 : return -1;
27050 : }
27051 :
27052 315 : case E_V2DFmode:
27053 315 : switch (pattern1840 (x3,
27054 : E_V2DFmode,
27055 : E_DFmode))
27056 : {
27057 11 : case 0:
27058 11 : if (!insn_condition_1609 (operands, insn))
27059 0 : return -1;
27060 : return 8382; /* *avx2_gathersiv2df_2 */
27061 :
27062 5 : case 1:
27063 5 : if (!insn_condition_1609 (operands, insn))
27064 0 : return -1;
27065 : return 8414; /* *avx2_gatherdiv2df_2 */
27066 :
27067 59 : case 2:
27068 59 : if (!insn_condition_1610 (operands, insn))
27069 0 : return -1;
27070 : return 8390; /* *avx2_gathersiv2df_2 */
27071 :
27072 78 : case 3:
27073 78 : if (!insn_condition_1610 (operands, insn))
27074 0 : return -1;
27075 : return 8422; /* *avx2_gatherdiv2df_2 */
27076 :
27077 : default:
27078 : return -1;
27079 : }
27080 :
27081 222 : case E_V4DImode:
27082 222 : switch (pattern1842 (x3,
27083 : E_V4DImode,
27084 : E_DImode))
27085 : {
27086 0 : case 0:
27087 0 : if (!insn_condition_1609 (operands, insn))
27088 0 : return -1;
27089 : return 8383; /* *avx2_gathersiv4di_2 */
27090 :
27091 0 : case 1:
27092 0 : if (!insn_condition_1609 (operands, insn))
27093 0 : return -1;
27094 : return 8415; /* *avx2_gatherdiv4di_2 */
27095 :
27096 68 : case 2:
27097 68 : if (!insn_condition_1610 (operands, insn))
27098 0 : return -1;
27099 : return 8391; /* *avx2_gathersiv4di_2 */
27100 :
27101 66 : case 3:
27102 66 : if (!insn_condition_1610 (operands, insn))
27103 0 : return -1;
27104 : return 8423; /* *avx2_gatherdiv4di_2 */
27105 :
27106 : default:
27107 : return -1;
27108 : }
27109 :
27110 431 : case E_V4DFmode:
27111 431 : switch (pattern1842 (x3,
27112 : E_V4DFmode,
27113 : E_DFmode))
27114 : {
27115 0 : case 0:
27116 0 : if (!insn_condition_1609 (operands, insn))
27117 0 : return -1;
27118 : return 8384; /* *avx2_gathersiv4df_2 */
27119 :
27120 0 : case 1:
27121 0 : if (!insn_condition_1609 (operands, insn))
27122 0 : return -1;
27123 : return 8416; /* *avx2_gatherdiv4df_2 */
27124 :
27125 160 : case 2:
27126 160 : if (!insn_condition_1610 (operands, insn))
27127 0 : return -1;
27128 : return 8392; /* *avx2_gathersiv4df_2 */
27129 :
27130 141 : case 3:
27131 141 : if (!insn_condition_1610 (operands, insn))
27132 0 : return -1;
27133 : return 8424; /* *avx2_gatherdiv4df_2 */
27134 :
27135 : default:
27136 : return -1;
27137 : }
27138 :
27139 527 : case E_V4SImode:
27140 527 : switch (pattern1840 (x3,
27141 : E_V4SImode,
27142 : E_SImode))
27143 : {
27144 0 : case 0:
27145 0 : if (!insn_condition_1609 (operands, insn))
27146 0 : return -1;
27147 : return 8385; /* *avx2_gathersiv4si_2 */
27148 :
27149 0 : case 1:
27150 0 : if (!insn_condition_1609 (operands, insn))
27151 0 : return -1;
27152 : return 8417; /* *avx2_gatherdiv4si_2 */
27153 :
27154 69 : case 2:
27155 69 : if (!insn_condition_1610 (operands, insn))
27156 0 : return -1;
27157 : return 8393; /* *avx2_gathersiv4si_2 */
27158 :
27159 351 : case 3:
27160 351 : if (!insn_condition_1610 (operands, insn))
27161 0 : return -1;
27162 : return 8425; /* *avx2_gatherdiv4si_2 */
27163 :
27164 : default:
27165 : return -1;
27166 : }
27167 :
27168 293 : case E_V4SFmode:
27169 293 : switch (pattern1840 (x3,
27170 : E_V4SFmode,
27171 : E_SFmode))
27172 : {
27173 0 : case 0:
27174 0 : if (!insn_condition_1609 (operands, insn))
27175 0 : return -1;
27176 : return 8386; /* *avx2_gathersiv4sf_2 */
27177 :
27178 0 : case 1:
27179 0 : if (!insn_condition_1609 (operands, insn))
27180 0 : return -1;
27181 : return 8418; /* *avx2_gatherdiv4sf_2 */
27182 :
27183 104 : case 2:
27184 104 : if (!insn_condition_1610 (operands, insn))
27185 0 : return -1;
27186 : return 8394; /* *avx2_gathersiv4sf_2 */
27187 :
27188 59 : case 3:
27189 59 : if (!insn_condition_1610 (operands, insn))
27190 0 : return -1;
27191 : return 8426; /* *avx2_gatherdiv4sf_2 */
27192 :
27193 : default:
27194 : return -1;
27195 : }
27196 :
27197 197 : case E_V8SImode:
27198 197 : switch (pattern1843 (x3,
27199 : E_V8SImode,
27200 : E_SImode))
27201 : {
27202 0 : case 0:
27203 0 : switch (pattern1906 (
27204 : E_SImode))
27205 : {
27206 0 : case 0:
27207 0 : if (!insn_condition_1609 (operands, insn))
27208 0 : return -1;
27209 : return 8387; /* *avx2_gathersiv8si_2 */
27210 :
27211 0 : case 1:
27212 0 : if (!insn_condition_1609 (operands, insn))
27213 0 : return -1;
27214 : return 8419; /* *avx2_gatherdiv8si_2 */
27215 :
27216 : default:
27217 : return -1;
27218 : }
27219 :
27220 194 : case 1:
27221 194 : switch (pattern1906 (
27222 : E_DImode))
27223 : {
27224 66 : case 0:
27225 66 : if (!insn_condition_1610 (operands, insn))
27226 0 : return -1;
27227 : return 8395; /* *avx2_gathersiv8si_2 */
27228 :
27229 64 : case 1:
27230 64 : if (!insn_condition_1610 (operands, insn))
27231 0 : return -1;
27232 : return 8427; /* *avx2_gatherdiv8si_2 */
27233 :
27234 : default:
27235 : return -1;
27236 : }
27237 :
27238 : default:
27239 : return -1;
27240 : }
27241 :
27242 374 : case E_V8SFmode:
27243 374 : switch (pattern1843 (x3,
27244 : E_V8SFmode,
27245 : E_SFmode))
27246 : {
27247 0 : case 0:
27248 0 : switch (pattern1907 (
27249 : E_SImode))
27250 : {
27251 0 : case 0:
27252 0 : if (!insn_condition_1609 (operands, insn))
27253 0 : return -1;
27254 : return 8388; /* *avx2_gathersiv8sf_2 */
27255 :
27256 0 : case 1:
27257 0 : if (!insn_condition_1609 (operands, insn))
27258 0 : return -1;
27259 : return 8420; /* *avx2_gatherdiv8sf_2 */
27260 :
27261 : default:
27262 : return -1;
27263 : }
27264 :
27265 367 : case 1:
27266 367 : switch (pattern1907 (
27267 : E_DImode))
27268 : {
27269 90 : case 0:
27270 90 : if (!insn_condition_1610 (operands, insn))
27271 0 : return -1;
27272 : return 8396; /* *avx2_gathersiv8sf_2 */
27273 :
27274 181 : case 1:
27275 181 : if (!insn_condition_1610 (operands, insn))
27276 0 : return -1;
27277 : return 8428; /* *avx2_gatherdiv8sf_2 */
27278 :
27279 : default:
27280 : return -1;
27281 : }
27282 :
27283 : default:
27284 : return -1;
27285 : }
27286 :
27287 : default:
27288 : return -1;
27289 : }
27290 :
27291 : default:
27292 : return -1;
27293 : }
27294 :
27295 : default:
27296 : return -1;
27297 : }
27298 :
27299 441 : case 5:
27300 441 : if (XINT (x3, 1) != 130
27301 441 : || pattern575 (x1,
27302 : 130,
27303 : 5) != 0)
27304 : return -1;
27305 317 : x7 = XVECEXP (x3, 0, 0);
27306 317 : operands[1] = x7;
27307 317 : if (!register_operand (operands[1], E_V16QImode))
27308 : return -1;
27309 315 : x8 = XVECEXP (x3, 0, 1);
27310 315 : operands[2] = x8;
27311 315 : if (!register_operand (operands[2], E_SImode))
27312 : return -1;
27313 313 : x9 = XVECEXP (x3, 0, 2);
27314 313 : operands[3] = x9;
27315 313 : if (!nonimmediate_operand (operands[3], E_V16QImode))
27316 : return -1;
27317 313 : x15 = XVECEXP (x3, 0, 3);
27318 313 : operands[4] = x15;
27319 313 : if (!register_operand (operands[4], E_SImode))
27320 : return -1;
27321 313 : x16 = XVECEXP (x3, 0, 4);
27322 313 : operands[5] = x16;
27323 313 : if (!const_0_to_255_operand (operands[5], E_SImode))
27324 : return -1;
27325 313 : x4 = XVECEXP (x1, 0, 1);
27326 313 : x17 = XEXP (x4, 1);
27327 313 : x18 = XVECEXP (x17, 0, 0);
27328 313 : if (!rtx_equal_p (x18, operands[1]))
27329 : return -1;
27330 313 : x19 = XVECEXP (x17, 0, 1);
27331 313 : if (!rtx_equal_p (x19, operands[2]))
27332 : return -1;
27333 313 : x20 = XVECEXP (x17, 0, 2);
27334 313 : if (!rtx_equal_p (x20, operands[3]))
27335 : return -1;
27336 313 : x21 = XVECEXP (x17, 0, 3);
27337 313 : if (!rtx_equal_p (x21, operands[4]))
27338 : return -1;
27339 313 : x22 = XVECEXP (x17, 0, 4);
27340 313 : if (!rtx_equal_p (x22, operands[5]))
27341 : return -1;
27342 313 : switch (pattern1838 (x3))
27343 : {
27344 153 : case 0:
27345 153 : if (!insn_condition_169 (operands, insn))
27346 0 : return -1;
27347 : return 7654; /* sse4_2_pcmpestri */
27348 :
27349 160 : case 1:
27350 160 : if (!insn_condition_169 (operands, insn))
27351 0 : return -1;
27352 : return 7655; /* sse4_2_pcmpestrm */
27353 :
27354 : default:
27355 : return -1;
27356 : }
27357 :
27358 : default:
27359 : return -1;
27360 : }
27361 : }
27362 :
27363 : int
27364 785688 : recog_390 (rtx x1 ATTRIBUTE_UNUSED,
27365 : rtx_insn *insn ATTRIBUTE_UNUSED,
27366 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27367 : {
27368 785688 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27369 785688 : rtx x2, x3, x4, x5, x6, x7, x8;
27370 785688 : int res ATTRIBUTE_UNUSED;
27371 785688 : x2 = XVECEXP (x1, 0, 0);
27372 785688 : x3 = XEXP (x2, 1);
27373 785688 : x4 = XEXP (x3, 1);
27374 785688 : if (XWINT (x4, 0) != 0L)
27375 : return -1;
27376 117030 : x5 = XVECEXP (x1, 0, 1);
27377 117030 : switch (GET_CODE (x5))
27378 : {
27379 116721 : case SET:
27380 116721 : x6 = XEXP (x5, 0);
27381 116721 : operands[0] = x6;
27382 116721 : x7 = XEXP (x5, 1);
27383 116721 : switch (GET_CODE (x7))
27384 : {
27385 115492 : case PLUS:
27386 115492 : switch (pattern1529 (x1))
27387 : {
27388 677 : case 0:
27389 677 : if (!insn_condition_2107 (operands, insn))
27390 185 : return -1;
27391 : return 314; /* *addqi_2 */
27392 :
27393 6033 : case 1:
27394 6033 : if (!insn_condition_2108 (operands, insn))
27395 1953 : return -1;
27396 : return 315; /* *addhi_2 */
27397 :
27398 28695 : case 2:
27399 28695 : if (!insn_condition_2109 (operands, insn))
27400 5239 : return -1;
27401 : return 316; /* *addsi_2 */
27402 :
27403 77553 : case 3:
27404 77553 : if (!insn_condition_2110 (operands, insn))
27405 5644 : return -1;
27406 : return 317; /* *adddi_2 */
27407 :
27408 : default:
27409 : return -1;
27410 : }
27411 :
27412 18 : case ZERO_EXTEND:
27413 18 : if (pattern1467 (x1,
27414 : PLUS) != 0
27415 18 : || !insn_condition_2111 (operands, insn))
27416 18 : return -1;
27417 : return 318; /* *addsi_2_zext */
27418 :
27419 : default:
27420 : return -1;
27421 : }
27422 :
27423 309 : case CLOBBER:
27424 309 : x6 = XEXP (x5, 0);
27425 309 : operands[0] = x6;
27426 309 : x8 = XEXP (x3, 0);
27427 309 : switch (pattern1362 (x8))
27428 : {
27429 0 : case 0:
27430 0 : if (!insn_condition_734 (operands, insn))
27431 0 : return -1;
27432 : return 328; /* *addqi_5 */
27433 :
27434 0 : case 1:
27435 0 : if (!insn_condition_734 (operands, insn))
27436 0 : return -1;
27437 : return 329; /* *addhi_5 */
27438 :
27439 33 : case 2:
27440 33 : if (!insn_condition_734 (operands, insn))
27441 1 : return -1;
27442 : return 330; /* *addsi_5 */
27443 :
27444 8 : case 3:
27445 8 : if (!insn_condition_735 (operands, insn))
27446 0 : return -1;
27447 : return 331; /* *adddi_5 */
27448 :
27449 : default:
27450 : return -1;
27451 : }
27452 :
27453 : default:
27454 : return -1;
27455 : }
27456 : }
27457 :
27458 : int
27459 1430939 : recog_391 (rtx x1 ATTRIBUTE_UNUSED,
27460 : rtx_insn *insn ATTRIBUTE_UNUSED,
27461 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27462 : {
27463 1430939 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27464 1430939 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27465 1430939 : rtx x10, x11;
27466 1430939 : int res ATTRIBUTE_UNUSED;
27467 1430939 : x2 = XVECEXP (x1, 0, 0);
27468 1430939 : x3 = XEXP (x2, 1);
27469 1430939 : x4 = XEXP (x3, 1);
27470 1430939 : if (!rtx_equal_p (x4, operands[1]))
27471 : return -1;
27472 256086 : x5 = XEXP (x2, 0);
27473 256086 : if (GET_MODE (x5) != E_CCCmode
27474 250562 : || GET_MODE (x3) != E_CCCmode)
27475 : return -1;
27476 250562 : x6 = XVECEXP (x1, 0, 1);
27477 250562 : switch (GET_CODE (x6))
27478 : {
27479 64309 : case CLOBBER:
27480 64309 : x7 = XEXP (x6, 0);
27481 64309 : operands[0] = x7;
27482 64309 : x8 = XEXP (x3, 0);
27483 64309 : switch (pattern1362 (x8))
27484 : {
27485 63803 : case 0:
27486 63803 : if (!insn_condition_48 (operands, insn))
27487 0 : return -1;
27488 : return 563; /* *addqi3_cconly_overflow_1 */
27489 :
27490 53 : case 1:
27491 53 : if (!insn_condition_48 (operands, insn))
27492 0 : return -1;
27493 : return 564; /* *addhi3_cconly_overflow_1 */
27494 :
27495 86 : case 2:
27496 86 : if (!insn_condition_48 (operands, insn))
27497 17 : return -1;
27498 : return 565; /* *addsi3_cconly_overflow_1 */
27499 :
27500 335 : case 3:
27501 335 : if (!insn_condition_49 (operands, insn))
27502 57 : return -1;
27503 : return 566; /* *adddi3_cconly_overflow_1 */
27504 :
27505 : default:
27506 : return -1;
27507 : }
27508 :
27509 186253 : case SET:
27510 186253 : x7 = XEXP (x6, 0);
27511 186253 : operands[0] = x7;
27512 186253 : x9 = XEXP (x6, 1);
27513 186253 : switch (GET_CODE (x9))
27514 : {
27515 185543 : case PLUS:
27516 185543 : x10 = XEXP (x9, 0);
27517 185543 : if (!rtx_equal_p (x10, operands[1]))
27518 : return -1;
27519 184828 : x11 = XEXP (x9, 1);
27520 184828 : if (!rtx_equal_p (x11, operands[2]))
27521 : return -1;
27522 183670 : x8 = XEXP (x3, 0);
27523 183670 : switch (GET_MODE (x8))
27524 : {
27525 9123 : case E_QImode:
27526 9123 : if (pattern1469 (x9,
27527 : E_QImode) != 0
27528 9123 : || !insn_condition_449 (operands, insn))
27529 495 : return -1;
27530 : return 567; /* addqi3_cc_overflow_1 */
27531 :
27532 9208 : case E_HImode:
27533 9208 : if (pattern1469 (x9,
27534 : E_HImode) != 0
27535 9208 : || !insn_condition_450 (operands, insn))
27536 15 : return -1;
27537 : return 568; /* addhi3_cc_overflow_1 */
27538 :
27539 66439 : case E_SImode:
27540 66439 : if (pattern1470 (x9,
27541 : E_SImode) != 0
27542 66439 : || !insn_condition_595 (operands, insn))
27543 159 : return -1;
27544 : return 569; /* addsi3_cc_overflow_1 */
27545 :
27546 93343 : case E_DImode:
27547 93343 : if (pattern1470 (x9,
27548 : E_DImode) != 0
27549 93343 : || !insn_condition_596 (operands, insn))
27550 14455 : return -1;
27551 : return 570; /* adddi3_cc_overflow_1 */
27552 :
27553 5557 : case E_TImode:
27554 5557 : if (pattern1725 (x9,
27555 : E_TImode) != 0
27556 5557 : || !insn_condition_438 (operands, insn))
27557 81 : return -1;
27558 : return 582; /* *addti3_doubleword_cc_overflow_1 */
27559 :
27560 : default:
27561 : return -1;
27562 : }
27563 :
27564 8 : case ZERO_EXTEND:
27565 8 : if (pattern1467 (x1,
27566 : PLUS) != 0
27567 8 : || !insn_condition_696 (operands, insn))
27568 8 : return -1;
27569 : return 571; /* *addsi3_zext_cc_overflow_1 */
27570 :
27571 : default:
27572 : return -1;
27573 : }
27574 :
27575 : default:
27576 : return -1;
27577 : }
27578 : }
27579 :
27580 : int
27581 4880 : recog_395 (rtx x1 ATTRIBUTE_UNUSED,
27582 : rtx_insn *insn ATTRIBUTE_UNUSED,
27583 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27584 : {
27585 4880 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27586 4880 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27587 4880 : rtx x10, x11;
27588 4880 : int res ATTRIBUTE_UNUSED;
27589 4880 : if (pattern606 (x1,
27590 : E_CCZmode) != 0)
27591 : return -1;
27592 9 : x2 = XVECEXP (x1, 0, 0);
27593 9 : x3 = XEXP (x2, 1);
27594 9 : if (GET_MODE (x3) != E_CCZmode)
27595 : return -1;
27596 9 : x4 = XEXP (x3, 0);
27597 9 : x5 = XVECEXP (x4, 0, 0);
27598 9 : operands[0] = x5;
27599 9 : x6 = XVECEXP (x4, 0, 1);
27600 9 : operands[3] = x6;
27601 9 : if (!const_int_operand (operands[3], E_SImode))
27602 : return -1;
27603 9 : x7 = XVECEXP (x1, 0, 1);
27604 9 : x8 = XEXP (x7, 1);
27605 9 : x9 = XEXP (x8, 1);
27606 9 : operands[1] = x9;
27607 9 : x10 = XEXP (x8, 0);
27608 9 : if (!rtx_equal_p (x10, operands[0]))
27609 : return -1;
27610 9 : x11 = XEXP (x7, 0);
27611 9 : if (!rtx_equal_p (x11, operands[0]))
27612 : return -1;
27613 9 : switch (GET_MODE (x4))
27614 : {
27615 0 : case E_QImode:
27616 0 : if (pattern1818 (x8,
27617 : E_QImode) != 0
27618 0 : || !insn_condition_2123 (operands, insn))
27619 0 : return -1;
27620 : return 9860; /* *atomic_fetch_add_cmpqi */
27621 :
27622 0 : case E_HImode:
27623 0 : if (pattern1818 (x8,
27624 : E_HImode) != 0
27625 0 : || !insn_condition_2123 (operands, insn))
27626 0 : return -1;
27627 : return 9861; /* *atomic_fetch_add_cmphi */
27628 :
27629 9 : case E_SImode:
27630 9 : if (pattern1818 (x8,
27631 : E_SImode) != 0
27632 9 : || !insn_condition_2123 (operands, insn))
27633 8 : return -1;
27634 : return 9862; /* *atomic_fetch_add_cmpsi */
27635 :
27636 0 : case E_DImode:
27637 0 : if (pattern1818 (x8,
27638 : E_DImode) != 0
27639 0 : || !insn_condition_2124 (operands, insn))
27640 0 : return -1;
27641 : return 9863; /* *atomic_fetch_add_cmpdi */
27642 :
27643 : default:
27644 : return -1;
27645 : }
27646 : }
27647 :
27648 : int
27649 454974 : recog_398 (rtx x1 ATTRIBUTE_UNUSED,
27650 : rtx_insn *insn ATTRIBUTE_UNUSED,
27651 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27652 : {
27653 454974 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27654 454974 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27655 454974 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
27656 454974 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
27657 454974 : int res ATTRIBUTE_UNUSED;
27658 454974 : x2 = XVECEXP (x1, 0, 0);
27659 454974 : x3 = XEXP (x2, 1);
27660 454974 : x4 = XEXP (x3, 1);
27661 454974 : if (GET_CODE (x4) != PLUS)
27662 : return -1;
27663 403223 : x5 = XEXP (x4, 0);
27664 403223 : switch (GET_CODE (x5))
27665 : {
27666 366344 : case LTU:
27667 366344 : case UNLT:
27668 366344 : x6 = XEXP (x5, 1);
27669 366344 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
27670 366344 : || pattern857 (x2,
27671 : E_CCCmode) != 0)
27672 : return -1;
27673 355678 : x7 = XEXP (x3, 0);
27674 355678 : x8 = XEXP (x7, 0);
27675 355678 : switch (GET_CODE (x8))
27676 : {
27677 115788 : case PLUS:
27678 115788 : x9 = XEXP (x8, 0);
27679 115788 : if (GET_CODE (x9) != PLUS)
27680 : return -1;
27681 115486 : x10 = XEXP (x9, 0);
27682 115486 : switch (GET_CODE (x10))
27683 : {
27684 107963 : case LTU:
27685 107963 : case UNLT:
27686 107963 : operands[5] = x10;
27687 107963 : x11 = XEXP (x10, 1);
27688 107963 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27689 : return -1;
27690 107963 : x12 = XVECEXP (x1, 0, 1);
27691 107963 : if (GET_CODE (x12) != SET)
27692 : return -1;
27693 107963 : x13 = XEXP (x12, 1);
27694 107963 : if (GET_CODE (x13) != PLUS)
27695 : return -1;
27696 106131 : x14 = XEXP (x13, 0);
27697 106131 : if (GET_CODE (x14) != PLUS)
27698 : return -1;
27699 101515 : x15 = XEXP (x14, 0);
27700 101515 : switch (GET_CODE (x15))
27701 : {
27702 90401 : case LTU:
27703 90401 : case UNLT:
27704 90401 : if (!rtx_equal_p (x15, operands[5]))
27705 : return -1;
27706 90401 : x16 = XEXP (x10, 0);
27707 90401 : operands[3] = x16;
27708 90401 : if (!flags_reg_operand (operands[3], E_VOIDmode))
27709 : return -1;
27710 90369 : x17 = XEXP (x9, 1);
27711 90369 : operands[1] = x17;
27712 90369 : x18 = XEXP (x8, 1);
27713 90369 : operands[2] = x18;
27714 90369 : operands[4] = x5;
27715 90369 : x19 = XEXP (x12, 0);
27716 90369 : operands[0] = x19;
27717 90369 : x20 = XEXP (x5, 0);
27718 90369 : if (!rtx_equal_p (x20, operands[3]))
27719 : return -1;
27720 90369 : x21 = XEXP (x14, 1);
27721 90369 : if (!rtx_equal_p (x21, operands[1]))
27722 : return -1;
27723 90365 : x22 = XEXP (x13, 1);
27724 90365 : if (!rtx_equal_p (x22, operands[2]))
27725 : return -1;
27726 90355 : switch (GET_CODE (operands[2]))
27727 : {
27728 73071 : case REG:
27729 73071 : case SUBREG:
27730 73071 : case MEM:
27731 73071 : x23 = XEXP (x4, 1);
27732 73071 : if (GET_CODE (x23) != ZERO_EXTEND)
27733 : return -1;
27734 73071 : x24 = XEXP (x23, 0);
27735 73071 : if (!rtx_equal_p (x24, operands[2]))
27736 : return -1;
27737 61285 : switch (GET_MODE (x7))
27738 : {
27739 1842 : case E_DImode:
27740 1842 : if (pattern1930 (x1,
27741 : E_SImode,
27742 : E_DImode) != 0
27743 1842 : || !insn_condition_595 (operands, insn))
27744 25 : return -1;
27745 : return 500; /* addcarrysi */
27746 :
27747 59443 : case E_TImode:
27748 59443 : if (pattern1930 (x1,
27749 : E_DImode,
27750 : E_TImode) != 0
27751 59443 : || !insn_condition_596 (operands, insn))
27752 2233 : return -1;
27753 : return 501; /* addcarrydi */
27754 :
27755 : default:
27756 : return -1;
27757 : }
27758 :
27759 17270 : case CONST_INT:
27760 17270 : case CONST:
27761 17270 : case LABEL_REF:
27762 17270 : case SYMBOL_REF:
27763 17270 : x23 = XEXP (x4, 1);
27764 17270 : operands[6] = x23;
27765 17270 : switch (GET_MODE (x7))
27766 : {
27767 6 : case E_DImode:
27768 6 : if (pattern1927 (x1,
27769 : E_SImode,
27770 : E_DImode) != 0
27771 6 : || !insn_condition_2132 (operands, insn))
27772 4 : return -1;
27773 : return 502; /* *addcarrysi_1 */
27774 :
27775 17264 : case E_TImode:
27776 17264 : if (pattern1927 (x1,
27777 : E_DImode,
27778 : E_TImode) != 0
27779 17264 : || !insn_condition_2133 (operands, insn))
27780 16443 : return -1;
27781 : return 503; /* *addcarrydi_1 */
27782 :
27783 : default:
27784 : return -1;
27785 : }
27786 :
27787 : default:
27788 : return -1;
27789 : }
27790 :
27791 : default:
27792 : return -1;
27793 : }
27794 :
27795 : default:
27796 : return -1;
27797 : }
27798 :
27799 231454 : case REG:
27800 231454 : case SUBREG:
27801 231454 : case MEM:
27802 231454 : operands[1] = x8;
27803 231454 : if (GET_CODE (x5) == LTU)
27804 : {
27805 231454 : res = recog_393 (x1, insn, pnum_clobbers);
27806 231454 : if (res >= 0)
27807 : return res;
27808 : }
27809 64763 : x12 = XVECEXP (x1, 0, 1);
27810 64763 : if (GET_CODE (x12) != SET)
27811 : return -1;
27812 62303 : operands[4] = x5;
27813 62303 : x20 = XEXP (x5, 0);
27814 62303 : operands[3] = x20;
27815 62303 : if (!flags_reg_operand (operands[3], E_VOIDmode))
27816 : return -1;
27817 62297 : x19 = XEXP (x12, 0);
27818 62297 : operands[0] = x19;
27819 62297 : x23 = XEXP (x4, 1);
27820 62297 : switch (GET_CODE (x23))
27821 : {
27822 59567 : case ZERO_EXTEND:
27823 59567 : x13 = XEXP (x12, 1);
27824 59567 : if (pattern1745 (x13,
27825 : MINUS) != 0)
27826 : return -1;
27827 40712 : x24 = XEXP (x23, 0);
27828 40712 : operands[2] = x24;
27829 40712 : x14 = XEXP (x13, 0);
27830 40712 : x15 = XEXP (x14, 0);
27831 40712 : if (!rtx_equal_p (x15, operands[1]))
27832 : return -1;
27833 40710 : x21 = XEXP (x14, 1);
27834 40710 : x25 = XEXP (x21, 0);
27835 40710 : if (!rtx_equal_p (x25, operands[3]))
27836 : return -1;
27837 40710 : x22 = XEXP (x13, 1);
27838 40710 : if (!rtx_equal_p (x22, operands[2]))
27839 : return -1;
27840 40704 : switch (GET_MODE (x7))
27841 : {
27842 1240 : case E_DImode:
27843 1240 : if (pattern1913 (x1,
27844 : E_SImode,
27845 : E_DImode) != 0
27846 1240 : || !insn_condition_775 (operands, insn))
27847 99 : return -1;
27848 : return 552; /* subborrowsi */
27849 :
27850 39464 : case E_TImode:
27851 39464 : if (pattern1913 (x1,
27852 : E_DImode,
27853 : E_TImode) != 0
27854 39464 : || !insn_condition_463 (operands, insn))
27855 5573 : return -1;
27856 : return 553; /* subborrowdi */
27857 :
27858 : default:
27859 : return -1;
27860 : }
27861 :
27862 2730 : case CONST_INT:
27863 2730 : case CONST_WIDE_INT:
27864 2730 : operands[6] = x23;
27865 2730 : x13 = XEXP (x12, 1);
27866 2730 : if (pattern1745 (x13,
27867 : PLUS) != 0)
27868 : return -1;
27869 503 : x22 = XEXP (x13, 1);
27870 503 : operands[2] = x22;
27871 503 : x14 = XEXP (x13, 0);
27872 503 : x15 = XEXP (x14, 0);
27873 503 : if (!rtx_equal_p (x15, operands[1]))
27874 : return -1;
27875 503 : x21 = XEXP (x14, 1);
27876 503 : x25 = XEXP (x21, 0);
27877 503 : if (!rtx_equal_p (x25, operands[3]))
27878 : return -1;
27879 503 : switch (GET_MODE (x7))
27880 : {
27881 0 : case E_DImode:
27882 0 : if (pattern1914 (x1,
27883 : E_SImode,
27884 : E_DImode) != 0
27885 0 : || !insn_condition_2134 (operands, insn))
27886 0 : return -1;
27887 : return 554; /* *subborrowsi_1 */
27888 :
27889 503 : case E_TImode:
27890 503 : if (pattern1914 (x1,
27891 : E_DImode,
27892 : E_TImode) != 0
27893 503 : || !insn_condition_2135 (operands, insn))
27894 348 : return -1;
27895 : return 555; /* *subborrowdi_1 */
27896 :
27897 : default:
27898 : return -1;
27899 : }
27900 :
27901 : default:
27902 : return -1;
27903 : }
27904 :
27905 : default:
27906 : return -1;
27907 : }
27908 :
27909 : default:
27910 : return -1;
27911 : }
27912 : }
27913 :
27914 : int
27915 5559742 : recog_403 (rtx x1 ATTRIBUTE_UNUSED,
27916 : rtx_insn *insn ATTRIBUTE_UNUSED,
27917 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27918 : {
27919 5559742 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27920 5559742 : rtx x2, x3, x4, x5, x6;
27921 5559742 : int res ATTRIBUTE_UNUSED;
27922 5559742 : x2 = XVECEXP (x1, 0, 0);
27923 5559742 : x3 = XEXP (x2, 0);
27924 5559742 : switch (GET_CODE (x3))
27925 : {
27926 5559685 : case REG:
27927 5559685 : case SUBREG:
27928 5559685 : case MEM:
27929 5559685 : operands[0] = x3;
27930 5559685 : x4 = XVECEXP (x1, 0, 1);
27931 5559685 : switch (GET_CODE (x4))
27932 : {
27933 5377243 : case CLOBBER:
27934 5377243 : x5 = XEXP (x4, 0);
27935 5377243 : if (GET_CODE (x5) != REG
27936 5377243 : || REGNO (x5) != 17
27937 10754486 : || GET_MODE (x5) != E_CCmode)
27938 : return -1;
27939 5377243 : switch (GET_MODE (operands[0]))
27940 : {
27941 3774572 : case E_DImode:
27942 3774572 : if (!nonimmediate_operand (operands[0], E_DImode))
27943 : return -1;
27944 3774444 : x6 = XEXP (x2, 1);
27945 3774444 : if (GET_MODE (x6) != E_DImode
27946 3774444 : || !nonimmediate_operand (operands[1], E_DImode))
27947 : return -1;
27948 3542864 : if (x86_64_hilo_general_operand (operands[2], E_DImode)
27949 3542864 : && insn_condition_767 (operands, insn))
27950 : return 385; /* *subdi3_doubleword */
27951 3508001 : if (!x86_64_general_operand (operands[2], E_DImode)
27952 3508001 : || !insn_condition_769 (operands, insn))
27953 205018 : return -1;
27954 : return 396; /* *subdi_1 */
27955 :
27956 45803 : case E_TImode:
27957 45803 : x6 = XEXP (x2, 1);
27958 45803 : if (pattern586 (x6,
27959 : E_TImode) != 0
27960 45803 : || !insn_condition_463 (operands, insn))
27961 7713 : return -1;
27962 : return 386; /* *subti3_doubleword */
27963 :
27964 70154 : case E_QImode:
27965 70154 : x6 = XEXP (x2, 1);
27966 70154 : if (pattern587 (x6,
27967 : E_QImode) != 0
27968 70154 : || !insn_condition_465 (operands, insn))
27969 9937 : return -1;
27970 : return 390; /* *subqi_1 */
27971 :
27972 50846 : case E_HImode:
27973 50846 : x6 = XEXP (x2, 1);
27974 50846 : if (pattern587 (x6,
27975 : E_HImode) != 0
27976 50846 : || !insn_condition_467 (operands, insn))
27977 16214 : return -1;
27978 : return 392; /* *subhi_1 */
27979 :
27980 1435589 : case E_SImode:
27981 1435589 : x6 = XEXP (x2, 1);
27982 1435589 : if (pattern588 (x6) != 0
27983 1435589 : || !insn_condition_771 (operands, insn))
27984 319851 : return -1;
27985 : return 394; /* *subsi_1 */
27986 :
27987 279 : case E_V2QImode:
27988 279 : x6 = XEXP (x2, 1);
27989 279 : if (pattern590 (x6,
27990 : E_V2QImode) != 0
27991 279 : || !insn_condition_397 (operands, insn))
27992 83 : return -1;
27993 : return 2297; /* subv2qi3 */
27994 :
27995 : default:
27996 : return -1;
27997 : }
27998 :
27999 147 : case UNSPEC:
28000 147 : if (pattern252 (x1) != 0
28001 147 : || !insn_condition_2196 (operands, insn))
28002 2 : return -1;
28003 : return 2213; /* *mmx_subv2sf3 */
28004 :
28005 : default:
28006 : return -1;
28007 : }
28008 :
28009 57 : case STRICT_LOW_PART:
28010 57 : x4 = XVECEXP (x1, 0, 1);
28011 57 : if (pattern286 (x4,
28012 : E_CCmode,
28013 : 17) != 0)
28014 : return -1;
28015 57 : switch (pattern1367 (x2))
28016 : {
28017 48 : case 0:
28018 48 : if (!insn_condition_194 (operands, insn))
28019 0 : return -1;
28020 : return 408; /* *subqi_1_slp */
28021 :
28022 0 : case 1:
28023 0 : if (!insn_condition_194 (operands, insn))
28024 0 : return -1;
28025 : return 409; /* *subhi_1_slp */
28026 :
28027 : default:
28028 : return -1;
28029 : }
28030 :
28031 : default:
28032 : return -1;
28033 : }
28034 : }
28035 :
28036 : int
28037 3101481 : recog_406 (rtx x1 ATTRIBUTE_UNUSED,
28038 : rtx_insn *insn ATTRIBUTE_UNUSED,
28039 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28040 : {
28041 3101481 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28042 3101481 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28043 3101481 : rtx x10, x11;
28044 3101481 : int res ATTRIBUTE_UNUSED;
28045 3101481 : x2 = XVECEXP (x1, 0, 0);
28046 3101481 : x3 = XEXP (x2, 1);
28047 3101481 : x4 = XEXP (x3, 0);
28048 3101481 : x5 = XEXP (x4, 1);
28049 3101481 : if (GET_CODE (x5) != CONST_INT)
28050 : return -1;
28051 1769074 : switch (pattern733 (x1))
28052 : {
28053 13473 : case 0:
28054 13473 : switch (XWINT (x5, 0))
28055 : {
28056 13404 : case 0L:
28057 13404 : x6 = XEXP (x3, 1);
28058 13404 : if (GET_CODE (x6) != PLUS)
28059 : return -1;
28060 53 : x7 = XEXP (x6, 1);
28061 53 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
28062 : return -1;
28063 53 : x8 = XEXP (x2, 0);
28064 53 : operands[0] = x8;
28065 53 : operands[1] = x4;
28066 53 : x9 = XEXP (x4, 0);
28067 53 : operands[2] = x9;
28068 53 : switch (pattern1627 (x3))
28069 : {
28070 3 : case 0:
28071 3 : if (!insn_condition_10 (operands, insn))
28072 0 : return -1;
28073 : return 454; /* *dec_cmovhi */
28074 :
28075 6 : case 1:
28076 6 : if (!insn_condition_10 (operands, insn))
28077 0 : return -1;
28078 : return 455; /* *dec_cmovsi */
28079 :
28080 4 : case 2:
28081 4 : if (!insn_condition_778 (operands, insn))
28082 0 : return -1;
28083 : return 456; /* *dec_cmovdi */
28084 :
28085 : default:
28086 : return -1;
28087 : }
28088 :
28089 65 : case -1L:
28090 65 : switch (pattern1223 (x2))
28091 : {
28092 0 : case 0:
28093 0 : if (!insn_condition_11 (operands, insn))
28094 0 : return -1;
28095 : return 2805; /* *kortest_cmpqi_jcc */
28096 :
28097 22 : case 1:
28098 22 : if (!insn_condition_12 (operands, insn))
28099 0 : return -1;
28100 : return 2806; /* *kortest_cmphi_jcc */
28101 :
28102 7 : case 2:
28103 7 : if (!insn_condition_12 (operands, insn))
28104 0 : return -1;
28105 : return 2807; /* *kortest_cmpsi_jcc */
28106 :
28107 4 : case 3:
28108 4 : if (!insn_condition_13 (operands, insn))
28109 0 : return -1;
28110 : return 2808; /* *kortest_cmpdi_jcc */
28111 :
28112 0 : case 4:
28113 0 : if (!insn_condition_14 (operands, insn))
28114 0 : return -1;
28115 : return 2809; /* *kortest_cmpqi_movqicc */
28116 :
28117 0 : case 5:
28118 0 : if (!insn_condition_15 (operands, insn))
28119 0 : return -1;
28120 : return 2810; /* *kortest_cmphi_movqicc */
28121 :
28122 0 : case 6:
28123 0 : if (!insn_condition_16 (operands, insn))
28124 0 : return -1;
28125 : return 2811; /* *kortest_cmpsi_movqicc */
28126 :
28127 3 : case 7:
28128 3 : if (!insn_condition_17 (operands, insn))
28129 0 : return -1;
28130 : return 2812; /* *kortest_cmpdi_movqicc */
28131 :
28132 3 : case 8:
28133 3 : if (!insn_condition_18 (operands, insn))
28134 0 : return -1;
28135 : return 2813; /* *kortest_cmpqi_movhicc */
28136 :
28137 0 : case 9:
28138 0 : if (!insn_condition_19 (operands, insn))
28139 0 : return -1;
28140 : return 2816; /* *kortest_cmphi_movhicc */
28141 :
28142 0 : case 10:
28143 0 : if (!insn_condition_20 (operands, insn))
28144 0 : return -1;
28145 : return 2819; /* *kortest_cmpsi_movhicc */
28146 :
28147 0 : case 11:
28148 0 : if (!insn_condition_21 (operands, insn))
28149 0 : return -1;
28150 : return 2822; /* *kortest_cmpdi_movhicc */
28151 :
28152 3 : case 12:
28153 3 : if (!insn_condition_18 (operands, insn))
28154 0 : return -1;
28155 : return 2814; /* *kortest_cmpqi_movsicc */
28156 :
28157 3 : case 13:
28158 3 : if (!insn_condition_19 (operands, insn))
28159 0 : return -1;
28160 : return 2817; /* *kortest_cmphi_movsicc */
28161 :
28162 3 : case 14:
28163 3 : if (!insn_condition_20 (operands, insn))
28164 0 : return -1;
28165 : return 2820; /* *kortest_cmpsi_movsicc */
28166 :
28167 3 : case 15:
28168 3 : if (!insn_condition_21 (operands, insn))
28169 0 : return -1;
28170 : return 2823; /* *kortest_cmpdi_movsicc */
28171 :
28172 0 : case 16:
28173 0 : if (!insn_condition_779 (operands, insn))
28174 0 : return -1;
28175 : return 2815; /* *kortest_cmpqi_movdicc */
28176 :
28177 3 : case 17:
28178 3 : if (!insn_condition_780 (operands, insn))
28179 0 : return -1;
28180 : return 2818; /* *kortest_cmphi_movdicc */
28181 :
28182 0 : case 18:
28183 0 : if (!insn_condition_781 (operands, insn))
28184 0 : return -1;
28185 : return 2821; /* *kortest_cmpsi_movdicc */
28186 :
28187 0 : case 19:
28188 0 : if (!insn_condition_782 (operands, insn))
28189 0 : return -1;
28190 : return 2824; /* *kortest_cmpdi_movdicc */
28191 :
28192 : default:
28193 : return -1;
28194 : }
28195 :
28196 : default:
28197 : return -1;
28198 : }
28199 :
28200 9225 : case 1:
28201 9225 : x9 = XEXP (x4, 0);
28202 9225 : x10 = XEXP (x9, 1);
28203 9225 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
28204 9199 : || XWINT (x5, 0) != 0L)
28205 : return -1;
28206 9199 : switch (pattern1378 (x2))
28207 : {
28208 7943 : case 0:
28209 7943 : x11 = XEXP (x9, 2);
28210 7943 : operands[2] = x11;
28211 7943 : switch (pattern1579 (x2))
28212 : {
28213 658 : case 0:
28214 658 : if (insn_condition_6 (operands, insn))
28215 : return 1552; /* *jcc_btsi */
28216 : break;
28217 :
28218 835 : case 1:
28219 835 : if (insn_condition_7 (operands, insn))
28220 : return 1553; /* *jcc_btdi */
28221 : break;
28222 :
28223 0 : case 2:
28224 0 : if (insn_condition_8 (operands, insn))
28225 : return 1558; /* *cmov_bthi */
28226 : break;
28227 :
28228 0 : case 3:
28229 0 : if (insn_condition_9 (operands, insn))
28230 : return 1559; /* *cmov_bthi */
28231 : break;
28232 :
28233 0 : case 4:
28234 0 : if (insn_condition_8 (operands, insn))
28235 : return 1560; /* *cmov_btsi */
28236 : break;
28237 :
28238 1 : case 5:
28239 1 : if (insn_condition_9 (operands, insn))
28240 : return 1561; /* *cmov_btsi */
28241 : break;
28242 :
28243 0 : case 6:
28244 0 : if (insn_condition_9 (operands, insn))
28245 : return 1562; /* *cmov_btdi */
28246 : break;
28247 :
28248 0 : case 7:
28249 0 : if (insn_condition_9 (operands, insn))
28250 : return 1563; /* *cmov_btdi */
28251 : break;
28252 :
28253 : default:
28254 : break;
28255 : }
28256 6715 : if (GET_CODE (x11) != SUBREG)
28257 : return -1;
28258 4061 : switch (pattern1580 (x2))
28259 : {
28260 48 : case 0:
28261 48 : if (!insn_condition_22 (operands, insn))
28262 43 : return -1;
28263 : return 1556; /* *jcc_btsi_mask_1 */
28264 :
28265 18 : case 1:
28266 18 : if (!insn_condition_23 (operands, insn))
28267 0 : return -1;
28268 : return 1557; /* *jcc_btdi_mask_1 */
28269 :
28270 : default:
28271 : return -1;
28272 : }
28273 :
28274 0 : case 1:
28275 0 : if (!insn_condition_22 (operands, insn))
28276 0 : return -1;
28277 : return 1554; /* *jcc_btsi_mask */
28278 :
28279 26 : case 2:
28280 26 : if (!insn_condition_23 (operands, insn))
28281 26 : return -1;
28282 : return 1555; /* *jcc_btdi_mask */
28283 :
28284 : default:
28285 : return -1;
28286 : }
28287 :
28288 : default:
28289 : return -1;
28290 : }
28291 : }
28292 :
28293 : int
28294 2557914 : recog_411 (rtx x1 ATTRIBUTE_UNUSED,
28295 : rtx_insn *insn ATTRIBUTE_UNUSED,
28296 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28297 : {
28298 2557914 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28299 2557914 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28300 2557914 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
28301 2557914 : rtx x18, x19, x20;
28302 2557914 : int res ATTRIBUTE_UNUSED;
28303 2557914 : x2 = XVECEXP (x1, 0, 0);
28304 2557914 : x3 = XEXP (x2, 1);
28305 2557914 : x4 = XEXP (x3, 0);
28306 2557914 : switch (GET_CODE (x4))
28307 : {
28308 244340 : case ASHIFT:
28309 244340 : return recog_410 (x1, insn, pnum_clobbers);
28310 :
28311 1680646 : case REG:
28312 1680646 : case SUBREG:
28313 1680646 : case MEM:
28314 1680646 : operands[1] = x4;
28315 1680646 : switch (pattern592 (x1))
28316 : {
28317 913 : case 0:
28318 913 : if (insn_condition_194 (operands, insn))
28319 : return 758; /* *iorqi_1_slp */
28320 : break;
28321 :
28322 16 : case 1:
28323 16 : if (insn_condition_194 (operands, insn))
28324 : return 761; /* *iorhi_1_slp */
28325 : break;
28326 :
28327 422804 : case 2:
28328 422804 : if (x86_64_hilo_general_operand (operands[2], E_DImode)
28329 422804 : && insn_condition_752 (operands, insn))
28330 : return 851; /* *iordi3_doubleword */
28331 352763 : if (x86_64_general_operand (operands[2], E_DImode)
28332 352763 : && insn_condition_754 (operands, insn))
28333 : return 864; /* *iordi_1 */
28334 24854 : if (const_int_operand (operands[2], E_DImode)
28335 24854 : && insn_condition_755 (operands, insn))
28336 : return 870; /* *iordi_1_bts */
28337 : break;
28338 :
28339 20629 : case 3:
28340 20629 : if (insn_condition_225 (operands, insn))
28341 : return 853; /* *iorti3_doubleword */
28342 : break;
28343 :
28344 80221 : case 4:
28345 80221 : if (insn_condition_227 (operands, insn))
28346 : return 856; /* *iorhi_1 */
28347 : break;
28348 :
28349 626252 : case 5:
28350 626252 : if (insn_condition_757 (operands, insn))
28351 : return 860; /* *iorsi_1 */
28352 : break;
28353 :
28354 1020 : case 6:
28355 1020 : if (insn_condition_233 (operands, insn))
28356 : return 2444; /* *iorv4qi3 */
28357 : break;
28358 :
28359 354 : case 7:
28360 354 : if (insn_condition_234 (operands, insn))
28361 : return 2447; /* *iorv2qi3 */
28362 : break;
28363 :
28364 470 : case 8:
28365 470 : if (insn_condition_235 (operands, insn))
28366 : return 2450; /* *iorv2hi3 */
28367 : break;
28368 :
28369 3903 : case 9:
28370 3903 : if (insn_condition_27 (operands, insn))
28371 : return 2748; /* kiorqi */
28372 : break;
28373 :
28374 196 : case 10:
28375 196 : if (insn_condition_27 (operands, insn))
28376 : return 2751; /* kiorhi */
28377 : break;
28378 :
28379 65 : case 11:
28380 65 : if (insn_condition_120 (operands, insn))
28381 : return 2754; /* kiorsi */
28382 : break;
28383 :
28384 65 : case 12:
28385 65 : if (insn_condition_120 (operands, insn))
28386 : return 2757; /* kiordi */
28387 : break;
28388 :
28389 : default:
28390 : break;
28391 : }
28392 577538 : x5 = XVECEXP (x1, 0, 1);
28393 577538 : if (GET_CODE (x5) != CLOBBER
28394 577538 : || pattern593 (x1) != 0)
28395 : return -1;
28396 454513 : if (GET_CODE (x4) == SUBREG
28397 24187 : && known_eq (SUBREG_BYTE (x4), 0)
28398 478699 : && GET_MODE (x4) == E_QImode)
28399 : {
28400 24186 : res = recog_409 (x1, insn, pnum_clobbers);
28401 24186 : if (res >= 0)
28402 : return res;
28403 : }
28404 454394 : x6 = XEXP (x2, 0);
28405 454394 : operands[0] = x6;
28406 454394 : if (!nonimmediate_operand (operands[0], E_QImode))
28407 : return -1;
28408 453685 : operands[1] = x4;
28409 453685 : if (!nonimmediate_operand (operands[1], E_QImode))
28410 : return -1;
28411 435915 : x7 = XEXP (x3, 1);
28412 435915 : operands[2] = x7;
28413 435915 : if (!general_operand (operands[2], E_QImode)
28414 435915 : || !insn_condition_239 (operands, insn))
28415 11988 : return -1;
28416 : return 900; /* *iorqi_1 */
28417 :
28418 67189 : case ZERO_EXTEND:
28419 67189 : if (GET_MODE (x4) != E_DImode
28420 67189 : || pattern594 (x1) != 0)
28421 : return -1;
28422 18213 : x8 = XEXP (x4, 0);
28423 18213 : operands[1] = x8;
28424 18213 : if (!nonimmediate_operand (operands[1], E_SImode))
28425 : return -1;
28426 1529 : x7 = XEXP (x3, 1);
28427 1529 : operands[2] = x7;
28428 1529 : if (!x86_64_zext_immediate_operand (operands[2], E_DImode)
28429 1529 : || !insn_condition_717 (operands, insn))
28430 1529 : return -1;
28431 : return 897; /* *iorsi_1_zext_imm */
28432 :
28433 38627 : case LSHIFTRT:
28434 38627 : switch (pattern408 (x1))
28435 : {
28436 7403 : case 0:
28437 7403 : x7 = XEXP (x3, 1);
28438 7403 : x9 = XEXP (x7, 0);
28439 7403 : x10 = XEXP (x9, 0);
28440 7403 : x11 = XEXP (x10, 0);
28441 7403 : operands[1] = x11;
28442 7403 : if (nonimmediate_operand (operands[0], E_DImode))
28443 : {
28444 7403 : x12 = XEXP (x4, 1);
28445 7403 : x13 = XEXP (x12, 0);
28446 7403 : operands[2] = x13;
28447 7403 : x8 = XEXP (x4, 0);
28448 7403 : if (rtx_equal_p (x8, operands[0]))
28449 : {
28450 7260 : x14 = XEXP (x9, 1);
28451 7260 : x15 = XEXP (x14, 1);
28452 7260 : x16 = XEXP (x15, 0);
28453 7260 : if (rtx_equal_p (x16, operands[2])
28454 7260 : && insn_condition_563 (operands, insn))
28455 : return 1229; /* x86_64_shrd */
28456 : }
28457 : }
28458 143 : operands[2] = x11;
28459 143 : if (!register_operand (operands[0], E_DImode))
28460 : return -1;
28461 143 : x8 = XEXP (x4, 0);
28462 143 : operands[1] = x8;
28463 143 : if (!nonimmediate_operand (operands[1], E_DImode))
28464 : return -1;
28465 143 : x12 = XEXP (x4, 1);
28466 143 : x13 = XEXP (x12, 0);
28467 143 : operands[3] = x13;
28468 143 : x14 = XEXP (x9, 1);
28469 143 : x15 = XEXP (x14, 1);
28470 143 : x16 = XEXP (x15, 0);
28471 143 : if (!rtx_equal_p (x16, operands[3])
28472 143 : || !insn_condition_298 (operands, insn))
28473 141 : return -1;
28474 : return 1235; /* x86_64_shrd_ndd */
28475 :
28476 6259 : case 1:
28477 6259 : x7 = XEXP (x3, 1);
28478 6259 : x9 = XEXP (x7, 0);
28479 6259 : x10 = XEXP (x9, 0);
28480 6259 : x11 = XEXP (x10, 0);
28481 6259 : operands[1] = x11;
28482 6259 : if (nonimmediate_operand (operands[0], E_SImode))
28483 : {
28484 6259 : x12 = XEXP (x4, 1);
28485 6259 : x13 = XEXP (x12, 0);
28486 6259 : operands[2] = x13;
28487 6259 : x8 = XEXP (x4, 0);
28488 6259 : if (rtx_equal_p (x8, operands[0]))
28489 : {
28490 6258 : x14 = XEXP (x9, 1);
28491 6258 : x15 = XEXP (x14, 1);
28492 6258 : x16 = XEXP (x15, 0);
28493 6258 : if (rtx_equal_p (x16, operands[2]))
28494 : return 1265; /* x86_shrd */
28495 : }
28496 : }
28497 1 : operands[2] = x11;
28498 1 : if (!register_operand (operands[0], E_SImode))
28499 : return -1;
28500 1 : x8 = XEXP (x4, 0);
28501 1 : operands[1] = x8;
28502 1 : if (!nonimmediate_operand (operands[1], E_SImode))
28503 : return -1;
28504 1 : x12 = XEXP (x4, 1);
28505 1 : x13 = XEXP (x12, 0);
28506 1 : operands[3] = x13;
28507 1 : x14 = XEXP (x9, 1);
28508 1 : x15 = XEXP (x14, 1);
28509 1 : x16 = XEXP (x15, 0);
28510 1 : if (!rtx_equal_p (x16, operands[3])
28511 1 : || !insn_condition_298 (operands, insn))
28512 0 : return -1;
28513 : return 1271; /* x86_shrd_ndd */
28514 :
28515 524 : case 2:
28516 524 : x12 = XEXP (x4, 1);
28517 524 : operands[2] = x12;
28518 524 : if (pattern1741 (x3) == 0
28519 524 : && insn_condition_565 (operands, insn))
28520 : return 1241; /* x86_64_shrd_1 */
28521 130 : operands[3] = x12;
28522 130 : if (pattern1742 (x3) != 0
28523 130 : || !insn_condition_567 (operands, insn))
28524 128 : return -1;
28525 : return 1247; /* x86_64_shrd_ndd_1 */
28526 :
28527 137 : case 3:
28528 137 : x12 = XEXP (x4, 1);
28529 137 : operands[2] = x12;
28530 137 : if (pattern1743 (x3) == 0
28531 137 : && insn_condition_569 (operands, insn))
28532 : return 1277; /* x86_shrd_1 */
28533 22 : operands[3] = x12;
28534 22 : if (pattern1744 (x3) != 0
28535 22 : || !insn_condition_571 (operands, insn))
28536 20 : return -1;
28537 : return 1283; /* x86_shrd_ndd_1 */
28538 :
28539 262 : case 4:
28540 262 : if (!insn_condition_579 (operands, insn))
28541 244 : return -1;
28542 : return 1254; /* *x86_64_shrd_shld_1_nozext */
28543 :
28544 94 : case 5:
28545 94 : if (!insn_condition_581 (operands, insn))
28546 94 : return -1;
28547 : return 1290; /* *x86_shrd_shld_1_nozext */
28548 :
28549 75 : case 6:
28550 75 : x7 = XEXP (x3, 1);
28551 75 : x9 = XEXP (x7, 0);
28552 75 : operands[1] = x9;
28553 75 : if (nonimmediate_operand (operands[0], E_DImode))
28554 : {
28555 75 : x12 = XEXP (x4, 1);
28556 75 : operands[2] = x12;
28557 75 : x8 = XEXP (x4, 0);
28558 75 : if (rtx_equal_p (x8, operands[0]))
28559 : {
28560 0 : x17 = XEXP (x7, 1);
28561 0 : x18 = XEXP (x17, 1);
28562 0 : if (rtx_equal_p (x18, operands[2])
28563 0 : && insn_condition_582 (operands, insn))
28564 : return 1257; /* *x86_64_shrd_2 */
28565 : }
28566 : }
28567 75 : operands[2] = x9;
28568 75 : if (!register_operand (operands[0], E_DImode))
28569 : return -1;
28570 75 : x8 = XEXP (x4, 0);
28571 75 : operands[1] = x8;
28572 75 : if (!nonimmediate_operand (operands[1], E_DImode))
28573 : return -1;
28574 75 : x12 = XEXP (x4, 1);
28575 75 : operands[3] = x12;
28576 75 : x17 = XEXP (x7, 1);
28577 75 : x18 = XEXP (x17, 1);
28578 75 : if (!rtx_equal_p (x18, operands[3])
28579 75 : || !insn_condition_606 (operands, insn))
28580 75 : return -1;
28581 : return 1260; /* *x86_64_shrd_ndd_2 */
28582 :
28583 12 : case 7:
28584 12 : x7 = XEXP (x3, 1);
28585 12 : x9 = XEXP (x7, 0);
28586 12 : operands[1] = x9;
28587 12 : if (nonimmediate_operand (operands[0], E_SImode))
28588 : {
28589 12 : x12 = XEXP (x4, 1);
28590 12 : operands[2] = x12;
28591 12 : x8 = XEXP (x4, 0);
28592 12 : if (rtx_equal_p (x8, operands[0]))
28593 : {
28594 0 : x17 = XEXP (x7, 1);
28595 0 : x18 = XEXP (x17, 1);
28596 0 : if (rtx_equal_p (x18, operands[2])
28597 0 : && insn_condition_582 (operands, insn))
28598 : return 1293; /* *x86_shrd_2 */
28599 : }
28600 : }
28601 12 : operands[2] = x9;
28602 12 : if (!register_operand (operands[0], E_SImode))
28603 : return -1;
28604 11 : x8 = XEXP (x4, 0);
28605 11 : operands[1] = x8;
28606 11 : if (!nonimmediate_operand (operands[1], E_SImode))
28607 : return -1;
28608 10 : x12 = XEXP (x4, 1);
28609 10 : operands[3] = x12;
28610 10 : x17 = XEXP (x7, 1);
28611 10 : x18 = XEXP (x17, 1);
28612 10 : if (!rtx_equal_p (x18, operands[3])
28613 10 : || !insn_condition_583 (operands, insn))
28614 8 : return -1;
28615 : return 1296; /* *x86_shrd_ndd_2 */
28616 :
28617 : default:
28618 : return -1;
28619 : }
28620 :
28621 3072 : case NOT:
28622 3072 : x8 = XEXP (x4, 0);
28623 3072 : if (GET_CODE (x8) != PLUS)
28624 : return -1;
28625 14 : x19 = XEXP (x8, 1);
28626 14 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
28627 14 : || pattern373 (x1) != 0)
28628 : return -1;
28629 0 : x20 = XEXP (x8, 0);
28630 0 : operands[1] = x20;
28631 0 : x7 = XEXP (x3, 1);
28632 0 : if (!rtx_equal_p (x7, operands[1]))
28633 : return -1;
28634 0 : switch (pattern1278 (x3))
28635 : {
28636 0 : case 0:
28637 0 : if (!insn_condition_758 (operands, insn))
28638 0 : return -1;
28639 : return 1746; /* *tbm_blci_si */
28640 :
28641 0 : case 1:
28642 0 : if (!insn_condition_759 (operands, insn))
28643 0 : return -1;
28644 : return 1747; /* *tbm_blci_di */
28645 :
28646 : default:
28647 : return -1;
28648 : }
28649 :
28650 23710 : case PLUS:
28651 23710 : x12 = XEXP (x4, 1);
28652 23710 : if (GET_CODE (x12) != CONST_INT
28653 23710 : || pattern378 (x1) != 0)
28654 : return -1;
28655 7142 : switch (XWINT (x12, 0))
28656 : {
28657 859 : case 1L:
28658 859 : switch (pattern1370 (x3))
28659 : {
28660 30 : case 0:
28661 30 : if (!insn_condition_758 (operands, insn))
28662 0 : return -1;
28663 : return 1752; /* *tbm_blcs_si */
28664 :
28665 34 : case 1:
28666 34 : if (!insn_condition_759 (operands, insn))
28667 4 : return -1;
28668 : return 1753; /* *tbm_blcs_di */
28669 :
28670 20 : case 2:
28671 20 : if (!insn_condition_758 (operands, insn))
28672 0 : return -1;
28673 : return 1758; /* *tbm_t1mskc_si */
28674 :
28675 20 : case 3:
28676 20 : if (!insn_condition_759 (operands, insn))
28677 0 : return -1;
28678 : return 1759; /* *tbm_t1mskc_di */
28679 :
28680 : default:
28681 : return -1;
28682 : }
28683 :
28684 1047 : case -1L:
28685 1047 : switch (pattern1370 (x3))
28686 : {
28687 50 : case 0:
28688 50 : if (!insn_condition_758 (operands, insn))
28689 20 : return -1;
28690 : return 1754; /* *tbm_blsfill_si */
28691 :
28692 288 : case 1:
28693 288 : if (!insn_condition_759 (operands, insn))
28694 258 : return -1;
28695 : return 1755; /* *tbm_blsfill_di */
28696 :
28697 20 : case 2:
28698 20 : if (!insn_condition_758 (operands, insn))
28699 0 : return -1;
28700 : return 1756; /* *tbm_blsic_si */
28701 :
28702 20 : case 3:
28703 20 : if (!insn_condition_759 (operands, insn))
28704 0 : return -1;
28705 : return 1757; /* *tbm_blsic_di */
28706 :
28707 : default:
28708 : return -1;
28709 : }
28710 :
28711 : default:
28712 : return -1;
28713 : }
28714 :
28715 303815 : case AND:
28716 303815 : if (GET_MODE (x4) != E_SImode)
28717 : return -1;
28718 57105 : x12 = XEXP (x4, 1);
28719 57105 : if (GET_CODE (x12) != CONST_INT
28720 55095 : || XWINT (x12, 0) != -65536L)
28721 : return -1;
28722 60 : x7 = XEXP (x3, 1);
28723 60 : if (GET_CODE (x7) != LSHIFTRT
28724 0 : || GET_MODE (x7) != E_SImode)
28725 : return -1;
28726 0 : x9 = XEXP (x7, 0);
28727 0 : if (GET_CODE (x9) != BSWAP
28728 0 : || GET_MODE (x9) != E_SImode)
28729 : return -1;
28730 0 : x17 = XEXP (x7, 1);
28731 0 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 16])
28732 : return -1;
28733 0 : x5 = XVECEXP (x1, 0, 1);
28734 0 : if (pattern401 (x5) != 0)
28735 : return -1;
28736 0 : x6 = XEXP (x2, 0);
28737 0 : operands[0] = x6;
28738 0 : if (!register_operand (operands[0], E_SImode)
28739 0 : || GET_MODE (x3) != E_SImode)
28740 : return -1;
28741 0 : x8 = XEXP (x4, 0);
28742 0 : operands[1] = x8;
28743 0 : if (!register_operand (operands[1], E_SImode))
28744 : return -1;
28745 0 : x10 = XEXP (x9, 0);
28746 0 : if (!rtx_equal_p (x10, operands[1]))
28747 0 : return -1;
28748 : return 1785; /* bswaphisi2_lowpart */
28749 :
28750 : default:
28751 : return -1;
28752 : }
28753 : }
28754 :
28755 : int
28756 1921376 : recog_422 (rtx x1 ATTRIBUTE_UNUSED,
28757 : rtx_insn *insn ATTRIBUTE_UNUSED,
28758 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28759 : {
28760 1921376 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28761 1921376 : rtx x2, x3, x4, x5, x6;
28762 1921376 : int res ATTRIBUTE_UNUSED;
28763 1921376 : x2 = XVECEXP (x1, 0, 1);
28764 1921376 : if (pattern286 (x2,
28765 : E_CCmode,
28766 : 17) != 0)
28767 : return -1;
28768 1855690 : x3 = XVECEXP (x1, 0, 0);
28769 1855690 : switch (pattern992 (x3))
28770 : {
28771 1582035 : case 0:
28772 1582035 : x4 = XEXP (x3, 0);
28773 1582035 : operands[0] = x4;
28774 1582035 : x5 = XEXP (x3, 1);
28775 1582035 : x6 = XEXP (x5, 1);
28776 1582035 : switch (GET_CODE (x6))
28777 : {
28778 58126 : case SUBREG:
28779 58126 : switch (pattern1477 (x5))
28780 : {
28781 206 : case 0:
28782 206 : if (insn_condition_826 (operands, insn))
28783 : return 1207; /* *ashrdi3_doubleword_mask */
28784 : break;
28785 :
28786 46 : case 1:
28787 46 : if (insn_condition_201 (operands, insn))
28788 : return 1209; /* *ashrti3_doubleword_mask */
28789 : break;
28790 :
28791 : default:
28792 : break;
28793 : }
28794 : break;
28795 :
28796 1507946 : case CONST_INT:
28797 1507946 : operands[2] = x6;
28798 1507946 : if (const_int_operand (operands[2], E_QImode)
28799 1507946 : && nonimmediate_operand (operands[0], E_SImode)
28800 260327 : && GET_MODE (x5) == E_SImode
28801 260327 : && nonimmediate_operand (operands[1], E_SImode)
28802 1767909 : && insn_condition_851 (operands, insn))
28803 : return 1299; /* ashrsi3_cvt */
28804 : break;
28805 :
28806 : default:
28807 : break;
28808 : }
28809 1522841 : operands[2] = x6;
28810 1522841 : res = recog_421 (x1, insn, pnum_clobbers);
28811 1522841 : if (res >= 0)
28812 : return res;
28813 22298 : if (GET_CODE (x6) != SUBREG
28814 6571 : || maybe_ne (SUBREG_BYTE (x6), 0)
28815 28869 : || GET_MODE (x6) != E_QImode)
28816 : return -1;
28817 6571 : switch (pattern1479 (x3))
28818 : {
28819 3204 : case 0:
28820 3204 : if (!insn_condition_852 (operands, insn))
28821 3038 : return -1;
28822 : return 1378; /* *ashrsi3_mask */
28823 :
28824 203 : case 1:
28825 203 : if (!insn_condition_853 (operands, insn))
28826 17 : return -1;
28827 : return 1381; /* *ashrdi3_mask */
28828 :
28829 0 : case 2:
28830 0 : if (!insn_condition_854 (operands, insn))
28831 0 : return -1;
28832 : return 1390; /* *ashrsi3_add */
28833 :
28834 0 : case 3:
28835 0 : if (!insn_condition_855 (operands, insn))
28836 0 : return -1;
28837 : return 1393; /* *ashrdi3_add */
28838 :
28839 0 : case 4:
28840 0 : if (!insn_condition_856 (operands, insn))
28841 0 : return -1;
28842 : return 1402; /* *ashrsi3_sub */
28843 :
28844 0 : case 5:
28845 0 : if (!insn_condition_857 (operands, insn))
28846 0 : return -1;
28847 : return 1405; /* *ashrdi3_sub */
28848 :
28849 : default:
28850 : return -1;
28851 : }
28852 :
28853 26 : case 1:
28854 26 : if (register_operand (operands[0], E_DImode)
28855 26 : && register_operand (operands[1], E_DImode)
28856 52 : && insn_condition_826 (operands, insn))
28857 : return 1211; /* *ashrdi3_doubleword_mask_1 */
28858 26 : if (!nonimmediate_operand (operands[0], E_DImode)
28859 26 : || !nonimmediate_operand (operands[1], E_DImode)
28860 52 : || !insn_condition_853 (operands, insn))
28861 24 : return -1;
28862 : return 1387; /* *ashrdi3_mask_1 */
28863 :
28864 1 : case 2:
28865 1 : if (!insn_condition_201 (operands, insn))
28866 0 : return -1;
28867 : return 1213; /* *ashrti3_doubleword_mask_1 */
28868 :
28869 3 : case 3:
28870 3 : if (!insn_condition_852 (operands, insn))
28871 1 : return -1;
28872 : return 1384; /* *ashrsi3_mask_1 */
28873 :
28874 458 : case 4:
28875 458 : if (!insn_condition_854 (operands, insn))
28876 450 : return -1;
28877 : return 1396; /* *ashrsi3_add_1 */
28878 :
28879 629 : case 5:
28880 629 : if (!insn_condition_855 (operands, insn))
28881 620 : return -1;
28882 : return 1399; /* *ashrdi3_add_1 */
28883 :
28884 66 : case 6:
28885 66 : if (!insn_condition_856 (operands, insn))
28886 58 : return -1;
28887 : return 1408; /* *ashrsi3_sub_1 */
28888 :
28889 16 : case 7:
28890 16 : if (!insn_condition_857 (operands, insn))
28891 8 : return -1;
28892 : return 1411; /* *ashrdi3_sub_1 */
28893 :
28894 11473 : case 8:
28895 11473 : if (!insn_condition_858 (operands, insn))
28896 11473 : return -1;
28897 : return 1412; /* *extenddi2_doubleword_highpart */
28898 :
28899 5934 : case 9:
28900 5934 : if (!insn_condition_211 (operands, insn))
28901 242 : return -1;
28902 : return 1413; /* *extendti2_doubleword_highpart */
28903 :
28904 : default:
28905 : return -1;
28906 : }
28907 : }
28908 :
28909 : int
28910 203869 : recog_426 (rtx x1 ATTRIBUTE_UNUSED,
28911 : rtx_insn *insn ATTRIBUTE_UNUSED,
28912 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28913 : {
28914 203869 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28915 203869 : rtx x2, x3, x4, x5, x6, x7;
28916 203869 : int res ATTRIBUTE_UNUSED;
28917 203869 : x2 = XVECEXP (x1, 0, 0);
28918 203869 : x3 = XEXP (x2, 0);
28919 203869 : operands[0] = x3;
28920 203869 : x4 = XEXP (x2, 1);
28921 203869 : x5 = XEXP (x4, 0);
28922 203869 : operands[1] = x5;
28923 203869 : x6 = XVECEXP (x1, 0, 1);
28924 203869 : switch (GET_CODE (x6))
28925 : {
28926 86869 : case CLOBBER:
28927 86869 : x7 = XEXP (x6, 0);
28928 86869 : switch (pattern735 (x7))
28929 : {
28930 24792 : case 0:
28931 24792 : if (!register_operand (operands[0], E_DImode)
28932 24767 : || GET_MODE (x4) != E_DImode
28933 49559 : || !general_operand (operands[1], E_DImode))
28934 : return -1;
28935 21612 : if (insn_condition_819 (operands, insn))
28936 : return 1031; /* *absdi2_doubleword */
28937 21045 : if (!insn_condition_820 (operands, insn))
28938 0 : return -1;
28939 : return 1038; /* *absdi2_1 */
28940 :
28941 812 : case 1:
28942 812 : if (!register_operand (operands[0], E_TImode)
28943 812 : || GET_MODE (x4) != E_TImode
28944 812 : || !general_operand (operands[1], E_TImode)
28945 1608 : || !insn_condition_398 (operands, insn))
28946 16 : return -1;
28947 : return 1032; /* *absti2_doubleword */
28948 :
28949 421 : case 2:
28950 421 : if (!register_operand (operands[0], E_QImode)
28951 401 : || GET_MODE (x4) != E_QImode
28952 401 : || !general_operand (operands[1], E_QImode)
28953 790 : || !insn_condition_399 (operands, insn))
28954 52 : return -1;
28955 : return 1035; /* *absqi2_1 */
28956 :
28957 2931 : case 3:
28958 2931 : if (!register_operand (operands[0], E_HImode)
28959 2927 : || GET_MODE (x4) != E_HImode
28960 2927 : || !general_operand (operands[1], E_HImode)
28961 5633 : || !insn_condition_400 (operands, insn))
28962 229 : return -1;
28963 : return 1036; /* *abshi2_1 */
28964 :
28965 14967 : case 4:
28966 14967 : if (!register_operand (operands[0], E_SImode)
28967 14957 : || GET_MODE (x4) != E_SImode
28968 14957 : || !general_operand (operands[1], E_SImode)
28969 28427 : || !insn_condition_821 (operands, insn))
28970 1507 : return -1;
28971 : return 1037; /* *abssi2_1 */
28972 :
28973 1889 : case 5:
28974 1889 : if (!register_operand (operands[0], E_SFmode)
28975 1889 : || GET_MODE (x4) != E_SFmode
28976 1889 : || !register_operand (operands[1], E_SFmode)
28977 3535 : || !insn_condition_393 (operands, insn))
28978 243 : return -1;
28979 : return 1046; /* *abssf2_i387_1 */
28980 :
28981 4050 : case 6:
28982 4050 : if (!register_operand (operands[0], E_DFmode)
28983 4050 : || GET_MODE (x4) != E_DFmode
28984 4050 : || !register_operand (operands[1], E_DFmode)
28985 7657 : || !insn_condition_395 (operands, insn))
28986 443 : return -1;
28987 : return 1048; /* *absdf2_i387_1 */
28988 :
28989 37007 : case 7:
28990 37007 : if (!register_operand (operands[0], E_XFmode)
28991 36997 : || GET_MODE (x4) != E_XFmode
28992 36997 : || !register_operand (operands[1], E_XFmode)
28993 69779 : || !insn_condition_396 (operands, insn))
28994 4235 : return -1;
28995 : return 1050; /* *absxf2_i387_1 */
28996 :
28997 : default:
28998 : return -1;
28999 : }
29000 :
29001 110455 : case USE:
29002 110455 : switch (pattern739 (x1, pnum_clobbers))
29003 : {
29004 22463 : case 0:
29005 22463 : if (!insn_condition_148 (operands, insn))
29006 0 : return -1;
29007 : return 1043; /* *abstf2_1 */
29008 :
29009 0 : case 1:
29010 0 : if (!insn_condition_40 (operands, insn))
29011 : return -1;
29012 0 : *pnum_clobbers = 1;
29013 0 : return 1052; /* *abshf2_1 */
29014 :
29015 1189 : case 2:
29016 1189 : if (!insn_condition_2199 (operands, insn))
29017 : return -1;
29018 1189 : *pnum_clobbers = 1;
29019 1189 : return 1054; /* *abssf2_1 */
29020 :
29021 1698 : case 3:
29022 1698 : if (!insn_condition_2200 (operands, insn))
29023 : return -1;
29024 1698 : *pnum_clobbers = 1;
29025 1698 : return 1056; /* *absdf2_1 */
29026 :
29027 724 : case 4:
29028 724 : if (!insn_condition_228 (operands, insn))
29029 0 : return -1;
29030 : return 2209; /* *mmx_absv2sf2 */
29031 :
29032 6 : case 5:
29033 6 : if (!insn_condition_148 (operands, insn))
29034 0 : return -1;
29035 : return 2255; /* *mmx_absv2bf */
29036 :
29037 6 : case 6:
29038 6 : if (!insn_condition_229 (operands, insn))
29039 0 : return -1;
29040 : return 2257; /* *mmx_absv4bf */
29041 :
29042 6 : case 7:
29043 6 : if (!insn_condition_148 (operands, insn))
29044 0 : return -1;
29045 : return 2259; /* *mmx_absv2hf */
29046 :
29047 6 : case 8:
29048 6 : if (!insn_condition_229 (operands, insn))
29049 0 : return -1;
29050 : return 2261; /* *mmx_absv4hf */
29051 :
29052 6 : case 9:
29053 6 : if (!insn_condition_1336 (operands, insn))
29054 0 : return -1;
29055 : return 2828; /* *absv32bf2 */
29056 :
29057 6 : case 10:
29058 6 : if (!insn_condition_887 (operands, insn))
29059 0 : return -1;
29060 : return 2830; /* *absv16bf2 */
29061 :
29062 6 : case 11:
29063 6 : if (!insn_condition_236 (operands, insn))
29064 0 : return -1;
29065 : return 2832; /* *absv8bf2 */
29066 :
29067 17 : case 12:
29068 17 : if (!insn_condition_1336 (operands, insn))
29069 0 : return -1;
29070 : return 2834; /* *absv32hf2 */
29071 :
29072 18 : case 13:
29073 18 : if (!insn_condition_887 (operands, insn))
29074 0 : return -1;
29075 : return 2836; /* *absv16hf2 */
29076 :
29077 18 : case 14:
29078 18 : if (!insn_condition_236 (operands, insn))
29079 0 : return -1;
29080 : return 2838; /* *absv8hf2 */
29081 :
29082 32 : case 15:
29083 32 : if (!insn_condition_1336 (operands, insn))
29084 0 : return -1;
29085 : return 2840; /* *absv16sf2 */
29086 :
29087 10 : case 16:
29088 10 : if (!insn_condition_887 (operands, insn))
29089 0 : return -1;
29090 : return 2842; /* *absv8sf2 */
29091 :
29092 434 : case 17:
29093 434 : if (!insn_condition_148 (operands, insn))
29094 0 : return -1;
29095 : return 2844; /* *absv4sf2 */
29096 :
29097 0 : case 18:
29098 0 : if (!insn_condition_1336 (operands, insn))
29099 0 : return -1;
29100 : return 2846; /* *absv8df2 */
29101 :
29102 204 : case 19:
29103 204 : if (!insn_condition_887 (operands, insn))
29104 0 : return -1;
29105 : return 2848; /* *absv4df2 */
29106 :
29107 1044 : case 20:
29108 1044 : if (!insn_condition_236 (operands, insn))
29109 0 : return -1;
29110 : return 2850; /* *absv2df2 */
29111 :
29112 : default:
29113 : return -1;
29114 : }
29115 :
29116 : default:
29117 : return -1;
29118 : }
29119 : }
29120 :
29121 : int
29122 87280 : recog_434 (rtx x1 ATTRIBUTE_UNUSED,
29123 : rtx_insn *insn ATTRIBUTE_UNUSED,
29124 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29125 : {
29126 87280 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29127 87280 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29128 87280 : rtx x10;
29129 87280 : int res ATTRIBUTE_UNUSED;
29130 87280 : x2 = XVECEXP (x1, 0, 0);
29131 87280 : x3 = XEXP (x2, 1);
29132 87280 : x4 = XEXP (x3, 0);
29133 87280 : if (GET_CODE (x4) != TRUNCATE)
29134 : return -1;
29135 12 : x5 = XEXP (x3, 1);
29136 12 : if (GET_CODE (x5) != TRUNCATE)
29137 : return -1;
29138 0 : x6 = XVECEXP (x1, 0, 1);
29139 0 : if (GET_CODE (x6) != USE)
29140 : return -1;
29141 0 : x7 = XEXP (x2, 0);
29142 0 : operands[0] = x7;
29143 0 : x8 = XEXP (x4, 0);
29144 0 : operands[1] = x8;
29145 0 : x9 = XEXP (x5, 0);
29146 0 : operands[2] = x9;
29147 0 : x10 = XEXP (x6, 0);
29148 0 : operands[3] = x10;
29149 0 : if (!nonimmediate_operand (operands[3], E_V16QImode))
29150 : return -1;
29151 0 : switch (GET_MODE (operands[0]))
29152 : {
29153 0 : case E_V4SImode:
29154 0 : if (pattern1375 (x3,
29155 : E_V2DImode,
29156 : E_V2SImode,
29157 : E_V4SImode) != 0
29158 0 : || !insn_condition_1647 (operands, insn))
29159 0 : return -1;
29160 : return 7705; /* xop_pperm_pack_v2di_v4si */
29161 :
29162 0 : case E_V8HImode:
29163 0 : if (pattern1375 (x3,
29164 : E_V4SImode,
29165 : E_V4HImode,
29166 : E_V8HImode) != 0
29167 0 : || !insn_condition_1647 (operands, insn))
29168 0 : return -1;
29169 : return 7706; /* xop_pperm_pack_v4si_v8hi */
29170 :
29171 0 : case E_V16QImode:
29172 0 : if (pattern1375 (x3,
29173 : E_V8HImode,
29174 : E_V8QImode,
29175 : E_V16QImode) != 0
29176 0 : || !insn_condition_1647 (operands, insn))
29177 0 : return -1;
29178 : return 7707; /* xop_pperm_pack_v8hi_v16qi */
29179 :
29180 : default:
29181 : return -1;
29182 : }
29183 : }
29184 :
29185 : int
29186 30526 : recog_435 (rtx x1 ATTRIBUTE_UNUSED,
29187 : rtx_insn *insn ATTRIBUTE_UNUSED,
29188 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29189 : {
29190 30526 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29191 30526 : rtx x2, x3, x4, x5, x6, x7;
29192 30526 : int res ATTRIBUTE_UNUSED;
29193 30526 : x2 = XVECEXP (x1, 0, 0);
29194 30526 : x3 = XEXP (x2, 1);
29195 30526 : x4 = XEXP (x3, 0);
29196 30526 : if (GET_CODE (x4) != ZERO_EXTEND)
29197 : return -1;
29198 364 : x5 = XVECEXP (x1, 0, 1);
29199 364 : if (pattern422 (x5,
29200 : 173,
29201 : 0) != 0)
29202 : return -1;
29203 342 : x6 = XEXP (x2, 0);
29204 342 : operands[0] = x6;
29205 342 : x7 = XEXP (x4, 0);
29206 342 : operands[1] = x7;
29207 342 : switch (GET_MODE (operands[0]))
29208 : {
29209 63 : case E_V8DImode:
29210 63 : if (pattern1286 (x3,
29211 : E_V8DImode,
29212 : E_QImode,
29213 : E_DImode) != 0
29214 63 : || !insn_condition_1354 (operands, insn))
29215 2 : return -1;
29216 : return 8041; /* avx512cd_maskb_vec_dupv8di */
29217 :
29218 54 : case E_V4DImode:
29219 54 : if (pattern1286 (x3,
29220 : E_V4DImode,
29221 : E_QImode,
29222 : E_DImode) != 0
29223 54 : || !insn_condition_1355 (operands, insn))
29224 2 : return -1;
29225 : return 8042; /* avx512cd_maskb_vec_dupv4di */
29226 :
29227 54 : case E_V2DImode:
29228 54 : if (pattern1286 (x3,
29229 : E_V2DImode,
29230 : E_QImode,
29231 : E_DImode) != 0
29232 54 : || !insn_condition_1355 (operands, insn))
29233 2 : return -1;
29234 : return 8043; /* avx512cd_maskb_vec_dupv2di */
29235 :
29236 63 : case E_V16SImode:
29237 63 : if (pattern1286 (x3,
29238 : E_V16SImode,
29239 : E_HImode,
29240 : E_SImode) != 0
29241 63 : || !insn_condition_1354 (operands, insn))
29242 2 : return -1;
29243 : return 8044; /* avx512cd_maskw_vec_dupv16si */
29244 :
29245 54 : case E_V8SImode:
29246 54 : if (pattern1286 (x3,
29247 : E_V8SImode,
29248 : E_HImode,
29249 : E_SImode) != 0
29250 54 : || !insn_condition_1355 (operands, insn))
29251 2 : return -1;
29252 : return 8045; /* avx512cd_maskw_vec_dupv8si */
29253 :
29254 54 : case E_V4SImode:
29255 54 : if (pattern1286 (x3,
29256 : E_V4SImode,
29257 : E_HImode,
29258 : E_SImode) != 0
29259 54 : || !insn_condition_1355 (operands, insn))
29260 2 : return -1;
29261 : return 8046; /* avx512cd_maskw_vec_dupv4si */
29262 :
29263 : default:
29264 : return -1;
29265 : }
29266 : }
29267 :
29268 : int
29269 126609782 : recog_438 (rtx x1 ATTRIBUTE_UNUSED,
29270 : rtx_insn *insn ATTRIBUTE_UNUSED,
29271 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29272 : {
29273 126609782 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29274 126609782 : rtx x2, x3, x4, x5;
29275 126609782 : int res ATTRIBUTE_UNUSED;
29276 126609782 : x2 = XVECEXP (x1, 0, 0);
29277 126609782 : x3 = XEXP (x2, 1);
29278 126609782 : switch (GET_CODE (x3))
29279 : {
29280 5682281 : case CONST_INT:
29281 5682281 : case CONST_WIDE_INT:
29282 5682281 : case CONST_POLY_INT:
29283 5682281 : case CONST_FIXED:
29284 5682281 : case CONST_DOUBLE:
29285 5682281 : case CONST_VECTOR:
29286 5682281 : case CONST:
29287 5682281 : case REG:
29288 5682281 : case SUBREG:
29289 5682281 : case MEM:
29290 5682281 : case LABEL_REF:
29291 5682281 : case SYMBOL_REF:
29292 5682281 : case HIGH:
29293 5682281 : res = recog_372 (x1, insn, pnum_clobbers);
29294 5682281 : if (res >= 0)
29295 : return res;
29296 : break;
29297 :
29298 442759 : case UNSPEC:
29299 442759 : res = recog_378 (x1, insn, pnum_clobbers);
29300 442759 : if (res >= 0)
29301 : return res;
29302 : break;
29303 :
29304 267377 : case ZERO_EXTEND:
29305 267377 : res = recog_382 (x1, insn, pnum_clobbers);
29306 267377 : if (res >= 0)
29307 : return res;
29308 : break;
29309 :
29310 24 : case UNSIGNED_FIX:
29311 24 : res = recog_383 (x1, insn, pnum_clobbers);
29312 24 : if (res >= 0)
29313 : return res;
29314 : break;
29315 :
29316 54667 : case FIX:
29317 54667 : res = recog_384 (x1, insn, pnum_clobbers);
29318 54667 : if (res >= 0)
29319 : return res;
29320 : break;
29321 :
29322 89035 : case FLOAT:
29323 89035 : res = recog_385 (x1, insn, pnum_clobbers);
29324 89035 : if (res >= 0)
29325 : return res;
29326 : break;
29327 :
29328 70 : case UNSIGNED_FLOAT:
29329 70 : res = recog_386 (x1, insn, pnum_clobbers);
29330 70 : if (res >= 0)
29331 : return res;
29332 : break;
29333 :
29334 69559088 : case PLUS:
29335 69559088 : res = recog_389 (x1, insn, pnum_clobbers);
29336 69559088 : if (res >= 0)
29337 : return res;
29338 : break;
29339 :
29340 9785938 : case COMPARE:
29341 9785938 : res = recog_401 (x1, insn, pnum_clobbers);
29342 9785938 : if (res >= 0)
29343 : return res;
29344 : break;
29345 :
29346 848855 : case NE:
29347 848855 : case EQ:
29348 848855 : case GE:
29349 848855 : case GT:
29350 848855 : case LE:
29351 848855 : case LT:
29352 848855 : case LTGT:
29353 848855 : case GEU:
29354 848855 : case GTU:
29355 848855 : case LEU:
29356 848855 : case LTU:
29357 848855 : case UNORDERED:
29358 848855 : case ORDERED:
29359 848855 : case UNEQ:
29360 848855 : case UNGE:
29361 848855 : case UNGT:
29362 848855 : case UNLE:
29363 848855 : case UNLT:
29364 848855 : switch (GET_CODE (x3))
29365 : {
29366 486371 : case NE:
29367 486371 : case EQ:
29368 486371 : if (GET_CODE (x3) == EQ)
29369 : {
29370 422262 : res = recog_402 (x1, insn, pnum_clobbers);
29371 422262 : if (res >= 0)
29372 : return res;
29373 : }
29374 298498 : operands[1] = x3;
29375 298498 : switch (pattern581 (x1))
29376 : {
29377 1 : case 0:
29378 1 : if (insn_condition_11 (operands, insn))
29379 : return 2801; /* *kortest_cmpqi_setcc */
29380 : break;
29381 :
29382 4 : case 1:
29383 4 : if (insn_condition_12 (operands, insn))
29384 : return 2802; /* *kortest_cmphi_setcc */
29385 : break;
29386 :
29387 1 : case 2:
29388 1 : if (insn_condition_12 (operands, insn))
29389 : return 2803; /* *kortest_cmpsi_setcc */
29390 : break;
29391 :
29392 5 : case 3:
29393 5 : if (insn_condition_13 (operands, insn))
29394 : return 2804; /* *kortest_cmpdi_setcc */
29395 : break;
29396 :
29397 : default:
29398 : break;
29399 : }
29400 : break;
29401 :
29402 28807 : case GT:
29403 28807 : if (pattern399 (x1) == 0
29404 28807 : && insn_condition_113 (operands, insn))
29405 : return 2230; /* mmx_gtv2sf3 */
29406 : break;
29407 :
29408 48625 : case GE:
29409 48625 : if (pattern399 (x1) == 0
29410 48625 : && insn_condition_113 (operands, insn))
29411 : return 2231; /* mmx_gev2sf3 */
29412 : break;
29413 :
29414 : default:
29415 : break;
29416 : }
29417 660831 : operands[1] = x3;
29418 660831 : switch (pattern400 (x1))
29419 : {
29420 14 : case 0:
29421 14 : if (insn_condition_428 (operands, insn))
29422 : return 1578; /* *setcc_hi_1_and */
29423 : break;
29424 :
29425 1762 : case 1:
29426 1762 : if (insn_condition_428 (operands, insn))
29427 : return 1579; /* *setcc_si_1_and */
29428 : break;
29429 :
29430 : default:
29431 : break;
29432 : }
29433 : break;
29434 :
29435 6297241 : case MINUS:
29436 6297241 : res = recog_405 (x1, insn, pnum_clobbers);
29437 6297241 : if (res >= 0)
29438 : return res;
29439 : break;
29440 :
29441 4704711 : case IF_THEN_ELSE:
29442 4704711 : res = recog_407 (x1, insn, pnum_clobbers);
29443 4704711 : if (res >= 0)
29444 : return res;
29445 : break;
29446 :
29447 3652265 : case MULT:
29448 3652265 : res = recog_408 (x1, insn, pnum_clobbers);
29449 3652265 : if (res >= 0)
29450 : return res;
29451 : break;
29452 :
29453 124950 : case DIV:
29454 124950 : if (pnum_clobbers != NULL)
29455 : {
29456 77136 : switch (pattern263 (x1))
29457 : {
29458 16221 : case 0:
29459 16221 : switch (GET_MODE (operands[0]))
29460 : {
29461 336 : case E_HImode:
29462 336 : if (pattern429 (x1,
29463 : E_HImode) == 0
29464 336 : && insn_condition_2218 (operands, insn))
29465 : {
29466 15 : *pnum_clobbers = 1;
29467 15 : return 679; /* *divmodhi4 */
29468 : }
29469 : break;
29470 :
29471 8499 : case E_SImode:
29472 8499 : if (pattern429 (x1,
29473 : E_SImode) == 0)
29474 : {
29475 3261 : *pnum_clobbers = 1;
29476 3261 : return 680; /* *divmodsi4 */
29477 : }
29478 : break;
29479 :
29480 7386 : case E_DImode:
29481 7386 : if (pattern429 (x1,
29482 : E_DImode) == 0
29483 7386 : && insn_condition_52 (operands, insn))
29484 : {
29485 2561 : *pnum_clobbers = 1;
29486 2561 : return 681; /* *divmoddi4 */
29487 : }
29488 : break;
29489 :
29490 : default:
29491 : break;
29492 : }
29493 : break;
29494 :
29495 4205 : case 1:
29496 4205 : if (const_int_operand (operands[2], E_SImode)
29497 3914 : && pattern1535 (x1) == 0
29498 6495 : && insn_condition_2219 (operands, insn))
29499 : {
29500 1785 : *pnum_clobbers = 1;
29501 1785 : return 709; /* *divmodsi4_const */
29502 : }
29503 : break;
29504 :
29505 : default:
29506 : break;
29507 : }
29508 : }
29509 : break;
29510 :
29511 195088 : case UDIV:
29512 195088 : if (pnum_clobbers != NULL)
29513 : {
29514 81255 : switch (pattern264 (x1))
29515 : {
29516 35340 : case 0:
29517 35340 : switch (GET_MODE (operands[0]))
29518 : {
29519 187 : case E_HImode:
29520 187 : if (pattern429 (x1,
29521 : E_HImode) == 0
29522 187 : && insn_condition_2218 (operands, insn))
29523 : {
29524 38 : *pnum_clobbers = 1;
29525 38 : return 682; /* *udivmodhi4 */
29526 : }
29527 : break;
29528 :
29529 10510 : case E_SImode:
29530 10510 : if (pattern429 (x1,
29531 : E_SImode) == 0)
29532 : {
29533 2536 : *pnum_clobbers = 1;
29534 2536 : return 683; /* *udivmodsi4 */
29535 : }
29536 : break;
29537 :
29538 24643 : case E_DImode:
29539 24643 : if (pattern429 (x1,
29540 : E_DImode) == 0
29541 24643 : && insn_condition_52 (operands, insn))
29542 : {
29543 7182 : *pnum_clobbers = 1;
29544 7182 : return 684; /* *udivmoddi4 */
29545 : }
29546 : break;
29547 :
29548 : default:
29549 : break;
29550 : }
29551 : break;
29552 :
29553 1011 : case 1:
29554 1011 : switch (GET_MODE (operands[0]))
29555 : {
29556 731 : case E_SImode:
29557 731 : if (pattern1536 (x1,
29558 : E_SImode) == 0
29559 731 : && insn_condition_2220 (operands, insn))
29560 : {
29561 0 : *pnum_clobbers = 1;
29562 0 : return 685; /* *udivmodsi4_pow2 */
29563 : }
29564 : break;
29565 :
29566 206 : case E_DImode:
29567 206 : if (pattern1536 (x1,
29568 : E_DImode) == 0
29569 206 : && insn_condition_2221 (operands, insn))
29570 : {
29571 0 : *pnum_clobbers = 1;
29572 0 : return 686; /* *udivmoddi4_pow2 */
29573 : }
29574 : break;
29575 :
29576 : default:
29577 : break;
29578 : }
29579 : break;
29580 :
29581 : default:
29582 : break;
29583 : }
29584 : }
29585 : break;
29586 :
29587 2557914 : case IOR:
29588 2557914 : res = recog_411 (x1, insn, pnum_clobbers);
29589 2557914 : if (res >= 0)
29590 : return res;
29591 : break;
29592 :
29593 5620573 : case AND:
29594 5620573 : res = recog_414 (x1, insn, pnum_clobbers);
29595 5620573 : if (res >= 0)
29596 : return res;
29597 : break;
29598 :
29599 920537 : case XOR:
29600 920537 : res = recog_416 (x1, insn, pnum_clobbers);
29601 920537 : if (res >= 0)
29602 : return res;
29603 : break;
29604 :
29605 5462925 : case ASHIFTRT:
29606 5462925 : case LSHIFTRT:
29607 5462925 : case SIGN_EXTRACT:
29608 5462925 : case ZERO_EXTRACT:
29609 5462925 : res = recog_423 (x1, insn, pnum_clobbers);
29610 5462925 : if (res >= 0)
29611 : return res;
29612 : break;
29613 :
29614 74708 : case NOT:
29615 74708 : res = recog_424 (x1, insn, pnum_clobbers);
29616 74708 : if (res >= 0)
29617 : return res;
29618 : break;
29619 :
29620 555972 : case NEG:
29621 555972 : res = recog_425 (x1, insn, pnum_clobbers);
29622 555972 : if (res >= 0)
29623 : return res;
29624 : break;
29625 :
29626 203869 : case ABS:
29627 203869 : res = recog_426 (x1, insn, pnum_clobbers);
29628 203869 : if (res >= 0)
29629 : return res;
29630 : break;
29631 :
29632 6663591 : case ASHIFT:
29633 6663591 : res = recog_427 (x1, insn, pnum_clobbers);
29634 6663591 : if (res >= 0)
29635 : return res;
29636 : break;
29637 :
29638 46318 : case ROTATE:
29639 46318 : switch (pattern249 (x1))
29640 : {
29641 44285 : case 0:
29642 44285 : x4 = XEXP (x3, 1);
29643 44285 : if (GET_CODE (x4) == SUBREG)
29644 : {
29645 15018 : switch (pattern1208 (x2))
29646 : {
29647 524 : case 0:
29648 524 : if (insn_condition_406 (operands, insn))
29649 : return 1416; /* *rotlqi3_mask */
29650 : break;
29651 :
29652 422 : case 1:
29653 422 : if (insn_condition_407 (operands, insn))
29654 : return 1418; /* *rotlhi3_mask */
29655 : break;
29656 :
29657 576 : case 2:
29658 576 : if (insn_condition_865 (operands, insn))
29659 : return 1420; /* *rotlsi3_mask */
29660 : break;
29661 :
29662 226 : case 3:
29663 226 : if (insn_condition_866 (operands, insn))
29664 : return 1422; /* *rotldi3_mask */
29665 : break;
29666 :
29667 0 : case 4:
29668 0 : if (insn_condition_408 (operands, insn))
29669 : return 1432; /* *rotlqi3_add */
29670 : break;
29671 :
29672 0 : case 5:
29673 0 : if (insn_condition_409 (operands, insn))
29674 : return 1434; /* *rotlhi3_add */
29675 : break;
29676 :
29677 0 : case 6:
29678 0 : if (insn_condition_867 (operands, insn))
29679 : return 1436; /* *rotlsi3_add */
29680 : break;
29681 :
29682 0 : case 7:
29683 0 : if (insn_condition_868 (operands, insn))
29684 : return 1438; /* *rotldi3_add */
29685 : break;
29686 :
29687 0 : case 8:
29688 0 : if (insn_condition_408 (operands, insn))
29689 : return 1448; /* *rotlqi3_sub */
29690 : break;
29691 :
29692 0 : case 9:
29693 0 : if (insn_condition_409 (operands, insn))
29694 : return 1450; /* *rotlhi3_sub */
29695 : break;
29696 :
29697 0 : case 10:
29698 0 : if (insn_condition_867 (operands, insn))
29699 : return 1452; /* *rotlsi3_sub */
29700 : break;
29701 :
29702 0 : case 11:
29703 0 : if (insn_condition_868 (operands, insn))
29704 : return 1454; /* *rotldi3_sub */
29705 : break;
29706 :
29707 : default:
29708 : break;
29709 : }
29710 : }
29711 42609 : operands[2] = x4;
29712 42609 : switch (pattern1209 (x2))
29713 : {
29714 23074 : case 0:
29715 23074 : if (insn_condition_870 (operands, insn))
29716 : return 1475; /* *rotlsi3_1 */
29717 : break;
29718 :
29719 4728 : case 1:
29720 4728 : if (insn_condition_872 (operands, insn))
29721 : return 1479; /* *rotldi3_1 */
29722 : break;
29723 :
29724 5090 : case 2:
29725 5090 : if (insn_condition_411 (operands, insn))
29726 : return 1506; /* *rotlqi3_1 */
29727 : break;
29728 :
29729 3154 : case 3:
29730 3154 : if (insn_condition_413 (operands, insn))
29731 : return 1510; /* *rotlhi3_1 */
29732 : break;
29733 :
29734 0 : case 4:
29735 0 : if (insn_condition_194 (operands, insn))
29736 : return 1513; /* *rotlqi3_1_slp */
29737 : break;
29738 :
29739 0 : case 5:
29740 0 : if (insn_condition_194 (operands, insn))
29741 : return 1515; /* *rotlhi3_1_slp */
29742 : break;
29743 :
29744 : default:
29745 : break;
29746 : }
29747 : break;
29748 :
29749 2 : case 1:
29750 2 : if (insn_condition_406 (operands, insn))
29751 : return 1424; /* *rotlqi3_mask_1 */
29752 : break;
29753 :
29754 2 : case 2:
29755 2 : if (insn_condition_407 (operands, insn))
29756 : return 1426; /* *rotlhi3_mask_1 */
29757 : break;
29758 :
29759 102 : case 3:
29760 102 : if (insn_condition_865 (operands, insn))
29761 : return 1428; /* *rotlsi3_mask_1 */
29762 : break;
29763 :
29764 2 : case 4:
29765 2 : if (insn_condition_866 (operands, insn))
29766 : return 1430; /* *rotldi3_mask_1 */
29767 : break;
29768 :
29769 0 : case 5:
29770 0 : if (insn_condition_408 (operands, insn))
29771 : return 1440; /* *rotlqi3_add_1 */
29772 : break;
29773 :
29774 0 : case 6:
29775 0 : if (insn_condition_409 (operands, insn))
29776 : return 1442; /* *rotlhi3_add_1 */
29777 : break;
29778 :
29779 15 : case 7:
29780 15 : if (insn_condition_867 (operands, insn))
29781 : return 1444; /* *rotlsi3_add_1 */
29782 : break;
29783 :
29784 18 : case 8:
29785 18 : if (insn_condition_868 (operands, insn))
29786 : return 1446; /* *rotldi3_add_1 */
29787 : break;
29788 :
29789 0 : case 9:
29790 0 : if (insn_condition_408 (operands, insn))
29791 : return 1456; /* *rotlqi3_sub_1 */
29792 : break;
29793 :
29794 0 : case 10:
29795 0 : if (insn_condition_409 (operands, insn))
29796 : return 1458; /* *rotlhi3_sub_1 */
29797 : break;
29798 :
29799 2 : case 11:
29800 2 : if (insn_condition_867 (operands, insn))
29801 : return 1460; /* *rotlsi3_sub_1 */
29802 : break;
29803 :
29804 2 : case 12:
29805 2 : if (insn_condition_868 (operands, insn))
29806 : return 1462; /* *rotldi3_sub_1 */
29807 : break;
29808 :
29809 : default:
29810 : break;
29811 : }
29812 : break;
29813 :
29814 37038 : case ROTATERT:
29815 37038 : switch (pattern249 (x1))
29816 : {
29817 36385 : case 0:
29818 36385 : x4 = XEXP (x3, 1);
29819 36385 : if (GET_CODE (x4) == SUBREG)
29820 : {
29821 12152 : switch (pattern1208 (x2))
29822 : {
29823 448 : case 0:
29824 448 : if (insn_condition_414 (operands, insn))
29825 : return 1417; /* *rotrqi3_mask */
29826 : break;
29827 :
29828 418 : case 1:
29829 418 : if (insn_condition_415 (operands, insn))
29830 : return 1419; /* *rotrhi3_mask */
29831 : break;
29832 :
29833 497 : case 2:
29834 497 : if (insn_condition_873 (operands, insn))
29835 : return 1421; /* *rotrsi3_mask */
29836 : break;
29837 :
29838 208 : case 3:
29839 208 : if (insn_condition_874 (operands, insn))
29840 : return 1423; /* *rotrdi3_mask */
29841 : break;
29842 :
29843 0 : case 4:
29844 0 : if (insn_condition_416 (operands, insn))
29845 : return 1433; /* *rotrqi3_add */
29846 : break;
29847 :
29848 0 : case 5:
29849 0 : if (insn_condition_417 (operands, insn))
29850 : return 1435; /* *rotrhi3_add */
29851 : break;
29852 :
29853 0 : case 6:
29854 0 : if (insn_condition_875 (operands, insn))
29855 : return 1437; /* *rotrsi3_add */
29856 : break;
29857 :
29858 0 : case 7:
29859 0 : if (insn_condition_876 (operands, insn))
29860 : return 1439; /* *rotrdi3_add */
29861 : break;
29862 :
29863 0 : case 8:
29864 0 : if (insn_condition_416 (operands, insn))
29865 : return 1449; /* *rotrqi3_sub */
29866 : break;
29867 :
29868 0 : case 9:
29869 0 : if (insn_condition_417 (operands, insn))
29870 : return 1451; /* *rotrhi3_sub */
29871 : break;
29872 :
29873 0 : case 10:
29874 0 : if (insn_condition_875 (operands, insn))
29875 : return 1453; /* *rotrsi3_sub */
29876 : break;
29877 :
29878 0 : case 11:
29879 0 : if (insn_condition_876 (operands, insn))
29880 : return 1455; /* *rotrdi3_sub */
29881 : break;
29882 :
29883 : default:
29884 : break;
29885 : }
29886 : }
29887 34886 : operands[2] = x4;
29888 34886 : switch (pattern1209 (x2))
29889 : {
29890 18720 : case 0:
29891 18720 : if (insn_condition_880 (operands, insn))
29892 : return 1477; /* *rotrsi3_1 */
29893 : break;
29894 :
29895 4240 : case 1:
29896 4240 : if (insn_condition_882 (operands, insn))
29897 : return 1481; /* *rotrdi3_1 */
29898 : break;
29899 :
29900 4416 : case 2:
29901 4416 : if (insn_condition_419 (operands, insn))
29902 : return 1508; /* *rotrqi3_1 */
29903 : break;
29904 :
29905 3074 : case 3:
29906 3074 : if (insn_condition_421 (operands, insn))
29907 : return 1512; /* *rotrhi3_1 */
29908 : break;
29909 :
29910 0 : case 4:
29911 0 : if (insn_condition_194 (operands, insn))
29912 : return 1514; /* *rotrqi3_1_slp */
29913 : break;
29914 :
29915 0 : case 5:
29916 0 : if (insn_condition_194 (operands, insn))
29917 : return 1516; /* *rotrhi3_1_slp */
29918 : break;
29919 :
29920 : default:
29921 : break;
29922 : }
29923 : break;
29924 :
29925 2 : case 1:
29926 2 : if (insn_condition_414 (operands, insn))
29927 : return 1425; /* *rotrqi3_mask_1 */
29928 : break;
29929 :
29930 2 : case 2:
29931 2 : if (insn_condition_415 (operands, insn))
29932 : return 1427; /* *rotrhi3_mask_1 */
29933 : break;
29934 :
29935 2 : case 3:
29936 2 : if (insn_condition_873 (operands, insn))
29937 : return 1429; /* *rotrsi3_mask_1 */
29938 : break;
29939 :
29940 2 : case 4:
29941 2 : if (insn_condition_874 (operands, insn))
29942 : return 1431; /* *rotrdi3_mask_1 */
29943 : break;
29944 :
29945 0 : case 5:
29946 0 : if (insn_condition_416 (operands, insn))
29947 : return 1441; /* *rotrqi3_add_1 */
29948 : break;
29949 :
29950 0 : case 6:
29951 0 : if (insn_condition_417 (operands, insn))
29952 : return 1443; /* *rotrhi3_add_1 */
29953 : break;
29954 :
29955 10 : case 7:
29956 10 : if (insn_condition_875 (operands, insn))
29957 : return 1445; /* *rotrsi3_add_1 */
29958 : break;
29959 :
29960 0 : case 8:
29961 0 : if (insn_condition_876 (operands, insn))
29962 : return 1447; /* *rotrdi3_add_1 */
29963 : break;
29964 :
29965 0 : case 9:
29966 0 : if (insn_condition_416 (operands, insn))
29967 : return 1457; /* *rotrqi3_sub_1 */
29968 : break;
29969 :
29970 0 : case 10:
29971 0 : if (insn_condition_417 (operands, insn))
29972 : return 1459; /* *rotrhi3_sub_1 */
29973 : break;
29974 :
29975 2 : case 11:
29976 2 : if (insn_condition_875 (operands, insn))
29977 : return 1461; /* *rotrsi3_sub_1 */
29978 : break;
29979 :
29980 0 : case 12:
29981 0 : if (insn_condition_876 (operands, insn))
29982 : return 1463; /* *rotrdi3_sub_1 */
29983 : break;
29984 :
29985 : default:
29986 : break;
29987 : }
29988 : break;
29989 :
29990 2630 : case CALL:
29991 2630 : res = recog_428 (x1, insn, pnum_clobbers);
29992 2630 : if (res >= 0)
29993 : return res;
29994 : break;
29995 :
29996 11333 : case CTZ:
29997 11333 : res = recog_429 (x1, insn, pnum_clobbers);
29998 11333 : if (res >= 0)
29999 : return res;
30000 : break;
30001 :
30002 159229 : case SIGN_EXTEND:
30003 159229 : res = recog_430 (x1, insn, pnum_clobbers);
30004 159229 : if (res >= 0)
30005 : return res;
30006 : break;
30007 :
30008 260 : case CLZ:
30009 260 : res = recog_431 (x1, insn, pnum_clobbers);
30010 260 : if (res >= 0)
30011 : return res;
30012 : break;
30013 :
30014 1051 : case POPCOUNT:
30015 1051 : res = recog_432 (x1, insn, pnum_clobbers);
30016 1051 : if (res >= 0)
30017 : return res;
30018 : break;
30019 :
30020 15742 : case BSWAP:
30021 15742 : if (GET_MODE (x3) == E_HImode
30022 15742 : && pattern287 (x1) == 0)
30023 : {
30024 14505 : if (nonimmediate_operand (operands[1], E_HImode)
30025 14254 : && nonimmediate_operand (operands[0], E_HImode)
30026 28759 : && insn_condition_436 (operands, insn))
30027 : return 1783; /* *bswaphi2_movbe */
30028 14394 : if (register_operand (operands[1], E_HImode)
30029 12232 : && register_operand (operands[0], E_HImode)
30030 26290 : && insn_condition_437 (operands, insn))
30031 : return 1784; /* *bswaphi2 */
30032 : }
30033 : break;
30034 :
30035 509810 : case SMAX:
30036 509810 : switch (pattern253 (x1))
30037 : {
30038 301060 : case 0:
30039 301060 : if (insn_condition_819 (operands, insn))
30040 : return 1968; /* *smaxdi3_doubleword */
30041 300158 : if (insn_condition_820 (operands, insn))
30042 : return 1988; /* *smaxdi3_1 */
30043 : break;
30044 :
30045 124 : case 1:
30046 124 : if (insn_condition_398 (operands, insn))
30047 : return 1972; /* *smaxti3_doubleword */
30048 : break;
30049 :
30050 850 : case 2:
30051 850 : if (insn_condition_399 (operands, insn))
30052 : return 1976; /* *smaxqi3_1 */
30053 : break;
30054 :
30055 510 : case 3:
30056 510 : if (insn_condition_400 (operands, insn))
30057 : return 1980; /* *smaxhi3_1 */
30058 : break;
30059 :
30060 41946 : case 4:
30061 41946 : if (insn_condition_821 (operands, insn))
30062 : return 1984; /* *smaxsi3_1 */
30063 : break;
30064 :
30065 0 : case 5:
30066 0 : if (insn_condition_2222 (operands, insn))
30067 : return 2215; /* *mmx_smaxv2sf3 */
30068 : break;
30069 :
30070 : default:
30071 : break;
30072 : }
30073 : break;
30074 :
30075 175733 : case SMIN:
30076 175733 : switch (pattern253 (x1))
30077 : {
30078 63726 : case 0:
30079 63726 : if (insn_condition_819 (operands, insn))
30080 : return 1969; /* *smindi3_doubleword */
30081 62714 : if (insn_condition_820 (operands, insn))
30082 : return 1989; /* *smindi3_1 */
30083 : break;
30084 :
30085 466 : case 1:
30086 466 : if (insn_condition_398 (operands, insn))
30087 : return 1973; /* *sminti3_doubleword */
30088 : break;
30089 :
30090 735 : case 2:
30091 735 : if (insn_condition_399 (operands, insn))
30092 : return 1977; /* *sminqi3_1 */
30093 : break;
30094 :
30095 782 : case 3:
30096 782 : if (insn_condition_400 (operands, insn))
30097 : return 1981; /* *sminhi3_1 */
30098 : break;
30099 :
30100 63990 : case 4:
30101 63990 : if (insn_condition_821 (operands, insn))
30102 : return 1985; /* *sminsi3_1 */
30103 : break;
30104 :
30105 0 : case 5:
30106 0 : if (insn_condition_2223 (operands, insn))
30107 : return 2216; /* *mmx_sminv2sf3 */
30108 : break;
30109 :
30110 : default:
30111 : break;
30112 : }
30113 : break;
30114 :
30115 292187 : case UMAX:
30116 292187 : switch (pattern258 (x1))
30117 : {
30118 198084 : case 0:
30119 198084 : if (insn_condition_819 (operands, insn))
30120 : return 1970; /* *umaxdi3_doubleword */
30121 197939 : if (insn_condition_820 (operands, insn))
30122 : return 1990; /* *umaxdi3_1 */
30123 : break;
30124 :
30125 34 : case 1:
30126 34 : if (insn_condition_398 (operands, insn))
30127 : return 1974; /* *umaxti3_doubleword */
30128 : break;
30129 :
30130 7843 : case 2:
30131 7843 : if (insn_condition_399 (operands, insn))
30132 : return 1978; /* *umaxqi3_1 */
30133 : break;
30134 :
30135 549 : case 3:
30136 549 : if (insn_condition_400 (operands, insn))
30137 : return 1982; /* *umaxhi3_1 */
30138 : break;
30139 :
30140 11733 : case 4:
30141 11733 : if (insn_condition_821 (operands, insn))
30142 : return 1986; /* *umaxsi3_1 */
30143 : break;
30144 :
30145 0 : case 5:
30146 0 : x4 = XEXP (x3, 1);
30147 0 : if (rtx_equal_p (x4, operands[1])
30148 0 : && insn_condition_1994 (operands, insn))
30149 : return 1992; /* *plus_within_umaxhi3_1 */
30150 0 : if (rtx_equal_p (x4, operands[2])
30151 0 : && insn_condition_1994 (operands, insn))
30152 : return 1993; /* *plus_within_umaxhi3_2 */
30153 : break;
30154 :
30155 194 : case 6:
30156 194 : x4 = XEXP (x3, 1);
30157 194 : if (rtx_equal_p (x4, operands[1])
30158 194 : && insn_condition_1994 (operands, insn))
30159 : return 1996; /* *plus_within_umaxsi3_1 */
30160 176 : if (rtx_equal_p (x4, operands[2])
30161 176 : && insn_condition_1994 (operands, insn))
30162 : return 1997; /* *plus_within_umaxsi3_2 */
30163 : break;
30164 :
30165 2987 : case 7:
30166 2987 : x4 = XEXP (x3, 1);
30167 2987 : if (rtx_equal_p (x4, operands[1])
30168 2987 : && insn_condition_398 (operands, insn))
30169 : return 2000; /* *plus_within_umaxdi3_1 */
30170 2830 : if (rtx_equal_p (x4, operands[2])
30171 2830 : && insn_condition_398 (operands, insn))
30172 : return 2001; /* *plus_within_umaxdi3_2 */
30173 : break;
30174 :
30175 14 : case 8:
30176 14 : if (insn_condition_1994 (operands, insn))
30177 : return 2004; /* *minus_within_umaxhi3 */
30178 : break;
30179 :
30180 9 : case 9:
30181 9 : if (insn_condition_1994 (operands, insn))
30182 : return 2006; /* *minus_within_umaxsi3 */
30183 : break;
30184 :
30185 0 : case 10:
30186 0 : if (insn_condition_398 (operands, insn))
30187 : return 2008; /* *minus_within_umaxdi3 */
30188 : break;
30189 :
30190 : default:
30191 : break;
30192 : }
30193 : break;
30194 :
30195 312960 : case UMIN:
30196 312960 : switch (pattern258 (x1))
30197 : {
30198 214670 : case 0:
30199 214670 : if (insn_condition_819 (operands, insn))
30200 : return 1971; /* *umindi3_doubleword */
30201 214234 : if (insn_condition_820 (operands, insn))
30202 : return 1991; /* *umindi3_1 */
30203 : break;
30204 :
30205 34 : case 1:
30206 34 : if (insn_condition_398 (operands, insn))
30207 : return 1975; /* *uminti3_doubleword */
30208 : break;
30209 :
30210 1297 : case 2:
30211 1297 : if (insn_condition_399 (operands, insn))
30212 : return 1979; /* *uminqi3_1 */
30213 : break;
30214 :
30215 368 : case 3:
30216 368 : if (insn_condition_400 (operands, insn))
30217 : return 1983; /* *uminhi3_1 */
30218 : break;
30219 :
30220 32879 : case 4:
30221 32879 : if (insn_condition_821 (operands, insn))
30222 : return 1987; /* *uminsi3_1 */
30223 : break;
30224 :
30225 0 : case 5:
30226 0 : x4 = XEXP (x3, 1);
30227 0 : if (rtx_equal_p (x4, operands[1])
30228 0 : && insn_condition_1994 (operands, insn))
30229 : return 1994; /* *plus_within_uminhi3_1 */
30230 0 : if (rtx_equal_p (x4, operands[2])
30231 0 : && insn_condition_1994 (operands, insn))
30232 : return 1995; /* *plus_within_uminhi3_2 */
30233 : break;
30234 :
30235 4322 : case 6:
30236 4322 : x4 = XEXP (x3, 1);
30237 4322 : if (rtx_equal_p (x4, operands[1])
30238 4322 : && insn_condition_1994 (operands, insn))
30239 : return 1998; /* *plus_within_uminsi3_1 */
30240 4304 : if (rtx_equal_p (x4, operands[2])
30241 4304 : && insn_condition_1994 (operands, insn))
30242 : return 1999; /* *plus_within_uminsi3_2 */
30243 : break;
30244 :
30245 11255 : case 7:
30246 11255 : x4 = XEXP (x3, 1);
30247 11255 : if (rtx_equal_p (x4, operands[1])
30248 11255 : && insn_condition_398 (operands, insn))
30249 : return 2002; /* *plus_within_umindi3_1 */
30250 11237 : if (rtx_equal_p (x4, operands[2])
30251 11237 : && insn_condition_398 (operands, insn))
30252 : return 2003; /* *plus_within_umindi3_2 */
30253 : break;
30254 :
30255 0 : case 8:
30256 0 : if (insn_condition_1994 (operands, insn))
30257 : return 2005; /* *minus_within_uminhi3 */
30258 : break;
30259 :
30260 12 : case 9:
30261 12 : if (insn_condition_1994 (operands, insn))
30262 : return 2007; /* *minus_within_uminsi3 */
30263 : break;
30264 :
30265 0 : case 10:
30266 0 : if (insn_condition_398 (operands, insn))
30267 : return 2009; /* *minus_within_umindi3 */
30268 : break;
30269 :
30270 : default:
30271 : break;
30272 : }
30273 : break;
30274 :
30275 355787 : case UNSPEC_VOLATILE:
30276 355787 : res = recog_433 (x1, insn, pnum_clobbers);
30277 355787 : if (res >= 0)
30278 : return res;
30279 : break;
30280 :
30281 46420 : case VEC_MERGE:
30282 46420 : if (pattern259 (x1) == 0
30283 46420 : && insn_condition_151 (operands, insn))
30284 : return 4947; /* sse_cvtpi2ps */
30285 : break;
30286 :
30287 87280 : case VEC_CONCAT:
30288 87280 : res = recog_434 (x1, insn, pnum_clobbers);
30289 87280 : if (res >= 0)
30290 : return res;
30291 : break;
30292 :
30293 30526 : case VEC_DUPLICATE:
30294 30526 : res = recog_435 (x1, insn, pnum_clobbers);
30295 30526 : if (res >= 0)
30296 : return res;
30297 : break;
30298 :
30299 313639 : case VEC_SELECT:
30300 313639 : res = recog_436 (x1, insn, pnum_clobbers);
30301 313639 : if (res >= 0)
30302 : return res;
30303 : break;
30304 :
30305 : default:
30306 : break;
30307 : }
30308 36360708 : x5 = XVECEXP (x1, 0, 1);
30309 36360708 : if (GET_CODE (x5) != UNSPEC
30310 20020 : || XVECLEN (x5, 0) != 1
30311 20019 : || XINT (x5, 1) != 35)
30312 : return -1;
30313 777 : return recog_437 (x1, insn, pnum_clobbers);
30314 : }
30315 :
30316 : rtx_insn *
30317 239843 : split_2 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30318 : {
30319 239843 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30320 239843 : rtx x2;
30321 239843 : rtx_insn *res ATTRIBUTE_UNUSED;
30322 239843 : switch (GET_MODE (operands[0]))
30323 : {
30324 192119 : case E_DFmode:
30325 192119 : if (!push_operand (operands[0], E_DFmode))
30326 : return NULL;
30327 0 : x2 = XEXP (x1, 1);
30328 0 : if (GET_MODE (x2) != E_DFmode
30329 0 : || !fp_register_operand (operands[1], E_SFmode))
30330 : return NULL;
30331 0 : if (insn_condition_2326 (operands, insn))
30332 0 : return gen_split_72 (insn, operands);
30333 0 : if (!insn_condition_2327 (operands, insn))
30334 : return NULL;
30335 0 : return gen_split_73 (insn, operands);
30336 :
30337 47072 : case E_XFmode:
30338 47072 : if (!push_operand (operands[0], E_XFmode))
30339 : return NULL;
30340 0 : x2 = XEXP (x1, 1);
30341 0 : if (GET_MODE (x2) != E_XFmode)
30342 : return NULL;
30343 0 : switch (GET_MODE (operands[1]))
30344 : {
30345 0 : case E_SFmode:
30346 0 : if (!fp_register_operand (operands[1], E_SFmode))
30347 : return NULL;
30348 0 : if (insn_condition_2326 (operands, insn))
30349 0 : return gen_split_74 (insn, operands);
30350 0 : if (!insn_condition_2327 (operands, insn))
30351 : return NULL;
30352 0 : return gen_split_75 (insn, operands);
30353 :
30354 0 : case E_DFmode:
30355 0 : if (!fp_register_operand (operands[1], E_DFmode))
30356 : return NULL;
30357 0 : if (insn_condition_2326 (operands, insn))
30358 0 : return gen_split_76 (insn, operands);
30359 0 : if (!insn_condition_2327 (operands, insn))
30360 : return NULL;
30361 0 : return gen_split_77 (insn, operands);
30362 :
30363 : default:
30364 : return NULL;
30365 : }
30366 :
30367 : default:
30368 : return NULL;
30369 : }
30370 : }
30371 :
30372 : rtx_insn *
30373 13917822 : split_3 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30374 : {
30375 13917822 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30376 13917822 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
30377 13917822 : rtx x10, x11;
30378 13917822 : rtx_insn *res ATTRIBUTE_UNUSED;
30379 13917822 : x2 = XEXP (x1, 1);
30380 13917822 : x3 = XEXP (x2, 0);
30381 13917822 : x4 = XEXP (x3, 0);
30382 13917822 : if (GET_CODE (x4) != ZERO_EXTRACT)
30383 : return NULL;
30384 59274 : x5 = XEXP (x4, 1);
30385 59274 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
30386 : return NULL;
30387 53186 : x6 = XEXP (x3, 1);
30388 53186 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
30389 : return NULL;
30390 52951 : x7 = XEXP (x1, 0);
30391 52951 : operands[0] = x7;
30392 52951 : x8 = XEXP (x4, 0);
30393 52951 : operands[1] = x8;
30394 52951 : x9 = XEXP (x4, 2);
30395 52951 : operands[2] = x9;
30396 52951 : if (!register_operand (operands[2], E_QImode))
30397 : return NULL;
30398 362 : x10 = XEXP (x2, 1);
30399 362 : operands[3] = x10;
30400 362 : x11 = XEXP (x2, 2);
30401 362 : operands[4] = x11;
30402 362 : switch (GET_MODE (operands[0]))
30403 : {
30404 2 : case E_HImode:
30405 2 : switch (pattern1577 (x2,
30406 : E_HImode))
30407 : {
30408 1 : case 0:
30409 1 : if (!insn_condition_2338 (operands, insn))
30410 : return NULL;
30411 1 : return gen_split_868 (insn, operands);
30412 :
30413 1 : case 1:
30414 1 : if (!insn_condition_2339 (operands, insn))
30415 : return NULL;
30416 1 : return gen_split_869 (insn, operands);
30417 :
30418 : default:
30419 : return NULL;
30420 : }
30421 :
30422 135 : case E_SImode:
30423 135 : switch (pattern1577 (x2,
30424 : E_SImode))
30425 : {
30426 43 : case 0:
30427 43 : if (!insn_condition_2338 (operands, insn))
30428 : return NULL;
30429 43 : return gen_split_870 (insn, operands);
30430 :
30431 2 : case 1:
30432 2 : if (!insn_condition_2339 (operands, insn))
30433 : return NULL;
30434 2 : return gen_split_871 (insn, operands);
30435 :
30436 : default:
30437 : return NULL;
30438 : }
30439 :
30440 32 : case E_DImode:
30441 32 : switch (pattern1577 (x2,
30442 : E_DImode))
30443 : {
30444 3 : case 0:
30445 3 : if (!insn_condition_2339 (operands, insn))
30446 : return NULL;
30447 3 : return gen_split_872 (insn, operands);
30448 :
30449 11 : case 1:
30450 11 : if (!insn_condition_2339 (operands, insn))
30451 : return NULL;
30452 11 : return gen_split_873 (insn, operands);
30453 :
30454 : default:
30455 : return NULL;
30456 : }
30457 :
30458 : default:
30459 : return NULL;
30460 : }
30461 : }
30462 :
30463 : rtx_insn *
30464 86422 : split_4 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30465 : {
30466 86422 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30467 86422 : rtx x2, x3, x4, x5, x6;
30468 86422 : rtx_insn *res ATTRIBUTE_UNUSED;
30469 86422 : x2 = XEXP (x1, 1);
30470 86422 : if (GET_CODE (x2) == LTU)
30471 : {
30472 71587 : switch (pattern48 (x1))
30473 : {
30474 0 : case 0:
30475 0 : if (insn_condition_2340 (operands, insn))
30476 0 : return gen_split_204 (insn, operands);
30477 : break;
30478 :
30479 0 : case 1:
30480 0 : if (insn_condition_2340 (operands, insn))
30481 0 : return gen_split_205 (insn, operands);
30482 : break;
30483 :
30484 : default:
30485 : break;
30486 : }
30487 : }
30488 86422 : operands[1] = x2;
30489 86422 : if (!add_comparison_operator (operands[1], E_QImode))
30490 : return NULL;
30491 71137 : x3 = XEXP (x2, 0);
30492 71137 : if (GET_CODE (x3) != NOT)
30493 : return NULL;
30494 1 : x4 = XEXP (x1, 0);
30495 1 : operands[0] = x4;
30496 1 : if (!nonimmediate_operand (operands[0], E_QImode))
30497 : return NULL;
30498 1 : x5 = XEXP (x3, 0);
30499 1 : operands[2] = x5;
30500 1 : x6 = XEXP (x2, 1);
30501 1 : operands[3] = x6;
30502 1 : switch (GET_MODE (x3))
30503 : {
30504 0 : case E_QImode:
30505 0 : if (!register_operand (operands[2], E_QImode)
30506 0 : || !nonimmediate_operand (operands[3], E_QImode))
30507 : return NULL;
30508 0 : return gen_split_890 (insn, operands);
30509 :
30510 0 : case E_HImode:
30511 0 : if (!register_operand (operands[2], E_HImode)
30512 0 : || !nonimmediate_operand (operands[3], E_HImode))
30513 : return NULL;
30514 0 : return gen_split_891 (insn, operands);
30515 :
30516 1 : case E_SImode:
30517 1 : if (!register_operand (operands[2], E_SImode)
30518 1 : || !nonimmediate_operand (operands[3], E_SImode))
30519 : return NULL;
30520 1 : return gen_split_892 (insn, operands);
30521 :
30522 0 : case E_DImode:
30523 0 : if (!register_operand (operands[2], E_DImode)
30524 0 : || !nonimmediate_operand (operands[3], E_DImode)
30525 0 : || !insn_condition_52 (operands, insn))
30526 : return NULL;
30527 0 : return gen_split_893 (insn, operands);
30528 :
30529 : default:
30530 : return NULL;
30531 : }
30532 : }
30533 :
30534 : rtx_insn *
30535 17901995 : split_5 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30536 : {
30537 17901995 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30538 17901995 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
30539 17901995 : rtx x10, x11, x12, x13;
30540 17901995 : rtx_insn *res ATTRIBUTE_UNUSED;
30541 17901995 : x2 = XEXP (x1, 1);
30542 17901995 : x3 = XEXP (x2, 0);
30543 17901995 : switch (GET_CODE (x3))
30544 : {
30545 17086783 : case REG:
30546 17086783 : case SUBREG:
30547 17086783 : case MEM:
30548 17086783 : operands[0] = x3;
30549 17086783 : if (pattern436 (x1,
30550 : E_CCZmode,
30551 : 17) != 0)
30552 : return NULL;
30553 12700003 : x4 = XEXP (x2, 1);
30554 12700003 : operands[1] = x4;
30555 12700003 : switch (pattern891 ())
30556 : {
30557 5726499 : case 0:
30558 5726499 : if (!insn_condition_2341 (operands, insn))
30559 : return NULL;
30560 18741 : return gen_split_1 (insn, operands);
30561 :
30562 45495 : case 1:
30563 45495 : if (!insn_condition_2342 (operands, insn))
30564 : return NULL;
30565 45495 : return gen_split_2 (insn, operands);
30566 :
30567 : default:
30568 : return NULL;
30569 : }
30570 :
30571 5612 : case NEG:
30572 5612 : if (GET_MODE (x3) != E_QImode)
30573 : return NULL;
30574 4246 : x5 = XEXP (x3, 0);
30575 4246 : if (GET_CODE (x5) != GEU
30576 4047 : || GET_MODE (x5) != E_QImode)
30577 : return NULL;
30578 4047 : x6 = XEXP (x5, 0);
30579 4047 : if (GET_CODE (x6) != REG
30580 4047 : || REGNO (x6) != 17)
30581 : return NULL;
30582 4043 : x7 = XEXP (x5, 1);
30583 4043 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
30584 : return NULL;
30585 4043 : x4 = XEXP (x2, 1);
30586 4043 : if (GET_CODE (x4) != LTU
30587 4043 : || GET_MODE (x4) != E_QImode)
30588 : return NULL;
30589 4043 : x8 = XEXP (x4, 0);
30590 4043 : if (GET_CODE (x8) != REG
30591 4043 : || REGNO (x8) != 17)
30592 : return NULL;
30593 4043 : x9 = XEXP (x4, 1);
30594 4043 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
30595 4043 : || pattern436 (x1,
30596 : E_CCCmode,
30597 : 17) != 0)
30598 : return NULL;
30599 4043 : switch (GET_MODE (x6))
30600 : {
30601 384 : case E_CCmode:
30602 384 : if (GET_MODE (x8) != E_CCmode
30603 768 : || !insn_condition_2340 (operands, insn))
30604 : return NULL;
30605 384 : return gen_split_201 (insn, operands);
30606 :
30607 3659 : case E_CCCmode:
30608 3659 : if (GET_MODE (x8) != E_CCCmode
30609 7318 : || !insn_condition_2340 (operands, insn))
30610 : return NULL;
30611 3659 : return gen_split_202 (insn, operands);
30612 :
30613 : default:
30614 : return NULL;
30615 : }
30616 :
30617 455319 : case AND:
30618 455319 : x4 = XEXP (x2, 1);
30619 455319 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
30620 : return NULL;
30621 439795 : x10 = XEXP (x1, 0);
30622 439795 : if (GET_CODE (x10) != REG)
30623 : return NULL;
30624 439795 : x5 = XEXP (x3, 0);
30625 439795 : switch (GET_CODE (x5))
30626 : {
30627 415179 : case REG:
30628 415179 : case SUBREG:
30629 415179 : case MEM:
30630 415179 : operands[0] = x5;
30631 415179 : if (register_operand (operands[0], E_TImode)
30632 185 : && REGNO (x10) == 17
30633 185 : && GET_MODE (x10) == E_CCZmode
30634 185 : && GET_MODE (x2) == E_CCZmode
30635 415364 : && GET_MODE (x3) == E_TImode)
30636 : {
30637 185 : x11 = XEXP (x3, 1);
30638 185 : operands[1] = x11;
30639 185 : if (general_operand (operands[1], E_TImode)
30640 185 : && insn_condition_2343 (operands, insn))
30641 185 : return gen_split_285 (insn, operands);
30642 : }
30643 414994 : operands[2] = x5;
30644 414994 : operands[0] = x10;
30645 414994 : if (!flags_reg_operand (operands[0], E_VOIDmode))
30646 : return NULL;
30647 414994 : operands[1] = x2;
30648 414994 : if (!compare_operator (operands[1], E_VOIDmode))
30649 : return NULL;
30650 414994 : x11 = XEXP (x3, 1);
30651 414994 : operands[3] = x11;
30652 414994 : if (!const_int_operand (operands[3], E_VOIDmode))
30653 : return NULL;
30654 354086 : if (QIreg_operand (operands[2], E_VOIDmode)
30655 354086 : && insn_condition_2344 (operands, insn))
30656 11442 : return gen_split_295 (insn, operands);
30657 342644 : if (!nonimmediate_operand (operands[2], E_VOIDmode)
30658 342644 : || !insn_condition_2345 (operands, insn))
30659 : return NULL;
30660 40968 : return gen_split_296 (insn, operands);
30661 :
30662 6842 : case NOT:
30663 6842 : if (REGNO (x10) != 17
30664 6842 : || GET_MODE (x10) != E_CCZmode
30665 13684 : || GET_MODE (x2) != E_CCZmode)
30666 : return NULL;
30667 6842 : switch (pattern892 (x3))
30668 : {
30669 97 : case 0:
30670 97 : if (!insn_condition_2346 (operands, insn))
30671 : return NULL;
30672 97 : return gen_split_289 (insn, operands);
30673 :
30674 514 : case 1:
30675 514 : if (!insn_condition_2346 (operands, insn))
30676 : return NULL;
30677 514 : return gen_split_290 (insn, operands);
30678 :
30679 4341 : case 2:
30680 4341 : if (!insn_condition_2346 (operands, insn))
30681 : return NULL;
30682 4341 : return gen_split_291 (insn, operands);
30683 :
30684 1257 : case 3:
30685 1257 : if (register_operand (operands[0], E_DImode)
30686 1114 : && x86_64_szext_nonmemory_operand (operands[1], E_DImode)
30687 2371 : && insn_condition_2347 (operands, insn))
30688 1097 : return gen_split_292 (insn, operands);
30689 160 : if (!nonimmediate_operand (operands[0], E_DImode)
30690 134 : || !nonimmediate_operand (operands[1], E_DImode)
30691 178 : || !insn_condition_2341 (operands, insn))
30692 : return NULL;
30693 17 : return gen_split_293 (insn, operands);
30694 :
30695 19 : case 4:
30696 19 : if (!insn_condition_2342 (operands, insn))
30697 : return NULL;
30698 19 : return gen_split_294 (insn, operands);
30699 :
30700 : default:
30701 : return NULL;
30702 : }
30703 :
30704 : default:
30705 : return NULL;
30706 : }
30707 :
30708 84806 : case ZERO_EXTRACT:
30709 84806 : switch (pattern50 (x1))
30710 : {
30711 6113 : case 0:
30712 6113 : if (!insn_condition_2348 (operands, insn))
30713 : return NULL;
30714 6113 : return gen_split_286 (insn, operands);
30715 :
30716 42978 : case 1:
30717 42978 : if (!insn_condition_2349 (operands, insn))
30718 : return NULL;
30719 42978 : return gen_split_287 (insn, operands);
30720 :
30721 12696 : case 2:
30722 12696 : if (!insn_condition_2350 (operands, insn))
30723 : return NULL;
30724 12660 : return gen_split_288 (insn, operands);
30725 :
30726 : default:
30727 : return NULL;
30728 : }
30729 :
30730 17754 : case CONST_INT:
30731 17754 : if (XWINT (x3, 0) != 0L)
30732 : return NULL;
30733 17746 : x4 = XEXP (x2, 1);
30734 17746 : if (GET_CODE (x4) != ZERO_EXTRACT)
30735 : return NULL;
30736 17744 : x9 = XEXP (x4, 1);
30737 17744 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
30738 : return NULL;
30739 17744 : x12 = XEXP (x4, 2);
30740 17744 : if (GET_CODE (x12) != SUBREG
30741 3599 : || maybe_ne (SUBREG_BYTE (x12), 0)
30742 21343 : || GET_MODE (x12) != E_QImode)
30743 : return NULL;
30744 3599 : x13 = XEXP (x12, 0);
30745 3599 : if (GET_CODE (x13) != AND)
30746 : return NULL;
30747 0 : x10 = XEXP (x1, 0);
30748 0 : if (GET_CODE (x10) != REG
30749 0 : || REGNO (x10) != 17
30750 0 : || GET_MODE (x10) != E_CCCmode
30751 0 : || GET_MODE (x2) != E_CCCmode)
30752 : return NULL;
30753 0 : x8 = XEXP (x4, 0);
30754 0 : operands[0] = x8;
30755 0 : switch (pattern1495 (x4))
30756 : {
30757 0 : case 0:
30758 0 : if (!insn_condition_2351 (operands, insn))
30759 : return NULL;
30760 0 : return gen_split_860 (insn, operands);
30761 :
30762 0 : case 1:
30763 0 : if (!insn_condition_2352 (operands, insn))
30764 : return NULL;
30765 0 : return gen_split_861 (insn, operands);
30766 :
30767 : default:
30768 : return NULL;
30769 : }
30770 :
30771 : default:
30772 : return NULL;
30773 : }
30774 : }
30775 :
30776 : rtx_insn *
30777 1616 : split_10 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30778 : {
30779 1616 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30780 1616 : rtx x2, x3, x4, x5;
30781 1616 : rtx_insn *res ATTRIBUTE_UNUSED;
30782 1616 : x2 = XEXP (x1, 0);
30783 1616 : operands[0] = x2;
30784 1616 : x3 = XEXP (x1, 1);
30785 1616 : x4 = XEXP (x3, 0);
30786 1616 : operands[1] = x4;
30787 1616 : switch (GET_CODE (operands[1]))
30788 : {
30789 0 : case CONST_INT:
30790 0 : switch (pattern604 (x3))
30791 : {
30792 0 : case 0:
30793 0 : if (!insn_condition_2371 (operands, insn))
30794 : return NULL;
30795 0 : return gen_split_733 (insn, operands);
30796 :
30797 0 : case 1:
30798 0 : if (!insn_condition_2372 (operands, insn))
30799 : return NULL;
30800 0 : return gen_split_735 (insn, operands);
30801 :
30802 0 : case 2:
30803 0 : if (!insn_condition_2373 (operands, insn))
30804 : return NULL;
30805 0 : return gen_split_737 (insn, operands);
30806 :
30807 0 : case 3:
30808 0 : if (!insn_condition_2374 (operands, insn))
30809 : return NULL;
30810 0 : return gen_split_739 (insn, operands);
30811 :
30812 0 : case 4:
30813 0 : if (!insn_condition_2375 (operands, insn))
30814 : return NULL;
30815 0 : return gen_split_765 (insn, operands);
30816 :
30817 0 : case 5:
30818 0 : if (!insn_condition_2376 (operands, insn))
30819 : return NULL;
30820 0 : return gen_split_767 (insn, operands);
30821 :
30822 0 : case 6:
30823 0 : if (!insn_condition_2377 (operands, insn))
30824 : return NULL;
30825 0 : return gen_split_769 (insn, operands);
30826 :
30827 0 : case 7:
30828 0 : if (!insn_condition_2378 (operands, insn))
30829 : return NULL;
30830 0 : return gen_split_771 (insn, operands);
30831 :
30832 0 : case 8:
30833 0 : if (!insn_condition_2375 (operands, insn))
30834 : return NULL;
30835 0 : return gen_split_797 (insn, operands);
30836 :
30837 0 : case 9:
30838 0 : if (!insn_condition_2376 (operands, insn))
30839 : return NULL;
30840 0 : return gen_split_799 (insn, operands);
30841 :
30842 0 : case 10:
30843 0 : if (!insn_condition_2377 (operands, insn))
30844 : return NULL;
30845 0 : return gen_split_801 (insn, operands);
30846 :
30847 0 : case 11:
30848 0 : if (!insn_condition_2378 (operands, insn))
30849 : return NULL;
30850 0 : return gen_split_803 (insn, operands);
30851 :
30852 0 : case 12:
30853 0 : if (!insn_condition_2379 (operands, insn))
30854 : return NULL;
30855 0 : return gen_split_749 (insn, operands);
30856 :
30857 0 : case 13:
30858 0 : if (!insn_condition_2380 (operands, insn))
30859 : return NULL;
30860 0 : return gen_split_751 (insn, operands);
30861 :
30862 0 : case 14:
30863 0 : if (!insn_condition_2381 (operands, insn))
30864 : return NULL;
30865 0 : return gen_split_753 (insn, operands);
30866 :
30867 0 : case 15:
30868 0 : if (!insn_condition_2382 (operands, insn))
30869 : return NULL;
30870 0 : return gen_split_755 (insn, operands);
30871 :
30872 0 : case 16:
30873 0 : if (!insn_condition_2375 (operands, insn))
30874 : return NULL;
30875 0 : return gen_split_781 (insn, operands);
30876 :
30877 0 : case 17:
30878 0 : if (!insn_condition_2376 (operands, insn))
30879 : return NULL;
30880 0 : return gen_split_783 (insn, operands);
30881 :
30882 0 : case 18:
30883 0 : if (!insn_condition_2377 (operands, insn))
30884 : return NULL;
30885 0 : return gen_split_785 (insn, operands);
30886 :
30887 0 : case 19:
30888 0 : if (!insn_condition_2378 (operands, insn))
30889 : return NULL;
30890 0 : return gen_split_787 (insn, operands);
30891 :
30892 0 : case 20:
30893 0 : if (!insn_condition_2375 (operands, insn))
30894 : return NULL;
30895 0 : return gen_split_813 (insn, operands);
30896 :
30897 0 : case 21:
30898 0 : if (!insn_condition_2376 (operands, insn))
30899 : return NULL;
30900 0 : return gen_split_815 (insn, operands);
30901 :
30902 0 : case 22:
30903 0 : if (!insn_condition_2377 (operands, insn))
30904 : return NULL;
30905 0 : return gen_split_817 (insn, operands);
30906 :
30907 0 : case 23:
30908 0 : if (!insn_condition_2378 (operands, insn))
30909 : return NULL;
30910 0 : return gen_split_819 (insn, operands);
30911 :
30912 : default:
30913 : return NULL;
30914 : }
30915 :
30916 703 : case REG:
30917 703 : case SUBREG:
30918 703 : x5 = XEXP (x3, 1);
30919 703 : if (GET_CODE (x5) != CONST_INT)
30920 : return NULL;
30921 499 : switch (XWINT (x5, 0))
30922 : {
30923 2 : case 32L:
30924 2 : if (!register_operand (operands[0], E_DImode)
30925 0 : || GET_MODE (x3) != E_DImode
30926 0 : || !register_operand (operands[1], E_DImode)
30927 2 : || !insn_condition_2383 (operands, insn))
30928 : return NULL;
30929 0 : return gen_split_825 (insn, operands);
30930 :
30931 0 : case 64L:
30932 0 : if (!register_operand (operands[0], E_TImode)
30933 0 : || GET_MODE (x3) != E_TImode
30934 0 : || !register_operand (operands[1], E_TImode)
30935 0 : || !insn_condition_2384 (operands, insn))
30936 : return NULL;
30937 0 : return gen_split_827 (insn, operands);
30938 :
30939 : default:
30940 : return NULL;
30941 : }
30942 :
30943 : default:
30944 : return NULL;
30945 : }
30946 : }
30947 :
30948 : rtx_insn *
30949 17606022 : split_15 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30950 : {
30951 17606022 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30952 17606022 : rtx x2, x3;
30953 17606022 : rtx_insn *res ATTRIBUTE_UNUSED;
30954 17606022 : x2 = XVECEXP (x1, 0, 0);
30955 17606022 : switch (pattern1216 (x2))
30956 : {
30957 17605274 : case 0:
30958 17605274 : switch (GET_MODE (operands[0]))
30959 : {
30960 10096061 : case E_DImode:
30961 10096061 : x3 = XEXP (x2, 1);
30962 10096061 : if (GET_MODE (x3) != E_DImode)
30963 : return NULL;
30964 10096061 : if (nonimmediate_operand (operands[0], E_DImode)
30965 10095872 : && nonimmediate_operand (operands[1], E_DImode)
30966 10093542 : && x86_64_hilo_general_operand (operands[2], E_DImode)
30967 20149590 : && insn_condition_2431 (operands, insn))
30968 22129 : return gen_split_106 (insn, operands);
30969 10073932 : if (!register_operand (operands[0], E_DImode)
30970 9963612 : || !register_operand (operands[1], E_DImode)
30971 20007876 : || !x86_64_nonmemory_operand (operands[2], E_DImode))
30972 : return NULL;
30973 9787476 : if (insn_condition_2432 (operands, insn))
30974 7 : return gen_split_131 (insn, operands);
30975 9787469 : if (!insn_condition_2433 (operands, insn))
30976 : return NULL;
30977 1650994 : return gen_split_136 (insn, operands);
30978 :
30979 23175 : case E_TImode:
30980 23175 : x3 = XEXP (x2, 1);
30981 23175 : if (pattern586 (x3,
30982 : E_TImode) != 0
30983 23175 : || !insn_condition_2434 (operands, insn))
30984 : return NULL;
30985 11576 : return gen_split_107 (insn, operands);
30986 :
30987 7332121 : case E_SImode:
30988 7332121 : x3 = XEXP (x2, 1);
30989 7332121 : if (pattern1465 (x3,
30990 : E_SImode) != 0)
30991 : return NULL;
30992 6783949 : if (insn_condition_2435 (operands, insn))
30993 5 : return gen_split_130 (insn, operands);
30994 6783944 : if (!insn_condition_2436 (operands, insn))
30995 : return NULL;
30996 419975 : return gen_split_135 (insn, operands);
30997 :
30998 104149 : case E_QImode:
30999 104149 : x3 = XEXP (x2, 1);
31000 104149 : if (pattern1379 (x3,
31001 : E_QImode) != 0
31002 104149 : || !insn_condition_2436 (operands, insn))
31003 : return NULL;
31004 17996 : return gen_split_133 (insn, operands);
31005 :
31006 49269 : case E_HImode:
31007 49269 : if (!register_operand (operands[0], E_HImode))
31008 : return NULL;
31009 41017 : x3 = XEXP (x2, 1);
31010 41017 : if (GET_MODE (x3) != E_HImode
31011 41017 : || !register_operand (operands[1], E_HImode)
31012 37881 : || !nonmemory_operand (operands[2], E_HImode)
31013 76243 : || !insn_condition_2436 (operands, insn))
31014 : return NULL;
31015 4502 : return gen_split_134 (insn, operands);
31016 :
31017 : default:
31018 : return NULL;
31019 : }
31020 :
31021 352 : case 1:
31022 352 : if (!insn_condition_2437 (operands, insn))
31023 : return NULL;
31024 4 : return gen_split_122 (insn, operands);
31025 :
31026 308 : case 2:
31027 308 : if (!insn_condition_2437 (operands, insn))
31028 : return NULL;
31029 75 : return gen_split_123 (insn, operands);
31030 :
31031 : default:
31032 : return NULL;
31033 : }
31034 : }
31035 :
31036 : rtx_insn *
31037 6950 : split_19 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31038 : {
31039 6950 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31040 6950 : rtx x2, x3, x4, x5, x6, x7;
31041 6950 : rtx_insn *res ATTRIBUTE_UNUSED;
31042 6950 : x2 = XVECEXP (x1, 0, 0);
31043 6950 : x3 = XEXP (x2, 1);
31044 6950 : x4 = XEXP (x3, 1);
31045 6950 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
31046 : return NULL;
31047 2590 : x5 = XEXP (x3, 2);
31048 2590 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31049 : return NULL;
31050 2144 : x6 = XEXP (x2, 0);
31051 2144 : operands[0] = x6;
31052 2144 : x7 = XEXP (x3, 0);
31053 2144 : operands[1] = x7;
31054 2144 : switch (pattern1476 (x3))
31055 : {
31056 262 : case 0:
31057 262 : return gen_split_27 (insn, operands);
31058 :
31059 549 : case 1:
31060 549 : if (!insn_condition_52 (operands, insn))
31061 : return NULL;
31062 549 : return gen_split_28 (insn, operands);
31063 :
31064 : default:
31065 : return NULL;
31066 : }
31067 : }
31068 :
31069 : rtx_insn *
31070 24612 : split_20 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31071 : {
31072 24612 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31073 24612 : rtx x2, x3, x4, x5, x6, x7;
31074 24612 : rtx_insn *res ATTRIBUTE_UNUSED;
31075 24612 : x2 = XVECEXP (x1, 0, 0);
31076 24612 : x3 = XEXP (x2, 1);
31077 24612 : x4 = XEXP (x3, 1);
31078 24612 : if (GET_CODE (x4) != CONST_INT)
31079 : return NULL;
31080 24612 : operands[2] = x4;
31081 24612 : if (const_1_to_31_operand (operands[2], E_QImode))
31082 : {
31083 24546 : x5 = XEXP (x2, 0);
31084 24546 : operands[0] = x5;
31085 24546 : if (register_operand (operands[0], E_DImode)
31086 24546 : && GET_MODE (x3) == E_DImode)
31087 : {
31088 18328 : x6 = XEXP (x3, 0);
31089 18328 : operands[1] = x6;
31090 18328 : if (int248_register_operand (operands[1], E_VOIDmode))
31091 : {
31092 9626 : x7 = XEXP (x3, 2);
31093 9626 : operands[3] = x7;
31094 9626 : if (const_1_to_31_operand (operands[3], E_QImode)
31095 9626 : && insn_condition_2455 (operands, insn))
31096 8716 : return gen_split_29 (insn, operands);
31097 : }
31098 : }
31099 : }
31100 15896 : if (XWINT (x4, 0) != 1L)
31101 : return NULL;
31102 7653 : x6 = XEXP (x3, 0);
31103 7653 : operands[1] = x6;
31104 7653 : x5 = XEXP (x2, 0);
31105 7653 : if (GET_CODE (x5) == SUBREG)
31106 : {
31107 1400 : switch (pattern1372 (x2))
31108 : {
31109 188 : case 0:
31110 188 : if (insn_condition_2454 (operands, insn))
31111 188 : return gen_split_880 (insn, operands);
31112 : break;
31113 :
31114 186 : case 1:
31115 186 : if (insn_condition_2456 (operands, insn))
31116 186 : return gen_split_881 (insn, operands);
31117 : break;
31118 :
31119 : default:
31120 : break;
31121 : }
31122 : }
31123 7279 : x7 = XEXP (x3, 2);
31124 7279 : if (GET_CODE (x7) != SUBREG)
31125 : return NULL;
31126 1104 : switch (pattern1373 (x2))
31127 : {
31128 85 : case 0:
31129 85 : if (!insn_condition_2457 (operands, insn))
31130 : return NULL;
31131 47 : return gen_split_888 (insn, operands);
31132 :
31133 56 : case 1:
31134 56 : if (!insn_condition_2458 (operands, insn))
31135 : return NULL;
31136 52 : return gen_split_889 (insn, operands);
31137 :
31138 : default:
31139 : return NULL;
31140 : }
31141 : }
31142 :
31143 : rtx_insn *
31144 1430685 : split_23 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31145 : {
31146 1430685 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31147 1430685 : rtx x2, x3, x4;
31148 1430685 : rtx_insn *res ATTRIBUTE_UNUSED;
31149 1430685 : x2 = XVECEXP (x1, 0, 0);
31150 1430685 : x3 = XEXP (x2, 0);
31151 1430685 : switch (GET_CODE (x3))
31152 : {
31153 1425441 : case REG:
31154 1425441 : case SUBREG:
31155 1425441 : operands[0] = x3;
31156 1425441 : switch (GET_MODE (operands[0]))
31157 : {
31158 946340 : case E_DImode:
31159 946340 : x4 = XEXP (x2, 1);
31160 946340 : if (GET_MODE (x4) != E_DImode)
31161 : return NULL;
31162 946340 : if (register_operand (operands[0], E_DImode))
31163 : {
31164 946340 : if (nonmemory_operand (operands[1], E_DImode)
31165 945145 : && nonmemory_operand (operands[2], E_QImode)
31166 946340 : && insn_condition_2464 (operands, insn))
31167 601 : return gen_split_570 (insn, operands);
31168 945739 : if (nonimmediate_operand (operands[1], E_DImode)
31169 943635 : && register_operand (operands[2], E_QImode)
31170 945739 : && insn_condition_2420 (operands, insn))
31171 151 : return gen_split_603 (insn, operands);
31172 : }
31173 945588 : if (!general_reg_operand (operands[0], E_DImode)
31174 555359 : || !index_reg_operand (operands[1], E_DImode)
31175 554967 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
31176 1213654 : || !insn_condition_2477 (operands, insn))
31177 : return NULL;
31178 96751 : return gen_split_610 (insn, operands);
31179 :
31180 13168 : case E_TImode:
31181 13168 : if (!register_operand (operands[0], E_TImode))
31182 : return NULL;
31183 13168 : x4 = XEXP (x2, 1);
31184 13168 : if (GET_MODE (x4) != E_TImode
31185 13168 : || !nonmemory_operand (operands[1], E_TImode)
31186 13164 : || !nonmemory_operand (operands[2], E_QImode)
31187 13168 : || !insn_condition_2465 (operands, insn))
31188 : return NULL;
31189 5040 : return gen_split_571 (insn, operands);
31190 :
31191 : default:
31192 : return NULL;
31193 : }
31194 :
31195 77 : case STRICT_LOW_PART:
31196 77 : switch (pattern1380 (x2))
31197 : {
31198 67 : case 0:
31199 67 : if (!insn_condition_2416 (operands, insn))
31200 : return NULL;
31201 13 : return gen_split_605 (insn, operands);
31202 :
31203 3 : case 1:
31204 3 : if (!insn_condition_2416 (operands, insn))
31205 : return NULL;
31206 0 : return gen_split_606 (insn, operands);
31207 :
31208 : default:
31209 : return NULL;
31210 : }
31211 :
31212 : default:
31213 : return NULL;
31214 : }
31215 : }
31216 :
31217 : rtx_insn *
31218 19557940 : split_25 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31219 : {
31220 19557940 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31221 19557940 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
31222 19557940 : rtx x10, x11, x12, x13;
31223 19557940 : rtx_insn *res ATTRIBUTE_UNUSED;
31224 19557940 : x2 = XVECEXP (x1, 0, 1);
31225 19557940 : if (pattern286 (x2,
31226 : E_CCmode,
31227 : 17) != 0)
31228 : return NULL;
31229 18332426 : x3 = XVECEXP (x1, 0, 0);
31230 18332426 : x4 = XEXP (x3, 1);
31231 18332426 : x5 = XEXP (x4, 0);
31232 18332426 : switch (GET_CODE (x5))
31233 : {
31234 17606022 : case REG:
31235 17606022 : case SUBREG:
31236 17606022 : case MEM:
31237 17606022 : operands[1] = x5;
31238 17606022 : res = split_15 (x1, insn);
31239 17606022 : if (res != NULL_RTX)
31240 : return res;
31241 15478759 : if (GET_CODE (x5) != SUBREG
31242 15478759 : || pattern1217 (x4) != 0)
31243 : return NULL;
31244 582 : x6 = XEXP (x5, 0);
31245 582 : x7 = XEXP (x6, 0);
31246 582 : operands[2] = x7;
31247 582 : switch (pattern1687 (x3))
31248 : {
31249 5 : case 0:
31250 5 : if (insn_condition_2440 (operands, insn))
31251 0 : return gen_split_124 (insn, operands);
31252 : break;
31253 :
31254 19 : case 1:
31255 19 : if (insn_condition_2440 (operands, insn))
31256 0 : return gen_split_125 (insn, operands);
31257 : break;
31258 :
31259 5 : case 2:
31260 5 : if (insn_condition_2441 (operands, insn))
31261 0 : return gen_split_126 (insn, operands);
31262 : break;
31263 :
31264 : default:
31265 : break;
31266 : }
31267 582 : operands[1] = x7;
31268 582 : switch (pattern1688 (x3))
31269 : {
31270 2 : case 0:
31271 2 : if (!insn_condition_2358 (operands, insn))
31272 : return NULL;
31273 1 : return gen_split_127 (insn, operands);
31274 :
31275 16 : case 1:
31276 16 : if (!insn_condition_2358 (operands, insn))
31277 : return NULL;
31278 8 : return gen_split_128 (insn, operands);
31279 :
31280 2 : case 2:
31281 2 : if (!insn_condition_2452 (operands, insn))
31282 : return NULL;
31283 1 : return gen_split_129 (insn, operands);
31284 :
31285 2 : case 3:
31286 2 : if (!insn_condition_2453 (operands, insn))
31287 : return NULL;
31288 1 : return gen_split_142 (insn, operands);
31289 :
31290 16 : case 4:
31291 16 : if (!insn_condition_2453 (operands, insn))
31292 : return NULL;
31293 8 : return gen_split_143 (insn, operands);
31294 :
31295 2 : case 5:
31296 2 : if (!insn_condition_2384 (operands, insn))
31297 : return NULL;
31298 1 : return gen_split_144 (insn, operands);
31299 :
31300 : default:
31301 : return NULL;
31302 : }
31303 :
31304 12121 : case ZERO_EXTEND:
31305 12121 : switch (pattern979 (x3))
31306 : {
31307 1906 : case 0:
31308 1906 : if (!insn_condition_2442 (operands, insn))
31309 : return NULL;
31310 952 : return gen_split_108 (insn, operands);
31311 :
31312 938 : case 1:
31313 938 : if (!insn_condition_2443 (operands, insn))
31314 : return NULL;
31315 469 : return gen_split_109 (insn, operands);
31316 :
31317 : default:
31318 : return NULL;
31319 : }
31320 :
31321 274452 : case PLUS:
31322 274452 : x8 = XEXP (x3, 0);
31323 274452 : operands[0] = x8;
31324 274452 : x6 = XEXP (x5, 0);
31325 274452 : switch (GET_CODE (x6))
31326 : {
31327 17144 : case ASHIFT:
31328 17144 : switch (pattern1196 (x4))
31329 : {
31330 6 : case 0:
31331 6 : if (!insn_condition_2367 (operands, insn))
31332 : return NULL;
31333 3 : return gen_split_110 (insn, operands);
31334 :
31335 32 : case 1:
31336 32 : if (!insn_condition_2368 (operands, insn))
31337 : return NULL;
31338 16 : return gen_split_113 (insn, operands);
31339 :
31340 0 : case 2:
31341 0 : if (!insn_condition_2367 (operands, insn))
31342 : return NULL;
31343 0 : return gen_split_116 (insn, operands);
31344 :
31345 0 : case 3:
31346 0 : if (!insn_condition_2368 (operands, insn))
31347 : return NULL;
31348 0 : return gen_split_119 (insn, operands);
31349 :
31350 : default:
31351 : return NULL;
31352 : }
31353 :
31354 118 : case EQ:
31355 118 : switch (pattern1199 (x4))
31356 : {
31357 3 : case 0:
31358 3 : if (!insn_condition_2495 (operands, insn))
31359 : return NULL;
31360 3 : return gen_split_210 (insn, operands);
31361 :
31362 0 : case 1:
31363 0 : if (!insn_condition_2496 (operands, insn))
31364 : return NULL;
31365 0 : return gen_split_211 (insn, operands);
31366 :
31367 64 : case 2:
31368 64 : if (!insn_condition_2497 (operands, insn))
31369 : return NULL;
31370 62 : return gen_split_212 (insn, operands);
31371 :
31372 6 : case 3:
31373 6 : if (!insn_condition_2498 (operands, insn))
31374 : return NULL;
31375 6 : return gen_split_213 (insn, operands);
31376 :
31377 : default:
31378 : return NULL;
31379 : }
31380 :
31381 785 : case NE:
31382 785 : switch (pattern1202 (x4))
31383 : {
31384 0 : case 0:
31385 0 : if (!insn_condition_2499 (operands, insn))
31386 : return NULL;
31387 0 : return gen_split_214 (insn, operands);
31388 :
31389 0 : case 1:
31390 0 : if (!insn_condition_2500 (operands, insn))
31391 : return NULL;
31392 0 : return gen_split_215 (insn, operands);
31393 :
31394 36 : case 2:
31395 36 : if (!insn_condition_2501 (operands, insn))
31396 : return NULL;
31397 34 : return gen_split_216 (insn, operands);
31398 :
31399 11 : case 3:
31400 11 : if (!insn_condition_2502 (operands, insn))
31401 : return NULL;
31402 11 : return gen_split_217 (insn, operands);
31403 :
31404 : default:
31405 : return NULL;
31406 : }
31407 :
31408 : default:
31409 : return NULL;
31410 : }
31411 :
31412 6606 : case IOR:
31413 6606 : switch (pattern1098 (x3))
31414 : {
31415 0 : case 0:
31416 0 : if (!insn_condition_2367 (operands, insn))
31417 : return NULL;
31418 0 : return gen_split_111 (insn, operands);
31419 :
31420 1522 : case 1:
31421 1522 : if (!insn_condition_2368 (operands, insn))
31422 : return NULL;
31423 761 : return gen_split_114 (insn, operands);
31424 :
31425 0 : case 2:
31426 0 : if (!insn_condition_2367 (operands, insn))
31427 : return NULL;
31428 0 : return gen_split_117 (insn, operands);
31429 :
31430 30 : case 3:
31431 30 : if (!insn_condition_2368 (operands, insn))
31432 : return NULL;
31433 15 : return gen_split_120 (insn, operands);
31434 :
31435 : default:
31436 : return NULL;
31437 : }
31438 :
31439 2815 : case XOR:
31440 2815 : switch (pattern1098 (x3))
31441 : {
31442 0 : case 0:
31443 0 : if (!insn_condition_2367 (operands, insn))
31444 : return NULL;
31445 0 : return gen_split_112 (insn, operands);
31446 :
31447 0 : case 1:
31448 0 : if (!insn_condition_2368 (operands, insn))
31449 : return NULL;
31450 0 : return gen_split_115 (insn, operands);
31451 :
31452 0 : case 2:
31453 0 : if (!insn_condition_2367 (operands, insn))
31454 : return NULL;
31455 0 : return gen_split_118 (insn, operands);
31456 :
31457 0 : case 3:
31458 0 : if (!insn_condition_2368 (operands, insn))
31459 : return NULL;
31460 0 : return gen_split_121 (insn, operands);
31461 :
31462 : default:
31463 : return NULL;
31464 : }
31465 :
31466 3177 : case EQ:
31467 3177 : x9 = XEXP (x5, 1);
31468 3177 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31469 : return NULL;
31470 714 : switch (pattern392 (x3))
31471 : {
31472 10 : case 0:
31473 10 : if (!insn_condition_2503 (operands, insn))
31474 : return NULL;
31475 10 : return gen_split_218 (insn, operands);
31476 :
31477 11 : case 1:
31478 11 : if (!insn_condition_2504 (operands, insn))
31479 : return NULL;
31480 11 : return gen_split_219 (insn, operands);
31481 :
31482 449 : case 2:
31483 449 : if (!insn_condition_2505 (operands, insn))
31484 : return NULL;
31485 447 : return gen_split_220 (insn, operands);
31486 :
31487 76 : case 3:
31488 76 : if (!insn_condition_2506 (operands, insn))
31489 : return NULL;
31490 76 : return gen_split_221 (insn, operands);
31491 :
31492 : default:
31493 : return NULL;
31494 : }
31495 :
31496 5747 : case NE:
31497 5747 : x9 = XEXP (x5, 1);
31498 5747 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31499 : return NULL;
31500 1852 : switch (pattern392 (x3))
31501 : {
31502 20 : case 0:
31503 20 : if (!insn_condition_2503 (operands, insn))
31504 : return NULL;
31505 20 : return gen_split_222 (insn, operands);
31506 :
31507 7 : case 1:
31508 7 : if (!insn_condition_2504 (operands, insn))
31509 : return NULL;
31510 7 : return gen_split_223 (insn, operands);
31511 :
31512 645 : case 2:
31513 645 : if (!insn_condition_2505 (operands, insn))
31514 : return NULL;
31515 643 : return gen_split_224 (insn, operands);
31516 :
31517 637 : case 3:
31518 637 : if (!insn_condition_2506 (operands, insn))
31519 : return NULL;
31520 637 : return gen_split_225 (insn, operands);
31521 :
31522 : default:
31523 : return NULL;
31524 : }
31525 :
31526 56572 : case MINUS:
31527 56572 : switch (pattern983 (x3))
31528 : {
31529 0 : case 0:
31530 0 : if (!insn_condition_2507 (operands, insn))
31531 : return NULL;
31532 0 : return gen_split_230 (insn, operands);
31533 :
31534 0 : case 1:
31535 0 : if (!insn_condition_2508 (operands, insn))
31536 : return NULL;
31537 0 : return gen_split_231 (insn, operands);
31538 :
31539 17 : case 2:
31540 17 : if (!insn_condition_2509 (operands, insn))
31541 : return NULL;
31542 17 : return gen_split_232 (insn, operands);
31543 :
31544 0 : case 3:
31545 0 : if (!insn_condition_2510 (operands, insn))
31546 : return NULL;
31547 0 : return gen_split_233 (insn, operands);
31548 :
31549 0 : case 4:
31550 0 : if (!insn_condition_2507 (operands, insn))
31551 : return NULL;
31552 0 : return gen_split_234 (insn, operands);
31553 :
31554 0 : case 5:
31555 0 : if (!insn_condition_2508 (operands, insn))
31556 : return NULL;
31557 0 : return gen_split_235 (insn, operands);
31558 :
31559 14 : case 6:
31560 14 : if (!insn_condition_2509 (operands, insn))
31561 : return NULL;
31562 14 : return gen_split_236 (insn, operands);
31563 :
31564 0 : case 7:
31565 0 : if (!insn_condition_2510 (operands, insn))
31566 : return NULL;
31567 0 : return gen_split_237 (insn, operands);
31568 :
31569 : default:
31570 : return NULL;
31571 : }
31572 :
31573 66631 : case ASHIFT:
31574 66631 : switch (pattern1099 (x3,
31575 : LSHIFTRT))
31576 : {
31577 622 : case 0:
31578 622 : if (!insn_condition_2487 (operands, insn))
31579 : return NULL;
31580 604 : return gen_split_579 (insn, operands);
31581 :
31582 63 : case 1:
31583 63 : if (!insn_condition_2488 (operands, insn))
31584 : return NULL;
31585 57 : return gen_split_591 (insn, operands);
31586 :
31587 3 : case 2:
31588 3 : x10 = XEXP (x4, 1);
31589 3 : x11 = XEXP (x10, 0);
31590 3 : operands[1] = x11;
31591 3 : if (nonimmediate_operand (operands[0], E_DImode))
31592 : {
31593 3 : x9 = XEXP (x5, 1);
31594 3 : operands[2] = x9;
31595 3 : x6 = XEXP (x5, 0);
31596 3 : if (rtx_equal_p (x6, operands[0]))
31597 : {
31598 0 : x12 = XEXP (x10, 1);
31599 0 : x13 = XEXP (x12, 1);
31600 0 : if (rtx_equal_p (x13, operands[2])
31601 0 : && insn_condition_2489 (operands, insn))
31602 0 : return gen_split_582 (insn, operands);
31603 : }
31604 : }
31605 3 : operands[2] = x11;
31606 3 : if (!register_operand (operands[0], E_DImode))
31607 : return NULL;
31608 3 : x6 = XEXP (x5, 0);
31609 3 : operands[1] = x6;
31610 3 : if (!nonimmediate_operand (operands[1], E_DImode))
31611 : return NULL;
31612 3 : x9 = XEXP (x5, 1);
31613 3 : operands[3] = x9;
31614 3 : x12 = XEXP (x10, 1);
31615 3 : x13 = XEXP (x12, 1);
31616 3 : if (!rtx_equal_p (x13, operands[3])
31617 3 : || !insn_condition_2490 (operands, insn))
31618 : return NULL;
31619 0 : return gen_split_585 (insn, operands);
31620 :
31621 0 : case 3:
31622 0 : x10 = XEXP (x4, 1);
31623 0 : x11 = XEXP (x10, 0);
31624 0 : operands[1] = x11;
31625 0 : if (nonimmediate_operand (operands[0], E_SImode))
31626 : {
31627 0 : x9 = XEXP (x5, 1);
31628 0 : operands[2] = x9;
31629 0 : x6 = XEXP (x5, 0);
31630 0 : if (rtx_equal_p (x6, operands[0]))
31631 : {
31632 0 : x12 = XEXP (x10, 1);
31633 0 : x13 = XEXP (x12, 1);
31634 0 : if (rtx_equal_p (x13, operands[2])
31635 0 : && insn_condition_2489 (operands, insn))
31636 0 : return gen_split_594 (insn, operands);
31637 : }
31638 : }
31639 0 : operands[2] = x11;
31640 0 : if (!register_operand (operands[0], E_SImode))
31641 : return NULL;
31642 0 : x6 = XEXP (x5, 0);
31643 0 : operands[1] = x6;
31644 0 : if (!nonimmediate_operand (operands[1], E_SImode))
31645 : return NULL;
31646 0 : x9 = XEXP (x5, 1);
31647 0 : operands[3] = x9;
31648 0 : x12 = XEXP (x10, 1);
31649 0 : x13 = XEXP (x12, 1);
31650 0 : if (!rtx_equal_p (x13, operands[3])
31651 0 : || !insn_condition_2490 (operands, insn))
31652 : return NULL;
31653 0 : return gen_split_597 (insn, operands);
31654 :
31655 : default:
31656 : return NULL;
31657 : }
31658 :
31659 40300 : case LSHIFTRT:
31660 40300 : switch (pattern1099 (x3,
31661 : ASHIFT))
31662 : {
31663 412 : case 0:
31664 412 : if (!insn_condition_2487 (operands, insn))
31665 : return NULL;
31666 217 : return gen_split_642 (insn, operands);
31667 :
31668 49 : case 1:
31669 49 : if (!insn_condition_2488 (operands, insn))
31670 : return NULL;
31671 31 : return gen_split_654 (insn, operands);
31672 :
31673 3 : case 2:
31674 3 : x10 = XEXP (x4, 1);
31675 3 : x11 = XEXP (x10, 0);
31676 3 : operands[1] = x11;
31677 3 : if (nonimmediate_operand (operands[0], E_DImode))
31678 : {
31679 3 : x9 = XEXP (x5, 1);
31680 3 : operands[2] = x9;
31681 3 : x6 = XEXP (x5, 0);
31682 3 : if (rtx_equal_p (x6, operands[0]))
31683 : {
31684 0 : x12 = XEXP (x10, 1);
31685 0 : x13 = XEXP (x12, 1);
31686 0 : if (rtx_equal_p (x13, operands[2])
31687 0 : && insn_condition_2489 (operands, insn))
31688 0 : return gen_split_645 (insn, operands);
31689 : }
31690 : }
31691 3 : operands[2] = x11;
31692 3 : if (!register_operand (operands[0], E_DImode))
31693 : return NULL;
31694 3 : x6 = XEXP (x5, 0);
31695 3 : operands[1] = x6;
31696 3 : if (!nonimmediate_operand (operands[1], E_DImode))
31697 : return NULL;
31698 3 : x9 = XEXP (x5, 1);
31699 3 : operands[3] = x9;
31700 3 : x12 = XEXP (x10, 1);
31701 3 : x13 = XEXP (x12, 1);
31702 3 : if (!rtx_equal_p (x13, operands[3])
31703 3 : || !insn_condition_2491 (operands, insn))
31704 : return NULL;
31705 0 : return gen_split_648 (insn, operands);
31706 :
31707 0 : case 3:
31708 0 : x10 = XEXP (x4, 1);
31709 0 : x11 = XEXP (x10, 0);
31710 0 : operands[1] = x11;
31711 0 : if (nonimmediate_operand (operands[0], E_SImode))
31712 : {
31713 0 : x9 = XEXP (x5, 1);
31714 0 : operands[2] = x9;
31715 0 : x6 = XEXP (x5, 0);
31716 0 : if (rtx_equal_p (x6, operands[0]))
31717 : {
31718 0 : x12 = XEXP (x10, 1);
31719 0 : x13 = XEXP (x12, 1);
31720 0 : if (rtx_equal_p (x13, operands[2])
31721 0 : && insn_condition_2489 (operands, insn))
31722 0 : return gen_split_657 (insn, operands);
31723 : }
31724 : }
31725 0 : operands[2] = x11;
31726 0 : if (!register_operand (operands[0], E_SImode))
31727 : return NULL;
31728 0 : x6 = XEXP (x5, 0);
31729 0 : operands[1] = x6;
31730 0 : if (!nonimmediate_operand (operands[1], E_SImode))
31731 : return NULL;
31732 0 : x9 = XEXP (x5, 1);
31733 0 : operands[3] = x9;
31734 0 : x12 = XEXP (x10, 1);
31735 0 : x13 = XEXP (x12, 1);
31736 0 : if (!rtx_equal_p (x13, operands[3])
31737 0 : || !insn_condition_2490 (operands, insn))
31738 : return NULL;
31739 0 : return gen_split_660 (insn, operands);
31740 :
31741 : default:
31742 : return NULL;
31743 : }
31744 :
31745 1438 : case UNSPEC:
31746 1438 : switch (pattern987 (x3))
31747 : {
31748 39 : case 0:
31749 39 : if (!insn_condition_609 (operands, insn))
31750 : return NULL;
31751 39 : return gen_split_975 (insn, operands);
31752 :
31753 1383 : case 1:
31754 1383 : if (!insn_condition_610 (operands, insn))
31755 : return NULL;
31756 1383 : return gen_split_976 (insn, operands);
31757 :
31758 0 : case 2:
31759 0 : if (!insn_condition_2511 (operands, insn))
31760 : return NULL;
31761 0 : return gen_split_978 (insn, operands);
31762 :
31763 1 : case 3:
31764 1 : if (!insn_condition_2512 (operands, insn))
31765 : return NULL;
31766 1 : return gen_split_979 (insn, operands);
31767 :
31768 8 : case 4:
31769 8 : if (!insn_condition_2513 (operands, insn))
31770 : return NULL;
31771 8 : return gen_split_980 (insn, operands);
31772 :
31773 : default:
31774 : return NULL;
31775 : }
31776 :
31777 : default:
31778 : return NULL;
31779 : }
31780 : }
31781 :
31782 : rtx_insn *
31783 18980 : split_33 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31784 : {
31785 18980 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31786 18980 : rtx x2, x3, x4, x5, x6, x7;
31787 18980 : rtx_insn *res ATTRIBUTE_UNUSED;
31788 18980 : x2 = XVECEXP (x1, 0, 0);
31789 18980 : x3 = XEXP (x2, 0);
31790 18980 : operands[0] = x3;
31791 18980 : x4 = XEXP (x2, 1);
31792 18980 : x5 = XEXP (x4, 0);
31793 18980 : operands[1] = x5;
31794 18980 : x6 = XVECEXP (x1, 0, 1);
31795 18980 : switch (GET_CODE (x6))
31796 : {
31797 15048 : case CLOBBER:
31798 15048 : x7 = XEXP (x6, 0);
31799 15048 : switch (pattern735 (x7))
31800 : {
31801 2782 : case 0:
31802 2782 : if (!register_operand (operands[0], E_DImode)
31803 2782 : || GET_MODE (x4) != E_DImode
31804 5564 : || !general_operand (operands[1], E_DImode))
31805 : return NULL;
31806 2664 : if (insn_condition_2576 (operands, insn))
31807 40 : return gen_split_511 (insn, operands);
31808 2624 : if (!insn_condition_2577 (operands, insn))
31809 : return NULL;
31810 2624 : return gen_split_518 (insn, operands);
31811 :
31812 64 : case 1:
31813 64 : if (!register_operand (operands[0], E_TImode)
31814 64 : || GET_MODE (x4) != E_TImode
31815 64 : || !general_operand (operands[1], E_TImode)
31816 128 : || !insn_condition_2578 (operands, insn))
31817 : return NULL;
31818 64 : return gen_split_512 (insn, operands);
31819 :
31820 87 : case 2:
31821 87 : if (!register_operand (operands[0], E_QImode)
31822 87 : || GET_MODE (x4) != E_QImode
31823 87 : || !general_operand (operands[1], E_QImode)
31824 158 : || !insn_condition_2579 (operands, insn))
31825 : return NULL;
31826 71 : return gen_split_515 (insn, operands);
31827 :
31828 431 : case 3:
31829 431 : if (!register_operand (operands[0], E_HImode)
31830 431 : || GET_MODE (x4) != E_HImode
31831 431 : || !general_operand (operands[1], E_HImode)
31832 751 : || !insn_condition_2580 (operands, insn))
31833 : return NULL;
31834 320 : return gen_split_516 (insn, operands);
31835 :
31836 2356 : case 4:
31837 2356 : if (!register_operand (operands[0], E_SImode)
31838 2356 : || GET_MODE (x4) != E_SImode
31839 2356 : || !general_operand (operands[1], E_SImode)
31840 4287 : || !insn_condition_2581 (operands, insn))
31841 : return NULL;
31842 1931 : return gen_split_517 (insn, operands);
31843 :
31844 324 : case 5:
31845 324 : if (GET_MODE (x4) != E_SFmode)
31846 : return NULL;
31847 324 : if (fp_register_operand (operands[0], E_SFmode)
31848 150 : && fp_register_operand (operands[1], E_SFmode)
31849 324 : && insn_condition_394 (operands, insn))
31850 150 : return gen_split_526 (insn, operands);
31851 174 : if (!general_reg_operand (operands[0], E_SFmode)
31852 0 : || !general_reg_operand (operands[1], E_SFmode)
31853 174 : || !insn_condition_394 (operands, insn))
31854 : return NULL;
31855 0 : return gen_split_532 (insn, operands);
31856 :
31857 725 : case 6:
31858 725 : if (GET_MODE (x4) != E_DFmode)
31859 : return NULL;
31860 725 : if (fp_register_operand (operands[0], E_DFmode)
31861 330 : && fp_register_operand (operands[1], E_DFmode)
31862 725 : && insn_condition_394 (operands, insn))
31863 330 : return gen_split_528 (insn, operands);
31864 395 : if (!general_reg_operand (operands[0], E_DFmode)
31865 0 : || !general_reg_operand (operands[1], E_DFmode)
31866 395 : || !insn_condition_394 (operands, insn))
31867 : return NULL;
31868 0 : return gen_split_534 (insn, operands);
31869 :
31870 6978 : case 7:
31871 6978 : if (GET_MODE (x4) != E_XFmode)
31872 : return NULL;
31873 6978 : if (fp_register_operand (operands[0], E_XFmode)
31874 3314 : && fp_register_operand (operands[1], E_XFmode)
31875 6978 : && insn_condition_394 (operands, insn))
31876 3314 : return gen_split_530 (insn, operands);
31877 3664 : if (!general_reg_operand (operands[0], E_XFmode)
31878 1 : || !general_reg_operand (operands[1], E_XFmode)
31879 3664 : || !insn_condition_394 (operands, insn))
31880 : return NULL;
31881 1 : return gen_split_536 (insn, operands);
31882 :
31883 : default:
31884 : return NULL;
31885 : }
31886 :
31887 3932 : case USE:
31888 3932 : if (pattern880 (x1) != 0
31889 3932 : || !insn_condition_2575 (operands, insn))
31890 : return NULL;
31891 1734 : return gen_split_523 (insn, operands);
31892 :
31893 : default:
31894 : return NULL;
31895 : }
31896 : }
31897 :
31898 : rtx_insn *
31899 1620780 : split_36 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31900 : {
31901 1620780 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31902 1620780 : rtx x2, x3, x4, x5, x6, x7, x8;
31903 1620780 : rtx_insn *res ATTRIBUTE_UNUSED;
31904 1620780 : x2 = XVECEXP (x1, 0, 0);
31905 1620780 : x3 = XEXP (x2, 1);
31906 1620780 : operands[1] = x3;
31907 1620780 : if (pattern373 (x1) == 0)
31908 : {
31909 1567924 : switch (GET_MODE (operands[0]))
31910 : {
31911 531 : case E_HImode:
31912 531 : if (memory_operand (operands[0], E_HImode)
31913 349 : && const0_operand (operands[1], E_HImode)
31914 857 : && insn_condition_2602 (operands, insn))
31915 325 : return gen_split_14 (insn, operands);
31916 206 : if (nonimmediate_operand (operands[0], E_HImode)
31917 29 : && constm1_operand (operands[1], E_HImode)
31918 234 : && insn_condition_2602 (operands, insn))
31919 27 : return gen_split_17 (insn, operands);
31920 : break;
31921 :
31922 217846 : case E_SImode:
31923 217846 : if (memory_operand (operands[0], E_SImode)
31924 2182 : && const0_operand (operands[1], E_SImode)
31925 219989 : && insn_condition_2602 (operands, insn))
31926 2142 : return gen_split_15 (insn, operands);
31927 215704 : if (nonimmediate_operand (operands[0], E_SImode)
31928 215568 : && constm1_operand (operands[1], E_SImode)
31929 240636 : && insn_condition_2602 (operands, insn))
31930 24924 : return gen_split_18 (insn, operands);
31931 : break;
31932 :
31933 1348702 : case E_DImode:
31934 1348702 : if (memory_operand (operands[0], E_DImode)
31935 3262 : && const0_operand (operands[1], E_DImode)
31936 1351929 : && insn_condition_2603 (operands, insn))
31937 3223 : return gen_split_16 (insn, operands);
31938 1345479 : if (nonimmediate_operand (operands[0], E_DImode)
31939 1341330 : && constm1_operand (operands[1], E_DImode)
31940 1348907 : && insn_condition_2603 (operands, insn))
31941 3427 : return gen_split_19 (insn, operands);
31942 : break;
31943 :
31944 : default:
31945 : break;
31946 : }
31947 : }
31948 1586712 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31949 : return NULL;
31950 1533092 : x4 = XEXP (x2, 0);
31951 1533092 : if (GET_CODE (x4) != ZERO_EXTRACT
31952 1795 : || GET_MODE (x4) != E_HImode)
31953 : return NULL;
31954 193 : x5 = XEXP (x4, 1);
31955 193 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
31956 : return NULL;
31957 193 : x6 = XVECEXP (x1, 0, 1);
31958 193 : if (pattern286 (x6,
31959 : E_CCmode,
31960 : 17) != 0)
31961 : return NULL;
31962 85 : x7 = XEXP (x4, 0);
31963 85 : operands[0] = x7;
31964 85 : x8 = XEXP (x4, 2);
31965 85 : operands[1] = x8;
31966 85 : if (!register_operand (operands[1], E_QImode))
31967 : return NULL;
31968 31 : switch (GET_MODE (operands[0]))
31969 : {
31970 30 : case E_QImode:
31971 30 : if (nonimmediate_operand (operands[0], E_QImode)
31972 30 : && insn_condition_2604 (operands, insn))
31973 30 : return gen_split_856 (insn, operands);
31974 0 : if (!register_operand (operands[0], E_QImode)
31975 0 : || !insn_condition_198 (operands, insn))
31976 : return NULL;
31977 0 : return gen_split_858 (insn, operands);
31978 :
31979 1 : case E_HImode:
31980 1 : if (nonimmediate_operand (operands[0], E_HImode)
31981 1 : && insn_condition_2604 (operands, insn))
31982 1 : return gen_split_857 (insn, operands);
31983 0 : if (!register_operand (operands[0], E_HImode)
31984 0 : || !insn_condition_198 (operands, insn))
31985 : return NULL;
31986 0 : return gen_split_859 (insn, operands);
31987 :
31988 : default:
31989 : return NULL;
31990 : }
31991 : }
31992 :
31993 : rtx_insn *
31994 25738785 : split_40 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31995 : {
31996 25738785 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31997 25738785 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
31998 25738785 : rtx_insn *res ATTRIBUTE_UNUSED;
31999 25738785 : x2 = XVECEXP (x1, 0, 0);
32000 25738785 : x3 = XEXP (x2, 1);
32001 25738785 : operands[3] = x3;
32002 25738785 : if (promotable_binary_operator (operands[3], E_VOIDmode)
32003 25738785 : && pattern373 (x1) == 0
32004 48989720 : && general_reg_operand (operands[0], E_VOIDmode))
32005 : {
32006 13486576 : x4 = XEXP (x3, 0);
32007 13486576 : operands[1] = x4;
32008 13486576 : if (general_reg_operand (operands[1], E_VOIDmode))
32009 : {
32010 13302019 : x5 = XEXP (x3, 1);
32011 13302019 : operands[2] = x5;
32012 13302019 : if (aligned_operand (operands[2], E_VOIDmode)
32013 13302019 : && insn_condition_2665 (operands, insn))
32014 299321 : return gen_split_1056 (insn, operands);
32015 : }
32016 : }
32017 25439464 : x6 = XVECEXP (x1, 0, 1);
32018 25439464 : if (GET_CODE (x6) != CLOBBER)
32019 : return NULL;
32020 25428527 : x7 = XEXP (x6, 0);
32021 25428527 : if (GET_CODE (x7) != REG
32022 25423635 : || REGNO (x7) != 17
32023 48392369 : || GET_MODE (x7) != E_CCmode)
32024 : return NULL;
32025 22951614 : x8 = XEXP (x2, 0);
32026 22951614 : operands[0] = x8;
32027 22951614 : x5 = XEXP (x3, 1);
32028 22951614 : operands[2] = x5;
32029 22951614 : switch (GET_CODE (x3))
32030 : {
32031 16161265 : case PLUS:
32032 16161265 : if (GET_MODE (x3) != E_V2QImode)
32033 : return NULL;
32034 1189 : x4 = XEXP (x3, 0);
32035 1189 : operands[1] = x4;
32036 1189 : if (general_reg_operand (operands[1], E_V2QImode)
32037 166 : && general_reg_operand (operands[0], E_V2QImode)
32038 166 : && general_reg_operand (operands[2], E_V2QImode)
32039 1355 : && insn_condition_2449 (operands, insn))
32040 166 : return gen_split_1137 (insn, operands);
32041 1023 : if (!sse_reg_operand (operands[1], E_V2QImode)
32042 54 : || !sse_reg_operand (operands[0], E_V2QImode)
32043 54 : || !sse_reg_operand (operands[2], E_V2QImode)
32044 1023 : || !insn_condition_2666 (operands, insn))
32045 : return NULL;
32046 54 : return gen_split_1139 (insn, operands);
32047 :
32048 1552407 : case MINUS:
32049 1552407 : if (GET_MODE (x3) != E_V2QImode)
32050 : return NULL;
32051 111 : x4 = XEXP (x3, 0);
32052 111 : operands[1] = x4;
32053 111 : if (general_reg_operand (operands[1], E_V2QImode)
32054 28 : && general_reg_operand (operands[0], E_V2QImode)
32055 28 : && general_reg_operand (operands[2], E_V2QImode)
32056 139 : && insn_condition_2449 (operands, insn))
32057 28 : return gen_split_1138 (insn, operands);
32058 83 : if (!sse_reg_operand (operands[1], E_V2QImode)
32059 3 : || !sse_reg_operand (operands[0], E_V2QImode)
32060 3 : || !sse_reg_operand (operands[2], E_V2QImode)
32061 83 : || !insn_condition_2666 (operands, insn))
32062 : return NULL;
32063 3 : return gen_split_1140 (insn, operands);
32064 :
32065 1423909 : case ASHIFT:
32066 1423909 : x4 = XEXP (x3, 0);
32067 1423909 : operands[1] = x4;
32068 1423909 : switch (GET_MODE (operands[0]))
32069 : {
32070 12 : case E_V2QImode:
32071 12 : if (pattern1379 (x3,
32072 : E_V2QImode) != 0
32073 12 : || !insn_condition_2449 (operands, insn))
32074 : return NULL;
32075 6 : return gen_split_1148 (insn, operands);
32076 :
32077 31570 : case E_QImode:
32078 31570 : if (pattern1384 (x3,
32079 : E_QImode) != 0
32080 31570 : || !insn_condition_2667 (operands, insn))
32081 : return NULL;
32082 3 : return gen_split_1319 (insn, operands);
32083 :
32084 15701 : case E_HImode:
32085 15701 : if (pattern1384 (x3,
32086 : E_HImode) != 0
32087 15701 : || !insn_condition_2667 (operands, insn))
32088 : return NULL;
32089 1 : return gen_split_1321 (insn, operands);
32090 :
32091 420448 : case E_SImode:
32092 420448 : if (pattern1384 (x3,
32093 : E_SImode) != 0
32094 420448 : || !insn_condition_2668 (operands, insn))
32095 : return NULL;
32096 1 : return gen_split_1323 (insn, operands);
32097 :
32098 946372 : case E_DImode:
32099 946372 : if (pattern1384 (x3,
32100 : E_DImode) != 0
32101 946372 : || !insn_condition_2668 (operands, insn))
32102 : return NULL;
32103 1 : return gen_split_1325 (insn, operands);
32104 :
32105 : default:
32106 : return NULL;
32107 : }
32108 :
32109 1407351 : case AND:
32110 1407351 : x4 = XEXP (x3, 0);
32111 1407351 : switch (GET_CODE (x4))
32112 : {
32113 5897 : case NOT:
32114 5897 : x9 = XEXP (x4, 0);
32115 5897 : operands[1] = x9;
32116 5897 : switch (GET_MODE (operands[0]))
32117 : {
32118 47 : case E_V4QImode:
32119 47 : if (GET_MODE (x3) != E_V4QImode
32120 47 : || GET_MODE (x4) != E_V4QImode)
32121 : return NULL;
32122 47 : if (general_reg_operand (operands[0], E_V4QImode)
32123 1 : && general_reg_operand (operands[1], E_V4QImode)
32124 48 : && general_reg_operand (operands[2], E_V4QImode))
32125 : {
32126 1 : if (insn_condition_2669 (operands, insn))
32127 0 : return gen_split_1164 (insn, operands);
32128 1 : if (insn_condition_2670 (operands, insn))
32129 1 : return gen_split_1167 (insn, operands);
32130 : }
32131 46 : if (!sse_reg_operand (operands[0], E_V4QImode)
32132 22 : || !sse_reg_operand (operands[1], E_V4QImode)
32133 22 : || !sse_reg_operand (operands[2], E_V4QImode)
32134 46 : || !insn_condition_2666 (operands, insn))
32135 : return NULL;
32136 22 : return gen_split_1170 (insn, operands);
32137 :
32138 26 : case E_V2QImode:
32139 26 : if (GET_MODE (x3) != E_V2QImode
32140 26 : || GET_MODE (x4) != E_V2QImode)
32141 : return NULL;
32142 26 : if (general_reg_operand (operands[0], E_V2QImode)
32143 1 : && general_reg_operand (operands[1], E_V2QImode)
32144 27 : && general_reg_operand (operands[2], E_V2QImode))
32145 : {
32146 1 : if (insn_condition_2669 (operands, insn))
32147 0 : return gen_split_1165 (insn, operands);
32148 1 : if (insn_condition_2670 (operands, insn))
32149 1 : return gen_split_1168 (insn, operands);
32150 : }
32151 25 : if (!sse_reg_operand (operands[0], E_V2QImode)
32152 12 : || !sse_reg_operand (operands[1], E_V2QImode)
32153 12 : || !sse_reg_operand (operands[2], E_V2QImode)
32154 25 : || !insn_condition_2666 (operands, insn))
32155 : return NULL;
32156 12 : return gen_split_1171 (insn, operands);
32157 :
32158 50 : case E_V2HImode:
32159 50 : if (GET_MODE (x3) != E_V2HImode
32160 50 : || GET_MODE (x4) != E_V2HImode)
32161 : return NULL;
32162 50 : if (general_reg_operand (operands[0], E_V2HImode)
32163 1 : && general_reg_operand (operands[1], E_V2HImode)
32164 51 : && general_reg_operand (operands[2], E_V2HImode))
32165 : {
32166 1 : if (insn_condition_2669 (operands, insn))
32167 0 : return gen_split_1166 (insn, operands);
32168 1 : if (insn_condition_2670 (operands, insn))
32169 1 : return gen_split_1169 (insn, operands);
32170 : }
32171 49 : if (!sse_reg_operand (operands[0], E_V2HImode)
32172 24 : || !sse_reg_operand (operands[1], E_V2HImode)
32173 24 : || !sse_reg_operand (operands[2], E_V2HImode)
32174 49 : || !insn_condition_2666 (operands, insn))
32175 : return NULL;
32176 24 : return gen_split_1172 (insn, operands);
32177 :
32178 2089 : case E_QImode:
32179 2089 : if (pattern1547 (x3,
32180 : E_QImode) != 0
32181 2089 : || !insn_condition_2667 (operands, insn))
32182 : return NULL;
32183 0 : return gen_split_1302 (insn, operands);
32184 :
32185 145 : case E_HImode:
32186 145 : if (pattern1547 (x3,
32187 : E_HImode) != 0
32188 145 : || !insn_condition_2667 (operands, insn))
32189 : return NULL;
32190 0 : return gen_split_1303 (insn, operands);
32191 :
32192 2477 : case E_SImode:
32193 2477 : if (pattern1547 (x3,
32194 : E_SImode) != 0
32195 2477 : || !insn_condition_2668 (operands, insn))
32196 : return NULL;
32197 0 : return gen_split_1304 (insn, operands);
32198 :
32199 1060 : case E_DImode:
32200 1060 : if (pattern1547 (x3,
32201 : E_DImode) != 0
32202 1060 : || !insn_condition_2668 (operands, insn))
32203 : return NULL;
32204 0 : return gen_split_1305 (insn, operands);
32205 :
32206 : default:
32207 : return NULL;
32208 : }
32209 :
32210 1285961 : case REG:
32211 1285961 : case SUBREG:
32212 1285961 : case MEM:
32213 1285961 : switch (pattern1290 (x3))
32214 : {
32215 102 : case 0:
32216 102 : if (nonimmediate_gr_operand (operands[0], E_V4QImode)
32217 15 : && nonimmediate_gr_operand (operands[1], E_V4QImode)
32218 12 : && reg_or_const_vector_operand (operands[2], E_V4QImode)
32219 114 : && insn_condition_170 (operands, insn))
32220 5 : return gen_split_1173 (insn, operands);
32221 97 : if (!sse_reg_operand (operands[0], E_V4QImode)
32222 46 : || !sse_reg_operand (operands[1], E_V4QImode)
32223 46 : || !sse_reg_operand (operands[2], E_V4QImode)
32224 97 : || !insn_condition_2666 (operands, insn))
32225 : return NULL;
32226 46 : return gen_split_1182 (insn, operands);
32227 :
32228 160 : case 1:
32229 160 : if (nonimmediate_gr_operand (operands[0], E_V2QImode)
32230 5 : && nonimmediate_gr_operand (operands[1], E_V2QImode)
32231 4 : && reg_or_const_vector_operand (operands[2], E_V2QImode)
32232 164 : && insn_condition_170 (operands, insn))
32233 3 : return gen_split_1176 (insn, operands);
32234 157 : if (!sse_reg_operand (operands[0], E_V2QImode)
32235 77 : || !sse_reg_operand (operands[1], E_V2QImode)
32236 77 : || !sse_reg_operand (operands[2], E_V2QImode)
32237 157 : || !insn_condition_2666 (operands, insn))
32238 : return NULL;
32239 77 : return gen_split_1185 (insn, operands);
32240 :
32241 116 : case 2:
32242 116 : if (nonimmediate_gr_operand (operands[0], E_V2HImode)
32243 12 : && nonimmediate_gr_operand (operands[1], E_V2HImode)
32244 12 : && reg_or_const_vector_operand (operands[2], E_V2HImode)
32245 128 : && insn_condition_170 (operands, insn))
32246 9 : return gen_split_1179 (insn, operands);
32247 107 : if (!sse_reg_operand (operands[0], E_V2HImode)
32248 49 : || !sse_reg_operand (operands[1], E_V2HImode)
32249 49 : || !sse_reg_operand (operands[2], E_V2HImode)
32250 107 : || !insn_condition_2666 (operands, insn))
32251 : return NULL;
32252 49 : return gen_split_1188 (insn, operands);
32253 :
32254 18 : case 3:
32255 18 : if (!insn_condition_2667 (operands, insn))
32256 : return NULL;
32257 18 : return gen_split_1290 (insn, operands);
32258 :
32259 323 : case 4:
32260 323 : if (!insn_condition_2667 (operands, insn))
32261 : return NULL;
32262 323 : return gen_split_1293 (insn, operands);
32263 :
32264 0 : case 5:
32265 0 : if (!insn_condition_2668 (operands, insn))
32266 : return NULL;
32267 0 : return gen_split_1296 (insn, operands);
32268 :
32269 1 : case 6:
32270 1 : if (!insn_condition_2668 (operands, insn))
32271 : return NULL;
32272 1 : return gen_split_1299 (insn, operands);
32273 :
32274 : default:
32275 : return NULL;
32276 : }
32277 :
32278 : default:
32279 : return NULL;
32280 : }
32281 :
32282 842433 : case IOR:
32283 842433 : switch (pattern1290 (x3))
32284 : {
32285 323 : case 0:
32286 323 : if (nonimmediate_gr_operand (operands[0], E_V4QImode)
32287 28 : && nonimmediate_gr_operand (operands[1], E_V4QImode)
32288 13 : && reg_or_const_vector_operand (operands[2], E_V4QImode)
32289 336 : && insn_condition_170 (operands, insn))
32290 7 : return gen_split_1174 (insn, operands);
32291 316 : if (!sse_reg_operand (operands[0], E_V4QImode)
32292 106 : || !sse_reg_operand (operands[1], E_V4QImode)
32293 106 : || !sse_reg_operand (operands[2], E_V4QImode)
32294 316 : || !insn_condition_2666 (operands, insn))
32295 : return NULL;
32296 106 : return gen_split_1183 (insn, operands);
32297 :
32298 160 : case 1:
32299 160 : if (nonimmediate_gr_operand (operands[0], E_V2QImode)
32300 27 : && nonimmediate_gr_operand (operands[1], E_V2QImode)
32301 27 : && reg_or_const_vector_operand (operands[2], E_V2QImode)
32302 187 : && insn_condition_170 (operands, insn))
32303 27 : return gen_split_1177 (insn, operands);
32304 133 : if (!sse_reg_operand (operands[0], E_V2QImode)
32305 11 : || !sse_reg_operand (operands[1], E_V2QImode)
32306 11 : || !sse_reg_operand (operands[2], E_V2QImode)
32307 133 : || !insn_condition_2666 (operands, insn))
32308 : return NULL;
32309 11 : return gen_split_1186 (insn, operands);
32310 :
32311 158 : case 2:
32312 158 : if (nonimmediate_gr_operand (operands[0], E_V2HImode)
32313 1 : && nonimmediate_gr_operand (operands[1], E_V2HImode)
32314 1 : && reg_or_const_vector_operand (operands[2], E_V2HImode)
32315 159 : && insn_condition_170 (operands, insn))
32316 1 : return gen_split_1180 (insn, operands);
32317 157 : if (!sse_reg_operand (operands[0], E_V2HImode)
32318 46 : || !sse_reg_operand (operands[1], E_V2HImode)
32319 46 : || !sse_reg_operand (operands[2], E_V2HImode)
32320 157 : || !insn_condition_2666 (operands, insn))
32321 : return NULL;
32322 46 : return gen_split_1189 (insn, operands);
32323 :
32324 36 : case 3:
32325 36 : if (!insn_condition_2667 (operands, insn))
32326 : return NULL;
32327 36 : return gen_split_1291 (insn, operands);
32328 :
32329 66 : case 4:
32330 66 : if (!insn_condition_2667 (operands, insn))
32331 : return NULL;
32332 66 : return gen_split_1294 (insn, operands);
32333 :
32334 2 : case 5:
32335 2 : if (!insn_condition_2668 (operands, insn))
32336 : return NULL;
32337 2 : return gen_split_1297 (insn, operands);
32338 :
32339 2 : case 6:
32340 2 : if (!insn_condition_2668 (operands, insn))
32341 : return NULL;
32342 2 : return gen_split_1300 (insn, operands);
32343 :
32344 : default:
32345 : return NULL;
32346 : }
32347 :
32348 471787 : case XOR:
32349 471787 : switch (pattern1290 (x3))
32350 : {
32351 100 : case 0:
32352 100 : if (nonimmediate_gr_operand (operands[0], E_V4QImode)
32353 14 : && nonimmediate_gr_operand (operands[1], E_V4QImode)
32354 12 : && reg_or_const_vector_operand (operands[2], E_V4QImode)
32355 112 : && insn_condition_170 (operands, insn))
32356 8 : return gen_split_1175 (insn, operands);
32357 92 : if (!sse_reg_operand (operands[0], E_V4QImode)
32358 32 : || !sse_reg_operand (operands[1], E_V4QImode)
32359 32 : || !sse_reg_operand (operands[2], E_V4QImode)
32360 92 : || !insn_condition_2666 (operands, insn))
32361 : return NULL;
32362 32 : return gen_split_1184 (insn, operands);
32363 :
32364 72 : case 1:
32365 72 : if (nonimmediate_gr_operand (operands[0], E_V2QImode)
32366 19 : && nonimmediate_gr_operand (operands[1], E_V2QImode)
32367 19 : && reg_or_const_vector_operand (operands[2], E_V2QImode)
32368 91 : && insn_condition_170 (operands, insn))
32369 19 : return gen_split_1178 (insn, operands);
32370 53 : if (!sse_reg_operand (operands[0], E_V2QImode)
32371 17 : || !sse_reg_operand (operands[1], E_V2QImode)
32372 17 : || !sse_reg_operand (operands[2], E_V2QImode)
32373 53 : || !insn_condition_2666 (operands, insn))
32374 : return NULL;
32375 17 : return gen_split_1187 (insn, operands);
32376 :
32377 22 : case 2:
32378 22 : if (nonimmediate_gr_operand (operands[0], E_V2HImode)
32379 1 : && nonimmediate_gr_operand (operands[1], E_V2HImode)
32380 1 : && reg_or_const_vector_operand (operands[2], E_V2HImode)
32381 23 : && insn_condition_170 (operands, insn))
32382 1 : return gen_split_1181 (insn, operands);
32383 21 : if (!sse_reg_operand (operands[0], E_V2HImode)
32384 10 : || !sse_reg_operand (operands[1], E_V2HImode)
32385 10 : || !sse_reg_operand (operands[2], E_V2HImode)
32386 21 : || !insn_condition_2666 (operands, insn))
32387 : return NULL;
32388 10 : return gen_split_1190 (insn, operands);
32389 :
32390 2 : case 3:
32391 2 : if (!insn_condition_2667 (operands, insn))
32392 : return NULL;
32393 2 : return gen_split_1292 (insn, operands);
32394 :
32395 7 : case 4:
32396 7 : if (!insn_condition_2667 (operands, insn))
32397 : return NULL;
32398 7 : return gen_split_1295 (insn, operands);
32399 :
32400 2 : case 5:
32401 2 : if (!insn_condition_2668 (operands, insn))
32402 : return NULL;
32403 2 : return gen_split_1298 (insn, operands);
32404 :
32405 3 : case 6:
32406 3 : if (!insn_condition_2668 (operands, insn))
32407 : return NULL;
32408 3 : return gen_split_1301 (insn, operands);
32409 :
32410 : default:
32411 : return NULL;
32412 : }
32413 :
32414 : default:
32415 : return NULL;
32416 : }
32417 : }
32418 :
32419 : rtx_insn *
32420 146236 : split_48 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32421 : {
32422 146236 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32423 146236 : rtx x2, x3, x4, x5, x6, x7;
32424 146236 : rtx_insn *res ATTRIBUTE_UNUSED;
32425 146236 : x2 = XEXP (x1, 0);
32426 146236 : operands[0] = x2;
32427 146236 : x3 = XEXP (x1, 1);
32428 146236 : x4 = XEXP (x3, 0);
32429 146236 : switch (GET_CODE (x4))
32430 : {
32431 139920 : case REG:
32432 139920 : operands[1] = x4;
32433 139920 : if (general_reg_operand (operands[1], E_VOIDmode)
32434 95619 : && general_reg_operand (operands[0], E_VOIDmode)
32435 235535 : && insn_condition_2753 (operands, insn))
32436 4620 : return gen_split_1060 (insn, operands);
32437 135300 : if (general_reg_operand (operands[1], E_V4QImode)
32438 1 : && general_reg_operand (operands[0], E_V4QImode)
32439 1 : && GET_MODE (x3) == E_V4QImode
32440 135301 : && insn_condition_170 (operands, insn))
32441 1 : return gen_split_1158 (insn, operands);
32442 135299 : if (general_reg_operand (operands[1], E_V2QImode)
32443 13 : && general_reg_operand (operands[0], E_V2QImode)
32444 13 : && GET_MODE (x3) == E_V2QImode
32445 135312 : && insn_condition_170 (operands, insn))
32446 13 : return gen_split_1159 (insn, operands);
32447 135286 : if (general_reg_operand (operands[1], E_V2HImode)
32448 1 : && general_reg_operand (operands[0], E_V2HImode)
32449 1 : && GET_MODE (x3) == E_V2HImode
32450 135287 : && insn_condition_170 (operands, insn))
32451 1 : return gen_split_1160 (insn, operands);
32452 135285 : if (sse_reg_operand (operands[1], E_V4QImode)
32453 8 : && sse_reg_operand (operands[0], E_V4QImode)
32454 8 : && GET_MODE (x3) == E_V4QImode
32455 135285 : && insn_condition_2666 (operands, insn))
32456 8 : return gen_split_1161 (insn, operands);
32457 135277 : if (sse_reg_operand (operands[1], E_V2QImode)
32458 2 : && sse_reg_operand (operands[0], E_V2QImode)
32459 2 : && GET_MODE (x3) == E_V2QImode
32460 135277 : && insn_condition_2666 (operands, insn))
32461 2 : return gen_split_1162 (insn, operands);
32462 135275 : if (sse_reg_operand (operands[1], E_V2HImode)
32463 8 : && sse_reg_operand (operands[0], E_V2HImode)
32464 8 : && GET_MODE (x3) == E_V2HImode
32465 135275 : && insn_condition_2666 (operands, insn))
32466 8 : return gen_split_1163 (insn, operands);
32467 135267 : if (mask_reg_operand (operands[1], E_QImode)
32468 37 : && mask_reg_operand (operands[0], E_QImode)
32469 37 : && GET_MODE (x3) == E_QImode
32470 135267 : && insn_condition_2667 (operands, insn))
32471 37 : return gen_split_1306 (insn, operands);
32472 135230 : if (mask_reg_operand (operands[1], E_HImode)
32473 1 : && mask_reg_operand (operands[0], E_HImode)
32474 1 : && GET_MODE (x3) == E_HImode
32475 135230 : && insn_condition_2667 (operands, insn))
32476 1 : return gen_split_1307 (insn, operands);
32477 135229 : if (mask_reg_operand (operands[1], E_SImode)
32478 0 : && mask_reg_operand (operands[0], E_SImode)
32479 0 : && GET_MODE (x3) == E_SImode
32480 135229 : && insn_condition_2668 (operands, insn))
32481 0 : return gen_split_1308 (insn, operands);
32482 135229 : if (!mask_reg_operand (operands[1], E_DImode)
32483 0 : || !mask_reg_operand (operands[0], E_DImode)
32484 0 : || GET_MODE (x3) != E_DImode
32485 135229 : || !insn_condition_2668 (operands, insn))
32486 : return NULL;
32487 0 : return gen_split_1309 (insn, operands);
32488 :
32489 47 : case UNSPEC:
32490 47 : if (XVECLEN (x4, 0) != 3)
32491 : return NULL;
32492 43 : x5 = XVECEXP (x4, 0, 0);
32493 43 : operands[1] = x5;
32494 43 : x6 = XVECEXP (x4, 0, 1);
32495 43 : operands[2] = x6;
32496 43 : x7 = XVECEXP (x4, 0, 2);
32497 43 : operands[3] = x7;
32498 43 : switch (XINT (x4, 1))
32499 : {
32500 41 : case 56:
32501 41 : switch (GET_MODE (operands[0]))
32502 : {
32503 17 : case E_HImode:
32504 17 : switch (pattern1011 (x3))
32505 : {
32506 5 : case 0:
32507 5 : if (!insn_condition_2808 (operands, insn))
32508 : return NULL;
32509 5 : return gen_split_1492 (insn, operands);
32510 :
32511 0 : case 1:
32512 0 : if (!insn_condition_2809 (operands, insn))
32513 : return NULL;
32514 0 : return gen_split_1499 (insn, operands);
32515 :
32516 10 : case 2:
32517 10 : if (!insn_condition_2810 (operands, insn))
32518 : return NULL;
32519 10 : return gen_split_1501 (insn, operands);
32520 :
32521 1 : case 3:
32522 1 : if (!insn_condition_2811 (operands, insn))
32523 : return NULL;
32524 1 : return gen_split_1527 (insn, operands);
32525 :
32526 1 : case 4:
32527 1 : if (!insn_condition_2811 (operands, insn))
32528 : return NULL;
32529 1 : return gen_split_1533 (insn, operands);
32530 :
32531 : default:
32532 : return NULL;
32533 : }
32534 :
32535 13 : case E_QImode:
32536 13 : switch (pattern1012 (x3))
32537 : {
32538 1 : case 0:
32539 1 : if (!insn_condition_2812 (operands, insn))
32540 : return NULL;
32541 1 : return gen_split_1493 (insn, operands);
32542 :
32543 : case 1:
32544 : if (!insn_condition_2813 (operands, insn))
32545 : return NULL;
32546 : return gen_split_1494 (insn, operands);
32547 :
32548 6 : case 2:
32549 6 : if (!insn_condition_2814 (operands, insn))
32550 : return NULL;
32551 6 : return gen_split_1495 (insn, operands);
32552 :
32553 : case 3:
32554 : if (!insn_condition_2815 (operands, insn))
32555 : return NULL;
32556 : return gen_split_1496 (insn, operands);
32557 :
32558 : case 4:
32559 : if (!insn_condition_2816 (operands, insn))
32560 : return NULL;
32561 : return gen_split_1497 (insn, operands);
32562 :
32563 0 : case 5:
32564 0 : if (!insn_condition_2817 (operands, insn))
32565 : return NULL;
32566 0 : return gen_split_1500 (insn, operands);
32567 :
32568 1 : case 6:
32569 1 : if (!insn_condition_2818 (operands, insn))
32570 : return NULL;
32571 1 : return gen_split_1502 (insn, operands);
32572 :
32573 : case 7:
32574 : if (!insn_condition_2819 (operands, insn))
32575 : return NULL;
32576 : return gen_split_1503 (insn, operands);
32577 :
32578 1 : case 8:
32579 1 : if (!insn_condition_2820 (operands, insn))
32580 : return NULL;
32581 1 : return gen_split_1504 (insn, operands);
32582 :
32583 : case 9:
32584 : if (!insn_condition_2821 (operands, insn))
32585 : return NULL;
32586 : return gen_split_1505 (insn, operands);
32587 :
32588 : case 10:
32589 : if (!insn_condition_2822 (operands, insn))
32590 : return NULL;
32591 : return gen_split_1506 (insn, operands);
32592 :
32593 1 : case 11:
32594 1 : if (!insn_condition_2811 (operands, insn))
32595 : return NULL;
32596 1 : return gen_split_1535 (insn, operands);
32597 :
32598 : default:
32599 : return NULL;
32600 : }
32601 :
32602 6 : case E_SImode:
32603 6 : switch (pattern1029 (x3))
32604 : {
32605 0 : case 0:
32606 0 : if (!insn_condition_2823 (operands, insn))
32607 : return NULL;
32608 0 : return gen_split_1498 (insn, operands);
32609 :
32610 1 : case 1:
32611 1 : if (!insn_condition_2811 (operands, insn))
32612 : return NULL;
32613 1 : return gen_split_1529 (insn, operands);
32614 :
32615 5 : case 2:
32616 5 : if (!insn_condition_2824 (operands, insn))
32617 : return NULL;
32618 5 : return gen_split_1531 (insn, operands);
32619 :
32620 : default:
32621 : return NULL;
32622 : }
32623 :
32624 5 : case E_DImode:
32625 5 : if (pattern1030 (x3) != 0
32626 5 : || !insn_condition_2824 (operands, insn))
32627 : return NULL;
32628 5 : return gen_split_1525 (insn, operands);
32629 :
32630 : default:
32631 : return NULL;
32632 : }
32633 :
32634 0 : case 156:
32635 0 : if (!const_0_to_7_operand (operands[3], E_SImode))
32636 : return NULL;
32637 0 : switch (GET_MODE (operands[0]))
32638 : {
32639 0 : case E_DImode:
32640 0 : if (pattern1137 (x3) != 0
32641 0 : || !insn_condition_2824 (operands, insn))
32642 : return NULL;
32643 0 : return gen_split_1526 (insn, operands);
32644 :
32645 0 : case E_HImode:
32646 0 : switch (pattern1122 (x3))
32647 : {
32648 0 : case 0:
32649 0 : if (!insn_condition_2811 (operands, insn))
32650 : return NULL;
32651 0 : return gen_split_1528 (insn, operands);
32652 :
32653 0 : case 1:
32654 0 : if (!insn_condition_2811 (operands, insn))
32655 : return NULL;
32656 0 : return gen_split_1534 (insn, operands);
32657 :
32658 0 : case 2:
32659 0 : if (!insn_condition_2825 (operands, insn))
32660 : return NULL;
32661 0 : return gen_split_1597 (insn, operands);
32662 :
32663 : default:
32664 : return NULL;
32665 : }
32666 :
32667 0 : case E_SImode:
32668 0 : switch (pattern1138 (x3))
32669 : {
32670 0 : case 0:
32671 0 : if (!insn_condition_2811 (operands, insn))
32672 : return NULL;
32673 0 : return gen_split_1530 (insn, operands);
32674 :
32675 0 : case 1:
32676 0 : if (!insn_condition_2824 (operands, insn))
32677 : return NULL;
32678 0 : return gen_split_1532 (insn, operands);
32679 :
32680 : default:
32681 : return NULL;
32682 : }
32683 :
32684 0 : case E_QImode:
32685 0 : switch (pattern1123 (x3))
32686 : {
32687 0 : case 0:
32688 0 : if (!insn_condition_2811 (operands, insn))
32689 : return NULL;
32690 0 : return gen_split_1536 (insn, operands);
32691 :
32692 0 : case 1:
32693 0 : if (!insn_condition_2826 (operands, insn))
32694 : return NULL;
32695 0 : return gen_split_1598 (insn, operands);
32696 :
32697 0 : case 2:
32698 0 : if (!insn_condition_2827 (operands, insn))
32699 : return NULL;
32700 : return gen_split_1599 (insn, operands);
32701 :
32702 0 : case 3:
32703 0 : if (!insn_condition_2828 (operands, insn))
32704 : return NULL;
32705 0 : return gen_split_1600 (insn, operands);
32706 :
32707 0 : case 4:
32708 0 : if (!insn_condition_2829 (operands, insn))
32709 : return NULL;
32710 : return gen_split_1601 (insn, operands);
32711 :
32712 0 : case 5:
32713 0 : if (!insn_condition_2830 (operands, insn))
32714 : return NULL;
32715 : return gen_split_1602 (insn, operands);
32716 :
32717 : default:
32718 : return NULL;
32719 : }
32720 :
32721 : default:
32722 : return NULL;
32723 : }
32724 :
32725 : default:
32726 : return NULL;
32727 : }
32728 :
32729 : default:
32730 : return NULL;
32731 : }
32732 : }
32733 :
32734 : rtx_insn *
32735 1437815 : split_58 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32736 : {
32737 1437815 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32738 1437815 : rtx x2, x3, x4, x5;
32739 1437815 : rtx_insn *res ATTRIBUTE_UNUSED;
32740 1437815 : x2 = XEXP (x1, 1);
32741 1437815 : if (GET_MODE (x2) != E_DImode)
32742 : return NULL;
32743 1121850 : x3 = XEXP (x2, 0);
32744 1121850 : if (GET_CODE (x3) != UNSPEC
32745 15 : || XVECLEN (x3, 0) != 1
32746 15 : || XINT (x3, 1) != 46
32747 15 : || GET_MODE (x3) != E_SImode)
32748 : return NULL;
32749 15 : x4 = XEXP (x1, 0);
32750 15 : operands[0] = x4;
32751 15 : if (!register_operand (operands[0], E_DImode))
32752 : return NULL;
32753 15 : x5 = XVECEXP (x3, 0, 0);
32754 15 : switch (GET_CODE (x5))
32755 : {
32756 0 : case LT:
32757 0 : switch (pattern1032 (x5))
32758 : {
32759 0 : case 0:
32760 0 : if (!insn_condition_2872 (operands, insn))
32761 : return NULL;
32762 0 : return gen_split_2064 (insn, operands);
32763 :
32764 0 : case 1:
32765 0 : if (!insn_condition_2871 (operands, insn))
32766 : return NULL;
32767 0 : return gen_split_2066 (insn, operands);
32768 :
32769 0 : case 2:
32770 0 : if (!insn_condition_2872 (operands, insn))
32771 : return NULL;
32772 0 : return gen_split_2068 (insn, operands);
32773 :
32774 0 : case 3:
32775 0 : if (!insn_condition_2873 (operands, insn))
32776 : return NULL;
32777 0 : return gen_split_2070 (insn, operands);
32778 :
32779 0 : case 4:
32780 0 : if (!insn_condition_2875 (operands, insn))
32781 : return NULL;
32782 0 : return gen_split_2106 (insn, operands);
32783 :
32784 : default:
32785 : return NULL;
32786 : }
32787 :
32788 1 : case SUBREG:
32789 1 : switch (pattern1133 (x5))
32790 : {
32791 0 : case 0:
32792 0 : if (!insn_condition_2872 (operands, insn))
32793 : return NULL;
32794 0 : return gen_split_2072 (insn, operands);
32795 :
32796 0 : case 1:
32797 0 : if (!insn_condition_2871 (operands, insn))
32798 : return NULL;
32799 0 : return gen_split_2074 (insn, operands);
32800 :
32801 0 : case 2:
32802 0 : if (!insn_condition_2872 (operands, insn))
32803 : return NULL;
32804 0 : return gen_split_2076 (insn, operands);
32805 :
32806 0 : case 3:
32807 0 : if (!insn_condition_2873 (operands, insn))
32808 : return NULL;
32809 0 : return gen_split_2078 (insn, operands);
32810 :
32811 0 : case 4:
32812 0 : if (!insn_condition_2872 (operands, insn))
32813 : return NULL;
32814 0 : return gen_split_2084 (insn, operands);
32815 :
32816 0 : case 5:
32817 0 : if (!insn_condition_2871 (operands, insn))
32818 : return NULL;
32819 0 : return gen_split_2086 (insn, operands);
32820 :
32821 0 : case 6:
32822 0 : if (!insn_condition_2872 (operands, insn))
32823 : return NULL;
32824 0 : return gen_split_2088 (insn, operands);
32825 :
32826 0 : case 7:
32827 0 : if (!insn_condition_2873 (operands, insn))
32828 : return NULL;
32829 0 : return gen_split_2090 (insn, operands);
32830 :
32831 : default:
32832 : return NULL;
32833 : }
32834 :
32835 0 : case VEC_MERGE:
32836 0 : switch (pattern1022 (x5))
32837 : {
32838 0 : case 0:
32839 0 : if (!insn_condition_2874 (operands, insn))
32840 : return NULL;
32841 0 : return gen_split_2107 (insn, operands);
32842 :
32843 0 : case 1:
32844 0 : if (!insn_condition_2875 (operands, insn))
32845 : return NULL;
32846 0 : return gen_split_2108 (insn, operands);
32847 :
32848 : default:
32849 : return NULL;
32850 : }
32851 :
32852 : default:
32853 : return NULL;
32854 : }
32855 : }
32856 :
32857 : rtx_insn *
32858 56585 : split_61 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32859 : {
32860 56585 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32861 56585 : rtx x2, x3, x4, x5;
32862 56585 : rtx_insn *res ATTRIBUTE_UNUSED;
32863 56585 : x2 = XEXP (x1, 1);
32864 56585 : x3 = XEXP (x2, 0);
32865 56585 : operands[1] = x3;
32866 56585 : x4 = XEXP (x2, 2);
32867 56585 : if (GET_CODE (x4) != UNSPEC
32868 1230 : || XVECLEN (x4, 0) != 3
32869 1230 : || XINT (x4, 1) != 56)
32870 : return NULL;
32871 1144 : switch (pattern1054 (x2))
32872 : {
32873 1071 : case 0:
32874 1071 : x5 = XVECEXP (x4, 0, 0);
32875 1071 : operands[3] = x5;
32876 1071 : switch (pattern1507 (x2))
32877 : {
32878 62 : case 0:
32879 62 : if (insn_condition_2885 (operands, insn))
32880 62 : return gen_split_1382 (insn, operands);
32881 : break;
32882 :
32883 54 : case 1:
32884 54 : if (insn_condition_2886 (operands, insn))
32885 54 : return gen_split_1383 (insn, operands);
32886 : break;
32887 :
32888 178 : case 2:
32889 178 : if (insn_condition_2886 (operands, insn))
32890 178 : return gen_split_1384 (insn, operands);
32891 : break;
32892 :
32893 30 : case 3:
32894 30 : if (insn_condition_2887 (operands, insn))
32895 24 : return gen_split_1385 (insn, operands);
32896 : break;
32897 :
32898 36 : case 4:
32899 36 : if (nonimmediate_operand (operands[1], E_V8SFmode)
32900 36 : && pattern1729 (
32901 : E_V8SFmode) == 0
32902 61 : && insn_condition_2888 (operands, insn))
32903 22 : return gen_split_1386 (insn, operands);
32904 14 : if (vector_operand (operands[1], E_V8SFmode)
32905 14 : && pattern1730 (
32906 : E_V8SImode,
32907 : E_V8SFmode) == 0
32908 24 : && insn_condition_2889 (operands, insn))
32909 10 : return gen_split_1435 (insn, operands);
32910 : break;
32911 :
32912 64 : case 5:
32913 64 : if (nonimmediate_operand (operands[1], E_V4SFmode)
32914 64 : && pattern1729 (
32915 : E_V4SFmode) == 0
32916 117 : && insn_condition_2890 (operands, insn))
32917 50 : return gen_split_1387 (insn, operands);
32918 14 : if (vector_operand (operands[1], E_V4SFmode)
32919 14 : && pattern1730 (
32920 : E_V4SImode,
32921 : E_V4SFmode) == 0
32922 24 : && insn_condition_2891 (operands, insn))
32923 10 : return gen_split_1436 (insn, operands);
32924 : break;
32925 :
32926 8 : case 6:
32927 8 : if (insn_condition_2887 (operands, insn))
32928 6 : return gen_split_1388 (insn, operands);
32929 : break;
32930 :
32931 41 : case 7:
32932 41 : if (nonimmediate_operand (operands[1], E_V4DFmode)
32933 41 : && pattern1729 (
32934 : E_V4DFmode) == 0
32935 66 : && insn_condition_2888 (operands, insn))
32936 22 : return gen_split_1389 (insn, operands);
32937 19 : if (vector_operand (operands[1], E_V4DFmode)
32938 19 : && pattern1730 (
32939 : E_V4DImode,
32940 : E_V4DFmode) == 0
32941 30 : && insn_condition_2889 (operands, insn))
32942 11 : return gen_split_1437 (insn, operands);
32943 : break;
32944 :
32945 45 : case 8:
32946 45 : if (nonimmediate_operand (operands[1], E_V2DFmode)
32947 45 : && pattern1729 (
32948 : E_V2DFmode) == 0
32949 78 : && insn_condition_2892 (operands, insn))
32950 30 : return gen_split_1390 (insn, operands);
32951 15 : if (vector_operand (operands[1], E_V2DFmode)
32952 15 : && pattern1730 (
32953 : E_V2DImode,
32954 : E_V2DFmode) == 0
32955 26 : && insn_condition_2893 (operands, insn))
32956 11 : return gen_split_1438 (insn, operands);
32957 : break;
32958 :
32959 4 : case 9:
32960 4 : if (insn_condition_2891 (operands, insn))
32961 4 : return gen_split_1439 (insn, operands);
32962 : break;
32963 :
32964 6 : case 10:
32965 6 : if (insn_condition_2891 (operands, insn))
32966 6 : return gen_split_1440 (insn, operands);
32967 : break;
32968 :
32969 4 : case 11:
32970 4 : if (insn_condition_2889 (operands, insn))
32971 4 : return gen_split_1441 (insn, operands);
32972 : break;
32973 :
32974 6 : case 12:
32975 6 : if (insn_condition_2889 (operands, insn))
32976 6 : return gen_split_1442 (insn, operands);
32977 : break;
32978 :
32979 9 : case 13:
32980 9 : if (insn_condition_2894 (operands, insn))
32981 9 : return gen_split_1939 (insn, operands);
32982 : break;
32983 :
32984 9 : case 14:
32985 9 : if (insn_condition_2895 (operands, insn))
32986 9 : return gen_split_1940 (insn, operands);
32987 : break;
32988 :
32989 : default:
32990 : break;
32991 : }
32992 543 : if (GET_CODE (x5) != SUBREG)
32993 : return NULL;
32994 76 : switch (pattern1510 (x2))
32995 : {
32996 12 : case 0:
32997 12 : if (!insn_condition_2896 (operands, insn))
32998 : return NULL;
32999 12 : return gen_split_1443 (insn, operands);
33000 :
33001 0 : case 1:
33002 0 : if (!insn_condition_2896 (operands, insn))
33003 : return NULL;
33004 0 : return gen_split_1444 (insn, operands);
33005 :
33006 0 : case 2:
33007 0 : if (!insn_condition_2897 (operands, insn))
33008 : return NULL;
33009 0 : return gen_split_1445 (insn, operands);
33010 :
33011 0 : case 3:
33012 0 : if (!insn_condition_2897 (operands, insn))
33013 : return NULL;
33014 0 : return gen_split_1446 (insn, operands);
33015 :
33016 3 : case 4:
33017 3 : if (!insn_condition_2898 (operands, insn))
33018 : return NULL;
33019 3 : return gen_split_1941 (insn, operands);
33020 :
33021 1 : case 5:
33022 1 : if (!insn_condition_2899 (operands, insn))
33023 : return NULL;
33024 1 : return gen_split_1942 (insn, operands);
33025 :
33026 : default:
33027 : return NULL;
33028 : }
33029 :
33030 0 : case 1:
33031 0 : if (!insn_condition_2900 (operands, insn))
33032 : return NULL;
33033 0 : return gen_split_1943 (insn, operands);
33034 :
33035 0 : case 2:
33036 0 : if (!insn_condition_2901 (operands, insn))
33037 : return NULL;
33038 0 : return gen_split_1944 (insn, operands);
33039 :
33040 : default:
33041 : return NULL;
33042 : }
33043 : }
33044 :
33045 : rtx_insn *
33046 498423 : split_64 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33047 : {
33048 498423 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33049 498423 : rtx x2, x3, x4, x5, x6;
33050 498423 : rtx_insn *res ATTRIBUTE_UNUSED;
33051 498423 : x2 = XEXP (x1, 1);
33052 498423 : x3 = XEXP (x2, 0);
33053 498423 : switch (GET_CODE (x3))
33054 : {
33055 33197 : case NOT:
33056 33197 : x4 = XEXP (x3, 0);
33057 33197 : switch (GET_CODE (x4))
33058 : {
33059 34 : case GT:
33060 34 : case LT:
33061 34 : operands[1] = x4;
33062 34 : switch (pattern716 (x2))
33063 : {
33064 10 : case 0:
33065 10 : if (!insn_condition_2914 (operands, insn))
33066 : return NULL;
33067 10 : return gen_split_1395 (insn, operands);
33068 :
33069 2 : case 1:
33070 2 : if (!insn_condition_2915 (operands, insn))
33071 : return NULL;
33072 2 : return gen_split_1396 (insn, operands);
33073 :
33074 0 : case 2:
33075 0 : if (!insn_condition_2914 (operands, insn))
33076 : return NULL;
33077 0 : return gen_split_1397 (insn, operands);
33078 :
33079 0 : case 3:
33080 0 : if (!insn_condition_2916 (operands, insn))
33081 : return NULL;
33082 0 : return gen_split_1398 (insn, operands);
33083 :
33084 : default:
33085 : return NULL;
33086 : }
33087 :
33088 : default:
33089 : return NULL;
33090 : }
33091 :
33092 4763 : case GT:
33093 4763 : case LT:
33094 4763 : operands[1] = x3;
33095 4763 : switch (pattern559 (x2))
33096 : {
33097 6 : case 0:
33098 6 : if (insn_condition_2914 (operands, insn))
33099 6 : return gen_split_1399 (insn, operands);
33100 : break;
33101 :
33102 10 : case 1:
33103 10 : if (insn_condition_2915 (operands, insn))
33104 10 : return gen_split_1400 (insn, operands);
33105 : break;
33106 :
33107 0 : case 2:
33108 0 : if (insn_condition_2914 (operands, insn))
33109 0 : return gen_split_1401 (insn, operands);
33110 : break;
33111 :
33112 16 : case 3:
33113 16 : if (insn_condition_2916 (operands, insn))
33114 16 : return gen_split_1402 (insn, operands);
33115 : break;
33116 :
33117 : default:
33118 : break;
33119 : }
33120 4731 : x4 = XEXP (x3, 0);
33121 4731 : operands[1] = x4;
33122 4731 : switch (pattern561 (x2))
33123 : {
33124 0 : case 0:
33125 0 : if (!insn_condition_2917 (operands, insn))
33126 : return NULL;
33127 0 : return gen_split_1876 (insn, operands);
33128 :
33129 0 : case 1:
33130 0 : if (!insn_condition_2918 (operands, insn))
33131 : return NULL;
33132 0 : return gen_split_1877 (insn, operands);
33133 :
33134 1871 : case 2:
33135 1871 : switch (GET_MODE (operands[0]))
33136 : {
33137 3 : case E_V4DImode:
33138 3 : if (pattern994 (x2,
33139 : E_V4DImode) != 0)
33140 : return NULL;
33141 0 : if (insn_condition_2919 (operands, insn))
33142 0 : return gen_split_1878 (insn, operands);
33143 0 : if (!insn_condition_1785 (operands, insn))
33144 : return NULL;
33145 0 : return gen_split_1884 (insn, operands);
33146 :
33147 19 : case E_V2DImode:
33148 19 : if (pattern994 (x2,
33149 : E_V2DImode) != 0)
33150 : return NULL;
33151 0 : if (insn_condition_2770 (operands, insn))
33152 0 : return gen_split_1879 (insn, operands);
33153 0 : if (!insn_condition_163 (operands, insn))
33154 : return NULL;
33155 0 : return gen_split_1885 (insn, operands);
33156 :
33157 0 : case E_V16HImode:
33158 0 : if (pattern994 (x2,
33159 : E_V16HImode) != 0
33160 0 : || !insn_condition_1785 (operands, insn))
33161 : return NULL;
33162 0 : return gen_split_1880 (insn, operands);
33163 :
33164 0 : case E_V8HImode:
33165 0 : if (pattern994 (x2,
33166 : E_V8HImode) != 0
33167 0 : || !insn_condition_163 (operands, insn))
33168 : return NULL;
33169 0 : return gen_split_1881 (insn, operands);
33170 :
33171 12 : case E_V8SImode:
33172 12 : if (pattern994 (x2,
33173 : E_V8SImode) != 0
33174 12 : || !insn_condition_1785 (operands, insn))
33175 : return NULL;
33176 0 : return gen_split_1882 (insn, operands);
33177 :
33178 453 : case E_V4SImode:
33179 453 : if (pattern994 (x2,
33180 : E_V4SImode) != 0
33181 453 : || !insn_condition_163 (operands, insn))
33182 : return NULL;
33183 0 : return gen_split_1883 (insn, operands);
33184 :
33185 : default:
33186 : return NULL;
33187 : }
33188 :
33189 : default:
33190 : return NULL;
33191 : }
33192 :
33193 291888 : case REG:
33194 291888 : case SUBREG:
33195 291888 : case MEM:
33196 291888 : operands[1] = x3;
33197 291888 : x5 = XEXP (x2, 1);
33198 291888 : operands[2] = x5;
33199 291888 : switch (GET_MODE (operands[0]))
33200 : {
33201 2 : case E_V32BFmode:
33202 2 : if (pattern995 (x2,
33203 : E_V32BFmode) != 0
33204 2 : || !insn_condition_2920 (operands, insn))
33205 : return NULL;
33206 0 : return gen_split_1615 (insn, operands);
33207 :
33208 2 : case E_V16BFmode:
33209 2 : if (pattern995 (x2,
33210 : E_V16BFmode) != 0
33211 2 : || !insn_condition_2921 (operands, insn))
33212 : return NULL;
33213 0 : return gen_split_1616 (insn, operands);
33214 :
33215 2 : case E_V8BFmode:
33216 2 : if (pattern995 (x2,
33217 : E_V8BFmode) != 0
33218 2 : || !insn_condition_2922 (operands, insn))
33219 : return NULL;
33220 0 : return gen_split_1617 (insn, operands);
33221 :
33222 4 : case E_V32HFmode:
33223 4 : if (pattern995 (x2,
33224 : E_V32HFmode) != 0
33225 4 : || !insn_condition_2920 (operands, insn))
33226 : return NULL;
33227 0 : return gen_split_1618 (insn, operands);
33228 :
33229 4 : case E_V16HFmode:
33230 4 : if (pattern995 (x2,
33231 : E_V16HFmode) != 0
33232 4 : || !insn_condition_2921 (operands, insn))
33233 : return NULL;
33234 0 : return gen_split_1619 (insn, operands);
33235 :
33236 196 : case E_V8HFmode:
33237 196 : if (pattern995 (x2,
33238 : E_V8HFmode) != 0
33239 196 : || !insn_condition_2922 (operands, insn))
33240 : return NULL;
33241 0 : return gen_split_1620 (insn, operands);
33242 :
33243 51 : case E_V16SFmode:
33244 51 : if (pattern995 (x2,
33245 : E_V16SFmode) != 0
33246 51 : || !insn_condition_2920 (operands, insn))
33247 : return NULL;
33248 1 : return gen_split_1621 (insn, operands);
33249 :
33250 166 : case E_V8SFmode:
33251 166 : if (pattern995 (x2,
33252 : E_V8SFmode) != 0
33253 166 : || !insn_condition_2921 (operands, insn))
33254 : return NULL;
33255 1 : return gen_split_1622 (insn, operands);
33256 :
33257 70059 : case E_V4SFmode:
33258 70059 : if (pattern995 (x2,
33259 : E_V4SFmode) != 0
33260 70059 : || !insn_condition_2923 (operands, insn))
33261 : return NULL;
33262 2 : return gen_split_1623 (insn, operands);
33263 :
33264 43 : case E_V8DFmode:
33265 43 : if (pattern995 (x2,
33266 : E_V8DFmode) != 0
33267 43 : || !insn_condition_2920 (operands, insn))
33268 : return NULL;
33269 1 : return gen_split_1624 (insn, operands);
33270 :
33271 639 : case E_V4DFmode:
33272 639 : if (pattern995 (x2,
33273 : E_V4DFmode) != 0
33274 639 : || !insn_condition_2921 (operands, insn))
33275 : return NULL;
33276 1 : return gen_split_1625 (insn, operands);
33277 :
33278 73334 : case E_V2DFmode:
33279 73334 : if (pattern995 (x2,
33280 : E_V2DFmode) != 0
33281 73334 : || !insn_condition_2922 (operands, insn))
33282 : return NULL;
33283 1 : return gen_split_1626 (insn, operands);
33284 :
33285 : default:
33286 : return NULL;
33287 : }
33288 :
33289 190 : case VEC_DUPLICATE:
33290 190 : x4 = XEXP (x3, 0);
33291 190 : if (GET_CODE (x4) != NOT)
33292 : return NULL;
33293 14 : x6 = XEXP (x4, 0);
33294 14 : operands[1] = x6;
33295 14 : x5 = XEXP (x2, 1);
33296 14 : operands[2] = x5;
33297 14 : switch (GET_MODE (operands[0]))
33298 : {
33299 2 : case E_V4SImode:
33300 2 : if (pattern1107 (x2,
33301 : E_V4SImode,
33302 : E_SImode) != 0)
33303 : return NULL;
33304 2 : if (register_operand (operands[1], E_SImode)
33305 2 : && insn_condition_148 (operands, insn))
33306 2 : return gen_split_1995 (insn, operands);
33307 0 : if (!nonimmediate_operand (operands[1], E_SImode)
33308 0 : || !insn_condition_1108 (operands, insn))
33309 : return NULL;
33310 0 : return gen_split_2005 (insn, operands);
33311 :
33312 2 : case E_V2DImode:
33313 2 : if (pattern1107 (x2,
33314 : E_V2DImode,
33315 : E_DImode) != 0)
33316 : return NULL;
33317 2 : if (register_operand (operands[1], E_DImode)
33318 2 : && insn_condition_148 (operands, insn))
33319 2 : return gen_split_1996 (insn, operands);
33320 0 : if (!nonimmediate_operand (operands[1], E_DImode)
33321 0 : || !insn_condition_1108 (operands, insn))
33322 : return NULL;
33323 0 : return gen_split_2008 (insn, operands);
33324 :
33325 1 : case E_V64QImode:
33326 1 : if (pattern624 (x2,
33327 : E_V64QImode,
33328 : E_QImode) != 0
33329 1 : || !insn_condition_1737 (operands, insn))
33330 : return NULL;
33331 1 : return gen_split_1997 (insn, operands);
33332 :
33333 1 : case E_V32QImode:
33334 1 : if (pattern624 (x2,
33335 : E_V32QImode,
33336 : E_QImode) != 0
33337 1 : || !insn_condition_1108 (operands, insn))
33338 : return NULL;
33339 1 : return gen_split_1998 (insn, operands);
33340 :
33341 1 : case E_V16QImode:
33342 1 : if (pattern624 (x2,
33343 : E_V16QImode,
33344 : E_QImode) != 0
33345 1 : || !insn_condition_1108 (operands, insn))
33346 : return NULL;
33347 1 : return gen_split_1999 (insn, operands);
33348 :
33349 1 : case E_V32HImode:
33350 1 : if (pattern624 (x2,
33351 : E_V32HImode,
33352 : E_HImode) != 0
33353 1 : || !insn_condition_1737 (operands, insn))
33354 : return NULL;
33355 1 : return gen_split_2000 (insn, operands);
33356 :
33357 1 : case E_V16HImode:
33358 1 : if (pattern624 (x2,
33359 : E_V16HImode,
33360 : E_HImode) != 0
33361 1 : || !insn_condition_1108 (operands, insn))
33362 : return NULL;
33363 1 : return gen_split_2001 (insn, operands);
33364 :
33365 1 : case E_V8HImode:
33366 1 : if (pattern624 (x2,
33367 : E_V8HImode,
33368 : E_HImode) != 0
33369 1 : || !insn_condition_1108 (operands, insn))
33370 : return NULL;
33371 1 : return gen_split_2002 (insn, operands);
33372 :
33373 1 : case E_V16SImode:
33374 1 : if (pattern624 (x2,
33375 : E_V16SImode,
33376 : E_SImode) != 0
33377 1 : || !insn_condition_1736 (operands, insn))
33378 : return NULL;
33379 1 : return gen_split_2003 (insn, operands);
33380 :
33381 1 : case E_V8SImode:
33382 1 : if (pattern624 (x2,
33383 : E_V8SImode,
33384 : E_SImode) != 0
33385 1 : || !insn_condition_1108 (operands, insn))
33386 : return NULL;
33387 1 : return gen_split_2004 (insn, operands);
33388 :
33389 1 : case E_V8DImode:
33390 1 : if (pattern624 (x2,
33391 : E_V8DImode,
33392 : E_DImode) != 0
33393 1 : || !insn_condition_1736 (operands, insn))
33394 : return NULL;
33395 1 : return gen_split_2006 (insn, operands);
33396 :
33397 1 : case E_V4DImode:
33398 1 : if (pattern624 (x2,
33399 : E_V4DImode,
33400 : E_DImode) != 0
33401 1 : || !insn_condition_1108 (operands, insn))
33402 : return NULL;
33403 1 : return gen_split_2007 (insn, operands);
33404 :
33405 : default:
33406 : return NULL;
33407 : }
33408 :
33409 : default:
33410 : return NULL;
33411 : }
33412 : }
33413 :
33414 : rtx_insn *
33415 1009998 : split_73 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33416 : {
33417 1009998 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33418 1009998 : rtx x2, x3, x4, x5, x6;
33419 1009998 : rtx_insn *res ATTRIBUTE_UNUSED;
33420 1009998 : x2 = XEXP (x1, 1);
33421 1009998 : x3 = XEXP (x2, 1);
33422 1009998 : if (GET_CODE (x3) != PARALLEL)
33423 : return NULL;
33424 1009998 : x4 = XEXP (x2, 0);
33425 1009998 : switch (GET_CODE (x4))
33426 : {
33427 612031 : case VEC_CONCAT:
33428 612031 : x5 = XEXP (x4, 0);
33429 612031 : switch (GET_CODE (x5))
33430 : {
33431 398 : case MINUS:
33432 398 : switch (pattern760 (x2,
33433 : PLUS))
33434 : {
33435 0 : case 0:
33436 0 : if (pattern1726 (x4,
33437 : E_V8SFmode,
33438 : E_V16SFmode) != 0
33439 0 : || !insn_condition_2997 (operands, insn))
33440 : return NULL;
33441 0 : return gen_split_1411 (insn, operands);
33442 :
33443 0 : case 1:
33444 0 : if (pattern1726 (x4,
33445 : E_V4SFmode,
33446 : E_V8SFmode) != 0
33447 0 : || !insn_condition_2998 (operands, insn))
33448 : return NULL;
33449 0 : return gen_split_1412 (insn, operands);
33450 :
33451 0 : case 2:
33452 0 : if (pattern1726 (x4,
33453 : E_V4DFmode,
33454 : E_V8DFmode) != 0
33455 0 : || !insn_condition_2997 (operands, insn))
33456 : return NULL;
33457 0 : return gen_split_1413 (insn, operands);
33458 :
33459 0 : case 3:
33460 0 : if (pattern1726 (x4,
33461 : E_V2DFmode,
33462 : E_V4DFmode) != 0
33463 0 : || !insn_condition_2999 (operands, insn))
33464 : return NULL;
33465 0 : return gen_split_1414 (insn, operands);
33466 :
33467 : default:
33468 : return NULL;
33469 : }
33470 :
33471 1290 : case PLUS:
33472 1290 : switch (pattern760 (x2,
33473 : MINUS))
33474 : {
33475 0 : case 0:
33476 0 : if (pattern1727 (x4,
33477 : E_V8SFmode,
33478 : E_V16SFmode) != 0
33479 0 : || !insn_condition_2997 (operands, insn))
33480 : return NULL;
33481 0 : return gen_split_1415 (insn, operands);
33482 :
33483 0 : case 1:
33484 0 : if (pattern1727 (x4,
33485 : E_V4SFmode,
33486 : E_V8SFmode) != 0
33487 0 : || !insn_condition_2998 (operands, insn))
33488 : return NULL;
33489 0 : return gen_split_1416 (insn, operands);
33490 :
33491 0 : case 2:
33492 0 : if (pattern1727 (x4,
33493 : E_V4DFmode,
33494 : E_V8DFmode) != 0
33495 0 : || !insn_condition_2997 (operands, insn))
33496 : return NULL;
33497 0 : return gen_split_1417 (insn, operands);
33498 :
33499 0 : case 3:
33500 0 : if (pattern1727 (x4,
33501 : E_V2DFmode,
33502 : E_V4DFmode) != 0
33503 0 : || !insn_condition_2999 (operands, insn))
33504 : return NULL;
33505 0 : return gen_split_1418 (insn, operands);
33506 :
33507 : default:
33508 : return NULL;
33509 : }
33510 :
33511 557467 : case REG:
33512 557467 : case SUBREG:
33513 557467 : case MEM:
33514 557467 : operands[1] = x5;
33515 557467 : x6 = XEXP (x4, 1);
33516 557467 : switch (GET_CODE (x6))
33517 : {
33518 661 : case CONST_INT:
33519 661 : case CONST_DOUBLE:
33520 661 : case CONST_VECTOR:
33521 661 : switch (pattern844 (x2))
33522 : {
33523 309 : case 0:
33524 309 : if (register_operand (operands[1], E_V4SImode)
33525 286 : && insertps_parallel (operands[3], E_VOIDmode)
33526 560 : && insn_condition_3000 (operands, insn))
33527 17 : return gen_split_1681 (insn, operands);
33528 292 : if (vector_operand (operands[1], E_V4SImode)
33529 281 : && pmovzx_parallel (operands[3], E_VOIDmode)
33530 292 : && insn_condition_2962 (operands, insn))
33531 15 : return gen_split_2230 (insn, operands);
33532 277 : if (nonimmediate_operand (operands[1], E_V4SImode)
33533 266 : && movq_parallel (operands[3], E_VOIDmode)
33534 294 : && insn_condition_2770 (operands, insn))
33535 16 : return gen_split_2447 (insn, operands);
33536 : break;
33537 :
33538 113 : case 1:
33539 113 : if (register_operand (operands[1], E_V4SFmode)
33540 106 : && insertps_parallel (operands[3], E_VOIDmode)
33541 217 : && insn_condition_3000 (operands, insn))
33542 14 : return gen_split_1682 (insn, operands);
33543 99 : if (nonimmediate_operand (operands[1], E_V4SFmode)
33544 99 : && movq_parallel (operands[3], E_VOIDmode)
33545 108 : && insn_condition_2770 (operands, insn))
33546 9 : return gen_split_2459 (insn, operands);
33547 : break;
33548 :
33549 8 : case 2:
33550 8 : if (insn_condition_3001 (operands, insn))
33551 4 : return gen_split_2161 (insn, operands);
33552 : break;
33553 :
33554 8 : case 3:
33555 8 : if (insn_condition_3002 (operands, insn))
33556 4 : return gen_split_2165 (insn, operands);
33557 : break;
33558 :
33559 12 : case 4:
33560 12 : if (insn_condition_2962 (operands, insn))
33561 6 : return gen_split_2173 (insn, operands);
33562 : break;
33563 :
33564 8 : case 5:
33565 8 : if (insn_condition_3003 (operands, insn))
33566 4 : return gen_split_2187 (insn, operands);
33567 : break;
33568 :
33569 8 : case 6:
33570 8 : if (insn_condition_3001 (operands, insn))
33571 4 : return gen_split_2191 (insn, operands);
33572 : break;
33573 :
33574 14 : case 7:
33575 14 : if (insn_condition_2962 (operands, insn))
33576 7 : return gen_split_2199 (insn, operands);
33577 : break;
33578 :
33579 10 : case 8:
33580 10 : if (pmovzx_parallel (operands[3], E_VOIDmode)
33581 10 : && insn_condition_3003 (operands, insn))
33582 4 : return gen_split_2222 (insn, operands);
33583 6 : if (movq_parallel (operands[3], E_VOIDmode)
33584 6 : && insn_condition_3004 (operands, insn))
33585 2 : return gen_split_2445 (insn, operands);
33586 : break;
33587 :
33588 10 : case 9:
33589 10 : if (pmovzx_parallel (operands[3], E_VOIDmode)
33590 10 : && insn_condition_3001 (operands, insn))
33591 4 : return gen_split_2224 (insn, operands);
33592 6 : if (movq_parallel (operands[3], E_VOIDmode)
33593 6 : && insn_condition_3005 (operands, insn))
33594 2 : return gen_split_2446 (insn, operands);
33595 : break;
33596 :
33597 2 : case 10:
33598 2 : if (insn_condition_3004 (operands, insn))
33599 2 : return gen_split_2448 (insn, operands);
33600 : break;
33601 :
33602 2 : case 11:
33603 2 : if (insn_condition_3005 (operands, insn))
33604 2 : return gen_split_2449 (insn, operands);
33605 : break;
33606 :
33607 7 : case 12:
33608 7 : if (insn_condition_2770 (operands, insn))
33609 7 : return gen_split_2450 (insn, operands);
33610 : break;
33611 :
33612 0 : case 13:
33613 0 : if (insn_condition_3004 (operands, insn))
33614 0 : return gen_split_2451 (insn, operands);
33615 : break;
33616 :
33617 0 : case 14:
33618 0 : if (insn_condition_3005 (operands, insn))
33619 0 : return gen_split_2452 (insn, operands);
33620 : break;
33621 :
33622 0 : case 15:
33623 0 : if (insn_condition_2770 (operands, insn))
33624 0 : return gen_split_2453 (insn, operands);
33625 : break;
33626 :
33627 0 : case 16:
33628 0 : if (insn_condition_3004 (operands, insn))
33629 0 : return gen_split_2454 (insn, operands);
33630 : break;
33631 :
33632 0 : case 17:
33633 0 : if (insn_condition_3005 (operands, insn))
33634 0 : return gen_split_2455 (insn, operands);
33635 : break;
33636 :
33637 0 : case 18:
33638 0 : if (insn_condition_2770 (operands, insn))
33639 0 : return gen_split_2456 (insn, operands);
33640 : break;
33641 :
33642 2 : case 19:
33643 2 : if (insn_condition_3004 (operands, insn))
33644 2 : return gen_split_2457 (insn, operands);
33645 : break;
33646 :
33647 2 : case 20:
33648 2 : if (insn_condition_3005 (operands, insn))
33649 2 : return gen_split_2458 (insn, operands);
33650 : break;
33651 :
33652 2 : case 21:
33653 2 : if (insn_condition_3004 (operands, insn))
33654 2 : return gen_split_2460 (insn, operands);
33655 : break;
33656 :
33657 2 : case 22:
33658 2 : if (insn_condition_3005 (operands, insn))
33659 2 : return gen_split_2461 (insn, operands);
33660 : break;
33661 :
33662 0 : case 23:
33663 0 : if (insn_condition_3006 (operands, insn))
33664 0 : return gen_split_2462 (insn, operands);
33665 : break;
33666 :
33667 : default:
33668 : break;
33669 : }
33670 : break;
33671 :
33672 523496 : case REG:
33673 523496 : case SUBREG:
33674 523496 : case MEM:
33675 523496 : res = split_66 (x1, insn);
33676 523496 : if (res != NULL_RTX)
33677 : return res;
33678 : break;
33679 :
33680 : default:
33681 : break;
33682 : }
33683 557336 : if (XVECLEN (x3, 0) >= 1)
33684 : {
33685 557336 : switch (pattern846 (x2))
33686 : {
33687 0 : case 0:
33688 0 : if (insn_condition_3007 (operands, insn))
33689 0 : return gen_split_2404 (insn, operands);
33690 : break;
33691 :
33692 0 : case 1:
33693 0 : if (insn_condition_3007 (operands, insn))
33694 0 : return gen_split_2405 (insn, operands);
33695 : break;
33696 :
33697 0 : case 2:
33698 0 : if (insn_condition_3007 (operands, insn))
33699 0 : return gen_split_2406 (insn, operands);
33700 : break;
33701 :
33702 0 : case 3:
33703 0 : if (insn_condition_3007 (operands, insn))
33704 0 : return gen_split_2407 (insn, operands);
33705 : break;
33706 :
33707 0 : case 4:
33708 0 : if (insn_condition_3007 (operands, insn))
33709 0 : return gen_split_2408 (insn, operands);
33710 : break;
33711 :
33712 13 : case 5:
33713 13 : if (insn_condition_3007 (operands, insn))
33714 13 : return gen_split_2409 (insn, operands);
33715 : break;
33716 :
33717 0 : case 6:
33718 0 : if (insn_condition_3007 (operands, insn))
33719 0 : return gen_split_2410 (insn, operands);
33720 : break;
33721 :
33722 0 : case 7:
33723 0 : if (insn_condition_3007 (operands, insn))
33724 0 : return gen_split_2411 (insn, operands);
33725 : break;
33726 :
33727 : default:
33728 : break;
33729 : }
33730 : }
33731 557323 : if (XVECLEN (x3, 0) < 1)
33732 : return NULL;
33733 557323 : operands[4] = x3;
33734 557323 : switch (pattern847 (x2))
33735 : {
33736 0 : case 0:
33737 0 : if (insn_condition_3001 (operands, insn))
33738 0 : return gen_split_2162 (insn, operands);
33739 : break;
33740 :
33741 2 : case 1:
33742 2 : if (insn_condition_3001 (operands, insn))
33743 1 : return gen_split_2163 (insn, operands);
33744 : break;
33745 :
33746 0 : case 2:
33747 0 : if (insn_condition_3001 (operands, insn))
33748 0 : return gen_split_2164 (insn, operands);
33749 : break;
33750 :
33751 0 : case 3:
33752 0 : if (insn_condition_3002 (operands, insn))
33753 0 : return gen_split_2166 (insn, operands);
33754 : break;
33755 :
33756 2 : case 4:
33757 2 : if (insn_condition_3002 (operands, insn))
33758 1 : return gen_split_2167 (insn, operands);
33759 : break;
33760 :
33761 0 : case 5:
33762 0 : if (insn_condition_3002 (operands, insn))
33763 0 : return gen_split_2168 (insn, operands);
33764 : break;
33765 :
33766 0 : case 6:
33767 0 : if (insn_condition_2962 (operands, insn))
33768 0 : return gen_split_2174 (insn, operands);
33769 : break;
33770 :
33771 2 : case 7:
33772 2 : if (insn_condition_2962 (operands, insn))
33773 1 : return gen_split_2175 (insn, operands);
33774 : break;
33775 :
33776 2 : case 8:
33777 2 : if (insn_condition_2962 (operands, insn))
33778 0 : return gen_split_2176 (insn, operands);
33779 : break;
33780 :
33781 0 : case 9:
33782 0 : if (insn_condition_3003 (operands, insn))
33783 0 : return gen_split_2188 (insn, operands);
33784 : break;
33785 :
33786 4 : case 10:
33787 4 : if (insn_condition_3003 (operands, insn))
33788 2 : return gen_split_2189 (insn, operands);
33789 : break;
33790 :
33791 0 : case 11:
33792 0 : if (insn_condition_3003 (operands, insn))
33793 0 : return gen_split_2190 (insn, operands);
33794 : break;
33795 :
33796 0 : case 12:
33797 0 : if (insn_condition_3001 (operands, insn))
33798 0 : return gen_split_2192 (insn, operands);
33799 : break;
33800 :
33801 4 : case 13:
33802 4 : if (insn_condition_3001 (operands, insn))
33803 2 : return gen_split_2193 (insn, operands);
33804 : break;
33805 :
33806 0 : case 14:
33807 0 : if (insn_condition_3001 (operands, insn))
33808 0 : return gen_split_2194 (insn, operands);
33809 : break;
33810 :
33811 0 : case 15:
33812 0 : if (insn_condition_2962 (operands, insn))
33813 0 : return gen_split_2200 (insn, operands);
33814 : break;
33815 :
33816 4 : case 16:
33817 4 : if (insn_condition_2962 (operands, insn))
33818 2 : return gen_split_2201 (insn, operands);
33819 : break;
33820 :
33821 0 : case 17:
33822 0 : if (insn_condition_2962 (operands, insn))
33823 0 : return gen_split_2202 (insn, operands);
33824 : break;
33825 :
33826 : default:
33827 : break;
33828 : }
33829 557314 : operands[3] = x3;
33830 557314 : switch (pattern848 (x2))
33831 : {
33832 2 : case 0:
33833 2 : if (!insn_condition_3004 (operands, insn))
33834 : return NULL;
33835 2 : return gen_split_2439 (insn, operands);
33836 :
33837 2 : case 1:
33838 2 : if (!insn_condition_3005 (operands, insn))
33839 : return NULL;
33840 2 : return gen_split_2440 (insn, operands);
33841 :
33842 6 : case 2:
33843 6 : if (!insn_condition_2770 (operands, insn))
33844 : return NULL;
33845 6 : return gen_split_2441 (insn, operands);
33846 :
33847 4 : case 3:
33848 4 : if (!insn_condition_3004 (operands, insn))
33849 : return NULL;
33850 4 : return gen_split_2442 (insn, operands);
33851 :
33852 4 : case 4:
33853 4 : if (!insn_condition_3005 (operands, insn))
33854 : return NULL;
33855 4 : return gen_split_2443 (insn, operands);
33856 :
33857 7 : case 5:
33858 7 : if (!insn_condition_2770 (operands, insn))
33859 : return NULL;
33860 7 : return gen_split_2444 (insn, operands);
33861 :
33862 : default:
33863 : return NULL;
33864 : }
33865 :
33866 7607 : case VEC_CONCAT:
33867 7607 : switch (pattern553 (x2))
33868 : {
33869 2 : case 0:
33870 2 : if (!insn_condition_3003 (operands, insn))
33871 : return NULL;
33872 1 : return gen_split_2223 (insn, operands);
33873 :
33874 2 : case 1:
33875 2 : if (!insn_condition_3001 (operands, insn))
33876 : return NULL;
33877 1 : return gen_split_2225 (insn, operands);
33878 :
33879 2 : case 2:
33880 2 : if (!insn_condition_2962 (operands, insn))
33881 : return NULL;
33882 1 : return gen_split_2231 (insn, operands);
33883 :
33884 : default:
33885 : return NULL;
33886 : }
33887 :
33888 : default:
33889 : return NULL;
33890 : }
33891 :
33892 365287 : case REG:
33893 365287 : case SUBREG:
33894 365287 : case MEM:
33895 365287 : operands[1] = x4;
33896 365287 : res = split_70 (x1, insn);
33897 365287 : if (res != NULL_RTX)
33898 : return res;
33899 359531 : if (GET_CODE (x4) != SUBREG)
33900 : return NULL;
33901 123429 : switch (pattern555 (x2))
33902 : {
33903 1 : case 0:
33904 1 : if (!insn_condition_2824 (operands, insn))
33905 : return NULL;
33906 1 : return gen_split_1795 (insn, operands);
33907 :
33908 1 : case 1:
33909 1 : if (!insn_condition_2858 (operands, insn))
33910 : return NULL;
33911 1 : return gen_split_1797 (insn, operands);
33912 :
33913 : default:
33914 : return NULL;
33915 : }
33916 :
33917 1066 : case UNSPEC:
33918 1066 : if (XVECLEN (x4, 0) != 2)
33919 : return NULL;
33920 442 : switch (pattern557 (x2))
33921 : {
33922 1 : case 0:
33923 1 : if (!insn_condition_2824 (operands, insn))
33924 : return NULL;
33925 1 : return gen_split_1794 (insn, operands);
33926 :
33927 1 : case 1:
33928 1 : if (!insn_condition_2974 (operands, insn))
33929 : return NULL;
33930 1 : return gen_split_1800 (insn, operands);
33931 :
33932 1 : case 2:
33933 1 : if (!insn_condition_2858 (operands, insn))
33934 : return NULL;
33935 1 : return gen_split_1796 (insn, operands);
33936 :
33937 1 : case 3:
33938 1 : if (!insn_condition_2842 (operands, insn))
33939 : return NULL;
33940 1 : return gen_split_1798 (insn, operands);
33941 :
33942 1 : case 4:
33943 1 : if (!insn_condition_3008 (operands, insn))
33944 : return NULL;
33945 1 : return gen_split_1799 (insn, operands);
33946 :
33947 1 : case 5:
33948 1 : if (!insn_condition_2840 (operands, insn))
33949 : return NULL;
33950 1 : return gen_split_1801 (insn, operands);
33951 :
33952 : default:
33953 : return NULL;
33954 : }
33955 :
33956 : default:
33957 : return NULL;
33958 : }
33959 : }
33960 :
33961 : rtx_insn *
33962 120347 : peephole2_3 (rtx x1 ATTRIBUTE_UNUSED,
33963 : rtx_insn *insn ATTRIBUTE_UNUSED,
33964 : int *pmatch_len_ ATTRIBUTE_UNUSED)
33965 : {
33966 120347 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33967 120347 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
33968 120347 : rtx x10;
33969 120347 : rtx_insn *res ATTRIBUTE_UNUSED;
33970 120347 : if (peep2_current_count < 2
33971 120347 : || peep2_current_count < 3)
33972 : return NULL;
33973 96600 : x2 = XEXP (x1, 1);
33974 96600 : operands[1] = x2;
33975 96600 : if (!bt_comparison_operator (operands[1], E_QImode))
33976 : return NULL;
33977 77855 : x3 = XEXP (x2, 0);
33978 77855 : if (GET_CODE (x3) != REG
33979 77855 : || REGNO (x3) != 17
33980 155710 : || GET_MODE (x3) != E_CCZmode)
33981 : return NULL;
33982 73148 : x4 = XEXP (x2, 1);
33983 73148 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
33984 : return NULL;
33985 73148 : x5 = XEXP (x1, 0);
33986 73148 : operands[0] = x5;
33987 73148 : if (!nonimmediate_operand (operands[0], E_QImode))
33988 : return NULL;
33989 57182 : x6 = PATTERN (peep2_next_insn (1));
33990 57182 : if (pattern1293 (x6,
33991 : 0) != 0)
33992 : return NULL;
33993 59 : x7 = PATTERN (peep2_next_insn (2));
33994 59 : x8 = XEXP (x7, 1);
33995 59 : x9 = XEXP (x8, 0);
33996 59 : operands[2] = x9;
33997 59 : if (pattern1847 (x7) != 0)
33998 : return NULL;
33999 10 : x10 = XEXP (x8, 1);
34000 10 : operands[3] = x10;
34001 10 : if (!insn_condition_3095 (operands, insn))
34002 : return NULL;
34003 10 : *pmatch_len_ = 2;
34004 10 : return gen_peephole2_194 (insn, operands);
34005 : }
34006 :
34007 : rtx_insn *
34008 2168728 : peephole2_5 (rtx x1 ATTRIBUTE_UNUSED,
34009 : rtx_insn *insn ATTRIBUTE_UNUSED,
34010 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34011 : {
34012 2168728 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34013 2168728 : rtx x2, x3, x4, x5, x6, x7;
34014 2168728 : rtx_insn *res ATTRIBUTE_UNUSED;
34015 2168728 : x2 = XEXP (x1, 0);
34016 2168728 : switch (GET_CODE (x2))
34017 : {
34018 1392792 : case REG:
34019 1392792 : if (peep2_current_count < 2)
34020 : return NULL;
34021 1238130 : operands[0] = x2;
34022 1238130 : x3 = PATTERN (peep2_next_insn (1));
34023 1238130 : if (GET_CODE (x3) != SET)
34024 : return NULL;
34025 864591 : x4 = XEXP (x3, 0);
34026 864591 : if (GET_CODE (x4) != STRICT_LOW_PART)
34027 : return NULL;
34028 1489 : x5 = XEXP (x4, 0);
34029 1489 : operands[1] = x5;
34030 1489 : x6 = XEXP (x3, 1);
34031 1489 : operands[2] = x6;
34032 1489 : switch (GET_MODE (operands[0]))
34033 : {
34034 147 : case E_SImode:
34035 147 : if (!general_reg_operand (operands[0], E_SImode))
34036 : return NULL;
34037 147 : switch (pattern1397 ())
34038 : {
34039 28 : case 0:
34040 28 : if (!insn_condition_3106 (operands, insn))
34041 : return NULL;
34042 28 : *pmatch_len_ = 1;
34043 28 : return gen_peephole2_47 (insn, operands);
34044 :
34045 51 : case 1:
34046 51 : if (!insn_condition_3106 (operands, insn))
34047 : return NULL;
34048 51 : *pmatch_len_ = 1;
34049 51 : return gen_peephole2_49 (insn, operands);
34050 :
34051 : default:
34052 : return NULL;
34053 : }
34054 :
34055 1235 : case E_DImode:
34056 1235 : if (!general_reg_operand (operands[0], E_DImode))
34057 : return NULL;
34058 1235 : switch (pattern1397 ())
34059 : {
34060 584 : case 0:
34061 584 : if (!insn_condition_3107 (operands, insn))
34062 : return NULL;
34063 571 : *pmatch_len_ = 1;
34064 571 : return gen_peephole2_48 (insn, operands);
34065 :
34066 90 : case 1:
34067 90 : if (!insn_condition_3107 (operands, insn))
34068 : return NULL;
34069 83 : *pmatch_len_ = 1;
34070 83 : return gen_peephole2_50 (insn, operands);
34071 :
34072 : default:
34073 : return NULL;
34074 : }
34075 :
34076 : default:
34077 : return NULL;
34078 : }
34079 :
34080 775049 : case SUBREG:
34081 775049 : case MEM:
34082 775049 : operands[0] = x2;
34083 775049 : switch (GET_MODE (operands[0]))
34084 : {
34085 117328 : case E_QImode:
34086 117328 : if (!memory_operand (operands[0], E_QImode)
34087 117328 : || !insn_condition_3108 (operands, insn))
34088 : return NULL;
34089 0 : *pmatch_len_ = 0;
34090 0 : return gen_peephole2_281 (insn, operands);
34091 :
34092 11254 : case E_HImode:
34093 11254 : if (!memory_operand (operands[0], E_HImode)
34094 11254 : || !insn_condition_3109 (operands, insn))
34095 : return NULL;
34096 10276 : *pmatch_len_ = 0;
34097 10276 : return gen_peephole2_282 (insn, operands);
34098 :
34099 : default:
34100 : return NULL;
34101 : }
34102 :
34103 845 : case STRICT_LOW_PART:
34104 845 : x7 = XEXP (x2, 0);
34105 845 : operands[0] = x7;
34106 845 : switch (GET_MODE (operands[0]))
34107 : {
34108 771 : case E_QImode:
34109 771 : if (!general_reg_operand (operands[0], E_QImode)
34110 771 : || !insn_condition_3110 (operands, insn))
34111 : return NULL;
34112 771 : *pmatch_len_ = 0;
34113 771 : return gen_peephole2_368 (insn, operands);
34114 :
34115 74 : case E_HImode:
34116 74 : if (!general_reg_operand (operands[0], E_HImode)
34117 74 : || !insn_condition_3110 (operands, insn))
34118 : return NULL;
34119 74 : *pmatch_len_ = 0;
34120 74 : return gen_peephole2_369 (insn, operands);
34121 :
34122 : default:
34123 : return NULL;
34124 : }
34125 :
34126 : default:
34127 : return NULL;
34128 : }
34129 : }
34130 :
34131 : rtx_insn *
34132 10073757 : peephole2_6 (rtx x1 ATTRIBUTE_UNUSED,
34133 : rtx_insn *insn ATTRIBUTE_UNUSED,
34134 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34135 : {
34136 10073757 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34137 10073757 : rtx x2, x3;
34138 10073757 : rtx_insn *res ATTRIBUTE_UNUSED;
34139 10073757 : x2 = XEXP (x1, 1);
34140 10073757 : operands[1] = x2;
34141 10073757 : x3 = XEXP (x1, 0);
34142 10073757 : operands[0] = x3;
34143 10073757 : switch (GET_CODE (operands[0]))
34144 : {
34145 2410977 : case MEM:
34146 2410977 : if (push_operand (operands[0], E_DImode)
34147 42294 : && immediate_operand (operands[1], E_DImode)
34148 2453271 : && insn_condition_3111 (operands, insn))
34149 : {
34150 1654 : *pmatch_len_ = 0;
34151 1654 : res = gen_peephole2_3 (insn, operands);
34152 1654 : if (res != NULL_RTX)
34153 : return res;
34154 : }
34155 : break;
34156 :
34157 5543407 : case REG:
34158 5543407 : case SUBREG:
34159 5543407 : res = peephole2_4 (x1, insn, pmatch_len_);
34160 5543407 : if (res != NULL_RTX)
34161 : return res;
34162 : break;
34163 :
34164 : default:
34165 : break;
34166 : }
34167 10055183 : switch (GET_MODE (operands[0]))
34168 : {
34169 64467 : case E_HImode:
34170 64467 : if (memory_operand (operands[0], E_HImode)
34171 36446 : && const_int_operand (operands[1], E_HImode)
34172 100913 : && insn_condition_3112 (operands, insn))
34173 : {
34174 2 : *pmatch_len_ = 0;
34175 2 : res = gen_peephole2_8 (insn, operands);
34176 2 : if (res != NULL_RTX)
34177 : return res;
34178 : }
34179 : break;
34180 :
34181 2622621 : case E_SImode:
34182 2622621 : if (memory_operand (operands[0], E_SImode)
34183 672698 : && const_int_operand (operands[1], E_SImode)
34184 3167103 : && insn_condition_3112 (operands, insn))
34185 : {
34186 3 : *pmatch_len_ = 0;
34187 3 : res = gen_peephole2_9 (insn, operands);
34188 3 : if (res != NULL_RTX)
34189 : return res;
34190 : }
34191 : break;
34192 :
34193 4409422 : case E_DImode:
34194 4409422 : if (memory_operand (operands[0], E_DImode)
34195 865685 : && const_int_operand (operands[1], E_DImode)
34196 5024584 : && insn_condition_3113 (operands, insn))
34197 : {
34198 5 : *pmatch_len_ = 0;
34199 5 : res = gen_peephole2_10 (insn, operands);
34200 5 : if (res != NULL_RTX)
34201 : return res;
34202 : }
34203 : break;
34204 :
34205 : default:
34206 : break;
34207 : }
34208 10055173 : if (GET_CODE (x2) == CONST_INT)
34209 : {
34210 5384395 : if (XWINT (x2, 0) == 0L)
34211 : {
34212 2168728 : res = peephole2_5 (x1, insn, pmatch_len_);
34213 2168728 : if (res != NULL_RTX)
34214 : return res;
34215 : }
34216 5372610 : operands[1] = x2;
34217 5372610 : operands[0] = x3;
34218 5372610 : switch (GET_MODE (operands[0]))
34219 : {
34220 2258520 : case E_SImode:
34221 2258520 : if (const_int_operand (operands[1], E_SImode))
34222 : {
34223 2258520 : if (any_QIreg_operand (operands[0], E_SImode)
34224 2258520 : && insn_condition_3114 (operands, insn))
34225 : {
34226 1 : *pmatch_len_ = 0;
34227 1 : res = gen_peephole2_51 (insn, operands);
34228 1 : if (res != NULL_RTX)
34229 : return res;
34230 : }
34231 2258519 : if (QIreg_operand (operands[0], E_SImode)
34232 2258519 : && insn_condition_3115 (operands, insn))
34233 : {
34234 6 : *pmatch_len_ = 0;
34235 6 : res = gen_peephole2_53 (insn, operands);
34236 6 : if (res != NULL_RTX)
34237 : return res;
34238 : }
34239 : }
34240 : break;
34241 :
34242 2490193 : case E_DImode:
34243 2490193 : if (const_int_operand (operands[1], E_DImode))
34244 : {
34245 2490193 : if (any_QIreg_operand (operands[0], E_DImode)
34246 2490193 : && insn_condition_3116 (operands, insn))
34247 : {
34248 1 : *pmatch_len_ = 0;
34249 1 : res = gen_peephole2_52 (insn, operands);
34250 1 : if (res != NULL_RTX)
34251 : return res;
34252 : }
34253 2490192 : if (QIreg_operand (operands[0], E_DImode)
34254 2490192 : && insn_condition_3117 (operands, insn))
34255 : {
34256 2 : *pmatch_len_ = 0;
34257 2 : res = gen_peephole2_54 (insn, operands);
34258 2 : if (res != NULL_RTX)
34259 : return res;
34260 : }
34261 : }
34262 : break;
34263 :
34264 : default:
34265 : break;
34266 : }
34267 : }
34268 10043378 : operands[1] = x2;
34269 10043378 : operands[0] = x3;
34270 10043378 : switch (GET_MODE (operands[0]))
34271 : {
34272 569232 : case E_QImode:
34273 569232 : if (!memory_operand (operands[0], E_QImode)
34274 216083 : || !immediate_operand (operands[1], E_QImode)
34275 785315 : || !insn_condition_3118 (operands, insn))
34276 : return NULL;
34277 0 : *pmatch_len_ = 0;
34278 0 : return gen_peephole2_284 (insn, operands);
34279 :
34280 54258 : case E_HImode:
34281 54258 : if (!memory_operand (operands[0], E_HImode)
34282 26237 : || !immediate_operand (operands[1], E_HImode)
34283 80495 : || !insn_condition_3119 (operands, insn))
34284 : return NULL;
34285 21570 : *pmatch_len_ = 0;
34286 21570 : return gen_peephole2_285 (insn, operands);
34287 :
34288 : default:
34289 : return NULL;
34290 : }
34291 : }
34292 :
34293 : rtx_insn *
34294 185095 : peephole2_10 (rtx x1 ATTRIBUTE_UNUSED,
34295 : rtx_insn *insn ATTRIBUTE_UNUSED,
34296 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34297 : {
34298 185095 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34299 185095 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34300 185095 : rtx x10, x11, x12;
34301 185095 : rtx_insn *res ATTRIBUTE_UNUSED;
34302 185095 : if (peep2_current_count < 2)
34303 : return NULL;
34304 184744 : x2 = XEXP (x1, 1);
34305 184744 : if (GET_MODE (x2) != E_DFmode)
34306 : return NULL;
34307 2539 : x3 = XEXP (x2, 1);
34308 2539 : if (GET_CODE (x3) != PARALLEL
34309 2539 : || XVECLEN (x3, 0) != 1)
34310 : return NULL;
34311 2539 : x4 = XVECEXP (x3, 0, 0);
34312 2539 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34313 : return NULL;
34314 675 : x5 = XEXP (x1, 0);
34315 675 : operands[0] = x5;
34316 675 : if (!memory_operand (operands[0], E_DFmode))
34317 : return NULL;
34318 675 : x6 = XEXP (x2, 0);
34319 675 : operands[1] = x6;
34320 675 : if (!sse_reg_operand (operands[1], E_V2DFmode))
34321 : return NULL;
34322 675 : x7 = PATTERN (peep2_next_insn (1));
34323 675 : if (GET_CODE (x7) != SET)
34324 : return NULL;
34325 578 : x8 = XEXP (x7, 1);
34326 578 : if (GET_CODE (x8) != VEC_SELECT
34327 389 : || GET_MODE (x8) != E_DFmode)
34328 : return NULL;
34329 382 : x9 = XEXP (x8, 1);
34330 382 : if (GET_CODE (x9) != PARALLEL
34331 382 : || XVECLEN (x9, 0) != 1)
34332 : return NULL;
34333 382 : x10 = XVECEXP (x9, 0, 0);
34334 382 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
34335 : return NULL;
34336 378 : x11 = XEXP (x7, 0);
34337 378 : operands[2] = x11;
34338 378 : if (!memory_operand (operands[2], E_DFmode))
34339 : return NULL;
34340 378 : x12 = XEXP (x8, 0);
34341 378 : operands[3] = x12;
34342 378 : if (!sse_reg_operand (operands[3], E_V2DFmode)
34343 378 : || !insn_condition_3148 (operands, insn))
34344 : return NULL;
34345 1 : *pmatch_len_ = 1;
34346 1 : return gen_peephole2_437 (insn, operands);
34347 : }
34348 :
34349 : rtx_insn *
34350 6288724 : peephole2_11 (rtx x1 ATTRIBUTE_UNUSED,
34351 : rtx_insn *insn ATTRIBUTE_UNUSED,
34352 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34353 : {
34354 6288724 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34355 6288724 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34356 6288724 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34357 6288724 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
34358 6288724 : rtx x26, x27, x28, x29;
34359 6288724 : rtx_insn *res ATTRIBUTE_UNUSED;
34360 6288724 : if (address_no_seg_operand (operands[1], E_SImode)
34361 6288724 : && insn_condition_3149 (operands, insn))
34362 : {
34363 2373 : *pmatch_len_ = 0;
34364 2373 : res = gen_peephole2_66 (insn, operands);
34365 2373 : if (res != NULL_RTX)
34366 : return res;
34367 : }
34368 6286351 : if (peep2_current_count < 2
34369 6286351 : || !memory_operand (operands[1], E_SImode))
34370 : return NULL;
34371 2051374 : x2 = PATTERN (peep2_next_insn (1));
34372 2051374 : switch (GET_CODE (x2))
34373 : {
34374 17328 : case CALL:
34375 17328 : x3 = XEXP (x2, 0);
34376 17328 : if (GET_CODE (x3) != MEM
34377 17328 : || GET_MODE (x3) != E_QImode)
34378 : return NULL;
34379 17328 : x4 = XEXP (x2, 1);
34380 17328 : operands[3] = x4;
34381 17328 : x5 = XEXP (x3, 0);
34382 17328 : if (!rtx_equal_p (x5, operands[0])
34383 17328 : || !insn_condition_3150 (operands, insn))
34384 : return NULL;
34385 88 : *pmatch_len_ = 1;
34386 88 : return gen_peephole2_202 (insn, operands);
34387 :
34388 9262 : case UNSPEC_VOLATILE:
34389 9262 : if (pattern887 (x2) != 0)
34390 : return NULL;
34391 9229 : x6 = PATTERN (peep2_next_insn (2));
34392 9229 : switch (GET_CODE (x6))
34393 : {
34394 0 : case CALL:
34395 0 : x7 = XEXP (x6, 0);
34396 0 : if (GET_CODE (x7) != MEM
34397 0 : || GET_MODE (x7) != E_QImode)
34398 : return NULL;
34399 0 : x8 = XEXP (x6, 1);
34400 0 : operands[3] = x8;
34401 0 : x9 = XEXP (x7, 0);
34402 0 : if (!rtx_equal_p (x9, operands[0])
34403 0 : || !insn_condition_3151 (operands, insn))
34404 : return NULL;
34405 0 : *pmatch_len_ = 2;
34406 0 : return gen_peephole2_204 (insn, operands);
34407 :
34408 0 : case PARALLEL:
34409 0 : if (XVECLEN (x6, 0) != 2)
34410 : return NULL;
34411 0 : x10 = XVECEXP (x6, 0, 1);
34412 0 : if (GET_CODE (x10) != SET)
34413 : return NULL;
34414 0 : x11 = XEXP (x10, 1);
34415 0 : if (GET_CODE (x11) != PLUS
34416 0 : || GET_MODE (x11) != E_SImode)
34417 : return NULL;
34418 0 : x12 = XEXP (x11, 0);
34419 0 : if (GET_CODE (x12) != REG
34420 0 : || REGNO (x12) != 7
34421 0 : || GET_MODE (x12) != E_SImode)
34422 : return NULL;
34423 0 : x13 = XEXP (x10, 0);
34424 0 : if (GET_CODE (x13) != REG
34425 0 : || REGNO (x13) != 7
34426 0 : || GET_MODE (x13) != E_SImode)
34427 : return NULL;
34428 0 : x14 = XEXP (x11, 1);
34429 0 : operands[4] = x14;
34430 0 : if (!immediate_operand (operands[4], E_SImode))
34431 : return NULL;
34432 0 : x15 = XVECEXP (x6, 0, 0);
34433 0 : switch (GET_CODE (x15))
34434 : {
34435 0 : case CALL:
34436 0 : x16 = XEXP (x15, 0);
34437 0 : if (GET_CODE (x16) != MEM
34438 0 : || GET_MODE (x16) != E_QImode)
34439 : return NULL;
34440 0 : x17 = XEXP (x15, 1);
34441 0 : operands[3] = x17;
34442 0 : x18 = XEXP (x16, 0);
34443 0 : if (!rtx_equal_p (x18, operands[0])
34444 0 : || !insn_condition_3152 (operands, insn))
34445 : return NULL;
34446 0 : *pmatch_len_ = 2;
34447 0 : return gen_peephole2_207 (insn, operands);
34448 :
34449 0 : case SET:
34450 0 : x17 = XEXP (x15, 1);
34451 0 : if (GET_CODE (x17) != CALL)
34452 : return NULL;
34453 0 : x19 = XEXP (x17, 0);
34454 0 : if (GET_CODE (x19) != MEM
34455 0 : || GET_MODE (x19) != E_QImode)
34456 : return NULL;
34457 0 : x16 = XEXP (x15, 0);
34458 0 : operands[2] = x16;
34459 0 : x20 = XEXP (x17, 1);
34460 0 : operands[3] = x20;
34461 0 : x21 = XEXP (x19, 0);
34462 0 : if (!rtx_equal_p (x21, operands[0])
34463 0 : || !insn_condition_3152 (operands, insn))
34464 : return NULL;
34465 0 : *pmatch_len_ = 2;
34466 0 : return gen_peephole2_215 (insn, operands);
34467 :
34468 : default:
34469 : return NULL;
34470 : }
34471 :
34472 0 : case SET:
34473 0 : if (pattern1386 (x6) != 0
34474 0 : || !insn_condition_3151 (operands, insn))
34475 : return NULL;
34476 0 : *pmatch_len_ = 2;
34477 0 : return gen_peephole2_212 (insn, operands);
34478 :
34479 : default:
34480 : return NULL;
34481 : }
34482 :
34483 237922 : case PARALLEL:
34484 237922 : if (XVECLEN (x2, 0) != 2)
34485 : return NULL;
34486 235063 : x22 = XVECEXP (x2, 0, 0);
34487 235063 : if (GET_CODE (x22) != CALL)
34488 : return NULL;
34489 2060 : x23 = XEXP (x22, 0);
34490 2060 : if (GET_CODE (x23) != MEM
34491 2060 : || GET_MODE (x23) != E_QImode)
34492 : return NULL;
34493 2060 : x24 = XVECEXP (x2, 0, 1);
34494 2060 : if (pattern1294 (x24) != 0)
34495 : return NULL;
34496 2042 : x25 = XEXP (x24, 0);
34497 2042 : if (GET_CODE (x25) != REG
34498 2042 : || REGNO (x25) != 7
34499 4084 : || GET_MODE (x25) != E_SImode)
34500 : return NULL;
34501 2042 : x26 = XEXP (x22, 1);
34502 2042 : operands[3] = x26;
34503 2042 : x27 = XEXP (x24, 1);
34504 2042 : x28 = XEXP (x27, 1);
34505 2042 : operands[4] = x28;
34506 2042 : if (!immediate_operand (operands[4], E_SImode))
34507 : return NULL;
34508 2042 : x29 = XEXP (x23, 0);
34509 2042 : if (!rtx_equal_p (x29, operands[0])
34510 2042 : || !insn_condition_3153 (operands, insn))
34511 : return NULL;
34512 0 : *pmatch_len_ = 1;
34513 0 : return gen_peephole2_206 (insn, operands);
34514 :
34515 1780823 : case SET:
34516 1780823 : switch (pattern888 (x2))
34517 : {
34518 0 : case 0:
34519 0 : if (!insn_condition_3154 (operands, insn))
34520 : return NULL;
34521 0 : *pmatch_len_ = 1;
34522 0 : return gen_peephole2_208 (insn, operands);
34523 :
34524 136 : case 1:
34525 136 : if (!insn_condition_3150 (operands, insn))
34526 : return NULL;
34527 136 : *pmatch_len_ = 1;
34528 136 : return gen_peephole2_210 (insn, operands);
34529 :
34530 : default:
34531 : return NULL;
34532 : }
34533 :
34534 : default:
34535 : return NULL;
34536 : }
34537 : }
34538 :
34539 : rtx_insn *
34540 14798578 : peephole2_15 (rtx x1 ATTRIBUTE_UNUSED,
34541 : rtx_insn *insn ATTRIBUTE_UNUSED,
34542 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34543 : {
34544 14798578 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34545 14798578 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34546 14798578 : rtx_insn *res ATTRIBUTE_UNUSED;
34547 14798578 : if (address_no_seg_operand (operands[1], E_DImode)
34548 14798578 : && insn_condition_3165 (operands, insn))
34549 : {
34550 4742 : *pmatch_len_ = 0;
34551 4742 : res = gen_peephole2_67 (insn, operands);
34552 4742 : if (res != NULL_RTX)
34553 : return res;
34554 : }
34555 14793836 : if (peep2_current_count < 2
34556 14793836 : || !memory_operand (operands[1], E_DImode))
34557 : return NULL;
34558 3399362 : x2 = PATTERN (peep2_next_insn (1));
34559 3399362 : switch (GET_CODE (x2))
34560 : {
34561 83335 : case CALL:
34562 83335 : x3 = XEXP (x2, 0);
34563 83335 : if (GET_CODE (x3) != MEM
34564 83335 : || GET_MODE (x3) != E_QImode)
34565 : return NULL;
34566 83335 : x4 = XEXP (x2, 1);
34567 83335 : operands[3] = x4;
34568 83335 : x5 = XEXP (x3, 0);
34569 83335 : if (!rtx_equal_p (x5, operands[0])
34570 83335 : || !insn_condition_3166 (operands, insn))
34571 : return NULL;
34572 901 : *pmatch_len_ = 1;
34573 901 : return gen_peephole2_203 (insn, operands);
34574 :
34575 4200 : case UNSPEC_VOLATILE:
34576 4200 : if (pattern887 (x2) != 0)
34577 : return NULL;
34578 4188 : x6 = PATTERN (peep2_next_insn (2));
34579 4188 : switch (GET_CODE (x6))
34580 : {
34581 0 : case CALL:
34582 0 : x7 = XEXP (x6, 0);
34583 0 : if (GET_CODE (x7) != MEM
34584 0 : || GET_MODE (x7) != E_QImode)
34585 : return NULL;
34586 0 : x8 = XEXP (x6, 1);
34587 0 : operands[3] = x8;
34588 0 : x9 = XEXP (x7, 0);
34589 0 : if (!rtx_equal_p (x9, operands[0])
34590 0 : || !insn_condition_3167 (operands, insn))
34591 : return NULL;
34592 0 : *pmatch_len_ = 2;
34593 0 : return gen_peephole2_205 (insn, operands);
34594 :
34595 0 : case SET:
34596 0 : if (pattern1386 (x6) != 0
34597 0 : || !insn_condition_3167 (operands, insn))
34598 : return NULL;
34599 0 : *pmatch_len_ = 2;
34600 0 : return gen_peephole2_213 (insn, operands);
34601 :
34602 : default:
34603 : return NULL;
34604 : }
34605 :
34606 3052528 : case SET:
34607 3052528 : switch (pattern888 (x2))
34608 : {
34609 33 : case 0:
34610 33 : if (!insn_condition_3168 (operands, insn))
34611 : return NULL;
34612 28 : *pmatch_len_ = 1;
34613 28 : return gen_peephole2_209 (insn, operands);
34614 :
34615 419 : case 1:
34616 419 : if (!insn_condition_3166 (operands, insn))
34617 : return NULL;
34618 410 : *pmatch_len_ = 1;
34619 410 : return gen_peephole2_211 (insn, operands);
34620 :
34621 : default:
34622 : return NULL;
34623 : }
34624 :
34625 : default:
34626 : return NULL;
34627 : }
34628 : }
34629 :
34630 : rtx_insn *
34631 526135 : peephole2_19 (rtx x1 ATTRIBUTE_UNUSED,
34632 : rtx_insn *insn ATTRIBUTE_UNUSED,
34633 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34634 : {
34635 526135 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34636 526135 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34637 526135 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34638 526135 : rtx x18, x19, x20;
34639 526135 : rtx_insn *res ATTRIBUTE_UNUSED;
34640 526135 : x2 = PATTERN (peep2_next_insn (1));
34641 526135 : if (GET_CODE (x2) != SET)
34642 : return NULL;
34643 506899 : x3 = XEXP (x2, 1);
34644 506899 : if (!ix86_comparison_operator (x3, E_QImode))
34645 : return NULL;
34646 182265 : x4 = XEXP (x3, 0);
34647 182265 : if (GET_CODE (x4) != REG
34648 182265 : || REGNO (x4) != 17)
34649 : return NULL;
34650 182265 : x5 = XEXP (x3, 1);
34651 182265 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34652 : return NULL;
34653 182265 : x6 = XEXP (x2, 0);
34654 182265 : switch (GET_CODE (x6))
34655 : {
34656 147277 : case REG:
34657 147277 : case SUBREG:
34658 147277 : operands[1] = x6;
34659 147277 : if (!register_operand (operands[1], E_QImode))
34660 : return NULL;
34661 147277 : operands[2] = x3;
34662 147277 : x7 = PATTERN (peep2_next_insn (2));
34663 147277 : switch (GET_CODE (x7))
34664 : {
34665 114651 : case SET:
34666 114651 : x8 = XEXP (x7, 1);
34667 114651 : if (GET_CODE (x8) != ZERO_EXTEND)
34668 : return NULL;
34669 38565 : x9 = XEXP (x7, 0);
34670 38565 : operands[3] = x9;
34671 38565 : if (!any_QIreg_operand (operands[3], E_VOIDmode))
34672 : return NULL;
34673 38563 : x10 = XEXP (x8, 0);
34674 38563 : if (!rtx_equal_p (x10, operands[1])
34675 38563 : || !insn_condition_3188 (operands, insn))
34676 : return NULL;
34677 27905 : *pmatch_len_ = 2;
34678 27905 : return gen_peephole2_195 (insn, operands);
34679 :
34680 23319 : case PARALLEL:
34681 23319 : if (XVECLEN (x7, 0) != 2)
34682 : return NULL;
34683 23319 : x11 = XVECEXP (x7, 0, 0);
34684 23319 : if (GET_CODE (x11) != SET)
34685 : return NULL;
34686 23316 : x12 = XEXP (x11, 1);
34687 23316 : if (GET_CODE (x12) != AND
34688 4858 : || GET_MODE (x12) != E_SImode)
34689 : return NULL;
34690 4632 : x13 = XEXP (x12, 1);
34691 4632 : if (GET_CODE (x13) != CONST_INT
34692 51 : || XWINT (x13, 0) != 255L
34693 4632 : || pattern1793 (x7,
34694 : E_SImode) != 0)
34695 : return NULL;
34696 0 : x14 = XEXP (x12, 0);
34697 0 : if (!rtx_equal_p (x14, operands[3])
34698 0 : || !insn_condition_3189 (operands, insn))
34699 : return NULL;
34700 0 : *pmatch_len_ = 2;
34701 0 : return gen_peephole2_198 (insn, operands);
34702 :
34703 : default:
34704 : return NULL;
34705 : }
34706 :
34707 28090 : case STRICT_LOW_PART:
34708 28090 : if (peep2_current_count < 4)
34709 : return NULL;
34710 25829 : x15 = XEXP (x6, 0);
34711 25829 : operands[5] = x15;
34712 25829 : if (!register_operand (operands[5], E_QImode))
34713 : return NULL;
34714 25829 : operands[6] = x3;
34715 25829 : x7 = PATTERN (peep2_next_insn (2));
34716 25829 : if (GET_CODE (x7) != SET)
34717 : return NULL;
34718 12763 : x8 = XEXP (x7, 1);
34719 12763 : if (!ix86_comparison_operator (x8, E_QImode))
34720 : return NULL;
34721 291 : operands[2] = x8;
34722 291 : x10 = XEXP (x8, 0);
34723 291 : if (GET_CODE (x10) != REG
34724 291 : || REGNO (x10) != 17)
34725 : return NULL;
34726 291 : x16 = XEXP (x8, 1);
34727 291 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34728 : return NULL;
34729 291 : x9 = XEXP (x7, 0);
34730 291 : operands[1] = x9;
34731 291 : if (!register_operand (operands[1], E_QImode))
34732 : return NULL;
34733 151 : x17 = PATTERN (peep2_next_insn (3));
34734 151 : if (GET_CODE (x17) != SET)
34735 : return NULL;
34736 146 : x18 = XEXP (x17, 1);
34737 146 : if (GET_CODE (x18) != ZERO_EXTEND)
34738 : return NULL;
34739 137 : x19 = XEXP (x17, 0);
34740 137 : operands[3] = x19;
34741 137 : if (!any_QIreg_operand (operands[3], E_VOIDmode))
34742 : return NULL;
34743 137 : x20 = XEXP (x18, 0);
34744 137 : if (!rtx_equal_p (x20, operands[1])
34745 137 : || !insn_condition_3190 (operands, insn))
34746 : return NULL;
34747 124 : *pmatch_len_ = 3;
34748 124 : return gen_peephole2_201 (insn, operands);
34749 :
34750 : default:
34751 : return NULL;
34752 : }
34753 : }
34754 :
34755 : rtx_insn *
34756 129278 : peephole2_25 (rtx x1 ATTRIBUTE_UNUSED,
34757 : rtx_insn *insn ATTRIBUTE_UNUSED,
34758 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34759 : {
34760 129278 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34761 129278 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34762 129278 : rtx x10;
34763 129278 : rtx_insn *res ATTRIBUTE_UNUSED;
34764 129278 : x2 = PATTERN (peep2_next_insn (1));
34765 129278 : if (pattern1395 (x2,
34766 : E_SImode) != 0)
34767 : return NULL;
34768 113239 : x3 = XVECEXP (x2, 0, 0);
34769 113239 : x4 = XEXP (x3, 1);
34770 113239 : x5 = XEXP (x4, 0);
34771 113239 : if (!rtx_equal_p (x5, operands[0]))
34772 : return NULL;
34773 51248 : x6 = XEXP (x3, 0);
34774 51248 : if (!rtx_equal_p (x6, operands[0]))
34775 : return NULL;
34776 50418 : x7 = PATTERN (peep2_next_insn (2));
34777 50418 : x8 = XEXP (x7, 1);
34778 50418 : if (!rtx_equal_p (x8, operands[0]))
34779 : return NULL;
34780 26294 : x9 = PATTERN (peep2_next_insn (3));
34781 26294 : if (GET_CODE (x9) != SET)
34782 : return NULL;
34783 19727 : x10 = XEXP (x7, 0);
34784 19727 : if (rtx_equal_p (x10, operands[1])
34785 8085 : && pattern1892 (x9) == 0
34786 19787 : && insn_condition_3205 (operands, insn))
34787 : {
34788 0 : *pmatch_len_ = 3;
34789 0 : res = gen_peephole2_320 (insn, operands);
34790 0 : if (res != NULL_RTX)
34791 : return res;
34792 : }
34793 19727 : if (peep2_current_count < 5
34794 18945 : || pattern1893 (x10,
34795 : E_SImode) != 0
34796 19727 : || !insn_condition_3206 (operands, insn))
34797 : return NULL;
34798 0 : *pmatch_len_ = 4;
34799 0 : return gen_peephole2_350 (insn, operands);
34800 : }
34801 :
34802 : rtx_insn *
34803 50445313 : peephole2_27 (rtx x1 ATTRIBUTE_UNUSED,
34804 : rtx_insn *insn ATTRIBUTE_UNUSED,
34805 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34806 : {
34807 50445313 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34808 50445313 : rtx x2, x3, x4, x5;
34809 50445313 : rtx_insn *res ATTRIBUTE_UNUSED;
34810 50445313 : if (peep2_current_count >= 2)
34811 : {
34812 39976150 : res = peephole2_24 (x1, insn, pmatch_len_);
34813 39976150 : if (res != NULL_RTX)
34814 : return res;
34815 : }
34816 50445301 : x2 = XEXP (x1, 1);
34817 50445301 : operands[1] = x2;
34818 50445301 : if (memory_operand (operands[1], E_SImode)
34819 2540586 : && push_operand (operands[0], E_SImode)
34820 50823329 : && insn_condition_3141 (operands, insn))
34821 : {
34822 0 : *pmatch_len_ = 0;
34823 0 : res = gen_peephole2_278 (insn, operands);
34824 0 : if (res != NULL_RTX)
34825 : return res;
34826 : }
34827 50445301 : if (peep2_current_count < 2)
34828 : return NULL;
34829 39976138 : if (general_reg_operand (operands[1], E_SImode))
34830 : {
34831 2935012 : x3 = PATTERN (peep2_next_insn (1));
34832 2935012 : if (pattern453 (x3,
34833 : E_SImode) == 0
34834 2935012 : && insn_condition_3209 (operands, insn))
34835 : {
34836 8386 : *pmatch_len_ = 1;
34837 8386 : res = gen_peephole2_306 (insn, operands);
34838 8386 : if (res != NULL_RTX)
34839 : return res;
34840 : }
34841 : }
34842 39967752 : if (peep2_current_count >= 3)
34843 : {
34844 31585528 : res = peephole2_26 (x1, insn, pmatch_len_);
34845 31585528 : if (res != NULL_RTX)
34846 : return res;
34847 : }
34848 39967411 : if (mmx_reg_operand (operands[1], E_VOIDmode)
34849 39967411 : && mmx_reg_operand (operands[0], E_VOIDmode))
34850 : {
34851 1 : x3 = PATTERN (peep2_next_insn (1));
34852 1 : if (pattern627 (x3) == 0
34853 1 : && insn_condition_3192 (operands, insn))
34854 : {
34855 0 : *pmatch_len_ = 1;
34856 0 : res = gen_peephole2_308 (insn, operands);
34857 0 : if (res != NULL_RTX)
34858 : return res;
34859 : }
34860 : }
34861 39967411 : if (sse_reg_operand (operands[1], E_VOIDmode)
34862 39967411 : && sse_reg_operand (operands[0], E_VOIDmode))
34863 : {
34864 300828 : x3 = PATTERN (peep2_next_insn (1));
34865 300828 : if (pattern627 (x3) == 0
34866 300828 : && insn_condition_3210 (operands, insn))
34867 : {
34868 15931 : *pmatch_len_ = 1;
34869 15931 : res = gen_peephole2_309 (insn, operands);
34870 15931 : if (res != NULL_RTX)
34871 : return res;
34872 : }
34873 : }
34874 39951480 : if (peep2_current_count >= 3
34875 39951480 : && peep2_current_count >= 4)
34876 : {
34877 25961647 : if (memory_operand (operands[1], E_QImode))
34878 : {
34879 176450 : x3 = PATTERN (peep2_next_insn (1));
34880 176450 : if (pattern764 (x3,
34881 : E_QImode) == 0
34882 176450 : && insn_condition_3211 (operands, insn))
34883 : {
34884 0 : *pmatch_len_ = 3;
34885 0 : res = gen_peephole2_330 (insn, operands);
34886 0 : if (res != NULL_RTX)
34887 : return res;
34888 : }
34889 : }
34890 25961647 : if (memory_operand (operands[1], E_HImode))
34891 : {
34892 59309 : x3 = PATTERN (peep2_next_insn (1));
34893 59309 : if (pattern764 (x3,
34894 : E_HImode) == 0
34895 59309 : && insn_condition_3212 (operands, insn))
34896 : {
34897 0 : *pmatch_len_ = 3;
34898 0 : res = gen_peephole2_331 (insn, operands);
34899 0 : if (res != NULL_RTX)
34900 : return res;
34901 : }
34902 : }
34903 25961647 : if (memory_operand (operands[1], E_SImode))
34904 : {
34905 1648212 : x3 = PATTERN (peep2_next_insn (1));
34906 1648212 : if (pattern765 (x3,
34907 : E_SImode) == 0
34908 1648212 : && insn_condition_3213 (operands, insn))
34909 : {
34910 0 : *pmatch_len_ = 3;
34911 0 : res = gen_peephole2_332 (insn, operands);
34912 0 : if (res != NULL_RTX)
34913 : return res;
34914 : }
34915 : }
34916 25961647 : if (memory_operand (operands[1], E_DImode))
34917 : {
34918 2279230 : x3 = PATTERN (peep2_next_insn (1));
34919 2279230 : if (pattern765 (x3,
34920 : E_DImode) == 0
34921 2279230 : && insn_condition_3214 (operands, insn))
34922 : {
34923 0 : *pmatch_len_ = 3;
34924 0 : res = gen_peephole2_333 (insn, operands);
34925 0 : if (res != NULL_RTX)
34926 : return res;
34927 : }
34928 : }
34929 : }
34930 39951480 : if (!memory_operand (operands[1], E_VOIDmode)
34931 39951480 : || !register_operand (operands[0], E_VOIDmode))
34932 : return NULL;
34933 7716696 : x3 = PATTERN (peep2_next_insn (1));
34934 7716696 : if (GET_CODE (x3) != SET)
34935 : return NULL;
34936 7021651 : x4 = XEXP (x3, 0);
34937 7021651 : operands[2] = x4;
34938 7021651 : if (!memory_operand (operands[2], E_VOIDmode))
34939 : return NULL;
34940 2061299 : x5 = XEXP (x3, 1);
34941 2061299 : if (!rtx_equal_p (x5, operands[0])
34942 2061299 : || !insn_condition_3215 (operands, insn))
34943 : return NULL;
34944 658 : *pmatch_len_ = 1;
34945 658 : return gen_peephole2_366 (insn, operands);
34946 : }
34947 :
34948 : rtx_insn *
34949 48999285 : peephole2_37 (rtx x1 ATTRIBUTE_UNUSED,
34950 : rtx_insn *insn ATTRIBUTE_UNUSED,
34951 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34952 : {
34953 48999285 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34954 48999285 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34955 48999285 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34956 48999285 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
34957 48999285 : rtx x26, x27, x28, x29, x30, x31;
34958 48999285 : rtx_insn *res ATTRIBUTE_UNUSED;
34959 48999285 : x2 = XEXP (x1, 1);
34960 48999285 : switch (GET_CODE (x2))
34961 : {
34962 5001476 : case COMPARE:
34963 5001476 : operands[1] = x2;
34964 5001476 : if (!compare_operator (operands[1], E_VOIDmode))
34965 : return NULL;
34966 5001476 : x3 = XEXP (x2, 1);
34967 5001476 : if (GET_CODE (x3) != CONST_INT
34968 5001476 : || !flags_reg_operand (operands[0], E_VOIDmode))
34969 : return NULL;
34970 3276387 : x4 = XEXP (x2, 0);
34971 3276387 : switch (GET_CODE (x4))
34972 : {
34973 3151299 : case REG:
34974 3151299 : case SUBREG:
34975 3151299 : case MEM:
34976 3151299 : operands[2] = x4;
34977 3151299 : if (memory_operand (operands[2], E_SImode)
34978 448183 : && XWINT (x3, 0) == 0L
34979 3472303 : && insn_condition_3234 (operands, insn))
34980 : {
34981 296745 : *pmatch_len_ = 0;
34982 296745 : res = gen_peephole2_287 (insn, operands);
34983 296745 : if (res != NULL_RTX)
34984 : return res;
34985 : }
34986 2855963 : if (!register_operand (operands[2], E_VOIDmode))
34987 : return NULL;
34988 2429006 : operands[3] = x3;
34989 2429006 : if (!const_int_operand (operands[3], E_VOIDmode)
34990 2429006 : || !insn_condition_3235 (operands, insn))
34991 : return NULL;
34992 12384 : *pmatch_len_ = 0;
34993 12384 : return gen_peephole2_422 (insn, operands);
34994 :
34995 123579 : case AND:
34996 123579 : if (XWINT (x3, 0) != 0L)
34997 : return NULL;
34998 123579 : x5 = XEXP (x4, 0);
34999 123579 : operands[2] = x5;
35000 123579 : x6 = XEXP (x4, 1);
35001 123579 : operands[3] = x6;
35002 123579 : switch (GET_MODE (x4))
35003 : {
35004 20845 : case E_SImode:
35005 20845 : if (register_operand (operands[2], E_SImode)
35006 18196 : && immediate_operand (operands[3], E_SImode)
35007 36676 : && insn_condition_3236 (operands, insn))
35008 : {
35009 9340 : *pmatch_len_ = 0;
35010 9340 : res = gen_peephole2_291 (insn, operands);
35011 9340 : if (res != NULL_RTX)
35012 : return res;
35013 : }
35014 : break;
35015 :
35016 86918 : case E_QImode:
35017 86918 : if (register_operand (operands[2], E_QImode)
35018 56484 : && immediate_operand (operands[3], E_QImode)
35019 139144 : && insn_condition_3237 (operands, insn))
35020 : {
35021 18487 : *pmatch_len_ = 0;
35022 18487 : res = gen_peephole2_292 (insn, operands);
35023 18487 : if (res != NULL_RTX)
35024 : return res;
35025 : }
35026 : break;
35027 :
35028 : default:
35029 : break;
35030 : }
35031 95752 : if (GET_CODE (x5) != SUBREG
35032 10435 : || maybe_ne (SUBREG_BYTE (x5), 0)
35033 106187 : || GET_MODE (x5) != E_QImode)
35034 : return NULL;
35035 10435 : x7 = XEXP (x5, 0);
35036 10435 : switch (GET_CODE (x7))
35037 : {
35038 10435 : case ASHIFTRT:
35039 10435 : case LSHIFTRT:
35040 10435 : case SIGN_EXTRACT:
35041 10435 : case ZERO_EXTRACT:
35042 10435 : operands[4] = x7;
35043 10435 : if (GET_MODE (x4) != E_QImode)
35044 : return NULL;
35045 10435 : x8 = XEXP (x7, 0);
35046 10435 : operands[2] = x8;
35047 10435 : if (!int248_register_operand (operands[2], E_VOIDmode))
35048 : return NULL;
35049 10435 : operands[3] = x6;
35050 10435 : if (!const_int_operand (operands[3], E_VOIDmode))
35051 : return NULL;
35052 10435 : switch (GET_MODE (operands[4]))
35053 : {
35054 10435 : case E_HImode:
35055 10435 : if (!extract_high_operator (operands[4], E_HImode)
35056 10435 : || !insn_condition_3237 (operands, insn))
35057 : return NULL;
35058 442 : *pmatch_len_ = 0;
35059 442 : return gen_peephole2_293 (insn, operands);
35060 :
35061 0 : case E_SImode:
35062 0 : if (!extract_high_operator (operands[4], E_SImode)
35063 0 : || !insn_condition_3237 (operands, insn))
35064 : return NULL;
35065 0 : *pmatch_len_ = 0;
35066 0 : return gen_peephole2_294 (insn, operands);
35067 :
35068 0 : case E_DImode:
35069 0 : if (!extract_high_operator (operands[4], E_DImode)
35070 0 : || !insn_condition_3238 (operands, insn))
35071 : return NULL;
35072 0 : *pmatch_len_ = 0;
35073 0 : return gen_peephole2_295 (insn, operands);
35074 :
35075 : default:
35076 : return NULL;
35077 : }
35078 :
35079 : default:
35080 : return NULL;
35081 : }
35082 :
35083 : default:
35084 : return NULL;
35085 : }
35086 :
35087 41000 : case NOT:
35088 41000 : x4 = XEXP (x2, 0);
35089 41000 : operands[1] = x4;
35090 41000 : switch (GET_MODE (operands[0]))
35091 : {
35092 22 : case E_QImode:
35093 22 : if (!nonimmediate_gr_operand (operands[0], E_QImode)
35094 22 : || GET_MODE (x2) != E_QImode
35095 22 : || !nonimmediate_gr_operand (operands[1], E_QImode)
35096 44 : || !insn_condition_3239 (operands, insn))
35097 : return NULL;
35098 0 : *pmatch_len_ = 0;
35099 0 : return gen_peephole2_288 (insn, operands);
35100 :
35101 4 : case E_HImode:
35102 4 : if (!nonimmediate_gr_operand (operands[0], E_HImode)
35103 4 : || GET_MODE (x2) != E_HImode
35104 4 : || !nonimmediate_gr_operand (operands[1], E_HImode)
35105 8 : || !insn_condition_3240 (operands, insn))
35106 : return NULL;
35107 0 : *pmatch_len_ = 0;
35108 0 : return gen_peephole2_289 (insn, operands);
35109 :
35110 18369 : case E_SImode:
35111 18369 : if (!nonimmediate_gr_operand (operands[0], E_SImode)
35112 18368 : || GET_MODE (x2) != E_SImode
35113 18368 : || !nonimmediate_gr_operand (operands[1], E_SImode)
35114 36737 : || !insn_condition_3241 (operands, insn))
35115 : return NULL;
35116 0 : *pmatch_len_ = 0;
35117 0 : return gen_peephole2_290 (insn, operands);
35118 :
35119 : default:
35120 : return NULL;
35121 : }
35122 :
35123 31318940 : case CONST_INT:
35124 31318940 : case CONST_WIDE_INT:
35125 31318940 : case CONST_POLY_INT:
35126 31318940 : case CONST_FIXED:
35127 31318940 : case CONST_DOUBLE:
35128 31318940 : case CONST_VECTOR:
35129 31318940 : case CONST:
35130 31318940 : case REG:
35131 31318940 : case SUBREG:
35132 31318940 : case MEM:
35133 31318940 : case LABEL_REF:
35134 31318940 : case SYMBOL_REF:
35135 31318940 : case HIGH:
35136 31318940 : if (GET_CODE (x2) == CONST_INT)
35137 : {
35138 3941034 : res = peephole2_36 (x1, insn, pmatch_len_);
35139 3941034 : if (res != NULL_RTX)
35140 : return res;
35141 : }
35142 31290948 : if (peep2_current_count < 2
35143 31290948 : || peep2_current_count < 3)
35144 : return NULL;
35145 23408781 : operands[1] = x2;
35146 23408781 : x9 = PATTERN (peep2_next_insn (1));
35147 23408781 : if (pattern628 (x9,
35148 : 4) != 0)
35149 : return NULL;
35150 8972 : x10 = XVECEXP (x9, 0, 1);
35151 8972 : if (GET_CODE (x10) != SET)
35152 : return NULL;
35153 8972 : x11 = XEXP (x10, 1);
35154 8972 : if (GET_CODE (x11) != UNSPEC_VOLATILE
35155 8972 : || XVECLEN (x11, 0) != 1)
35156 : return NULL;
35157 8972 : x12 = XVECEXP (x11, 0, 0);
35158 8972 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
35159 : return NULL;
35160 8972 : x13 = XVECEXP (x9, 0, 2);
35161 8972 : if (GET_CODE (x13) != SET)
35162 : return NULL;
35163 8972 : x14 = XEXP (x13, 0);
35164 8972 : if (GET_CODE (x14) != REG
35165 8972 : || REGNO (x14) != 17)
35166 : return NULL;
35167 8972 : x15 = XVECEXP (x9, 0, 0);
35168 8972 : x16 = XEXP (x15, 1);
35169 8972 : x17 = XVECEXP (x16, 0, 0);
35170 8972 : operands[2] = x17;
35171 8972 : x18 = XVECEXP (x16, 0, 2);
35172 8972 : operands[3] = x18;
35173 8972 : if (pattern1754 (x9) != 0)
35174 : return NULL;
35175 5839 : x19 = PATTERN (peep2_next_insn (2));
35176 5839 : if (GET_CODE (x19) != SET)
35177 : return NULL;
35178 5493 : x20 = XEXP (x19, 1);
35179 5493 : if (GET_CODE (x20) != COMPARE)
35180 : return NULL;
35181 1028 : x21 = XEXP (x19, 0);
35182 1028 : if (GET_CODE (x21) != REG
35183 1028 : || REGNO (x21) != 17)
35184 : return NULL;
35185 1028 : x22 = XEXP (x20, 0);
35186 1028 : operands[5] = x22;
35187 1028 : x23 = XEXP (x20, 1);
35188 1028 : operands[6] = x23;
35189 1028 : switch (GET_MODE (operands[0]))
35190 : {
35191 70 : case E_HImode:
35192 70 : if (!register_operand (operands[0], E_HImode)
35193 70 : || !general_operand (operands[1], E_HImode)
35194 70 : || XINT (x16, 1) != 125
35195 70 : || GET_MODE (x16) != E_HImode
35196 70 : || pattern1934 (x9,
35197 : E_HImode) != 0
35198 140 : || !insn_condition_3229 (operands, insn))
35199 : return NULL;
35200 70 : *pmatch_len_ = 2;
35201 70 : return gen_peephole2_439 (insn, operands);
35202 :
35203 666 : case E_SImode:
35204 666 : if (!register_operand (operands[0], E_SImode)
35205 666 : || GET_MODE (x16) != E_SImode)
35206 : return NULL;
35207 666 : if (XINT (x16, 1) == 125
35208 654 : && general_operand (operands[1], E_SImode)
35209 654 : && pattern1934 (x9,
35210 : E_SImode) == 0
35211 1316 : && insn_condition_3229 (operands, insn))
35212 : {
35213 644 : *pmatch_len_ = 2;
35214 644 : res = gen_peephole2_440 (insn, operands);
35215 644 : if (res != NULL_RTX)
35216 : return res;
35217 : }
35218 22 : if (XINT (x16, 1) != 128
35219 22 : || pattern1932 (x9,
35220 : E_SImode) != 0)
35221 : return NULL;
35222 12 : if (insn_condition_3242 (operands, insn))
35223 : {
35224 0 : *pmatch_len_ = 2;
35225 0 : res = gen_peephole2_458 (insn, operands);
35226 0 : if (res != NULL_RTX)
35227 : return res;
35228 : }
35229 12 : if (peep2_current_count < 4)
35230 : return NULL;
35231 12 : x24 = PATTERN (peep2_next_insn (3));
35232 12 : switch (pattern1954 (x24))
35233 : {
35234 6 : case 0:
35235 6 : if (!insn_condition_3243 (operands, insn))
35236 : return NULL;
35237 6 : *pmatch_len_ = 3;
35238 6 : return gen_peephole2_460 (insn, operands);
35239 :
35240 6 : case 1:
35241 6 : if (!insn_condition_3243 (operands, insn))
35242 : return NULL;
35243 6 : *pmatch_len_ = 3;
35244 6 : return gen_peephole2_462 (insn, operands);
35245 :
35246 : default:
35247 : return NULL;
35248 : }
35249 :
35250 292 : case E_DImode:
35251 292 : if (!register_operand (operands[0], E_DImode)
35252 292 : || GET_MODE (x16) != E_DImode)
35253 : return NULL;
35254 292 : if (XINT (x16, 1) == 125
35255 280 : && general_operand (operands[1], E_DImode)
35256 280 : && pattern1934 (x9,
35257 : E_DImode) == 0
35258 571 : && insn_condition_3244 (operands, insn))
35259 : {
35260 279 : *pmatch_len_ = 2;
35261 279 : res = gen_peephole2_441 (insn, operands);
35262 279 : if (res != NULL_RTX)
35263 : return res;
35264 : }
35265 13 : if (XINT (x16, 1) != 128
35266 13 : || pattern1932 (x9,
35267 : E_DImode) != 0)
35268 : return NULL;
35269 12 : if (insn_condition_3242 (operands, insn))
35270 : {
35271 0 : *pmatch_len_ = 2;
35272 0 : res = gen_peephole2_459 (insn, operands);
35273 0 : if (res != NULL_RTX)
35274 : return res;
35275 : }
35276 12 : if (peep2_current_count < 4)
35277 : return NULL;
35278 12 : x24 = PATTERN (peep2_next_insn (3));
35279 12 : switch (pattern1954 (x24))
35280 : {
35281 6 : case 0:
35282 6 : if (!insn_condition_3243 (operands, insn))
35283 : return NULL;
35284 6 : *pmatch_len_ = 3;
35285 6 : return gen_peephole2_461 (insn, operands);
35286 :
35287 6 : case 1:
35288 6 : if (!insn_condition_3243 (operands, insn))
35289 : return NULL;
35290 6 : *pmatch_len_ = 3;
35291 6 : return gen_peephole2_463 (insn, operands);
35292 :
35293 : default:
35294 : return NULL;
35295 : }
35296 :
35297 : default:
35298 : return NULL;
35299 : }
35300 :
35301 3092049 : case PLUS:
35302 3092049 : switch (pattern24 (x2))
35303 : {
35304 635059 : case 0:
35305 635059 : x3 = XEXP (x2, 1);
35306 635059 : operands[1] = x3;
35307 635059 : if (x86_64_nonmemory_operand (operands[1], E_SImode))
35308 : {
35309 583736 : x4 = XEXP (x2, 0);
35310 583736 : if (rtx_equal_p (x4, operands[0])
35311 583736 : && insn_condition_3245 (operands, insn))
35312 : {
35313 18719 : *pmatch_len_ = 0;
35314 18719 : res = gen_peephole2_373 (insn, operands);
35315 18719 : if (res != NULL_RTX)
35316 : return res;
35317 : }
35318 : }
35319 616340 : x4 = XEXP (x2, 0);
35320 616340 : operands[1] = x4;
35321 616340 : if (!x86_64_nonmemory_operand (operands[1], E_SImode)
35322 551097 : || !rtx_equal_p (x3, operands[0])
35323 616362 : || !insn_condition_3245 (operands, insn))
35324 : return NULL;
35325 0 : *pmatch_len_ = 0;
35326 0 : return gen_peephole2_375 (insn, operands);
35327 :
35328 2034021 : case 1:
35329 2034021 : x3 = XEXP (x2, 1);
35330 2034021 : operands[1] = x3;
35331 2034021 : if (x86_64_nonmemory_operand (operands[1], E_DImode))
35332 : {
35333 2033565 : x4 = XEXP (x2, 0);
35334 2033565 : if (rtx_equal_p (x4, operands[0])
35335 2033565 : && insn_condition_3246 (operands, insn))
35336 : {
35337 29115 : *pmatch_len_ = 0;
35338 29115 : res = gen_peephole2_374 (insn, operands);
35339 29115 : if (res != NULL_RTX)
35340 : return res;
35341 : }
35342 : }
35343 2004906 : x4 = XEXP (x2, 0);
35344 2004906 : operands[1] = x4;
35345 2004906 : if (!x86_64_nonmemory_operand (operands[1], E_DImode)
35346 1817581 : || !rtx_equal_p (x3, operands[0])
35347 2004907 : || !insn_condition_3246 (operands, insn))
35348 : return NULL;
35349 0 : *pmatch_len_ = 0;
35350 0 : return gen_peephole2_376 (insn, operands);
35351 :
35352 : default:
35353 : return NULL;
35354 : }
35355 :
35356 317804 : case ZERO_EXTEND:
35357 317804 : if (GET_MODE (x2) != E_DImode
35358 317804 : || !register_operand (operands[0], E_DImode))
35359 : return NULL;
35360 203289 : x4 = XEXP (x2, 0);
35361 203289 : if (GET_MODE (x4) != E_SImode)
35362 : return NULL;
35363 157902 : switch (GET_CODE (x4))
35364 : {
35365 36328 : case PLUS:
35366 36328 : x5 = XEXP (x4, 0);
35367 36328 : operands[1] = x5;
35368 36328 : x6 = XEXP (x4, 1);
35369 36328 : operands[2] = x6;
35370 36328 : if (nonmemory_operand (operands[2], E_SImode)
35371 36327 : && register_operand (operands[1], E_SImode)
35372 71580 : && insn_condition_3247 (operands, insn))
35373 : {
35374 2998 : *pmatch_len_ = 0;
35375 2998 : res = gen_peephole2_377 (insn, operands);
35376 2998 : if (res != NULL_RTX)
35377 : return res;
35378 : }
35379 33330 : if (!register_operand (operands[2], E_SImode)
35380 3949 : || !nonmemory_operand (operands[1], E_SImode)
35381 36996 : || !insn_condition_3248 (operands, insn))
35382 : return NULL;
35383 0 : *pmatch_len_ = 0;
35384 0 : return gen_peephole2_378 (insn, operands);
35385 :
35386 1930 : case MULT:
35387 1930 : x5 = XEXP (x4, 0);
35388 1930 : operands[1] = x5;
35389 1930 : if (!register_operand (operands[1], E_SImode))
35390 : return NULL;
35391 1930 : x6 = XEXP (x4, 1);
35392 1930 : operands[2] = x6;
35393 1930 : if (!const_int_operand (operands[2], E_SImode)
35394 1930 : || !insn_condition_3249 (operands, insn))
35395 : return NULL;
35396 2 : *pmatch_len_ = 0;
35397 2 : return gen_peephole2_381 (insn, operands);
35398 :
35399 : default:
35400 : return NULL;
35401 : }
35402 :
35403 195758 : case MULT:
35404 195758 : x3 = XEXP (x2, 1);
35405 195758 : operands[1] = x3;
35406 195758 : x4 = XEXP (x2, 0);
35407 195758 : if (!rtx_equal_p (x4, operands[0]))
35408 : return NULL;
35409 103459 : switch (GET_MODE (operands[0]))
35410 : {
35411 1 : case E_SImode:
35412 1 : if (!register_operand (operands[0], E_SImode)
35413 1 : || GET_MODE (x2) != E_SImode
35414 1 : || !const_int_operand (operands[1], E_SImode)
35415 2 : || !insn_condition_3250 (operands, insn))
35416 : return NULL;
35417 1 : *pmatch_len_ = 0;
35418 1 : return gen_peephole2_379 (insn, operands);
35419 :
35420 71 : case E_DImode:
35421 71 : if (!register_operand (operands[0], E_DImode)
35422 71 : || GET_MODE (x2) != E_DImode
35423 71 : || !const_int_operand (operands[1], E_DImode)
35424 141 : || !insn_condition_3251 (operands, insn))
35425 : return NULL;
35426 70 : *pmatch_len_ = 0;
35427 70 : return gen_peephole2_380 (insn, operands);
35428 :
35429 : default:
35430 : return NULL;
35431 : }
35432 :
35433 287030 : case VEC_CONCAT:
35434 287030 : if (peep2_current_count < 2
35435 282902 : || GET_MODE (x2) != E_V2DFmode
35436 295250 : || !sse_reg_operand (operands[0], E_V2DFmode))
35437 : return NULL;
35438 8220 : x4 = XEXP (x2, 0);
35439 8220 : operands[1] = x4;
35440 8220 : if (!memory_operand (operands[1], E_DFmode))
35441 : return NULL;
35442 3711 : x3 = XEXP (x2, 1);
35443 3711 : operands[4] = x3;
35444 3711 : if (!const0_operand (operands[4], E_DFmode))
35445 : return NULL;
35446 3710 : x9 = PATTERN (peep2_next_insn (1));
35447 3710 : if (GET_CODE (x9) != SET)
35448 : return NULL;
35449 3690 : x25 = XEXP (x9, 1);
35450 3690 : if (GET_CODE (x25) != VEC_CONCAT
35451 580 : || GET_MODE (x25) != E_V2DFmode)
35452 : return NULL;
35453 579 : x26 = XEXP (x25, 0);
35454 579 : if (GET_CODE (x26) != VEC_SELECT
35455 1 : || GET_MODE (x26) != E_DFmode)
35456 : return NULL;
35457 1 : x27 = XEXP (x26, 1);
35458 1 : if (GET_CODE (x27) != PARALLEL
35459 1 : || XVECLEN (x27, 0) != 1)
35460 : return NULL;
35461 1 : x28 = XVECEXP (x27, 0, 0);
35462 1 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
35463 : return NULL;
35464 1 : x29 = XEXP (x9, 0);
35465 1 : operands[2] = x29;
35466 1 : if (!sse_reg_operand (operands[2], E_V2DFmode))
35467 : return NULL;
35468 1 : x30 = XEXP (x25, 1);
35469 1 : operands[3] = x30;
35470 1 : if (!memory_operand (operands[3], E_DFmode))
35471 : return NULL;
35472 1 : x31 = XEXP (x26, 0);
35473 1 : if (!rtx_equal_p (x31, operands[2])
35474 1 : || !insn_condition_3252 (operands, insn))
35475 : return NULL;
35476 1 : *pmatch_len_ = 1;
35477 1 : return gen_peephole2_435 (insn, operands);
35478 :
35479 : default:
35480 : return NULL;
35481 : }
35482 : }
|