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 78210 : pattern3 (rtx x1, machine_mode i1)
57 : {
58 78210 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
59 78210 : int res ATTRIBUTE_UNUSED;
60 78210 : if (!register_operand (operands[0], i1)
61 76927 : || GET_MODE (x1) != i1
62 76927 : || !nonimmediate_operand (operands[1], i1)
63 149176 : || !nonimmediate_operand (operands[2], i1))
64 26098 : return -1;
65 : return 0;
66 : }
67 :
68 : int
69 57 : pattern9 (rtx x1, machine_mode i1)
70 : {
71 57 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
72 57 : int res ATTRIBUTE_UNUSED;
73 57 : if (!memory_operand (operands[0], i1)
74 57 : || GET_MODE (x1) != i1)
75 : return -1;
76 3 : switch (GET_MODE (operands[1]))
77 : {
78 0 : case E_V4SImode:
79 0 : if (!register_operand (operands[1], E_V4SImode))
80 0 : return -1;
81 : return 0;
82 :
83 3 : case E_V4DImode:
84 3 : if (!register_operand (operands[1], E_V4DImode))
85 0 : return -1;
86 : return 1;
87 :
88 : default:
89 : return -1;
90 : }
91 : }
92 :
93 : int
94 255369 : pattern12 (rtx x1, machine_mode i1)
95 : {
96 255369 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
97 255369 : int res ATTRIBUTE_UNUSED;
98 255369 : if (!register_operand (operands[0], i1)
99 254595 : || GET_MODE (x1) != i1
100 254595 : || !register_operand (operands[1], i1)
101 452200 : || !nonimmediate_operand (operands[2], i1))
102 196487 : return -1;
103 : return 0;
104 : }
105 :
106 : int
107 250215 : pattern13 (rtx x1)
108 : {
109 250215 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
110 250215 : rtx x2, x3, x4, x5;
111 250215 : int res ATTRIBUTE_UNUSED;
112 250215 : x2 = XEXP (x1, 0);
113 250215 : operands[0] = x2;
114 250215 : x3 = XEXP (x1, 1);
115 250215 : x4 = XEXP (x3, 0);
116 250215 : operands[1] = x4;
117 250215 : x5 = XEXP (x3, 1);
118 250215 : operands[2] = x5;
119 250215 : switch (GET_MODE (operands[0]))
120 : {
121 39967 : case E_SImode:
122 39967 : return pattern12 (x3,
123 39967 : E_SImode); /* [-1, 0] */
124 :
125 210248 : case E_DImode:
126 210248 : if (pattern12 (x3,
127 : E_DImode) != 0)
128 160204 : return -1;
129 : return 1;
130 :
131 : default:
132 : return -1;
133 : }
134 : }
135 :
136 : int
137 21079 : pattern15 (rtx x1)
138 : {
139 21079 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
140 21079 : rtx x2, x3;
141 21079 : int res ATTRIBUTE_UNUSED;
142 21079 : x2 = XEXP (x1, 1);
143 21079 : x3 = XEXP (x2, 1);
144 21079 : operands[3] = x3;
145 21079 : if (!const_int_operand (operands[3], E_QImode))
146 : return -1;
147 19892 : return pattern14 (x1); /* [-1, 1] */
148 : }
149 :
150 : int
151 361563 : pattern20 (rtx x1, int *pnum_clobbers)
152 : {
153 361563 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
154 361563 : rtx x2, x3;
155 361563 : int res ATTRIBUTE_UNUSED;
156 361563 : if (pnum_clobbers == NULL)
157 : return -1;
158 358114 : x2 = XEXP (x1, 0);
159 358114 : operands[0] = x2;
160 358114 : x3 = XEXP (x1, 1);
161 358114 : return pattern19 (x3); /* [-1, 1] */
162 : }
163 :
164 : int
165 109 : pattern23 (rtx x1, machine_mode i1)
166 : {
167 109 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
168 109 : rtx x2;
169 109 : int res ATTRIBUTE_UNUSED;
170 109 : if (!register_operand (operands[0], i1)
171 109 : || GET_MODE (x1) != i1)
172 : return -1;
173 109 : x2 = XEXP (x1, 0);
174 109 : switch (GET_MODE (x2))
175 : {
176 0 : case E_HFmode:
177 0 : if (!register_operand (operands[1], E_V8HFmode))
178 0 : return -1;
179 : return 0;
180 :
181 74 : case E_SFmode:
182 74 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
183 8 : return -1;
184 : return 1;
185 :
186 35 : case E_DFmode:
187 35 : if (!nonimmediate_operand (operands[1], E_V2DFmode))
188 18 : return -1;
189 : return 2;
190 :
191 : default:
192 : return -1;
193 : }
194 : }
195 :
196 : int
197 277981 : pattern27 (rtx x1)
198 : {
199 277981 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
200 277981 : rtx x2, x3, x4, x5;
201 277981 : int res ATTRIBUTE_UNUSED;
202 277981 : x2 = XEXP (x1, 0);
203 277981 : operands[0] = x2;
204 277981 : x3 = XEXP (x1, 1);
205 277981 : x4 = XEXP (x3, 0);
206 277981 : operands[1] = x4;
207 277981 : x5 = XEXP (x3, 1);
208 277981 : operands[2] = x5;
209 277981 : switch (GET_MODE (operands[0]))
210 : {
211 74 : case E_V32HFmode:
212 74 : return pattern26 (x3,
213 74 : E_V32HFmode); /* [-1, 0] */
214 :
215 132 : case E_V16HFmode:
216 132 : if (pattern26 (x3,
217 : E_V16HFmode) != 0)
218 64 : return -1;
219 : return 1;
220 :
221 914 : case E_V8HFmode:
222 914 : if (pattern26 (x3,
223 : E_V8HFmode) != 0)
224 480 : return -1;
225 : return 2;
226 :
227 0 : case E_V16SFmode:
228 0 : if (pattern26 (x3,
229 : E_V16SFmode) != 0)
230 0 : return -1;
231 : return 3;
232 :
233 1501 : case E_V8SFmode:
234 1501 : if (pattern26 (x3,
235 : E_V8SFmode) != 0)
236 772 : return -1;
237 : return 4;
238 :
239 962 : case E_V4SFmode:
240 962 : if (pattern26 (x3,
241 : E_V4SFmode) != 0)
242 330 : return -1;
243 : return 5;
244 :
245 22 : case E_V8DFmode:
246 22 : if (pattern26 (x3,
247 : E_V8DFmode) != 0)
248 8 : return -1;
249 : return 6;
250 :
251 38 : case E_V4DFmode:
252 38 : if (pattern26 (x3,
253 : E_V4DFmode) != 0)
254 6 : return -1;
255 : return 7;
256 :
257 733 : case E_V2DFmode:
258 733 : if (pattern26 (x3,
259 : E_V2DFmode) != 0)
260 268 : return -1;
261 : return 8;
262 :
263 387 : case E_V32QImode:
264 387 : if (pattern3 (x3,
265 : E_V32QImode) != 0)
266 69 : return -1;
267 : return 9;
268 :
269 741 : case E_V16HImode:
270 741 : if (pattern3 (x3,
271 : E_V16HImode) != 0)
272 42 : return -1;
273 : return 10;
274 :
275 1063 : case E_V8SImode:
276 1063 : if (pattern3 (x3,
277 : E_V8SImode) != 0)
278 243 : return -1;
279 : return 11;
280 :
281 172 : case E_V16SImode:
282 172 : if (pattern3 (x3,
283 : E_V16SImode) != 0)
284 44 : return -1;
285 : return 12;
286 :
287 3385 : case E_V4SImode:
288 3385 : if (!register_operand (operands[0], E_V4SImode)
289 3385 : || GET_MODE (x3) != E_V4SImode)
290 20 : return -1;
291 : return 13;
292 :
293 1442 : case E_V8DImode:
294 1442 : if (pattern3 (x3,
295 : E_V8DImode) != 0)
296 694 : return -1;
297 : return 14;
298 :
299 593 : case E_V4DImode:
300 593 : if (pattern3 (x3,
301 : E_V4DImode) != 0)
302 97 : return -1;
303 : return 15;
304 :
305 180 : case E_V2DImode:
306 180 : if (pattern3 (x3,
307 : E_V2DImode) != 0)
308 41 : return -1;
309 : return 16;
310 :
311 211 : case E_V64QImode:
312 211 : if (pattern3 (x3,
313 : E_V64QImode) != 0)
314 34 : return -1;
315 : return 17;
316 :
317 6126 : case E_V16QImode:
318 6126 : if (!register_operand (operands[0], E_V16QImode)
319 6126 : || GET_MODE (x3) != E_V16QImode)
320 16 : return -1;
321 : return 18;
322 :
323 142 : case E_V32HImode:
324 142 : if (pattern3 (x3,
325 : E_V32HImode) != 0)
326 12 : return -1;
327 : return 19;
328 :
329 8911 : case E_V8HImode:
330 8911 : if (!register_operand (operands[0], E_V8HImode)
331 8911 : || GET_MODE (x3) != E_V8HImode)
332 186 : return -1;
333 : return 20;
334 :
335 222 : case E_V32BFmode:
336 222 : if (pattern12 (x3,
337 : E_V32BFmode) != 0)
338 32 : return -1;
339 : return 21;
340 :
341 258 : case E_V16BFmode:
342 258 : if (pattern12 (x3,
343 : E_V16BFmode) != 0)
344 44 : return -1;
345 : return 22;
346 :
347 218 : case E_V8BFmode:
348 218 : if (pattern12 (x3,
349 : E_V8BFmode) != 0)
350 28 : return -1;
351 : return 23;
352 :
353 : default:
354 : return -1;
355 : }
356 : }
357 :
358 : int
359 4386303 : pattern38 (rtx x1, int *pnum_clobbers)
360 : {
361 4386303 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
362 4386303 : rtx x2, x3, x4, x5, x6, x7;
363 4386303 : int res ATTRIBUTE_UNUSED;
364 4386303 : x2 = XEXP (x1, 1);
365 4386303 : x3 = XEXP (x2, 0);
366 4386303 : operands[1] = x3;
367 4386303 : x4 = XEXP (x2, 1);
368 4386303 : switch (GET_CODE (x4))
369 : {
370 : case CONST_INT:
371 : case CONST_WIDE_INT:
372 : case CONST_POLY_INT:
373 : case CONST_FIXED:
374 : case CONST_DOUBLE:
375 : case CONST_VECTOR:
376 : case CONST:
377 : case REG:
378 : case SUBREG:
379 : case LABEL_REF:
380 : case SYMBOL_REF:
381 : case HIGH:
382 : return 0;
383 :
384 3261 : case AND:
385 3261 : if (pnum_clobbers == NULL
386 3261 : || GET_MODE (x4) != E_QImode)
387 : return -1;
388 2626 : x5 = XEXP (x1, 0);
389 2626 : operands[0] = x5;
390 2626 : if (!register_operand (operands[0], E_TImode)
391 0 : || GET_MODE (x2) != E_TImode
392 2626 : || !register_operand (operands[1], E_TImode))
393 : return -1;
394 0 : x6 = XEXP (x4, 0);
395 0 : operands[2] = x6;
396 0 : if (!register_operand (operands[2], E_QImode))
397 : return -1;
398 0 : x7 = XEXP (x4, 1);
399 0 : operands[3] = x7;
400 0 : if (!const_int_operand (operands[3], E_QImode))
401 : return -1;
402 : return 1;
403 :
404 : default:
405 : return -1;
406 : }
407 : }
408 :
409 : int
410 321381 : pattern41 (rtx x1, machine_mode i1, machine_mode i2)
411 : {
412 321381 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
413 321381 : rtx x2;
414 321381 : int res ATTRIBUTE_UNUSED;
415 321381 : if (!const_int_operand (operands[2], E_QImode))
416 : return -1;
417 321004 : switch (GET_CODE (x1))
418 : {
419 241291 : case ZERO_EXTEND:
420 241291 : if (GET_MODE (x1) != i2)
421 : return -1;
422 241291 : x2 = XEXP (x1, 0);
423 241291 : operands[3] = x2;
424 241291 : if (!nonimmediate_operand (operands[3], i1))
425 11953 : return -1;
426 : return 0;
427 :
428 29295 : case CONST_INT:
429 29295 : case CONST_WIDE_INT:
430 29295 : operands[3] = x1;
431 29295 : if (!const_scalar_int_operand (operands[3], i2))
432 0 : return -1;
433 : return 1;
434 :
435 : default:
436 : return -1;
437 : }
438 : }
439 :
440 : int
441 754557 : pattern45 (rtx x1)
442 : {
443 754557 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
444 754557 : rtx x2, x3, x4, x5;
445 754557 : int res ATTRIBUTE_UNUSED;
446 754557 : x2 = XEXP (x1, 1);
447 754557 : x3 = XEXP (x2, 0);
448 754557 : operands[1] = x3;
449 754557 : x4 = XEXP (x1, 0);
450 754557 : switch (GET_CODE (x4))
451 : {
452 754544 : case REG:
453 754544 : case SUBREG:
454 754544 : case MEM:
455 754544 : operands[0] = x4;
456 754544 : return 0;
457 :
458 13 : case STRICT_LOW_PART:
459 13 : x5 = XEXP (x4, 0);
460 13 : operands[0] = x5;
461 13 : res = pattern44 (x2);
462 13 : if (res >= 0)
463 13 : return res + 1; /* [1, 2] */
464 : return -1;
465 :
466 : default:
467 : return -1;
468 : }
469 : }
470 :
471 : int
472 515316 : pattern48 (rtx x1)
473 : {
474 515316 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
475 515316 : rtx x2, x3, x4, x5;
476 515316 : int res ATTRIBUTE_UNUSED;
477 515316 : x2 = XEXP (x1, 1);
478 515316 : if (GET_MODE (x2) != E_CCCmode)
479 : return -1;
480 0 : x3 = XEXP (x2, 0);
481 0 : if (GET_CODE (x3) != REG
482 0 : || REGNO (x3) != 17)
483 : return -1;
484 0 : x4 = XEXP (x2, 1);
485 0 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
486 : return -1;
487 0 : x5 = XEXP (x1, 0);
488 0 : if (GET_CODE (x5) != REG
489 0 : || REGNO (x5) != 17
490 0 : || GET_MODE (x5) != E_CCCmode)
491 : return -1;
492 0 : switch (GET_MODE (x3))
493 : {
494 : case E_CCmode:
495 : return 0;
496 :
497 0 : case E_CCCmode:
498 0 : return 1;
499 :
500 : default:
501 : return -1;
502 : }
503 : }
504 :
505 : int
506 232898 : pattern52 (rtx x1)
507 : {
508 232898 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
509 232898 : rtx x2, x3;
510 232898 : int res ATTRIBUTE_UNUSED;
511 232898 : x2 = XEXP (x1, 0);
512 232898 : operands[1] = x2;
513 232898 : x3 = XEXP (x1, 1);
514 232898 : operands[2] = x3;
515 232898 : return pattern51 (x1); /* [-1, 3] */
516 : }
517 :
518 : int
519 8875 : pattern56 (rtx x1)
520 : {
521 8875 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
522 8875 : rtx x2, x3;
523 8875 : int res ATTRIBUTE_UNUSED;
524 8875 : x2 = XEXP (x1, 0);
525 8875 : operands[1] = x2;
526 8875 : x3 = XEXP (x1, 1);
527 8875 : operands[2] = x3;
528 8875 : switch (GET_MODE (operands[0]))
529 : {
530 381 : case E_V64QImode:
531 381 : return pattern26 (x1,
532 381 : E_V64QImode); /* [-1, 0] */
533 :
534 624 : case E_V32QImode:
535 624 : if (pattern26 (x1,
536 : E_V32QImode) != 0)
537 138 : return -1;
538 : return 1;
539 :
540 2722 : case E_V16QImode:
541 2722 : if (pattern26 (x1,
542 : E_V16QImode) != 0)
543 549 : return -1;
544 : return 2;
545 :
546 365 : case E_V32HImode:
547 365 : if (pattern26 (x1,
548 : E_V32HImode) != 0)
549 65 : return -1;
550 : return 3;
551 :
552 607 : case E_V16HImode:
553 607 : if (pattern26 (x1,
554 : E_V16HImode) != 0)
555 122 : return -1;
556 : return 4;
557 :
558 3635 : case E_V8HImode:
559 3635 : if (pattern26 (x1,
560 : E_V8HImode) != 0)
561 605 : return -1;
562 : return 5;
563 :
564 : default:
565 : return -1;
566 : }
567 : }
568 :
569 : int
570 35944 : pattern62 (rtx x1)
571 : {
572 35944 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
573 35944 : rtx x2, x3, x4, x5;
574 35944 : int res ATTRIBUTE_UNUSED;
575 35944 : x2 = XEXP (x1, 0);
576 35944 : x3 = XEXP (x2, 0);
577 35944 : operands[1] = x3;
578 35944 : if (!const_int_operand (operands[2], E_QImode))
579 : return -1;
580 35923 : x4 = XEXP (x1, 1);
581 35923 : x5 = XEXP (x4, 0);
582 35923 : operands[3] = x5;
583 35923 : switch (GET_MODE (operands[0]))
584 : {
585 18817 : case E_DImode:
586 18817 : return pattern61 (x1,
587 : E_SImode,
588 18817 : E_DImode); /* [-1, 0] */
589 :
590 2929 : case E_TImode:
591 2929 : if (pattern61 (x1,
592 : E_DImode,
593 : E_TImode) != 0)
594 13 : return -1;
595 : return 1;
596 :
597 : default:
598 : return -1;
599 : }
600 : }
601 :
602 : int
603 113809 : pattern67 (rtx x1)
604 : {
605 113809 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
606 113809 : rtx x2, x3, x4, x5, x6;
607 113809 : int res ATTRIBUTE_UNUSED;
608 113809 : x2 = XEXP (x1, 0);
609 113809 : x3 = XEXP (x2, 0);
610 113809 : x4 = XEXP (x3, 0);
611 113809 : operands[1] = x4;
612 113809 : if (!const_int_operand (operands[2], E_QImode))
613 : return -1;
614 113278 : x5 = XEXP (x1, 1);
615 113278 : switch (GET_CODE (x5))
616 : {
617 101769 : case ZERO_EXTEND:
618 101769 : x6 = XEXP (x5, 0);
619 101769 : operands[3] = x6;
620 101769 : switch (GET_MODE (operands[0]))
621 : {
622 510 : case E_DImode:
623 510 : return pattern65 (x1,
624 : E_SImode,
625 510 : E_DImode); /* [-1, 0] */
626 :
627 101259 : case E_TImode:
628 101259 : if (pattern65 (x1,
629 : E_DImode,
630 : E_TImode) != 0)
631 3737 : return -1;
632 : return 1;
633 :
634 : default:
635 : return -1;
636 : }
637 :
638 6908 : case CONST_INT:
639 6908 : case CONST_WIDE_INT:
640 6908 : operands[3] = x5;
641 6908 : switch (GET_MODE (operands[0]))
642 : {
643 564 : case E_DImode:
644 564 : if (pattern66 (x1,
645 : E_DImode,
646 : E_SImode) != 0)
647 336 : return -1;
648 : return 2;
649 :
650 6341 : case E_TImode:
651 6341 : if (pattern66 (x1,
652 : E_TImode,
653 : E_DImode) != 0)
654 3611 : return -1;
655 : return 3;
656 :
657 : default:
658 : return -1;
659 : }
660 :
661 : default:
662 : return -1;
663 : }
664 : }
665 :
666 : int
667 298 : pattern76 (rtx x1)
668 : {
669 298 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
670 298 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
671 298 : int res ATTRIBUTE_UNUSED;
672 298 : x2 = XEXP (x1, 0);
673 298 : x3 = XEXP (x2, 0);
674 298 : x4 = XEXP (x3, 0);
675 298 : operands[1] = x4;
676 298 : if (!register_operand (operands[1], E_V4HImode))
677 : return -1;
678 298 : x5 = XEXP (x3, 1);
679 298 : operands[2] = x5;
680 298 : if (!register_mmxmem_operand (operands[2], E_V4HImode))
681 : return -1;
682 290 : x6 = XEXP (x1, 1);
683 290 : x7 = XEXP (x6, 0);
684 290 : x8 = XEXP (x7, 0);
685 290 : if (!rtx_equal_p (x8, operands[1]))
686 : return -1;
687 290 : x9 = XEXP (x7, 1);
688 290 : if (!rtx_equal_p (x9, operands[2]))
689 0 : return -1;
690 : return 0;
691 : }
692 :
693 : int
694 250 : pattern80 (rtx x1, machine_mode i1)
695 : {
696 250 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
697 250 : rtx x2, x3, x4;
698 250 : int res ATTRIBUTE_UNUSED;
699 250 : x2 = XEXP (x1, 1);
700 250 : if (GET_MODE (x2) != i1)
701 : return -1;
702 250 : x3 = XVECEXP (x2, 0, 0);
703 250 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
704 : return -1;
705 250 : x4 = XEXP (x1, 0);
706 250 : if (GET_CODE (x4) != REG
707 250 : || REGNO (x4) != 17
708 500 : || GET_MODE (x4) != i1)
709 0 : return -1;
710 : return 0;
711 : }
712 :
713 : int
714 250 : pattern83 (rtx x1, int *pnum_clobbers)
715 : {
716 250 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
717 250 : rtx x2, x3, x4;
718 250 : int res ATTRIBUTE_UNUSED;
719 250 : if (pnum_clobbers == NULL)
720 : return -1;
721 250 : x2 = XEXP (x1, 1);
722 250 : if (GET_MODE (x2) != E_HImode)
723 : return -1;
724 0 : x3 = XEXP (x1, 0);
725 0 : operands[0] = x3;
726 0 : if (!nonimmediate_operand (operands[0], E_HImode))
727 : return -1;
728 0 : x4 = XVECEXP (x2, 0, 0);
729 0 : operands[1] = x4;
730 0 : if (!register_operand (operands[1], E_XFmode))
731 0 : return -1;
732 : return 0;
733 : }
734 :
735 : int
736 47341 : pattern86 (rtx x1, machine_mode i1)
737 : {
738 47341 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
739 47341 : rtx x2, x3, x4, x5;
740 47341 : int res ATTRIBUTE_UNUSED;
741 47341 : x2 = XEXP (x1, 1);
742 47341 : if (GET_MODE (x2) != i1)
743 : return -1;
744 47288 : x3 = XEXP (x1, 0);
745 47288 : operands[0] = x3;
746 47288 : if (!register_operand (operands[0], i1))
747 : return -1;
748 47136 : x4 = XVECEXP (x2, 0, 0);
749 47136 : operands[1] = x4;
750 47136 : if (!register_operand (operands[1], i1))
751 : return -1;
752 30215 : x5 = XVECEXP (x2, 0, 1);
753 30215 : operands[2] = x5;
754 30215 : if (!nonimmediate_operand (operands[2], i1))
755 1256 : return -1;
756 : return 0;
757 : }
758 :
759 : int
760 1866 : pattern91 (rtx x1)
761 : {
762 1866 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
763 1866 : rtx x2, x3, x4, x5;
764 1866 : int res ATTRIBUTE_UNUSED;
765 1866 : x2 = XEXP (x1, 0);
766 1866 : operands[0] = x2;
767 1866 : x3 = XEXP (x1, 1);
768 1866 : x4 = XVECEXP (x3, 0, 0);
769 1866 : operands[1] = x4;
770 1866 : x5 = XVECEXP (x3, 0, 1);
771 1866 : operands[2] = x5;
772 1866 : return pattern90 (x3); /* [-1, 8] */
773 : }
774 :
775 : int
776 1498 : pattern95 (rtx x1, machine_mode i1)
777 : {
778 1498 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
779 1498 : int res ATTRIBUTE_UNUSED;
780 1498 : if (!register_operand (operands[0], i1)
781 1498 : || GET_MODE (x1) != i1
782 1498 : || !nonimmediate_operand (operands[1], i1)
783 2545 : || !general_operand (operands[2], i1))
784 451 : return -1;
785 : return 0;
786 : }
787 :
788 : int
789 78178 : pattern97 (rtx x1, int *pnum_clobbers)
790 : {
791 78178 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
792 78178 : int res ATTRIBUTE_UNUSED;
793 78178 : if (pnum_clobbers == NULL
794 78168 : || !nonimmediate_operand (operands[0], E_TImode)
795 78148 : || GET_MODE (x1) != E_TImode
796 78148 : || !nonimmediate_operand (operands[1], E_TImode)
797 146317 : || !x86_64_hilo_general_operand (operands[2], E_TImode))
798 30001 : return -1;
799 : return 0;
800 : }
801 :
802 : int
803 1417100 : pattern102 (rtx x1)
804 : {
805 1417100 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
806 1417100 : rtx x2, x3, x4;
807 1417100 : int res ATTRIBUTE_UNUSED;
808 1417100 : if (!nonimmediate_operand (operands[1], E_QImode))
809 : return -1;
810 125926 : x2 = XEXP (x1, 0);
811 125926 : operands[0] = x2;
812 125926 : if (!nonimmediate_operand (operands[0], E_QImode))
813 : return -1;
814 125827 : x3 = XEXP (x1, 1);
815 125827 : if (GET_MODE (x3) != E_QImode)
816 : return -1;
817 125827 : x4 = XEXP (x3, 1);
818 125827 : operands[2] = x4;
819 125827 : if (!general_operand (operands[2], E_QImode))
820 616 : return -1;
821 : return 0;
822 : }
823 :
824 : int
825 53757 : pattern105 (rtx x1)
826 : {
827 53757 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
828 53757 : rtx x2, x3, x4;
829 53757 : int res ATTRIBUTE_UNUSED;
830 53757 : x2 = XEXP (x1, 0);
831 53757 : if (GET_MODE (x2) != E_QImode
832 15367 : || !register_operand (operands[0], E_HImode)
833 54275 : || GET_MODE (x1) != E_HImode)
834 : return -1;
835 518 : x3 = XEXP (x2, 0);
836 518 : operands[1] = x3;
837 518 : if (!nonimmediate_operand (operands[1], E_QImode))
838 : return -1;
839 518 : x4 = XEXP (x2, 1);
840 518 : operands[2] = x4;
841 518 : if (!nonmemory_operand (operands[2], E_QImode))
842 0 : return -1;
843 : return 0;
844 : }
845 :
846 : int
847 11135 : pattern110 (rtx x1, machine_mode i1, machine_mode i2)
848 : {
849 11135 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
850 11135 : int res ATTRIBUTE_UNUSED;
851 11135 : if (!register_operand (operands[0], i1)
852 11135 : || GET_MODE (x1) != i1)
853 : return -1;
854 11129 : return pattern109 (x1,
855 : i1,
856 11129 : i2); /* [-1, 1] */
857 : }
858 :
859 : int
860 68 : pattern113 (rtx x1, machine_mode i1)
861 : {
862 68 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
863 68 : rtx x2;
864 68 : int res ATTRIBUTE_UNUSED;
865 68 : if (!nonimmediate_operand (operands[0], i1)
866 68 : || GET_MODE (x1) != i1)
867 : return -1;
868 68 : x2 = XEXP (x1, 0);
869 68 : if (GET_MODE (x2) != i1
870 68 : || !general_operand (operands[1], i1))
871 0 : return -1;
872 : return 0;
873 : }
874 :
875 : int
876 37447 : pattern114 (rtx x1, int *pnum_clobbers)
877 : {
878 37447 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
879 37447 : rtx x2, x3, x4, x5, x6, x7;
880 37447 : int res ATTRIBUTE_UNUSED;
881 37447 : if (pnum_clobbers == NULL)
882 : return -1;
883 37447 : x2 = XEXP (x1, 1);
884 37447 : x3 = XEXP (x2, 0);
885 37447 : x4 = XEXP (x3, 1);
886 37447 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
887 : return -1;
888 28728 : x5 = XEXP (x1, 0);
889 28728 : operands[0] = x5;
890 28728 : x6 = XEXP (x3, 0);
891 28728 : operands[2] = x6;
892 28728 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
893 : return -1;
894 2662 : x7 = XEXP (x2, 1);
895 2662 : operands[1] = x7;
896 2662 : switch (GET_MODE (operands[0]))
897 : {
898 50 : case E_QImode:
899 50 : return pattern113 (x2,
900 50 : E_QImode); /* [-1, 0] */
901 :
902 18 : case E_HImode:
903 18 : if (pattern113 (x2,
904 : E_HImode) != 0)
905 0 : return -1;
906 : return 1;
907 :
908 : default:
909 : return -1;
910 : }
911 : }
912 :
913 : int
914 0 : pattern119 (rtx x1)
915 : {
916 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
917 0 : rtx x2, x3, x4, x5;
918 0 : int res ATTRIBUTE_UNUSED;
919 0 : x2 = XEXP (x1, 1);
920 0 : if (GET_MODE (x2) != E_CCCmode)
921 : return -1;
922 0 : x3 = XEXP (x1, 0);
923 0 : if (GET_CODE (x3) != REG
924 0 : || REGNO (x3) != 17
925 0 : || GET_MODE (x3) != E_CCCmode)
926 : return -1;
927 0 : x4 = XVECEXP (x2, 0, 0);
928 0 : operands[0] = x4;
929 0 : if (!register_operand (operands[0], E_SImode))
930 : return -1;
931 0 : x5 = XVECEXP (x2, 0, 1);
932 0 : operands[1] = x5;
933 0 : if (!register_operand (operands[1], E_DImode))
934 0 : return -1;
935 : return 0;
936 : }
937 :
938 : int
939 660 : pattern126 (rtx x1)
940 : {
941 660 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
942 660 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
943 660 : rtx x10, x11, x12, x13, x14, x15;
944 660 : int res ATTRIBUTE_UNUSED;
945 660 : x2 = XEXP (x1, 0);
946 660 : if (GET_MODE (x2) != E_V4HImode)
947 : return -1;
948 238 : x3 = XEXP (x2, 0);
949 238 : if (GET_CODE (x3) != VEC_CONCAT
950 238 : || GET_MODE (x3) != E_V8HImode)
951 : return -1;
952 238 : x4 = XEXP (x2, 1);
953 238 : if (GET_CODE (x4) != PARALLEL
954 238 : || XVECLEN (x4, 0) != 4)
955 : return -1;
956 238 : x5 = XVECEXP (x4, 0, 0);
957 238 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
958 : return -1;
959 238 : x6 = XVECEXP (x4, 0, 1);
960 238 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
961 : return -1;
962 238 : x7 = XVECEXP (x4, 0, 2);
963 238 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
964 : return -1;
965 238 : x8 = XVECEXP (x4, 0, 3);
966 238 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
967 : return -1;
968 238 : x9 = XEXP (x1, 1);
969 238 : if (GET_CODE (x9) != VEC_SELECT
970 238 : || GET_MODE (x9) != E_V4HImode)
971 : return -1;
972 238 : x10 = XEXP (x9, 0);
973 238 : if (GET_CODE (x10) != VEC_CONCAT
974 238 : || GET_MODE (x10) != E_V8HImode)
975 : return -1;
976 238 : x11 = XEXP (x9, 1);
977 238 : if (GET_CODE (x11) != PARALLEL
978 238 : || XVECLEN (x11, 0) != 4)
979 : return -1;
980 238 : x12 = XVECEXP (x11, 0, 0);
981 238 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
982 : return -1;
983 238 : x13 = XVECEXP (x11, 0, 1);
984 238 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
985 : return -1;
986 238 : x14 = XVECEXP (x11, 0, 2);
987 238 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
988 : return -1;
989 238 : x15 = XVECEXP (x11, 0, 3);
990 238 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
991 238 : || !register_operand (operands[0], E_V4HImode)
992 238 : || GET_MODE (x1) != E_V4HImode
993 476 : || pattern76 (x1) != 0)
994 8 : return -1;
995 : return 0;
996 : }
997 :
998 : int
999 50541 : pattern138 (rtx x1)
1000 : {
1001 50541 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1002 50541 : rtx x2, x3, x4, x5, x6;
1003 50541 : int res ATTRIBUTE_UNUSED;
1004 50541 : x2 = XEXP (x1, 1);
1005 50541 : if (GET_MODE (x2) != E_DImode
1006 32624 : || !nonimmediate_operand (operands[0], E_DImode)
1007 83165 : || GET_MODE (x1) != E_DImode)
1008 : return -1;
1009 32624 : x3 = XEXP (x1, 0);
1010 32624 : if (GET_MODE (x3) != E_DImode)
1011 : return -1;
1012 32624 : x4 = XEXP (x3, 0);
1013 32624 : operands[1] = x4;
1014 32624 : if (!register_operand (operands[1], E_DImode))
1015 : return -1;
1016 32603 : x5 = XEXP (x3, 1);
1017 32603 : operands[2] = x5;
1018 32603 : if (!const_int_operand (operands[2], E_QImode))
1019 : return -1;
1020 32574 : x6 = XEXP (x2, 0);
1021 32574 : operands[3] = x6;
1022 32574 : if (!nonimmediate_operand (operands[3], E_SImode))
1023 20948 : return -1;
1024 : return 0;
1025 : }
1026 :
1027 : int
1028 582 : pattern142 (rtx x1, machine_mode i1, machine_mode i2)
1029 : {
1030 582 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1031 582 : rtx x2, x3, x4, x5, x6;
1032 582 : int res ATTRIBUTE_UNUSED;
1033 582 : if (GET_MODE (x1) != i1)
1034 : return -1;
1035 582 : x2 = XEXP (x1, 0);
1036 582 : if (GET_MODE (x2) != i1)
1037 : return -1;
1038 582 : x3 = XEXP (x1, 1);
1039 582 : if (GET_MODE (x3) != i1)
1040 : return -1;
1041 582 : x4 = XEXP (x3, 0);
1042 582 : if (GET_MODE (x4) != i2)
1043 : return -1;
1044 582 : x5 = XEXP (x4, 0);
1045 582 : if (GET_MODE (x5) != i2)
1046 : return -1;
1047 582 : x6 = XEXP (x5, 0);
1048 582 : if (!register_operand (x6, i1))
1049 37 : return -1;
1050 : return 0;
1051 : }
1052 :
1053 : int
1054 1117 : pattern148 (rtx x1)
1055 : {
1056 1117 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1057 1117 : rtx x2, x3, x4, x5;
1058 1117 : int res ATTRIBUTE_UNUSED;
1059 1117 : x2 = XEXP (x1, 0);
1060 1117 : x3 = XEXP (x2, 1);
1061 1117 : switch (GET_CODE (x3))
1062 : {
1063 : case REG:
1064 : case SUBREG:
1065 : return 0;
1066 :
1067 0 : case AND:
1068 0 : if (GET_MODE (x3) != E_QImode)
1069 : return -1;
1070 0 : x4 = XEXP (x3, 0);
1071 0 : operands[1] = x4;
1072 0 : if (!register_operand (operands[1], E_QImode))
1073 : return -1;
1074 0 : x5 = XEXP (x3, 1);
1075 0 : operands[2] = x5;
1076 0 : if (!const_int_operand (operands[2], E_QImode))
1077 : return -1;
1078 0 : res = pattern147 (x1);
1079 0 : if (res >= 0)
1080 0 : return res + 1; /* [1, 2] */
1081 : return -1;
1082 :
1083 : default:
1084 : return -1;
1085 : }
1086 : }
1087 :
1088 : int
1089 722954 : pattern153 (rtx x1)
1090 : {
1091 722954 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1092 722954 : rtx x2;
1093 722954 : int res ATTRIBUTE_UNUSED;
1094 722954 : x2 = XEXP (x1, 0);
1095 722954 : operands[1] = x2;
1096 722954 : switch (GET_MODE (operands[0]))
1097 : {
1098 414687 : case E_DImode:
1099 414687 : if (!nonimmediate_operand (operands[0], E_DImode)
1100 414339 : || GET_MODE (x1) != E_DImode
1101 829026 : || !nonimmediate_operand (operands[1], E_DImode))
1102 431 : return -1;
1103 : return 0;
1104 :
1105 239148 : case E_SImode:
1106 239148 : if (!nonimmediate_operand (operands[0], E_SImode)
1107 238478 : || GET_MODE (x1) != E_SImode
1108 477626 : || !nonimmediate_operand (operands[1], E_SImode))
1109 1418 : return -1;
1110 : return 1;
1111 :
1112 : default:
1113 : return -1;
1114 : }
1115 : }
1116 :
1117 : int
1118 207799 : pattern157 (rtx x1, int *pnum_clobbers)
1119 : {
1120 207799 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1121 207799 : rtx x2;
1122 207799 : int res ATTRIBUTE_UNUSED;
1123 207799 : if (pnum_clobbers == NULL)
1124 : return -1;
1125 207799 : x2 = XEXP (x1, 0);
1126 207799 : if (GET_MODE (x2) != E_DImode
1127 207799 : || pattern46 (x1,
1128 : E_SImode,
1129 : E_DImode) != 0)
1130 78305 : return -1;
1131 : return 0;
1132 : }
1133 :
1134 : int
1135 815 : pattern160 (rtx x1, machine_mode i1)
1136 : {
1137 815 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1138 815 : int res ATTRIBUTE_UNUSED;
1139 815 : if (!register_operand (operands[0], i1)
1140 815 : || GET_MODE (x1) != i1)
1141 : return -1;
1142 767 : switch (GET_MODE (operands[1]))
1143 : {
1144 58 : case E_V8HFmode:
1145 58 : if (!register_operand (operands[1], E_V8HFmode))
1146 4 : return -1;
1147 : return 0;
1148 :
1149 400 : case E_V4SFmode:
1150 400 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
1151 4 : return -1;
1152 : return 1;
1153 :
1154 309 : case E_V2DFmode:
1155 309 : if (!nonimmediate_operand (operands[1], E_V2DFmode))
1156 4 : return -1;
1157 : return 2;
1158 :
1159 : default:
1160 : return -1;
1161 : }
1162 : }
1163 :
1164 : int
1165 166923 : pattern164 (rtx x1)
1166 : {
1167 166923 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1168 166923 : int res ATTRIBUTE_UNUSED;
1169 166923 : switch (GET_MODE (operands[0]))
1170 : {
1171 56843 : case E_SImode:
1172 56843 : if (!register_operand (operands[0], E_SImode)
1173 55740 : || GET_MODE (x1) != E_SImode
1174 112583 : || !nonimmediate_operand (operands[1], E_SImode))
1175 22933 : return -1;
1176 : return 0;
1177 :
1178 82989 : case E_DImode:
1179 82989 : if (!register_operand (operands[0], E_DImode)
1180 82659 : || GET_MODE (x1) != E_DImode
1181 165648 : || !nonimmediate_operand (operands[1], E_DImode))
1182 34382 : return -1;
1183 : return 1;
1184 :
1185 : default:
1186 : return -1;
1187 : }
1188 : }
1189 :
1190 : int
1191 24581 : pattern169 (rtx x1, machine_mode i1, machine_mode i2)
1192 : {
1193 24581 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1194 24581 : rtx x2;
1195 24581 : int res ATTRIBUTE_UNUSED;
1196 24581 : if (!register_operand (operands[0], i2)
1197 24581 : || GET_MODE (x1) != i2)
1198 : return -1;
1199 23657 : x2 = XEXP (x1, 0);
1200 23657 : if (GET_MODE (x2) != i2
1201 23657 : || !nonimm_or_0_operand (operands[3], i2)
1202 46813 : || !register_operand (operands[4], i1))
1203 2859 : return -1;
1204 : return 0;
1205 : }
1206 :
1207 : int
1208 847 : pattern175 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
1209 : {
1210 847 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1211 847 : rtx x2;
1212 847 : int res ATTRIBUTE_UNUSED;
1213 847 : if (!register_operand (operands[0], i1)
1214 847 : || GET_MODE (x1) != i1)
1215 : return -1;
1216 764 : x2 = XEXP (x1, 0);
1217 764 : if (GET_MODE (x2) != i1
1218 764 : || !vector_operand (operands[1], i3)
1219 764 : || !nonimm_or_0_operand (operands[2], i1)
1220 1513 : || !register_operand (operands[3], i2))
1221 128 : return -1;
1222 : return 0;
1223 : }
1224 :
1225 : int
1226 3478 : pattern179 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
1227 : {
1228 3478 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1229 3478 : rtx x2;
1230 3478 : int res ATTRIBUTE_UNUSED;
1231 3478 : if (!nonimmediate_operand (operands[0], i1)
1232 3478 : || GET_MODE (x1) != i1)
1233 : return -1;
1234 3478 : x2 = XEXP (x1, 0);
1235 3478 : if (GET_MODE (x2) != i1
1236 3478 : || !register_operand (operands[1], i3)
1237 3477 : || !nonimm_or_0_operand (operands[2], i1)
1238 6943 : || !register_operand (operands[3], i2))
1239 229 : return -1;
1240 : return 0;
1241 : }
1242 :
1243 : int
1244 16861 : pattern182 (rtx x1)
1245 : {
1246 16861 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1247 16861 : rtx x2, x3, x4, x5, x6;
1248 16861 : int res ATTRIBUTE_UNUSED;
1249 16861 : x2 = XEXP (x1, 0);
1250 16861 : x3 = XEXP (x2, 0);
1251 16861 : operands[1] = x3;
1252 16861 : x4 = XEXP (x2, 1);
1253 16861 : operands[2] = x4;
1254 16861 : x5 = XEXP (x1, 1);
1255 16861 : operands[3] = x5;
1256 16861 : x6 = XEXP (x1, 2);
1257 16861 : operands[4] = x6;
1258 16861 : switch (GET_MODE (operands[0]))
1259 : {
1260 1435 : case E_V16HImode:
1261 1435 : return pattern169 (x1,
1262 : E_HImode,
1263 1435 : E_V16HImode); /* [-1, 0] */
1264 :
1265 1170 : case E_V8HImode:
1266 1170 : if (pattern169 (x1,
1267 : E_QImode,
1268 : E_V8HImode) != 0)
1269 22 : return -1;
1270 : return 1;
1271 :
1272 2863 : case E_V8SImode:
1273 2863 : if (pattern169 (x1,
1274 : E_QImode,
1275 : E_V8SImode) != 0)
1276 809 : return -1;
1277 : return 2;
1278 :
1279 2786 : case E_V4SImode:
1280 2786 : if (pattern169 (x1,
1281 : E_QImode,
1282 : E_V4SImode) != 0)
1283 578 : return -1;
1284 : return 3;
1285 :
1286 1669 : case E_V4DImode:
1287 1669 : if (pattern169 (x1,
1288 : E_QImode,
1289 : E_V4DImode) != 0)
1290 389 : return -1;
1291 : return 4;
1292 :
1293 1160 : case E_V2DImode:
1294 1160 : if (pattern169 (x1,
1295 : E_QImode,
1296 : E_V2DImode) != 0)
1297 82 : return -1;
1298 : return 5;
1299 :
1300 1582 : case E_V32HImode:
1301 1582 : if (pattern169 (x1,
1302 : E_SImode,
1303 : E_V32HImode) != 0)
1304 148 : return -1;
1305 : return 6;
1306 :
1307 2768 : case E_V16SImode:
1308 2768 : if (pattern169 (x1,
1309 : E_HImode,
1310 : E_V16SImode) != 0)
1311 678 : return -1;
1312 : return 7;
1313 :
1314 1402 : case E_V8DImode:
1315 1402 : if (pattern169 (x1,
1316 : E_QImode,
1317 : E_V8DImode) != 0)
1318 118 : return -1;
1319 : return 8;
1320 :
1321 : default:
1322 : return -1;
1323 : }
1324 : }
1325 :
1326 : int
1327 7112 : pattern186 (rtx x1, machine_mode i1, machine_mode i2)
1328 : {
1329 7112 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1330 7112 : rtx x2;
1331 7112 : int res ATTRIBUTE_UNUSED;
1332 7112 : if (!register_operand (operands[0], i1)
1333 7112 : || GET_MODE (x1) != i1)
1334 : return -1;
1335 6795 : x2 = XEXP (x1, 0);
1336 6795 : if (GET_MODE (x2) != i1
1337 6795 : || !nonimmediate_operand (operands[1], i1)
1338 6744 : || !nonimm_or_0_operand (operands[2], i1)
1339 13402 : || !register_operand (operands[3], i2))
1340 625 : return -1;
1341 : return 0;
1342 : }
1343 :
1344 : int
1345 5611 : pattern188 (rtx x1)
1346 : {
1347 5611 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1348 5611 : rtx x2, x3, x4, x5;
1349 5611 : int res ATTRIBUTE_UNUSED;
1350 5611 : x2 = XEXP (x1, 0);
1351 5611 : x3 = XEXP (x2, 0);
1352 5611 : operands[1] = x3;
1353 5611 : x4 = XEXP (x1, 1);
1354 5611 : operands[2] = x4;
1355 5611 : x5 = XEXP (x1, 2);
1356 5611 : operands[3] = x5;
1357 5611 : switch (GET_MODE (operands[0]))
1358 : {
1359 457 : case E_V16SImode:
1360 457 : return pattern186 (x1,
1361 : E_V16SImode,
1362 457 : E_HImode); /* [-1, 0] */
1363 :
1364 446 : case E_V8SImode:
1365 446 : if (pattern186 (x1,
1366 : E_V8SImode,
1367 : E_QImode) != 0)
1368 63 : return -1;
1369 : return 1;
1370 :
1371 398 : case E_V4SImode:
1372 398 : if (pattern186 (x1,
1373 : E_V4SImode,
1374 : E_QImode) != 0)
1375 30 : return -1;
1376 : return 2;
1377 :
1378 534 : case E_V8DImode:
1379 534 : if (pattern186 (x1,
1380 : E_V8DImode,
1381 : E_QImode) != 0)
1382 123 : return -1;
1383 : return 3;
1384 :
1385 500 : case E_V4DImode:
1386 500 : if (pattern186 (x1,
1387 : E_V4DImode,
1388 : E_QImode) != 0)
1389 92 : return -1;
1390 : return 4;
1391 :
1392 406 : case E_V2DImode:
1393 406 : if (pattern186 (x1,
1394 : E_V2DImode,
1395 : E_QImode) != 0)
1396 21 : return -1;
1397 : return 5;
1398 :
1399 484 : case E_V64QImode:
1400 484 : if (pattern186 (x1,
1401 : E_V64QImode,
1402 : E_DImode) != 0)
1403 98 : return -1;
1404 : return 6;
1405 :
1406 494 : case E_V16QImode:
1407 494 : if (pattern186 (x1,
1408 : E_V16QImode,
1409 : E_HImode) != 0)
1410 74 : return -1;
1411 : return 7;
1412 :
1413 574 : case E_V32QImode:
1414 574 : if (pattern186 (x1,
1415 : E_V32QImode,
1416 : E_SImode) != 0)
1417 125 : return -1;
1418 : return 8;
1419 :
1420 449 : case E_V32HImode:
1421 449 : if (pattern186 (x1,
1422 : E_V32HImode,
1423 : E_SImode) != 0)
1424 75 : return -1;
1425 : return 9;
1426 :
1427 500 : case E_V16HImode:
1428 500 : if (pattern187 (x1,
1429 : E_V16HImode) != 0)
1430 112 : return -1;
1431 : return 10;
1432 :
1433 369 : case E_V8HImode:
1434 369 : if (pattern186 (x1,
1435 : E_V8HImode,
1436 : E_QImode) != 0)
1437 13 : return -1;
1438 : return 11;
1439 :
1440 : default:
1441 : return -1;
1442 : }
1443 : }
1444 :
1445 : int
1446 47097 : pattern197 (rtx x1)
1447 : {
1448 47097 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1449 47097 : rtx x2, x3, x4, x5;
1450 47097 : int res ATTRIBUTE_UNUSED;
1451 47097 : x2 = XEXP (x1, 0);
1452 47097 : operands[0] = x2;
1453 47097 : x3 = XEXP (x1, 1);
1454 47097 : x4 = XVECEXP (x3, 0, 0);
1455 47097 : operands[1] = x4;
1456 47097 : x5 = XVECEXP (x3, 0, 1);
1457 47097 : operands[2] = x5;
1458 47097 : switch (GET_MODE (operands[0]))
1459 : {
1460 1345 : case E_V64QImode:
1461 1345 : return pattern192 (x3,
1462 1345 : E_V64QImode); /* [-1, 0] */
1463 :
1464 5862 : case E_V32QImode:
1465 5862 : if (pattern192 (x3,
1466 : E_V32QImode) != 0)
1467 879 : return -1;
1468 : return 1;
1469 :
1470 39391 : case E_V16QImode:
1471 39391 : if (pattern192 (x3,
1472 : E_V16QImode) != 0)
1473 8570 : return -1;
1474 : return 2;
1475 :
1476 : default:
1477 : return -1;
1478 : }
1479 : }
1480 :
1481 : int
1482 8863 : pattern200 (rtx x1, machine_mode i1)
1483 : {
1484 8863 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1485 8863 : rtx x2, x3, x4, x5;
1486 8863 : int res ATTRIBUTE_UNUSED;
1487 8863 : x2 = XEXP (x1, 1);
1488 8863 : if (GET_MODE (x2) != i1)
1489 : return -1;
1490 8863 : x3 = XEXP (x1, 0);
1491 8863 : operands[0] = x3;
1492 8863 : if (!register_operand (operands[0], i1))
1493 : return -1;
1494 8537 : x4 = XVECEXP (x2, 0, 0);
1495 8537 : operands[1] = x4;
1496 8537 : if (!register_operand (operands[1], i1))
1497 : return -1;
1498 6455 : x5 = XVECEXP (x2, 0, 1);
1499 6455 : operands[2] = x5;
1500 6455 : if (!vector_operand (operands[2], i1))
1501 276 : return -1;
1502 : return 0;
1503 : }
1504 :
1505 : int
1506 824 : pattern204 (rtx x1)
1507 : {
1508 824 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1509 824 : rtx x2, x3, x4, x5;
1510 824 : int res ATTRIBUTE_UNUSED;
1511 824 : x2 = XEXP (x1, 0);
1512 824 : operands[0] = x2;
1513 824 : x3 = XEXP (x1, 1);
1514 824 : x4 = XVECEXP (x3, 0, 0);
1515 824 : operands[1] = x4;
1516 824 : x5 = XVECEXP (x3, 0, 1);
1517 824 : operands[2] = x5;
1518 824 : switch (GET_MODE (operands[0]))
1519 : {
1520 276 : case E_V64QImode:
1521 276 : return pattern203 (x3,
1522 : E_V64QImode,
1523 276 : E_V32HFmode); /* [-1, 0] */
1524 :
1525 276 : case E_V32QImode:
1526 276 : if (pattern203 (x3,
1527 : E_V32QImode,
1528 : E_V16HFmode) != 0)
1529 16 : return -1;
1530 : return 1;
1531 :
1532 272 : case E_V16QImode:
1533 272 : if (pattern203 (x3,
1534 : E_V16QImode,
1535 : E_V8HFmode) != 0)
1536 16 : return -1;
1537 : return 2;
1538 :
1539 : default:
1540 : return -1;
1541 : }
1542 : }
1543 :
1544 : int
1545 18 : pattern209 (rtx x1, machine_mode i1)
1546 : {
1547 18 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1548 18 : int res ATTRIBUTE_UNUSED;
1549 18 : if (!register_operand (operands[0], i1)
1550 18 : || GET_MODE (x1) != i1
1551 18 : || !vector_operand (operands[1], i1)
1552 18 : || !bcst_vector_operand (operands[2], i1)
1553 36 : || !vector_operand (operands[3], i1))
1554 0 : return -1;
1555 : return 0;
1556 : }
1557 :
1558 : int
1559 296 : pattern211 (rtx x1)
1560 : {
1561 296 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1562 296 : rtx x2, x3, x4;
1563 296 : int res ATTRIBUTE_UNUSED;
1564 296 : if (!register_operand (operands[0], E_V4SImode))
1565 : return -1;
1566 293 : x2 = XVECEXP (x1, 0, 0);
1567 293 : operands[1] = x2;
1568 293 : if (!register_operand (operands[1], E_V4SImode))
1569 : return -1;
1570 266 : x3 = XVECEXP (x1, 0, 1);
1571 266 : operands[2] = x3;
1572 266 : if (!register_operand (operands[2], E_V4SImode))
1573 : return -1;
1574 245 : x4 = XVECEXP (x1, 0, 2);
1575 245 : operands[3] = x4;
1576 245 : if (!vector_operand (operands[3], E_V4SImode))
1577 0 : return -1;
1578 : return 0;
1579 : }
1580 :
1581 : int
1582 2461 : pattern218 (rtx x1)
1583 : {
1584 2461 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1585 2461 : rtx x2, x3, x4, x5, x6;
1586 2461 : int res ATTRIBUTE_UNUSED;
1587 2461 : x2 = XEXP (x1, 0);
1588 2461 : operands[0] = x2;
1589 2461 : x3 = XEXP (x1, 1);
1590 2461 : x4 = XVECEXP (x3, 0, 0);
1591 2461 : operands[1] = x4;
1592 2461 : x5 = XVECEXP (x3, 0, 1);
1593 2461 : operands[2] = x5;
1594 2461 : x6 = XVECEXP (x3, 0, 2);
1595 2461 : operands[3] = x6;
1596 2461 : switch (GET_MODE (operands[0]))
1597 : {
1598 501 : case E_V16SImode:
1599 501 : return pattern213 (x3,
1600 501 : E_V16SImode); /* [-1, 0] */
1601 :
1602 863 : case E_V8SImode:
1603 863 : if (pattern213 (x3,
1604 : E_V8SImode) != 0)
1605 132 : return -1;
1606 : return 1;
1607 :
1608 1097 : case E_V4SImode:
1609 1097 : if (pattern213 (x3,
1610 : E_V4SImode) != 0)
1611 318 : return -1;
1612 : return 2;
1613 :
1614 : default:
1615 : return -1;
1616 : }
1617 : }
1618 :
1619 : int
1620 125 : pattern221 (rtx x1, machine_mode i1)
1621 : {
1622 125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1623 125 : rtx x2, x3, x4, x5, x6;
1624 125 : int res ATTRIBUTE_UNUSED;
1625 125 : x2 = XEXP (x1, 1);
1626 125 : if (GET_MODE (x2) != i1)
1627 : return -1;
1628 125 : x3 = XVECEXP (x2, 0, 0);
1629 125 : if (GET_CODE (x3) != REG
1630 125 : || REGNO (x3) != 92
1631 250 : || GET_MODE (x3) != E_V32SImode)
1632 : return -1;
1633 125 : x4 = XEXP (x1, 0);
1634 125 : operands[0] = x4;
1635 125 : if (!register_operand (operands[0], i1))
1636 : return -1;
1637 117 : x5 = XVECEXP (x2, 0, 1);
1638 117 : operands[1] = x5;
1639 117 : if (!const_0_to_7_operand (operands[1], E_QImode))
1640 : return -1;
1641 117 : x6 = XVECEXP (x2, 0, 2);
1642 117 : operands[2] = x6;
1643 117 : if (!nonmemory_operand (operands[2], E_SImode))
1644 0 : return -1;
1645 : return 0;
1646 : }
1647 :
1648 : int
1649 2725203 : pattern226 (rtx x1, machine_mode i1)
1650 : {
1651 2725203 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1652 2725203 : int res ATTRIBUTE_UNUSED;
1653 2725203 : if (!register_operand (operands[0], i1)
1654 2616688 : || GET_MODE (x1) != i1
1655 2616688 : || !bcst_vector_operand (operands[1], i1)
1656 5091277 : || !bcst_vector_operand (operands[2], i1))
1657 414927 : return -1;
1658 : return 0;
1659 : }
1660 :
1661 : int
1662 7170270 : pattern228 (rtx x1)
1663 : {
1664 7170270 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1665 7170270 : rtx x2, x3;
1666 7170270 : int res ATTRIBUTE_UNUSED;
1667 7170270 : x2 = XEXP (x1, 0);
1668 7170270 : operands[1] = x2;
1669 7170270 : x3 = XEXP (x1, 1);
1670 7170270 : operands[2] = x3;
1671 7170270 : switch (GET_CODE (operands[2]))
1672 : {
1673 2880889 : case REG:
1674 2880889 : case SUBREG:
1675 2880889 : case MEM:
1676 2880889 : case VEC_DUPLICATE:
1677 2880889 : switch (GET_MODE (operands[0]))
1678 : {
1679 806 : case E_V32HFmode:
1680 806 : return pattern226 (x1,
1681 806 : E_V32HFmode); /* [-1, 0] */
1682 :
1683 886 : case E_V16HFmode:
1684 886 : if (pattern226 (x1,
1685 : E_V16HFmode) != 0)
1686 167 : return -1;
1687 : return 1;
1688 :
1689 1868 : case E_V8HFmode:
1690 1868 : if (pattern226 (x1,
1691 : E_V8HFmode) != 0)
1692 409 : return -1;
1693 : return 2;
1694 :
1695 676 : case E_V16SFmode:
1696 676 : if (pattern226 (x1,
1697 : E_V16SFmode) != 0)
1698 131 : return -1;
1699 : return 3;
1700 :
1701 37339 : case E_V8SFmode:
1702 37339 : if (pattern226 (x1,
1703 : E_V8SFmode) != 0)
1704 873 : return -1;
1705 : return 4;
1706 :
1707 288939 : case E_V4SFmode:
1708 288939 : if (pattern226 (x1,
1709 : E_V4SFmode) != 0)
1710 19288 : return -1;
1711 : return 5;
1712 :
1713 1352 : case E_V8DFmode:
1714 1352 : if (pattern226 (x1,
1715 : E_V8DFmode) != 0)
1716 54 : return -1;
1717 : return 6;
1718 :
1719 56972 : case E_V4DFmode:
1720 56972 : if (pattern226 (x1,
1721 : E_V4DFmode) != 0)
1722 1442 : return -1;
1723 : return 7;
1724 :
1725 224569 : case E_V2DFmode:
1726 224569 : if (pattern226 (x1,
1727 : E_V2DFmode) != 0)
1728 17474 : return -1;
1729 : return 8;
1730 :
1731 905 : case E_V64QImode:
1732 905 : if (pattern226 (x1,
1733 : E_V64QImode) != 0)
1734 148 : return -1;
1735 : return 9;
1736 :
1737 3035 : case E_V32QImode:
1738 3035 : if (pattern226 (x1,
1739 : E_V32QImode) != 0)
1740 476 : return -1;
1741 : return 10;
1742 :
1743 61020 : case E_V16QImode:
1744 61020 : if (pattern226 (x1,
1745 : E_V16QImode) != 0)
1746 9354 : return -1;
1747 : return 11;
1748 :
1749 1090 : case E_V32HImode:
1750 1090 : if (pattern226 (x1,
1751 : E_V32HImode) != 0)
1752 96 : return -1;
1753 : return 12;
1754 :
1755 9285 : case E_V16HImode:
1756 9285 : if (pattern226 (x1,
1757 : E_V16HImode) != 0)
1758 1309 : return -1;
1759 : return 13;
1760 :
1761 111520 : case E_V8HImode:
1762 111520 : if (pattern226 (x1,
1763 : E_V8HImode) != 0)
1764 17041 : return -1;
1765 : return 14;
1766 :
1767 11943 : case E_V16SImode:
1768 11943 : if (pattern226 (x1,
1769 : E_V16SImode) != 0)
1770 1099 : return -1;
1771 : return 15;
1772 :
1773 26952 : case E_V8SImode:
1774 26952 : if (pattern226 (x1,
1775 : E_V8SImode) != 0)
1776 2279 : return -1;
1777 : return 16;
1778 :
1779 791006 : case E_V4SImode:
1780 791006 : if (pattern226 (x1,
1781 : E_V4SImode) != 0)
1782 132478 : return -1;
1783 : return 17;
1784 :
1785 5554 : case E_V8DImode:
1786 5554 : if (pattern226 (x1,
1787 : E_V8DImode) != 0)
1788 128 : return -1;
1789 : return 18;
1790 :
1791 11959 : case E_V4DImode:
1792 11959 : if (pattern226 (x1,
1793 : E_V4DImode) != 0)
1794 725 : return -1;
1795 : return 19;
1796 :
1797 173109 : case E_V2DImode:
1798 173109 : if (pattern226 (x1,
1799 : E_V2DImode) != 0)
1800 23680 : return -1;
1801 : return 20;
1802 :
1803 206 : case E_V32BFmode:
1804 206 : if (pattern12 (x1,
1805 : E_V32BFmode) != 0)
1806 14 : return -1;
1807 : return 21;
1808 :
1809 206 : case E_V16BFmode:
1810 206 : if (pattern12 (x1,
1811 : E_V16BFmode) != 0)
1812 14 : return -1;
1813 : return 22;
1814 :
1815 230 : case E_V8BFmode:
1816 230 : if (pattern12 (x1,
1817 : E_V8BFmode) != 0)
1818 12 : return -1;
1819 : return 23;
1820 :
1821 : default:
1822 : return -1;
1823 : }
1824 :
1825 3666160 : case CONST_INT:
1826 3666160 : case CONST_DOUBLE:
1827 3666160 : case CONST_VECTOR:
1828 3666160 : switch (GET_MODE (operands[0]))
1829 : {
1830 25 : case E_V64QImode:
1831 25 : if (pattern227 (x1,
1832 : E_V64QImode) != 0)
1833 25 : return -1;
1834 : return 24;
1835 :
1836 188 : case E_V32QImode:
1837 188 : if (pattern227 (x1,
1838 : E_V32QImode) != 0)
1839 180 : return -1;
1840 : return 25;
1841 :
1842 5428 : case E_V16QImode:
1843 5428 : if (pattern227 (x1,
1844 : E_V16QImode) != 0)
1845 5213 : return -1;
1846 : return 26;
1847 :
1848 32 : case E_V32HImode:
1849 32 : if (pattern227 (x1,
1850 : E_V32HImode) != 0)
1851 28 : return -1;
1852 : return 27;
1853 :
1854 295 : case E_V16HImode:
1855 295 : if (pattern227 (x1,
1856 : E_V16HImode) != 0)
1857 293 : return -1;
1858 : return 28;
1859 :
1860 2256 : case E_V8HImode:
1861 2256 : if (pattern227 (x1,
1862 : E_V8HImode) != 0)
1863 2129 : return -1;
1864 : return 29;
1865 :
1866 748 : case E_V16SImode:
1867 748 : if (pattern227 (x1,
1868 : E_V16SImode) != 0)
1869 709 : return -1;
1870 : return 30;
1871 :
1872 1430 : case E_V8SImode:
1873 1430 : if (pattern227 (x1,
1874 : E_V8SImode) != 0)
1875 1341 : return -1;
1876 : return 31;
1877 :
1878 47544 : case E_V4SImode:
1879 47544 : if (pattern227 (x1,
1880 : E_V4SImode) != 0)
1881 40998 : return -1;
1882 : return 32;
1883 :
1884 48 : case E_V8DImode:
1885 48 : if (pattern227 (x1,
1886 : E_V8DImode) != 0)
1887 48 : return -1;
1888 : return 33;
1889 :
1890 372 : case E_V4DImode:
1891 372 : if (pattern227 (x1,
1892 : E_V4DImode) != 0)
1893 372 : return -1;
1894 : return 34;
1895 :
1896 8808 : case E_V2DImode:
1897 8808 : if (pattern227 (x1,
1898 : E_V2DImode) != 0)
1899 8478 : return -1;
1900 : return 35;
1901 :
1902 : default:
1903 : return -1;
1904 : }
1905 :
1906 : default:
1907 : return -1;
1908 : }
1909 : }
1910 :
1911 : int
1912 5372 : pattern244 (rtx x1)
1913 : {
1914 5372 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1915 5372 : int res ATTRIBUTE_UNUSED;
1916 5372 : switch (GET_MODE (operands[0]))
1917 : {
1918 1476 : case E_QImode:
1919 1476 : if (!nonimmediate_operand (operands[0], E_QImode)
1920 1476 : || GET_MODE (x1) != E_QImode
1921 2952 : || !nonimmediate_operand (operands[1], E_QImode))
1922 40 : return -1;
1923 : return 0;
1924 :
1925 1264 : case E_HImode:
1926 1264 : if (!nonimmediate_operand (operands[0], E_HImode)
1927 1264 : || GET_MODE (x1) != E_HImode
1928 2528 : || !nonimmediate_operand (operands[1], E_HImode))
1929 0 : return -1;
1930 : return 1;
1931 :
1932 1894 : case E_SImode:
1933 1894 : if (!nonimmediate_operand (operands[0], E_SImode)
1934 1894 : || GET_MODE (x1) != E_SImode
1935 3788 : || !nonimmediate_operand (operands[1], E_SImode))
1936 121 : return -1;
1937 : return 2;
1938 :
1939 738 : case E_DImode:
1940 738 : if (!nonimmediate_operand (operands[0], E_DImode)
1941 738 : || GET_MODE (x1) != E_DImode
1942 1476 : || !nonimmediate_operand (operands[1], E_DImode))
1943 71 : return -1;
1944 : return 3;
1945 :
1946 : default:
1947 : return -1;
1948 : }
1949 : }
1950 :
1951 : int
1952 83356 : pattern249 (rtx x1)
1953 : {
1954 83356 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1955 83356 : rtx x2, x3, x4, x5, x6, x7, x8;
1956 83356 : int res ATTRIBUTE_UNUSED;
1957 83356 : x2 = XVECEXP (x1, 0, 1);
1958 83356 : if (GET_CODE (x2) != CLOBBER)
1959 : return -1;
1960 81034 : x3 = XEXP (x2, 0);
1961 81034 : if (GET_CODE (x3) != REG
1962 81034 : || REGNO (x3) != 17
1963 162068 : || GET_MODE (x3) != E_CCmode)
1964 : return -1;
1965 81034 : x4 = XVECEXP (x1, 0, 0);
1966 81034 : x5 = XEXP (x4, 1);
1967 81034 : x6 = XEXP (x5, 0);
1968 81034 : operands[1] = x6;
1969 81034 : x7 = XEXP (x5, 1);
1970 81034 : switch (GET_CODE (x7))
1971 : {
1972 : case CONST_INT:
1973 : case CONST_WIDE_INT:
1974 : case CONST_POLY_INT:
1975 : case CONST_FIXED:
1976 : case CONST_DOUBLE:
1977 : case CONST_VECTOR:
1978 : case CONST:
1979 : case REG:
1980 : case SUBREG:
1981 : case LABEL_REF:
1982 : case SYMBOL_REF:
1983 : case HIGH:
1984 : return 0;
1985 :
1986 127 : case AND:
1987 127 : if (GET_MODE (x7) != E_QImode)
1988 : return -1;
1989 127 : x8 = XEXP (x4, 0);
1990 127 : operands[0] = x8;
1991 127 : res = pattern246 (x5);
1992 127 : if (res >= 0)
1993 116 : return res + 1; /* [1, 4] */
1994 : return -1;
1995 :
1996 62 : case PLUS:
1997 62 : if (GET_MODE (x7) != E_QImode)
1998 : return -1;
1999 62 : x8 = XEXP (x4, 0);
2000 62 : operands[0] = x8;
2001 62 : res = pattern247 (x5);
2002 62 : if (res >= 0)
2003 43 : return res + 5; /* [5, 8] */
2004 : return -1;
2005 :
2006 23 : case MINUS:
2007 23 : if (GET_MODE (x7) != E_QImode)
2008 : return -1;
2009 23 : x8 = XEXP (x4, 0);
2010 23 : operands[0] = x8;
2011 23 : res = pattern248 (x5);
2012 23 : if (res >= 0)
2013 6 : return res + 9; /* [9, 12] */
2014 : return -1;
2015 :
2016 : default:
2017 : return -1;
2018 : }
2019 : }
2020 :
2021 : int
2022 385298 : pattern261 (rtx x1)
2023 : {
2024 385298 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2025 385298 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2026 385298 : rtx x10;
2027 385298 : int res ATTRIBUTE_UNUSED;
2028 385298 : x2 = XVECEXP (x1, 0, 2);
2029 385298 : x3 = XEXP (x2, 0);
2030 385298 : if (GET_CODE (x3) != REG
2031 385298 : || REGNO (x3) != 17
2032 770596 : || GET_MODE (x3) != E_CCmode)
2033 : return -1;
2034 385298 : x4 = XVECEXP (x1, 0, 0);
2035 385298 : x5 = XEXP (x4, 0);
2036 385298 : operands[0] = x5;
2037 385298 : x6 = XEXP (x4, 1);
2038 385298 : x7 = XEXP (x6, 0);
2039 385298 : operands[1] = x7;
2040 385298 : x8 = XEXP (x6, 1);
2041 385298 : operands[2] = x8;
2042 385298 : x9 = XVECEXP (x1, 0, 1);
2043 385298 : x10 = XEXP (x9, 0);
2044 385298 : operands[3] = x10;
2045 385298 : switch (GET_MODE (operands[0]))
2046 : {
2047 57792 : case E_SImode:
2048 57792 : return pattern260 (x6,
2049 57792 : E_SImode); /* [-1, 0] */
2050 :
2051 327506 : case E_DImode:
2052 327506 : if (pattern260 (x6,
2053 : E_DImode) != 0)
2054 120397 : return -1;
2055 : return 1;
2056 :
2057 : default:
2058 : return -1;
2059 : }
2060 : }
2061 :
2062 : int
2063 366811 : pattern266 (rtx x1)
2064 : {
2065 366811 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2066 366811 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2067 366811 : int res ATTRIBUTE_UNUSED;
2068 366811 : x2 = XVECEXP (x1, 0, 1);
2069 366811 : if (GET_CODE (x2) != USE)
2070 : return -1;
2071 349028 : x3 = XVECEXP (x1, 0, 2);
2072 349028 : if (GET_CODE (x3) != CLOBBER)
2073 : return -1;
2074 337929 : x4 = XEXP (x3, 0);
2075 337929 : if (GET_CODE (x4) != REG
2076 337929 : || REGNO (x4) != 17
2077 675858 : || GET_MODE (x4) != E_CCmode)
2078 : return -1;
2079 337929 : x5 = XVECEXP (x1, 0, 0);
2080 337929 : x6 = XEXP (x5, 0);
2081 337929 : operands[0] = x6;
2082 337929 : x7 = XEXP (x5, 1);
2083 337929 : x8 = XEXP (x7, 0);
2084 337929 : operands[1] = x8;
2085 337929 : x9 = XEXP (x2, 0);
2086 337929 : operands[2] = x9;
2087 337929 : switch (GET_MODE (operands[0]))
2088 : {
2089 2439 : case E_HFmode:
2090 2439 : return pattern265 (x7,
2091 : E_V8HFmode,
2092 2439 : E_HFmode); /* [-1, 0] */
2093 :
2094 153987 : case E_SFmode:
2095 153987 : if (pattern265 (x7,
2096 : E_V4SFmode,
2097 : E_SFmode) != 0)
2098 40967 : return -1;
2099 : return 1;
2100 :
2101 181503 : case E_DFmode:
2102 181503 : if (pattern265 (x7,
2103 : E_V2DFmode,
2104 : E_DFmode) != 0)
2105 46991 : return -1;
2106 : return 2;
2107 :
2108 : default:
2109 : return -1;
2110 : }
2111 : }
2112 :
2113 : int
2114 333117 : pattern275 (rtx x1)
2115 : {
2116 333117 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2117 333117 : rtx x2, x3;
2118 333117 : int res ATTRIBUTE_UNUSED;
2119 333117 : x2 = XEXP (x1, 0);
2120 333117 : operands[1] = x2;
2121 333117 : x3 = XEXP (x1, 1);
2122 333117 : operands[2] = x3;
2123 333117 : if (!register_operand (operands[2], E_QImode))
2124 : return -1;
2125 1769 : return pattern164 (x1); /* [-1, 1] */
2126 : }
2127 :
2128 : int
2129 8122139 : pattern280 (rtx x1)
2130 : {
2131 8122139 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2132 8122139 : rtx x2, x3;
2133 8122139 : int res ATTRIBUTE_UNUSED;
2134 8122139 : x2 = XEXP (x1, 0);
2135 8122139 : operands[1] = x2;
2136 8122139 : x3 = XEXP (x1, 1);
2137 8122139 : operands[2] = x3;
2138 8122139 : switch (GET_MODE (operands[0]))
2139 : {
2140 261 : case E_V64QImode:
2141 261 : return pattern227 (x1,
2142 261 : E_V64QImode); /* [-1, 0] */
2143 :
2144 736 : case E_V32QImode:
2145 736 : if (pattern227 (x1,
2146 : E_V32QImode) != 0)
2147 736 : return -1;
2148 : return 1;
2149 :
2150 14111 : case E_V16QImode:
2151 14111 : if (pattern227 (x1,
2152 : E_V16QImode) != 0)
2153 14111 : return -1;
2154 : return 2;
2155 :
2156 324 : case E_V32HImode:
2157 324 : if (pattern227 (x1,
2158 : E_V32HImode) != 0)
2159 324 : return -1;
2160 : return 3;
2161 :
2162 2984 : case E_V16HImode:
2163 2984 : if (pattern227 (x1,
2164 : E_V16HImode) != 0)
2165 2984 : return -1;
2166 : return 4;
2167 :
2168 24375 : case E_V8HImode:
2169 24375 : if (pattern227 (x1,
2170 : E_V8HImode) != 0)
2171 24375 : return -1;
2172 : return 5;
2173 :
2174 3343 : case E_V16SImode:
2175 3343 : if (pattern227 (x1,
2176 : E_V16SImode) != 0)
2177 3343 : return -1;
2178 : return 6;
2179 :
2180 8316 : case E_V8SImode:
2181 8316 : if (pattern227 (x1,
2182 : E_V8SImode) != 0)
2183 8316 : return -1;
2184 : return 7;
2185 :
2186 202586 : case E_V4SImode:
2187 202586 : if (pattern227 (x1,
2188 : E_V4SImode) != 0)
2189 202586 : return -1;
2190 : return 8;
2191 :
2192 1561 : case E_V8DImode:
2193 1561 : if (pattern227 (x1,
2194 : E_V8DImode) != 0)
2195 1561 : return -1;
2196 : return 9;
2197 :
2198 3613 : case E_V4DImode:
2199 3613 : if (pattern227 (x1,
2200 : E_V4DImode) != 0)
2201 3613 : return -1;
2202 : return 10;
2203 :
2204 80371 : case E_V2DImode:
2205 80371 : if (pattern227 (x1,
2206 : E_V2DImode) != 0)
2207 80371 : return -1;
2208 : return 11;
2209 :
2210 : default:
2211 : return -1;
2212 : }
2213 : }
2214 :
2215 : int
2216 28185 : pattern292 (rtx x1)
2217 : {
2218 28185 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2219 28185 : rtx x2, x3;
2220 28185 : int res ATTRIBUTE_UNUSED;
2221 28185 : if (GET_CODE (x1) != VEC_SELECT)
2222 : return -1;
2223 2189 : x2 = XEXP (x1, 1);
2224 2189 : if (GET_CODE (x2) != PARALLEL
2225 2189 : || XVECLEN (x2, 0) != 1)
2226 : return -1;
2227 2189 : x3 = XVECEXP (x2, 0, 0);
2228 2189 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2229 0 : return -1;
2230 : return 0;
2231 : }
2232 :
2233 : int
2234 62646 : pattern296 (rtx x1, int *pnum_clobbers)
2235 : {
2236 62646 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2237 62646 : rtx x2, x3, x4, x5;
2238 62646 : int res ATTRIBUTE_UNUSED;
2239 62646 : if (pnum_clobbers == NULL)
2240 : return -1;
2241 62646 : x2 = XEXP (x1, 1);
2242 62646 : x3 = XEXP (x2, 0);
2243 62646 : if (GET_MODE (x3) != E_QImode)
2244 : return -1;
2245 745 : x4 = XEXP (x3, 0);
2246 745 : if (GET_CODE (x4) != SUBREG
2247 161 : || maybe_ne (SUBREG_BYTE (x4), 0)
2248 906 : || GET_MODE (x4) != E_QImode)
2249 : return -1;
2250 161 : x5 = XEXP (x4, 0);
2251 161 : switch (GET_CODE (x5))
2252 : {
2253 137 : case ASHIFTRT:
2254 137 : case LSHIFTRT:
2255 137 : case SIGN_EXTRACT:
2256 137 : case ZERO_EXTRACT:
2257 137 : operands[3] = x5;
2258 137 : return pattern295 (x1); /* [-1, 0] */
2259 :
2260 : default:
2261 : return -1;
2262 : }
2263 : }
2264 :
2265 : int
2266 39781 : pattern306 (rtx x1, int *pnum_clobbers)
2267 : {
2268 39781 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2269 39781 : rtx x2, x3;
2270 39781 : int res ATTRIBUTE_UNUSED;
2271 39781 : if (!nonmemory_operand (operands[2], E_QImode))
2272 : return -1;
2273 37260 : x2 = XEXP (x1, 0);
2274 37260 : switch (GET_CODE (x2))
2275 : {
2276 37256 : case REG:
2277 37256 : case SUBREG:
2278 37256 : case MEM:
2279 37256 : operands[0] = x2;
2280 37256 : x3 = XEXP (x1, 1);
2281 37256 : return pattern0 (x3); /* [-1, 1] */
2282 :
2283 4 : case STRICT_LOW_PART:
2284 4 : res = pattern302 (x1, pnum_clobbers);
2285 4 : if (res >= 0)
2286 4 : return res + 2; /* [2, 3] */
2287 : return -1;
2288 :
2289 : default:
2290 : return -1;
2291 : }
2292 : }
2293 :
2294 : int
2295 3128860 : pattern311 (rtx x1)
2296 : {
2297 3128860 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2298 3128860 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2299 3128860 : rtx x10, x11, x12, x13;
2300 3128860 : int res ATTRIBUTE_UNUSED;
2301 3128860 : x2 = XEXP (x1, 0);
2302 3128860 : x3 = XEXP (x2, 0);
2303 3128860 : operands[1] = x3;
2304 3128860 : x4 = XEXP (x2, 1);
2305 3128860 : operands[2] = x4;
2306 3128860 : x5 = XEXP (x1, 1);
2307 3128860 : switch (XVECLEN (x5, 0))
2308 : {
2309 289044 : case 2:
2310 289044 : x6 = XVECEXP (x5, 0, 0);
2311 289044 : if (GET_CODE (x6) != CONST_INT)
2312 0 : return -1;
2313 : return 0;
2314 :
2315 601824 : case 8:
2316 601824 : x6 = XVECEXP (x5, 0, 0);
2317 601824 : if (GET_CODE (x6) != CONST_INT)
2318 : return -1;
2319 601824 : x7 = XVECEXP (x5, 0, 1);
2320 601824 : if (GET_CODE (x7) != CONST_INT)
2321 : return -1;
2322 601824 : x8 = XVECEXP (x5, 0, 2);
2323 601824 : if (GET_CODE (x8) != CONST_INT)
2324 : return -1;
2325 601824 : x9 = XVECEXP (x5, 0, 3);
2326 601824 : if (GET_CODE (x9) != CONST_INT)
2327 : return -1;
2328 601824 : x10 = XVECEXP (x5, 0, 4);
2329 601824 : if (GET_CODE (x10) != CONST_INT)
2330 : return -1;
2331 601824 : x11 = XVECEXP (x5, 0, 5);
2332 601824 : if (GET_CODE (x11) != CONST_INT)
2333 : return -1;
2334 601824 : x12 = XVECEXP (x5, 0, 6);
2335 601824 : if (GET_CODE (x12) != CONST_INT)
2336 : return -1;
2337 601824 : x13 = XVECEXP (x5, 0, 7);
2338 601824 : if (GET_CODE (x13) != CONST_INT
2339 601824 : || !register_operand (operands[0], E_V8QImode)
2340 46674 : || GET_MODE (x1) != E_V8QImode
2341 46674 : || GET_MODE (x2) != E_V16QImode
2342 46674 : || !register_operand (operands[1], E_V8QImode)
2343 647513 : || !register_mmxmem_operand (operands[2], E_V8QImode))
2344 : return -1;
2345 40326 : switch (XWINT (x6, 0))
2346 : {
2347 8947 : case 4L:
2348 8947 : if (XWINT (x7, 0) != 12L
2349 7628 : || XWINT (x8, 0) != 5L
2350 7606 : || XWINT (x9, 0) != 13L
2351 7606 : || XWINT (x10, 0) != 6L
2352 7606 : || XWINT (x11, 0) != 14L
2353 7606 : || XWINT (x12, 0) != 7L
2354 7606 : || XWINT (x13, 0) != 15L)
2355 1341 : return -1;
2356 : return 1;
2357 :
2358 16430 : case 0L:
2359 16430 : if (XWINT (x7, 0) != 8L
2360 9515 : || XWINT (x8, 0) != 1L
2361 8705 : || XWINT (x9, 0) != 9L
2362 8547 : || XWINT (x10, 0) != 2L
2363 8547 : || XWINT (x11, 0) != 10L
2364 8547 : || XWINT (x12, 0) != 3L
2365 8547 : || XWINT (x13, 0) != 11L)
2366 7883 : return -1;
2367 : return 2;
2368 :
2369 : default:
2370 : return -1;
2371 : }
2372 :
2373 2014156 : case 4:
2374 2014156 : x6 = XVECEXP (x5, 0, 0);
2375 2014156 : if (GET_CODE (x6) != CONST_INT)
2376 : return -1;
2377 2014156 : x7 = XVECEXP (x5, 0, 1);
2378 2014156 : if (GET_CODE (x7) != CONST_INT)
2379 : return -1;
2380 2014156 : x8 = XVECEXP (x5, 0, 2);
2381 2014156 : if (GET_CODE (x8) != CONST_INT)
2382 : return -1;
2383 2014156 : x9 = XVECEXP (x5, 0, 3);
2384 2014156 : if (GET_CODE (x9) != CONST_INT)
2385 : return -1;
2386 2014156 : switch (XWINT (x6, 0))
2387 : {
2388 297367 : case 2L:
2389 297367 : if (XWINT (x7, 0) != 6L
2390 127410 : || XWINT (x8, 0) != 3L
2391 126350 : || XWINT (x9, 0) != 7L)
2392 : return -1;
2393 126185 : switch (GET_MODE (operands[0]))
2394 : {
2395 5074 : case E_V4QImode:
2396 5074 : if (pattern309 (x1,
2397 : E_V4QImode,
2398 : E_V8QImode) != 0)
2399 695 : return -1;
2400 : return 3;
2401 :
2402 23562 : case E_V4HImode:
2403 23562 : if (pattern310 (x1,
2404 : E_V4HImode,
2405 : E_V8HImode) != 0)
2406 7508 : return -1;
2407 : return 4;
2408 :
2409 : default:
2410 : return -1;
2411 : }
2412 :
2413 1228676 : case 0L:
2414 1228676 : if (XWINT (x7, 0) != 4L
2415 582091 : || XWINT (x8, 0) != 1L
2416 566177 : || XWINT (x9, 0) != 5L)
2417 : return -1;
2418 565901 : switch (GET_MODE (operands[0]))
2419 : {
2420 7288 : case E_V4QImode:
2421 7288 : if (pattern309 (x1,
2422 : E_V4QImode,
2423 : E_V8QImode) != 0)
2424 1594 : return -1;
2425 : return 5;
2426 :
2427 32609 : case E_V4HImode:
2428 32609 : if (pattern310 (x1,
2429 : E_V4HImode,
2430 : E_V8HImode) != 0)
2431 11630 : return -1;
2432 : return 6;
2433 :
2434 : default:
2435 : return -1;
2436 : }
2437 :
2438 : default:
2439 : return -1;
2440 : }
2441 :
2442 : default:
2443 : return -1;
2444 : }
2445 : }
2446 :
2447 : int
2448 8952 : pattern343 (rtx x1)
2449 : {
2450 8952 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2451 8952 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2452 8952 : rtx x10;
2453 8952 : int res ATTRIBUTE_UNUSED;
2454 8952 : x2 = XEXP (x1, 0);
2455 8952 : x3 = XEXP (x2, 0);
2456 8952 : x4 = XEXP (x3, 0);
2457 8952 : if (GET_CODE (x4) != VEC_SELECT)
2458 : return -1;
2459 266 : x5 = XEXP (x4, 1);
2460 266 : if (GET_CODE (x5) != PARALLEL
2461 266 : || XVECLEN (x5, 0) != 1)
2462 : return -1;
2463 266 : x6 = XVECEXP (x5, 0, 0);
2464 266 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2465 : return -1;
2466 266 : x7 = XEXP (x1, 2);
2467 266 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
2468 : return -1;
2469 264 : x8 = XEXP (x4, 0);
2470 264 : operands[1] = x8;
2471 264 : x9 = XEXP (x3, 1);
2472 264 : operands[2] = x9;
2473 264 : x10 = XEXP (x1, 1);
2474 264 : if (!rtx_equal_p (x10, operands[1]))
2475 : return -1;
2476 261 : switch (GET_MODE (operands[0]))
2477 : {
2478 197 : case E_V8HFmode:
2479 197 : return pattern342 (x1,
2480 : E_HFmode,
2481 197 : E_V8HFmode); /* [-1, 0] */
2482 :
2483 8 : case E_V4SFmode:
2484 8 : if (pattern342 (x1,
2485 : E_SFmode,
2486 : E_V4SFmode) != 0)
2487 3 : return -1;
2488 : return 1;
2489 :
2490 56 : case E_V2DFmode:
2491 56 : if (pattern342 (x1,
2492 : E_DFmode,
2493 : E_V2DFmode) != 0)
2494 31 : return -1;
2495 : return 2;
2496 :
2497 : default:
2498 : return -1;
2499 : }
2500 : }
2501 :
2502 : int
2503 0 : pattern350 (rtx x1, machine_mode i1, machine_mode i2)
2504 : {
2505 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2506 0 : rtx x2, x3;
2507 0 : int res ATTRIBUTE_UNUSED;
2508 0 : if (!register_operand (operands[0], i1)
2509 0 : || GET_MODE (x1) != i1
2510 0 : || !vector_all_ones_operand (operands[1], i1)
2511 0 : || !const0_operand (operands[2], i1))
2512 : return -1;
2513 0 : x2 = XEXP (x1, 2);
2514 0 : if (GET_MODE (x2) != i2)
2515 : return -1;
2516 0 : x3 = XEXP (x2, 0);
2517 0 : if (GET_MODE (x3) != i2
2518 0 : || !nonimmediate_operand (operands[3], i1)
2519 0 : || !nonimmediate_operand (operands[4], i1)
2520 0 : || !const_0_to_7_operand (operands[5], E_SImode))
2521 0 : return -1;
2522 : return 0;
2523 : }
2524 :
2525 : int
2526 752 : pattern356 (rtx x1)
2527 : {
2528 752 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2529 752 : rtx x2;
2530 752 : int res ATTRIBUTE_UNUSED;
2531 752 : x2 = XVECEXP (x1, 0, 0);
2532 752 : operands[1] = x2;
2533 752 : switch (GET_MODE (operands[0]))
2534 : {
2535 126 : case E_V16SFmode:
2536 126 : if (!register_operand (operands[0], E_V16SFmode)
2537 117 : || GET_MODE (x1) != E_V16SFmode
2538 243 : || !nonimmediate_operand (operands[1], E_V16SFmode))
2539 11 : return -1;
2540 : return 0;
2541 :
2542 126 : case E_V8SFmode:
2543 126 : if (!register_operand (operands[0], E_V8SFmode)
2544 117 : || GET_MODE (x1) != E_V8SFmode
2545 243 : || !nonimmediate_operand (operands[1], E_V8SFmode))
2546 11 : return -1;
2547 : return 1;
2548 :
2549 121 : case E_V4SFmode:
2550 121 : if (!register_operand (operands[0], E_V4SFmode)
2551 115 : || GET_MODE (x1) != E_V4SFmode
2552 236 : || !nonimmediate_operand (operands[1], E_V4SFmode))
2553 7 : return -1;
2554 : return 2;
2555 :
2556 129 : case E_V8DFmode:
2557 129 : if (!register_operand (operands[0], E_V8DFmode)
2558 120 : || GET_MODE (x1) != E_V8DFmode
2559 249 : || !nonimmediate_operand (operands[1], E_V8DFmode))
2560 12 : return -1;
2561 : return 3;
2562 :
2563 126 : case E_V4DFmode:
2564 126 : if (!register_operand (operands[0], E_V4DFmode)
2565 117 : || GET_MODE (x1) != E_V4DFmode
2566 243 : || !nonimmediate_operand (operands[1], E_V4DFmode))
2567 11 : return -1;
2568 : return 4;
2569 :
2570 124 : case E_V2DFmode:
2571 124 : if (!register_operand (operands[0], E_V2DFmode)
2572 118 : || GET_MODE (x1) != E_V2DFmode
2573 242 : || !nonimmediate_operand (operands[1], E_V2DFmode))
2574 8 : return -1;
2575 : return 5;
2576 :
2577 : default:
2578 : return -1;
2579 : }
2580 : }
2581 :
2582 : int
2583 1492 : pattern359 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
2584 : {
2585 1492 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2586 1492 : rtx x2;
2587 1492 : int res ATTRIBUTE_UNUSED;
2588 1492 : x2 = XVECEXP (x1, 0, 0);
2589 1492 : operands[1] = x2;
2590 1492 : switch (GET_MODE (operands[0]))
2591 : {
2592 524 : case E_V32HImode:
2593 524 : if (!register_operand (operands[0], E_V32HImode)
2594 492 : || GET_MODE (x1) != E_V32HImode
2595 1016 : || !vector_operand (operands[1], i1))
2596 44 : return -1;
2597 : return 0;
2598 :
2599 496 : case E_V16HImode:
2600 496 : if (!register_operand (operands[0], E_V16HImode)
2601 464 : || GET_MODE (x1) != E_V16HImode
2602 960 : || !vector_operand (operands[1], i2))
2603 40 : return -1;
2604 : return 1;
2605 :
2606 472 : case E_V8HImode:
2607 472 : if (!register_operand (operands[0], E_V8HImode)
2608 464 : || GET_MODE (x1) != E_V8HImode
2609 936 : || !vector_operand (operands[1], i3))
2610 16 : return -1;
2611 : return 2;
2612 :
2613 : default:
2614 : return -1;
2615 : }
2616 : }
2617 :
2618 : int
2619 306 : pattern362 (rtx x1)
2620 : {
2621 306 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2622 306 : rtx x2;
2623 306 : int res ATTRIBUTE_UNUSED;
2624 306 : x2 = XVECEXP (x1, 0, 0);
2625 306 : operands[1] = x2;
2626 306 : if (!nonimmediate_operand (operands[1], E_V16QImode))
2627 : return -1;
2628 306 : switch (GET_MODE (operands[0]))
2629 : {
2630 102 : case E_V16SFmode:
2631 102 : if (!register_operand (operands[0], E_V16SFmode)
2632 102 : || GET_MODE (x1) != E_V16SFmode)
2633 8 : return -1;
2634 : return 0;
2635 :
2636 102 : case E_V8SFmode:
2637 102 : if (!register_operand (operands[0], E_V8SFmode)
2638 102 : || GET_MODE (x1) != E_V8SFmode)
2639 8 : return -1;
2640 : return 1;
2641 :
2642 102 : case E_V4SFmode:
2643 102 : if (!register_operand (operands[0], E_V4SFmode)
2644 102 : || GET_MODE (x1) != E_V4SFmode)
2645 8 : return -1;
2646 : return 2;
2647 :
2648 : default:
2649 : return -1;
2650 : }
2651 : }
2652 :
2653 : int
2654 630 : pattern364 (rtx x1)
2655 : {
2656 630 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2657 630 : rtx x2;
2658 630 : int res ATTRIBUTE_UNUSED;
2659 630 : x2 = XVECEXP (x1, 0, 0);
2660 630 : operands[1] = x2;
2661 630 : switch (GET_MODE (operands[0]))
2662 : {
2663 210 : case E_V64QImode:
2664 210 : if (!register_operand (operands[0], E_V64QImode)
2665 210 : || GET_MODE (x1) != E_V64QImode
2666 420 : || !register_operand (operands[1], E_V64QImode))
2667 0 : return -1;
2668 : return 0;
2669 :
2670 210 : case E_V16QImode:
2671 210 : if (!register_operand (operands[0], E_V16QImode)
2672 210 : || GET_MODE (x1) != E_V16QImode
2673 420 : || !register_operand (operands[1], E_V16QImode))
2674 0 : return -1;
2675 : return 1;
2676 :
2677 210 : case E_V32QImode:
2678 210 : if (!register_operand (operands[0], E_V32QImode)
2679 210 : || GET_MODE (x1) != E_V32QImode
2680 420 : || !register_operand (operands[1], E_V32QImode))
2681 0 : return -1;
2682 : return 2;
2683 :
2684 : default:
2685 : return -1;
2686 : }
2687 : }
2688 :
2689 : int
2690 10400 : pattern367 (rtx x1, machine_mode i1)
2691 : {
2692 10400 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2693 10400 : rtx x2;
2694 10400 : int res ATTRIBUTE_UNUSED;
2695 10400 : if (!register_operand (operands[0], i1)
2696 10400 : || GET_MODE (x1) != i1)
2697 : return -1;
2698 10359 : x2 = XEXP (x1, 0);
2699 10359 : if (GET_MODE (x2) != i1
2700 10359 : || !nonimmediate_operand (operands[1], i1)
2701 10247 : || !nonimmediate_operand (operands[2], i1)
2702 20562 : || !register_operand (operands[3], i1))
2703 1547 : return -1;
2704 : return 0;
2705 : }
2706 :
2707 : int
2708 84819 : pattern369 (rtx x1)
2709 : {
2710 84819 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2711 84819 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2712 84819 : int res ATTRIBUTE_UNUSED;
2713 84819 : if (GET_MODE (x1) != E_V4SImode)
2714 : return -1;
2715 2057 : x2 = XEXP (x1, 0);
2716 2057 : if (GET_CODE (x2) != SIGN_EXTEND
2717 1667 : || GET_MODE (x2) != E_V4SImode)
2718 : return -1;
2719 1667 : x3 = XEXP (x2, 0);
2720 1667 : if (GET_CODE (x3) != VEC_SELECT
2721 1667 : || GET_MODE (x3) != E_V4HImode)
2722 : return -1;
2723 1667 : x4 = XEXP (x3, 1);
2724 1667 : if (GET_CODE (x4) != PARALLEL
2725 1667 : || XVECLEN (x4, 0) != 4)
2726 : return -1;
2727 1667 : x5 = XVECEXP (x4, 0, 0);
2728 1667 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2729 : return -1;
2730 1667 : x6 = XVECEXP (x4, 0, 1);
2731 1667 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2732 : return -1;
2733 1667 : x7 = XVECEXP (x4, 0, 2);
2734 1667 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
2735 : return -1;
2736 1667 : x8 = XVECEXP (x4, 0, 3);
2737 1667 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
2738 : return -1;
2739 1667 : x9 = XEXP (x1, 1);
2740 1667 : if (GET_CODE (x9) != SIGN_EXTEND)
2741 0 : return -1;
2742 : return 0;
2743 : }
2744 :
2745 : int
2746 21756 : pattern374 (rtx x1)
2747 : {
2748 21756 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2749 21756 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2750 21756 : int res ATTRIBUTE_UNUSED;
2751 21756 : x2 = XVECEXP (x1, 0, 1);
2752 21756 : if (GET_CODE (x2) != CLOBBER)
2753 : return -1;
2754 7775 : x3 = XEXP (x2, 0);
2755 7775 : if (GET_CODE (x3) != REG
2756 7775 : || REGNO (x3) != 17
2757 15135 : || GET_MODE (x3) != E_CCmode)
2758 : return -1;
2759 7360 : x4 = XVECEXP (x1, 0, 0);
2760 7360 : x5 = XEXP (x4, 0);
2761 7360 : operands[0] = x5;
2762 7360 : x6 = XEXP (x4, 1);
2763 7360 : x7 = XEXP (x6, 0);
2764 7360 : x8 = XEXP (x7, 0);
2765 7360 : operands[1] = x8;
2766 7360 : x9 = XEXP (x7, 1);
2767 7360 : operands[2] = x9;
2768 7360 : return 0;
2769 : }
2770 :
2771 : int
2772 3685 : pattern377 (rtx x1)
2773 : {
2774 3685 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2775 3685 : rtx x2, x3, x4, x5;
2776 3685 : int res ATTRIBUTE_UNUSED;
2777 3685 : x2 = XVECEXP (x1, 0, 1);
2778 3685 : if (GET_CODE (x2) != CLOBBER)
2779 : return -1;
2780 2852 : x3 = XEXP (x2, 0);
2781 2852 : if (GET_CODE (x3) != REG
2782 2852 : || REGNO (x3) != 17
2783 5704 : || GET_MODE (x3) != E_CCmode)
2784 : return -1;
2785 2852 : x4 = XVECEXP (x1, 0, 0);
2786 2852 : x5 = XEXP (x4, 0);
2787 2852 : operands[0] = x5;
2788 2852 : return 0;
2789 : }
2790 :
2791 : int
2792 115 : pattern379 (rtx x1, machine_mode i1, machine_mode i2)
2793 : {
2794 115 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2795 115 : rtx x2;
2796 115 : int res ATTRIBUTE_UNUSED;
2797 115 : if (!register_operand (operands[0], i2)
2798 115 : || GET_MODE (x1) != i2)
2799 : return -1;
2800 115 : x2 = XEXP (x1, 0);
2801 115 : if (GET_MODE (x2) != i1
2802 115 : || !nonimmediate_operand (operands[1], i1))
2803 28 : return -1;
2804 : return 0;
2805 : }
2806 :
2807 : int
2808 24831 : pattern381 (rtx x1)
2809 : {
2810 24831 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2811 24831 : int res ATTRIBUTE_UNUSED;
2812 24831 : if (!nonmemory_operand (operands[2], E_QImode))
2813 : return -1;
2814 24685 : return pattern380 (x1); /* [-1, 5] */
2815 : }
2816 :
2817 : int
2818 790036 : pattern384 (rtx x1)
2819 : {
2820 790036 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2821 790036 : rtx x2;
2822 790036 : int res ATTRIBUTE_UNUSED;
2823 790036 : if (GET_CODE (x1) != CLOBBER)
2824 : return -1;
2825 674992 : x2 = XEXP (x1, 0);
2826 674992 : if (GET_CODE (x2) != REG
2827 674991 : || REGNO (x2) != 17
2828 1313866 : || GET_MODE (x2) != E_CCmode)
2829 36118 : return -1;
2830 : return 0;
2831 : }
2832 :
2833 : int
2834 4584 : pattern385 (rtx x1, machine_mode i1, machine_mode i2)
2835 : {
2836 4584 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2837 4584 : rtx x2, x3, x4, x5;
2838 4584 : int res ATTRIBUTE_UNUSED;
2839 4584 : if (!register_operand (operands[0], i1)
2840 4584 : || GET_MODE (x1) != i1)
2841 : return -1;
2842 4584 : x2 = XEXP (x1, 0);
2843 4584 : if (GET_MODE (x2) != i1)
2844 : return -1;
2845 4584 : x3 = XEXP (x2, 0);
2846 4584 : if (GET_MODE (x3) != i1)
2847 : return -1;
2848 4584 : x4 = XEXP (x3, 0);
2849 4584 : if (GET_MODE (x4) != i1
2850 4584 : || !nonimmediate_operand (operands[2], i2))
2851 : return -1;
2852 4559 : x5 = XEXP (x2, 1);
2853 4559 : if (GET_MODE (x5) != i1
2854 4559 : || !nonimmediate_operand (operands[4], i2)
2855 9093 : || !register_operand (operands[1], i1))
2856 25 : return -1;
2857 : return 0;
2858 : }
2859 :
2860 : int
2861 10061 : pattern389 (rtx x1)
2862 : {
2863 10061 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2864 10061 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2865 10061 : rtx x10;
2866 10061 : int res ATTRIBUTE_UNUSED;
2867 10061 : x2 = XVECEXP (x1, 0, 0);
2868 10061 : x3 = XEXP (x2, 1);
2869 10061 : x4 = XEXP (x3, 0);
2870 10061 : operands[2] = x4;
2871 10061 : x5 = XEXP (x4, 0);
2872 10061 : if (GET_CODE (x5) != REG
2873 10061 : || REGNO (x5) != 17)
2874 : return -1;
2875 4698 : x6 = XEXP (x4, 1);
2876 4698 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2877 : return -1;
2878 4698 : x7 = XVECEXP (x1, 0, 1);
2879 4698 : if (GET_CODE (x7) != CLOBBER)
2880 : return -1;
2881 4550 : x8 = XEXP (x7, 0);
2882 4550 : if (GET_CODE (x8) != REG
2883 4550 : || REGNO (x8) != 17
2884 9100 : || GET_MODE (x8) != E_CCmode)
2885 : return -1;
2886 4550 : x9 = XEXP (x2, 0);
2887 4550 : operands[0] = x9;
2888 4550 : x10 = XEXP (x3, 1);
2889 4550 : operands[1] = x10;
2890 4550 : switch (GET_MODE (operands[0]))
2891 : {
2892 : case E_QImode:
2893 : return 0;
2894 :
2895 : case E_HImode:
2896 : return 1;
2897 :
2898 : case E_SImode:
2899 : return 2;
2900 :
2901 : case E_DImode:
2902 : return 3;
2903 :
2904 : default:
2905 : return -1;
2906 : }
2907 : }
2908 :
2909 : int
2910 22127 : pattern395 (rtx x1, machine_mode i1)
2911 : {
2912 22127 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2913 22127 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2914 22127 : rtx x10, x11, x12, x13;
2915 22127 : int res ATTRIBUTE_UNUSED;
2916 22127 : x2 = XVECEXP (x1, 0, 0);
2917 22127 : x3 = XEXP (x2, 1);
2918 22127 : if (GET_MODE (x3) != i1)
2919 : return -1;
2920 22127 : x4 = XEXP (x3, 0);
2921 22127 : x5 = XEXP (x4, 0);
2922 22127 : x6 = XVECEXP (x5, 0, 0);
2923 22127 : operands[0] = x6;
2924 22127 : x7 = XVECEXP (x5, 0, 1);
2925 22127 : operands[2] = x7;
2926 22127 : if (!const_int_operand (operands[2], E_SImode))
2927 : return -1;
2928 22127 : x8 = XEXP (x4, 1);
2929 22127 : operands[1] = x8;
2930 22127 : x9 = XVECEXP (x1, 0, 1);
2931 22127 : x10 = XEXP (x9, 1);
2932 22127 : x11 = XEXP (x10, 0);
2933 22127 : if (!rtx_equal_p (x11, operands[0]))
2934 : return -1;
2935 22127 : x12 = XEXP (x10, 1);
2936 22127 : if (!rtx_equal_p (x12, operands[1]))
2937 : return -1;
2938 22127 : x13 = XEXP (x9, 0);
2939 22127 : if (!rtx_equal_p (x13, operands[0]))
2940 : return -1;
2941 22127 : switch (GET_MODE (x4))
2942 : {
2943 2888 : case E_QImode:
2944 2888 : return pattern394 (x1,
2945 2888 : E_QImode); /* [-1, 0] */
2946 :
2947 2588 : case E_HImode:
2948 2588 : if (pattern394 (x1,
2949 : E_HImode) != 0)
2950 0 : return -1;
2951 : return 1;
2952 :
2953 13117 : case E_SImode:
2954 13117 : if (pattern394 (x1,
2955 : E_SImode) != 0)
2956 110 : return -1;
2957 : return 2;
2958 :
2959 3534 : case E_DImode:
2960 3534 : if (pattern394 (x1,
2961 : E_DImode) != 0)
2962 0 : return -1;
2963 : return 3;
2964 :
2965 : default:
2966 : return -1;
2967 : }
2968 : }
2969 :
2970 : int
2971 12292 : pattern403 (rtx x1)
2972 : {
2973 12292 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2974 12292 : rtx x2, x3, x4, x5, x6, x7;
2975 12292 : int res ATTRIBUTE_UNUSED;
2976 12292 : x2 = XEXP (x1, 1);
2977 12292 : x3 = XEXP (x2, 0);
2978 12292 : x4 = XEXP (x3, 1);
2979 12292 : x5 = XEXP (x4, 0);
2980 12292 : if (XWINT (x5, 0) != 64L)
2981 : return -1;
2982 12292 : x6 = XEXP (x4, 1);
2983 12292 : x7 = XEXP (x6, 1);
2984 12292 : if (XWINT (x7, 0) != 63L
2985 12292 : || pattern402 (x1,
2986 : E_DImode,
2987 : E_TImode) != 0)
2988 32 : return -1;
2989 : return 0;
2990 : }
2991 :
2992 : int
2993 13460 : pattern407 (rtx x1)
2994 : {
2995 13460 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2996 13460 : rtx x2, x3, x4, x5, x6, x7, x8;
2997 13460 : int res ATTRIBUTE_UNUSED;
2998 13460 : x2 = XEXP (x1, 1);
2999 13460 : x3 = XEXP (x2, 1);
3000 13460 : switch (GET_CODE (x3))
3001 : {
3002 5804 : case CONST_INT:
3003 5804 : operands[3] = x3;
3004 5804 : x4 = XEXP (x1, 0);
3005 5804 : x5 = XEXP (x4, 0);
3006 5804 : operands[4] = x5;
3007 5804 : x6 = XEXP (x4, 1);
3008 5804 : operands[2] = x6;
3009 5804 : x7 = XEXP (x2, 0);
3010 5804 : operands[1] = x7;
3011 5804 : switch (GET_MODE (operands[0]))
3012 : {
3013 4666 : case E_DImode:
3014 4666 : if (!nonimmediate_operand (operands[0], E_DImode)
3015 4663 : || GET_MODE (x1) != E_DImode
3016 4663 : || GET_MODE (x4) != E_DImode
3017 4663 : || !nonimmediate_operand (operands[4], E_DImode)
3018 4295 : || !const_0_to_63_operand (operands[2], E_QImode)
3019 4295 : || GET_MODE (x2) != E_DImode
3020 4295 : || !nonimmediate_operand (operands[1], E_DImode)
3021 8016 : || !const_0_to_63_operand (operands[3], E_QImode))
3022 1316 : return -1;
3023 : return 0;
3024 :
3025 916 : case E_SImode:
3026 916 : if (!nonimmediate_operand (operands[0], E_SImode)
3027 916 : || GET_MODE (x1) != E_SImode
3028 916 : || GET_MODE (x4) != E_SImode
3029 916 : || !nonimmediate_operand (operands[4], E_SImode)
3030 851 : || !const_0_to_31_operand (operands[2], E_QImode)
3031 851 : || GET_MODE (x2) != E_SImode
3032 851 : || !nonimmediate_operand (operands[1], E_SImode)
3033 1741 : || !const_0_to_31_operand (operands[3], E_QImode))
3034 91 : return -1;
3035 : return 1;
3036 :
3037 : default:
3038 : return -1;
3039 : }
3040 :
3041 550 : case MINUS:
3042 550 : if (GET_MODE (x3) != E_QImode)
3043 : return -1;
3044 550 : x8 = XEXP (x3, 0);
3045 550 : if (GET_CODE (x8) != CONST_INT)
3046 : return -1;
3047 242 : x4 = XEXP (x1, 0);
3048 242 : x6 = XEXP (x4, 1);
3049 242 : if (!nonmemory_operand (x6, E_QImode))
3050 : return -1;
3051 235 : switch (XWINT (x8, 0))
3052 : {
3053 188 : case 64L:
3054 188 : if (pattern406 (x1,
3055 : E_DImode) != 0)
3056 12 : return -1;
3057 : return 2;
3058 :
3059 35 : case 32L:
3060 35 : if (pattern406 (x1,
3061 : E_SImode) != 0)
3062 0 : return -1;
3063 : return 3;
3064 :
3065 : default:
3066 : return -1;
3067 : }
3068 :
3069 : default:
3070 : return -1;
3071 : }
3072 : }
3073 :
3074 : int
3075 176224 : pattern420 (rtx x1)
3076 : {
3077 176224 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3078 176224 : rtx x2, x3, x4, x5, x6;
3079 176224 : int res ATTRIBUTE_UNUSED;
3080 176224 : x2 = XEXP (x1, 0);
3081 176224 : operands[0] = x2;
3082 176224 : x3 = XEXP (x1, 1);
3083 176224 : x4 = XEXP (x3, 0);
3084 176224 : x5 = XEXP (x4, 0);
3085 176224 : operands[1] = x5;
3086 176224 : x6 = XEXP (x3, 1);
3087 176224 : operands[2] = x6;
3088 176224 : if (!const_int_operand (operands[2], E_QImode))
3089 : return -1;
3090 169889 : switch (GET_MODE (operands[0]))
3091 : {
3092 142772 : case E_DImode:
3093 142772 : return pattern419 (x3,
3094 : E_SImode,
3095 142772 : E_DImode); /* [-1, 0] */
3096 :
3097 4408 : case E_TImode:
3098 4408 : if (pattern419 (x3,
3099 : E_DImode,
3100 : E_TImode) != 0)
3101 323 : return -1;
3102 : return 1;
3103 :
3104 : default:
3105 : return -1;
3106 : }
3107 : }
3108 :
3109 : int
3110 3962 : pattern427 (rtx x1)
3111 : {
3112 3962 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3113 3962 : int res ATTRIBUTE_UNUSED;
3114 3962 : switch (GET_MODE (operands[0]))
3115 : {
3116 105 : case E_SFmode:
3117 105 : if (!register_operand (operands[0], E_SFmode)
3118 105 : || GET_MODE (x1) != E_SFmode)
3119 0 : return -1;
3120 : return 0;
3121 :
3122 1496 : case E_DFmode:
3123 1496 : if (!register_operand (operands[0], E_DFmode)
3124 1496 : || GET_MODE (x1) != E_DFmode)
3125 0 : return -1;
3126 : return 1;
3127 :
3128 2361 : case E_XFmode:
3129 2361 : if (!register_operand (operands[0], E_XFmode)
3130 2361 : || GET_MODE (x1) != E_XFmode)
3131 0 : return -1;
3132 : return 2;
3133 :
3134 : default:
3135 : return -1;
3136 : }
3137 : }
3138 :
3139 : int
3140 110374 : pattern432 (rtx x1)
3141 : {
3142 110374 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3143 110374 : rtx x2, x3;
3144 110374 : int res ATTRIBUTE_UNUSED;
3145 110374 : x2 = XVECEXP (x1, 0, 2);
3146 110374 : x3 = XEXP (x2, 0);
3147 110374 : operands[4] = x3;
3148 110374 : switch (GET_MODE (operands[0]))
3149 : {
3150 772 : case E_HImode:
3151 772 : return pattern431 (x1,
3152 772 : E_HImode); /* [-1, 0] */
3153 :
3154 28399 : case E_SImode:
3155 28399 : if (pattern431 (x1,
3156 : E_SImode) != 0)
3157 0 : return -1;
3158 : return 1;
3159 :
3160 81203 : case E_DImode:
3161 81203 : if (pattern431 (x1,
3162 : E_DImode) != 0)
3163 0 : return -1;
3164 : return 2;
3165 :
3166 : default:
3167 : return -1;
3168 : }
3169 : }
3170 :
3171 : int
3172 859852 : pattern438 (rtx x1)
3173 : {
3174 859852 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3175 859852 : rtx x2, x3, x4, x5;
3176 859852 : int res ATTRIBUTE_UNUSED;
3177 859852 : x2 = XEXP (x1, 0);
3178 859852 : x3 = XEXP (x2, 0);
3179 859852 : operands[1] = x3;
3180 859852 : x4 = XEXP (x2, 1);
3181 859852 : operands[2] = x4;
3182 859852 : if (!const248_operand (operands[2], E_VOIDmode))
3183 : return -1;
3184 14840 : x5 = XEXP (x1, 1);
3185 14840 : operands[3] = x5;
3186 14840 : switch (GET_MODE (operands[0]))
3187 : {
3188 783 : case E_QImode:
3189 783 : return pattern437 (x1,
3190 783 : E_QImode); /* [-1, 0] */
3191 :
3192 0 : case E_HImode:
3193 0 : if (pattern437 (x1,
3194 : E_HImode) != 0)
3195 0 : return -1;
3196 : return 1;
3197 :
3198 : default:
3199 : return -1;
3200 : }
3201 : }
3202 :
3203 : int
3204 3515 : pattern442 (rtx x1)
3205 : {
3206 3515 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3207 3515 : rtx x2, x3, x4, x5, x6, x7;
3208 3515 : int res ATTRIBUTE_UNUSED;
3209 3515 : x2 = XVECEXP (x1, 0, 1);
3210 3515 : if (GET_CODE (x2) != CLOBBER)
3211 : return -1;
3212 3515 : x3 = XEXP (x2, 0);
3213 3515 : if (GET_CODE (x3) != REG
3214 3515 : || REGNO (x3) != 17
3215 6957 : || GET_MODE (x3) != E_CCmode)
3216 : return -1;
3217 3442 : x4 = XVECEXP (x1, 0, 0);
3218 3442 : x5 = XEXP (x4, 0);
3219 3442 : operands[0] = x5;
3220 3442 : x6 = XEXP (x4, 1);
3221 3442 : x7 = XEXP (x6, 0);
3222 3442 : operands[1] = x7;
3223 3442 : return pattern441 (x6); /* [-1, 1] */
3224 : }
3225 :
3226 : int
3227 36 : pattern445 (rtx x1, machine_mode i1, machine_mode i2)
3228 : {
3229 36 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3230 36 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3231 36 : int res ATTRIBUTE_UNUSED;
3232 36 : x2 = XEXP (x1, 0);
3233 36 : x3 = XEXP (x2, 0);
3234 36 : x4 = XEXP (x3, 1);
3235 36 : x5 = XVECEXP (x4, 0, 0);
3236 36 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3237 : return -1;
3238 36 : x6 = XVECEXP (x4, 0, 1);
3239 36 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3240 : return -1;
3241 36 : x7 = XVECEXP (x4, 0, 2);
3242 36 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3243 : return -1;
3244 36 : x8 = XVECEXP (x4, 0, 3);
3245 36 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
3246 36 : || GET_MODE (x3) != i2)
3247 : return -1;
3248 36 : x9 = XEXP (x3, 0);
3249 36 : if (GET_MODE (x9) != i1)
3250 : return -1;
3251 36 : switch (GET_MODE (operands[0]))
3252 : {
3253 18 : case E_V4SImode:
3254 18 : return pattern177 (x1,
3255 18 : E_V4SImode); /* [-1, 0] */
3256 :
3257 18 : case E_V4DImode:
3258 18 : if (pattern177 (x1,
3259 : E_V4DImode) != 0)
3260 6 : return -1;
3261 : return 1;
3262 :
3263 : default:
3264 : return -1;
3265 : }
3266 : }
3267 :
3268 : int
3269 18960047 : pattern452 (rtx x1, machine_mode i1)
3270 : {
3271 18960047 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3272 18960047 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3273 18960047 : rtx x10, x11;
3274 18960047 : int res ATTRIBUTE_UNUSED;
3275 18960047 : operands[4] = x1;
3276 18960047 : if (!general_gr_operand (operands[4], i1))
3277 : return -1;
3278 13802569 : x2 = PATTERN (peep2_next_insn (1));
3279 13802569 : if (GET_CODE (x2) != PARALLEL
3280 1373583 : || XVECLEN (x2, 0) != 3)
3281 : return -1;
3282 39697 : x3 = XVECEXP (x2, 0, 0);
3283 39697 : if (GET_CODE (x3) != SET)
3284 : return -1;
3285 37964 : x4 = XEXP (x3, 1);
3286 37964 : if (GET_CODE (x4) != UNSPEC
3287 60 : || XVECLEN (x4, 0) != 1
3288 30 : || XINT (x4, 1) != 88)
3289 : return -1;
3290 30 : x5 = XVECEXP (x2, 0, 1);
3291 30 : if (GET_CODE (x5) != SET)
3292 : return -1;
3293 30 : x6 = XEXP (x5, 1);
3294 30 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3295 : return -1;
3296 30 : x7 = XVECEXP (x2, 0, 2);
3297 30 : if (GET_CODE (x7) != CLOBBER)
3298 : return -1;
3299 30 : x8 = XEXP (x7, 0);
3300 30 : if (GET_CODE (x8) != REG
3301 30 : || REGNO (x8) != 17
3302 60 : || GET_MODE (x8) != E_CCmode)
3303 : return -1;
3304 30 : x9 = XEXP (x3, 0);
3305 30 : operands[0] = x9;
3306 30 : x10 = XVECEXP (x4, 0, 0);
3307 30 : operands[1] = x10;
3308 30 : x11 = XEXP (x5, 0);
3309 30 : operands[2] = x11;
3310 30 : if (!general_reg_operand (operands[2], E_VOIDmode))
3311 : return -1;
3312 30 : switch (GET_MODE (operands[0]))
3313 : {
3314 0 : case E_SImode:
3315 0 : if (!memory_operand (operands[0], E_SImode)
3316 0 : || GET_MODE (x4) != E_SImode
3317 0 : || !memory_operand (operands[1], E_SImode))
3318 0 : return -1;
3319 : return 0;
3320 :
3321 30 : case E_DImode:
3322 30 : if (!memory_operand (operands[0], E_DImode)
3323 30 : || GET_MODE (x4) != E_DImode
3324 60 : || !memory_operand (operands[1], E_DImode))
3325 0 : return -1;
3326 : return 1;
3327 :
3328 : default:
3329 : return -1;
3330 : }
3331 : }
3332 :
3333 : int
3334 2064649 : pattern463 (rtx x1)
3335 : {
3336 2064649 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3337 2064649 : rtx x2, x3, x4, x5;
3338 2064649 : int res ATTRIBUTE_UNUSED;
3339 2064649 : x2 = XEXP (x1, 0);
3340 2064649 : x3 = XEXP (x2, 0);
3341 2064649 : operands[1] = x3;
3342 2064649 : x4 = XEXP (x2, 1);
3343 2064649 : operands[2] = x4;
3344 2064649 : x5 = XEXP (x1, 1);
3345 2064649 : operands[3] = x5;
3346 2064649 : switch (GET_MODE (operands[0]))
3347 : {
3348 3095 : case E_QImode:
3349 3095 : return pattern462 (x1,
3350 3095 : E_QImode); /* [-1, 0] */
3351 :
3352 3019 : case E_HImode:
3353 3019 : if (pattern462 (x1,
3354 : E_HImode) != 0)
3355 2554 : return -1;
3356 : return 1;
3357 :
3358 : default:
3359 : return -1;
3360 : }
3361 : }
3362 :
3363 : int
3364 9603 : pattern468 (rtx x1, int *pnum_clobbers)
3365 : {
3366 9603 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3367 9603 : rtx x2, x3, x4, x5, x6;
3368 9603 : int res ATTRIBUTE_UNUSED;
3369 9603 : if (pnum_clobbers == NULL)
3370 : return -1;
3371 9603 : x2 = XEXP (x1, 1);
3372 9603 : x3 = XEXP (x2, 1);
3373 9603 : operands[2] = x3;
3374 9603 : x4 = XEXP (x3, 0);
3375 9603 : if (GET_CODE (x4) != REG
3376 9603 : || REGNO (x4) != 17)
3377 : return -1;
3378 7728 : x5 = XEXP (x3, 1);
3379 7728 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3380 : return -1;
3381 7728 : x6 = XEXP (x1, 0);
3382 7728 : operands[0] = x6;
3383 7728 : switch (GET_MODE (operands[0]))
3384 : {
3385 : case E_QImode:
3386 : return 0;
3387 :
3388 11 : case E_HImode:
3389 11 : return 1;
3390 :
3391 : default:
3392 : return -1;
3393 : }
3394 : }
3395 :
3396 : int
3397 76 : pattern474 (rtx x1)
3398 : {
3399 76 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3400 76 : rtx x2, x3, x4, x5;
3401 76 : int res ATTRIBUTE_UNUSED;
3402 76 : x2 = XEXP (x1, 0);
3403 76 : if (GET_MODE (x2) != E_SImode)
3404 : return -1;
3405 75 : x3 = XEXP (x2, 0);
3406 75 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
3407 : return -1;
3408 48 : x4 = XEXP (x2, 1);
3409 48 : if (GET_CODE (x4) != CLZ
3410 48 : || GET_MODE (x4) != E_SImode)
3411 : return -1;
3412 48 : x5 = XEXP (x1, 1);
3413 48 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
3414 0 : return -1;
3415 : return 0;
3416 : }
3417 :
3418 : int
3419 118274 : pattern479 (rtx x1, machine_mode i1)
3420 : {
3421 118274 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3422 118274 : rtx x2, x3, x4, x5, x6, x7;
3423 118274 : int res ATTRIBUTE_UNUSED;
3424 118274 : x2 = XEXP (x1, 1);
3425 118274 : x3 = XEXP (x2, 1);
3426 118274 : if (maybe_ne (SUBREG_BYTE (x3), 0)
3427 118274 : || GET_MODE (x3) != E_QImode)
3428 : return -1;
3429 116382 : x4 = XEXP (x1, 0);
3430 116382 : operands[0] = x4;
3431 116382 : if (!nonimmediate_operand (operands[0], i1)
3432 52749 : || GET_MODE (x2) != i1
3433 169131 : || !nonimmediate_operand (operands[1], i1))
3434 : return -1;
3435 10781 : x5 = XEXP (x3, 0);
3436 10781 : switch (GET_CODE (x5))
3437 : {
3438 2391 : case AND:
3439 2391 : x6 = XEXP (x5, 0);
3440 2391 : operands[2] = x6;
3441 2391 : if (!int248_register_operand (operands[2], E_VOIDmode))
3442 : return -1;
3443 644 : x7 = XEXP (x5, 1);
3444 644 : operands[3] = x7;
3445 644 : if (!const_int_operand (operands[3], E_VOIDmode))
3446 0 : return -1;
3447 : return 0;
3448 :
3449 0 : case PLUS:
3450 0 : x6 = XEXP (x5, 0);
3451 0 : operands[2] = x6;
3452 0 : if (!int248_register_operand (operands[2], E_VOIDmode))
3453 : return -1;
3454 0 : x7 = XEXP (x5, 1);
3455 0 : operands[3] = x7;
3456 0 : if (!const_int_operand (operands[3], E_VOIDmode))
3457 0 : return -1;
3458 : return 1;
3459 :
3460 0 : case MINUS:
3461 0 : x6 = XEXP (x5, 0);
3462 0 : operands[3] = x6;
3463 0 : if (!const_int_operand (operands[3], E_VOIDmode))
3464 : return -1;
3465 0 : x7 = XEXP (x5, 1);
3466 0 : operands[2] = x7;
3467 0 : if (!int248_register_operand (operands[2], E_VOIDmode))
3468 0 : return -1;
3469 : return 2;
3470 :
3471 : default:
3472 : return -1;
3473 : }
3474 : }
3475 :
3476 : int
3477 1374 : pattern493 (rtx x1)
3478 : {
3479 1374 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3480 1374 : rtx x2, x3, x4, x5, x6;
3481 1374 : int res ATTRIBUTE_UNUSED;
3482 1374 : x2 = XEXP (x1, 0);
3483 1374 : x3 = XVECEXP (x2, 0, 0);
3484 1374 : operands[1] = x3;
3485 1374 : x4 = XVECEXP (x2, 0, 1);
3486 1374 : operands[2] = x4;
3487 1374 : x5 = XEXP (x1, 1);
3488 1374 : operands[3] = x5;
3489 1374 : x6 = XEXP (x1, 2);
3490 1374 : operands[4] = x6;
3491 1374 : switch (GET_MODE (operands[0]))
3492 : {
3493 476 : case E_V64QImode:
3494 476 : return pattern486 (x1,
3495 : E_V64QImode,
3496 476 : E_DImode); /* [-1, 0] */
3497 :
3498 462 : case E_V32QImode:
3499 462 : if (pattern486 (x1,
3500 : E_V32QImode,
3501 : E_SImode) != 0)
3502 72 : return -1;
3503 : return 1;
3504 :
3505 436 : case E_V16QImode:
3506 436 : if (pattern486 (x1,
3507 : E_V16QImode,
3508 : E_HImode) != 0)
3509 44 : return -1;
3510 : return 2;
3511 :
3512 : default:
3513 : return -1;
3514 : }
3515 : }
3516 :
3517 : int
3518 6761 : pattern498 (rtx x1, machine_mode i1, machine_mode i2)
3519 : {
3520 6761 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3521 6761 : rtx x2;
3522 6761 : int res ATTRIBUTE_UNUSED;
3523 6761 : if (!register_operand (operands[0], i1)
3524 6761 : || GET_MODE (x1) != i1)
3525 : return -1;
3526 6360 : x2 = XEXP (x1, 0);
3527 6360 : if (GET_MODE (x2) != i1
3528 6360 : || !nonimmediate_operand (operands[1], i1)
3529 6298 : || !nonimm_or_0_operand (operands[3], i1)
3530 12572 : || !register_operand (operands[4], i2))
3531 411 : return -1;
3532 : return 0;
3533 : }
3534 :
3535 : int
3536 992 : pattern500 (rtx x1)
3537 : {
3538 992 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3539 992 : rtx x2, x3, x4, x5, x6;
3540 992 : int res ATTRIBUTE_UNUSED;
3541 992 : x2 = XEXP (x1, 0);
3542 992 : if (GET_MODE (x2) != E_V16QImode
3543 840 : || !register_operand (operands[0], E_V16QImode)
3544 1832 : || GET_MODE (x1) != E_V16QImode)
3545 : return -1;
3546 840 : x3 = XVECEXP (x2, 0, 0);
3547 840 : operands[1] = x3;
3548 840 : if (!register_operand (operands[1], E_V16SImode))
3549 : return -1;
3550 840 : x4 = XVECEXP (x2, 0, 1);
3551 840 : operands[2] = x4;
3552 840 : if (!nonimmediate_operand (operands[2], E_V16SFmode))
3553 : return -1;
3554 840 : x5 = XEXP (x1, 1);
3555 840 : operands[3] = x5;
3556 840 : if (!nonimm_or_0_operand (operands[3], E_V16QImode))
3557 : return -1;
3558 840 : x6 = XEXP (x1, 2);
3559 840 : operands[4] = x6;
3560 840 : if (!register_operand (operands[4], E_HImode))
3561 8 : return -1;
3562 : return 0;
3563 : }
3564 :
3565 : int
3566 761 : pattern507 (rtx x1, machine_mode i1)
3567 : {
3568 761 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3569 761 : rtx x2;
3570 761 : int res ATTRIBUTE_UNUSED;
3571 761 : if (!register_operand (operands[0], i1)
3572 761 : || GET_MODE (x1) != i1)
3573 : return -1;
3574 711 : x2 = XEXP (x1, 0);
3575 711 : if (GET_MODE (x2) != i1
3576 711 : || !register_operand (operands[1], i1)
3577 711 : || !register_operand (operands[2], i1)
3578 1396 : || !nonimmediate_operand (operands[3], i1))
3579 26 : return -1;
3580 : return 0;
3581 : }
3582 :
3583 : int
3584 4225 : pattern510 (rtx x1)
3585 : {
3586 4225 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3587 4225 : rtx x2, x3, x4, x5, x6, x7;
3588 4225 : int res ATTRIBUTE_UNUSED;
3589 4225 : x2 = XEXP (x1, 0);
3590 4225 : x3 = XVECEXP (x2, 0, 0);
3591 4225 : operands[1] = x3;
3592 4225 : x4 = XVECEXP (x2, 0, 1);
3593 4225 : operands[2] = x4;
3594 4225 : x5 = XVECEXP (x2, 0, 2);
3595 4225 : operands[3] = x5;
3596 4225 : if (!const_0_to_255_operand (operands[3], E_SImode))
3597 : return -1;
3598 4225 : x6 = XEXP (x1, 1);
3599 4225 : operands[4] = x6;
3600 4225 : x7 = XEXP (x1, 2);
3601 4225 : operands[5] = x7;
3602 4225 : switch (GET_MODE (operands[0]))
3603 : {
3604 400 : case E_V32HImode:
3605 400 : return pattern509 (x1,
3606 : E_V32HImode,
3607 400 : E_SImode); /* [-1, 0] */
3608 :
3609 509 : case E_V16SImode:
3610 509 : if (pattern509 (x1,
3611 : E_V16SImode,
3612 : E_HImode) != 0)
3613 64 : return -1;
3614 : return 1;
3615 :
3616 536 : case E_V8DImode:
3617 536 : if (pattern509 (x1,
3618 : E_V8DImode,
3619 : E_QImode) != 0)
3620 88 : return -1;
3621 : return 2;
3622 :
3623 434 : case E_V16HImode:
3624 434 : if (pattern509 (x1,
3625 : E_V16HImode,
3626 : E_HImode) != 0)
3627 27 : return -1;
3628 : return 3;
3629 :
3630 488 : case E_V8SImode:
3631 488 : if (pattern509 (x1,
3632 : E_V8SImode,
3633 : E_QImode) != 0)
3634 58 : return -1;
3635 : return 4;
3636 :
3637 502 : case E_V4DImode:
3638 502 : if (pattern509 (x1,
3639 : E_V4DImode,
3640 : E_QImode) != 0)
3641 70 : return -1;
3642 : return 5;
3643 :
3644 426 : case E_V8HImode:
3645 426 : if (pattern509 (x1,
3646 : E_V8HImode,
3647 : E_QImode) != 0)
3648 18 : return -1;
3649 : return 6;
3650 :
3651 458 : case E_V4SImode:
3652 458 : if (pattern509 (x1,
3653 : E_V4SImode,
3654 : E_QImode) != 0)
3655 30 : return -1;
3656 : return 7;
3657 :
3658 472 : case E_V2DImode:
3659 472 : if (pattern509 (x1,
3660 : E_V2DImode,
3661 : E_QImode) != 0)
3662 42 : return -1;
3663 : return 8;
3664 :
3665 : default:
3666 : return -1;
3667 : }
3668 : }
3669 :
3670 : int
3671 66052 : pattern519 (rtx x1)
3672 : {
3673 66052 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3674 66052 : rtx x2, x3;
3675 66052 : int res ATTRIBUTE_UNUSED;
3676 66052 : x2 = XEXP (x1, 2);
3677 66052 : switch (GET_CODE (x2))
3678 : {
3679 26971 : case REG:
3680 26971 : case SUBREG:
3681 26971 : operands[4] = x2;
3682 26971 : x3 = XEXP (x1, 1);
3683 26971 : operands[3] = x3;
3684 26971 : switch (GET_MODE (operands[0]))
3685 : {
3686 443 : case E_V32HFmode:
3687 443 : return pattern518 (x1,
3688 : E_V32HFmode,
3689 443 : E_SImode); /* [-1, 0] */
3690 :
3691 491 : case E_V16HFmode:
3692 491 : if (pattern518 (x1,
3693 : E_V16HFmode,
3694 : E_HImode) != 0)
3695 18 : return -1;
3696 : return 1;
3697 :
3698 425 : case E_V8HFmode:
3699 425 : if (pattern518 (x1,
3700 : E_V8HFmode,
3701 : E_QImode) != 0)
3702 18 : return -1;
3703 : return 2;
3704 :
3705 1121 : case E_V16SFmode:
3706 1121 : if (pattern518 (x1,
3707 : E_V16SFmode,
3708 : E_HImode) != 0)
3709 316 : return -1;
3710 : return 3;
3711 :
3712 605 : case E_V8SFmode:
3713 605 : if (pattern518 (x1,
3714 : E_V8SFmode,
3715 : E_QImode) != 0)
3716 95 : return -1;
3717 : return 4;
3718 :
3719 455 : case E_V4SFmode:
3720 455 : if (pattern518 (x1,
3721 : E_V4SFmode,
3722 : E_QImode) != 0)
3723 44 : return -1;
3724 : return 5;
3725 :
3726 2451 : case E_V8DFmode:
3727 2451 : if (pattern518 (x1,
3728 : E_V8DFmode,
3729 : E_QImode) != 0)
3730 547 : return -1;
3731 : return 6;
3732 :
3733 950 : case E_V4DFmode:
3734 950 : if (pattern518 (x1,
3735 : E_V4DFmode,
3736 : E_QImode) != 0)
3737 234 : return -1;
3738 : return 7;
3739 :
3740 505 : case E_V2DFmode:
3741 505 : if (pattern518 (x1,
3742 : E_V2DFmode,
3743 : E_QImode) != 0)
3744 30 : return -1;
3745 : return 8;
3746 :
3747 4683 : case E_V16SImode:
3748 4683 : if (pattern168 (x1,
3749 : E_V16SImode,
3750 : E_HImode) != 0)
3751 2288 : return -1;
3752 : return 9;
3753 :
3754 3916 : case E_V8SImode:
3755 3916 : if (pattern168 (x1,
3756 : E_V8SImode,
3757 : E_QImode) != 0)
3758 1878 : return -1;
3759 : return 10;
3760 :
3761 4815 : case E_V4SImode:
3762 4815 : if (pattern168 (x1,
3763 : E_V4SImode,
3764 : E_QImode) != 0)
3765 2606 : return -1;
3766 : return 11;
3767 :
3768 686 : case E_V8DImode:
3769 686 : if (pattern168 (x1,
3770 : E_V8DImode,
3771 : E_QImode) != 0)
3772 107 : return -1;
3773 : return 12;
3774 :
3775 626 : case E_V4DImode:
3776 626 : if (pattern168 (x1,
3777 : E_V4DImode,
3778 : E_QImode) != 0)
3779 131 : return -1;
3780 : return 13;
3781 :
3782 379 : case E_V2DImode:
3783 379 : if (pattern168 (x1,
3784 : E_V2DImode,
3785 : E_QImode) != 0)
3786 13 : return -1;
3787 : return 14;
3788 :
3789 674 : case E_V64QImode:
3790 674 : if (pattern168 (x1,
3791 : E_V64QImode,
3792 : E_DImode) != 0)
3793 98 : return -1;
3794 : return 15;
3795 :
3796 352 : case E_V16QImode:
3797 352 : if (pattern168 (x1,
3798 : E_V16QImode,
3799 : E_HImode) != 0)
3800 2 : return -1;
3801 : return 16;
3802 :
3803 508 : case E_V32QImode:
3804 508 : if (pattern168 (x1,
3805 : E_V32QImode,
3806 : E_SImode) != 0)
3807 126 : return -1;
3808 : return 17;
3809 :
3810 674 : case E_V32HImode:
3811 674 : if (pattern168 (x1,
3812 : E_V32HImode,
3813 : E_SImode) != 0)
3814 98 : return -1;
3815 : return 18;
3816 :
3817 640 : case E_V16HImode:
3818 640 : if (pattern168 (x1,
3819 : E_V16HImode,
3820 : E_HImode) != 0)
3821 182 : return -1;
3822 : return 19;
3823 :
3824 352 : case E_V8HImode:
3825 352 : if (pattern168 (x1,
3826 : E_V8HImode,
3827 : E_QImode) != 0)
3828 2 : return -1;
3829 : return 20;
3830 :
3831 408 : case E_V32BFmode:
3832 408 : if (pattern170 (x1,
3833 : E_V32BFmode,
3834 : E_SImode) != 0)
3835 18 : return -1;
3836 : return 21;
3837 :
3838 408 : case E_V16BFmode:
3839 408 : if (pattern170 (x1,
3840 : E_V16BFmode,
3841 : E_HImode) != 0)
3842 18 : return -1;
3843 : return 22;
3844 :
3845 404 : case E_V8BFmode:
3846 404 : if (pattern170 (x1,
3847 : E_V8BFmode,
3848 : E_QImode) != 0)
3849 14 : return -1;
3850 : return 23;
3851 :
3852 : default:
3853 : return -1;
3854 : }
3855 :
3856 36496 : case CONST_INT:
3857 36496 : res = pattern172 (x1);
3858 36496 : if (res >= 0)
3859 404 : return res + 24; /* [24, 26] */
3860 : return -1;
3861 :
3862 : default:
3863 : return -1;
3864 : }
3865 : }
3866 :
3867 : int
3868 1670 : pattern537 (rtx x1, machine_mode i1, machine_mode i2)
3869 : {
3870 1670 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3871 1670 : rtx x2, x3, x4;
3872 1670 : int res ATTRIBUTE_UNUSED;
3873 1670 : if (!register_operand (operands[0], i1)
3874 1670 : || GET_MODE (x1) != i1)
3875 : return -1;
3876 1656 : x2 = XEXP (x1, 0);
3877 1656 : if (GET_MODE (x2) != i2)
3878 : return -1;
3879 1656 : x3 = XEXP (x2, 0);
3880 1656 : if (GET_MODE (x3) != i2)
3881 : return -1;
3882 1656 : x4 = XEXP (x2, 1);
3883 1656 : if (GET_MODE (x4) != i2
3884 1656 : || !nonimm_or_0_operand (operands[2], i1))
3885 : return -1;
3886 1640 : switch (GET_MODE (operands[1]))
3887 : {
3888 815 : case E_V4SImode:
3889 815 : if (!register_operand (operands[1], E_V4SImode))
3890 0 : return -1;
3891 : return 0;
3892 :
3893 825 : case E_V4DImode:
3894 825 : if (!register_operand (operands[1], E_V4DImode))
3895 0 : return -1;
3896 : return 1;
3897 :
3898 : default:
3899 : return -1;
3900 : }
3901 : }
3902 :
3903 : int
3904 5959 : pattern541 (rtx x1)
3905 : {
3906 5959 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3907 5959 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3908 5959 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
3909 5959 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
3910 5959 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
3911 5959 : rtx x34, x35, x36, x37, x38, x39;
3912 5959 : int res ATTRIBUTE_UNUSED;
3913 5959 : x2 = XEXP (x1, 1);
3914 5959 : if (GET_CODE (x2) != CONST_VECTOR)
3915 : return -1;
3916 5959 : x3 = XEXP (x1, 0);
3917 5959 : x4 = XEXP (x3, 0);
3918 5959 : x5 = XEXP (x4, 0);
3919 5959 : operands[1] = x5;
3920 5959 : x6 = XEXP (x3, 1);
3921 5959 : switch (GET_CODE (x6))
3922 : {
3923 4128 : case VEC_SELECT:
3924 4128 : x7 = XEXP (x6, 1);
3925 4128 : if (GET_CODE (x7) != PARALLEL)
3926 : return -1;
3927 4128 : x8 = XEXP (x6, 0);
3928 4128 : operands[2] = x8;
3929 4128 : x9 = XEXP (x3, 2);
3930 4128 : operands[3] = x9;
3931 4128 : switch (XVECLEN (x7, 0))
3932 : {
3933 1222 : case 2:
3934 1222 : x10 = XVECEXP (x7, 0, 0);
3935 1222 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3936 : return -1;
3937 1222 : x11 = XVECEXP (x7, 0, 1);
3938 1222 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
3939 1222 : || !register_operand (operands[1], E_V2DImode))
3940 : return -1;
3941 1222 : switch (XVECLEN (x2, 0))
3942 : {
3943 411 : case 14:
3944 411 : if (GET_MODE (x2) != E_V14QImode)
3945 : return -1;
3946 411 : x12 = XVECEXP (x2, 0, 0);
3947 411 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3948 : return -1;
3949 411 : x13 = XVECEXP (x2, 0, 1);
3950 411 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3951 : return -1;
3952 411 : x14 = XVECEXP (x2, 0, 2);
3953 411 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3954 : return -1;
3955 411 : x15 = XVECEXP (x2, 0, 3);
3956 411 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3957 : return -1;
3958 411 : x16 = XVECEXP (x2, 0, 4);
3959 411 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3960 : return -1;
3961 411 : x17 = XVECEXP (x2, 0, 5);
3962 411 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3963 : return -1;
3964 411 : x18 = XVECEXP (x2, 0, 6);
3965 411 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3966 : return -1;
3967 411 : x19 = XVECEXP (x2, 0, 7);
3968 411 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3969 : return -1;
3970 411 : x20 = XVECEXP (x2, 0, 8);
3971 411 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3972 : return -1;
3973 411 : x21 = XVECEXP (x2, 0, 9);
3974 411 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3975 : return -1;
3976 411 : x22 = XVECEXP (x2, 0, 10);
3977 411 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3978 : return -1;
3979 411 : x23 = XVECEXP (x2, 0, 11);
3980 411 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3981 : return -1;
3982 411 : x24 = XVECEXP (x2, 0, 12);
3983 411 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3984 : return -1;
3985 411 : x25 = XVECEXP (x2, 0, 13);
3986 411 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
3987 411 : || pattern536 (x1,
3988 : E_V16QImode,
3989 : E_V2QImode) != 0)
3990 11 : return -1;
3991 : return 0;
3992 :
3993 418 : case 6:
3994 418 : if (GET_MODE (x2) != E_V6HImode)
3995 : return -1;
3996 418 : x12 = XVECEXP (x2, 0, 0);
3997 418 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3998 : return -1;
3999 418 : x13 = XVECEXP (x2, 0, 1);
4000 418 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4001 : return -1;
4002 418 : x14 = XVECEXP (x2, 0, 2);
4003 418 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4004 : return -1;
4005 418 : x15 = XVECEXP (x2, 0, 3);
4006 418 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4007 : return -1;
4008 418 : x16 = XVECEXP (x2, 0, 4);
4009 418 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4010 : return -1;
4011 418 : x17 = XVECEXP (x2, 0, 5);
4012 418 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4013 418 : || pattern536 (x1,
4014 : E_V8HImode,
4015 : E_V2HImode) != 0)
4016 17 : return -1;
4017 : return 1;
4018 :
4019 393 : case 2:
4020 393 : if (GET_MODE (x2) != E_V2SImode)
4021 : return -1;
4022 393 : x12 = XVECEXP (x2, 0, 0);
4023 393 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4024 : return -1;
4025 393 : x13 = XVECEXP (x2, 0, 1);
4026 393 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4027 393 : || pattern536 (x1,
4028 : E_V4SImode,
4029 : E_V2SImode) != 0)
4030 3 : return -1;
4031 : return 2;
4032 :
4033 : default:
4034 : return -1;
4035 : }
4036 :
4037 1670 : case 4:
4038 1670 : x10 = XVECEXP (x7, 0, 0);
4039 1670 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4040 : return -1;
4041 1670 : x11 = XVECEXP (x7, 0, 1);
4042 1670 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4043 : return -1;
4044 1670 : x26 = XVECEXP (x7, 0, 2);
4045 1670 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
4046 : return -1;
4047 1670 : x27 = XVECEXP (x7, 0, 3);
4048 1670 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
4049 : return -1;
4050 1670 : switch (XVECLEN (x2, 0))
4051 : {
4052 824 : case 12:
4053 824 : if (GET_MODE (x2) != E_V12QImode)
4054 : return -1;
4055 824 : x12 = XVECEXP (x2, 0, 0);
4056 824 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4057 : return -1;
4058 824 : x13 = XVECEXP (x2, 0, 1);
4059 824 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4060 : return -1;
4061 824 : x14 = XVECEXP (x2, 0, 2);
4062 824 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4063 : return -1;
4064 824 : x15 = XVECEXP (x2, 0, 3);
4065 824 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4066 : return -1;
4067 824 : x16 = XVECEXP (x2, 0, 4);
4068 824 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4069 : return -1;
4070 824 : x17 = XVECEXP (x2, 0, 5);
4071 824 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4072 : return -1;
4073 824 : x18 = XVECEXP (x2, 0, 6);
4074 824 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4075 : return -1;
4076 824 : x19 = XVECEXP (x2, 0, 7);
4077 824 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4078 : return -1;
4079 824 : x20 = XVECEXP (x2, 0, 8);
4080 824 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4081 : return -1;
4082 824 : x21 = XVECEXP (x2, 0, 9);
4083 824 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4084 : return -1;
4085 824 : x22 = XVECEXP (x2, 0, 10);
4086 824 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4087 : return -1;
4088 824 : x23 = XVECEXP (x2, 0, 11);
4089 824 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4090 : return -1;
4091 824 : res = pattern537 (x1,
4092 : E_V16QImode,
4093 : E_V4QImode);
4094 824 : if (res >= 0)
4095 805 : return res + 3; /* [3, 4] */
4096 : return -1;
4097 :
4098 846 : case 4:
4099 846 : if (GET_MODE (x2) != E_V4HImode)
4100 : return -1;
4101 846 : x12 = XVECEXP (x2, 0, 0);
4102 846 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4103 : return -1;
4104 846 : x13 = XVECEXP (x2, 0, 1);
4105 846 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4106 : return -1;
4107 846 : x14 = XVECEXP (x2, 0, 2);
4108 846 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4109 : return -1;
4110 846 : x15 = XVECEXP (x2, 0, 3);
4111 846 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4112 : return -1;
4113 846 : res = pattern537 (x1,
4114 : E_V8HImode,
4115 : E_V4HImode);
4116 846 : if (res >= 0)
4117 835 : return res + 5; /* [5, 6] */
4118 : return -1;
4119 :
4120 : default:
4121 : return -1;
4122 : }
4123 :
4124 1236 : case 8:
4125 1236 : x10 = XVECEXP (x7, 0, 0);
4126 1236 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4127 : return -1;
4128 1236 : x11 = XVECEXP (x7, 0, 1);
4129 1236 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4130 : return -1;
4131 1236 : x26 = XVECEXP (x7, 0, 2);
4132 1236 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
4133 : return -1;
4134 1236 : x27 = XVECEXP (x7, 0, 3);
4135 1236 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
4136 : return -1;
4137 1236 : x28 = XVECEXP (x7, 0, 4);
4138 1236 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
4139 : return -1;
4140 1236 : x29 = XVECEXP (x7, 0, 5);
4141 1236 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
4142 : return -1;
4143 1236 : x30 = XVECEXP (x7, 0, 6);
4144 1236 : if (x30 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
4145 : return -1;
4146 1236 : x31 = XVECEXP (x7, 0, 7);
4147 1236 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
4148 1236 : || XVECLEN (x2, 0) != 8
4149 1236 : || GET_MODE (x2) != E_V8QImode)
4150 : return -1;
4151 1236 : x12 = XVECEXP (x2, 0, 0);
4152 1236 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4153 : return -1;
4154 1236 : x13 = XVECEXP (x2, 0, 1);
4155 1236 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4156 : return -1;
4157 1236 : x14 = XVECEXP (x2, 0, 2);
4158 1236 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4159 : return -1;
4160 1236 : x15 = XVECEXP (x2, 0, 3);
4161 1236 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4162 : return -1;
4163 1236 : x16 = XVECEXP (x2, 0, 4);
4164 1236 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4165 : return -1;
4166 1236 : x17 = XVECEXP (x2, 0, 5);
4167 1236 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4168 : return -1;
4169 1236 : x18 = XVECEXP (x2, 0, 6);
4170 1236 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4171 : return -1;
4172 1236 : x19 = XVECEXP (x2, 0, 7);
4173 1236 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4174 1236 : || !register_operand (operands[0], E_V16QImode)
4175 1218 : || GET_MODE (x1) != E_V16QImode
4176 1218 : || GET_MODE (x3) != E_V8QImode
4177 1218 : || GET_MODE (x4) != E_V8QImode
4178 1218 : || GET_MODE (x6) != E_V8QImode
4179 2454 : || !nonimm_or_0_operand (operands[2], E_V16QImode))
4180 : return -1;
4181 1218 : res = pattern538 ();
4182 1218 : if (res >= 0)
4183 1218 : return res + 7; /* [7, 9] */
4184 : return -1;
4185 :
4186 : default:
4187 : return -1;
4188 : }
4189 :
4190 1831 : case CONST_VECTOR:
4191 1831 : x9 = XEXP (x3, 2);
4192 1831 : operands[2] = x9;
4193 1831 : switch (XVECLEN (x6, 0))
4194 : {
4195 561 : case 2:
4196 561 : x32 = XVECEXP (x6, 0, 0);
4197 561 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4198 : return -1;
4199 540 : x33 = XVECEXP (x6, 0, 1);
4200 540 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4201 540 : || !register_operand (operands[1], E_V2DImode))
4202 : return -1;
4203 540 : switch (XVECLEN (x2, 0))
4204 : {
4205 180 : case 14:
4206 180 : if (GET_MODE (x2) != E_V14QImode)
4207 : return -1;
4208 180 : x12 = XVECEXP (x2, 0, 0);
4209 180 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4210 : return -1;
4211 180 : x13 = XVECEXP (x2, 0, 1);
4212 180 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4213 : return -1;
4214 180 : x14 = XVECEXP (x2, 0, 2);
4215 180 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4216 : return -1;
4217 180 : x15 = XVECEXP (x2, 0, 3);
4218 180 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4219 : return -1;
4220 180 : x16 = XVECEXP (x2, 0, 4);
4221 180 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4222 : return -1;
4223 180 : x17 = XVECEXP (x2, 0, 5);
4224 180 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4225 : return -1;
4226 180 : x18 = XVECEXP (x2, 0, 6);
4227 180 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4228 : return -1;
4229 180 : x19 = XVECEXP (x2, 0, 7);
4230 180 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4231 : return -1;
4232 180 : x20 = XVECEXP (x2, 0, 8);
4233 180 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4234 : return -1;
4235 180 : x21 = XVECEXP (x2, 0, 9);
4236 180 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4237 : return -1;
4238 180 : x22 = XVECEXP (x2, 0, 10);
4239 180 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4240 : return -1;
4241 180 : x23 = XVECEXP (x2, 0, 11);
4242 180 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4243 : return -1;
4244 180 : x24 = XVECEXP (x2, 0, 12);
4245 180 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4246 : return -1;
4247 180 : x25 = XVECEXP (x2, 0, 13);
4248 180 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4249 180 : || pattern539 (x1,
4250 : E_V2QImode,
4251 : E_V16QImode) != 0)
4252 0 : return -1;
4253 : return 10;
4254 :
4255 180 : case 6:
4256 180 : if (GET_MODE (x2) != E_V6HImode)
4257 : return -1;
4258 180 : x12 = XVECEXP (x2, 0, 0);
4259 180 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4260 : return -1;
4261 180 : x13 = XVECEXP (x2, 0, 1);
4262 180 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4263 : return -1;
4264 180 : x14 = XVECEXP (x2, 0, 2);
4265 180 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4266 : return -1;
4267 180 : x15 = XVECEXP (x2, 0, 3);
4268 180 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4269 : return -1;
4270 180 : x16 = XVECEXP (x2, 0, 4);
4271 180 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4272 : return -1;
4273 180 : x17 = XVECEXP (x2, 0, 5);
4274 180 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4275 180 : || pattern539 (x1,
4276 : E_V2HImode,
4277 : E_V8HImode) != 0)
4278 0 : return -1;
4279 : return 11;
4280 :
4281 180 : case 2:
4282 180 : if (GET_MODE (x2) != E_V2SImode)
4283 : return -1;
4284 180 : x12 = XVECEXP (x2, 0, 0);
4285 180 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4286 : return -1;
4287 180 : x13 = XVECEXP (x2, 0, 1);
4288 180 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4289 180 : || pattern539 (x1,
4290 : E_V2SImode,
4291 : E_V4SImode) != 0)
4292 0 : return -1;
4293 : return 12;
4294 :
4295 : default:
4296 : return -1;
4297 : }
4298 :
4299 730 : case 4:
4300 730 : x32 = XVECEXP (x6, 0, 0);
4301 730 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4302 : return -1;
4303 720 : x33 = XVECEXP (x6, 0, 1);
4304 720 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4305 : return -1;
4306 720 : x34 = XVECEXP (x6, 0, 2);
4307 720 : if (x34 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4308 : return -1;
4309 720 : x35 = XVECEXP (x6, 0, 3);
4310 720 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4311 : return -1;
4312 720 : switch (XVECLEN (x2, 0))
4313 : {
4314 360 : case 12:
4315 360 : if (GET_MODE (x2) != E_V12QImode)
4316 : return -1;
4317 360 : x12 = XVECEXP (x2, 0, 0);
4318 360 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4319 : return -1;
4320 360 : x13 = XVECEXP (x2, 0, 1);
4321 360 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4322 : return -1;
4323 360 : x14 = XVECEXP (x2, 0, 2);
4324 360 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4325 : return -1;
4326 360 : x15 = XVECEXP (x2, 0, 3);
4327 360 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4328 : return -1;
4329 360 : x16 = XVECEXP (x2, 0, 4);
4330 360 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4331 : return -1;
4332 360 : x17 = XVECEXP (x2, 0, 5);
4333 360 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4334 : return -1;
4335 360 : x18 = XVECEXP (x2, 0, 6);
4336 360 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4337 : return -1;
4338 360 : x19 = XVECEXP (x2, 0, 7);
4339 360 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4340 : return -1;
4341 360 : x20 = XVECEXP (x2, 0, 8);
4342 360 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4343 : return -1;
4344 360 : x21 = XVECEXP (x2, 0, 9);
4345 360 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4346 : return -1;
4347 360 : x22 = XVECEXP (x2, 0, 10);
4348 360 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4349 : return -1;
4350 360 : x23 = XVECEXP (x2, 0, 11);
4351 360 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4352 : return -1;
4353 360 : res = pattern540 (x1,
4354 : E_V4QImode,
4355 : E_V16QImode);
4356 360 : if (res >= 0)
4357 360 : return res + 13; /* [13, 14] */
4358 : return -1;
4359 :
4360 360 : case 4:
4361 360 : if (GET_MODE (x2) != E_V4HImode)
4362 : return -1;
4363 360 : x12 = XVECEXP (x2, 0, 0);
4364 360 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4365 : return -1;
4366 360 : x13 = XVECEXP (x2, 0, 1);
4367 360 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4368 : return -1;
4369 360 : x14 = XVECEXP (x2, 0, 2);
4370 360 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4371 : return -1;
4372 360 : x15 = XVECEXP (x2, 0, 3);
4373 360 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4374 : return -1;
4375 360 : res = pattern540 (x1,
4376 : E_V4HImode,
4377 : E_V8HImode);
4378 360 : if (res >= 0)
4379 360 : return res + 15; /* [15, 16] */
4380 : return -1;
4381 :
4382 : default:
4383 : return -1;
4384 : }
4385 :
4386 540 : case 8:
4387 540 : if (GET_MODE (x6) != E_V8QImode)
4388 : return -1;
4389 540 : x32 = XVECEXP (x6, 0, 0);
4390 540 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4391 : return -1;
4392 540 : x33 = XVECEXP (x6, 0, 1);
4393 540 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4394 : return -1;
4395 540 : x34 = XVECEXP (x6, 0, 2);
4396 540 : if (x34 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4397 : return -1;
4398 540 : x35 = XVECEXP (x6, 0, 3);
4399 540 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4400 : return -1;
4401 540 : x36 = XVECEXP (x6, 0, 4);
4402 540 : if (x36 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4403 : return -1;
4404 540 : x37 = XVECEXP (x6, 0, 5);
4405 540 : if (x37 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4406 : return -1;
4407 540 : x38 = XVECEXP (x6, 0, 6);
4408 540 : if (x38 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4409 : return -1;
4410 540 : x39 = XVECEXP (x6, 0, 7);
4411 540 : if (x39 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4412 540 : || XVECLEN (x2, 0) != 8
4413 540 : || GET_MODE (x2) != E_V8QImode)
4414 : return -1;
4415 540 : x12 = XVECEXP (x2, 0, 0);
4416 540 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4417 : return -1;
4418 540 : x13 = XVECEXP (x2, 0, 1);
4419 540 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4420 : return -1;
4421 540 : x14 = XVECEXP (x2, 0, 2);
4422 540 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4423 : return -1;
4424 540 : x15 = XVECEXP (x2, 0, 3);
4425 540 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4426 : return -1;
4427 540 : x16 = XVECEXP (x2, 0, 4);
4428 540 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4429 : return -1;
4430 540 : x17 = XVECEXP (x2, 0, 5);
4431 540 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4432 : return -1;
4433 540 : x18 = XVECEXP (x2, 0, 6);
4434 540 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4435 : return -1;
4436 540 : x19 = XVECEXP (x2, 0, 7);
4437 540 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4438 540 : || !register_operand (operands[0], E_V16QImode)
4439 540 : || GET_MODE (x1) != E_V16QImode
4440 540 : || GET_MODE (x3) != E_V8QImode
4441 1080 : || GET_MODE (x4) != E_V8QImode)
4442 : return -1;
4443 540 : res = pattern538 ();
4444 540 : if (res >= 0)
4445 540 : return res + 17; /* [17, 19] */
4446 : return -1;
4447 :
4448 : default:
4449 : return -1;
4450 : }
4451 :
4452 : default:
4453 : return -1;
4454 : }
4455 : }
4456 :
4457 : int
4458 7706 : pattern665 (rtx x1)
4459 : {
4460 7706 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4461 7706 : rtx x2, x3, x4, x5, x6, x7, x8;
4462 7706 : int res ATTRIBUTE_UNUSED;
4463 7706 : x2 = XEXP (x1, 2);
4464 7706 : operands[3] = x2;
4465 7706 : x3 = XEXP (x1, 0);
4466 7706 : x4 = XVECEXP (x3, 0, 0);
4467 7706 : switch (GET_CODE (x4))
4468 : {
4469 7182 : case REG:
4470 7182 : case SUBREG:
4471 7182 : case MEM:
4472 7182 : operands[1] = x4;
4473 7182 : switch (GET_MODE (operands[0]))
4474 : {
4475 : case E_V32HImode:
4476 : return 0;
4477 :
4478 366 : case E_V16SImode:
4479 366 : return 1;
4480 :
4481 662 : case E_V8DImode:
4482 662 : return 2;
4483 :
4484 486 : case E_V16HImode:
4485 486 : return 3;
4486 :
4487 1154 : case E_V8SImode:
4488 1154 : return 4;
4489 :
4490 1536 : case E_V4DImode:
4491 1536 : return 5;
4492 :
4493 486 : case E_V8HImode:
4494 486 : return 6;
4495 :
4496 1376 : case E_V4SImode:
4497 1376 : return 7;
4498 :
4499 936 : case E_V2DImode:
4500 936 : return 8;
4501 :
4502 : default:
4503 : return -1;
4504 : }
4505 :
4506 492 : case VEC_SELECT:
4507 492 : if (GET_MODE (x4) != E_V2SFmode)
4508 : return -1;
4509 492 : x5 = XEXP (x4, 1);
4510 492 : if (GET_CODE (x5) != PARALLEL
4511 492 : || XVECLEN (x5, 0) != 2)
4512 : return -1;
4513 492 : x6 = XVECEXP (x5, 0, 0);
4514 492 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4515 : return -1;
4516 492 : x7 = XVECEXP (x5, 0, 1);
4517 492 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
4518 492 : || !register_operand (operands[0], E_V2DImode)
4519 472 : || GET_MODE (x1) != E_V2DImode
4520 964 : || GET_MODE (x3) != E_V2DImode)
4521 : return -1;
4522 472 : x8 = XEXP (x4, 0);
4523 472 : operands[1] = x8;
4524 472 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
4525 468 : || !nonimm_or_0_operand (operands[2], E_V2DImode)
4526 928 : || !register_operand (operands[3], E_QImode))
4527 : return -1;
4528 : return 9;
4529 :
4530 : default:
4531 : return -1;
4532 : }
4533 : }
4534 :
4535 : int
4536 23875 : pattern678 (rtx x1)
4537 : {
4538 23875 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4539 23875 : rtx x2, x3, x4;
4540 23875 : int res ATTRIBUTE_UNUSED;
4541 23875 : x2 = XEXP (x1, 0);
4542 23875 : x3 = XEXP (x2, 2);
4543 23875 : switch (GET_CODE (x3))
4544 : {
4545 12046 : case REG:
4546 12046 : case SUBREG:
4547 12046 : case MEM:
4548 12046 : case VEC_DUPLICATE:
4549 12046 : operands[3] = x3;
4550 12046 : return pattern677 (x1); /* [-1, 28] */
4551 :
4552 11248 : case NEG:
4553 11248 : x4 = XEXP (x3, 0);
4554 11248 : operands[3] = x4;
4555 11248 : return 29;
4556 :
4557 : default:
4558 : return -1;
4559 : }
4560 : }
4561 :
4562 : int
4563 331 : pattern681 (rtx x1, machine_mode i1)
4564 : {
4565 331 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4566 331 : int res ATTRIBUTE_UNUSED;
4567 331 : if (!register_operand (operands[0], i1)
4568 331 : || GET_MODE (x1) != i1)
4569 : return -1;
4570 306 : switch (GET_MODE (operands[1]))
4571 : {
4572 148 : case E_V16HFmode:
4573 148 : if (!vector_operand (operands[1], E_V16HFmode))
4574 10 : return -1;
4575 : return 0;
4576 :
4577 158 : case E_V16SFmode:
4578 158 : if (!vector_operand (operands[1], E_V16SFmode))
4579 8 : return -1;
4580 : return 1;
4581 :
4582 : default:
4583 : return -1;
4584 : }
4585 : }
4586 :
4587 : int
4588 4028 : pattern685 (rtx x1, machine_mode i1, machine_mode i2)
4589 : {
4590 4028 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4591 4028 : rtx x2, x3;
4592 4028 : int res ATTRIBUTE_UNUSED;
4593 4028 : if (!register_operand (operands[0], i1)
4594 4028 : || GET_MODE (x1) != i1)
4595 : return -1;
4596 3938 : x2 = XVECEXP (x1, 0, 0);
4597 3938 : if (GET_MODE (x2) != i1)
4598 : return -1;
4599 3938 : x3 = XEXP (x2, 0);
4600 3938 : if (GET_MODE (x3) != i1
4601 3938 : || !register_operand (operands[1], i1)
4602 3898 : || !register_operand (operands[2], i1)
4603 3866 : || !nonimm_or_0_operand (operands[3], i1)
4604 7802 : || !register_operand (operands[4], i2))
4605 74 : return -1;
4606 : return 0;
4607 : }
4608 :
4609 : int
4610 4835 : pattern688 (rtx x1)
4611 : {
4612 4835 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4613 4835 : rtx x2, x3, x4, x5, x6, x7, x8;
4614 4835 : int res ATTRIBUTE_UNUSED;
4615 4835 : x2 = XVECEXP (x1, 0, 0);
4616 4835 : x3 = XEXP (x2, 0);
4617 4835 : x4 = XEXP (x3, 0);
4618 4835 : operands[1] = x4;
4619 4835 : x5 = XEXP (x3, 1);
4620 4835 : operands[2] = x5;
4621 4835 : x6 = XVECEXP (x1, 0, 1);
4622 4835 : if (!const_4_or_8_to_11_operand (x6, E_SImode))
4623 : return -1;
4624 4835 : x7 = XEXP (x2, 2);
4625 4835 : switch (GET_CODE (x7))
4626 : {
4627 3023 : case REG:
4628 3023 : case SUBREG:
4629 3023 : operands[4] = x7;
4630 3023 : x8 = XEXP (x2, 1);
4631 3023 : operands[3] = x8;
4632 3023 : operands[5] = x6;
4633 3023 : switch (GET_MODE (operands[0]))
4634 : {
4635 881 : case E_V32HFmode:
4636 881 : return pattern685 (x1,
4637 : E_V32HFmode,
4638 881 : E_SImode); /* [-1, 0] */
4639 :
4640 0 : case E_V16HFmode:
4641 0 : if (pattern685 (x1,
4642 : E_V16HFmode,
4643 : E_HImode) != 0)
4644 0 : return -1;
4645 : return 1;
4646 :
4647 0 : case E_V8HFmode:
4648 0 : if (pattern685 (x1,
4649 : E_V8HFmode,
4650 : E_QImode) != 0)
4651 0 : return -1;
4652 : return 2;
4653 :
4654 1074 : case E_V16SFmode:
4655 1074 : if (pattern685 (x1,
4656 : E_V16SFmode,
4657 : E_HImode) != 0)
4658 12 : return -1;
4659 : return 3;
4660 :
4661 0 : case E_V8SFmode:
4662 0 : if (pattern685 (x1,
4663 : E_V8SFmode,
4664 : E_QImode) != 0)
4665 0 : return -1;
4666 : return 4;
4667 :
4668 0 : case E_V4SFmode:
4669 0 : if (pattern685 (x1,
4670 : E_V4SFmode,
4671 : E_QImode) != 0)
4672 0 : return -1;
4673 : return 5;
4674 :
4675 1068 : case E_V8DFmode:
4676 1068 : if (pattern685 (x1,
4677 : E_V8DFmode,
4678 : E_QImode) != 0)
4679 12 : return -1;
4680 : return 6;
4681 :
4682 0 : case E_V4DFmode:
4683 0 : if (pattern685 (x1,
4684 : E_V4DFmode,
4685 : E_QImode) != 0)
4686 0 : return -1;
4687 : return 7;
4688 :
4689 0 : case E_V2DFmode:
4690 0 : if (pattern685 (x1,
4691 : E_V2DFmode,
4692 : E_QImode) != 0)
4693 0 : return -1;
4694 : return 8;
4695 :
4696 : default:
4697 : return -1;
4698 : }
4699 :
4700 1784 : case CONST_INT:
4701 1784 : res = pattern687 (x1);
4702 1784 : if (res >= 0)
4703 1627 : return res + 9; /* [9, 11] */
4704 : return -1;
4705 :
4706 : default:
4707 : return -1;
4708 : }
4709 : }
4710 :
4711 : int
4712 0 : pattern702 (rtx x1, machine_mode i1)
4713 : {
4714 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4715 0 : rtx x2, x3;
4716 0 : int res ATTRIBUTE_UNUSED;
4717 0 : if (!register_operand (operands[0], i1)
4718 0 : || GET_MODE (x1) != i1
4719 0 : || !register_operand (operands[2], i1)
4720 0 : || !vector_operand (operands[1], i1))
4721 : return -1;
4722 0 : x2 = XVECEXP (x1, 0, 2);
4723 0 : if (GET_MODE (x2) != i1)
4724 : return -1;
4725 0 : x3 = XEXP (x2, 0);
4726 0 : if (GET_MODE (x3) != i1
4727 0 : || !vector_all_ones_operand (operands[4], i1))
4728 0 : return -1;
4729 : return 0;
4730 : }
4731 :
4732 : int
4733 667 : pattern705 (rtx x1)
4734 : {
4735 667 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4736 667 : rtx x2;
4737 667 : int res ATTRIBUTE_UNUSED;
4738 667 : x2 = XVECEXP (x1, 0, 2);
4739 667 : operands[3] = x2;
4740 667 : switch (GET_MODE (operands[0]))
4741 : {
4742 163 : case E_V32HFmode:
4743 163 : return pattern704 (x1,
4744 163 : E_V32HFmode); /* [-1, 0] */
4745 :
4746 234 : case E_V16HFmode:
4747 234 : if (pattern704 (x1,
4748 : E_V16HFmode) != 0)
4749 22 : return -1;
4750 : return 1;
4751 :
4752 270 : case E_V8HFmode:
4753 270 : if (pattern704 (x1,
4754 : E_V8HFmode) != 0)
4755 40 : return -1;
4756 : return 2;
4757 :
4758 : default:
4759 : return -1;
4760 : }
4761 : }
4762 :
4763 : int
4764 3562 : pattern711 (rtx x1)
4765 : {
4766 3562 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4767 3562 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4768 3562 : int res ATTRIBUTE_UNUSED;
4769 3562 : x2 = XVECEXP (x1, 0, 0);
4770 3562 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4771 : return -1;
4772 3511 : x3 = XVECEXP (x1, 0, 1);
4773 3511 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4774 : return -1;
4775 3511 : x4 = XVECEXP (x1, 0, 2);
4776 3511 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
4777 : return -1;
4778 3511 : x5 = XVECEXP (x1, 0, 3);
4779 3511 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
4780 : return -1;
4781 3511 : x6 = XVECEXP (x1, 0, 4);
4782 3511 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
4783 : return -1;
4784 3511 : x7 = XVECEXP (x1, 0, 5);
4785 3511 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
4786 : return -1;
4787 3511 : x8 = XVECEXP (x1, 0, 6);
4788 3511 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
4789 : return -1;
4790 3511 : x9 = XVECEXP (x1, 0, 7);
4791 3511 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
4792 0 : return -1;
4793 : return 0;
4794 : }
4795 :
4796 : int
4797 12 : pattern718 (rtx x1, machine_mode i1, machine_mode i2)
4798 : {
4799 12 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4800 12 : rtx x2, x3, x4, x5, x6;
4801 12 : int res ATTRIBUTE_UNUSED;
4802 12 : x2 = XEXP (x1, 0);
4803 12 : x3 = XEXP (x2, 1);
4804 12 : x4 = XVECEXP (x3, 0, 0);
4805 12 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4806 : return -1;
4807 12 : x5 = XVECEXP (x3, 0, 1);
4808 12 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
4809 12 : || !register_operand (operands[0], E_V2DImode)
4810 10 : || GET_MODE (x1) != E_V2DImode
4811 22 : || GET_MODE (x2) != i1)
4812 : return -1;
4813 10 : x6 = XEXP (x2, 0);
4814 10 : if (GET_MODE (x6) != i2)
4815 0 : return -1;
4816 : return 0;
4817 : }
4818 :
4819 : int
4820 2028 : pattern722 (rtx x1, rtx_code i1, machine_mode i2)
4821 : {
4822 2028 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4823 2028 : rtx x2, x3, x4;
4824 2028 : int res ATTRIBUTE_UNUSED;
4825 2028 : x2 = XVECEXP (x1, 0, 0);
4826 2028 : x3 = XEXP (x2, 0);
4827 2028 : if (GET_CODE (x3) != REG
4828 2028 : || REGNO (x3) != 17
4829 4056 : || GET_MODE (x3) != i2)
4830 : return -1;
4831 2028 : x4 = XVECEXP (x1, 0, 1);
4832 2028 : if (GET_CODE (x4) != i1)
4833 438 : return -1;
4834 : return 0;
4835 : }
4836 :
4837 : int
4838 318142 : pattern725 (rtx x1, rtx_code i1)
4839 : {
4840 318142 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4841 318142 : rtx x2, x3, x4, x5, x6, x7;
4842 318142 : int res ATTRIBUTE_UNUSED;
4843 318142 : x2 = XVECEXP (x1, 0, 0);
4844 318142 : x3 = XEXP (x2, 0);
4845 318142 : if (GET_CODE (x3) != REG
4846 318142 : || REGNO (x3) != 17
4847 636238 : || GET_MODE (x3) != E_CCOmode)
4848 : return -1;
4849 318096 : x4 = XVECEXP (x1, 0, 1);
4850 318096 : if (GET_CODE (x4) != SET)
4851 : return -1;
4852 318096 : x5 = XEXP (x4, 1);
4853 318096 : if (GET_CODE (x5) != i1)
4854 : return -1;
4855 305049 : x6 = XEXP (x2, 1);
4856 305049 : if (GET_MODE (x6) != E_CCOmode)
4857 : return -1;
4858 305049 : x7 = XEXP (x4, 0);
4859 305049 : operands[0] = x7;
4860 305049 : return 0;
4861 : }
4862 :
4863 : int
4864 15296 : pattern728 (rtx x1)
4865 : {
4866 15296 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4867 15296 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4868 15296 : int res ATTRIBUTE_UNUSED;
4869 15296 : x2 = XVECEXP (x1, 0, 0);
4870 15296 : x3 = XEXP (x2, 1);
4871 15296 : x4 = XEXP (x3, 1);
4872 15296 : operands[2] = x4;
4873 15296 : x5 = XEXP (x4, 0);
4874 15296 : if (GET_CODE (x5) != REG
4875 15296 : || REGNO (x5) != 17)
4876 : return -1;
4877 13708 : x6 = XEXP (x4, 1);
4878 13708 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4879 : return -1;
4880 13708 : x7 = XVECEXP (x1, 0, 1);
4881 13708 : if (GET_CODE (x7) != CLOBBER)
4882 : return -1;
4883 13598 : x8 = XEXP (x7, 0);
4884 13598 : if (GET_CODE (x8) != REG
4885 13598 : || REGNO (x8) != 17
4886 27196 : || GET_MODE (x8) != E_CCmode)
4887 : return -1;
4888 13598 : x9 = XEXP (x2, 0);
4889 13598 : operands[0] = x9;
4890 13598 : switch (GET_MODE (operands[0]))
4891 : {
4892 : case E_QImode:
4893 : return 0;
4894 :
4895 : case E_HImode:
4896 : return 1;
4897 :
4898 : case E_SImode:
4899 : return 2;
4900 :
4901 : case E_DImode:
4902 : return 3;
4903 :
4904 : default:
4905 : return -1;
4906 : }
4907 : }
4908 :
4909 : int
4910 101917 : pattern735 (rtx x1)
4911 : {
4912 101917 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4913 101917 : int res ATTRIBUTE_UNUSED;
4914 101917 : if (GET_CODE (x1) != REG
4915 101917 : || REGNO (x1) != 17
4916 202533 : || GET_MODE (x1) != E_CCmode)
4917 : return -1;
4918 100616 : switch (GET_MODE (operands[0]))
4919 : {
4920 : case E_DImode:
4921 : return 0;
4922 :
4923 876 : case E_TImode:
4924 876 : return 1;
4925 :
4926 508 : case E_QImode:
4927 508 : return 2;
4928 :
4929 3362 : case E_HImode:
4930 3362 : return 3;
4931 :
4932 17323 : case E_SImode:
4933 17323 : return 4;
4934 :
4935 2213 : case E_SFmode:
4936 2213 : return 5;
4937 :
4938 4775 : case E_DFmode:
4939 4775 : return 6;
4940 :
4941 43985 : case E_XFmode:
4942 43985 : return 7;
4943 :
4944 : default:
4945 : return -1;
4946 : }
4947 : }
4948 :
4949 : int
4950 803 : pattern744 (rtx x1, int i1)
4951 : {
4952 803 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4953 803 : rtx x2, x3, x4, x5, x6, x7, x8;
4954 803 : int res ATTRIBUTE_UNUSED;
4955 803 : x2 = XVECEXP (x1, 0, 0);
4956 803 : x3 = XEXP (x2, 1);
4957 803 : x4 = XVECEXP (x3, 0, 0);
4958 803 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4959 : return -1;
4960 803 : x5 = XVECEXP (x1, 0, 1);
4961 803 : if (GET_CODE (x5) != SET)
4962 : return -1;
4963 803 : x6 = XEXP (x5, 1);
4964 803 : if (GET_CODE (x6) != UNSPEC_VOLATILE
4965 803 : || XVECLEN (x6, 0) != 1
4966 803 : || XINT (x6, 1) != i1
4967 803 : || GET_MODE (x6) != E_CCCmode)
4968 : return -1;
4969 803 : x7 = XVECEXP (x6, 0, 0);
4970 803 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4971 : return -1;
4972 803 : x8 = XEXP (x5, 0);
4973 803 : if (GET_CODE (x8) != REG
4974 803 : || REGNO (x8) != 17
4975 1606 : || GET_MODE (x8) != E_CCCmode)
4976 : return -1;
4977 803 : switch (GET_MODE (operands[0]))
4978 : {
4979 180 : case E_HImode:
4980 180 : if (!register_operand (operands[0], E_HImode)
4981 180 : || GET_MODE (x3) != E_HImode)
4982 20 : return -1;
4983 : return 0;
4984 :
4985 442 : case E_SImode:
4986 442 : if (!register_operand (operands[0], E_SImode)
4987 442 : || GET_MODE (x3) != E_SImode)
4988 42 : return -1;
4989 : return 1;
4990 :
4991 181 : case E_DImode:
4992 181 : if (!register_operand (operands[0], E_DImode)
4993 181 : || GET_MODE (x3) != E_DImode)
4994 20 : return -1;
4995 : return 2;
4996 :
4997 : default:
4998 : return -1;
4999 : }
5000 : }
5001 :
5002 : int
5003 0 : pattern751 (rtx x1)
5004 : {
5005 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5006 0 : rtx x2, x3;
5007 0 : int res ATTRIBUTE_UNUSED;
5008 0 : if (GET_MODE (x1) != E_QImode)
5009 : return -1;
5010 0 : x2 = XEXP (x1, 0);
5011 0 : if (GET_CODE (x2) != REG
5012 0 : || REGNO (x2) != 17)
5013 : return -1;
5014 0 : x3 = XEXP (x1, 1);
5015 0 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5016 0 : return -1;
5017 : return 0;
5018 : }
5019 :
5020 : int
5021 44504 : pattern755 (rtx x1, rtx_code i1)
5022 : {
5023 44504 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5024 44504 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5025 44504 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
5026 44504 : rtx x18;
5027 44504 : int res ATTRIBUTE_UNUSED;
5028 44504 : x2 = XVECEXP (x1, 0, 0);
5029 44504 : x3 = XEXP (x2, 1);
5030 44504 : x4 = XEXP (x3, 0);
5031 44504 : x5 = XEXP (x4, 0);
5032 44504 : if (GET_CODE (x5) != SIGN_EXTEND)
5033 : return -1;
5034 37854 : x6 = XEXP (x3, 1);
5035 37854 : if (GET_CODE (x6) != SIGN_EXTEND)
5036 : return -1;
5037 37854 : x7 = XEXP (x6, 0);
5038 37854 : if (GET_CODE (x7) != i1)
5039 : return -1;
5040 37854 : x8 = XEXP (x2, 0);
5041 37854 : if (GET_CODE (x8) != REG
5042 37854 : || REGNO (x8) != 17
5043 75708 : || GET_MODE (x8) != E_CCOmode)
5044 : return -1;
5045 37854 : x9 = XVECEXP (x1, 0, 1);
5046 37854 : if (GET_CODE (x9) != SET)
5047 : return -1;
5048 37854 : x10 = XEXP (x9, 1);
5049 37854 : if (GET_CODE (x10) != i1
5050 37854 : || GET_MODE (x3) != E_CCOmode)
5051 : return -1;
5052 37854 : x11 = XEXP (x5, 0);
5053 37854 : operands[1] = x11;
5054 37854 : x12 = XEXP (x9, 0);
5055 37854 : operands[0] = x12;
5056 37854 : x13 = XEXP (x7, 0);
5057 37854 : if (!rtx_equal_p (x13, operands[1]))
5058 : return -1;
5059 37853 : x14 = XEXP (x10, 0);
5060 37853 : if (!rtx_equal_p (x14, operands[1]))
5061 : return -1;
5062 37852 : x15 = XEXP (x4, 1);
5063 37852 : switch (GET_CODE (x15))
5064 : {
5065 25890 : case SIGN_EXTEND:
5066 25890 : x16 = XEXP (x15, 0);
5067 25890 : operands[2] = x16;
5068 25890 : x17 = XEXP (x7, 1);
5069 25890 : if (!rtx_equal_p (x17, operands[2]))
5070 : return -1;
5071 25890 : x18 = XEXP (x10, 1);
5072 25890 : if (!rtx_equal_p (x18, operands[2]))
5073 : return -1;
5074 25890 : switch (GET_MODE (x4))
5075 : {
5076 11909 : case E_TImode:
5077 11909 : return pattern753 (x1,
5078 : E_DImode,
5079 11909 : E_TImode); /* [-1, 0] */
5080 :
5081 3384 : case E_POImode:
5082 3384 : if (pattern753 (x1,
5083 : E_TImode,
5084 : E_POImode) != 0)
5085 0 : return -1;
5086 : return 1;
5087 :
5088 : default:
5089 : return -1;
5090 : }
5091 :
5092 11962 : case CONST_INT:
5093 11962 : case CONST_WIDE_INT:
5094 11962 : operands[3] = x15;
5095 11962 : x17 = XEXP (x7, 1);
5096 11962 : operands[2] = x17;
5097 11962 : x18 = XEXP (x10, 1);
5098 11962 : if (!rtx_equal_p (x18, operands[2]))
5099 : return -1;
5100 11962 : switch (GET_MODE (x4))
5101 : {
5102 3746 : case E_TImode:
5103 3746 : if (pattern754 (x1,
5104 : E_DImode,
5105 : E_TImode) != 0)
5106 0 : return -1;
5107 : return 2;
5108 :
5109 1007 : case E_POImode:
5110 1007 : if (pattern754 (x1,
5111 : E_TImode,
5112 : E_POImode) != 0)
5113 0 : return -1;
5114 : return 3;
5115 :
5116 : default:
5117 : return -1;
5118 : }
5119 :
5120 : default:
5121 : return -1;
5122 : }
5123 : }
5124 :
5125 : int
5126 36 : pattern772 (rtx x1, int *pnum_clobbers)
5127 : {
5128 36 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5129 36 : rtx x2, x3, x4, x5, x6;
5130 36 : int res ATTRIBUTE_UNUSED;
5131 36 : if (pnum_clobbers == NULL)
5132 : return -1;
5133 36 : x2 = XEXP (x1, 1);
5134 36 : operands[3] = x2;
5135 36 : x3 = XEXP (x2, 0);
5136 36 : x4 = XEXP (x3, 0);
5137 36 : operands[1] = x4;
5138 36 : if (!int248_register_operand (operands[1], E_VOIDmode))
5139 : return -1;
5140 36 : x5 = XEXP (x3, 1);
5141 36 : operands[2] = x5;
5142 36 : if (!int248_register_operand (operands[2], E_VOIDmode))
5143 : return -1;
5144 36 : x6 = XEXP (x1, 0);
5145 36 : switch (GET_MODE (x6))
5146 : {
5147 6 : case E_HImode:
5148 6 : if (!extract_high_operator (operands[3], E_HImode))
5149 0 : return -1;
5150 : return 0;
5151 :
5152 18 : case E_SImode:
5153 18 : if (!extract_high_operator (operands[3], E_SImode))
5154 0 : return -1;
5155 : return 1;
5156 :
5157 12 : case E_DImode:
5158 12 : if (!extract_high_operator (operands[3], E_DImode))
5159 0 : return -1;
5160 : return 2;
5161 :
5162 : default:
5163 : return -1;
5164 : }
5165 : }
5166 :
5167 : int
5168 313 : pattern782 (rtx x1, machine_mode i1, machine_mode i2)
5169 : {
5170 313 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5171 313 : rtx x2, x3;
5172 313 : int res ATTRIBUTE_UNUSED;
5173 313 : x2 = XEXP (x1, 1);
5174 313 : if (GET_MODE (x2) != i2)
5175 : return -1;
5176 313 : x3 = XEXP (x1, 0);
5177 313 : if (REGNO (x3) != 92
5178 313 : || GET_MODE (x3) != i2
5179 313 : || !const_0_to_7_operand (operands[0], E_QImode)
5180 313 : || !register_operand (operands[1], i1)
5181 616 : || !register_operand (operands[2], i1))
5182 15 : return -1;
5183 : return 0;
5184 : }
5185 :
5186 : int
5187 5899 : pattern788 (rtx x1)
5188 : {
5189 5899 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5190 5899 : rtx x2;
5191 5899 : int res ATTRIBUTE_UNUSED;
5192 5899 : x2 = XEXP (x1, 1);
5193 5899 : operands[1] = x2;
5194 5899 : switch (GET_MODE (operands[0]))
5195 : {
5196 476 : case E_SImode:
5197 476 : return pattern787 (x1,
5198 476 : E_SImode); /* [-1, 0] */
5199 :
5200 5192 : case E_DImode:
5201 5192 : if (pattern787 (x1,
5202 : E_DImode) != 0)
5203 5078 : return -1;
5204 : return 1;
5205 :
5206 : default:
5207 : return -1;
5208 : }
5209 : }
5210 :
5211 : int
5212 84 : pattern792 (rtx x1, machine_mode i1)
5213 : {
5214 84 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5215 84 : rtx x2, x3;
5216 84 : int res ATTRIBUTE_UNUSED;
5217 84 : if (!register_operand (operands[0], i1)
5218 84 : || GET_MODE (x1) != i1)
5219 : return -1;
5220 84 : x2 = XEXP (x1, 0);
5221 84 : if (GET_MODE (x2) != i1
5222 84 : || !nonimmediate_operand (operands[1], i1))
5223 : return -1;
5224 84 : x3 = XEXP (x1, 1);
5225 84 : if (GET_MODE (x3) != i1)
5226 0 : return -1;
5227 : return 0;
5228 : }
5229 :
5230 : int
5231 5488 : pattern796 (rtx x1, rtx_code i1)
5232 : {
5233 5488 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5234 5488 : rtx x2, x3, x4, x5, x6, x7, x8;
5235 5488 : int res ATTRIBUTE_UNUSED;
5236 5488 : x2 = XEXP (x1, 0);
5237 5488 : x3 = XEXP (x2, 0);
5238 5488 : x4 = XEXP (x3, 1);
5239 5488 : if (GET_CODE (x4) != i1)
5240 : return -1;
5241 5092 : x5 = XEXP (x3, 0);
5242 5092 : x6 = XEXP (x5, 0);
5243 5092 : operands[1] = x6;
5244 5092 : x7 = XEXP (x4, 0);
5245 5092 : operands[2] = x7;
5246 5092 : x8 = XEXP (x2, 1);
5247 5092 : switch (XWINT (x8, 0))
5248 : {
5249 0 : case 64L:
5250 0 : return pattern795 (x1,
5251 : E_DImode,
5252 0 : E_TImode); /* [-1, 0] */
5253 :
5254 0 : case 32L:
5255 0 : if (pattern795 (x1,
5256 : E_SImode,
5257 : E_DImode) != 0)
5258 0 : return -1;
5259 : return 1;
5260 :
5261 : default:
5262 : return -1;
5263 : }
5264 : }
5265 :
5266 : int
5267 1352 : pattern801 (rtx x1, machine_mode i1)
5268 : {
5269 1352 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5270 1352 : int res ATTRIBUTE_UNUSED;
5271 1352 : if (!register_operand (operands[0], i1)
5272 1352 : || GET_MODE (x1) != i1)
5273 : return -1;
5274 1339 : switch (GET_MODE (operands[1]))
5275 : {
5276 0 : case E_HFmode:
5277 0 : if (!nonimmediate_operand (operands[1], E_HFmode))
5278 0 : return -1;
5279 : return 0;
5280 :
5281 156 : case E_SFmode:
5282 156 : if (!nonimmediate_operand (operands[1], E_SFmode))
5283 0 : return -1;
5284 : return 1;
5285 :
5286 1183 : case E_DFmode:
5287 1183 : if (!nonimmediate_operand (operands[1], E_DFmode))
5288 0 : return -1;
5289 : return 2;
5290 :
5291 : default:
5292 : return -1;
5293 : }
5294 : }
5295 :
5296 : int
5297 51 : pattern806 (rtx x1, machine_mode i1, machine_mode i2)
5298 : {
5299 51 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5300 51 : rtx x2, x3, x4;
5301 51 : int res ATTRIBUTE_UNUSED;
5302 51 : if (!register_operand (operands[0], i2)
5303 51 : || GET_MODE (x1) != i2)
5304 : return -1;
5305 46 : x2 = XEXP (x1, 0);
5306 46 : if (GET_MODE (x2) != i2)
5307 : return -1;
5308 46 : x3 = XEXP (x2, 0);
5309 46 : if (GET_MODE (x3) != i1)
5310 : return -1;
5311 46 : x4 = XVECEXP (x3, 0, 0);
5312 46 : if (GET_MODE (x4) != i1
5313 46 : || !register_operand (operands[1], i2)
5314 88 : || !nonimmediate_operand (operands[2], i1))
5315 28 : return -1;
5316 : return 0;
5317 : }
5318 :
5319 : int
5320 95078 : pattern809 (rtx x1, machine_mode i1, machine_mode i2)
5321 : {
5322 95078 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5323 95078 : rtx x2, x3, x4;
5324 95078 : int res ATTRIBUTE_UNUSED;
5325 95078 : if (!register_operand (operands[0], i1)
5326 95078 : || GET_MODE (x1) != i1)
5327 : return -1;
5328 93891 : x2 = XEXP (x1, 0);
5329 93891 : if (GET_MODE (x2) != i1)
5330 : return -1;
5331 93891 : x3 = XEXP (x2, 0);
5332 93891 : operands[2] = x3;
5333 93891 : if (!nonimmediate_operand (operands[2], i2))
5334 : return -1;
5335 80753 : x4 = XEXP (x1, 1);
5336 80753 : operands[1] = x4;
5337 80753 : if (!register_operand (operands[1], i1)
5338 80753 : || !const_int_operand (operands[3], E_SImode))
5339 2260 : return -1;
5340 : return 0;
5341 : }
5342 :
5343 : int
5344 3922 : pattern813 (rtx x1, machine_mode i1)
5345 : {
5346 3922 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5347 3922 : rtx x2, x3, x4;
5348 3922 : int res ATTRIBUTE_UNUSED;
5349 3922 : if (!register_operand (operands[0], i1)
5350 3922 : || GET_MODE (x1) != i1)
5351 : return -1;
5352 3860 : x2 = XVECEXP (x1, 0, 0);
5353 3860 : if (GET_MODE (x2) != i1)
5354 : return -1;
5355 3860 : x3 = XEXP (x2, 0);
5356 3860 : if (GET_MODE (x3) != i1)
5357 : return -1;
5358 3860 : x4 = XEXP (x3, 0);
5359 3860 : if (GET_MODE (x4) != i1
5360 3860 : || !register_operand (operands[1], i1)
5361 3838 : || !nonimmediate_operand (operands[2], i1)
5362 7666 : || !nonimm_or_0_operand (operands[3], i1))
5363 102 : return -1;
5364 : return 0;
5365 : }
5366 :
5367 : int
5368 1196 : pattern817 (rtx x1, machine_mode i1)
5369 : {
5370 1196 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5371 1196 : int res ATTRIBUTE_UNUSED;
5372 1196 : if (!register_operand (operands[0], i1)
5373 1023 : || GET_MODE (x1) != i1
5374 1023 : || !nonimmediate_operand (operands[1], i1)
5375 2145 : || !const_0_to_255_operand (operands[2], E_SImode))
5376 247 : return -1;
5377 : return 0;
5378 : }
5379 :
5380 : int
5381 1386 : pattern821 (rtx x1, machine_mode i1, machine_mode i2)
5382 : {
5383 1386 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5384 1386 : int res ATTRIBUTE_UNUSED;
5385 1386 : if (!register_operand (operands[0], i2)
5386 1362 : || GET_MODE (x1) != i2
5387 1362 : || !register_operand (operands[1], i2)
5388 2622 : || !nonimmediate_operand (operands[2], i1))
5389 175 : return -1;
5390 : return 0;
5391 : }
5392 :
5393 : int
5394 232 : pattern827 (rtx x1, int i1, int i2, int i3)
5395 : {
5396 232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5397 232 : rtx x2, x3, x4, x5, x6, x7, x8;
5398 232 : int res ATTRIBUTE_UNUSED;
5399 232 : x2 = XVECEXP (x1, 0, 0);
5400 232 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5401 : return -1;
5402 232 : x3 = XVECEXP (x1, 0, 1);
5403 232 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5404 : return -1;
5405 232 : x4 = XVECEXP (x1, 0, 2);
5406 232 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5407 : return -1;
5408 232 : x5 = XVECEXP (x1, 0, 3);
5409 232 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
5410 : return -1;
5411 232 : x6 = XVECEXP (x1, 0, 4);
5412 232 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
5413 : return -1;
5414 232 : x7 = XVECEXP (x1, 0, 5);
5415 232 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
5416 : return -1;
5417 232 : x8 = XVECEXP (x1, 0, 6);
5418 232 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
5419 0 : return -1;
5420 : return 0;
5421 : }
5422 :
5423 : int
5424 369496 : pattern836 (machine_mode i1, machine_mode i2)
5425 : {
5426 369496 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5427 369496 : int res ATTRIBUTE_UNUSED;
5428 369496 : if (!register_operand (operands[0], i2)
5429 367370 : || !sse_comparison_operator (operands[3], i2)
5430 255232 : || !register_operand (operands[1], i1)
5431 391902 : || !vector_operand (operands[2], i1))
5432 347205 : return -1;
5433 : return 0;
5434 : }
5435 :
5436 : int
5437 45361 : pattern841 (rtx x1, machine_mode i1, machine_mode i2)
5438 : {
5439 45361 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5440 45361 : rtx x2;
5441 45361 : int res ATTRIBUTE_UNUSED;
5442 45361 : if (!register_operand (operands[0], i1)
5443 45361 : || GET_MODE (x1) != i1)
5444 : return -1;
5445 45357 : x2 = XEXP (x1, 0);
5446 45357 : if (GET_MODE (x2) != i2
5447 45357 : || !vector_operand (operands[1], i1)
5448 45263 : || !const0_operand (operands[2], i1)
5449 90506 : || !pmovzx_parallel (operands[3], E_VOIDmode))
5450 21341 : return -1;
5451 : return 0;
5452 : }
5453 :
5454 : int
5455 1408536 : pattern847 (rtx x1)
5456 : {
5457 1408536 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5458 1408536 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5459 1408536 : int res ATTRIBUTE_UNUSED;
5460 1408536 : if (!pmovzx_parallel (operands[4], E_VOIDmode))
5461 : return -1;
5462 460340 : x2 = XEXP (x1, 0);
5463 460340 : x3 = XEXP (x2, 0);
5464 460340 : if (GET_CODE (x3) != SUBREG
5465 460340 : || maybe_ne (SUBREG_BYTE (x3), 0))
5466 : return -1;
5467 151641 : x4 = XEXP (x3, 0);
5468 151641 : if (GET_CODE (x4) != VEC_CONCAT)
5469 : return -1;
5470 4343 : x5 = XEXP (x4, 0);
5471 4343 : operands[1] = x5;
5472 4343 : x6 = XEXP (x4, 1);
5473 4343 : operands[2] = x6;
5474 4343 : x7 = XEXP (x2, 1);
5475 4343 : operands[3] = x7;
5476 4343 : x8 = XEXP (x1, 1);
5477 4343 : x9 = XVECEXP (x8, 0, 0);
5478 4343 : operands[5] = x9;
5479 4343 : if (!const_int_operand (operands[5], E_VOIDmode))
5480 : return -1;
5481 4343 : switch (GET_MODE (operands[0]))
5482 : {
5483 4 : case E_V32QImode:
5484 4 : if (!register_operand (operands[0], E_V32QImode)
5485 4 : || GET_MODE (x1) != E_V32QImode
5486 4 : || GET_MODE (x2) != E_V64QImode
5487 4 : || GET_MODE (x3) != E_V32QImode
5488 8 : || !const0_operand (operands[3], E_V32QImode))
5489 : return -1;
5490 4 : switch (GET_MODE (x4))
5491 : {
5492 0 : case E_V16HImode:
5493 0 : if (!nonimmediate_operand (operands[1], E_V8HImode)
5494 0 : || !const0_operand (operands[2], E_V8HImode))
5495 0 : return -1;
5496 : return 0;
5497 :
5498 4 : case E_V8SImode:
5499 4 : if (!nonimmediate_operand (operands[1], E_V4SImode)
5500 4 : || !const0_operand (operands[2], E_V4SImode))
5501 0 : return -1;
5502 : return 1;
5503 :
5504 0 : case E_V4DImode:
5505 0 : if (!nonimmediate_operand (operands[1], E_V2DImode)
5506 0 : || !const0_operand (operands[2], E_V2DImode))
5507 0 : return -1;
5508 : return 2;
5509 :
5510 : default:
5511 : return -1;
5512 : }
5513 :
5514 4 : case E_V64QImode:
5515 4 : if (!register_operand (operands[0], E_V64QImode)
5516 4 : || GET_MODE (x1) != E_V64QImode
5517 4 : || GET_MODE (x2) != E_V128QImode
5518 4 : || GET_MODE (x3) != E_V64QImode
5519 8 : || !const0_operand (operands[3], E_V64QImode))
5520 : return -1;
5521 4 : switch (GET_MODE (x4))
5522 : {
5523 0 : case E_V32HImode:
5524 0 : if (!nonimmediate_operand (operands[1], E_V16HImode)
5525 0 : || !const0_operand (operands[2], E_V16HImode))
5526 0 : return -1;
5527 : return 3;
5528 :
5529 4 : case E_V16SImode:
5530 4 : if (!nonimmediate_operand (operands[1], E_V8SImode)
5531 4 : || !const0_operand (operands[2], E_V8SImode))
5532 0 : return -1;
5533 : return 4;
5534 :
5535 0 : case E_V8DImode:
5536 0 : if (!nonimmediate_operand (operands[1], E_V4DImode)
5537 0 : || !const0_operand (operands[2], E_V4DImode))
5538 0 : return -1;
5539 : return 5;
5540 :
5541 : default:
5542 : return -1;
5543 : }
5544 :
5545 76 : case E_V16QImode:
5546 76 : if (!register_operand (operands[0], E_V16QImode)
5547 64 : || GET_MODE (x1) != E_V16QImode
5548 64 : || GET_MODE (x2) != E_V32QImode
5549 64 : || GET_MODE (x3) != E_V16QImode
5550 140 : || !const0_operand (operands[3], E_V16QImode))
5551 : return -1;
5552 14 : switch (GET_MODE (x4))
5553 : {
5554 0 : case E_V8HImode:
5555 0 : if (!vector_operand (operands[1], E_V4HImode)
5556 0 : || !const0_operand (operands[2], E_V4HImode))
5557 0 : return -1;
5558 : return 6;
5559 :
5560 4 : case E_V4SImode:
5561 4 : if (!vector_operand (operands[1], E_V2SImode)
5562 4 : || !const0_operand (operands[2], E_V2SImode))
5563 0 : return -1;
5564 : return 7;
5565 :
5566 10 : case E_V2DImode:
5567 10 : if (!vector_operand (operands[1], E_DImode)
5568 10 : || !const0_operand (operands[2], E_DImode))
5569 4 : return -1;
5570 : return 8;
5571 :
5572 : default:
5573 : return -1;
5574 : }
5575 :
5576 8 : case E_V32HImode:
5577 8 : if (!register_operand (operands[0], E_V32HImode)
5578 8 : || GET_MODE (x1) != E_V32HImode
5579 8 : || GET_MODE (x2) != E_V64HImode
5580 8 : || GET_MODE (x3) != E_V32HImode
5581 16 : || !const0_operand (operands[3], E_V32HImode))
5582 : return -1;
5583 8 : switch (GET_MODE (x4))
5584 : {
5585 0 : case E_V64QImode:
5586 0 : if (!nonimmediate_operand (operands[1], E_V32QImode)
5587 0 : || !const0_operand (operands[2], E_V32QImode))
5588 0 : return -1;
5589 : return 9;
5590 :
5591 8 : case E_V16SImode:
5592 8 : if (!nonimmediate_operand (operands[1], E_V8SImode)
5593 8 : || !const0_operand (operands[2], E_V8SImode))
5594 0 : return -1;
5595 : return 10;
5596 :
5597 0 : case E_V8DImode:
5598 0 : if (!nonimmediate_operand (operands[1], E_V4DImode)
5599 0 : || !const0_operand (operands[2], E_V4DImode))
5600 0 : return -1;
5601 : return 11;
5602 :
5603 : default:
5604 : return -1;
5605 : }
5606 :
5607 8 : case E_V16HImode:
5608 8 : if (!register_operand (operands[0], E_V16HImode)
5609 8 : || GET_MODE (x1) != E_V16HImode
5610 8 : || GET_MODE (x2) != E_V32HImode
5611 8 : || GET_MODE (x3) != E_V16HImode
5612 16 : || !const0_operand (operands[3], E_V16HImode))
5613 : return -1;
5614 8 : switch (GET_MODE (x4))
5615 : {
5616 0 : case E_V32QImode:
5617 0 : if (!nonimmediate_operand (operands[1], E_V16QImode)
5618 0 : || !const0_operand (operands[2], E_V16QImode))
5619 0 : return -1;
5620 : return 12;
5621 :
5622 8 : case E_V8SImode:
5623 8 : if (!nonimmediate_operand (operands[1], E_V4SImode)
5624 8 : || !const0_operand (operands[2], E_V4SImode))
5625 0 : return -1;
5626 : return 13;
5627 :
5628 0 : case E_V4DImode:
5629 0 : if (!nonimmediate_operand (operands[1], E_V2DImode)
5630 0 : || !const0_operand (operands[2], E_V2DImode))
5631 0 : return -1;
5632 : return 14;
5633 :
5634 : default:
5635 : return -1;
5636 : }
5637 :
5638 8 : case E_V8HImode:
5639 8 : if (!register_operand (operands[0], E_V8HImode)
5640 8 : || GET_MODE (x1) != E_V8HImode
5641 8 : || GET_MODE (x2) != E_V16HImode
5642 8 : || GET_MODE (x3) != E_V8HImode
5643 16 : || !const0_operand (operands[3], E_V8HImode))
5644 : return -1;
5645 8 : switch (GET_MODE (x4))
5646 : {
5647 0 : case E_V16QImode:
5648 0 : if (!vector_operand (operands[1], E_V8QImode)
5649 0 : || !const0_operand (operands[2], E_V8QImode))
5650 0 : return -1;
5651 : return 15;
5652 :
5653 8 : case E_V4SImode:
5654 8 : if (!vector_operand (operands[1], E_V2SImode)
5655 8 : || !const0_operand (operands[2], E_V2SImode))
5656 0 : return -1;
5657 : return 16;
5658 :
5659 0 : case E_V2DImode:
5660 0 : if (!vector_operand (operands[1], E_DImode)
5661 0 : || !const0_operand (operands[2], E_DImode))
5662 0 : return -1;
5663 : return 17;
5664 :
5665 : default:
5666 : return -1;
5667 : }
5668 :
5669 : default:
5670 : return -1;
5671 : }
5672 : }
5673 :
5674 : int
5675 3855628 : pattern889 (rtx x1, machine_mode i1, machine_mode i2)
5676 : {
5677 3855628 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5678 3855628 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5679 3855628 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
5680 3855628 : rtx x18;
5681 3855628 : int res ATTRIBUTE_UNUSED;
5682 3855628 : if (GET_CODE (x1) != SET)
5683 : return -1;
5684 3210594 : x2 = XEXP (x1, 0);
5685 3210594 : operands[2] = x2;
5686 3210594 : if (!general_reg_operand (operands[2], i2))
5687 : return -1;
5688 2049852 : x3 = XEXP (x1, 1);
5689 2049852 : operands[3] = x3;
5690 2049852 : if (!general_reg_operand (operands[3], i2))
5691 : return -1;
5692 355724 : x4 = PATTERN (peep2_next_insn (2));
5693 355724 : if (GET_CODE (x4) != PARALLEL)
5694 : return -1;
5695 25922 : switch (XVECLEN (x4, 0))
5696 : {
5697 15183 : case 2:
5698 15183 : x5 = XVECEXP (x4, 0, 0);
5699 15183 : if (GET_CODE (x5) != SET)
5700 : return -1;
5701 15100 : x6 = XEXP (x5, 1);
5702 15100 : if (GET_CODE (x6) != MULT)
5703 : return -1;
5704 2484 : x7 = XEXP (x5, 0);
5705 2484 : operands[4] = x7;
5706 2484 : x8 = XEXP (x6, 0);
5707 2484 : switch (GET_CODE (x8))
5708 : {
5709 1663 : case ZERO_EXTEND:
5710 1663 : if (GET_MODE (x8) != i1)
5711 : return -1;
5712 1663 : x9 = XEXP (x6, 1);
5713 1663 : if (GET_CODE (x9) != ZERO_EXTEND
5714 1663 : || GET_MODE (x9) != i1)
5715 : return -1;
5716 1663 : x10 = XVECEXP (x4, 0, 1);
5717 1663 : if (GET_CODE (x10) != CLOBBER)
5718 : return -1;
5719 1663 : x11 = XEXP (x10, 0);
5720 1663 : if (GET_CODE (x11) != REG
5721 1663 : || REGNO (x11) != 17
5722 1663 : || GET_MODE (x11) != E_CCmode
5723 1663 : || !general_reg_operand (operands[4], i1)
5724 3326 : || GET_MODE (x6) != i1)
5725 : return -1;
5726 1663 : x12 = XEXP (x8, 0);
5727 1663 : if (!rtx_equal_p (x12, operands[2]))
5728 : return -1;
5729 1658 : x13 = XEXP (x9, 0);
5730 1658 : if (!rtx_equal_p (x13, operands[0]))
5731 86 : return -1;
5732 : return 0;
5733 :
5734 535 : case REG:
5735 535 : if (!rtx_equal_p (x8, operands[2]))
5736 : return -1;
5737 534 : x10 = XVECEXP (x4, 0, 1);
5738 534 : if (GET_CODE (x10) != SET)
5739 : return -1;
5740 3 : x14 = XEXP (x10, 1);
5741 3 : if (GET_CODE (x14) != UMUL_HIGHPART
5742 3 : || GET_MODE (x14) != i2
5743 3 : || !general_reg_operand (operands[4], i2)
5744 6 : || GET_MODE (x6) != i2)
5745 : return -1;
5746 3 : x11 = XEXP (x10, 0);
5747 3 : operands[5] = x11;
5748 3 : if (!general_reg_operand (operands[5], i2))
5749 : return -1;
5750 3 : x9 = XEXP (x6, 1);
5751 3 : if (!rtx_equal_p (x9, operands[0]))
5752 : return -1;
5753 3 : x15 = XEXP (x14, 0);
5754 3 : if (!rtx_equal_p (x15, operands[2]))
5755 : return -1;
5756 3 : x16 = XEXP (x14, 1);
5757 3 : if (!rtx_equal_p (x16, operands[0]))
5758 0 : return -1;
5759 : return 1;
5760 :
5761 : default:
5762 : return -1;
5763 : }
5764 :
5765 8299 : case 3:
5766 8299 : x5 = XVECEXP (x4, 0, 0);
5767 8299 : if (GET_CODE (x5) != SET)
5768 : return -1;
5769 8299 : x10 = XVECEXP (x4, 0, 1);
5770 8299 : if (GET_CODE (x10) != CLOBBER)
5771 : return -1;
5772 6868 : x17 = XVECEXP (x4, 0, 2);
5773 6868 : if (GET_CODE (x17) != CLOBBER)
5774 : return -1;
5775 6868 : x18 = XEXP (x17, 0);
5776 6868 : if (GET_CODE (x18) != REG
5777 6868 : || REGNO (x18) != 17
5778 13736 : || GET_MODE (x18) != E_CCmode)
5779 : return -1;
5780 6868 : x7 = XEXP (x5, 0);
5781 6868 : operands[4] = x7;
5782 6868 : return 2;
5783 :
5784 : default:
5785 : return -1;
5786 : }
5787 : }
5788 :
5789 : int
5790 5791 : pattern907 (rtx x1)
5791 : {
5792 5791 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5793 5791 : rtx x2, x3, x4;
5794 5791 : int res ATTRIBUTE_UNUSED;
5795 5791 : x2 = XVECEXP (x1, 0, 0);
5796 5791 : x3 = XEXP (x2, 1);
5797 5791 : operands[1] = x3;
5798 5791 : x4 = XEXP (x2, 0);
5799 5791 : if (!rtx_equal_p (x4, operands[0]))
5800 : return -1;
5801 3605 : switch (GET_MODE (operands[0]))
5802 : {
5803 404 : case E_QImode:
5804 404 : return pattern906 (x1,
5805 404 : E_QImode); /* [-1, 0] */
5806 :
5807 139 : case E_HImode:
5808 139 : if (pattern906 (x1,
5809 : E_HImode) != 0)
5810 139 : return -1;
5811 : return 1;
5812 :
5813 : default:
5814 : return -1;
5815 : }
5816 : }
5817 :
5818 : int
5819 5424 : pattern914 (rtx x1, machine_mode i1)
5820 : {
5821 5424 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5822 5424 : rtx x2;
5823 5424 : int res ATTRIBUTE_UNUSED;
5824 5424 : if (!register_operand (operands[0], i1)
5825 5424 : || GET_MODE (x1) != i1)
5826 : return -1;
5827 5254 : x2 = XEXP (x1, 0);
5828 5254 : if (GET_MODE (x2) != i1
5829 5254 : || !bcst_vector_operand (operands[1], i1)
5830 4630 : || !bcst_vector_operand (operands[2], i1)
5831 9354 : || !bcst_vector_operand (operands[3], i1))
5832 1172 : return -1;
5833 : return 0;
5834 : }
5835 :
5836 : int
5837 7977 : pattern919 (rtx x1, machine_mode i1)
5838 : {
5839 7977 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5840 7977 : rtx x2;
5841 7977 : int res ATTRIBUTE_UNUSED;
5842 7977 : if (!register_operand (operands[0], i1)
5843 7977 : || GET_MODE (x1) != i1)
5844 : return -1;
5845 7917 : x2 = XEXP (x1, 1);
5846 7917 : if (GET_MODE (x2) != i1
5847 7917 : || !nonimmediate_operand (operands[1], i1))
5848 1371 : return -1;
5849 : return 0;
5850 : }
5851 :
5852 : int
5853 1448 : pattern922 (rtx x1, machine_mode i1)
5854 : {
5855 1448 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5856 1448 : rtx x2, x3;
5857 1448 : int res ATTRIBUTE_UNUSED;
5858 1448 : if (!register_operand (operands[0], i1)
5859 1448 : || GET_MODE (x1) != i1)
5860 : return -1;
5861 1384 : x2 = XVECEXP (x1, 0, 0);
5862 1384 : if (GET_MODE (x2) != i1)
5863 : return -1;
5864 1384 : x3 = XVECEXP (x2, 0, 0);
5865 1384 : switch (GET_MODE (x3))
5866 : {
5867 502 : case E_HFmode:
5868 502 : if (!register_operand (operands[1], E_V8HFmode))
5869 24 : return -1;
5870 : return 0;
5871 :
5872 441 : case E_SFmode:
5873 441 : if (!register_operand (operands[1], E_V4SFmode))
5874 4 : return -1;
5875 : return 1;
5876 :
5877 441 : case E_DFmode:
5878 441 : if (!register_operand (operands[1], E_V2DFmode))
5879 4 : return -1;
5880 : return 2;
5881 :
5882 : default:
5883 : return -1;
5884 : }
5885 : }
5886 :
5887 : int
5888 5791 : pattern929 (rtx x1)
5889 : {
5890 5791 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5891 5791 : rtx x2, x3, x4;
5892 5791 : int res ATTRIBUTE_UNUSED;
5893 5791 : x2 = XVECEXP (x1, 0, 0);
5894 5791 : x3 = XEXP (x2, 1);
5895 5791 : operands[1] = x3;
5896 5791 : x4 = XEXP (x2, 0);
5897 5791 : if (!rtx_equal_p (x4, operands[0]))
5898 : return -1;
5899 3605 : switch (GET_MODE (operands[0]))
5900 : {
5901 2448 : case E_SImode:
5902 2448 : return pattern906 (x1,
5903 2448 : E_SImode); /* [-1, 0] */
5904 :
5905 614 : case E_DImode:
5906 614 : if (pattern906 (x1,
5907 : E_DImode) != 0)
5908 599 : return -1;
5909 : return 1;
5910 :
5911 : default:
5912 : return -1;
5913 : }
5914 : }
5915 :
5916 : int
5917 1535 : pattern935 (rtx x1, machine_mode i1, machine_mode i2)
5918 : {
5919 1535 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5920 1535 : rtx x2;
5921 1535 : int res ATTRIBUTE_UNUSED;
5922 1535 : if (!register_operand (operands[0], i1)
5923 1535 : || GET_MODE (x1) != i1)
5924 : return -1;
5925 1468 : x2 = XEXP (x1, 0);
5926 1468 : if (GET_MODE (x2) != i1
5927 1468 : || !vector_operand (operands[1], i1)
5928 1468 : || !nonimm_or_0_operand (operands[2], i1)
5929 2909 : || !register_operand (operands[3], i2))
5930 27 : return -1;
5931 : return 0;
5932 : }
5933 :
5934 : int
5935 654 : pattern941 (rtx x1)
5936 : {
5937 654 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5938 654 : rtx x2;
5939 654 : int res ATTRIBUTE_UNUSED;
5940 654 : if (!register_operand (operands[0], E_V16HFmode)
5941 654 : || GET_MODE (x1) != E_V16HFmode)
5942 : return -1;
5943 612 : x2 = XEXP (x1, 0);
5944 612 : if (GET_MODE (x2) != E_V16HFmode
5945 612 : || !nonimm_or_0_operand (operands[2], E_V16HFmode)
5946 1224 : || !register_operand (operands[3], E_HImode))
5947 : return -1;
5948 558 : switch (GET_MODE (operands[1]))
5949 : {
5950 408 : case E_V16HImode:
5951 408 : if (!vector_operand (operands[1], E_V16HImode))
5952 0 : return -1;
5953 : return 0;
5954 :
5955 150 : case E_V16SImode:
5956 150 : if (!vector_operand (operands[1], E_V16SImode))
5957 0 : return -1;
5958 : return 1;
5959 :
5960 : default:
5961 : return -1;
5962 : }
5963 : }
5964 :
5965 : int
5966 4619 : pattern946 (rtx x1)
5967 : {
5968 4619 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5969 4619 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5970 4619 : rtx x10, x11, x12;
5971 4619 : int res ATTRIBUTE_UNUSED;
5972 4619 : if (!register_operand (operands[3], E_QImode))
5973 : return -1;
5974 4271 : x2 = XEXP (x1, 0);
5975 4271 : x3 = XEXP (x2, 0);
5976 4271 : x4 = XEXP (x3, 1);
5977 4271 : switch (XVECLEN (x4, 0))
5978 : {
5979 1330 : case 8:
5980 1330 : x5 = XVECEXP (x4, 0, 0);
5981 1330 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5982 : return -1;
5983 1330 : x6 = XVECEXP (x4, 0, 1);
5984 1330 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5985 : return -1;
5986 1330 : x7 = XVECEXP (x4, 0, 2);
5987 1330 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5988 : return -1;
5989 1330 : x8 = XVECEXP (x4, 0, 3);
5990 1330 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
5991 : return -1;
5992 1330 : x9 = XVECEXP (x4, 0, 4);
5993 1330 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
5994 : return -1;
5995 1330 : x10 = XVECEXP (x4, 0, 5);
5996 1330 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
5997 : return -1;
5998 1330 : x11 = XVECEXP (x4, 0, 6);
5999 1330 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
6000 : return -1;
6001 1330 : x12 = XVECEXP (x4, 0, 7);
6002 1330 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
6003 1330 : || GET_MODE (x3) != E_V8QImode
6004 2660 : || !register_operand (operands[1], E_V16QImode))
6005 : return -1;
6006 1304 : switch (GET_MODE (operands[0]))
6007 : {
6008 402 : case E_V8HImode:
6009 402 : return pattern177 (x1,
6010 402 : E_V8HImode); /* [-1, 0] */
6011 :
6012 425 : case E_V8SImode:
6013 425 : if (pattern177 (x1,
6014 : E_V8SImode) != 0)
6015 48 : return -1;
6016 : return 1;
6017 :
6018 477 : case E_V8DImode:
6019 477 : if (pattern177 (x1,
6020 : E_V8DImode) != 0)
6021 46 : return -1;
6022 : return 2;
6023 :
6024 : default:
6025 : return -1;
6026 : }
6027 :
6028 1704 : case 4:
6029 1704 : x5 = XVECEXP (x4, 0, 0);
6030 1704 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6031 : return -1;
6032 1704 : x6 = XVECEXP (x4, 0, 1);
6033 1704 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
6034 : return -1;
6035 1704 : x7 = XVECEXP (x4, 0, 2);
6036 1704 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
6037 : return -1;
6038 1704 : x8 = XVECEXP (x4, 0, 3);
6039 1704 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
6040 : return -1;
6041 1704 : switch (GET_MODE (operands[0]))
6042 : {
6043 828 : case E_V4SImode:
6044 828 : res = pattern945 (x1,
6045 : E_V4SImode);
6046 828 : if (res >= 0)
6047 788 : return res + 3; /* [3, 4] */
6048 : return -1;
6049 :
6050 876 : case E_V4DImode:
6051 876 : res = pattern945 (x1,
6052 : E_V4DImode);
6053 876 : if (res >= 0)
6054 779 : return res + 5; /* [5, 6] */
6055 : return -1;
6056 :
6057 : default:
6058 : return -1;
6059 : }
6060 :
6061 1237 : case 2:
6062 1237 : x5 = XVECEXP (x4, 0, 0);
6063 1237 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6064 : return -1;
6065 1237 : x6 = XVECEXP (x4, 0, 1);
6066 1237 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
6067 1237 : || !register_operand (operands[0], E_V2DImode)
6068 1183 : || GET_MODE (x1) != E_V2DImode
6069 1183 : || GET_MODE (x2) != E_V2DImode
6070 2420 : || !nonimm_or_0_operand (operands[2], E_V2DImode))
6071 : return -1;
6072 1146 : switch (GET_MODE (x3))
6073 : {
6074 390 : case E_V2QImode:
6075 390 : if (!register_operand (operands[1], E_V16QImode))
6076 8 : return -1;
6077 : return 7;
6078 :
6079 378 : case E_V2HImode:
6080 378 : if (!register_operand (operands[1], E_V8HImode))
6081 3 : return -1;
6082 : return 8;
6083 :
6084 378 : case E_V2SImode:
6085 378 : if (!register_operand (operands[1], E_V4SImode))
6086 7 : return -1;
6087 : return 9;
6088 :
6089 : default:
6090 : return -1;
6091 : }
6092 :
6093 : default:
6094 : return -1;
6095 : }
6096 : }
6097 :
6098 : int
6099 232 : pattern966 (rtx x1, machine_mode i1)
6100 : {
6101 232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6102 232 : rtx x2;
6103 232 : int res ATTRIBUTE_UNUSED;
6104 232 : if (!register_operand (operands[0], i1)
6105 223 : || GET_MODE (x1) != i1
6106 223 : || !nonimmediate_operand (operands[1], i1)
6107 452 : || !nonimmediate_operand (operands[2], i1))
6108 : return -1;
6109 220 : x2 = XEXP (x1, 2);
6110 220 : if (GET_MODE (x2) != i1
6111 220 : || !nonimmediate_operand (operands[3], i1))
6112 0 : return -1;
6113 : return 0;
6114 : }
6115 :
6116 : int
6117 9104 : pattern970 (rtx x1)
6118 : {
6119 9104 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6120 9104 : rtx x2, x3, x4, x5, x6, x7;
6121 9104 : int res ATTRIBUTE_UNUSED;
6122 9104 : x2 = XVECEXP (x1, 0, 2);
6123 9104 : if (GET_CODE (x2) != CONST_INT)
6124 : return -1;
6125 9104 : x3 = XVECEXP (x1, 0, 3);
6126 9104 : if (GET_CODE (x3) != CONST_INT)
6127 : return -1;
6128 9104 : x4 = XVECEXP (x1, 0, 4);
6129 9104 : if (GET_CODE (x4) != CONST_INT)
6130 : return -1;
6131 9104 : x5 = XVECEXP (x1, 0, 5);
6132 9104 : if (GET_CODE (x5) != CONST_INT)
6133 : return -1;
6134 9104 : x6 = XVECEXP (x1, 0, 6);
6135 9104 : if (GET_CODE (x6) != CONST_INT)
6136 : return -1;
6137 9104 : x7 = XVECEXP (x1, 0, 7);
6138 9104 : if (GET_CODE (x7) != CONST_INT)
6139 0 : return -1;
6140 : return 0;
6141 : }
6142 :
6143 : int
6144 180 : pattern975 (rtx x1)
6145 : {
6146 180 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6147 180 : rtx x2, x3, x4, x5, x6, x7, x8;
6148 180 : int res ATTRIBUTE_UNUSED;
6149 180 : if (!register_operand (operands[0], E_V8QImode))
6150 : return -1;
6151 180 : x2 = XVECEXP (x1, 0, 0);
6152 180 : x3 = XEXP (x2, 1);
6153 180 : x4 = XVECEXP (x3, 0, 0);
6154 180 : operands[1] = x4;
6155 180 : if (!register_operand (operands[1], E_V8QImode))
6156 : return -1;
6157 143 : x5 = XVECEXP (x3, 0, 1);
6158 143 : operands[2] = x5;
6159 143 : if (!register_mmxmem_operand (operands[2], E_V8QImode))
6160 : return -1;
6161 135 : x6 = XVECEXP (x3, 0, 2);
6162 135 : operands[4] = x6;
6163 135 : if (!reg_or_const_vector_operand (operands[4], E_V4SImode))
6164 : return -1;
6165 125 : x7 = XVECEXP (x1, 0, 1);
6166 125 : x8 = XEXP (x7, 0);
6167 125 : operands[3] = x8;
6168 125 : if (!scratch_operand (operands[3], E_V4SImode))
6169 0 : return -1;
6170 : return 0;
6171 : }
6172 :
6173 : int
6174 397648 : pattern983 (rtx x1)
6175 : {
6176 397648 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6177 397648 : rtx x2, x3, x4, x5, x6, x7;
6178 397648 : int res ATTRIBUTE_UNUSED;
6179 397648 : x2 = XEXP (x1, 0);
6180 397648 : operands[0] = x2;
6181 397648 : x3 = XEXP (x1, 1);
6182 397648 : x4 = XEXP (x3, 0);
6183 397648 : x5 = XEXP (x4, 0);
6184 397648 : operands[1] = x5;
6185 397648 : x6 = XEXP (x3, 1);
6186 397648 : operands[2] = x6;
6187 397648 : x7 = XEXP (x4, 1);
6188 397648 : switch (GET_CODE (x7))
6189 : {
6190 177 : case NE:
6191 177 : return pattern982 (x3); /* [-1, 3] */
6192 :
6193 104 : case EQ:
6194 104 : res = pattern982 (x3);
6195 104 : if (res >= 0)
6196 100 : return res + 4; /* [4, 7] */
6197 : return -1;
6198 :
6199 : default:
6200 : return -1;
6201 : }
6202 : }
6203 :
6204 : int
6205 29786 : pattern989 (rtx x1, machine_mode i1)
6206 : {
6207 29786 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6208 29786 : rtx x2;
6209 29786 : int res ATTRIBUTE_UNUSED;
6210 29786 : if (!register_operand (operands[0], i1)
6211 29786 : || GET_MODE (x1) != i1)
6212 : return -1;
6213 29553 : x2 = XEXP (x1, 0);
6214 29553 : if (GET_MODE (x2) != i1
6215 29553 : || !nonimmediate_operand (operands[1], i1))
6216 2738 : return -1;
6217 : return 0;
6218 : }
6219 :
6220 : int
6221 226391 : pattern993 (rtx x1, machine_mode i1, unsigned int i2)
6222 : {
6223 226391 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6224 226391 : rtx x2;
6225 226391 : int res ATTRIBUTE_UNUSED;
6226 226391 : if (GET_CODE (x1) != CLOBBER)
6227 : return -1;
6228 225105 : x2 = XEXP (x1, 0);
6229 225105 : if (GET_CODE (x2) != REG
6230 225105 : || REGNO (x2) != i2
6231 450210 : || GET_MODE (x2) != i1)
6232 0 : return -1;
6233 : return 0;
6234 : }
6235 :
6236 : int
6237 144502 : pattern995 (rtx x1, machine_mode i1)
6238 : {
6239 144502 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6240 144502 : int res ATTRIBUTE_UNUSED;
6241 144502 : if (!nonimmediate_operand (operands[0], i1)
6242 144502 : || GET_MODE (x1) != i1
6243 144502 : || !nonimmediate_operand (operands[1], i1)
6244 287797 : || !float_vector_all_ones_operand (operands[2], i1))
6245 144495 : return -1;
6246 : return 0;
6247 : }
6248 :
6249 : int
6250 123 : pattern996 (rtx x1, machine_mode i1)
6251 : {
6252 123 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6253 123 : rtx x2;
6254 123 : int res ATTRIBUTE_UNUSED;
6255 123 : if (!register_operand (operands[0], i1)
6256 123 : || GET_MODE (x1) != i1)
6257 : return -1;
6258 99 : x2 = XEXP (x1, 0);
6259 99 : if (GET_MODE (x2) != i1
6260 99 : || !vector_operand (operands[1], i1)
6261 69 : || !vector_operand (operands[2], i1)
6262 156 : || !const0_operand (operands[3], i1))
6263 75 : return -1;
6264 : return 0;
6265 : }
6266 :
6267 : int
6268 13466 : pattern1000 (rtx x1, machine_mode i1)
6269 : {
6270 13466 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6271 13466 : rtx x2, x3, x4, x5, x6, x7, x8;
6272 13466 : int res ATTRIBUTE_UNUSED;
6273 13466 : if (GET_CODE (x1) != SET)
6274 : return -1;
6275 11899 : x2 = XEXP (x1, 1);
6276 11899 : if (GET_CODE (x2) != IF_THEN_ELSE
6277 10370 : || GET_MODE (x2) != i1)
6278 : return -1;
6279 1812 : x3 = XEXP (x2, 0);
6280 1812 : if (!ix86_comparison_operator (x3, E_VOIDmode))
6281 : return -1;
6282 1812 : operands[4] = x3;
6283 1812 : x4 = XEXP (x3, 0);
6284 1812 : if (GET_CODE (x4) != REG
6285 1812 : || REGNO (x4) != 17)
6286 : return -1;
6287 1812 : x5 = XEXP (x3, 1);
6288 1812 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6289 : return -1;
6290 1812 : x6 = XEXP (x2, 1);
6291 1812 : if (!rtx_equal_p (x6, operands[0]))
6292 : return -1;
6293 1687 : x7 = XEXP (x2, 2);
6294 1687 : if (!rtx_equal_p (x7, operands[2]))
6295 : return -1;
6296 1623 : x8 = XEXP (x1, 0);
6297 1623 : if (!rtx_equal_p (x8, operands[0]))
6298 437 : return -1;
6299 : return 0;
6300 : }
6301 :
6302 : int
6303 10398 : pattern1003 ()
6304 : {
6305 10398 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6306 10398 : int res ATTRIBUTE_UNUSED;
6307 10398 : switch (GET_MODE (operands[0]))
6308 : {
6309 202 : case E_QImode:
6310 202 : if (!register_operand (operands[0], E_QImode)
6311 202 : || !register_operand (operands[1], E_QImode))
6312 1 : return -1;
6313 : return 0;
6314 :
6315 9754 : case E_HImode:
6316 9754 : if (!register_operand (operands[0], E_HImode)
6317 9754 : || !register_operand (operands[1], E_HImode))
6318 9553 : return -1;
6319 : return 1;
6320 :
6321 202 : case E_SImode:
6322 202 : if (!register_operand (operands[0], E_SImode)
6323 202 : || !register_operand (operands[1], E_SImode))
6324 1 : return -1;
6325 : return 2;
6326 :
6327 215 : case E_DImode:
6328 215 : if (!register_operand (operands[0], E_DImode)
6329 215 : || !register_operand (operands[1], E_DImode))
6330 12 : return -1;
6331 : return 3;
6332 :
6333 : default:
6334 : return -1;
6335 : }
6336 : }
6337 :
6338 : int
6339 57 : pattern1011 (rtx x1)
6340 : {
6341 57 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6342 57 : rtx x2;
6343 57 : int res ATTRIBUTE_UNUSED;
6344 57 : if (!register_operand (operands[0], E_HImode)
6345 57 : || GET_MODE (x1) != E_HImode)
6346 : return -1;
6347 57 : x2 = XEXP (x1, 0);
6348 57 : if (GET_MODE (x2) != E_HImode)
6349 : return -1;
6350 57 : switch (GET_MODE (operands[1]))
6351 : {
6352 21 : case E_V16SImode:
6353 21 : if (!register_operand (operands[1], E_V16SImode)
6354 21 : || !nonimmediate_operand (operands[2], E_V16SImode)
6355 42 : || !const_0_to_7_operand (operands[3], E_SImode))
6356 0 : return -1;
6357 : return 0;
6358 :
6359 0 : case E_V16HFmode:
6360 0 : if (!register_operand (operands[1], E_V16HFmode)
6361 0 : || !nonimmediate_operand (operands[2], E_V16HFmode)
6362 0 : || !const_0_to_31_operand (operands[3], E_SImode))
6363 0 : return -1;
6364 : return 1;
6365 :
6366 30 : case E_V16SFmode:
6367 30 : if (!register_operand (operands[1], E_V16SFmode)
6368 30 : || !nonimmediate_operand (operands[2], E_V16SFmode)
6369 60 : || !const_0_to_31_operand (operands[3], E_SImode))
6370 0 : return -1;
6371 : return 2;
6372 :
6373 3 : case E_V16QImode:
6374 3 : if (!register_operand (operands[1], E_V16QImode)
6375 3 : || !nonimmediate_operand (operands[2], E_V16QImode)
6376 6 : || !const_0_to_7_operand (operands[3], E_SImode))
6377 0 : return -1;
6378 : return 3;
6379 :
6380 3 : case E_V16HImode:
6381 3 : if (!register_operand (operands[1], E_V16HImode)
6382 3 : || !nonimmediate_operand (operands[2], E_V16HImode)
6383 6 : || !const_0_to_7_operand (operands[3], E_SImode))
6384 0 : return -1;
6385 : return 4;
6386 :
6387 : default:
6388 : return -1;
6389 : }
6390 : }
6391 :
6392 : int
6393 3229 : pattern1015 (rtx x1)
6394 : {
6395 3229 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6396 3229 : int res ATTRIBUTE_UNUSED;
6397 3229 : if (!nonimmediate_operand (operands[0], E_HFmode)
6398 3229 : || GET_MODE (x1) != E_HFmode)
6399 : return -1;
6400 3229 : switch (GET_MODE (operands[1]))
6401 : {
6402 46 : case E_V32HFmode:
6403 46 : if (!nonimmediate_operand (operands[1], E_V32HFmode))
6404 0 : return -1;
6405 : return 0;
6406 :
6407 71 : case E_V16HFmode:
6408 71 : if (!nonimmediate_operand (operands[1], E_V16HFmode))
6409 0 : return -1;
6410 : return 1;
6411 :
6412 2296 : case E_V8HFmode:
6413 2296 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
6414 0 : return -1;
6415 : return 2;
6416 :
6417 : default:
6418 : return -1;
6419 : }
6420 : }
6421 :
6422 : int
6423 256596 : pattern1018 (rtx x1)
6424 : {
6425 256596 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6426 256596 : rtx x2, x3;
6427 256596 : int res ATTRIBUTE_UNUSED;
6428 256596 : if (!const_0_to_3_operand (operands[3], E_VOIDmode))
6429 : return -1;
6430 256596 : x2 = XEXP (x1, 1);
6431 256596 : x3 = XVECEXP (x2, 0, 1);
6432 256596 : operands[4] = x3;
6433 256596 : if (!const_0_to_3_operand (operands[4], E_VOIDmode))
6434 : return -1;
6435 256596 : switch (GET_MODE (operands[0]))
6436 : {
6437 0 : case E_V2HFmode:
6438 0 : return pattern309 (x1,
6439 : E_V2HFmode,
6440 0 : E_V4HFmode); /* [-1, 0] */
6441 :
6442 0 : case E_V2BFmode:
6443 0 : if (pattern309 (x1,
6444 : E_V2BFmode,
6445 : E_V4BFmode) != 0)
6446 0 : return -1;
6447 : return 1;
6448 :
6449 3130 : case E_V2HImode:
6450 3130 : if (pattern309 (x1,
6451 : E_V2HImode,
6452 : E_V4HImode) != 0)
6453 907 : return -1;
6454 : return 2;
6455 :
6456 : default:
6457 : return -1;
6458 : }
6459 : }
6460 :
6461 : int
6462 0 : pattern1022 (rtx x1)
6463 : {
6464 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6465 0 : rtx x2, x3, x4, x5, x6, x7;
6466 0 : int res ATTRIBUTE_UNUSED;
6467 0 : x2 = XEXP (x1, 2);
6468 0 : if (GET_CODE (x2) != UNSPEC
6469 0 : || XVECLEN (x2, 0) != 3
6470 0 : || XINT (x2, 1) != 56)
6471 : return -1;
6472 0 : x3 = XVECEXP (x2, 0, 2);
6473 0 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
6474 : return -1;
6475 0 : x4 = XEXP (x1, 0);
6476 0 : operands[3] = x4;
6477 0 : x5 = XEXP (x1, 1);
6478 0 : operands[4] = x5;
6479 0 : x6 = XVECEXP (x2, 0, 0);
6480 0 : operands[1] = x6;
6481 0 : x7 = XVECEXP (x2, 0, 1);
6482 0 : operands[2] = x7;
6483 0 : switch (GET_MODE (x1))
6484 : {
6485 0 : case E_V32QImode:
6486 0 : return pattern1021 (x2,
6487 : E_V32QImode,
6488 0 : E_SImode); /* [-1, 0] */
6489 :
6490 0 : case E_V16QImode:
6491 0 : if (pattern1021 (x2,
6492 : E_V16QImode,
6493 : E_HImode) != 0)
6494 0 : return -1;
6495 : return 1;
6496 :
6497 : default:
6498 : return -1;
6499 : }
6500 : }
6501 :
6502 : int
6503 14 : pattern1027 (rtx x1, machine_mode i1)
6504 : {
6505 14 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6506 14 : rtx x2, x3;
6507 14 : int res ATTRIBUTE_UNUSED;
6508 14 : if (!register_operand (operands[0], i1)
6509 14 : || GET_MODE (x1) != i1)
6510 : return -1;
6511 14 : x2 = XEXP (x1, 0);
6512 14 : if (GET_MODE (x2) != i1)
6513 : return -1;
6514 14 : x3 = XEXP (x2, 0);
6515 14 : if (GET_MODE (x3) != i1
6516 14 : || !nonimmediate_operand (operands[1], i1))
6517 10 : return -1;
6518 : return 0;
6519 : }
6520 :
6521 : int
6522 1762 : pattern1030 (rtx x1)
6523 : {
6524 1762 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6525 1762 : rtx x2;
6526 1762 : int res ATTRIBUTE_UNUSED;
6527 1762 : if (!register_operand (operands[0], E_DImode)
6528 1762 : || GET_MODE (x1) != E_DImode)
6529 : return -1;
6530 1736 : x2 = XEXP (x1, 0);
6531 1736 : if (GET_MODE (x2) != E_DImode
6532 1736 : || !register_operand (operands[1], E_V64QImode)
6533 1587 : || !nonimmediate_operand (operands[2], E_V64QImode)
6534 3317 : || !const_0_to_7_operand (operands[3], E_SImode))
6535 155 : return -1;
6536 : return 0;
6537 : }
6538 :
6539 : int
6540 0 : pattern1032 (rtx x1)
6541 : {
6542 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6543 0 : rtx x2, x3;
6544 0 : int res ATTRIBUTE_UNUSED;
6545 0 : x2 = XEXP (x1, 0);
6546 0 : operands[1] = x2;
6547 0 : x3 = XEXP (x1, 1);
6548 0 : operands[2] = x3;
6549 0 : switch (GET_MODE (x1))
6550 : {
6551 0 : case E_V8SFmode:
6552 0 : if (!register_operand (operands[1], E_V8SImode)
6553 0 : || !const0_operand (operands[2], E_V8SImode))
6554 0 : return -1;
6555 : return 0;
6556 :
6557 0 : case E_V4SFmode:
6558 0 : if (!register_operand (operands[1], E_V4SImode)
6559 0 : || !const0_operand (operands[2], E_V4SImode))
6560 0 : return -1;
6561 : return 1;
6562 :
6563 0 : case E_V4DFmode:
6564 0 : if (!register_operand (operands[1], E_V4DImode)
6565 0 : || !const0_operand (operands[2], E_V4DImode))
6566 0 : return -1;
6567 : return 2;
6568 :
6569 0 : case E_V2DFmode:
6570 0 : if (!register_operand (operands[1], E_V2DImode)
6571 0 : || !const0_operand (operands[2], E_V2DImode))
6572 0 : return -1;
6573 : return 3;
6574 :
6575 0 : case E_V16QImode:
6576 0 : if (!register_operand (operands[1], E_V16QImode)
6577 0 : || !const0_operand (operands[2], E_V16QImode))
6578 0 : return -1;
6579 : return 4;
6580 :
6581 : default:
6582 : return -1;
6583 : }
6584 : }
6585 :
6586 : int
6587 2661 : pattern1038 (rtx x1, machine_mode i1, machine_mode i2)
6588 : {
6589 2661 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6590 2661 : rtx x2;
6591 2661 : int res ATTRIBUTE_UNUSED;
6592 2661 : if (!register_operand (operands[0], i1)
6593 2661 : || GET_MODE (x1) != i1)
6594 : return -1;
6595 2494 : x2 = XEXP (x1, 0);
6596 2494 : if (GET_MODE (x2) != i1
6597 2494 : || !vector_operand (operands[1], i1)
6598 2494 : || !nonimm_or_0_operand (operands[2], i1)
6599 4955 : || !register_operand (operands[3], i2))
6600 146 : return -1;
6601 : return 0;
6602 : }
6603 :
6604 : int
6605 1209 : pattern1042 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
6606 : {
6607 1209 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6608 1209 : rtx x2, x3;
6609 1209 : int res ATTRIBUTE_UNUSED;
6610 1209 : if (GET_MODE (x1) != i3)
6611 : return -1;
6612 1209 : x2 = XEXP (x1, 0);
6613 1209 : if (GET_MODE (x2) != i3
6614 1209 : || !register_operand (operands[1], i2))
6615 : return -1;
6616 1200 : x3 = XEXP (x1, 2);
6617 1200 : if (!register_operand (x3, i1))
6618 44 : return -1;
6619 : return 0;
6620 : }
6621 :
6622 : int
6623 4417 : pattern1047 (rtx x1, machine_mode i1, machine_mode i2)
6624 : {
6625 4417 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6626 4417 : rtx x2;
6627 4417 : int res ATTRIBUTE_UNUSED;
6628 4417 : if (!register_operand (operands[0], i1)
6629 4417 : || GET_MODE (x1) != i1)
6630 : return -1;
6631 4240 : x2 = XEXP (x1, 0);
6632 4240 : if (GET_MODE (x2) != i1
6633 4240 : || !nonimmediate_operand (operands[2], i2)
6634 8445 : || !reg_or_0_operand (operands[1], i1))
6635 431 : return -1;
6636 : return 0;
6637 : }
6638 :
6639 : int
6640 32 : pattern1050 (rtx x1, machine_mode i1, machine_mode i2)
6641 : {
6642 32 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6643 32 : rtx x2, x3;
6644 32 : int res ATTRIBUTE_UNUSED;
6645 32 : if (!register_operand (operands[0], i1)
6646 32 : || GET_MODE (x1) != i1)
6647 : return -1;
6648 32 : x2 = XEXP (x1, 0);
6649 32 : if (GET_MODE (x2) != i1)
6650 : return -1;
6651 32 : x3 = XEXP (x2, 0);
6652 32 : if (GET_MODE (x3) != i2
6653 32 : || !nonimmediate_operand (operands[2], i1)
6654 64 : || !reg_or_0_operand (operands[1], i1))
6655 0 : return -1;
6656 : return 0;
6657 : }
6658 :
6659 : int
6660 8699 : pattern1054 (rtx x1)
6661 : {
6662 8699 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6663 8699 : rtx x2, x3, x4, x5, x6, x7;
6664 8699 : int res ATTRIBUTE_UNUSED;
6665 8699 : x2 = XEXP (x1, 1);
6666 8699 : operands[2] = x2;
6667 8699 : x3 = XEXP (x1, 2);
6668 8699 : x4 = XVECEXP (x3, 0, 1);
6669 8699 : operands[4] = x4;
6670 8699 : x5 = XVECEXP (x3, 0, 2);
6671 8699 : operands[5] = x5;
6672 8699 : x6 = XVECEXP (x3, 0, 0);
6673 8699 : switch (GET_CODE (x6))
6674 : {
6675 : case REG:
6676 : case SUBREG:
6677 : case MEM:
6678 : return 0;
6679 :
6680 0 : case NOT:
6681 0 : x7 = XEXP (x6, 0);
6682 0 : operands[3] = x7;
6683 0 : if (!const_0_to_7_operand (operands[5], E_SImode))
6684 : return -1;
6685 0 : switch (GET_MODE (operands[0]))
6686 : {
6687 0 : case E_V32QImode:
6688 0 : if (pattern1053 (x1,
6689 : E_V32QImode,
6690 : E_SImode) != 0)
6691 : return -1;
6692 : return 1;
6693 :
6694 0 : case E_V16QImode:
6695 0 : if (pattern1053 (x1,
6696 : E_V16QImode,
6697 : E_HImode) != 0)
6698 : return -1;
6699 : return 2;
6700 :
6701 : default:
6702 : return -1;
6703 : }
6704 :
6705 : default:
6706 : return -1;
6707 : }
6708 : }
6709 :
6710 : int
6711 195 : pattern1063 (rtx x1)
6712 : {
6713 195 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6714 195 : rtx x2;
6715 195 : int res ATTRIBUTE_UNUSED;
6716 195 : if (!register_operand (operands[0], E_V8SImode)
6717 195 : || GET_MODE (x1) != E_V8SImode)
6718 : return -1;
6719 195 : x2 = XVECEXP (x1, 0, 0);
6720 195 : if (GET_MODE (x2) != E_V8SImode)
6721 : return -1;
6722 195 : switch (GET_MODE (operands[1]))
6723 : {
6724 0 : case E_V8HFmode:
6725 0 : if (!register_operand (operands[1], E_V8HFmode))
6726 0 : return -1;
6727 : return 0;
6728 :
6729 195 : case E_V8DFmode:
6730 195 : if (!register_operand (operands[1], E_V8DFmode))
6731 3 : return -1;
6732 : return 1;
6733 :
6734 : default:
6735 : return -1;
6736 : }
6737 : }
6738 :
6739 : int
6740 122 : pattern1069 (rtx x1)
6741 : {
6742 122 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6743 122 : rtx x2;
6744 122 : int res ATTRIBUTE_UNUSED;
6745 122 : if (!register_operand (operands[0], E_V8HFmode)
6746 122 : || GET_MODE (x1) != E_V8HFmode)
6747 : return -1;
6748 118 : x2 = XVECEXP (x1, 0, 0);
6749 118 : if (GET_MODE (x2) != E_V8HFmode)
6750 : return -1;
6751 118 : switch (GET_MODE (operands[1]))
6752 : {
6753 0 : case E_V8HImode:
6754 0 : if (!register_operand (operands[1], E_V8HImode))
6755 0 : return -1;
6756 : return 0;
6757 :
6758 0 : case E_V8SImode:
6759 0 : if (!register_operand (operands[1], E_V8SImode))
6760 0 : return -1;
6761 : return 1;
6762 :
6763 118 : case E_V8DImode:
6764 118 : if (!register_operand (operands[1], E_V8DImode))
6765 10 : return -1;
6766 : return 2;
6767 :
6768 : default:
6769 : return -1;
6770 : }
6771 : }
6772 :
6773 : int
6774 450 : pattern1076 (rtx x1, machine_mode i1)
6775 : {
6776 450 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6777 450 : int res ATTRIBUTE_UNUSED;
6778 450 : if (!register_operand (operands[0], i1)
6779 396 : || GET_MODE (x1) != i1
6780 396 : || !register_operand (operands[1], i1)
6781 789 : || !bcst_vector_operand (operands[2], i1))
6782 111 : return -1;
6783 : return 0;
6784 : }
6785 :
6786 : int
6787 112 : pattern1080 (rtx x1)
6788 : {
6789 112 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6790 112 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6791 112 : rtx x10;
6792 112 : int res ATTRIBUTE_UNUSED;
6793 112 : x2 = XEXP (x1, 0);
6794 112 : x3 = XEXP (x2, 1);
6795 112 : if (XVECLEN (x3, 0) != 2)
6796 : return -1;
6797 17 : x4 = XVECEXP (x3, 0, 0);
6798 17 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6799 : return -1;
6800 17 : x5 = XVECEXP (x3, 0, 1);
6801 17 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
6802 17 : || !register_operand (operands[0], E_V2DImode)
6803 16 : || GET_MODE (x1) != E_V2DImode
6804 33 : || GET_MODE (x2) != E_V2QImode)
6805 : return -1;
6806 12 : x6 = XEXP (x2, 0);
6807 12 : if (GET_MODE (x6) != E_V16QImode)
6808 : return -1;
6809 12 : x7 = XEXP (x6, 0);
6810 12 : x8 = XEXP (x7, 0);
6811 12 : x9 = XEXP (x8, 0);
6812 12 : operands[1] = x9;
6813 12 : x10 = XEXP (x7, 1);
6814 12 : operands[2] = x10;
6815 12 : switch (GET_MODE (x7))
6816 : {
6817 6 : case E_V8HImode:
6818 6 : if (GET_MODE (x8) != E_V8HImode
6819 6 : || !nonimmediate_operand (operands[1], E_HImode)
6820 12 : || !const0_operand (operands[2], E_V8HImode))
6821 0 : return -1;
6822 : return 0;
6823 :
6824 6 : case E_V8HFmode:
6825 6 : if (GET_MODE (x8) != E_V8HFmode
6826 6 : || !nonimmediate_operand (operands[1], E_HFmode)
6827 12 : || !const0_operand (operands[2], E_V8HFmode))
6828 0 : return -1;
6829 : return 1;
6830 :
6831 0 : case E_V8BFmode:
6832 0 : if (GET_MODE (x8) != E_V8BFmode
6833 0 : || !nonimmediate_operand (operands[1], E_BFmode)
6834 0 : || !const0_operand (operands[2], E_V8BFmode))
6835 0 : return -1;
6836 : return 2;
6837 :
6838 : default:
6839 : return -1;
6840 : }
6841 : }
6842 :
6843 : int
6844 505 : pattern1089 (rtx x1)
6845 : {
6846 505 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6847 505 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6848 505 : rtx x10, x11, x12, x13;
6849 505 : int res ATTRIBUTE_UNUSED;
6850 505 : x2 = XVECEXP (x1, 0, 0);
6851 505 : x3 = XEXP (x2, 1);
6852 505 : x4 = XEXP (x3, 0);
6853 505 : x5 = XVECEXP (x4, 0, 0);
6854 505 : operands[1] = x5;
6855 505 : x6 = XVECEXP (x4, 0, 1);
6856 505 : operands[2] = x6;
6857 505 : x7 = XVECEXP (x4, 0, 2);
6858 505 : operands[3] = x7;
6859 505 : x8 = XVECEXP (x1, 0, 1);
6860 505 : x9 = XEXP (x8, 0);
6861 505 : operands[4] = x9;
6862 505 : x10 = XEXP (x8, 1);
6863 505 : x11 = XVECEXP (x10, 0, 0);
6864 505 : if (!rtx_equal_p (x11, operands[1]))
6865 : return -1;
6866 505 : x12 = XVECEXP (x10, 0, 1);
6867 505 : if (!rtx_equal_p (x12, operands[2]))
6868 : return -1;
6869 505 : x13 = XVECEXP (x10, 0, 2);
6870 505 : if (!rtx_equal_p (x13, operands[3]))
6871 : return -1;
6872 505 : switch (XINT (x4, 1))
6873 : {
6874 328 : case 56:
6875 328 : if (XINT (x10, 1) != 56)
6876 : return -1;
6877 328 : switch (GET_MODE (operands[0]))
6878 : {
6879 79 : case E_HImode:
6880 79 : return pattern1087 (x1,
6881 79 : E_HImode); /* [-1, 20] */
6882 :
6883 114 : case E_SImode:
6884 114 : res = pattern1087 (x1,
6885 : E_SImode);
6886 114 : if (res >= 0)
6887 99 : return res + 21; /* [21, 41] */
6888 : return -1;
6889 :
6890 135 : case E_DImode:
6891 135 : res = pattern1087 (x1,
6892 : E_DImode);
6893 135 : if (res >= 0)
6894 117 : return res + 42; /* [42, 62] */
6895 : return -1;
6896 :
6897 : default:
6898 : return -1;
6899 : }
6900 :
6901 177 : case 156:
6902 177 : if (XINT (x10, 1) != 156
6903 177 : || !const_0_to_7_operand (operands[3], E_SImode))
6904 : return -1;
6905 177 : switch (GET_MODE (operands[0]))
6906 : {
6907 39 : case E_HImode:
6908 39 : res = pattern1088 (x1,
6909 : E_HImode);
6910 39 : if (res >= 0)
6911 34 : return res + 63; /* [63, 74] */
6912 : return -1;
6913 :
6914 64 : case E_SImode:
6915 64 : res = pattern1088 (x1,
6916 : E_SImode);
6917 64 : if (res >= 0)
6918 54 : return res + 75; /* [75, 86] */
6919 : return -1;
6920 :
6921 74 : case E_DImode:
6922 74 : res = pattern1088 (x1,
6923 : E_DImode);
6924 74 : if (res >= 0)
6925 64 : return res + 87; /* [87, 98] */
6926 : return -1;
6927 :
6928 : default:
6929 : return -1;
6930 : }
6931 :
6932 : default:
6933 : return -1;
6934 : }
6935 : }
6936 :
6937 : int
6938 5 : pattern1094 (rtx x1, machine_mode i1)
6939 : {
6940 5 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6941 5 : rtx x2;
6942 5 : int res ATTRIBUTE_UNUSED;
6943 5 : if (!register_operand (operands[0], i1)
6944 5 : || GET_MODE (x1) != i1)
6945 : return -1;
6946 5 : x2 = XEXP (x1, 0);
6947 5 : if (GET_MODE (x2) != i1
6948 5 : || !vector_operand (operands[1], i1)
6949 10 : || !vector_operand (operands[2], i1))
6950 0 : return -1;
6951 : return 0;
6952 : }
6953 :
6954 : int
6955 0 : pattern1097 (rtx x1, machine_mode i1)
6956 : {
6957 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6958 0 : rtx x2;
6959 0 : int res ATTRIBUTE_UNUSED;
6960 0 : if (!register_operand (operands[0], i1)
6961 0 : || GET_MODE (x1) != i1)
6962 : return -1;
6963 0 : x2 = XEXP (x1, 0);
6964 0 : if (GET_MODE (x2) != i1
6965 0 : || !register_operand (operands[1], i1)
6966 0 : || !register_operand (operands[2], i1))
6967 0 : return -1;
6968 : return 0;
6969 : }
6970 :
6971 : int
6972 1075 : pattern1101 (rtx x1)
6973 : {
6974 1075 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6975 1075 : rtx x2, x3, x4, x5, x6, x7, x8;
6976 1075 : int res ATTRIBUTE_UNUSED;
6977 1075 : x2 = XEXP (x1, 0);
6978 1075 : x3 = XEXP (x2, 1);
6979 1075 : if (GET_MODE (x3) != E_QImode)
6980 : return -1;
6981 1075 : x4 = XEXP (x1, 1);
6982 1075 : operands[3] = x4;
6983 1075 : switch (GET_CODE (x3))
6984 : {
6985 548 : case SUBREG:
6986 548 : if (maybe_ne (SUBREG_BYTE (x3), 0))
6987 : return -1;
6988 548 : x5 = XEXP (x3, 0);
6989 548 : if (GET_CODE (x5) != AND)
6990 : return -1;
6991 160 : x6 = XEXP (x5, 0);
6992 160 : operands[1] = x6;
6993 160 : if (!int248_register_operand (operands[1], E_VOIDmode))
6994 : return -1;
6995 155 : x7 = XEXP (x5, 1);
6996 155 : operands[2] = x7;
6997 155 : if (!const_int_operand (operands[2], E_VOIDmode))
6998 : return -1;
6999 155 : switch (GET_MODE (operands[0]))
7000 : {
7001 64 : case E_SImode:
7002 64 : return pattern1100 (x1,
7003 64 : E_SImode); /* [-1, 0] */
7004 :
7005 65 : case E_DImode:
7006 65 : if (pattern1100 (x1,
7007 : E_DImode) != 0)
7008 58 : return -1;
7009 : return 1;
7010 :
7011 : default:
7012 : return -1;
7013 : }
7014 :
7015 3 : case AND:
7016 3 : x5 = XEXP (x3, 0);
7017 3 : operands[1] = x5;
7018 3 : if (!register_operand (operands[1], E_QImode))
7019 : return -1;
7020 3 : x8 = XEXP (x3, 1);
7021 3 : operands[2] = x8;
7022 3 : if (!const_int_operand (operands[2], E_QImode))
7023 : return -1;
7024 3 : switch (GET_MODE (operands[0]))
7025 : {
7026 3 : case E_SImode:
7027 3 : if (pattern1100 (x1,
7028 : E_SImode) != 0)
7029 0 : return -1;
7030 : return 2;
7031 :
7032 0 : case E_DImode:
7033 0 : if (pattern1100 (x1,
7034 : E_DImode) != 0)
7035 0 : return -1;
7036 : return 3;
7037 :
7038 : default:
7039 : return -1;
7040 : }
7041 :
7042 : default:
7043 : return -1;
7044 : }
7045 : }
7046 :
7047 : int
7048 15174 : pattern1113 ()
7049 : {
7050 15174 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7051 15174 : int res ATTRIBUTE_UNUSED;
7052 15174 : switch (GET_MODE (operands[3]))
7053 : {
7054 613 : case E_HImode:
7055 613 : if (!extract_high_operator (operands[3], E_HImode))
7056 504 : return -1;
7057 : return 0;
7058 :
7059 9761 : case E_SImode:
7060 9761 : if (!extract_high_operator (operands[3], E_SImode))
7061 9708 : return -1;
7062 : return 1;
7063 :
7064 4800 : case E_DImode:
7065 4800 : if (!extract_high_operator (operands[3], E_DImode))
7066 4767 : return -1;
7067 : return 2;
7068 :
7069 : default:
7070 : return -1;
7071 : }
7072 : }
7073 :
7074 : int
7075 5258 : pattern1117 (rtx x1)
7076 : {
7077 5258 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7078 5258 : rtx x2, x3, x4;
7079 5258 : int res ATTRIBUTE_UNUSED;
7080 5258 : x2 = XEXP (x1, 1);
7081 5258 : x3 = XEXP (x2, 1);
7082 5258 : if (maybe_ne (SUBREG_BYTE (x3), 0)
7083 5258 : || GET_MODE (x3) != E_QImode)
7084 : return -1;
7085 5258 : x4 = XEXP (x3, 0);
7086 5258 : switch (GET_CODE (x4))
7087 : {
7088 810 : case ASHIFTRT:
7089 810 : case LSHIFTRT:
7090 810 : case SIGN_EXTRACT:
7091 810 : case ZERO_EXTRACT:
7092 810 : operands[4] = x4;
7093 810 : return pattern1116 (x1); /* [-1, 5] */
7094 :
7095 : default:
7096 : return -1;
7097 : }
7098 : }
7099 :
7100 : int
7101 323 : pattern1121 (rtx x1, machine_mode i1, machine_mode i2)
7102 : {
7103 323 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7104 323 : rtx x2;
7105 323 : int res ATTRIBUTE_UNUSED;
7106 323 : if (!register_operand (operands[0], i1)
7107 323 : || GET_MODE (x1) != i1)
7108 : return -1;
7109 311 : x2 = XEXP (x1, 0);
7110 311 : if (GET_MODE (x2) != i1
7111 311 : || !nonimmediate_operand (operands[1], i2)
7112 618 : || !register_operand (operands[3], i1))
7113 53 : return -1;
7114 : return 0;
7115 : }
7116 :
7117 : int
7118 17 : pattern1125 (rtx x1, machine_mode i1)
7119 : {
7120 17 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7121 17 : int res ATTRIBUTE_UNUSED;
7122 17 : if (!register_operand (operands[0], i1)
7123 17 : || GET_MODE (x1) != i1
7124 17 : || !register_operand (operands[1], i1)
7125 28 : || !general_operand (operands[2], i1))
7126 12 : return -1;
7127 : return 0;
7128 : }
7129 :
7130 : int
7131 1031 : pattern1129 (rtx x1, machine_mode i1)
7132 : {
7133 1031 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7134 1031 : int res ATTRIBUTE_UNUSED;
7135 1031 : if (!nonimmediate_operand (operands[0], i1)
7136 1031 : || GET_MODE (x1) != i1
7137 1031 : || !ix86_carry_flag_unset_operator (operands[2], i1)
7138 1746 : || !nonimmediate_operand (operands[1], i1))
7139 577 : return -1;
7140 : return 0;
7141 : }
7142 :
7143 : int
7144 146 : pattern1135 (rtx x1, machine_mode i1)
7145 : {
7146 146 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7147 146 : rtx x2;
7148 146 : int res ATTRIBUTE_UNUSED;
7149 146 : if (!register_operand (operands[0], i1)
7150 146 : || GET_MODE (x1) != i1)
7151 : return -1;
7152 146 : x2 = XEXP (x1, 0);
7153 146 : return pattern1134 (x2); /* [-1, 11] */
7154 : }
7155 :
7156 : int
7157 0 : pattern1138 (rtx x1)
7158 : {
7159 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7160 0 : rtx x2;
7161 0 : int res ATTRIBUTE_UNUSED;
7162 0 : if (!register_operand (operands[0], E_SImode)
7163 0 : || GET_MODE (x1) != E_SImode)
7164 : return -1;
7165 0 : x2 = XEXP (x1, 0);
7166 0 : if (GET_MODE (x2) != E_SImode)
7167 : return -1;
7168 0 : return pattern648 (); /* [-1, 1] */
7169 : }
7170 :
7171 : int
7172 62 : pattern1141 (rtx x1)
7173 : {
7174 62 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7175 62 : rtx x2, x3, x4;
7176 62 : int res ATTRIBUTE_UNUSED;
7177 62 : x2 = XEXP (x1, 0);
7178 62 : x3 = XEXP (x2, 0);
7179 62 : operands[1] = x3;
7180 62 : x4 = XEXP (x2, 1);
7181 62 : operands[2] = x4;
7182 62 : if (!const_int_operand (operands[2], E_QImode))
7183 : return -1;
7184 62 : switch (GET_MODE (x1))
7185 : {
7186 14 : case E_V8SFmode:
7187 14 : if (GET_MODE (x2) != E_V8SImode
7188 14 : || !register_operand (operands[1], E_V8SImode))
7189 0 : return -1;
7190 : return 0;
7191 :
7192 16 : case E_V4SFmode:
7193 16 : if (GET_MODE (x2) != E_V4SImode
7194 16 : || !register_operand (operands[1], E_V4SImode))
7195 0 : return -1;
7196 : return 1;
7197 :
7198 0 : case E_V4DFmode:
7199 0 : if (GET_MODE (x2) != E_V4DImode
7200 0 : || !register_operand (operands[1], E_V4DImode))
7201 0 : return -1;
7202 : return 2;
7203 :
7204 14 : case E_V2DFmode:
7205 14 : if (GET_MODE (x2) != E_V2DImode
7206 14 : || !register_operand (operands[1], E_V2DImode))
7207 0 : return -1;
7208 : return 3;
7209 :
7210 : default:
7211 : return -1;
7212 : }
7213 : }
7214 :
7215 : int
7216 473 : pattern1144 (rtx x1, machine_mode i1)
7217 : {
7218 473 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7219 473 : rtx x2;
7220 473 : int res ATTRIBUTE_UNUSED;
7221 473 : if (!register_operand (operands[0], i1)
7222 473 : || GET_MODE (x1) != i1)
7223 : return -1;
7224 473 : x2 = XEXP (x1, 0);
7225 473 : if (GET_MODE (x2) != i1
7226 473 : || !memory_operand (operands[1], i1)
7227 946 : || !nonimm_or_0_operand (operands[2], i1))
7228 0 : return -1;
7229 : return 0;
7230 : }
7231 :
7232 : int
7233 939 : pattern1146 (rtx x1, machine_mode i1)
7234 : {
7235 939 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7236 939 : rtx x2;
7237 939 : int res ATTRIBUTE_UNUSED;
7238 939 : if (!register_operand (operands[0], i1)
7239 939 : || GET_MODE (x1) != i1)
7240 : return -1;
7241 857 : x2 = XEXP (x1, 0);
7242 857 : if (GET_MODE (x2) != i1
7243 857 : || !nonimm_or_0_operand (operands[2], i1)
7244 1675 : || !register_operand (operands[3], E_QImode))
7245 : return -1;
7246 752 : switch (GET_MODE (operands[1]))
7247 : {
7248 291 : case E_V8HFmode:
7249 291 : if (!vector_operand (operands[1], E_V8HFmode))
7250 0 : return -1;
7251 : return 0;
7252 :
7253 302 : case E_V8SFmode:
7254 302 : if (!nonimmediate_operand (operands[1], E_V8SFmode))
7255 0 : return -1;
7256 : return 1;
7257 :
7258 159 : case E_V8DFmode:
7259 159 : if (!nonimmediate_operand (operands[1], E_V8DFmode))
7260 0 : return -1;
7261 : return 2;
7262 :
7263 : default:
7264 : return -1;
7265 : }
7266 : }
7267 :
7268 : int
7269 1349 : pattern1150 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
7270 : {
7271 1349 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7272 1349 : rtx x2;
7273 1349 : int res ATTRIBUTE_UNUSED;
7274 1349 : if (!register_operand (operands[0], i2)
7275 1349 : || GET_MODE (x1) != i2)
7276 : return -1;
7277 1293 : x2 = XEXP (x1, 0);
7278 1293 : if (GET_MODE (x2) != i2
7279 1293 : || !register_operand (operands[1], i3)
7280 1293 : || !vector_operand (operands[2], i3)
7281 1293 : || !nonimm_or_0_operand (operands[3], i2)
7282 2540 : || !register_operand (operands[4], i1))
7283 106 : return -1;
7284 : return 0;
7285 : }
7286 :
7287 : int
7288 1698 : pattern1155 (rtx x1)
7289 : {
7290 1698 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7291 1698 : rtx x2;
7292 1698 : int res ATTRIBUTE_UNUSED;
7293 1698 : x2 = XEXP (x1, 1);
7294 1698 : if (!rtx_equal_p (x2, operands[1]))
7295 : return -1;
7296 1698 : switch (GET_MODE (operands[0]))
7297 : {
7298 881 : case E_V4SFmode:
7299 881 : return pattern487 (x1,
7300 881 : E_V4SFmode); /* [-1, 0] */
7301 :
7302 817 : case E_V2DFmode:
7303 817 : if (pattern487 (x1,
7304 : E_V2DFmode) != 0)
7305 170 : return -1;
7306 : return 1;
7307 :
7308 : default:
7309 : return -1;
7310 : }
7311 : }
7312 :
7313 : int
7314 296 : pattern1162 (rtx x1, machine_mode i1, machine_mode i2)
7315 : {
7316 296 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7317 296 : rtx x2;
7318 296 : int res ATTRIBUTE_UNUSED;
7319 296 : if (!register_operand (operands[0], i2)
7320 287 : || GET_MODE (x1) != i2
7321 583 : || !register_operand (operands[1], i2))
7322 : return -1;
7323 286 : x2 = XEXP (x1, 1);
7324 286 : if (GET_MODE (x2) != i2
7325 286 : || !nonimmediate_operand (operands[2], i1))
7326 0 : return -1;
7327 : return 0;
7328 : }
7329 :
7330 : int
7331 558 : pattern1167 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3, machine_mode i4)
7332 : {
7333 558 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7334 558 : rtx x2, x3, x4;
7335 558 : int res ATTRIBUTE_UNUSED;
7336 558 : if (!register_operand (operands[0], i2)
7337 558 : || GET_MODE (x1) != i2)
7338 : return -1;
7339 543 : x2 = XEXP (x1, 0);
7340 543 : if (GET_MODE (x2) != i2)
7341 : return -1;
7342 543 : x3 = XEXP (x2, 0);
7343 543 : if (GET_MODE (x3) != i4
7344 543 : || !nonimmediate_operand (operands[2], i3))
7345 : return -1;
7346 543 : x4 = XEXP (x2, 1);
7347 543 : return pattern1166 (x4,
7348 : i1,
7349 : i2,
7350 : i3,
7351 543 : i4); /* [-1, 0] */
7352 : }
7353 :
7354 : int
7355 958 : pattern1170 (rtx x1)
7356 : {
7357 958 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7358 958 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7359 958 : rtx x10, x11;
7360 958 : int res ATTRIBUTE_UNUSED;
7361 958 : x2 = XVECEXP (x1, 0, 0);
7362 958 : x3 = XEXP (x2, 2);
7363 958 : if (XWINT (x3, 0) != 1L)
7364 : return -1;
7365 958 : x4 = XEXP (x2, 0);
7366 958 : x5 = XEXP (x4, 0);
7367 958 : x6 = XVECEXP (x5, 0, 0);
7368 958 : operands[1] = x6;
7369 958 : x7 = XVECEXP (x5, 0, 1);
7370 958 : operands[2] = x7;
7371 958 : x8 = XEXP (x4, 1);
7372 958 : operands[3] = x8;
7373 958 : x9 = XEXP (x4, 2);
7374 958 : operands[4] = x9;
7375 958 : if (!register_operand (operands[4], E_QImode))
7376 : return -1;
7377 940 : x10 = XVECEXP (x1, 0, 1);
7378 940 : operands[5] = x10;
7379 940 : if (!const48_operand (operands[5], E_SImode))
7380 : return -1;
7381 940 : x11 = XEXP (x2, 1);
7382 940 : if (!rtx_equal_p (x11, operands[1]))
7383 : return -1;
7384 940 : switch (GET_MODE (operands[0]))
7385 : {
7386 520 : case E_V8HFmode:
7387 520 : return pattern1169 (x1,
7388 520 : E_V8HFmode); /* [-1, 0] */
7389 :
7390 210 : case E_V4SFmode:
7391 210 : if (pattern1169 (x1,
7392 : E_V4SFmode) != 0)
7393 44 : return -1;
7394 : return 1;
7395 :
7396 210 : case E_V2DFmode:
7397 210 : if (pattern1169 (x1,
7398 : E_V2DFmode) != 0)
7399 44 : return -1;
7400 : return 2;
7401 :
7402 : default:
7403 : return -1;
7404 : }
7405 : }
7406 :
7407 : int
7408 548 : pattern1179 (rtx x1, machine_mode i1, machine_mode i2)
7409 : {
7410 548 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7411 548 : int res ATTRIBUTE_UNUSED;
7412 548 : if (!register_operand (operands[0], i2)
7413 526 : || GET_MODE (x1) != i2
7414 526 : || !register_operand (operands[1], i2)
7415 480 : || !nonimmediate_operand (operands[2], i2)
7416 1028 : || !nonimmediate_operand (operands[3], i1))
7417 68 : return -1;
7418 : return 0;
7419 : }
7420 :
7421 : int
7422 2344 : pattern1184 (rtx x1)
7423 : {
7424 2344 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7425 2344 : rtx x2, x3, x4, x5;
7426 2344 : int res ATTRIBUTE_UNUSED;
7427 2344 : x2 = XVECEXP (x1, 0, 0);
7428 2344 : switch (XWINT (x2, 0))
7429 : {
7430 1532 : case 0L:
7431 1532 : x3 = XVECEXP (x1, 0, 1);
7432 1532 : switch (XWINT (x3, 0))
7433 : {
7434 : case 1L:
7435 : return 0;
7436 :
7437 232 : case 2L:
7438 232 : return 1;
7439 :
7440 : default:
7441 : return -1;
7442 : }
7443 :
7444 224 : case 1L:
7445 224 : x3 = XVECEXP (x1, 0, 1);
7446 224 : if (XWINT (x3, 0) != 3L)
7447 : return -1;
7448 224 : x4 = XVECEXP (x1, 0, 2);
7449 224 : if (XWINT (x4, 0) != 5L)
7450 : return -1;
7451 224 : x5 = XVECEXP (x1, 0, 3);
7452 224 : if (XWINT (x5, 0) != 7L)
7453 : return -1;
7454 : return 2;
7455 :
7456 : default:
7457 : return -1;
7458 : }
7459 : }
7460 :
7461 : int
7462 2442 : pattern1190 (rtx x1)
7463 : {
7464 2442 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7465 2442 : int res ATTRIBUTE_UNUSED;
7466 2442 : switch (GET_MODE (operands[0]))
7467 : {
7468 495 : case E_SImode:
7469 495 : if (!register_operand (operands[0], E_SImode)
7470 495 : || GET_MODE (x1) != E_SImode)
7471 : return -1;
7472 485 : switch (GET_MODE (operands[1]))
7473 : {
7474 137 : case E_QImode:
7475 137 : if (!nonimmediate_operand (operands[1], E_QImode))
7476 38 : return -1;
7477 : return 0;
7478 :
7479 348 : case E_HImode:
7480 348 : if (!nonimmediate_operand (operands[1], E_HImode))
7481 3 : return -1;
7482 : return 1;
7483 :
7484 : default:
7485 : return -1;
7486 : }
7487 :
7488 101 : case E_HImode:
7489 101 : if (!register_operand (operands[0], E_HImode)
7490 101 : || GET_MODE (x1) != E_HImode
7491 202 : || !nonimmediate_operand (operands[1], E_QImode))
7492 0 : return -1;
7493 : return 2;
7494 :
7495 : default:
7496 : return -1;
7497 : }
7498 : }
7499 :
7500 : int
7501 240 : pattern1198 (rtx x1, machine_mode i1)
7502 : {
7503 240 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7504 240 : rtx x2, x3;
7505 240 : int res ATTRIBUTE_UNUSED;
7506 240 : if (!nonimmediate_operand (operands[0], i1)
7507 240 : || GET_MODE (x1) != i1)
7508 : return -1;
7509 240 : x2 = XEXP (x1, 0);
7510 240 : if (GET_MODE (x2) != i1)
7511 : return -1;
7512 240 : x3 = XEXP (x2, 0);
7513 240 : if (GET_MODE (x3) != i1
7514 240 : || !nonimmediate_operand (operands[1], i1)
7515 431 : || !x86_64_general_operand (operands[2], i1))
7516 49 : return -1;
7517 : return 0;
7518 : }
7519 :
7520 : int
7521 28715 : pattern1204 (rtx x1)
7522 : {
7523 28715 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7524 28715 : rtx x2, x3, x4, x5;
7525 28715 : int res ATTRIBUTE_UNUSED;
7526 28715 : x2 = XEXP (x1, 0);
7527 28715 : operands[0] = x2;
7528 28715 : x3 = XEXP (x1, 1);
7529 28715 : x4 = XEXP (x3, 1);
7530 28715 : x5 = XEXP (x4, 0);
7531 28715 : operands[2] = x5;
7532 28715 : switch (GET_MODE (operands[0]))
7533 : {
7534 15203 : case E_DImode:
7535 15203 : return pattern1203 (x3,
7536 : E_SImode,
7537 15203 : E_DImode); /* [-1, 0] */
7538 :
7539 3179 : case E_TImode:
7540 3179 : if (pattern1203 (x3,
7541 : E_DImode,
7542 : E_TImode) != 0)
7543 1528 : return -1;
7544 : return 1;
7545 :
7546 : default:
7547 : return -1;
7548 : }
7549 : }
7550 :
7551 : int
7552 27170 : pattern1208 (rtx x1)
7553 : {
7554 27170 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7555 27170 : rtx x2, x3, x4;
7556 27170 : int res ATTRIBUTE_UNUSED;
7557 27170 : x2 = XEXP (x1, 1);
7558 27170 : x3 = XEXP (x2, 1);
7559 27170 : if (maybe_ne (SUBREG_BYTE (x3), 0)
7560 27170 : || GET_MODE (x3) != E_QImode)
7561 : return -1;
7562 27170 : x4 = XEXP (x1, 0);
7563 27170 : operands[0] = x4;
7564 27170 : return pattern1207 (x2); /* [-1, 11] */
7565 : }
7566 :
7567 : int
7568 24024 : pattern1212 (rtx x1, machine_mode i1, int i2)
7569 : {
7570 24024 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7571 24024 : rtx x2, x3, x4, x5, x6;
7572 24024 : int res ATTRIBUTE_UNUSED;
7573 24024 : x2 = XVECEXP (x1, 0, 1);
7574 24024 : x3 = XEXP (x2, 1);
7575 24024 : x4 = XVECEXP (x3, 0, 0);
7576 24024 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7577 : return -1;
7578 24024 : x5 = XVECEXP (x1, 0, 2);
7579 24024 : if (GET_CODE (x5) != SET)
7580 : return -1;
7581 24024 : x6 = XEXP (x5, 1);
7582 24024 : return pattern1211 (x6,
7583 : i1,
7584 24024 : i2); /* [-1, 0] */
7585 : }
7586 :
7587 : int
7588 19050246 : pattern1216 (rtx x1)
7589 : {
7590 19050246 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7591 19050246 : rtx x2, x3, x4;
7592 19050246 : int res ATTRIBUTE_UNUSED;
7593 19050246 : x2 = XEXP (x1, 1);
7594 19050246 : x3 = XEXP (x2, 1);
7595 19050246 : operands[2] = x3;
7596 19050246 : x4 = XEXP (x1, 0);
7597 19050246 : switch (GET_CODE (x4))
7598 : {
7599 19048728 : case REG:
7600 19048728 : case SUBREG:
7601 19048728 : case MEM:
7602 19048728 : operands[0] = x4;
7603 19048728 : return 0;
7604 :
7605 1518 : case STRICT_LOW_PART:
7606 1518 : res = pattern578 (x1);
7607 1518 : if (res >= 0)
7608 1409 : return res + 1; /* [1, 2] */
7609 : return -1;
7610 :
7611 : default:
7612 : return -1;
7613 : }
7614 : }
7615 :
7616 : int
7617 51 : pattern1221 ()
7618 : {
7619 51 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7620 51 : int res ATTRIBUTE_UNUSED;
7621 51 : switch (GET_MODE (operands[4]))
7622 : {
7623 14 : case E_QImode:
7624 14 : if (!register_operand (operands[4], E_QImode))
7625 0 : return -1;
7626 : return 0;
7627 :
7628 14 : case E_HImode:
7629 14 : if (!register_operand (operands[4], E_HImode))
7630 0 : return -1;
7631 : return 1;
7632 :
7633 7 : case E_SImode:
7634 7 : if (!register_operand (operands[4], E_SImode))
7635 0 : return -1;
7636 : return 2;
7637 :
7638 16 : case E_DImode:
7639 16 : if (!register_operand (operands[4], E_DImode))
7640 0 : return -1;
7641 : return 3;
7642 :
7643 : default:
7644 : return -1;
7645 : }
7646 : }
7647 :
7648 : int
7649 157 : pattern1227 (rtx x1, machine_mode i1)
7650 : {
7651 157 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7652 157 : rtx x2, x3;
7653 157 : int res ATTRIBUTE_UNUSED;
7654 157 : if (!register_operand (operands[0], i1)
7655 157 : || GET_MODE (x1) != i1)
7656 : return -1;
7657 157 : x2 = XEXP (x1, 0);
7658 157 : if (GET_MODE (x2) != i1)
7659 : return -1;
7660 157 : x3 = XEXP (x2, 0);
7661 157 : if (GET_MODE (x3) != i1
7662 157 : || !register_operand (operands[1], i1)
7663 157 : || !register_operand (operands[2], i1)
7664 194 : || !nonimmediate_operand (operands[3], i1))
7665 120 : return -1;
7666 : return 0;
7667 : }
7668 :
7669 : int
7670 48522 : pattern1232 (rtx x1, machine_mode i1)
7671 : {
7672 48522 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7673 48522 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7674 48522 : rtx x10, x11, x12;
7675 48522 : int res ATTRIBUTE_UNUSED;
7676 48522 : x2 = XVECEXP (x1, 0, 0);
7677 48522 : x3 = XEXP (x2, 1);
7678 48522 : if (GET_MODE (x3) != i1)
7679 : return -1;
7680 46974 : x4 = XEXP (x3, 0);
7681 46974 : if (GET_CODE (x4) != PLUS
7682 8 : || GET_MODE (x4) != i1)
7683 : return -1;
7684 8 : x5 = XEXP (x4, 0);
7685 8 : if (!ix86_carry_flag_operator (x5, i1))
7686 : return -1;
7687 8 : operands[4] = x5;
7688 8 : x6 = XEXP (x5, 1);
7689 8 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7690 : return -1;
7691 8 : x7 = XVECEXP (x1, 0, 1);
7692 8 : if (GET_CODE (x7) != CLOBBER)
7693 : return -1;
7694 8 : x8 = XEXP (x7, 0);
7695 8 : if (GET_CODE (x8) != REG
7696 8 : || REGNO (x8) != 17
7697 16 : || GET_MODE (x8) != E_CCmode)
7698 : return -1;
7699 8 : x9 = XEXP (x5, 0);
7700 8 : operands[3] = x9;
7701 8 : if (!flags_reg_operand (operands[3], E_VOIDmode))
7702 : return -1;
7703 8 : x10 = XEXP (x3, 1);
7704 8 : operands[2] = x10;
7705 8 : if (!memory_operand (operands[2], i1))
7706 : return -1;
7707 6 : x11 = XEXP (x4, 1);
7708 6 : if (!rtx_equal_p (x11, operands[0]))
7709 : return -1;
7710 6 : x12 = XEXP (x2, 0);
7711 6 : return pattern1231 (x12,
7712 6 : i1); /* [-1, 1] */
7713 : }
7714 :
7715 : int
7716 1314658 : pattern1237 (rtx x1, machine_mode i1)
7717 : {
7718 1314658 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7719 1314658 : int res ATTRIBUTE_UNUSED;
7720 1314658 : if (!register_operand (operands[0], i1)
7721 1306048 : || GET_MODE (x1) != i1
7722 1306048 : || !ix86_comparison_operator (operands[1], E_VOIDmode)
7723 1306048 : || !nonimmediate_operand (operands[2], i1)
7724 2582598 : || !nonimmediate_operand (operands[3], i1))
7725 52371 : return -1;
7726 : return 0;
7727 : }
7728 :
7729 : int
7730 1140805 : pattern1238 (rtx x1)
7731 : {
7732 1140805 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7733 1140805 : int res ATTRIBUTE_UNUSED;
7734 1140805 : if (!register_operand (operands[0], E_QImode)
7735 1137332 : || GET_MODE (x1) != E_QImode
7736 1137332 : || !ix86_comparison_operator (operands[1], E_VOIDmode)
7737 1137332 : || !register_operand (operands[2], E_QImode)
7738 2265618 : || !register_operand (operands[3], E_QImode))
7739 528994 : return -1;
7740 : return 0;
7741 : }
7742 :
7743 : int
7744 23996 : pattern1241 ()
7745 : {
7746 23996 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7747 23996 : int res ATTRIBUTE_UNUSED;
7748 23996 : switch (GET_MODE (operands[2]))
7749 : {
7750 779 : case E_HImode:
7751 779 : if (!extract_high_operator (operands[2], E_HImode))
7752 83 : return -1;
7753 : return 0;
7754 :
7755 11225 : case E_SImode:
7756 11225 : if (!extract_high_operator (operands[2], E_SImode))
7757 10709 : return -1;
7758 : return 1;
7759 :
7760 11992 : case E_DImode:
7761 11992 : if (!extract_high_operator (operands[2], E_DImode))
7762 11971 : return -1;
7763 : return 2;
7764 :
7765 : default:
7766 : return -1;
7767 : }
7768 : }
7769 :
7770 : int
7771 7394 : pattern1246 (rtx x1, machine_mode i1)
7772 : {
7773 7394 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7774 7394 : int res ATTRIBUTE_UNUSED;
7775 7394 : if (!nonimmediate_operand (operands[0], i1)
7776 7394 : || GET_MODE (x1) != i1
7777 7394 : || !nonimmediate_operand (operands[1], i1)
7778 13425 : || !ix86_carry_flag_operator (operands[2], i1))
7779 1363 : return -1;
7780 : return 0;
7781 : }
7782 :
7783 : int
7784 1933 : pattern1250 (rtx x1, machine_mode i1, machine_mode i2)
7785 : {
7786 1933 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7787 1933 : rtx x2;
7788 1933 : int res ATTRIBUTE_UNUSED;
7789 1933 : if (!register_operand (operands[0], i1)
7790 1933 : || GET_MODE (x1) != i1)
7791 : return -1;
7792 1799 : x2 = XEXP (x1, 0);
7793 1799 : if (GET_MODE (x2) != i1
7794 1799 : || !vector_operand (operands[1], i1)
7795 1799 : || !nonimm_or_0_operand (operands[3], i1)
7796 3568 : || !register_operand (operands[4], i2))
7797 139 : return -1;
7798 : return 0;
7799 : }
7800 :
7801 : int
7802 891 : pattern1256 (rtx x1, int i1, int i2, int i3, int i4)
7803 : {
7804 891 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7805 891 : rtx x2, x3, x4, x5;
7806 891 : int res ATTRIBUTE_UNUSED;
7807 891 : x2 = XVECEXP (x1, 0, 0);
7808 891 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
7809 : return -1;
7810 891 : x3 = XVECEXP (x1, 0, 1);
7811 891 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
7812 : return -1;
7813 891 : x4 = XVECEXP (x1, 0, 2);
7814 891 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
7815 : return -1;
7816 891 : x5 = XVECEXP (x1, 0, 3);
7817 891 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
7818 0 : return -1;
7819 : return 0;
7820 : }
7821 :
7822 : int
7823 238 : pattern1260 (rtx x1, machine_mode i1)
7824 : {
7825 238 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7826 238 : rtx x2;
7827 238 : int res ATTRIBUTE_UNUSED;
7828 238 : if (!register_operand (operands[0], i1)
7829 238 : || GET_MODE (x1) != i1)
7830 : return -1;
7831 228 : x2 = XVECEXP (x1, 0, 0);
7832 228 : if (GET_MODE (x2) != i1)
7833 : return -1;
7834 228 : switch (GET_MODE (operands[1]))
7835 : {
7836 59 : case E_V8HFmode:
7837 59 : if (!register_operand (operands[1], E_V8HFmode))
7838 5 : return -1;
7839 : return 0;
7840 :
7841 52 : case E_V8SFmode:
7842 52 : if (!nonimmediate_operand (operands[1], E_V8SFmode))
7843 1 : return -1;
7844 : return 1;
7845 :
7846 117 : case E_V8DFmode:
7847 117 : if (!nonimmediate_operand (operands[1], E_V8DFmode))
7848 0 : return -1;
7849 : return 2;
7850 :
7851 : default:
7852 : return -1;
7853 : }
7854 : }
7855 :
7856 : int
7857 28 : pattern1265 (rtx x1)
7858 : {
7859 28 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7860 28 : rtx x2, x3, x4, x5, x6, x7;
7861 28 : int res ATTRIBUTE_UNUSED;
7862 28 : x2 = XVECEXP (x1, 0, 2);
7863 28 : x3 = XEXP (x2, 0);
7864 28 : x4 = XEXP (x3, 0);
7865 28 : if (maybe_ne (SUBREG_BYTE (x4), 0))
7866 : return -1;
7867 28 : x5 = XEXP (x4, 0);
7868 28 : if (GET_CODE (x5) != NOT)
7869 : return -1;
7870 0 : x6 = XEXP (x5, 0);
7871 0 : operands[3] = x6;
7872 0 : x7 = XEXP (x3, 1);
7873 0 : operands[4] = x7;
7874 0 : switch (GET_MODE (operands[0]))
7875 : {
7876 0 : case E_V16QImode:
7877 0 : if (!register_operand (operands[0], E_V16QImode)
7878 0 : || GET_MODE (x1) != E_V16QImode
7879 0 : || !vector_operand (operands[1], E_V16QImode)
7880 0 : || !register_operand (operands[2], E_V16QImode)
7881 0 : || GET_MODE (x2) != E_V16QImode
7882 0 : || GET_MODE (x5) != E_V16QImode
7883 0 : || !register_operand (operands[3], E_V16QImode))
7884 : return -1;
7885 0 : switch (GET_MODE (x3))
7886 : {
7887 0 : case E_V4SImode:
7888 0 : if (GET_MODE (x4) != E_V4SImode
7889 0 : || !vector_all_ones_operand (operands[4], E_V4SImode))
7890 0 : return -1;
7891 : return 0;
7892 :
7893 0 : case E_V2DImode:
7894 0 : if (GET_MODE (x4) != E_V2DImode
7895 0 : || !vector_all_ones_operand (operands[4], E_V2DImode))
7896 0 : return -1;
7897 : return 1;
7898 :
7899 : default:
7900 : return -1;
7901 : }
7902 :
7903 0 : case E_V32QImode:
7904 0 : if (!register_operand (operands[0], E_V32QImode)
7905 0 : || GET_MODE (x1) != E_V32QImode
7906 0 : || !vector_operand (operands[1], E_V32QImode)
7907 0 : || !register_operand (operands[2], E_V32QImode)
7908 0 : || GET_MODE (x2) != E_V32QImode
7909 0 : || GET_MODE (x5) != E_V32QImode
7910 0 : || !register_operand (operands[3], E_V32QImode))
7911 : return -1;
7912 0 : switch (GET_MODE (x3))
7913 : {
7914 0 : case E_V8SImode:
7915 0 : if (GET_MODE (x4) != E_V8SImode
7916 0 : || !vector_all_ones_operand (operands[4], E_V8SImode))
7917 0 : return -1;
7918 : return 2;
7919 :
7920 0 : case E_V4DImode:
7921 0 : if (GET_MODE (x4) != E_V4DImode
7922 0 : || !vector_all_ones_operand (operands[4], E_V4DImode))
7923 0 : return -1;
7924 : return 3;
7925 :
7926 : default:
7927 : return -1;
7928 : }
7929 :
7930 : default:
7931 : return -1;
7932 : }
7933 : }
7934 :
7935 : int
7936 0 : pattern1277 (rtx x1, rtx_code i1)
7937 : {
7938 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7939 0 : rtx x2, x3, x4, x5, x6, x7, x8;
7940 0 : int res ATTRIBUTE_UNUSED;
7941 0 : x2 = XVECEXP (x1, 0, 1);
7942 0 : x3 = XEXP (x2, 1);
7943 0 : if (GET_MODE (x3) != E_DImode)
7944 : return -1;
7945 0 : x4 = XEXP (x3, 0);
7946 0 : if (GET_CODE (x4) != i1
7947 0 : || GET_MODE (x4) != E_SImode)
7948 : return -1;
7949 0 : x5 = XVECEXP (x1, 0, 0);
7950 0 : x6 = XEXP (x5, 1);
7951 0 : x7 = XEXP (x6, 0);
7952 0 : if (GET_MODE (x7) != E_SImode
7953 0 : || !nonimmediate_operand (operands[1], E_SImode)
7954 0 : || !register_operand (operands[0], E_DImode))
7955 : return -1;
7956 0 : x8 = XEXP (x4, 0);
7957 0 : if (!rtx_equal_p (x8, operands[1]))
7958 0 : return -1;
7959 : return 0;
7960 : }
7961 :
7962 : int
7963 58 : pattern1279 (rtx x1)
7964 : {
7965 58 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7966 58 : rtx x2, x3, x4, x5;
7967 58 : int res ATTRIBUTE_UNUSED;
7968 58 : x2 = XEXP (x1, 0);
7969 58 : x3 = XEXP (x2, 0);
7970 58 : x4 = XEXP (x3, 0);
7971 58 : operands[1] = x4;
7972 58 : x5 = XEXP (x3, 1);
7973 58 : operands[2] = x5;
7974 58 : if (!register_operand (operands[2], E_QImode))
7975 : return -1;
7976 50 : return pattern1278 (x1); /* [-1, 1] */
7977 : }
7978 :
7979 : int
7980 2329768 : pattern1282 (rtx x1)
7981 : {
7982 2329768 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7983 2329768 : rtx x2, x3, x4, x5;
7984 2329768 : int res ATTRIBUTE_UNUSED;
7985 2329768 : x2 = XEXP (x1, 1);
7986 2329768 : x3 = XEXP (x2, 1);
7987 2329768 : if (XWINT (x3, 0) != 32L)
7988 : return -1;
7989 420450 : x4 = XEXP (x1, 0);
7990 420450 : if (GET_CODE (x4) != SUBREG
7991 7219 : || maybe_ne (SUBREG_BYTE (x4), 0)
7992 427669 : || GET_MODE (x4) != E_DImode)
7993 : return -1;
7994 7219 : x5 = XEXP (x4, 0);
7995 7219 : operands[0] = x5;
7996 7219 : if (!register_operand (operands[0], E_SImode))
7997 10 : return -1;
7998 : return 0;
7999 : }
8000 :
8001 : int
8002 3 : pattern1287 (rtx x1, machine_mode i1)
8003 : {
8004 3 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8005 3 : int res ATTRIBUTE_UNUSED;
8006 3 : if (!register_operand (operands[0], i1)
8007 3 : || GET_MODE (x1) != i1
8008 3 : || !bcst_vector_operand (operands[1], i1)
8009 3 : || !vector_all_ones_operand (operands[2], i1)
8010 6 : || !register_operand (operands[3], i1))
8011 0 : return -1;
8012 : return 0;
8013 : }
8014 :
8015 : int
8016 2 : pattern1291 (rtx x1)
8017 : {
8018 2 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8019 2 : rtx x2;
8020 2 : int res ATTRIBUTE_UNUSED;
8021 2 : if (maybe_ne (SUBREG_BYTE (x1), 0)
8022 2 : || GET_MODE (x1) != E_V2DImode)
8023 : return -1;
8024 2 : x2 = XEXP (x1, 0);
8025 2 : if (GET_CODE (x2) != UNSPEC
8026 2 : || XVECLEN (x2, 0) != 1
8027 2 : || XINT (x2, 1) != 118
8028 2 : || GET_MODE (x2) != E_V16QImode)
8029 0 : return -1;
8030 : return 0;
8031 : }
8032 :
8033 : int
8034 121555 : pattern1296 (rtx x1, machine_mode i1)
8035 : {
8036 121555 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8037 121555 : rtx x2, x3, x4, x5, x6;
8038 121555 : int res ATTRIBUTE_UNUSED;
8039 121555 : if (peep2_current_count < 4
8040 113183 : || GET_CODE (x1) != SET)
8041 : return -1;
8042 107378 : x2 = XEXP (x1, 1);
8043 107378 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8044 : return -1;
8045 55575 : x3 = XEXP (x1, 0);
8046 55575 : operands[3] = x3;
8047 55575 : if (!memory_operand (operands[3], i1))
8048 : return -1;
8049 47573 : x4 = PATTERN (peep2_next_insn (3));
8050 47573 : if (GET_CODE (x4) != SET)
8051 : return -1;
8052 45371 : x5 = XEXP (x4, 1);
8053 45371 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8054 : return -1;
8055 27667 : x6 = XEXP (x4, 0);
8056 27667 : operands[4] = x6;
8057 27667 : if (!memory_operand (operands[4], i1))
8058 3375 : return -1;
8059 : return 0;
8060 : }
8061 :
8062 : int
8063 0 : pattern1302 (rtx x1, machine_mode i1)
8064 : {
8065 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8066 0 : rtx x2, x3;
8067 0 : int res ATTRIBUTE_UNUSED;
8068 0 : if (!nonimmediate_operand (operands[0], i1)
8069 0 : || GET_MODE (x1) != i1)
8070 : return -1;
8071 0 : x2 = XEXP (x1, 0);
8072 0 : if (GET_MODE (x2) != i1)
8073 : return -1;
8074 0 : x3 = XEXP (x2, 0);
8075 0 : if (GET_MODE (x3) != i1
8076 0 : || !nonimmediate_operand (operands[1], i1)
8077 0 : || !immediate_operand (operands[2], i1))
8078 0 : return -1;
8079 : return 0;
8080 : }
8081 :
8082 : int
8083 2118 : pattern1308 (rtx x1, machine_mode i1, machine_mode i2)
8084 : {
8085 2118 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8086 2118 : rtx x2;
8087 2118 : int res ATTRIBUTE_UNUSED;
8088 2118 : if (!register_operand (operands[0], i1)
8089 2118 : || GET_MODE (x1) != i1)
8090 : return -1;
8091 1987 : x2 = XEXP (x1, 0);
8092 1987 : if (GET_MODE (x2) != i1
8093 1987 : || !vector_operand (operands[2], i1)
8094 3972 : || !register_operand (operands[4], i2))
8095 115 : return -1;
8096 : return 0;
8097 : }
8098 :
8099 : int
8100 665 : pattern1312 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8101 : {
8102 665 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8103 665 : rtx x2;
8104 665 : int res ATTRIBUTE_UNUSED;
8105 665 : if (!register_operand (operands[0], i1)
8106 665 : || GET_MODE (x1) != i1)
8107 : return -1;
8108 620 : x2 = XEXP (x1, 0);
8109 620 : if (GET_MODE (x2) != i1
8110 620 : || !register_operand (operands[1], i3)
8111 1236 : || pattern512 (
8112 : i1,
8113 : i2) != 0)
8114 34 : return -1;
8115 : return 0;
8116 : }
8117 :
8118 : int
8119 1151 : pattern1317 (rtx x1, machine_mode i1)
8120 : {
8121 1151 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8122 1151 : rtx x2;
8123 1151 : int res ATTRIBUTE_UNUSED;
8124 1151 : if (!register_operand (operands[0], i1)
8125 1151 : || GET_MODE (x1) != i1)
8126 : return -1;
8127 1125 : x2 = XEXP (x1, 0);
8128 1125 : if (GET_MODE (x2) != i1
8129 1125 : || !register_operand (operands[2], i1)
8130 1013 : || !nonimm_or_0_operand (operands[3], i1)
8131 2138 : || !register_operand (operands[1], i1))
8132 126 : return -1;
8133 : return 0;
8134 : }
8135 :
8136 : int
8137 1058 : pattern1323 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8138 : {
8139 1058 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8140 1058 : rtx x2, x3;
8141 1058 : int res ATTRIBUTE_UNUSED;
8142 1058 : if (!register_operand (operands[0], i1)
8143 1058 : || GET_MODE (x1) != i1)
8144 : return -1;
8145 1046 : x2 = XEXP (x1, 0);
8146 1046 : if (GET_MODE (x2) != i1)
8147 : return -1;
8148 1046 : x3 = XEXP (x2, 0);
8149 1046 : if (GET_MODE (x3) != i2
8150 1046 : || !nonimmediate_operand (operands[1], i1)
8151 1046 : || !nonimm_or_0_operand (operands[2], i1)
8152 2088 : || !register_operand (operands[3], i3))
8153 5 : return -1;
8154 : return 0;
8155 : }
8156 :
8157 : int
8158 2327 : pattern1329 (rtx x1, machine_mode i1, machine_mode i2)
8159 : {
8160 2327 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8161 2327 : rtx x2, x3;
8162 2327 : int res ATTRIBUTE_UNUSED;
8163 2327 : if (!register_operand (operands[0], i1)
8164 2327 : || GET_MODE (x1) != i1)
8165 : return -1;
8166 2164 : x2 = XEXP (x1, 0);
8167 2164 : if (GET_MODE (x2) != i1
8168 2164 : || !vector_operand (operands[2], i1))
8169 : return -1;
8170 2158 : x3 = XEXP (x2, 2);
8171 2158 : if (GET_MODE (x3) != i1
8172 2158 : || !register_operand (operands[4], i2))
8173 6 : return -1;
8174 : return 0;
8175 : }
8176 :
8177 : int
8178 2287 : pattern1334 (rtx x1, machine_mode i1, machine_mode i2)
8179 : {
8180 2287 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8181 2287 : rtx x2, x3, x4;
8182 2287 : int res ATTRIBUTE_UNUSED;
8183 2287 : if (!register_operand (operands[0], i1)
8184 2287 : || GET_MODE (x1) != i1)
8185 : return -1;
8186 2124 : x2 = XEXP (x1, 0);
8187 2124 : if (GET_MODE (x2) != i1)
8188 : return -1;
8189 2124 : x3 = XEXP (x2, 0);
8190 2124 : if (GET_MODE (x3) != i1
8191 2124 : || !vector_operand (operands[2], i1))
8192 : return -1;
8193 2124 : x4 = XEXP (x2, 2);
8194 2124 : if (GET_MODE (x4) != i1
8195 2124 : || !register_operand (operands[4], i2))
8196 6 : return -1;
8197 : return 0;
8198 : }
8199 :
8200 : int
8201 459 : pattern1338 (rtx x1, int i1, int i2, int i3, int i4)
8202 : {
8203 459 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8204 459 : rtx x2, x3, x4, x5;
8205 459 : int res ATTRIBUTE_UNUSED;
8206 459 : x2 = XVECEXP (x1, 0, 8);
8207 459 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
8208 : return -1;
8209 459 : x3 = XVECEXP (x1, 0, 9);
8210 459 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
8211 : return -1;
8212 459 : x4 = XVECEXP (x1, 0, 10);
8213 459 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
8214 : return -1;
8215 459 : x5 = XVECEXP (x1, 0, 11);
8216 459 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
8217 0 : return -1;
8218 : return 0;
8219 : }
8220 :
8221 : int
8222 1050 : pattern1344 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8223 : {
8224 1050 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8225 1050 : rtx x2, x3;
8226 1050 : int res ATTRIBUTE_UNUSED;
8227 1050 : x2 = XVECEXP (x1, 0, 0);
8228 1050 : x3 = XEXP (x2, 0);
8229 1050 : if (GET_MODE (x3) != i2
8230 1050 : || !register_operand (operands[0], i2)
8231 1002 : || GET_MODE (x1) != i2
8232 1002 : || GET_MODE (x2) != i2
8233 1002 : || !register_operand (operands[1], i3)
8234 1002 : || !nonimm_or_0_operand (operands[2], i2)
8235 974 : || !register_operand (operands[3], i1)
8236 1980 : || !const_4_or_8_to_11_operand (operands[4], E_SImode))
8237 120 : return -1;
8238 : return 0;
8239 : }
8240 :
8241 : int
8242 3664 : pattern1349 (rtx x1, machine_mode i1, machine_mode i2)
8243 : {
8244 3664 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8245 3664 : rtx x2, x3;
8246 3664 : int res ATTRIBUTE_UNUSED;
8247 3664 : if (!register_operand (operands[0], i1)
8248 3664 : || GET_MODE (x1) != i1)
8249 : return -1;
8250 3576 : x2 = XVECEXP (x1, 0, 0);
8251 3576 : if (GET_MODE (x2) != i1)
8252 : return -1;
8253 3576 : x3 = XEXP (x2, 0);
8254 3576 : if (GET_MODE (x3) != i1
8255 3576 : || !nonimm_or_0_operand (operands[2], i1)
8256 7146 : || !register_operand (operands[3], i2))
8257 51 : return -1;
8258 : return 0;
8259 : }
8260 :
8261 : int
8262 253 : pattern1350 (rtx x1, machine_mode i1)
8263 : {
8264 253 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8265 253 : rtx x2;
8266 253 : int res ATTRIBUTE_UNUSED;
8267 253 : if (!register_operand (operands[0], i1)
8268 253 : || GET_MODE (x1) != i1)
8269 : return -1;
8270 242 : x2 = XVECEXP (x1, 0, 0);
8271 242 : if (GET_MODE (x2) != i1
8272 242 : || !register_operand (operands[1], i1)
8273 481 : || !nonimmediate_operand (operands[2], i1))
8274 3 : return -1;
8275 : return 0;
8276 : }
8277 :
8278 : int
8279 957584 : pattern1354 (rtx x1, machine_mode i1, machine_mode i2)
8280 : {
8281 957584 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8282 957584 : rtx x2, x3;
8283 957584 : int res ATTRIBUTE_UNUSED;
8284 957584 : if (!register_operand (operands[0], i1)
8285 957584 : || GET_MODE (x1) != i1)
8286 : return -1;
8287 484127 : x2 = XEXP (x1, 0);
8288 484127 : if (GET_MODE (x2) != i2
8289 484127 : || !register_operand (operands[1], i1))
8290 : return -1;
8291 413799 : x3 = XEXP (x2, 1);
8292 413799 : operands[2] = x3;
8293 413799 : if (!vector_operand (operands[2], i1))
8294 32845 : return -1;
8295 : return 0;
8296 : }
8297 :
8298 : int
8299 670 : pattern1357 (rtx x1)
8300 : {
8301 670 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8302 670 : rtx x2, x3;
8303 670 : int res ATTRIBUTE_UNUSED;
8304 670 : x2 = XEXP (x1, 0);
8305 670 : if (!rtx_equal_p (x2, operands[2]))
8306 : return -1;
8307 670 : x3 = XEXP (x1, 1);
8308 670 : if (!rtx_equal_p (x3, operands[3]))
8309 : return -1;
8310 670 : switch (GET_CODE (operands[3]))
8311 : {
8312 639 : case REG:
8313 639 : case SUBREG:
8314 639 : case MEM:
8315 639 : if (!nonimmediate_operand (operands[3], E_SImode))
8316 14 : return -1;
8317 : return 0;
8318 :
8319 3 : case CONST_INT:
8320 3 : if (!const_int_operand (operands[3], E_SImode))
8321 0 : return -1;
8322 : return 1;
8323 :
8324 : default:
8325 : return -1;
8326 : }
8327 : }
8328 :
8329 : int
8330 4456 : pattern1363 (rtx x1, machine_mode i1)
8331 : {
8332 4456 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8333 4456 : int res ATTRIBUTE_UNUSED;
8334 4456 : if (!nonimmediate_operand (operands[1], i1)
8335 3571 : || !const_1_to_31_operand (operands[2], E_QImode)
8336 2303 : || !nonimmediate_operand (operands[0], i1)
8337 6759 : || GET_MODE (x1) != i1)
8338 2153 : return -1;
8339 : return 0;
8340 : }
8341 :
8342 : int
8343 142 : pattern1366 (rtx x1, machine_mode i1)
8344 : {
8345 142 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8346 142 : int res ATTRIBUTE_UNUSED;
8347 142 : if (!register_operand (operands[0], i1)
8348 142 : || GET_MODE (x1) != i1
8349 142 : || !register_operand (operands[1], i1)
8350 275 : || !general_operand (operands[2], i1))
8351 30 : return -1;
8352 : return 0;
8353 : }
8354 :
8355 : int
8356 224 : pattern1369 (rtx x1, machine_mode i1)
8357 : {
8358 224 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8359 224 : rtx x2, x3;
8360 224 : int res ATTRIBUTE_UNUSED;
8361 224 : if (!register_operand (operands[0], i1)
8362 224 : || GET_MODE (x1) != i1)
8363 : return -1;
8364 224 : x2 = XEXP (x1, 0);
8365 224 : if (GET_MODE (x2) != i1
8366 224 : || !nonimmediate_operand (operands[1], i1))
8367 : return -1;
8368 224 : x3 = XEXP (x1, 1);
8369 224 : if (GET_MODE (x3) != i1)
8370 0 : return -1;
8371 : return 0;
8372 : }
8373 :
8374 : int
8375 6681 : pattern1373 (rtx x1)
8376 : {
8377 6681 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8378 6681 : rtx x2, x3, x4, x5, x6, x7;
8379 6681 : int res ATTRIBUTE_UNUSED;
8380 6681 : x2 = XEXP (x1, 1);
8381 6681 : x3 = XEXP (x2, 2);
8382 6681 : if (maybe_ne (SUBREG_BYTE (x3), 0)
8383 6681 : || GET_MODE (x3) != E_QImode)
8384 : return -1;
8385 6681 : x4 = XEXP (x3, 0);
8386 6681 : if (GET_CODE (x4) != AND)
8387 : return -1;
8388 1140 : x5 = XEXP (x1, 0);
8389 1140 : operands[0] = x5;
8390 1140 : x6 = XEXP (x4, 0);
8391 1140 : operands[2] = x6;
8392 1140 : if (!int248_register_operand (operands[2], E_VOIDmode))
8393 : return -1;
8394 1055 : x7 = XEXP (x4, 1);
8395 1055 : operands[3] = x7;
8396 1055 : if (!const_int_operand (operands[3], E_VOIDmode))
8397 : return -1;
8398 1055 : return pattern441 (x2); /* [-1, 1] */
8399 : }
8400 :
8401 : int
8402 17788 : pattern1378 (rtx x1)
8403 : {
8404 17788 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8405 17788 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8406 17788 : rtx x10, x11, x12;
8407 17788 : int res ATTRIBUTE_UNUSED;
8408 17788 : x2 = XEXP (x1, 1);
8409 17788 : x3 = XEXP (x2, 0);
8410 17788 : x4 = XEXP (x3, 0);
8411 17788 : x5 = XEXP (x4, 0);
8412 17788 : operands[1] = x5;
8413 17788 : x6 = XEXP (x4, 2);
8414 17788 : switch (GET_CODE (x6))
8415 : {
8416 : case CONST_INT:
8417 : case CONST_WIDE_INT:
8418 : case CONST_POLY_INT:
8419 : case CONST_FIXED:
8420 : case CONST_DOUBLE:
8421 : case CONST_VECTOR:
8422 : case CONST:
8423 : case REG:
8424 : case SUBREG:
8425 : case LABEL_REF:
8426 : case SYMBOL_REF:
8427 : case HIGH:
8428 : return 0;
8429 :
8430 110 : case AND:
8431 110 : if (GET_MODE (x6) != E_QImode)
8432 : return -1;
8433 110 : x7 = XEXP (x2, 1);
8434 110 : if (GET_CODE (x7) != LABEL_REF)
8435 : return -1;
8436 110 : x8 = XEXP (x2, 2);
8437 110 : if (GET_CODE (x8) != PC)
8438 : return -1;
8439 110 : x9 = XEXP (x1, 0);
8440 110 : if (GET_CODE (x9) != PC)
8441 : return -1;
8442 110 : operands[0] = x3;
8443 110 : x10 = XEXP (x6, 0);
8444 110 : operands[2] = x10;
8445 110 : if (!register_operand (operands[2], E_QImode))
8446 : return -1;
8447 56 : x11 = XEXP (x6, 1);
8448 56 : operands[3] = x11;
8449 56 : if (!const_int_operand (operands[3], E_VOIDmode))
8450 : return -1;
8451 56 : x12 = XEXP (x7, 0);
8452 56 : operands[4] = x12;
8453 56 : switch (GET_MODE (x4))
8454 : {
8455 18 : case E_SImode:
8456 18 : if (!nonimmediate_operand (operands[1], E_SImode))
8457 : return -1;
8458 : return 1;
8459 :
8460 38 : case E_DImode:
8461 38 : if (!nonimmediate_operand (operands[1], E_DImode))
8462 : return -1;
8463 : return 2;
8464 :
8465 : default:
8466 : return -1;
8467 : }
8468 :
8469 : default:
8470 : return -1;
8471 : }
8472 : }
8473 :
8474 : int
8475 298805 : pattern1395 (rtx x1, machine_mode i1)
8476 : {
8477 298805 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8478 298805 : rtx x2, x3, x4, x5, x6;
8479 298805 : int res ATTRIBUTE_UNUSED;
8480 298805 : if (!plusminuslogic_operator (operands[3], i1))
8481 : return -1;
8482 291283 : x2 = XVECEXP (x1, 0, 1);
8483 291283 : if (GET_CODE (x2) != CLOBBER)
8484 : return -1;
8485 291283 : x3 = XEXP (x2, 0);
8486 291283 : if (GET_CODE (x3) != REG
8487 291283 : || REGNO (x3) != 17
8488 582566 : || GET_MODE (x3) != E_CCmode)
8489 : return -1;
8490 291283 : x4 = XVECEXP (x1, 0, 0);
8491 291283 : x5 = XEXP (x4, 1);
8492 291283 : x6 = XEXP (x5, 1);
8493 291283 : operands[2] = x6;
8494 291283 : if (!x86_64_nonmemory_operand (operands[2], i1))
8495 48373 : return -1;
8496 : return 0;
8497 : }
8498 :
8499 : int
8500 645213 : pattern1400 (rtx x1, machine_mode i1)
8501 : {
8502 645213 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8503 645213 : int res ATTRIBUTE_UNUSED;
8504 645213 : if (!register_operand (operands[0], i1)
8505 640016 : || GET_MODE (x1) != i1
8506 640016 : || !nonimmediate_operand (operands[1], i1)
8507 1269366 : || !const_int_operand (operands[2], i1))
8508 88427 : return -1;
8509 : return 0;
8510 : }
8511 :
8512 : int
8513 21 : pattern1403 (rtx x1, machine_mode i1)
8514 : {
8515 21 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8516 21 : rtx x2;
8517 21 : int res ATTRIBUTE_UNUSED;
8518 21 : if (!nonimmediate_operand (operands[0], i1)
8519 21 : || GET_MODE (x1) != i1)
8520 : return -1;
8521 21 : x2 = XEXP (x1, 0);
8522 21 : if (GET_MODE (x2) != i1
8523 21 : || !ix86_carry_flag_operator (operands[4], i1)
8524 21 : || !nonimmediate_operand (operands[1], i1)
8525 42 : || !general_operand (operands[2], i1))
8526 0 : return -1;
8527 : return 0;
8528 : }
8529 :
8530 : int
8531 896 : pattern1406 (rtx x1)
8532 : {
8533 896 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8534 896 : rtx x2, x3, x4, x5, x6, x7, x8;
8535 896 : int res ATTRIBUTE_UNUSED;
8536 896 : if (!nonimmediate_operand (operands[0], E_DImode))
8537 : return -1;
8538 896 : x2 = XEXP (x1, 1);
8539 896 : if (GET_MODE (x2) != E_DImode)
8540 : return -1;
8541 896 : x3 = XEXP (x2, 0);
8542 896 : if (GET_MODE (x3) != E_TImode)
8543 : return -1;
8544 896 : x4 = XEXP (x3, 0);
8545 896 : if (GET_MODE (x4) != E_TImode)
8546 : return -1;
8547 896 : x5 = XEXP (x4, 0);
8548 896 : operands[1] = x5;
8549 896 : if (!register_operand (operands[1], E_DImode))
8550 : return -1;
8551 896 : x6 = XEXP (x3, 1);
8552 896 : operands[3] = x6;
8553 896 : if (!const_0_to_255_operand (operands[3], E_QImode))
8554 : return -1;
8555 896 : x7 = XEXP (x1, 0);
8556 896 : x8 = XEXP (x7, 0);
8557 896 : if (!rtx_equal_p (x8, operands[0]))
8558 895 : return -1;
8559 : return 0;
8560 : }
8561 :
8562 : int
8563 16 : pattern1410 (rtx x1)
8564 : {
8565 16 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8566 16 : rtx x2, x3, x4;
8567 16 : int res ATTRIBUTE_UNUSED;
8568 16 : if (GET_CODE (x1) != VEC_SELECT)
8569 : return -1;
8570 16 : x2 = XEXP (x1, 1);
8571 16 : if (GET_CODE (x2) != PARALLEL
8572 16 : || XVECLEN (x2, 0) != 1)
8573 : return -1;
8574 16 : x3 = XVECEXP (x2, 0, 0);
8575 16 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8576 : return -1;
8577 16 : x4 = XEXP (x1, 0);
8578 16 : operands[1] = x4;
8579 16 : if (!const_4_or_8_to_11_operand (operands[2], E_SImode))
8580 : return -1;
8581 16 : switch (GET_MODE (x1))
8582 : {
8583 4 : case E_HFmode:
8584 4 : if (!register_operand (operands[1], E_V8HFmode))
8585 0 : return -1;
8586 : return 0;
8587 :
8588 6 : case E_SFmode:
8589 6 : if (!register_operand (operands[1], E_V4SFmode))
8590 0 : return -1;
8591 : return 1;
8592 :
8593 6 : case E_DFmode:
8594 6 : if (!register_operand (operands[1], E_V2DFmode))
8595 0 : return -1;
8596 : return 2;
8597 :
8598 : default:
8599 : return -1;
8600 : }
8601 : }
8602 :
8603 : int
8604 2841 : pattern1417 (machine_mode i1, machine_mode i2)
8605 : {
8606 2841 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8607 2841 : int res ATTRIBUTE_UNUSED;
8608 2841 : if (!bcst_vector_operand (operands[2], i1)
8609 2805 : || !bcst_vector_operand (operands[3], i1)
8610 2805 : || !const0_operand (operands[4], i1)
8611 5646 : || !register_operand (operands[5], i2))
8612 38 : return -1;
8613 : return 0;
8614 : }
8615 :
8616 : int
8617 436 : pattern1421 (rtx x1, machine_mode i1)
8618 : {
8619 436 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8620 436 : rtx x2;
8621 436 : int res ATTRIBUTE_UNUSED;
8622 436 : if (!register_operand (operands[0], i1)
8623 436 : || GET_MODE (x1) != i1)
8624 : return -1;
8625 436 : x2 = XEXP (x1, 0);
8626 436 : if (GET_MODE (x2) != i1
8627 436 : || !nonimmediate_operand (operands[1], i1)
8628 436 : || !nonimmediate_operand (operands[2], i1)
8629 436 : || !nonimmediate_operand (operands[3], i1)
8630 872 : || !const0_operand (operands[4], i1))
8631 0 : return -1;
8632 : return 0;
8633 : }
8634 :
8635 : int
8636 50 : pattern1428 (rtx x1, machine_mode i1)
8637 : {
8638 50 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8639 50 : rtx x2, x3;
8640 50 : int res ATTRIBUTE_UNUSED;
8641 50 : if (!register_operand (operands[0], i1)
8642 50 : || GET_MODE (x1) != i1)
8643 : return -1;
8644 50 : x2 = XEXP (x1, 0);
8645 50 : if (GET_MODE (x2) != i1
8646 50 : || !nonimmediate_operand (operands[1], i1))
8647 : return -1;
8648 50 : x3 = XEXP (x2, 2);
8649 50 : return pattern1427 (x3,
8650 50 : i1); /* [-1, 0] */
8651 : }
8652 :
8653 : int
8654 577 : pattern1434 (rtx x1, machine_mode i1)
8655 : {
8656 577 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8657 577 : rtx x2, x3, x4;
8658 577 : int res ATTRIBUTE_UNUSED;
8659 577 : if (!register_operand (operands[0], i1)
8660 577 : || GET_MODE (x1) != i1)
8661 : return -1;
8662 556 : x2 = XEXP (x1, 0);
8663 556 : if (GET_MODE (x2) != i1)
8664 : return -1;
8665 556 : x3 = XEXP (x2, 0);
8666 556 : if (GET_MODE (x3) != i1)
8667 : return -1;
8668 556 : x4 = XEXP (x2, 2);
8669 556 : if (GET_MODE (x4) != i1
8670 556 : || !const0_operand (operands[4], i1)
8671 1112 : || !register_operand (operands[5], E_QImode))
8672 0 : return -1;
8673 : return 0;
8674 : }
8675 :
8676 : int
8677 1941 : pattern1440 (rtx x1, machine_mode i1)
8678 : {
8679 1941 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8680 1941 : rtx x2, x3, x4;
8681 1941 : int res ATTRIBUTE_UNUSED;
8682 1941 : if (!register_operand (operands[0], i1)
8683 1941 : || GET_MODE (x1) != i1)
8684 : return -1;
8685 1866 : x2 = XVECEXP (x1, 0, 0);
8686 1866 : if (GET_MODE (x2) != i1)
8687 : return -1;
8688 1866 : x3 = XEXP (x2, 0);
8689 1866 : if (GET_MODE (x3) != i1)
8690 : return -1;
8691 1866 : x4 = XEXP (x3, 0);
8692 1866 : if (GET_MODE (x4) != i1
8693 1866 : || !register_operand (operands[1], i1)
8694 1866 : || !register_operand (operands[2], i1)
8695 3732 : || !nonimm_or_0_operand (operands[4], i1))
8696 0 : return -1;
8697 : return 0;
8698 : }
8699 :
8700 : int
8701 195 : pattern1447 (rtx x1, machine_mode i1)
8702 : {
8703 195 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8704 195 : rtx x2, x3;
8705 195 : int res ATTRIBUTE_UNUSED;
8706 195 : if (!register_operand (operands[0], i1)
8707 195 : || GET_MODE (x1) != i1)
8708 : return -1;
8709 184 : x2 = XVECEXP (x1, 0, 0);
8710 184 : if (GET_MODE (x2) != i1)
8711 : return -1;
8712 184 : x3 = XEXP (x2, 0);
8713 184 : if (GET_MODE (x3) != i1
8714 184 : || !nonimmediate_operand (operands[1], i1)
8715 366 : || !register_operand (operands[2], i1))
8716 27 : return -1;
8717 : return 0;
8718 : }
8719 :
8720 : int
8721 1793 : pattern1451 (rtx x1)
8722 : {
8723 1793 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8724 1793 : rtx x2, x3;
8725 1793 : int res ATTRIBUTE_UNUSED;
8726 1793 : x2 = XVECEXP (x1, 0, 0);
8727 1793 : x3 = XEXP (x2, 1);
8728 1793 : if (!rtx_equal_p (x3, operands[1]))
8729 : return -1;
8730 1793 : switch (GET_MODE (operands[0]))
8731 : {
8732 379 : case E_V8HFmode:
8733 379 : return pattern1450 (x1,
8734 379 : E_V8HFmode); /* [-1, 0] */
8735 :
8736 235 : case E_V4SFmode:
8737 235 : if (pattern1450 (x1,
8738 : E_V4SFmode) != 0)
8739 45 : return -1;
8740 : return 1;
8741 :
8742 1179 : case E_V2DFmode:
8743 1179 : if (pattern1450 (x1,
8744 : E_V2DFmode) != 0)
8745 35 : return -1;
8746 : return 2;
8747 :
8748 : default:
8749 : return -1;
8750 : }
8751 : }
8752 :
8753 : int
8754 321 : pattern1455 (rtx x1, machine_mode i1)
8755 : {
8756 321 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8757 321 : rtx x2, x3;
8758 321 : int res ATTRIBUTE_UNUSED;
8759 321 : if (!register_operand (operands[0], i1)
8760 321 : || GET_MODE (x1) != i1)
8761 : return -1;
8762 312 : x2 = XVECEXP (x1, 0, 0);
8763 312 : if (GET_MODE (x2) != i1
8764 312 : || !register_operand (operands[1], i1)
8765 624 : || !register_operand (operands[2], i1))
8766 : return -1;
8767 307 : x3 = XEXP (x2, 2);
8768 307 : if (GET_MODE (x3) != i1
8769 307 : || !register_operand (operands[3], i1))
8770 0 : return -1;
8771 : return 0;
8772 : }
8773 :
8774 : int
8775 864 : pattern1460 (rtx x1, machine_mode i1, machine_mode i2)
8776 : {
8777 864 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8778 864 : rtx x2, x3, x4, x5, x6;
8779 864 : int res ATTRIBUTE_UNUSED;
8780 864 : if (!register_operand (operands[0], i2)
8781 864 : || GET_MODE (x1) != i2)
8782 : return -1;
8783 812 : x2 = XEXP (x1, 0);
8784 812 : if (GET_MODE (x2) != i1)
8785 : return -1;
8786 812 : x3 = XEXP (x2, 0);
8787 812 : if (GET_MODE (x3) != i1)
8788 : return -1;
8789 812 : x4 = XEXP (x3, 0);
8790 812 : if (GET_MODE (x4) != i1)
8791 : return -1;
8792 812 : x5 = XEXP (x4, 0);
8793 812 : if (GET_MODE (x5) != i1
8794 812 : || !vector_operand (operands[1], i2))
8795 : return -1;
8796 769 : x6 = XEXP (x4, 1);
8797 769 : if (GET_MODE (x6) != i1
8798 769 : || !vector_operand (operands[2], i2)
8799 1504 : || !const1_operand (operands[3], i1))
8800 34 : return -1;
8801 : return 0;
8802 : }
8803 :
8804 : int
8805 213 : pattern1468 (rtx x1, machine_mode i1)
8806 : {
8807 213 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8808 213 : int res ATTRIBUTE_UNUSED;
8809 213 : if (GET_MODE (x1) != i1
8810 213 : || !register_operand (operands[1], i1)
8811 213 : || !nonimmediate_operand (operands[2], i1)
8812 230 : || !scratch_operand (operands[0], i1))
8813 196 : return -1;
8814 : return 0;
8815 : }
8816 :
8817 : int
8818 34 : pattern1472 (rtx x1, machine_mode i1)
8819 : {
8820 34 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8821 34 : rtx x2;
8822 34 : int res ATTRIBUTE_UNUSED;
8823 34 : if (!register_operand (operands[0], i1)
8824 34 : || GET_MODE (x1) != i1)
8825 : return -1;
8826 34 : x2 = XEXP (x1, 0);
8827 34 : if (GET_MODE (x2) != i1
8828 34 : || !nonimmediate_operand (operands[1], i1))
8829 0 : return -1;
8830 : return 0;
8831 : }
8832 :
8833 : int
8834 13295 : pattern1475 (rtx x1, machine_mode i1)
8835 : {
8836 13295 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8837 13295 : rtx x2;
8838 13295 : int res ATTRIBUTE_UNUSED;
8839 13295 : if (!register_operand (operands[0], i1)
8840 13295 : || GET_MODE (x1) != i1)
8841 : return -1;
8842 13182 : x2 = XEXP (x1, 0);
8843 13182 : if (GET_MODE (x2) != i1
8844 13182 : || !register_operand (operands[1], i1)
8845 25344 : || !register_operand (operands[2], i1))
8846 11268 : return -1;
8847 : return 0;
8848 : }
8849 :
8850 : int
8851 0 : pattern1480 (rtx x1, machine_mode i1)
8852 : {
8853 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8854 0 : int res ATTRIBUTE_UNUSED;
8855 0 : if (!register_operand (operands[0], i1)
8856 0 : || GET_MODE (x1) != i1
8857 0 : || !register_operand (operands[1], i1)
8858 0 : || !const_int_operand (operands[2], i1))
8859 0 : return -1;
8860 : return 0;
8861 : }
8862 :
8863 : int
8864 167795 : pattern1484 (rtx x1, machine_mode i1)
8865 : {
8866 167795 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8867 167795 : rtx x2, x3, x4, x5, x6, x7;
8868 167795 : int res ATTRIBUTE_UNUSED;
8869 167795 : if (!register_operand (operands[2], i1)
8870 167795 : || !register_operand (operands[0], i1))
8871 : return -1;
8872 167795 : x2 = XVECEXP (x1, 0, 1);
8873 167795 : x3 = XEXP (x2, 1);
8874 167795 : if (GET_MODE (x3) != i1)
8875 : return -1;
8876 167795 : x4 = XEXP (x3, 0);
8877 167795 : if (GET_MODE (x4) != i1
8878 167795 : || !register_operand (operands[5], i1)
8879 167770 : || !register_operand (operands[3], i1)
8880 332431 : || !register_operand (operands[1], i1))
8881 : return -1;
8882 164636 : x5 = XVECEXP (x1, 0, 2);
8883 164636 : x6 = XEXP (x5, 1);
8884 164636 : if (GET_MODE (x6) != i1)
8885 : return -1;
8886 164636 : x7 = XEXP (x6, 0);
8887 164636 : if (GET_MODE (x7) != i1
8888 164636 : || !register_operand (operands[4], i1))
8889 11887 : return -1;
8890 : return 0;
8891 : }
8892 :
8893 : int
8894 2238290 : pattern1491 (rtx x1)
8895 : {
8896 2238290 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8897 2238290 : rtx x2, x3, x4, x5;
8898 2238290 : int res ATTRIBUTE_UNUSED;
8899 2238290 : x2 = XEXP (x1, 1);
8900 2238290 : x3 = XEXP (x2, 1);
8901 2238290 : operands[0] = x3;
8902 2238290 : x4 = XEXP (x1, 0);
8903 2238290 : switch (GET_MODE (x4))
8904 : {
8905 1124260 : case E_SImode:
8906 1124260 : if (GET_MODE (x2) != E_SImode)
8907 : return -1;
8908 1124260 : x5 = XEXP (x2, 0);
8909 1124260 : if (GET_MODE (x5) != E_SImode
8910 1124260 : || !const_int_operand (operands[0], E_SImode))
8911 0 : return -1;
8912 : return 0;
8913 :
8914 1114030 : case E_DImode:
8915 1114030 : if (GET_MODE (x2) != E_DImode)
8916 : return -1;
8917 1114030 : x5 = XEXP (x2, 0);
8918 1114030 : if (GET_MODE (x5) != E_DImode
8919 1114030 : || !const_int_operand (operands[0], E_DImode))
8920 126 : return -1;
8921 : return 1;
8922 :
8923 : default:
8924 : return -1;
8925 : }
8926 : }
8927 :
8928 : int
8929 651 : pattern1499 (rtx x1, machine_mode i1, machine_mode i2)
8930 : {
8931 651 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8932 651 : rtx x2;
8933 651 : int res ATTRIBUTE_UNUSED;
8934 651 : if (!register_operand (operands[0], i1)
8935 651 : || GET_MODE (x1) != i1)
8936 : return -1;
8937 620 : x2 = XEXP (x1, 0);
8938 620 : if (GET_MODE (x2) != i1
8939 620 : || !register_operand (operands[1], i1)
8940 620 : || !register_operand (operands[2], i1)
8941 620 : || !bcst_vector_operand (operands[3], i1)
8942 1239 : || !register_operand (operands[5], i2))
8943 31 : return -1;
8944 : return 0;
8945 : }
8946 :
8947 : int
8948 114 : pattern1504 (rtx x1, machine_mode i1, machine_mode i2)
8949 : {
8950 114 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8951 114 : rtx x2, x3;
8952 114 : int res ATTRIBUTE_UNUSED;
8953 114 : if (!register_operand (operands[0], i1)
8954 114 : || GET_MODE (x1) != i1)
8955 : return -1;
8956 108 : x2 = XEXP (x1, 0);
8957 108 : if (GET_MODE (x2) != i1)
8958 : return -1;
8959 108 : x3 = XEXP (x2, 0);
8960 108 : if (GET_MODE (x3) != i2
8961 108 : || !register_operand (operands[2], i1))
8962 2 : return -1;
8963 : return 0;
8964 : }
8965 :
8966 : int
8967 8361 : pattern1507 (rtx x1)
8968 : {
8969 8361 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8970 8361 : rtx x2;
8971 8361 : int res ATTRIBUTE_UNUSED;
8972 8361 : switch (GET_MODE (operands[0]))
8973 : {
8974 618 : case E_V32HFmode:
8975 618 : return pattern1505 (x1,
8976 : E_V32HFmode,
8977 618 : E_SImode); /* [-1, 0] */
8978 :
8979 607 : case E_V16HFmode:
8980 607 : if (pattern1505 (x1,
8981 : E_V16HFmode,
8982 : E_HImode) != 0)
8983 120 : return -1;
8984 : return 1;
8985 :
8986 1638 : case E_V8HFmode:
8987 1638 : if (pattern1505 (x1,
8988 : E_V8HFmode,
8989 : E_QImode) != 0)
8990 588 : return -1;
8991 : return 2;
8992 :
8993 363 : case E_V16SFmode:
8994 363 : if (pattern1505 (x1,
8995 : E_V16SFmode,
8996 : E_HImode) != 0)
8997 217 : return -1;
8998 : return 3;
8999 :
9000 253 : case E_V8SFmode:
9001 253 : if (!register_operand (operands[0], E_V8SFmode)
9002 253 : || GET_MODE (x1) != E_V8SFmode)
9003 : return -1;
9004 236 : x2 = XEXP (x1, 2);
9005 236 : if (GET_MODE (x2) != E_QImode)
9006 0 : return -1;
9007 : return 4;
9008 :
9009 295 : case E_V4SFmode:
9010 295 : if (!register_operand (operands[0], E_V4SFmode)
9011 295 : || GET_MODE (x1) != E_V4SFmode)
9012 : return -1;
9013 293 : x2 = XEXP (x1, 2);
9014 293 : if (GET_MODE (x2) != E_QImode)
9015 0 : return -1;
9016 : return 5;
9017 :
9018 62 : case E_V8DFmode:
9019 62 : if (pattern1505 (x1,
9020 : E_V8DFmode,
9021 : E_QImode) != 0)
9022 19 : return -1;
9023 : return 6;
9024 :
9025 266 : case E_V4DFmode:
9026 266 : if (!register_operand (operands[0], E_V4DFmode)
9027 266 : || GET_MODE (x1) != E_V4DFmode)
9028 : return -1;
9029 259 : x2 = XEXP (x1, 2);
9030 259 : if (GET_MODE (x2) != E_QImode)
9031 0 : return -1;
9032 : return 7;
9033 :
9034 198 : case E_V2DFmode:
9035 198 : if (!register_operand (operands[0], E_V2DFmode)
9036 198 : || GET_MODE (x1) != E_V2DFmode)
9037 : return -1;
9038 196 : x2 = XEXP (x1, 2);
9039 196 : if (GET_MODE (x2) != E_QImode)
9040 0 : return -1;
9041 : return 8;
9042 :
9043 700 : case E_V4SImode:
9044 700 : if (pattern1506 (x1,
9045 : E_V4SImode,
9046 : E_QImode) != 0)
9047 669 : return -1;
9048 : return 9;
9049 :
9050 80 : case E_V2DImode:
9051 80 : if (pattern1506 (x1,
9052 : E_V2DImode,
9053 : E_QImode) != 0)
9054 66 : return -1;
9055 : return 10;
9056 :
9057 556 : case E_V8SImode:
9058 556 : if (pattern1506 (x1,
9059 : E_V8SImode,
9060 : E_QImode) != 0)
9061 540 : return -1;
9062 : return 11;
9063 :
9064 232 : case E_V4DImode:
9065 232 : if (pattern1506 (x1,
9066 : E_V4DImode,
9067 : E_QImode) != 0)
9068 218 : return -1;
9069 : return 12;
9070 :
9071 257 : case E_V32QImode:
9072 257 : if (pattern1506 (x1,
9073 : E_V32QImode,
9074 : E_SImode) != 0)
9075 229 : return -1;
9076 : return 13;
9077 :
9078 120 : case E_V16QImode:
9079 120 : if (pattern1506 (x1,
9080 : E_V16QImode,
9081 : E_HImode) != 0)
9082 96 : return -1;
9083 : return 14;
9084 :
9085 : default:
9086 : return -1;
9087 : }
9088 : }
9089 :
9090 : int
9091 373986 : pattern1527 (machine_mode i1)
9092 : {
9093 373986 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9094 373986 : int res ATTRIBUTE_UNUSED;
9095 373986 : if (!register_operand (operands[1], i1)
9096 331 : || !const_0_to_15_operand (operands[2], E_VOIDmode)
9097 331 : || !const_0_to_15_operand (operands[3], E_VOIDmode)
9098 331 : || !const_0_to_15_operand (operands[4], E_VOIDmode)
9099 374317 : || !const_0_to_15_operand (operands[5], E_VOIDmode))
9100 373655 : return -1;
9101 : return 0;
9102 : }
9103 :
9104 : int
9105 620 : pattern1533 (rtx x1, machine_mode i1)
9106 : {
9107 620 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9108 620 : rtx x2, x3, x4, x5, x6, x7, x8;
9109 620 : int res ATTRIBUTE_UNUSED;
9110 620 : x2 = XVECEXP (x1, 0, 0);
9111 620 : x3 = XEXP (x2, 1);
9112 620 : x4 = XEXP (x3, 0);
9113 620 : x5 = XEXP (x4, 0);
9114 620 : if (GET_MODE (x5) != i1
9115 620 : || !nonimmediate_operand (operands[1], i1)
9116 1240 : || !register_operand (operands[0], i1))
9117 : return -1;
9118 620 : x6 = XVECEXP (x1, 0, 1);
9119 620 : x7 = XEXP (x6, 1);
9120 620 : if (GET_MODE (x7) != i1)
9121 : return -1;
9122 620 : x8 = XEXP (x7, 0);
9123 620 : if (GET_MODE (x8) != i1)
9124 0 : return -1;
9125 : return 0;
9126 : }
9127 :
9128 : int
9129 142326 : pattern1538 (rtx x1, machine_mode i1)
9130 : {
9131 142326 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9132 142326 : int res ATTRIBUTE_UNUSED;
9133 142326 : if (!register_operand (operands[0], i1)
9134 142326 : || GET_MODE (x1) != i1
9135 142326 : || !memory_operand (operands[1], i1)
9136 283734 : || !register_operand (operands[2], i1))
9137 918 : return -1;
9138 : return 0;
9139 : }
9140 :
9141 : int
9142 85 : pattern1543 (rtx x1, rtx_code i1)
9143 : {
9144 85 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9145 85 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9146 85 : rtx x10;
9147 85 : int res ATTRIBUTE_UNUSED;
9148 85 : x2 = XVECEXP (x1, 0, 1);
9149 85 : x3 = XEXP (x2, 1);
9150 85 : if (GET_CODE (x3) != i1)
9151 : return -1;
9152 85 : x4 = XVECEXP (x1, 0, 0);
9153 85 : x5 = XEXP (x4, 0);
9154 85 : operands[1] = x5;
9155 85 : x6 = XEXP (x4, 1);
9156 85 : x7 = XEXP (x6, 0);
9157 85 : x8 = XEXP (x7, 0);
9158 85 : operands[2] = x8;
9159 85 : if (!register_operand (operands[2], E_SImode))
9160 : return -1;
9161 85 : x9 = XEXP (x7, 1);
9162 85 : operands[3] = x9;
9163 85 : if (!nonimmediate_operand (operands[3], E_SImode))
9164 : return -1;
9165 85 : x10 = XEXP (x2, 0);
9166 85 : operands[0] = x10;
9167 85 : return pattern1541 (x1); /* [-1, 1] */
9168 : }
9169 :
9170 : int
9171 747 : pattern1548 (rtx x1, int i1, int i2, int i3, int i4, int i5)
9172 : {
9173 747 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9174 747 : rtx x2, x3, x4, x5, x6;
9175 747 : int res ATTRIBUTE_UNUSED;
9176 747 : x2 = XVECEXP (x1, 0, 7);
9177 747 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i5])
9178 : return -1;
9179 747 : x3 = XVECEXP (x1, 0, 8);
9180 747 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
9181 : return -1;
9182 747 : x4 = XVECEXP (x1, 0, 9);
9183 747 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
9184 : return -1;
9185 747 : x5 = XVECEXP (x1, 0, 10);
9186 747 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
9187 : return -1;
9188 747 : x6 = XVECEXP (x1, 0, 11);
9189 747 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i1]
9190 747 : || pattern1459 (x1) != 0)
9191 0 : return -1;
9192 : return 0;
9193 : }
9194 :
9195 : int
9196 228 : pattern1556 (rtx x1, machine_mode i1)
9197 : {
9198 228 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9199 228 : rtx x2, x3, x4;
9200 228 : int res ATTRIBUTE_UNUSED;
9201 228 : if (GET_MODE (x1) != i1)
9202 : return -1;
9203 228 : x2 = XEXP (x1, 0);
9204 228 : if (GET_MODE (x2) != i1)
9205 : return -1;
9206 228 : x3 = XEXP (x2, 0);
9207 228 : if (GET_MODE (x3) != i1)
9208 : return -1;
9209 228 : x4 = XEXP (x3, 0);
9210 228 : if (GET_MODE (x4) != i1)
9211 0 : return -1;
9212 : return 0;
9213 : }
9214 :
9215 : int
9216 0 : pattern1558 (rtx x1, machine_mode i1)
9217 : {
9218 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9219 0 : rtx x2, x3, x4;
9220 0 : int res ATTRIBUTE_UNUSED;
9221 0 : if (!register_operand (operands[0], i1)
9222 0 : || GET_MODE (x1) != i1)
9223 : return -1;
9224 0 : x2 = XEXP (x1, 0);
9225 0 : if (GET_MODE (x2) != i1
9226 0 : || !nonimmediate_operand (operands[1], i1))
9227 : return -1;
9228 0 : x3 = XEXP (x1, 1);
9229 0 : if (GET_MODE (x3) != i1)
9230 : return -1;
9231 0 : x4 = XEXP (x3, 0);
9232 0 : if (GET_MODE (x4) != i1)
9233 0 : return -1;
9234 : return 0;
9235 : }
9236 :
9237 : int
9238 187 : pattern1563 (rtx x1, machine_mode i1, machine_mode i2)
9239 : {
9240 187 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9241 187 : rtx x2;
9242 187 : int res ATTRIBUTE_UNUSED;
9243 187 : if (!register_operand (operands[0], i2)
9244 187 : || GET_MODE (x1) != i2)
9245 : return -1;
9246 179 : x2 = XVECEXP (x1, 0, 0);
9247 179 : if (GET_MODE (x2) != i2
9248 179 : || !register_operand (operands[1], i2)
9249 177 : || !register_operand (operands[2], i2)
9250 356 : || !nonimmediate_operand (operands[3], i1))
9251 2 : return -1;
9252 : return 0;
9253 : }
9254 :
9255 : int
9256 421 : pattern1569 ()
9257 : {
9258 421 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9259 421 : int res ATTRIBUTE_UNUSED;
9260 421 : switch (GET_MODE (operands[3]))
9261 : {
9262 87 : case E_HImode:
9263 87 : if (!extract_high_operator (operands[3], E_HImode)
9264 87 : || !extract_high_operator (operands[4], E_HImode))
9265 2 : return -1;
9266 : return 0;
9267 :
9268 241 : case E_SImode:
9269 241 : if (!extract_high_operator (operands[3], E_SImode)
9270 241 : || !extract_high_operator (operands[4], E_SImode))
9271 120 : return -1;
9272 : return 1;
9273 :
9274 93 : case E_DImode:
9275 93 : if (!extract_high_operator (operands[3], E_DImode)
9276 93 : || !extract_high_operator (operands[4], E_DImode))
9277 40 : return -1;
9278 : return 2;
9279 :
9280 : default:
9281 : return -1;
9282 : }
9283 : }
9284 :
9285 : int
9286 794 : pattern1574 (rtx x1, machine_mode i1)
9287 : {
9288 794 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9289 794 : int res ATTRIBUTE_UNUSED;
9290 794 : if (!nonimmediate_operand (operands[0], i1)
9291 794 : || GET_MODE (x1) != i1
9292 794 : || !ix86_carry_flag_unset_operator (operands[2], i1)
9293 1450 : || !nonimmediate_operand (operands[1], i1))
9294 394 : return -1;
9295 : return 0;
9296 : }
9297 :
9298 : int
9299 4343 : pattern1580 (rtx x1)
9300 : {
9301 4343 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9302 4343 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9303 4343 : rtx x10, x11, x12;
9304 4343 : int res ATTRIBUTE_UNUSED;
9305 4343 : x2 = XEXP (x1, 1);
9306 4343 : x3 = XEXP (x2, 0);
9307 4343 : x4 = XEXP (x3, 0);
9308 4343 : x5 = XEXP (x4, 2);
9309 4343 : if (maybe_ne (SUBREG_BYTE (x5), 0)
9310 4343 : || GET_MODE (x5) != E_QImode)
9311 : return -1;
9312 4343 : x6 = XEXP (x5, 0);
9313 4343 : if (GET_CODE (x6) != AND)
9314 : return -1;
9315 450 : x7 = XEXP (x2, 1);
9316 450 : if (GET_CODE (x7) != LABEL_REF)
9317 : return -1;
9318 450 : x8 = XEXP (x2, 2);
9319 450 : if (GET_CODE (x8) != PC)
9320 : return -1;
9321 450 : x9 = XEXP (x1, 0);
9322 450 : if (GET_CODE (x9) != PC)
9323 : return -1;
9324 450 : operands[0] = x3;
9325 450 : x10 = XEXP (x6, 0);
9326 450 : operands[2] = x10;
9327 450 : if (!int248_register_operand (operands[2], E_VOIDmode))
9328 : return -1;
9329 400 : x11 = XEXP (x6, 1);
9330 400 : operands[3] = x11;
9331 400 : if (!const_int_operand (operands[3], E_VOIDmode))
9332 : return -1;
9333 400 : x12 = XEXP (x7, 0);
9334 400 : operands[4] = x12;
9335 400 : switch (GET_MODE (x4))
9336 : {
9337 265 : case E_SImode:
9338 265 : if (!nonimmediate_operand (operands[1], E_SImode))
9339 120 : return -1;
9340 : return 0;
9341 :
9342 135 : case E_DImode:
9343 135 : if (!nonimmediate_operand (operands[1], E_DImode))
9344 48 : return -1;
9345 : return 1;
9346 :
9347 : default:
9348 : return -1;
9349 : }
9350 : }
9351 :
9352 : int
9353 757 : pattern1589 (rtx x1, machine_mode i1)
9354 : {
9355 757 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9356 757 : rtx x2, x3;
9357 757 : int res ATTRIBUTE_UNUSED;
9358 757 : if (!register_operand (operands[0], i1)
9359 757 : || GET_MODE (x1) != i1)
9360 : return -1;
9361 739 : x2 = XEXP (x1, 0);
9362 739 : if (GET_MODE (x2) != i1)
9363 : return -1;
9364 739 : x3 = XEXP (x2, 0);
9365 739 : if (GET_MODE (x3) != i1
9366 739 : || !nonimmediate_operand (operands[2], i1)
9367 739 : || !nonimm_or_0_operand (operands[4], i1)
9368 1478 : || !register_operand (operands[1], i1))
9369 0 : return -1;
9370 : return 0;
9371 : }
9372 :
9373 : int
9374 12 : pattern1593 (rtx x1, machine_mode i1)
9375 : {
9376 12 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9377 12 : rtx x2, x3, x4, x5;
9378 12 : int res ATTRIBUTE_UNUSED;
9379 12 : if (!register_operand (operands[0], i1)
9380 12 : || GET_MODE (x1) != i1)
9381 : return -1;
9382 6 : x2 = XEXP (x1, 0);
9383 6 : if (GET_MODE (x2) != i1)
9384 : return -1;
9385 6 : x3 = XEXP (x2, 0);
9386 6 : if (GET_MODE (x3) != i1)
9387 : return -1;
9388 6 : x4 = XEXP (x3, 0);
9389 6 : if (GET_MODE (x4) != i1
9390 6 : || !nonimmediate_operand (operands[2], i1)
9391 12 : || !nonimmediate_operand (operands[1], i1))
9392 : return -1;
9393 6 : x5 = XEXP (x3, 2);
9394 6 : if (GET_MODE (x5) != i1
9395 6 : || !nonimmediate_operand (operands[3], i1)
9396 12 : || !const0_operand (operands[4], i1))
9397 0 : return -1;
9398 : return 0;
9399 : }
9400 :
9401 : int
9402 2799 : pattern1601 (rtx x1, machine_mode i1, machine_mode i2)
9403 : {
9404 2799 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9405 2799 : rtx x2, x3;
9406 2799 : int res ATTRIBUTE_UNUSED;
9407 2799 : if (!register_operand (operands[0], i1)
9408 2799 : || GET_MODE (x1) != i1)
9409 : return -1;
9410 2739 : x2 = XVECEXP (x1, 0, 0);
9411 2739 : if (GET_MODE (x2) != i1)
9412 : return -1;
9413 2739 : x3 = XEXP (x2, 0);
9414 2739 : if (GET_MODE (x3) != i1
9415 2739 : || !nonimmediate_operand (operands[1], i1)
9416 2737 : || !nonimm_or_0_operand (operands[3], i1)
9417 5474 : || !register_operand (operands[4], i2))
9418 43 : return -1;
9419 : return 0;
9420 : }
9421 :
9422 : int
9423 7449 : pattern1607 (rtx x1)
9424 : {
9425 7449 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9426 7449 : rtx x2, x3;
9427 7449 : int res ATTRIBUTE_UNUSED;
9428 7449 : if (!register_operand (operands[0], E_V4SFmode)
9429 7449 : || GET_MODE (x1) != E_V4SFmode)
9430 : return -1;
9431 4299 : x2 = XEXP (x1, 0);
9432 4299 : if (GET_MODE (x2) != E_V8SFmode
9433 4299 : || !vector_operand (operands[1], E_V4SFmode))
9434 : return -1;
9435 4221 : x3 = XEXP (x2, 1);
9436 4221 : if (!rtx_equal_p (x3, operands[1]))
9437 2183 : return -1;
9438 : return 0;
9439 : }
9440 :
9441 : int
9442 162764 : pattern1612 (rtx x1)
9443 : {
9444 162764 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9445 162764 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9446 162764 : rtx x10, x11, x12, x13, x14, x15, x16;
9447 162764 : int res ATTRIBUTE_UNUSED;
9448 162764 : x2 = XVECEXP (x1, 0, 0);
9449 162764 : x3 = XEXP (x2, 1);
9450 162764 : x4 = XEXP (x3, 0);
9451 162764 : x5 = XEXP (x4, 0);
9452 162764 : x6 = XEXP (x5, 0);
9453 162764 : operands[1] = x6;
9454 162764 : x7 = XEXP (x3, 1);
9455 162764 : x8 = XEXP (x7, 0);
9456 162764 : x9 = XEXP (x8, 0);
9457 162764 : if (!rtx_equal_p (x9, operands[1]))
9458 : return -1;
9459 157723 : x10 = XVECEXP (x1, 0, 1);
9460 157723 : x11 = XEXP (x10, 1);
9461 157723 : x12 = XEXP (x11, 0);
9462 157723 : if (!rtx_equal_p (x12, operands[1]))
9463 : return -1;
9464 154456 : x13 = XEXP (x4, 1);
9465 154456 : switch (GET_CODE (x13))
9466 : {
9467 90866 : case SIGN_EXTEND:
9468 90866 : x14 = XEXP (x13, 0);
9469 90866 : operands[2] = x14;
9470 90866 : x15 = XEXP (x8, 1);
9471 90866 : if (!rtx_equal_p (x15, operands[2]))
9472 : return -1;
9473 90818 : x16 = XEXP (x11, 1);
9474 90818 : if (!rtx_equal_p (x16, operands[2]))
9475 : return -1;
9476 90571 : switch (GET_MODE (x4))
9477 : {
9478 5089 : case E_HImode:
9479 5089 : return pattern1610 (x1,
9480 : E_QImode,
9481 5089 : E_HImode); /* [-1, 0] */
9482 :
9483 5994 : case E_SImode:
9484 5994 : if (pattern1610 (x1,
9485 : E_HImode,
9486 : E_SImode) != 0)
9487 200 : return -1;
9488 : return 1;
9489 :
9490 23634 : case E_DImode:
9491 23634 : if (GET_MODE (x5) != E_DImode
9492 23634 : || !nonimmediate_operand (operands[1], E_SImode)
9493 23233 : || GET_MODE (x13) != E_DImode
9494 23233 : || !x86_64_sext_operand (operands[2], E_SImode)
9495 46560 : || pattern752 (x1,
9496 : E_SImode,
9497 : E_DImode) != 0)
9498 708 : return -1;
9499 : return 2;
9500 :
9501 38641 : case E_TImode:
9502 38641 : if (GET_MODE (x5) != E_TImode
9503 38641 : || !nonimmediate_operand (operands[1], E_DImode)
9504 38289 : || GET_MODE (x13) != E_TImode
9505 76930 : || pattern752 (x1,
9506 : E_DImode,
9507 : E_TImode) != 0)
9508 352 : return -1;
9509 : return 3;
9510 :
9511 17213 : case E_POImode:
9512 17213 : if (pattern753 (x1,
9513 : E_TImode,
9514 : E_POImode) != 0)
9515 3894 : return -1;
9516 : return 4;
9517 :
9518 : default:
9519 : return -1;
9520 : }
9521 :
9522 62594 : case CONST_INT:
9523 62594 : case CONST_WIDE_INT:
9524 62594 : operands[3] = x13;
9525 62594 : x15 = XEXP (x8, 1);
9526 62594 : operands[2] = x15;
9527 62594 : x16 = XEXP (x11, 1);
9528 62594 : if (!rtx_equal_p (x16, operands[2]))
9529 : return -1;
9530 62228 : switch (GET_MODE (x4))
9531 : {
9532 6046 : case E_HImode:
9533 6046 : if (pattern1611 (x1,
9534 : E_QImode,
9535 : E_HImode) != 0)
9536 0 : return -1;
9537 : return 5;
9538 :
9539 5928 : case E_SImode:
9540 5928 : if (pattern1611 (x1,
9541 : E_HImode,
9542 : E_SImode) != 0)
9543 0 : return -1;
9544 : return 6;
9545 :
9546 13259 : case E_DImode:
9547 13259 : if (pattern1611 (x1,
9548 : E_SImode,
9549 : E_DImode) != 0)
9550 263 : return -1;
9551 : return 7;
9552 :
9553 24345 : case E_TImode:
9554 24345 : if (GET_MODE (x5) != E_TImode
9555 24345 : || !nonimmediate_operand (operands[1], E_DImode)
9556 48690 : || pattern752 (x1,
9557 : E_DImode,
9558 : E_TImode) != 0)
9559 0 : return -1;
9560 : return 8;
9561 :
9562 12650 : case E_POImode:
9563 12650 : if (pattern754 (x1,
9564 : E_TImode,
9565 : E_POImode) != 0)
9566 8426 : return -1;
9567 : return 9;
9568 :
9569 : default:
9570 : return -1;
9571 : }
9572 :
9573 : default:
9574 : return -1;
9575 : }
9576 : }
9577 :
9578 : int
9579 148 : pattern1639 (rtx x1, machine_mode i1)
9580 : {
9581 148 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9582 148 : rtx x2, x3;
9583 148 : int res ATTRIBUTE_UNUSED;
9584 148 : if (!register_operand (operands[0], i1)
9585 148 : || GET_MODE (x1) != i1)
9586 : return -1;
9587 127 : x2 = XVECEXP (x1, 0, 0);
9588 127 : if (GET_MODE (x2) != i1)
9589 : return -1;
9590 127 : x3 = XEXP (x2, 0);
9591 127 : if (GET_MODE (x3) != i1
9592 127 : || !register_operand (operands[2], i1)
9593 238 : || !register_operand (operands[1], i1))
9594 20 : return -1;
9595 : return 0;
9596 : }
9597 :
9598 : int
9599 507 : pattern1643 (rtx x1, machine_mode i1, machine_mode i2)
9600 : {
9601 507 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9602 507 : rtx x2, x3;
9603 507 : int res ATTRIBUTE_UNUSED;
9604 507 : if (!register_operand (operands[0], i2)
9605 507 : || GET_MODE (x1) != i2)
9606 : return -1;
9607 493 : x2 = XVECEXP (x1, 0, 0);
9608 493 : if (GET_MODE (x2) != i2)
9609 : return -1;
9610 493 : x3 = XEXP (x2, 0);
9611 493 : if (GET_MODE (x3) != i2
9612 493 : || !register_operand (operands[1], i2)
9613 981 : || pattern1642 (
9614 : i1,
9615 : i2) != 0)
9616 17 : return -1;
9617 : return 0;
9618 : }
9619 :
9620 : int
9621 0 : pattern1649 (rtx x1, machine_mode i1, machine_mode i2)
9622 : {
9623 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9624 0 : rtx x2, x3, x4, x5;
9625 0 : int res ATTRIBUTE_UNUSED;
9626 0 : if (!register_operand (operands[0], i1)
9627 0 : || GET_MODE (x1) != i1)
9628 : return -1;
9629 0 : x2 = XVECEXP (x1, 0, 0);
9630 0 : if (GET_MODE (x2) != i1)
9631 : return -1;
9632 0 : x3 = XEXP (x2, 0);
9633 0 : if (GET_MODE (x3) != i1
9634 0 : || !nonimmediate_operand (operands[1], i1)
9635 0 : || !register_operand (operands[2], i1))
9636 : return -1;
9637 0 : x4 = XEXP (x3, 2);
9638 0 : if (GET_MODE (x4) != i1
9639 0 : || !register_operand (operands[3], i1)
9640 0 : || !register_operand (operands[4], i2))
9641 : return -1;
9642 0 : x5 = XEXP (x2, 1);
9643 0 : if (!rtx_equal_p (x5, operands[1]))
9644 0 : return -1;
9645 : return 0;
9646 : }
9647 :
9648 : int
9649 701 : pattern1657 (rtx x1, machine_mode i1)
9650 : {
9651 701 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9652 701 : rtx x2, x3, x4;
9653 701 : int res ATTRIBUTE_UNUSED;
9654 701 : if (!vsib_mem_operator (operands[5], i1)
9655 701 : || !register_operand (operands[6], E_QImode))
9656 : return -1;
9657 337 : x2 = XEXP (x1, 1);
9658 337 : if (GET_MODE (x2) != i1
9659 337 : || !register_operand (operands[3], i1))
9660 : return -1;
9661 287 : x3 = XEXP (x1, 0);
9662 287 : x4 = XEXP (x3, 0);
9663 287 : switch (GET_MODE (x4))
9664 : {
9665 23 : case E_SImode:
9666 23 : return pattern1656 (
9667 23 : E_SImode); /* [-1, 1] */
9668 :
9669 264 : case E_DImode:
9670 264 : res = pattern1656 (
9671 : E_DImode);
9672 264 : if (res >= 0)
9673 128 : return res + 2; /* [2, 3] */
9674 : return -1;
9675 :
9676 : default:
9677 : return -1;
9678 : }
9679 : }
9680 :
9681 : int
9682 638 : pattern1662 (rtx x1, machine_mode i1)
9683 : {
9684 638 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9685 638 : rtx x2, x3, x4;
9686 638 : int res ATTRIBUTE_UNUSED;
9687 638 : if (!vsib_mem_operator (operands[5], i1)
9688 638 : || !register_operand (operands[6], E_QImode))
9689 : return -1;
9690 418 : x2 = XEXP (x1, 1);
9691 418 : if (GET_MODE (x2) != i1
9692 418 : || !register_operand (operands[3], i1))
9693 : return -1;
9694 344 : x3 = XEXP (x1, 0);
9695 344 : x4 = XEXP (x3, 0);
9696 344 : switch (GET_MODE (x4))
9697 : {
9698 0 : case E_SImode:
9699 0 : return pattern1661 (
9700 0 : E_SImode); /* [-1, 1] */
9701 :
9702 344 : case E_DImode:
9703 344 : res = pattern1661 (
9704 : E_DImode);
9705 344 : if (res >= 0)
9706 204 : return res + 2; /* [2, 3] */
9707 : return -1;
9708 :
9709 : default:
9710 : return -1;
9711 : }
9712 : }
9713 :
9714 : int
9715 147 : pattern1670 (rtx x1, machine_mode i1, machine_mode i2)
9716 : {
9717 147 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9718 147 : rtx x2, x3;
9719 147 : int res ATTRIBUTE_UNUSED;
9720 147 : if (!register_operand (operands[0], i2)
9721 129 : || GET_MODE (x1) != i2
9722 129 : || !register_operand (operands[6], E_QImode)
9723 182 : || !vsib_mem_operator (operands[5], i1))
9724 : return -1;
9725 35 : x2 = XVECEXP (x1, 0, 2);
9726 35 : x3 = XEXP (x2, 0);
9727 35 : switch (GET_MODE (x3))
9728 : {
9729 0 : case E_SImode:
9730 0 : return pattern1669 (
9731 0 : E_SImode); /* [-1, 1] */
9732 :
9733 35 : case E_DImode:
9734 35 : res = pattern1669 (
9735 : E_DImode);
9736 35 : if (res >= 0)
9737 17 : return res + 2; /* [2, 3] */
9738 : return -1;
9739 :
9740 : default:
9741 : return -1;
9742 : }
9743 : }
9744 :
9745 : int
9746 184 : pattern1678 (rtx x1, int i1, int i2, int i3, int i4)
9747 : {
9748 184 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9749 184 : rtx x2, x3, x4, x5;
9750 184 : int res ATTRIBUTE_UNUSED;
9751 184 : if (XVECLEN (x1, 0) != 4)
9752 : return -1;
9753 184 : x2 = XVECEXP (x1, 0, 0);
9754 184 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
9755 : return -1;
9756 184 : x3 = XVECEXP (x1, 0, 1);
9757 184 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
9758 : return -1;
9759 184 : x4 = XVECEXP (x1, 0, 2);
9760 184 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
9761 : return -1;
9762 184 : x5 = XVECEXP (x1, 0, 3);
9763 184 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
9764 0 : return -1;
9765 : return 0;
9766 : }
9767 :
9768 : int
9769 49801 : pattern1681 (rtx x1, machine_mode i1)
9770 : {
9771 49801 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9772 49801 : rtx x2;
9773 49801 : int res ATTRIBUTE_UNUSED;
9774 49801 : if (!nonimmediate_operand (operands[0], i1)
9775 49801 : || GET_MODE (x1) != i1)
9776 : return -1;
9777 49801 : x2 = XEXP (x1, 0);
9778 49801 : if (GET_MODE (x2) != i1
9779 49801 : || !ix86_carry_flag_operator (operands[4], i1)
9780 49801 : || !nonimmediate_operand (operands[1], i1)
9781 99581 : || !x86_64_general_operand (operands[2], i1))
9782 27 : return -1;
9783 : return 0;
9784 : }
9785 :
9786 : int
9787 13 : pattern1685 (rtx x1, int *pnum_clobbers)
9788 : {
9789 13 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9790 13 : rtx x2, x3, x4, x5, x6;
9791 13 : int res ATTRIBUTE_UNUSED;
9792 13 : x2 = XVECEXP (x1, 0, 1);
9793 13 : x3 = XEXP (x2, 1);
9794 13 : x4 = XEXP (x3, 0);
9795 13 : if (!rtx_equal_p (x4, operands[2]))
9796 : return -1;
9797 13 : x5 = XEXP (x3, 1);
9798 13 : if (!rtx_equal_p (x5, operands[3]))
9799 : return -1;
9800 13 : x6 = XVECEXP (x1, 0, 2);
9801 13 : return pattern1620 (x6, pnum_clobbers); /* [-1, 2] */
9802 : }
9803 :
9804 : int
9805 2052 : pattern1691 (rtx x1, machine_mode i1)
9806 : {
9807 2052 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9808 2052 : rtx x2, x3, x4;
9809 2052 : int res ATTRIBUTE_UNUSED;
9810 2052 : if (!nonmemory_operand (operands[1], i1))
9811 : return -1;
9812 2052 : operands[3] = x1;
9813 2052 : if (!register_operand (operands[3], i1))
9814 : return -1;
9815 8 : x2 = PATTERN (peep2_next_insn (1));
9816 8 : x3 = XEXP (x2, 1);
9817 8 : if (!rtx_equal_p (x3, operands[3]))
9818 : return -1;
9819 8 : x4 = XEXP (x2, 0);
9820 8 : if (!rtx_equal_p (x4, operands[0]))
9821 0 : return -1;
9822 : return 0;
9823 : }
9824 :
9825 : int
9826 407 : pattern1695 (rtx x1, machine_mode i1, machine_mode i2)
9827 : {
9828 407 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9829 407 : rtx x2, x3, x4, x5, x6;
9830 407 : int res ATTRIBUTE_UNUSED;
9831 407 : if (!register_operand (operands[0], i1)
9832 407 : || GET_MODE (x1) != i1)
9833 : return -1;
9834 387 : x2 = XEXP (x1, 0);
9835 387 : if (GET_MODE (x2) != i2)
9836 : return -1;
9837 387 : x3 = XEXP (x2, 0);
9838 387 : if (GET_MODE (x3) != i2)
9839 : return -1;
9840 387 : x4 = XEXP (x3, 0);
9841 387 : if (GET_MODE (x4) != i2)
9842 : return -1;
9843 387 : x5 = XEXP (x4, 0);
9844 387 : if (GET_MODE (x5) != i2
9845 387 : || !register_mmxmem_operand (operands[1], i1))
9846 : return -1;
9847 365 : x6 = XEXP (x4, 1);
9848 365 : if (GET_MODE (x6) != i2
9849 365 : || !register_mmxmem_operand (operands[2], i1))
9850 15 : return -1;
9851 : return 0;
9852 : }
9853 :
9854 : int
9855 470 : pattern1701 (rtx x1, machine_mode i1, machine_mode i2)
9856 : {
9857 470 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9858 470 : rtx x2, x3;
9859 470 : int res ATTRIBUTE_UNUSED;
9860 470 : if (!register_operand (operands[0], i1)
9861 470 : || GET_MODE (x1) != i1)
9862 : return -1;
9863 397 : x2 = XEXP (x1, 0);
9864 397 : if (GET_MODE (x2) != i1)
9865 : return -1;
9866 397 : x3 = XEXP (x2, 0);
9867 397 : if (GET_MODE (x3) != i2
9868 397 : || !register_operand (operands[1], i1)
9869 395 : || !nonimmediate_operand (operands[2], i1)
9870 395 : || !const_0_to_3_operand (operands[3], E_VOIDmode)
9871 395 : || !const_0_to_3_operand (operands[4], E_VOIDmode)
9872 383 : || !const_4_to_7_operand (operands[5], E_VOIDmode)
9873 383 : || !const_4_to_7_operand (operands[6], E_VOIDmode)
9874 780 : || !nonimm_or_0_operand (operands[7], i1))
9875 14 : return -1;
9876 : return 0;
9877 : }
9878 :
9879 : int
9880 850 : pattern1708 (rtx x1, machine_mode i1, machine_mode i2)
9881 : {
9882 850 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9883 850 : rtx x2, x3;
9884 850 : int res ATTRIBUTE_UNUSED;
9885 850 : if (!register_operand (operands[0], i1)
9886 850 : || GET_MODE (x1) != i1)
9887 : return -1;
9888 836 : x2 = XVECEXP (x1, 0, 0);
9889 836 : if (GET_MODE (x2) != i1)
9890 : return -1;
9891 836 : x3 = XEXP (x2, 0);
9892 836 : if (GET_MODE (x3) != i1
9893 836 : || !register_operand (operands[1], i1)
9894 836 : || !register_operand (operands[2], i1)
9895 836 : || !nonimm_or_0_operand (operands[4], i1)
9896 1672 : || !register_operand (operands[5], i2))
9897 0 : return -1;
9898 : return 0;
9899 : }
9900 :
9901 : int
9902 144 : pattern1713 (machine_mode i1)
9903 : {
9904 144 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9905 144 : int res ATTRIBUTE_UNUSED;
9906 144 : if (!vsib_address_operand (operands[4], i1))
9907 : return -1;
9908 144 : switch (GET_MODE (operands[3]))
9909 : {
9910 93 : case E_V8SImode:
9911 93 : if (!register_operand (operands[3], E_V8SImode))
9912 35 : return -1;
9913 : return 0;
9914 :
9915 51 : case E_V8DImode:
9916 51 : if (!register_operand (operands[3], E_V8DImode))
9917 9 : return -1;
9918 : return 1;
9919 :
9920 : default:
9921 : return -1;
9922 : }
9923 : }
9924 :
9925 : int
9926 454 : pattern1719 (rtx x1, machine_mode i1, machine_mode i2)
9927 : {
9928 454 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9929 454 : rtx x2, x3;
9930 454 : int res ATTRIBUTE_UNUSED;
9931 454 : if (!register_operand (operands[0], i2)
9932 448 : || GET_MODE (x1) != i2
9933 448 : || !register_operand (operands[1], i2)
9934 448 : || !register_operand (operands[7], E_QImode)
9935 780 : || !vsib_mem_operator (operands[6], i1))
9936 : return -1;
9937 326 : x2 = XVECEXP (x1, 0, 2);
9938 326 : x3 = XEXP (x2, 0);
9939 326 : switch (GET_MODE (x3))
9940 : {
9941 0 : case E_SImode:
9942 0 : return pattern1718 (
9943 0 : E_SImode); /* [-1, 1] */
9944 :
9945 326 : case E_DImode:
9946 326 : res = pattern1718 (
9947 : E_DImode);
9948 326 : if (res >= 0)
9949 244 : return res + 2; /* [2, 3] */
9950 : return -1;
9951 :
9952 : default:
9953 : return -1;
9954 : }
9955 : }
9956 :
9957 : int
9958 0 : pattern1727 (rtx x1, machine_mode i1, machine_mode i2)
9959 : {
9960 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9961 0 : rtx x2, x3;
9962 0 : int res ATTRIBUTE_UNUSED;
9963 0 : if (!register_operand (operands[0], i1)
9964 0 : || !addsub_vs_operator (operands[7], i1)
9965 0 : || GET_MODE (x1) != i2)
9966 : return -1;
9967 0 : x2 = XEXP (x1, 0);
9968 0 : if (GET_MODE (x2) != i1
9969 0 : || !vector_operand (operands[1], i1)
9970 0 : || !vector_operand (operands[2], i1))
9971 : return -1;
9972 0 : x3 = XEXP (x1, 1);
9973 0 : if (GET_MODE (x3) != i1
9974 0 : || !register_operand (operands[3], i1)
9975 0 : || !vector_operand (operands[4], i1))
9976 0 : return -1;
9977 : return 0;
9978 : }
9979 :
9980 : int
9981 504 : pattern1733 (rtx x1, machine_mode i1)
9982 : {
9983 504 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9984 504 : rtx x2;
9985 504 : int res ATTRIBUTE_UNUSED;
9986 504 : if (!register_operand (operands[0], i1)
9987 504 : || GET_MODE (x1) != i1)
9988 : return -1;
9989 453 : x2 = XEXP (x1, 0);
9990 453 : if (GET_MODE (x2) != i1
9991 453 : || !nonimmediate_operand (operands[1], i1)
9992 882 : || !nonimm_or_0_operand (operands[6], i1))
9993 41 : return -1;
9994 : return 0;
9995 : }
9996 :
9997 : int
9998 24947 : pattern1738 ()
9999 : {
10000 24947 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10001 24947 : int res ATTRIBUTE_UNUSED;
10002 24947 : if (!const_0_to_7_operand (operands[4], E_VOIDmode)
10003 18044 : || !const_0_to_7_operand (operands[5], E_VOIDmode)
10004 13133 : || !const_0_to_7_operand (operands[6], E_VOIDmode)
10005 13091 : || !const_8_to_15_operand (operands[7], E_VOIDmode)
10006 7394 : || !const_8_to_15_operand (operands[8], E_VOIDmode)
10007 7394 : || !const_8_to_15_operand (operands[9], E_VOIDmode)
10008 32341 : || !const_8_to_15_operand (operands[10], E_VOIDmode))
10009 17553 : return -1;
10010 : return 0;
10011 : }
10012 :
10013 : int
10014 53 : pattern1744 (rtx x1)
10015 : {
10016 53 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10017 53 : rtx x2, x3, x4, x5, x6, x7, x8;
10018 53 : int res ATTRIBUTE_UNUSED;
10019 53 : if (!register_operand (operands[0], E_SImode))
10020 : return -1;
10021 53 : x2 = XEXP (x1, 0);
10022 53 : x3 = XEXP (x2, 0);
10023 53 : operands[1] = x3;
10024 53 : if (!nonimmediate_operand (operands[1], E_SImode))
10025 : return -1;
10026 53 : x4 = XEXP (x1, 1);
10027 53 : if (GET_MODE (x4) != E_SImode)
10028 : return -1;
10029 53 : x5 = XEXP (x4, 0);
10030 53 : if (GET_MODE (x5) != E_DImode)
10031 : return -1;
10032 53 : x6 = XEXP (x5, 0);
10033 53 : if (GET_MODE (x6) != E_DImode)
10034 : return -1;
10035 53 : x7 = XEXP (x6, 0);
10036 53 : operands[2] = x7;
10037 53 : if (!register_operand (operands[2], E_SImode))
10038 : return -1;
10039 53 : x8 = XEXP (x5, 1);
10040 53 : operands[4] = x8;
10041 53 : if (!const_0_to_63_operand (operands[4], E_QImode))
10042 0 : return -1;
10043 : return 0;
10044 : }
10045 :
10046 : int
10047 398 : pattern1752 (rtx x1, int i1, int i2, int i3, int i4, int i5)
10048 : {
10049 398 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10050 398 : rtx x2, x3, x4, x5, x6;
10051 398 : int res ATTRIBUTE_UNUSED;
10052 398 : x2 = XVECEXP (x1, 0, 12);
10053 398 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
10054 : return -1;
10055 398 : x3 = XVECEXP (x1, 0, 13);
10056 398 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
10057 : return -1;
10058 398 : x4 = XVECEXP (x1, 0, 14);
10059 398 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
10060 : return -1;
10061 398 : x5 = XVECEXP (x1, 0, 15);
10062 398 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
10063 : return -1;
10064 398 : x6 = XVECEXP (x1, 0, 16);
10065 398 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i5])
10066 0 : return -1;
10067 : return 0;
10068 : }
10069 :
10070 : int
10071 46 : pattern1756 (rtx x1)
10072 : {
10073 46 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10074 46 : rtx x2, x3;
10075 46 : int res ATTRIBUTE_UNUSED;
10076 46 : x2 = XEXP (x1, 0);
10077 46 : switch (GET_MODE (x2))
10078 : {
10079 6 : case E_HImode:
10080 6 : x3 = XEXP (x1, 1);
10081 6 : if (GET_MODE (x3) != E_HImode
10082 6 : || !extract_high_operator (operands[3], E_HImode))
10083 0 : return -1;
10084 : return 0;
10085 :
10086 31 : case E_SImode:
10087 31 : x3 = XEXP (x1, 1);
10088 31 : if (GET_MODE (x3) != E_SImode
10089 31 : || !extract_high_operator (operands[3], E_SImode))
10090 0 : return -1;
10091 : return 1;
10092 :
10093 9 : case E_DImode:
10094 9 : x3 = XEXP (x1, 1);
10095 9 : if (GET_MODE (x3) != E_DImode
10096 9 : || !extract_high_operator (operands[3], E_DImode))
10097 0 : return -1;
10098 : return 2;
10099 :
10100 : default:
10101 : return -1;
10102 : }
10103 : }
10104 :
10105 : int
10106 213 : pattern1763 (machine_mode i1)
10107 : {
10108 213 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10109 213 : int res ATTRIBUTE_UNUSED;
10110 213 : if (!vsib_address_operand (operands[2], i1))
10111 : return -1;
10112 163 : switch (GET_MODE (operands[3]))
10113 : {
10114 64 : case E_V4SImode:
10115 64 : if (!register_operand (operands[3], E_V4SImode))
10116 49 : return -1;
10117 : return 0;
10118 :
10119 99 : case E_V2DImode:
10120 99 : if (!register_operand (operands[3], E_V2DImode))
10121 50 : return -1;
10122 : return 1;
10123 :
10124 : default:
10125 : return -1;
10126 : }
10127 : }
10128 :
10129 : int
10130 363 : pattern1767 (rtx x1, machine_mode i1, machine_mode i2)
10131 : {
10132 363 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10133 363 : rtx x2, x3;
10134 363 : int res ATTRIBUTE_UNUSED;
10135 363 : if (!register_operand (operands[0], i2)
10136 343 : || GET_MODE (x1) != i2
10137 706 : || !vsib_mem_operator (operands[6], i1))
10138 : return -1;
10139 343 : x2 = XVECEXP (x1, 0, 1);
10140 343 : x3 = XEXP (x2, 0);
10141 343 : switch (GET_MODE (x3))
10142 : {
10143 : case E_SImode:
10144 : return 0;
10145 :
10146 343 : case E_DImode:
10147 343 : return 1;
10148 :
10149 : default:
10150 : return -1;
10151 : }
10152 : }
10153 :
10154 : int
10155 872 : pattern1772 (rtx x1, machine_mode i1)
10156 : {
10157 872 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10158 872 : rtx x2, x3, x4;
10159 872 : int res ATTRIBUTE_UNUSED;
10160 872 : if (!vsib_mem_operator (operands[5], i1)
10161 872 : || !register_operand (operands[6], E_QImode))
10162 : return -1;
10163 792 : x2 = XEXP (x1, 1);
10164 792 : if (GET_MODE (x2) != i1
10165 792 : || !scratch_operand (operands[1], E_QImode))
10166 : return -1;
10167 792 : x3 = XEXP (x1, 0);
10168 792 : x4 = XEXP (x3, 0);
10169 792 : switch (GET_MODE (x4))
10170 : {
10171 : case E_SImode:
10172 : return 0;
10173 :
10174 792 : case E_DImode:
10175 792 : return 1;
10176 :
10177 : default:
10178 : return -1;
10179 : }
10180 : }
10181 :
10182 : int
10183 1405 : pattern1778 (rtx x1, machine_mode i1, machine_mode i2)
10184 : {
10185 1405 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10186 1405 : rtx x2, x3;
10187 1405 : int res ATTRIBUTE_UNUSED;
10188 1405 : if (!register_operand (operands[0], i2)
10189 1385 : || GET_MODE (x1) != i2
10190 2790 : || !vsib_mem_operator (operands[5], i1))
10191 : return -1;
10192 1385 : switch (GET_MODE (operands[6]))
10193 : {
10194 343 : case E_HImode:
10195 343 : x2 = XVECEXP (x1, 0, 2);
10196 343 : x3 = XEXP (x2, 0);
10197 343 : return pattern1777 (x3,
10198 : E_HImode,
10199 343 : E_V16SImode); /* [-1, 1] */
10200 :
10201 486 : case E_QImode:
10202 486 : x2 = XVECEXP (x1, 0, 2);
10203 486 : x3 = XEXP (x2, 0);
10204 486 : res = pattern1777 (x3,
10205 : E_QImode,
10206 : E_V8DImode);
10207 486 : if (res >= 0)
10208 456 : return res + 2; /* [2, 3] */
10209 : return -1;
10210 :
10211 : default:
10212 : return -1;
10213 : }
10214 : }
10215 :
10216 : int
10217 214 : pattern1785 (machine_mode i1)
10218 : {
10219 214 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10220 214 : int res ATTRIBUTE_UNUSED;
10221 214 : if (!vsib_address_operand (operands[3], i1))
10222 : return -1;
10223 214 : switch (GET_MODE (operands[2]))
10224 : {
10225 68 : case E_V4SImode:
10226 68 : if (!register_operand (operands[2], E_V4SImode))
10227 0 : return -1;
10228 : return 0;
10229 :
10230 146 : case E_V2DImode:
10231 146 : if (!register_operand (operands[2], E_V2DImode))
10232 6 : return -1;
10233 : return 1;
10234 :
10235 : default:
10236 : return -1;
10237 : }
10238 : }
10239 :
10240 : int
10241 2913 : pattern1790 (rtx x1)
10242 : {
10243 2913 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10244 2913 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10245 2913 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10246 2913 : rtx x18, x19, x20, x21, x22, x23;
10247 2913 : int res ATTRIBUTE_UNUSED;
10248 2913 : if (!register_operand (operands[0], E_SImode))
10249 : return -1;
10250 2909 : x2 = XVECEXP (x1, 0, 0);
10251 2909 : x3 = XEXP (x2, 1);
10252 2909 : x4 = XVECEXP (x3, 0, 0);
10253 2909 : operands[2] = x4;
10254 2909 : if (!register_operand (operands[2], E_V16QImode))
10255 : return -1;
10256 2883 : x5 = XVECEXP (x3, 0, 1);
10257 2883 : operands[3] = x5;
10258 2883 : if (!register_operand (operands[3], E_SImode))
10259 : return -1;
10260 2875 : x6 = XVECEXP (x3, 0, 2);
10261 2875 : operands[4] = x6;
10262 2875 : if (!nonimmediate_operand (operands[4], E_V16QImode))
10263 : return -1;
10264 2875 : x7 = XVECEXP (x3, 0, 3);
10265 2875 : operands[5] = x7;
10266 2875 : if (!register_operand (operands[5], E_SImode))
10267 : return -1;
10268 2875 : x8 = XVECEXP (x3, 0, 4);
10269 2875 : operands[6] = x8;
10270 2875 : if (!const_0_to_255_operand (operands[6], E_SImode))
10271 : return -1;
10272 2875 : x9 = XVECEXP (x1, 0, 1);
10273 2875 : x10 = XEXP (x9, 0);
10274 2875 : operands[1] = x10;
10275 2875 : if (!register_operand (operands[1], E_V16QImode))
10276 : return -1;
10277 2835 : x11 = XEXP (x9, 1);
10278 2835 : x12 = XVECEXP (x11, 0, 0);
10279 2835 : if (!rtx_equal_p (x12, operands[2]))
10280 : return -1;
10281 2835 : x13 = XVECEXP (x11, 0, 1);
10282 2835 : if (!rtx_equal_p (x13, operands[3]))
10283 : return -1;
10284 2835 : x14 = XVECEXP (x11, 0, 2);
10285 2835 : if (!rtx_equal_p (x14, operands[4]))
10286 : return -1;
10287 2835 : x15 = XVECEXP (x11, 0, 3);
10288 2835 : if (!rtx_equal_p (x15, operands[5]))
10289 : return -1;
10290 2835 : x16 = XVECEXP (x11, 0, 4);
10291 2835 : if (!rtx_equal_p (x16, operands[6]))
10292 : return -1;
10293 2835 : x17 = XVECEXP (x1, 0, 2);
10294 2835 : x18 = XEXP (x17, 1);
10295 2835 : x19 = XVECEXP (x18, 0, 0);
10296 2835 : if (!rtx_equal_p (x19, operands[2]))
10297 : return -1;
10298 2755 : x20 = XVECEXP (x18, 0, 1);
10299 2755 : if (!rtx_equal_p (x20, operands[3]))
10300 : return -1;
10301 2675 : x21 = XVECEXP (x18, 0, 2);
10302 2675 : if (!rtx_equal_p (x21, operands[4]))
10303 : return -1;
10304 2595 : x22 = XVECEXP (x18, 0, 3);
10305 2595 : if (!rtx_equal_p (x22, operands[5]))
10306 : return -1;
10307 2515 : x23 = XVECEXP (x18, 0, 4);
10308 2515 : if (!rtx_equal_p (x23, operands[6]))
10309 0 : return -1;
10310 : return 0;
10311 : }
10312 :
10313 : int
10314 349 : pattern1806 (rtx x1, machine_mode i1, machine_mode i2)
10315 : {
10316 349 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10317 349 : rtx x2, x3;
10318 349 : int res ATTRIBUTE_UNUSED;
10319 349 : if (!register_operand (operands[0], i1)
10320 331 : || GET_MODE (x1) != i1
10321 331 : || !register_operand (operands[2], i1)
10322 331 : || !vsib_mem_operator (operands[7], i2)
10323 680 : || !register_operand (operands[5], i1))
10324 : return -1;
10325 182 : x2 = XVECEXP (x1, 0, 1);
10326 182 : x3 = XEXP (x2, 0);
10327 182 : switch (GET_MODE (x3))
10328 : {
10329 0 : case E_SImode:
10330 0 : return pattern1805 (
10331 0 : E_SImode); /* [-1, 1] */
10332 :
10333 182 : case E_DImode:
10334 182 : res = pattern1805 (
10335 : E_DImode);
10336 182 : if (res >= 0)
10337 90 : return res + 2; /* [2, 3] */
10338 : return -1;
10339 :
10340 : default:
10341 : return -1;
10342 : }
10343 : }
10344 :
10345 : int
10346 11 : pattern1814 (rtx x1, machine_mode i1)
10347 : {
10348 11 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10349 11 : int res ATTRIBUTE_UNUSED;
10350 11 : if (GET_MODE (x1) != i1
10351 11 : || !ix86_carry_flag_operator (operands[3], i1)
10352 11 : || !nonimmediate_operand (operands[1], i1)
10353 22 : || !x86_64_general_operand (operands[2], i1))
10354 0 : return -1;
10355 : return 0;
10356 : }
10357 :
10358 : int
10359 4 : pattern1817 (rtx x1, machine_mode i1)
10360 : {
10361 4 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10362 4 : int res ATTRIBUTE_UNUSED;
10363 4 : if (!nonimmediate_operand (operands[1], i1)
10364 4 : || !ix86_carry_flag_unset_operator (operands[2], i1)
10365 4 : || !nonimmediate_operand (operands[0], i1)
10366 8 : || GET_MODE (x1) != i1)
10367 0 : return -1;
10368 : return 0;
10369 : }
10370 :
10371 : int
10372 755 : pattern1822 (rtx x1, machine_mode i1, machine_mode i2)
10373 : {
10374 755 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10375 755 : rtx x2, x3;
10376 755 : int res ATTRIBUTE_UNUSED;
10377 755 : if (!register_operand (operands[0], i1)
10378 755 : || GET_MODE (x1) != i1)
10379 : return -1;
10380 688 : x2 = XEXP (x1, 0);
10381 688 : if (GET_MODE (x2) != i1)
10382 : return -1;
10383 688 : x3 = XEXP (x2, 0);
10384 688 : if (GET_MODE (x3) != i2
10385 688 : || !register_operand (operands[1], i1)
10386 688 : || !nonimmediate_operand (operands[2], i1)
10387 671 : || !const_0_to_7_operand (operands[3], E_VOIDmode)
10388 671 : || !const_0_to_7_operand (operands[4], E_VOIDmode)
10389 643 : || !const_0_to_7_operand (operands[5], E_VOIDmode)
10390 643 : || !const_0_to_7_operand (operands[6], E_VOIDmode)
10391 643 : || !const_8_to_15_operand (operands[7], E_VOIDmode)
10392 643 : || !const_8_to_15_operand (operands[8], E_VOIDmode)
10393 643 : || !const_8_to_15_operand (operands[9], E_VOIDmode)
10394 643 : || !const_8_to_15_operand (operands[10], E_VOIDmode)
10395 1331 : || !nonimm_or_0_operand (operands[11], i1))
10396 52 : return -1;
10397 : return 0;
10398 : }
10399 :
10400 : int
10401 327 : pattern1832 (rtx x1, machine_mode i1, machine_mode i2)
10402 : {
10403 327 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10404 327 : rtx x2, x3, x4;
10405 327 : int res ATTRIBUTE_UNUSED;
10406 327 : if (!register_operand (operands[0], i1)
10407 327 : || GET_MODE (x1) != i1)
10408 : return -1;
10409 321 : x2 = XVECEXP (x1, 0, 0);
10410 321 : if (GET_MODE (x2) != i1)
10411 : return -1;
10412 321 : x3 = XEXP (x2, 0);
10413 321 : if (GET_MODE (x3) != i1)
10414 : return -1;
10415 321 : x4 = XEXP (x3, 0);
10416 321 : if (GET_MODE (x4) != i1
10417 321 : || !register_operand (operands[1], i1)
10418 321 : || !register_operand (operands[2], i1)
10419 321 : || !register_operand (operands[3], i2)
10420 642 : || !const0_operand (operands[5], i1))
10421 0 : return -1;
10422 : return 0;
10423 : }
10424 :
10425 : int
10426 581 : pattern1838 (rtx x1)
10427 : {
10428 581 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10429 581 : int res ATTRIBUTE_UNUSED;
10430 581 : switch (GET_MODE (operands[0]))
10431 : {
10432 276 : case E_SImode:
10433 276 : if (!register_operand (operands[0], E_SImode)
10434 276 : || GET_MODE (x1) != E_SImode)
10435 0 : return -1;
10436 : return 0;
10437 :
10438 305 : case E_V16QImode:
10439 305 : if (!register_operand (operands[0], E_V16QImode)
10440 305 : || GET_MODE (x1) != E_V16QImode)
10441 0 : return -1;
10442 : return 1;
10443 :
10444 : default:
10445 : return -1;
10446 : }
10447 : }
10448 :
10449 : int
10450 653 : pattern1842 (rtx x1, machine_mode i1, machine_mode i2)
10451 : {
10452 653 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10453 653 : rtx x2, x3;
10454 653 : int res ATTRIBUTE_UNUSED;
10455 653 : if (!register_operand (operands[0], i1)
10456 645 : || GET_MODE (x1) != i1
10457 645 : || !vsib_mem_operator (operands[6], i2)
10458 645 : || !register_operand (operands[4], i1)
10459 1176 : || !scratch_operand (operands[1], i1))
10460 : return -1;
10461 523 : x2 = XVECEXP (x1, 0, 1);
10462 523 : x3 = XEXP (x2, 0);
10463 523 : switch (GET_MODE (x3))
10464 : {
10465 0 : case E_SImode:
10466 0 : return pattern1841 (
10467 0 : E_SImode); /* [-1, 1] */
10468 :
10469 523 : case E_DImode:
10470 523 : res = pattern1841 (
10471 : E_DImode);
10472 523 : if (res >= 0)
10473 435 : return res + 2; /* [2, 3] */
10474 : return -1;
10475 :
10476 : default:
10477 : return -1;
10478 : }
10479 : }
10480 :
10481 : int
10482 5621 : pattern1850 (rtx x1, machine_mode i1, machine_mode i2, rtx_code i3)
10483 : {
10484 5621 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10485 5621 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10486 5621 : rtx x10, x11, x12, x13, x14, x15;
10487 5621 : int res ATTRIBUTE_UNUSED;
10488 5621 : if (GET_CODE (x1) != MULT
10489 5621 : || GET_MODE (x1) != i2)
10490 : return -1;
10491 5621 : x2 = XEXP (x1, 0);
10492 5621 : if (GET_CODE (x2) != i3
10493 5621 : || GET_MODE (x2) != i2)
10494 : return -1;
10495 5621 : x3 = XEXP (x2, 0);
10496 5621 : if (GET_CODE (x3) != VEC_SELECT
10497 5621 : || GET_MODE (x3) != i1)
10498 : return -1;
10499 5621 : x4 = XEXP (x3, 1);
10500 5621 : if (GET_CODE (x4) != PARALLEL
10501 5621 : || XVECLEN (x4, 0) != 4)
10502 : return -1;
10503 5621 : x5 = XVECEXP (x4, 0, 0);
10504 5621 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
10505 : return -1;
10506 5621 : x6 = XVECEXP (x4, 0, 1);
10507 5621 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
10508 : return -1;
10509 5621 : x7 = XVECEXP (x4, 0, 2);
10510 5621 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
10511 : return -1;
10512 5621 : x8 = XVECEXP (x4, 0, 3);
10513 5621 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
10514 : return -1;
10515 5621 : x9 = XEXP (x1, 1);
10516 5621 : if (GET_CODE (x9) != SIGN_EXTEND
10517 5621 : || GET_MODE (x9) != i2)
10518 : return -1;
10519 5621 : x10 = XEXP (x9, 0);
10520 5621 : if (GET_CODE (x10) != VEC_SELECT
10521 5621 : || GET_MODE (x10) != i1)
10522 : return -1;
10523 5621 : x11 = XEXP (x10, 1);
10524 5621 : if (GET_CODE (x11) != PARALLEL
10525 5621 : || XVECLEN (x11, 0) != 4)
10526 : return -1;
10527 5621 : x12 = XVECEXP (x11, 0, 0);
10528 5621 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
10529 : return -1;
10530 5621 : x13 = XVECEXP (x11, 0, 1);
10531 5621 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
10532 : return -1;
10533 5621 : x14 = XVECEXP (x11, 0, 2);
10534 5621 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
10535 : return -1;
10536 5621 : x15 = XVECEXP (x11, 0, 3);
10537 5621 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
10538 0 : return -1;
10539 : return 0;
10540 : }
10541 :
10542 : int
10543 0 : pattern1863 (rtx x1, machine_mode i1)
10544 : {
10545 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10546 0 : rtx x2, x3, x4, x5, x6, x7;
10547 0 : int res ATTRIBUTE_UNUSED;
10548 0 : x2 = XVECEXP (x1, 0, 0);
10549 0 : x3 = XEXP (x2, 1);
10550 0 : x4 = XEXP (x3, 0);
10551 0 : x5 = XEXP (x4, 0);
10552 0 : if (GET_MODE (x5) != i1
10553 0 : || !ix86_carry_flag_operator (operands[4], i1)
10554 0 : || !nonimmediate_operand (operands[1], i1))
10555 : return -1;
10556 0 : x6 = XVECEXP (x1, 0, 1);
10557 0 : x7 = XEXP (x6, 1);
10558 0 : return pattern1862 (x7,
10559 0 : i1); /* [-1, 0] */
10560 : }
10561 :
10562 : int
10563 43547 : pattern1868 (rtx x1, machine_mode i1, machine_mode i2)
10564 : {
10565 43547 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10566 43547 : rtx x2, x3, x4, x5, x6, x7;
10567 43547 : int res ATTRIBUTE_UNUSED;
10568 43547 : x2 = XVECEXP (x1, 0, 0);
10569 43547 : x3 = XEXP (x2, 1);
10570 43547 : x4 = XEXP (x3, 1);
10571 43547 : if (GET_MODE (x4) != i2)
10572 : return -1;
10573 43547 : x5 = XEXP (x4, 0);
10574 43547 : if (GET_MODE (x5) != i1
10575 43547 : || !register_operand (operands[0], i1))
10576 : return -1;
10577 43547 : x6 = XVECEXP (x1, 0, 1);
10578 43547 : x7 = XEXP (x6, 1);
10579 43547 : if (GET_MODE (x7) != i1)
10580 0 : return -1;
10581 : return 0;
10582 : }
10583 :
10584 : int
10585 5763 : pattern1874 (rtx x1, machine_mode i1)
10586 : {
10587 5763 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10588 5763 : rtx x2, x3, x4, x5, x6, x7, x8;
10589 5763 : int res ATTRIBUTE_UNUSED;
10590 5763 : x2 = XEXP (x1, 1);
10591 5763 : if (!rtx_equal_p (x2, operands[4]))
10592 : return -1;
10593 473 : x3 = XEXP (x1, 0);
10594 473 : if (!rtx_equal_p (x3, operands[1]))
10595 : return -1;
10596 36 : x4 = PATTERN (peep2_next_insn (3));
10597 36 : if (GET_CODE (x4) != SET)
10598 : return -1;
10599 29 : x5 = XEXP (x4, 1);
10600 29 : if (GET_CODE (x5) != COMPARE
10601 11 : || GET_MODE (x5) != E_CCZmode)
10602 : return -1;
10603 5 : x6 = XEXP (x4, 0);
10604 5 : if (GET_CODE (x6) != REG
10605 5 : || REGNO (x6) != 17
10606 10 : || GET_MODE (x6) != E_CCZmode)
10607 : return -1;
10608 5 : x7 = XEXP (x5, 0);
10609 5 : operands[5] = x7;
10610 5 : if (!register_operand (operands[5], i1))
10611 : return -1;
10612 5 : x8 = XEXP (x5, 1);
10613 5 : operands[6] = x8;
10614 5 : if (!x86_64_nonmemory_operand (operands[6], i1))
10615 0 : return -1;
10616 : return 0;
10617 : }
10618 :
10619 : int
10620 318 : pattern1882 (rtx x1, machine_mode i1)
10621 : {
10622 318 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10623 318 : rtx x2, x3, x4, x5, x6, x7, x8;
10624 318 : int res ATTRIBUTE_UNUSED;
10625 318 : x2 = XEXP (x1, 0);
10626 318 : x3 = XEXP (x2, 0);
10627 318 : x4 = XEXP (x3, 0);
10628 318 : x5 = XEXP (x4, 0);
10629 318 : operands[1] = x5;
10630 318 : if (!nonimmediate_operand (operands[1], i1))
10631 : return -1;
10632 318 : x6 = XEXP (x3, 2);
10633 318 : if (GET_MODE (x6) != i1
10634 318 : || !register_operand (operands[3], i1))
10635 : return -1;
10636 317 : x7 = XEXP (x2, 1);
10637 317 : if (!rtx_equal_p (x7, operands[1]))
10638 : return -1;
10639 84 : x8 = XEXP (x1, 1);
10640 84 : if (!rtx_equal_p (x8, operands[1]))
10641 0 : return -1;
10642 : return 0;
10643 : }
10644 :
10645 : int
10646 96 : pattern1887 (rtx x1, rtx_code i1)
10647 : {
10648 96 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10649 96 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10650 96 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10651 96 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
10652 96 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
10653 96 : rtx x34, x35, x36, x37, x38, x39, x40, x41;
10654 96 : rtx x42, x43, x44, x45, x46, x47, x48, x49;
10655 96 : rtx x50, x51, x52, x53, x54, x55;
10656 96 : int res ATTRIBUTE_UNUSED;
10657 96 : x2 = XEXP (x1, 0);
10658 96 : x3 = XEXP (x2, 0);
10659 96 : x4 = XEXP (x3, 0);
10660 96 : x5 = XEXP (x4, 0);
10661 96 : if (GET_CODE (x5) != VEC_SELECT
10662 96 : || GET_MODE (x5) != E_V2QImode)
10663 : return -1;
10664 96 : x6 = XEXP (x5, 1);
10665 96 : if (GET_CODE (x6) != PARALLEL
10666 96 : || XVECLEN (x6, 0) != 2)
10667 : return -1;
10668 96 : x7 = XVECEXP (x6, 0, 0);
10669 96 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10670 : return -1;
10671 96 : x8 = XVECEXP (x6, 0, 1);
10672 96 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
10673 : return -1;
10674 96 : x9 = XEXP (x3, 1);
10675 96 : if (GET_CODE (x9) != i1)
10676 : return -1;
10677 96 : x10 = XEXP (x9, 0);
10678 96 : if (GET_CODE (x10) != VEC_SELECT
10679 96 : || GET_MODE (x10) != E_V2QImode)
10680 : return -1;
10681 96 : x11 = XEXP (x10, 1);
10682 96 : if (GET_CODE (x11) != PARALLEL
10683 96 : || XVECLEN (x11, 0) != 2)
10684 : return -1;
10685 96 : x12 = XVECEXP (x11, 0, 0);
10686 96 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
10687 : return -1;
10688 96 : x13 = XVECEXP (x11, 0, 1);
10689 96 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
10690 : return -1;
10691 96 : x14 = XEXP (x2, 1);
10692 96 : x15 = XEXP (x14, 0);
10693 96 : if (GET_CODE (x15) != i1)
10694 : return -1;
10695 96 : x16 = XEXP (x15, 0);
10696 96 : if (GET_CODE (x16) != VEC_SELECT
10697 96 : || GET_MODE (x16) != E_V2QImode)
10698 : return -1;
10699 96 : x17 = XEXP (x16, 1);
10700 96 : if (GET_CODE (x17) != PARALLEL
10701 96 : || XVECLEN (x17, 0) != 2)
10702 : return -1;
10703 96 : x18 = XVECEXP (x17, 0, 0);
10704 96 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
10705 : return -1;
10706 96 : x19 = XVECEXP (x17, 0, 1);
10707 96 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
10708 : return -1;
10709 96 : x20 = XEXP (x14, 1);
10710 96 : if (GET_CODE (x20) != i1)
10711 : return -1;
10712 96 : x21 = XEXP (x20, 0);
10713 96 : if (GET_CODE (x21) != VEC_SELECT
10714 96 : || GET_MODE (x21) != E_V2QImode)
10715 : return -1;
10716 96 : x22 = XEXP (x21, 1);
10717 96 : if (GET_CODE (x22) != PARALLEL
10718 96 : || XVECLEN (x22, 0) != 2)
10719 : return -1;
10720 96 : x23 = XVECEXP (x22, 0, 0);
10721 96 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
10722 : return -1;
10723 96 : x24 = XVECEXP (x22, 0, 1);
10724 96 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
10725 : return -1;
10726 96 : x25 = XEXP (x1, 1);
10727 96 : x26 = XEXP (x25, 0);
10728 96 : x27 = XEXP (x26, 0);
10729 96 : if (GET_CODE (x27) != i1)
10730 : return -1;
10731 96 : x28 = XEXP (x27, 0);
10732 96 : if (GET_CODE (x28) != VEC_SELECT
10733 96 : || GET_MODE (x28) != E_V2QImode)
10734 : return -1;
10735 96 : x29 = XEXP (x28, 1);
10736 96 : if (GET_CODE (x29) != PARALLEL
10737 96 : || XVECLEN (x29, 0) != 2)
10738 : return -1;
10739 96 : x30 = XVECEXP (x29, 0, 0);
10740 96 : if (x30 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
10741 : return -1;
10742 96 : x31 = XVECEXP (x29, 0, 1);
10743 96 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
10744 : return -1;
10745 96 : x32 = XEXP (x26, 1);
10746 96 : if (GET_CODE (x32) != i1)
10747 : return -1;
10748 96 : x33 = XEXP (x32, 0);
10749 96 : if (GET_CODE (x33) != VEC_SELECT
10750 96 : || GET_MODE (x33) != E_V2QImode)
10751 : return -1;
10752 96 : x34 = XEXP (x33, 1);
10753 96 : if (GET_CODE (x34) != PARALLEL
10754 96 : || XVECLEN (x34, 0) != 2)
10755 : return -1;
10756 96 : x35 = XVECEXP (x34, 0, 0);
10757 96 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
10758 : return -1;
10759 96 : x36 = XVECEXP (x34, 0, 1);
10760 96 : if (x36 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
10761 : return -1;
10762 96 : x37 = XEXP (x25, 1);
10763 96 : x38 = XEXP (x37, 0);
10764 96 : if (GET_CODE (x38) != i1)
10765 : return -1;
10766 96 : x39 = XEXP (x38, 0);
10767 96 : if (GET_CODE (x39) != VEC_SELECT
10768 96 : || GET_MODE (x39) != E_V2QImode)
10769 : return -1;
10770 96 : x40 = XEXP (x39, 1);
10771 96 : if (GET_CODE (x40) != PARALLEL
10772 96 : || XVECLEN (x40, 0) != 2)
10773 : return -1;
10774 96 : x41 = XVECEXP (x40, 0, 0);
10775 96 : if (x41 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
10776 : return -1;
10777 96 : x42 = XVECEXP (x40, 0, 1);
10778 96 : if (x42 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
10779 : return -1;
10780 96 : x43 = XEXP (x37, 1);
10781 96 : if (GET_CODE (x43) != i1)
10782 : return -1;
10783 96 : x44 = XEXP (x43, 0);
10784 96 : if (GET_CODE (x44) != VEC_SELECT
10785 96 : || GET_MODE (x44) != E_V2QImode)
10786 : return -1;
10787 96 : x45 = XEXP (x44, 1);
10788 96 : if (GET_CODE (x45) != PARALLEL
10789 96 : || XVECLEN (x45, 0) != 2)
10790 : return -1;
10791 96 : x46 = XVECEXP (x45, 0, 0);
10792 96 : if (x46 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
10793 : return -1;
10794 96 : x47 = XVECEXP (x45, 0, 1);
10795 96 : if (x47 != const_int_rtx[MAX_SAVED_CONST_INT + 15])
10796 : return -1;
10797 96 : x48 = XEXP (x5, 0);
10798 96 : operands[1] = x48;
10799 96 : if (!nonimmediate_operand (operands[1], E_V16QImode))
10800 : return -1;
10801 96 : x49 = XEXP (x10, 0);
10802 96 : if (!rtx_equal_p (x49, operands[1]))
10803 : return -1;
10804 96 : x50 = XEXP (x16, 0);
10805 96 : if (!rtx_equal_p (x50, operands[1]))
10806 : return -1;
10807 96 : x51 = XEXP (x21, 0);
10808 96 : if (!rtx_equal_p (x51, operands[1]))
10809 : return -1;
10810 96 : x52 = XEXP (x28, 0);
10811 96 : if (!rtx_equal_p (x52, operands[1]))
10812 : return -1;
10813 96 : x53 = XEXP (x33, 0);
10814 96 : if (!rtx_equal_p (x53, operands[1]))
10815 : return -1;
10816 96 : x54 = XEXP (x39, 0);
10817 96 : if (!rtx_equal_p (x54, operands[1]))
10818 : return -1;
10819 96 : x55 = XEXP (x44, 0);
10820 96 : if (!rtx_equal_p (x55, operands[1]))
10821 0 : return -1;
10822 : return 0;
10823 : }
10824 :
10825 : int
10826 87 : pattern1919 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
10827 : {
10828 87 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10829 87 : rtx x2, x3, x4;
10830 87 : int res ATTRIBUTE_UNUSED;
10831 87 : if (!register_operand (operands[0], i2)
10832 87 : || GET_MODE (x1) != i2)
10833 : return -1;
10834 85 : x2 = XEXP (x1, 0);
10835 85 : if (GET_MODE (x2) != i1
10836 85 : || !vsib_mem_operator (operands[6], i3)
10837 85 : || !register_operand (operands[4], i2)
10838 105 : || !scratch_operand (operands[1], i1))
10839 : return -1;
10840 20 : x3 = XVECEXP (x2, 0, 1);
10841 20 : x4 = XEXP (x3, 0);
10842 20 : switch (GET_MODE (x4))
10843 : {
10844 0 : case E_SImode:
10845 0 : if (!vsib_address_operand (operands[2], E_SImode))
10846 0 : return -1;
10847 : return 0;
10848 :
10849 20 : case E_DImode:
10850 20 : if (!vsib_address_operand (operands[2], E_DImode))
10851 6 : return -1;
10852 : return 1;
10853 :
10854 : default:
10855 : return -1;
10856 : }
10857 : }
10858 :
10859 : int
10860 17270 : pattern1927 (rtx x1, machine_mode i1, machine_mode i2)
10861 : {
10862 17270 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10863 17270 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10864 17270 : rtx x10;
10865 17270 : int res ATTRIBUTE_UNUSED;
10866 17270 : x2 = XVECEXP (x1, 0, 0);
10867 17270 : x3 = XEXP (x2, 1);
10868 17270 : x4 = XEXP (x3, 0);
10869 17270 : x5 = XEXP (x4, 0);
10870 17270 : if (GET_MODE (x5) != i1)
10871 : return -1;
10872 17270 : x6 = XEXP (x5, 0);
10873 17270 : if (GET_MODE (x6) != i1
10874 17270 : || !ix86_carry_flag_operator (operands[5], i1)
10875 17270 : || !nonimmediate_operand (operands[1], i1)
10876 34460 : || !x86_64_immediate_operand (operands[2], i1))
10877 : return -1;
10878 830 : x7 = XEXP (x3, 1);
10879 830 : if (GET_MODE (x7) != i2
10880 830 : || !ix86_carry_flag_operator (operands[4], i2)
10881 830 : || !const_scalar_int_operand (operands[6], i2)
10882 1656 : || !nonimmediate_operand (operands[0], i1))
10883 : return -1;
10884 826 : x8 = XVECEXP (x1, 0, 1);
10885 826 : x9 = XEXP (x8, 1);
10886 826 : if (GET_MODE (x9) != i1)
10887 : return -1;
10888 826 : x10 = XEXP (x9, 0);
10889 826 : if (GET_MODE (x10) != i1)
10890 0 : return -1;
10891 : return 0;
10892 : }
10893 :
10894 : int
10895 61285 : pattern1930 (rtx x1, machine_mode i1, machine_mode i2)
10896 : {
10897 61285 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10898 61285 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10899 61285 : rtx x10, x11;
10900 61285 : int res ATTRIBUTE_UNUSED;
10901 61285 : x2 = XVECEXP (x1, 0, 0);
10902 61285 : x3 = XEXP (x2, 1);
10903 61285 : x4 = XEXP (x3, 0);
10904 61285 : x5 = XEXP (x4, 0);
10905 61285 : if (GET_MODE (x5) != i1)
10906 : return -1;
10907 61285 : x6 = XEXP (x5, 0);
10908 61285 : if (GET_MODE (x6) != i1
10909 61285 : || !ix86_carry_flag_operator (operands[5], i1)
10910 61285 : || !nonimmediate_operand (operands[1], i1)
10911 121978 : || !nonimmediate_operand (operands[2], i1))
10912 : return -1;
10913 60693 : x7 = XEXP (x3, 1);
10914 60693 : if (GET_MODE (x7) != i2
10915 60693 : || !ix86_carry_flag_operator (operands[4], i2))
10916 : return -1;
10917 60693 : x8 = XEXP (x7, 1);
10918 60693 : if (GET_MODE (x8) != i2
10919 60693 : || !nonimmediate_operand (operands[0], i1))
10920 : return -1;
10921 60693 : x9 = XVECEXP (x1, 0, 1);
10922 60693 : x10 = XEXP (x9, 1);
10923 60693 : if (GET_MODE (x10) != i1)
10924 : return -1;
10925 60693 : x11 = XEXP (x10, 0);
10926 60693 : if (GET_MODE (x11) != i1)
10927 0 : return -1;
10928 : return 0;
10929 : }
10930 :
10931 : int
10932 959 : pattern1936 (rtx x1, int i1)
10933 : {
10934 959 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10935 959 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10936 959 : int res ATTRIBUTE_UNUSED;
10937 959 : if (XVECLEN (x1, 0) != i1)
10938 : return -1;
10939 959 : x2 = XVECEXP (x1, 0, 0);
10940 959 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
10941 : return -1;
10942 959 : x3 = XVECEXP (x1, 0, 1);
10943 959 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
10944 : return -1;
10945 959 : x4 = XVECEXP (x1, 0, 2);
10946 959 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
10947 : return -1;
10948 959 : x5 = XVECEXP (x1, 0, 3);
10949 959 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
10950 : return -1;
10951 959 : x6 = XVECEXP (x1, 0, 4);
10952 959 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
10953 : return -1;
10954 959 : x7 = XVECEXP (x1, 0, 5);
10955 959 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
10956 : return -1;
10957 959 : x8 = XVECEXP (x1, 0, 6);
10958 959 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
10959 : return -1;
10960 959 : x9 = XVECEXP (x1, 0, 7);
10961 959 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 15])
10962 0 : return -1;
10963 : return 0;
10964 : }
10965 :
10966 : int
10967 0 : pattern1944 (rtx x1, machine_mode i1, machine_mode i2)
10968 : {
10969 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10970 0 : rtx x2, x3, x4, x5, x6, x7;
10971 0 : int res ATTRIBUTE_UNUSED;
10972 0 : x2 = XVECEXP (x1, 0, 0);
10973 0 : x3 = XEXP (x2, 1);
10974 0 : x4 = XEXP (x3, 0);
10975 0 : x5 = XEXP (x4, 0);
10976 0 : if (GET_MODE (x5) != i2
10977 0 : || !ix86_carry_flag_operator (operands[4], i2))
10978 : return -1;
10979 0 : x6 = XEXP (x5, 1);
10980 0 : if (GET_MODE (x6) != i2
10981 0 : || !nonimmediate_operand (operands[1], i1))
10982 : return -1;
10983 0 : x7 = XEXP (x4, 1);
10984 0 : if (GET_MODE (x7) != i2
10985 0 : || !sext_operand (operands[2], i1)
10986 0 : || pattern1943 (x1,
10987 : i1,
10988 : i2) != 0)
10989 0 : return -1;
10990 : return 0;
10991 : }
10992 :
10993 : int
10994 968 : pattern1948 (rtx x1, machine_mode i1, machine_mode i2)
10995 : {
10996 968 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10997 968 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10998 968 : int res ATTRIBUTE_UNUSED;
10999 968 : x2 = XVECEXP (x1, 0, 0);
11000 968 : x3 = XEXP (x2, 1);
11001 968 : x4 = XEXP (x3, 1);
11002 968 : if (GET_MODE (x4) != i2)
11003 : return -1;
11004 968 : x5 = XEXP (x4, 0);
11005 968 : if (GET_MODE (x5) != i1)
11006 : return -1;
11007 968 : x6 = XEXP (x5, 0);
11008 968 : if (GET_MODE (x6) != i1
11009 968 : || !ix86_carry_flag_operator (operands[5], i1)
11010 1936 : || !nonimmediate_operand (operands[0], i1))
11011 : return -1;
11012 968 : x7 = XVECEXP (x1, 0, 1);
11013 968 : x8 = XEXP (x7, 1);
11014 968 : if (GET_MODE (x8) != i1)
11015 : return -1;
11016 968 : x9 = XEXP (x8, 0);
11017 968 : if (GET_MODE (x9) != i1)
11018 0 : return -1;
11019 : return 0;
11020 : }
11021 :
11022 : int
11023 959 : pattern1953 (rtx x1, int i1)
11024 : {
11025 959 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11026 959 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11027 959 : int res ATTRIBUTE_UNUSED;
11028 959 : if (XVECLEN (x1, 0) != i1)
11029 : return -1;
11030 959 : x2 = XVECEXP (x1, 0, 0);
11031 959 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
11032 : return -1;
11033 959 : x3 = XVECEXP (x1, 0, 1);
11034 959 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
11035 : return -1;
11036 959 : x4 = XVECEXP (x1, 0, 2);
11037 959 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
11038 : return -1;
11039 959 : x5 = XVECEXP (x1, 0, 3);
11040 959 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
11041 : return -1;
11042 959 : x6 = XVECEXP (x1, 0, 4);
11043 959 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
11044 : return -1;
11045 959 : x7 = XVECEXP (x1, 0, 5);
11046 959 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
11047 : return -1;
11048 959 : x8 = XVECEXP (x1, 0, 6);
11049 959 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
11050 : return -1;
11051 959 : x9 = XVECEXP (x1, 0, 7);
11052 959 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 15])
11053 0 : return -1;
11054 : return 0;
11055 : }
11056 :
11057 : int
11058 1060 : pattern1961 (rtx x1)
11059 : {
11060 1060 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11061 1060 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11062 1060 : int res ATTRIBUTE_UNUSED;
11063 1060 : x2 = XVECEXP (x1, 0, 24);
11064 1060 : if (XWINT (x2, 0) != 28L)
11065 : return -1;
11066 1060 : x3 = XVECEXP (x1, 0, 25);
11067 1060 : if (XWINT (x3, 0) != 60L)
11068 : return -1;
11069 1060 : x4 = XVECEXP (x1, 0, 26);
11070 1060 : if (XWINT (x4, 0) != 29L)
11071 : return -1;
11072 1060 : x5 = XVECEXP (x1, 0, 27);
11073 1060 : if (XWINT (x5, 0) != 61L)
11074 : return -1;
11075 1060 : x6 = XVECEXP (x1, 0, 28);
11076 1060 : if (XWINT (x6, 0) != 30L)
11077 : return -1;
11078 1060 : x7 = XVECEXP (x1, 0, 29);
11079 1060 : if (XWINT (x7, 0) != 62L)
11080 : return -1;
11081 1060 : x8 = XVECEXP (x1, 0, 30);
11082 1060 : if (XWINT (x8, 0) != 31L)
11083 : return -1;
11084 1060 : x9 = XVECEXP (x1, 0, 31);
11085 1060 : if (XWINT (x9, 0) != 63L)
11086 0 : return -1;
11087 : return 0;
11088 : }
11089 :
11090 : int
11091 55646988 : recog_5 (rtx x1 ATTRIBUTE_UNUSED,
11092 : rtx_insn *insn ATTRIBUTE_UNUSED,
11093 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11094 : {
11095 55646988 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11096 55646988 : rtx x2, x3, x4, x5, x6, x7, x8;
11097 55646988 : int res ATTRIBUTE_UNUSED;
11098 55646988 : x2 = XEXP (x1, 1);
11099 55646988 : x3 = XEXP (x2, 0);
11100 55646988 : operands[0] = x3;
11101 55646988 : res = recog_4 (x1, insn, pnum_clobbers);
11102 55646988 : if (res >= 0)
11103 : return res;
11104 1565143 : if (GET_CODE (x3) != SUBREG
11105 112943 : || maybe_ne (SUBREG_BYTE (x3), 0)
11106 1667375 : || GET_MODE (x3) != E_QImode)
11107 : return -1;
11108 37997 : x4 = XEXP (x3, 0);
11109 37997 : switch (GET_CODE (x4))
11110 : {
11111 23373 : case ASHIFTRT:
11112 23373 : case LSHIFTRT:
11113 23373 : case SIGN_EXTRACT:
11114 23373 : case ZERO_EXTRACT:
11115 23373 : operands[2] = x4;
11116 23373 : x5 = XEXP (x4, 0);
11117 23373 : operands[0] = x5;
11118 23373 : if (!int248_register_operand (operands[0], E_VOIDmode))
11119 : return -1;
11120 23128 : x6 = XEXP (x2, 1);
11121 23128 : operands[1] = x6;
11122 23128 : switch (pattern1241 ())
11123 : {
11124 179 : case 0:
11125 179 : if (const0_operand (operands[1], E_QImode)
11126 201 : && insn_condition_29 (operands, insn))
11127 : return 28; /* *cmpqi_exthi_2 */
11128 157 : if (general_operand (operands[1], E_QImode)
11129 311 : && insn_condition_42 (operands, insn))
11130 : return 31; /* *cmpqi_exthi_3 */
11131 : break;
11132 :
11133 510 : case 1:
11134 510 : if (const0_operand (operands[1], E_QImode)
11135 535 : && insn_condition_29 (operands, insn))
11136 : return 29; /* *cmpqi_extsi_2 */
11137 485 : if (general_operand (operands[1], E_QImode)
11138 964 : && insn_condition_42 (operands, insn))
11139 : return 32; /* *cmpqi_extsi_3 */
11140 : break;
11141 :
11142 18 : case 2:
11143 18 : if (const0_operand (operands[1], E_QImode)
11144 18 : && insn_condition_34 (operands, insn))
11145 : return 30; /* *cmpqi_extdi_2 */
11146 3 : if (general_operand (operands[1], E_QImode)
11147 3 : && insn_condition_43 (operands, insn))
11148 : return 33; /* *cmpqi_extdi_3 */
11149 : break;
11150 :
11151 : default:
11152 : break;
11153 : }
11154 22430 : if (GET_CODE (x6) != SUBREG
11155 177 : || maybe_ne (SUBREG_BYTE (x6), 0)
11156 22607 : || GET_MODE (x6) != E_QImode)
11157 : return -1;
11158 177 : x7 = XEXP (x6, 0);
11159 177 : switch (GET_CODE (x7))
11160 : {
11161 5 : case ASHIFTRT:
11162 5 : case LSHIFTRT:
11163 5 : case SIGN_EXTRACT:
11164 5 : case ZERO_EXTRACT:
11165 5 : operands[3] = x7;
11166 5 : x8 = XEXP (x7, 0);
11167 5 : operands[1] = x8;
11168 5 : if (!int248_register_operand (operands[1], E_VOIDmode))
11169 : return -1;
11170 1 : switch (GET_MODE (operands[2]))
11171 : {
11172 0 : case E_HImode:
11173 0 : if (!extract_high_operator (operands[2], E_HImode)
11174 0 : || !extract_high_operator (operands[3], E_HImode)
11175 0 : || !insn_condition_42 (operands, insn))
11176 0 : return -1;
11177 : return 34; /* *cmpqi_exthi_4 */
11178 :
11179 0 : case E_SImode:
11180 0 : if (!extract_high_operator (operands[2], E_SImode)
11181 0 : || !extract_high_operator (operands[3], E_SImode)
11182 0 : || !insn_condition_42 (operands, insn))
11183 0 : return -1;
11184 : return 35; /* *cmpqi_extsi_4 */
11185 :
11186 1 : case E_DImode:
11187 1 : if (!extract_high_operator (operands[2], E_DImode)
11188 0 : || !extract_high_operator (operands[3], E_DImode)
11189 1 : || !insn_condition_43 (operands, insn))
11190 1 : return -1;
11191 : return 36; /* *cmpqi_extdi_4 */
11192 :
11193 : default:
11194 : return -1;
11195 : }
11196 :
11197 : default:
11198 : return -1;
11199 : }
11200 :
11201 : default:
11202 : return -1;
11203 : }
11204 : }
11205 :
11206 : int
11207 2996 : recog_8 (rtx x1 ATTRIBUTE_UNUSED,
11208 : rtx_insn *insn ATTRIBUTE_UNUSED,
11209 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11210 : {
11211 2996 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11212 2996 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11213 2996 : rtx x10;
11214 2996 : int res ATTRIBUTE_UNUSED;
11215 2996 : x2 = XEXP (x1, 1);
11216 2996 : if (GET_MODE (x2) != E_HImode)
11217 : return -1;
11218 2996 : x3 = XEXP (x1, 0);
11219 2996 : operands[0] = x3;
11220 2996 : if (!register_operand (operands[0], E_HImode))
11221 : return -1;
11222 2996 : x4 = XVECEXP (x2, 0, 0);
11223 2996 : if (GET_MODE (x4) != E_CCFPmode)
11224 : return -1;
11225 2996 : switch (GET_CODE (x4))
11226 : {
11227 0 : case COMPARE:
11228 0 : x5 = XEXP (x4, 0);
11229 0 : operands[1] = x5;
11230 0 : x6 = XEXP (x4, 1);
11231 0 : switch (GET_CODE (x6))
11232 : {
11233 0 : case CONST_INT:
11234 0 : case CONST_DOUBLE:
11235 0 : case CONST_VECTOR:
11236 0 : case REG:
11237 0 : case SUBREG:
11238 0 : case MEM:
11239 0 : operands[2] = x6;
11240 0 : switch (GET_MODE (operands[1]))
11241 : {
11242 0 : case E_XFmode:
11243 0 : if (!register_operand (operands[1], E_XFmode)
11244 0 : || !reg_or_0_operand (operands[2], E_XFmode)
11245 0 : || !insn_condition_74 (operands, insn))
11246 0 : return -1;
11247 : return 39; /* *cmpxf_i387 */
11248 :
11249 0 : case E_SFmode:
11250 0 : if (!register_operand (operands[1], E_SFmode)
11251 0 : || !nonimm_or_0_operand (operands[2], E_SFmode)
11252 0 : || !insn_condition_74 (operands, insn))
11253 0 : return -1;
11254 : return 40; /* *cmpsf_i387 */
11255 :
11256 0 : case E_DFmode:
11257 0 : if (!register_operand (operands[1], E_DFmode)
11258 0 : || !nonimm_or_0_operand (operands[2], E_DFmode)
11259 0 : || !insn_condition_74 (operands, insn))
11260 0 : return -1;
11261 : return 41; /* *cmpdf_i387 */
11262 :
11263 : default:
11264 : return -1;
11265 : }
11266 :
11267 0 : case FLOAT:
11268 0 : x7 = XEXP (x6, 0);
11269 0 : operands[2] = x7;
11270 0 : switch (GET_MODE (operands[1]))
11271 : {
11272 0 : case E_SFmode:
11273 0 : switch (pattern1300 (x6,
11274 : E_SFmode))
11275 : {
11276 0 : case 0:
11277 0 : if (!insn_condition_75 (operands, insn))
11278 0 : return -1;
11279 : return 42; /* *cmpsf_hi_i387 */
11280 :
11281 0 : case 1:
11282 0 : if (!insn_condition_76 (operands, insn))
11283 0 : return -1;
11284 : return 45; /* *cmpsf_si_i387 */
11285 :
11286 : default:
11287 : return -1;
11288 : }
11289 :
11290 0 : case E_DFmode:
11291 0 : switch (pattern1300 (x6,
11292 : E_DFmode))
11293 : {
11294 0 : case 0:
11295 0 : if (!insn_condition_75 (operands, insn))
11296 0 : return -1;
11297 : return 43; /* *cmpdf_hi_i387 */
11298 :
11299 0 : case 1:
11300 0 : if (!insn_condition_76 (operands, insn))
11301 0 : return -1;
11302 : return 46; /* *cmpdf_si_i387 */
11303 :
11304 : default:
11305 : return -1;
11306 : }
11307 :
11308 0 : case E_XFmode:
11309 0 : switch (pattern1300 (x6,
11310 : E_XFmode))
11311 : {
11312 0 : case 0:
11313 0 : if (!insn_condition_75 (operands, insn))
11314 0 : return -1;
11315 : return 44; /* *cmpxf_hi_i387 */
11316 :
11317 0 : case 1:
11318 0 : if (!insn_condition_76 (operands, insn))
11319 0 : return -1;
11320 : return 47; /* *cmpxf_si_i387 */
11321 :
11322 : default:
11323 : return -1;
11324 : }
11325 :
11326 : default:
11327 : return -1;
11328 : }
11329 :
11330 : default:
11331 : return -1;
11332 : }
11333 :
11334 0 : case UNSPEC:
11335 0 : if (XVECLEN (x4, 0) != 1
11336 0 : || XINT (x4, 1) != 24)
11337 : return -1;
11338 0 : x8 = XVECEXP (x4, 0, 0);
11339 0 : if (GET_CODE (x8) != COMPARE
11340 0 : || GET_MODE (x8) != E_CCFPmode)
11341 : return -1;
11342 0 : x9 = XEXP (x8, 0);
11343 0 : operands[1] = x9;
11344 0 : x10 = XEXP (x8, 1);
11345 0 : operands[2] = x10;
11346 0 : switch (GET_MODE (operands[1]))
11347 : {
11348 0 : case E_SFmode:
11349 0 : if (!register_operand (operands[1], E_SFmode)
11350 0 : || !register_operand (operands[2], E_SFmode)
11351 0 : || !insn_condition_74 (operands, insn))
11352 0 : return -1;
11353 : return 48; /* *cmpusf_i387 */
11354 :
11355 0 : case E_DFmode:
11356 0 : if (!register_operand (operands[1], E_DFmode)
11357 0 : || !register_operand (operands[2], E_DFmode)
11358 0 : || !insn_condition_74 (operands, insn))
11359 0 : return -1;
11360 : return 49; /* *cmpudf_i387 */
11361 :
11362 0 : case E_XFmode:
11363 0 : if (!register_operand (operands[1], E_XFmode)
11364 0 : || !register_operand (operands[2], E_XFmode)
11365 0 : || !insn_condition_74 (operands, insn))
11366 0 : return -1;
11367 : return 50; /* *cmpuxf_i387 */
11368 :
11369 : default:
11370 : return -1;
11371 : }
11372 :
11373 2996 : case REG:
11374 2996 : if (REGNO (x4) != 18
11375 2996 : || !insn_condition_74 (operands, insn))
11376 0 : return -1;
11377 : return 1853; /* x86_fnstsw_1 */
11378 :
11379 : default:
11380 : return -1;
11381 : }
11382 : }
11383 :
11384 : int
11385 151556 : recog_13 (rtx x1 ATTRIBUTE_UNUSED,
11386 : rtx_insn *insn ATTRIBUTE_UNUSED,
11387 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11388 : {
11389 151556 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11390 151556 : rtx x2, x3, x4;
11391 151556 : int res ATTRIBUTE_UNUSED;
11392 151556 : switch (pattern94 (x1))
11393 : {
11394 139381 : case 0:
11395 139381 : x2 = XEXP (x1, 1);
11396 139381 : x3 = XVECEXP (x2, 0, 2);
11397 139381 : operands[3] = x3;
11398 139381 : x4 = XVECEXP (x2, 0, 1);
11399 139381 : operands[2] = x4;
11400 139381 : switch (pattern1004 (x2))
11401 : {
11402 62964 : case 0:
11403 62964 : switch (GET_MODE (operands[1]))
11404 : {
11405 443 : case E_HFmode:
11406 443 : if (register_operand (operands[1], E_HFmode)
11407 424 : && nonimmediate_operand (operands[2], E_HFmode)
11408 424 : && const_0_to_31_operand (operands[3], E_SImode)
11409 867 : && insn_condition_40 (operands, insn))
11410 : return 1587; /* setcc_hf_mask */
11411 : break;
11412 :
11413 2418 : case E_V8HFmode:
11414 2418 : if (register_operand (operands[1], E_V8HFmode)
11415 2224 : && nonimmediate_operand (operands[2], E_V8HFmode)
11416 1955 : && const_0_to_31_operand (operands[3], E_SImode)
11417 4373 : && insn_condition_95 (operands, insn))
11418 : return 3444; /* avx512fp16_cmpv8hf3 */
11419 : break;
11420 :
11421 2932 : case E_V8SFmode:
11422 2932 : if (register_operand (operands[1], E_V8SFmode)
11423 2380 : && nonimmediate_operand (operands[2], E_V8SFmode)
11424 2322 : && const_0_to_31_operand (operands[3], E_SImode)
11425 2932 : && insn_condition_96 (operands, insn))
11426 : return 3450; /* avx512vl_cmpv8sf3 */
11427 : break;
11428 :
11429 2159 : case E_V4SFmode:
11430 2159 : if (register_operand (operands[1], E_V4SFmode)
11431 1884 : && nonimmediate_operand (operands[2], E_V4SFmode)
11432 1634 : && const_0_to_31_operand (operands[3], E_SImode)
11433 2159 : && insn_condition_96 (operands, insn))
11434 : return 3452; /* avx512vl_cmpv4sf3 */
11435 : break;
11436 :
11437 1877 : case E_V8DFmode:
11438 1877 : if (register_operand (operands[1], E_V8DFmode)
11439 1698 : && nonimmediate_operand (operands[2], E_V8DFmode)
11440 1353 : && const_0_to_31_operand (operands[3], E_SImode)
11441 3230 : && insn_condition_97 (operands, insn))
11442 : return 3454; /* avx512f_cmpv8df3 */
11443 : break;
11444 :
11445 2613 : case E_V4DFmode:
11446 2613 : if (register_operand (operands[1], E_V4DFmode)
11447 2382 : && nonimmediate_operand (operands[2], E_V4DFmode)
11448 2196 : && const_0_to_31_operand (operands[3], E_SImode)
11449 2613 : && insn_condition_96 (operands, insn))
11450 : return 3458; /* avx512vl_cmpv4df3 */
11451 : break;
11452 :
11453 2817 : case E_V2DFmode:
11454 2817 : if (register_operand (operands[1], E_V2DFmode)
11455 2170 : && nonimmediate_operand (operands[2], E_V2DFmode)
11456 1955 : && const_0_to_31_operand (operands[3], E_SImode)
11457 2817 : && insn_condition_96 (operands, insn))
11458 : return 3460; /* avx512vl_cmpv2df3 */
11459 : break;
11460 :
11461 3814 : case E_V8HImode:
11462 3814 : if (const_0_to_7_operand (operands[3], E_SImode))
11463 : {
11464 3814 : if (register_operand (operands[1], E_V8HImode)
11465 3184 : && nonimmediate_operand (operands[2], E_V8HImode)
11466 3814 : && insn_condition_98 (operands, insn))
11467 : return 3592; /* avx512vl_cmpv8hi3 */
11468 1131 : if (general_operand (operands[1], E_V8HImode)
11469 814 : && general_operand (operands[2], E_V8HImode)
11470 1925 : && insn_condition_99 (operands, insn))
11471 : return 3664; /* *avx512vl_cmpv8hi3_dup_op */
11472 : }
11473 : break;
11474 :
11475 5021 : case E_V8SImode:
11476 5021 : if (const_0_to_7_operand (operands[3], E_SImode))
11477 : {
11478 5021 : if (register_operand (operands[1], E_V8SImode)
11479 4307 : && nonimmediate_operand (operands[2], E_V8SImode)
11480 5021 : && insn_condition_100 (operands, insn))
11481 : return 3596; /* avx512vl_cmpv8si3 */
11482 1604 : if (general_operand (operands[1], E_V8SImode)
11483 1590 : && general_operand (operands[2], E_V8SImode)
11484 3163 : && insn_condition_101 (operands, insn))
11485 : return 3668; /* *avx512vl_cmpv8si3_dup_op */
11486 : }
11487 : break;
11488 :
11489 3289 : case E_V4SImode:
11490 3289 : if (const_0_to_7_operand (operands[3], E_SImode))
11491 : {
11492 3289 : if (register_operand (operands[1], E_V4SImode)
11493 2771 : && nonimmediate_operand (operands[2], E_V4SImode)
11494 3289 : && insn_condition_100 (operands, insn))
11495 : return 3598; /* avx512vl_cmpv4si3 */
11496 959 : if (general_operand (operands[1], E_V4SImode)
11497 635 : && general_operand (operands[2], E_V4SImode)
11498 1496 : && insn_condition_101 (operands, insn))
11499 : return 3670; /* *avx512vl_cmpv4si3_dup_op */
11500 : }
11501 : break;
11502 :
11503 10031 : case E_V8DImode:
11504 10031 : if (const_0_to_7_operand (operands[3], E_SImode))
11505 : {
11506 10031 : if (register_operand (operands[1], E_V8DImode)
11507 9700 : && nonimmediate_operand (operands[2], E_V8DImode)
11508 15448 : && insn_condition_27 (operands, insn))
11509 : return 3600; /* avx512f_cmpv8di3 */
11510 4614 : if (general_operand (operands[1], E_V8DImode)
11511 4588 : && general_operand (operands[2], E_V8DImode)
11512 9133 : && insn_condition_102 (operands, insn))
11513 : return 3672; /* *avx512f_cmpv8di3_dup_op */
11514 : }
11515 : break;
11516 :
11517 20403 : case E_V4DImode:
11518 20403 : if (const_0_to_7_operand (operands[3], E_SImode))
11519 : {
11520 20403 : if (register_operand (operands[1], E_V4DImode)
11521 20081 : && nonimmediate_operand (operands[2], E_V4DImode)
11522 20403 : && insn_condition_100 (operands, insn))
11523 : return 3602; /* avx512vl_cmpv4di3 */
11524 10313 : if (general_operand (operands[1], E_V4DImode)
11525 10296 : && general_operand (operands[2], E_V4DImode)
11526 20588 : && insn_condition_101 (operands, insn))
11527 : return 3674; /* *avx512vl_cmpv4di3_dup_op */
11528 : }
11529 : break;
11530 :
11531 4967 : case E_V2DImode:
11532 4967 : if (const_0_to_7_operand (operands[3], E_SImode))
11533 : {
11534 4967 : if (register_operand (operands[1], E_V2DImode)
11535 3887 : && nonimmediate_operand (operands[2], E_V2DImode)
11536 4967 : && insn_condition_100 (operands, insn))
11537 : return 3604; /* avx512vl_cmpv2di3 */
11538 1820 : if (general_operand (operands[1], E_V2DImode)
11539 1802 : && general_operand (operands[2], E_V2DImode)
11540 3530 : && insn_condition_101 (operands, insn))
11541 : return 3676; /* *avx512vl_cmpv2di3_dup_op */
11542 : }
11543 : break;
11544 :
11545 180 : case E_V8BFmode:
11546 180 : if (register_operand (operands[1], E_V8BFmode)
11547 176 : && nonimmediate_operand (operands[2], E_V8BFmode)
11548 176 : && const_0_to_31_operand (operands[3], E_VOIDmode)
11549 356 : && insn_condition_41 (operands, insn))
11550 : return 9423; /* avx10_2_cmpbf16_v8bf */
11551 : break;
11552 :
11553 : default:
11554 : break;
11555 : }
11556 : break;
11557 :
11558 61342 : case 1:
11559 61342 : switch (GET_MODE (operands[1]))
11560 : {
11561 3220 : case E_V16HFmode:
11562 3220 : if (register_operand (operands[1], E_V16HFmode)
11563 2547 : && nonimmediate_operand (operands[2], E_V16HFmode)
11564 2546 : && const_0_to_31_operand (operands[3], E_SImode)
11565 5766 : && insn_condition_95 (operands, insn))
11566 : return 3442; /* avx512vl_cmpv16hf3 */
11567 : break;
11568 :
11569 2499 : case E_V16SFmode:
11570 2499 : if (register_operand (operands[1], E_V16SFmode)
11571 1903 : && nonimmediate_operand (operands[2], E_V16SFmode)
11572 1690 : && const_0_to_31_operand (operands[3], E_SImode)
11573 4189 : && insn_condition_97 (operands, insn))
11574 : return 3446; /* avx512f_cmpv16sf3 */
11575 : break;
11576 :
11577 2358 : case E_V16QImode:
11578 2358 : if (const_0_to_7_operand (operands[3], E_SImode))
11579 : {
11580 2358 : if (register_operand (operands[1], E_V16QImode)
11581 2049 : && nonimmediate_operand (operands[2], E_V16QImode)
11582 2358 : && insn_condition_98 (operands, insn))
11583 : return 3586; /* avx512vl_cmpv16qi3 */
11584 716 : if (general_operand (operands[1], E_V16QImode)
11585 503 : && general_operand (operands[2], E_V16QImode)
11586 1210 : && insn_condition_99 (operands, insn))
11587 : return 3658; /* *avx512vl_cmpv16qi3_dup_op */
11588 : }
11589 : break;
11590 :
11591 5012 : case E_V16HImode:
11592 5012 : if (const_0_to_7_operand (operands[3], E_SImode))
11593 : {
11594 5012 : if (register_operand (operands[1], E_V16HImode)
11595 4039 : && nonimmediate_operand (operands[2], E_V16HImode)
11596 5012 : && insn_condition_98 (operands, insn))
11597 : return 3590; /* avx512vl_cmpv16hi3 */
11598 1621 : if (general_operand (operands[1], E_V16HImode)
11599 1605 : && general_operand (operands[2], E_V16HImode)
11600 3219 : && insn_condition_99 (operands, insn))
11601 : return 3662; /* *avx512vl_cmpv16hi3_dup_op */
11602 : }
11603 : break;
11604 :
11605 48143 : case E_V16SImode:
11606 48143 : if (const_0_to_7_operand (operands[3], E_SImode))
11607 : {
11608 48143 : if (register_operand (operands[1], E_V16SImode)
11609 33437 : && nonimmediate_operand (operands[2], E_V16SImode)
11610 77357 : && insn_condition_27 (operands, insn))
11611 : return 3594; /* avx512f_cmpv16si3 */
11612 18929 : if (general_operand (operands[1], E_V16SImode)
11613 18903 : && general_operand (operands[2], E_V16SImode)
11614 37618 : && insn_condition_102 (operands, insn))
11615 : return 3666; /* *avx512f_cmpv16si3_dup_op */
11616 : }
11617 : break;
11618 :
11619 110 : case E_V16BFmode:
11620 110 : if (register_operand (operands[1], E_V16BFmode)
11621 106 : && nonimmediate_operand (operands[2], E_V16BFmode)
11622 106 : && const_0_to_31_operand (operands[3], E_VOIDmode)
11623 216 : && insn_condition_41 (operands, insn))
11624 : return 9421; /* avx10_2_cmpbf16_v16bf */
11625 : break;
11626 :
11627 : default:
11628 : break;
11629 : }
11630 : break;
11631 :
11632 : default:
11633 : break;
11634 : }
11635 61562 : if (XWINT (x3, 0) != 0L)
11636 : return -1;
11637 17247 : operands[2] = x4;
11638 17247 : switch (pattern1005 (x2))
11639 : {
11640 89 : case 0:
11641 89 : if (!insn_condition_103 (operands, insn))
11642 16 : return -1;
11643 : return 3682; /* *avx512vl_eqv16qi3_1 */
11644 :
11645 68 : case 1:
11646 68 : if (!insn_condition_103 (operands, insn))
11647 34 : return -1;
11648 : return 3694; /* *avx512vl_eqv16hi3_1 */
11649 :
11650 14574 : case 2:
11651 14574 : if (!insn_condition_59 (operands, insn))
11652 8720 : return -1;
11653 : return 3738; /* *avx512f_eqv16si3_1 */
11654 :
11655 57 : case 3:
11656 57 : if (!insn_condition_103 (operands, insn))
11657 18 : return -1;
11658 : return 3698; /* *avx512vl_eqv8hi3_1 */
11659 :
11660 91 : case 4:
11661 91 : if (!insn_condition_104 (operands, insn))
11662 24 : return -1;
11663 : return 3742; /* *avx512vl_eqv8si3_1 */
11664 :
11665 100 : case 5:
11666 100 : if (!insn_condition_104 (operands, insn))
11667 25 : return -1;
11668 : return 3746; /* *avx512vl_eqv4si3_1 */
11669 :
11670 53 : case 6:
11671 53 : if (!insn_condition_59 (operands, insn))
11672 24 : return -1;
11673 : return 3750; /* *avx512f_eqv8di3_1 */
11674 :
11675 58 : case 7:
11676 58 : if (!insn_condition_104 (operands, insn))
11677 25 : return -1;
11678 : return 3754; /* *avx512vl_eqv4di3_1 */
11679 :
11680 45 : case 8:
11681 45 : if (!insn_condition_104 (operands, insn))
11682 25 : return -1;
11683 : return 3758; /* *avx512vl_eqv2di3_1 */
11684 :
11685 : default:
11686 : return -1;
11687 : }
11688 :
11689 3 : case 1:
11690 3 : if (!insn_condition_105 (operands, insn))
11691 0 : return -1;
11692 : return 3830; /* *avx512vl_ucmpv16qi3_1 */
11693 :
11694 3 : case 2:
11695 3 : if (!insn_condition_106 (operands, insn))
11696 0 : return -1;
11697 : return 3836; /* *avx512vl_ucmpv16hi3_1 */
11698 :
11699 3 : case 3:
11700 3 : if (!insn_condition_107 (operands, insn))
11701 0 : return -1;
11702 : return 3838; /* *avx512vl_ucmpv8hi3_1 */
11703 :
11704 : default:
11705 : return -1;
11706 : }
11707 : }
11708 :
11709 : int
11710 15166 : recog_20 (rtx x1 ATTRIBUTE_UNUSED,
11711 : rtx_insn *insn ATTRIBUTE_UNUSED,
11712 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11713 : {
11714 15166 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11715 15166 : rtx x2, x3, x4, x5, x6;
11716 15166 : int res ATTRIBUTE_UNUSED;
11717 15166 : x2 = XEXP (x1, 0);
11718 15166 : x3 = XEXP (x2, 1);
11719 15166 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
11720 : return -1;
11721 10612 : x4 = XEXP (x2, 2);
11722 10612 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
11723 : return -1;
11724 10599 : x5 = XEXP (x2, 0);
11725 10599 : operands[0] = x5;
11726 10599 : if (!int248_register_operand (operands[0], E_VOIDmode))
11727 : return -1;
11728 10599 : x6 = XEXP (x1, 1);
11729 10599 : operands[1] = x6;
11730 10599 : switch (GET_MODE (x2))
11731 : {
11732 8440 : case E_HImode:
11733 8440 : if (!general_operand (operands[1], E_HImode))
11734 691 : return -1;
11735 : return 133; /* insvhi_1 */
11736 :
11737 1452 : case E_SImode:
11738 1452 : if (!general_operand (operands[1], E_SImode))
11739 217 : return -1;
11740 : return 134; /* insvsi_1 */
11741 :
11742 707 : case E_DImode:
11743 707 : if (!general_operand (operands[1], E_DImode)
11744 707 : || !insn_condition_52 (operands, insn))
11745 40 : return -1;
11746 : return 135; /* insvdi_1 */
11747 :
11748 : default:
11749 : return -1;
11750 : }
11751 : }
11752 :
11753 : int
11754 148674 : recog_21 (rtx x1 ATTRIBUTE_UNUSED,
11755 : rtx_insn *insn ATTRIBUTE_UNUSED,
11756 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11757 : {
11758 148674 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11759 148674 : rtx x2, x3, x4, x5, x6;
11760 148674 : int res ATTRIBUTE_UNUSED;
11761 148674 : x2 = XEXP (x1, 1);
11762 148674 : if (GET_MODE (x2) != E_QImode)
11763 : return -1;
11764 53760 : x3 = XEXP (x2, 0);
11765 53760 : x4 = XEXP (x3, 0);
11766 53760 : operands[1] = x4;
11767 53760 : if (!int248_register_operand (operands[1], E_VOIDmode))
11768 : return -1;
11769 47330 : x5 = XEXP (x1, 0);
11770 47330 : switch (GET_CODE (x5))
11771 : {
11772 87 : case STRICT_LOW_PART:
11773 87 : x6 = XEXP (x5, 0);
11774 87 : operands[0] = x6;
11775 87 : if (!register_operand (operands[0], E_QImode))
11776 : return -1;
11777 87 : switch (pattern1239 ())
11778 : {
11779 7 : case 0:
11780 7 : if (!insn_condition_194 (operands, insn))
11781 : return -1;
11782 : return 119; /* *movstrictqi_exthi_1 */
11783 :
11784 14 : case 1:
11785 14 : if (!insn_condition_194 (operands, insn))
11786 : return -1;
11787 : return 120; /* *movstrictqi_extsi_1 */
11788 :
11789 7 : case 2:
11790 7 : if (!insn_condition_195 (operands, insn))
11791 : return -1;
11792 : return 121; /* *movstrictqi_extdi_1 */
11793 :
11794 : default:
11795 : return -1;
11796 : }
11797 :
11798 47243 : case REG:
11799 47243 : case SUBREG:
11800 47243 : case MEM:
11801 47243 : operands[0] = x5;
11802 47243 : if (!nonimmediate_operand (operands[0], E_QImode))
11803 : return -1;
11804 46934 : switch (pattern1239 ())
11805 : {
11806 : case 0:
11807 : return 129; /* *extzvqi */
11808 :
11809 1591 : case 1:
11810 1591 : return 130; /* *extzvqi */
11811 :
11812 875 : case 2:
11813 875 : if (!insn_condition_52 (operands, insn))
11814 : return -1;
11815 : return 131; /* *extzvqi */
11816 :
11817 : default:
11818 : return -1;
11819 : }
11820 :
11821 : default:
11822 : return -1;
11823 : }
11824 : }
11825 :
11826 : int
11827 34879 : recog_23 (rtx x1 ATTRIBUTE_UNUSED,
11828 : rtx_insn *insn ATTRIBUTE_UNUSED,
11829 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11830 : {
11831 34879 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11832 34879 : rtx x2, x3, x4, x5, x6;
11833 34879 : int res ATTRIBUTE_UNUSED;
11834 34879 : x2 = XEXP (x1, 1);
11835 34879 : x3 = XEXP (x2, 1);
11836 34879 : if (GET_CODE (x3) != CONST_INT)
11837 : return -1;
11838 34879 : x4 = XEXP (x2, 2);
11839 34879 : if (GET_CODE (x4) != CONST_INT)
11840 : return -1;
11841 34879 : x5 = XEXP (x1, 0);
11842 34879 : operands[0] = x5;
11843 34879 : x6 = XEXP (x2, 0);
11844 34879 : operands[1] = x6;
11845 34879 : switch (XWINT (x3, 0))
11846 : {
11847 2556 : case 8L:
11848 2556 : if (XWINT (x4, 0) != 8L
11849 2556 : || !int248_register_operand (operands[1], E_VOIDmode))
11850 : return -1;
11851 1742 : switch (GET_MODE (operands[0]))
11852 : {
11853 624 : case E_HImode:
11854 624 : if (!register_operand (operands[0], E_HImode)
11855 624 : || GET_MODE (x2) != E_HImode)
11856 2 : return -1;
11857 : return 122; /* *extvhi */
11858 :
11859 1117 : case E_SImode:
11860 1117 : if (!register_operand (operands[0], E_SImode)
11861 1117 : || GET_MODE (x2) != E_SImode)
11862 46 : return -1;
11863 : return 123; /* *extvsi */
11864 :
11865 : default:
11866 : return -1;
11867 : }
11868 :
11869 10315 : case 1L:
11870 10315 : if (pnum_clobbers == NULL
11871 10315 : || XWINT (x4, 0) != 0L)
11872 : return -1;
11873 6686 : switch (GET_MODE (operands[0]))
11874 : {
11875 1056 : case E_SImode:
11876 1056 : if (!register_operand (operands[0], E_SImode)
11877 1015 : || GET_MODE (x2) != E_SImode
11878 2071 : || !register_operand (operands[1], E_SImode))
11879 : return -1;
11880 109 : *pnum_clobbers = 1;
11881 109 : return 124; /* *extvsi_1_0 */
11882 :
11883 1825 : case E_DImode:
11884 1825 : if (!register_operand (operands[0], E_DImode)
11885 1617 : || GET_MODE (x2) != E_DImode
11886 1617 : || !register_operand (operands[1], E_DImode)
11887 2287 : || !insn_condition_52 (operands, insn))
11888 : return -1;
11889 462 : *pnum_clobbers = 1;
11890 462 : return 125; /* *extvdi_1_0 */
11891 :
11892 : default:
11893 : return -1;
11894 : }
11895 :
11896 : default:
11897 : return -1;
11898 : }
11899 : }
11900 :
11901 : int
11902 192585 : recog_24 (rtx x1 ATTRIBUTE_UNUSED,
11903 : rtx_insn *insn ATTRIBUTE_UNUSED,
11904 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11905 : {
11906 192585 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11907 192585 : rtx x2, x3, x4, x5, x6;
11908 192585 : int res ATTRIBUTE_UNUSED;
11909 192585 : x2 = XEXP (x1, 1);
11910 192585 : x3 = XEXP (x2, 1);
11911 192585 : if (GET_CODE (x3) != CONST_INT)
11912 : return -1;
11913 192561 : x4 = XEXP (x1, 0);
11914 192561 : operands[0] = x4;
11915 192561 : x5 = XEXP (x2, 0);
11916 192561 : operands[1] = x5;
11917 192561 : if (!int248_register_operand (operands[1], E_VOIDmode))
11918 : return -1;
11919 121871 : if (XWINT (x3, 0) == 8L)
11920 : {
11921 27396 : x6 = XEXP (x2, 2);
11922 27396 : if (x6 == const_int_rtx[MAX_SAVED_CONST_INT + 8])
11923 : {
11924 17704 : switch (GET_MODE (operands[0]))
11925 : {
11926 7938 : case E_HImode:
11927 7938 : if (register_operand (operands[0], E_HImode)
11928 7938 : && GET_MODE (x2) == E_HImode)
11929 : return 126; /* *extzvhi */
11930 : break;
11931 :
11932 7253 : case E_SImode:
11933 7253 : if (register_operand (operands[0], E_SImode)
11934 7253 : && GET_MODE (x2) == E_SImode)
11935 : return 127; /* *extzvsi */
11936 : break;
11937 :
11938 2513 : case E_DImode:
11939 2513 : if (register_operand (operands[0], E_DImode)
11940 2480 : && GET_MODE (x2) == E_DImode
11941 4993 : && insn_condition_52 (operands, insn))
11942 : return 128; /* *extzvdi */
11943 : break;
11944 :
11945 : default:
11946 : break;
11947 : }
11948 : }
11949 : }
11950 104494 : if (pnum_clobbers == NULL
11951 104464 : || !register_operand (operands[0], E_DImode)
11952 169524 : || GET_MODE (x2) != E_DImode)
11953 : return -1;
11954 65030 : operands[2] = x3;
11955 65030 : if (!const_1_to_31_operand (operands[2], E_QImode))
11956 : return -1;
11957 56920 : x6 = XEXP (x2, 2);
11958 56920 : operands[3] = x6;
11959 56920 : if (!const_1_to_31_operand (operands[3], E_QImode)
11960 56920 : || !insn_condition_200 (operands, insn))
11961 : return -1;
11962 11877 : *pnum_clobbers = 1;
11963 11877 : return 132; /* *extzvdi_shr */
11964 : }
11965 :
11966 : int
11967 2006542 : recog_25 (rtx x1 ATTRIBUTE_UNUSED,
11968 : rtx_insn *insn ATTRIBUTE_UNUSED,
11969 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11970 : {
11971 2006542 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11972 2006542 : rtx x2, x3;
11973 2006542 : int res ATTRIBUTE_UNUSED;
11974 2006542 : switch (pattern38 (x1, pnum_clobbers))
11975 : {
11976 1985833 : case 0:
11977 1985833 : if (pnum_clobbers != NULL
11978 1866846 : && pattern323 (x1,
11979 : E_TImode) == 0
11980 1985853 : && insn_condition_201 (operands, insn))
11981 : {
11982 0 : *pnum_clobbers = 1;
11983 0 : return 1208; /* *lshrti3_doubleword_mask */
11984 : }
11985 1985833 : x2 = XEXP (x1, 1);
11986 1985833 : x3 = XEXP (x2, 1);
11987 1985833 : operands[2] = x3;
11988 1985833 : switch (pattern459 (x1, pnum_clobbers))
11989 : {
11990 1983229 : case 0:
11991 1983229 : switch (GET_MODE (operands[0]))
11992 : {
11993 12462 : case E_TImode:
11994 12462 : if (pnum_clobbers == NULL
11995 12462 : || pattern896 (x2,
11996 : E_TImode,
11997 : E_QImode) != 0
11998 19123 : || !insn_condition_52 (operands, insn))
11999 : return -1;
12000 6661 : *pnum_clobbers = 1;
12001 6661 : return 1216; /* lshrti3_doubleword */
12002 :
12003 29170 : case E_QImode:
12004 29170 : if (pattern659 (x2,
12005 : E_QImode) != 0)
12006 : return -1;
12007 25878 : if (insn_condition_202 (operands, insn))
12008 : return 1344; /* *lshrqi3_1_nf */
12009 25876 : if (pnum_clobbers == NULL
12010 25876 : || !insn_condition_203 (operands, insn))
12011 : return -1;
12012 11013 : *pnum_clobbers = 1;
12013 11013 : return 1345; /* *lshrqi3_1 */
12014 :
12015 19432 : case E_HImode:
12016 19432 : if (pattern659 (x2,
12017 : E_HImode) != 0)
12018 : return -1;
12019 13493 : if (insn_condition_204 (operands, insn))
12020 : return 1346; /* *lshrhi3_1_nf */
12021 13493 : if (pnum_clobbers == NULL
12022 13493 : || !insn_condition_205 (operands, insn))
12023 : return -1;
12024 8610 : *pnum_clobbers = 1;
12025 8610 : return 1347; /* *lshrhi3_1 */
12026 :
12027 3342 : case E_V4HImode:
12028 3342 : if (pattern896 (x2,
12029 : E_V4HImode,
12030 : E_DImode) != 0
12031 3342 : || !insn_condition_114 (operands, insn))
12032 722 : return -1;
12033 : return 2363; /* mmx_lshrv4hi3 */
12034 :
12035 5370 : case E_V2SImode:
12036 5370 : if (pattern896 (x2,
12037 : E_V2SImode,
12038 : E_DImode) != 0
12039 5370 : || !insn_condition_114 (operands, insn))
12040 1790 : return -1;
12041 : return 2365; /* mmx_lshrv2si3 */
12042 :
12043 26649 : case E_V1DImode:
12044 26649 : if (pattern896 (x2,
12045 : E_V1DImode,
12046 : E_DImode) != 0
12047 26649 : || !insn_condition_114 (operands, insn))
12048 3900 : return -1;
12049 : return 2367; /* mmx_lshrv1di3 */
12050 :
12051 4100 : case E_V1SImode:
12052 4100 : if (pattern896 (x2,
12053 : E_V1SImode,
12054 : E_DImode) != 0
12055 4100 : || !insn_condition_141 (operands, insn))
12056 313 : return -1;
12057 : return 2369; /* mmx_lshrv1si3 */
12058 :
12059 557 : case E_V2HImode:
12060 557 : if (pattern896 (x2,
12061 : E_V2HImode,
12062 : E_DImode) != 0
12063 557 : || !insn_condition_141 (operands, insn))
12064 55 : return -1;
12065 : return 2371; /* lshrv2hi3 */
12066 :
12067 197 : case E_V2QImode:
12068 197 : if (pnum_clobbers == NULL
12069 197 : || pattern896 (x2,
12070 : E_V2QImode,
12071 : E_QImode) != 0
12072 197 : || !insn_condition_206 (operands, insn))
12073 : return -1;
12074 180 : *pnum_clobbers = 1;
12075 180 : return 2375; /* lshrv2qi3 */
12076 :
12077 : default:
12078 : return -1;
12079 : }
12080 :
12081 2 : case 1:
12082 2 : if (!insn_condition_194 (operands, insn))
12083 : return -1;
12084 2 : *pnum_clobbers = 1;
12085 2 : return 1348; /* *lshrqi3_1_slp */
12086 :
12087 1 : case 2:
12088 1 : if (!insn_condition_194 (operands, insn))
12089 : return -1;
12090 1 : *pnum_clobbers = 1;
12091 1 : return 1350; /* *lshrhi3_1_slp */
12092 :
12093 : default:
12094 : return -1;
12095 : }
12096 :
12097 0 : case 1:
12098 0 : if (!insn_condition_201 (operands, insn))
12099 : return -1;
12100 0 : *pnum_clobbers = 1;
12101 0 : return 1212; /* *lshrti3_doubleword_mask_1 */
12102 :
12103 : default:
12104 : return -1;
12105 : }
12106 : }
12107 :
12108 : int
12109 3059682 : recog_27 (rtx x1 ATTRIBUTE_UNUSED,
12110 : rtx_insn *insn ATTRIBUTE_UNUSED,
12111 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12112 : {
12113 3059682 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12114 3059682 : rtx x2, x3, x4, x5, x6, x7, x8;
12115 3059682 : int res ATTRIBUTE_UNUSED;
12116 3059682 : x2 = XEXP (x1, 1);
12117 3059682 : switch (GET_CODE (x2))
12118 : {
12119 34879 : case SIGN_EXTRACT:
12120 34879 : res = recog_23 (x1, insn, pnum_clobbers);
12121 34879 : if (res >= 0)
12122 : return res;
12123 : break;
12124 :
12125 192585 : case ZERO_EXTRACT:
12126 192585 : res = recog_24 (x1, insn, pnum_clobbers);
12127 192585 : if (res >= 0)
12128 : return res;
12129 : break;
12130 :
12131 2006542 : case LSHIFTRT:
12132 2006542 : res = recog_25 (x1, insn, pnum_clobbers);
12133 2006542 : if (res >= 0)
12134 : return res;
12135 : break;
12136 :
12137 825676 : case ASHIFTRT:
12138 825676 : res = recog_26 (x1, insn, pnum_clobbers);
12139 825676 : if (res >= 0)
12140 : return res;
12141 : break;
12142 :
12143 : default:
12144 : break;
12145 : }
12146 2943884 : x3 = XEXP (x1, 0);
12147 2943884 : if (GET_CODE (x3) != ZERO_EXTRACT)
12148 : return -1;
12149 2656 : x4 = XEXP (x3, 1);
12150 2656 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
12151 : return -1;
12152 114 : x5 = XEXP (x3, 2);
12153 114 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
12154 : return -1;
12155 103 : x6 = XEXP (x3, 0);
12156 103 : operands[0] = x6;
12157 103 : if (!int248_register_operand (operands[0], E_VOIDmode))
12158 : return -1;
12159 103 : x7 = XEXP (x2, 0);
12160 103 : switch (GET_CODE (x7))
12161 : {
12162 67 : case REG:
12163 67 : case SUBREG:
12164 67 : operands[1] = x7;
12165 67 : if (int248_register_operand (operands[1], E_VOIDmode))
12166 : {
12167 67 : operands[2] = x2;
12168 67 : switch (GET_MODE (x3))
12169 : {
12170 12 : case E_HImode:
12171 12 : if (extract_high_operator (operands[2], E_HImode))
12172 : return 139; /* *insvqi_2 */
12173 : break;
12174 :
12175 45 : case E_SImode:
12176 45 : if (extract_high_operator (operands[2], E_SImode))
12177 : return 140; /* *insvqi_2 */
12178 : break;
12179 :
12180 10 : case E_DImode:
12181 10 : if (extract_high_operator (operands[2], E_DImode)
12182 10 : && insn_condition_52 (operands, insn))
12183 : return 141; /* *insvqi_2 */
12184 : break;
12185 :
12186 : default:
12187 : break;
12188 : }
12189 : }
12190 : break;
12191 :
12192 12 : case AND:
12193 12 : switch (pattern772 (x1, pnum_clobbers))
12194 : {
12195 2 : case 0:
12196 2 : if (insn_condition_214 (operands, insn))
12197 : {
12198 2 : *pnum_clobbers = 1;
12199 2 : return 832; /* *andqi_exthi_3 */
12200 : }
12201 : break;
12202 :
12203 6 : case 1:
12204 6 : if (insn_condition_214 (operands, insn))
12205 : {
12206 6 : *pnum_clobbers = 1;
12207 6 : return 835; /* *andqi_extsi_3 */
12208 : }
12209 : break;
12210 :
12211 4 : case 2:
12212 4 : if (insn_condition_215 (operands, insn))
12213 : {
12214 4 : *pnum_clobbers = 1;
12215 4 : return 838; /* *andqi_extdi_3 */
12216 : }
12217 : break;
12218 :
12219 : default:
12220 : break;
12221 : }
12222 : break;
12223 :
12224 12 : case IOR:
12225 12 : switch (pattern772 (x1, pnum_clobbers))
12226 : {
12227 2 : case 0:
12228 2 : if (insn_condition_214 (operands, insn))
12229 : {
12230 2 : *pnum_clobbers = 1;
12231 2 : return 833; /* *iorqi_exthi_3 */
12232 : }
12233 : break;
12234 :
12235 6 : case 1:
12236 6 : if (insn_condition_214 (operands, insn))
12237 : {
12238 6 : *pnum_clobbers = 1;
12239 6 : return 836; /* *iorqi_extsi_3 */
12240 : }
12241 : break;
12242 :
12243 4 : case 2:
12244 4 : if (insn_condition_215 (operands, insn))
12245 : {
12246 4 : *pnum_clobbers = 1;
12247 4 : return 839; /* *iorqi_extdi_3 */
12248 : }
12249 : break;
12250 :
12251 : default:
12252 : break;
12253 : }
12254 : break;
12255 :
12256 12 : case XOR:
12257 12 : switch (pattern772 (x1, pnum_clobbers))
12258 : {
12259 2 : case 0:
12260 2 : if (insn_condition_214 (operands, insn))
12261 : {
12262 2 : *pnum_clobbers = 1;
12263 2 : return 834; /* *xorqi_exthi_3 */
12264 : }
12265 : break;
12266 :
12267 6 : case 1:
12268 6 : if (insn_condition_214 (operands, insn))
12269 : {
12270 6 : *pnum_clobbers = 1;
12271 6 : return 837; /* *xorqi_extsi_3 */
12272 : }
12273 : break;
12274 :
12275 4 : case 2:
12276 4 : if (insn_condition_215 (operands, insn))
12277 : {
12278 4 : *pnum_clobbers = 1;
12279 4 : return 840; /* *xorqi_extdi_3 */
12280 : }
12281 : break;
12282 :
12283 : default:
12284 : break;
12285 : }
12286 : break;
12287 :
12288 : default:
12289 : break;
12290 : }
12291 4 : x8 = XEXP (x2, 1);
12292 4 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
12293 : return -1;
12294 0 : operands[1] = x7;
12295 0 : switch (GET_CODE (x2))
12296 : {
12297 0 : case LSHIFTRT:
12298 0 : switch (pattern1009 (x1))
12299 : {
12300 : case 0:
12301 : return 142; /* *insvqi_3 */
12302 :
12303 0 : case 1:
12304 0 : return 144; /* *insvqi_3 */
12305 :
12306 0 : case 2:
12307 0 : if (!insn_condition_52 (operands, insn))
12308 : return -1;
12309 : return 146; /* *insvqi_3 */
12310 :
12311 : default:
12312 : return -1;
12313 : }
12314 :
12315 0 : case ASHIFTRT:
12316 0 : switch (pattern1009 (x1))
12317 : {
12318 : case 0:
12319 : return 143; /* *insvqi_3 */
12320 :
12321 0 : case 1:
12322 0 : return 145; /* *insvqi_3 */
12323 :
12324 0 : case 2:
12325 0 : if (!insn_condition_52 (operands, insn))
12326 : return -1;
12327 : return 147; /* *insvqi_3 */
12328 :
12329 : default:
12330 : return -1;
12331 : }
12332 :
12333 : default:
12334 : return -1;
12335 : }
12336 : }
12337 :
12338 : int
12339 3308762 : recog_32 (rtx x1 ATTRIBUTE_UNUSED,
12340 : rtx_insn *insn ATTRIBUTE_UNUSED,
12341 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12342 : {
12343 3308762 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12344 3308762 : rtx x2, x3, x4, x5, x6, x7;
12345 3308762 : int res ATTRIBUTE_UNUSED;
12346 3308762 : x2 = XEXP (x1, 0);
12347 3308762 : operands[0] = x2;
12348 3308762 : x3 = XEXP (x1, 1);
12349 3308762 : x4 = XEXP (x3, 0);
12350 3308762 : switch (GET_CODE (x4))
12351 : {
12352 3050421 : case REG:
12353 3050421 : case SUBREG:
12354 3050421 : case MEM:
12355 3050421 : operands[1] = x4;
12356 3050421 : switch (GET_MODE (operands[0]))
12357 : {
12358 2030813 : case E_DImode:
12359 2030813 : if (GET_MODE (x3) == E_DImode)
12360 : {
12361 2030813 : if (register_operand (operands[0], E_DImode))
12362 : {
12363 1982783 : switch (GET_MODE (operands[1]))
12364 : {
12365 1713032 : case E_SImode:
12366 1713032 : if (nonimmediate_operand (operands[1], E_SImode)
12367 1713032 : && insn_condition_52 (operands, insn))
12368 : return 189; /* *extendsidi2_rex64 */
12369 : break;
12370 :
12371 243577 : case E_QImode:
12372 243577 : if (nonimmediate_operand (operands[1], E_QImode)
12373 243577 : && insn_condition_52 (operands, insn))
12374 : return 192; /* extendqidi2 */
12375 : break;
12376 :
12377 26174 : case E_HImode:
12378 26174 : if (nonimmediate_operand (operands[1], E_HImode)
12379 26174 : && insn_condition_52 (operands, insn))
12380 : return 193; /* extendhidi2 */
12381 : break;
12382 :
12383 : default:
12384 : break;
12385 : }
12386 : }
12387 77144 : if (pnum_clobbers != NULL
12388 77142 : && nonimmediate_operand (operands[0], E_DImode)
12389 73182 : && register_operand (operands[1], E_SImode)
12390 119252 : && insn_condition_51 (operands, insn))
12391 : {
12392 6664 : *pnum_clobbers = 2;
12393 6664 : return 190; /* extendsidi2_1 */
12394 : }
12395 : }
12396 : break;
12397 :
12398 5312 : case E_TImode:
12399 5312 : if (pattern298 (x3, pnum_clobbers,
12400 : E_DImode,
12401 : E_TImode) == 0
12402 5312 : && insn_condition_52 (operands, insn))
12403 : {
12404 2568 : *pnum_clobbers = 2;
12405 2568 : return 191; /* extendditi2 */
12406 : }
12407 : break;
12408 :
12409 936941 : case E_SImode:
12410 936941 : if (register_operand (operands[0], E_SImode)
12411 936941 : && GET_MODE (x3) == E_SImode)
12412 : {
12413 918175 : switch (GET_MODE (operands[1]))
12414 : {
12415 200048 : case E_HImode:
12416 200048 : if (nonimmediate_operand (operands[1], E_HImode))
12417 : return 194; /* extendhisi2 */
12418 : break;
12419 :
12420 718127 : case E_QImode:
12421 718127 : if (nonimmediate_operand (operands[1], E_QImode))
12422 : return 196; /* extendqisi2 */
12423 : break;
12424 :
12425 : default:
12426 : break;
12427 : }
12428 : }
12429 : break;
12430 :
12431 65887 : case E_HImode:
12432 65887 : if (register_operand (operands[0], E_HImode)
12433 65090 : && GET_MODE (x3) == E_HImode
12434 130977 : && nonimmediate_operand (operands[1], E_QImode))
12435 : return 198; /* extendqihi2 */
12436 : break;
12437 :
12438 : default:
12439 : break;
12440 : }
12441 124802 : if (GET_CODE (x4) != SUBREG
12442 20800 : || maybe_ne (SUBREG_BYTE (x4), 0)
12443 145587 : || GET_MODE (x4) != E_QImode)
12444 : return -1;
12445 3517 : x5 = XEXP (x4, 0);
12446 3517 : switch (GET_CODE (x5))
12447 : {
12448 1233 : case ASHIFTRT:
12449 1233 : case LSHIFTRT:
12450 1233 : case SIGN_EXTRACT:
12451 1233 : case ZERO_EXTRACT:
12452 1233 : operands[2] = x5;
12453 1233 : x6 = XEXP (x5, 0);
12454 1233 : operands[1] = x6;
12455 1233 : if (!int248_register_operand (operands[1], E_VOIDmode))
12456 : return -1;
12457 1213 : switch (GET_MODE (operands[0]))
12458 : {
12459 0 : case E_HImode:
12460 0 : switch (pattern1242 (x3,
12461 : E_HImode))
12462 : {
12463 : case 0:
12464 : return 199; /* *extendqihi_ext_1 */
12465 :
12466 0 : case 1:
12467 0 : return 200; /* *extendqihi_ext_1 */
12468 :
12469 0 : case 2:
12470 0 : if (!insn_condition_52 (operands, insn))
12471 : return -1;
12472 : return 201; /* *extendqihi_ext_1 */
12473 :
12474 : default:
12475 : return -1;
12476 : }
12477 :
12478 1199 : case E_SImode:
12479 1199 : switch (pattern1242 (x3,
12480 : E_SImode))
12481 : {
12482 : case 0:
12483 : return 202; /* *extendqisi_ext_1 */
12484 :
12485 6 : case 1:
12486 6 : return 203; /* *extendqisi_ext_1 */
12487 :
12488 3 : case 2:
12489 3 : if (!insn_condition_52 (operands, insn))
12490 : return -1;
12491 : return 204; /* *extendqisi_ext_1 */
12492 :
12493 : default:
12494 : return -1;
12495 : }
12496 :
12497 : default:
12498 : return -1;
12499 : }
12500 :
12501 : default:
12502 : return -1;
12503 : }
12504 :
12505 70 : case SS_TRUNCATE:
12506 70 : if (GET_MODE (x4) != E_V2HImode)
12507 : return -1;
12508 70 : x5 = XEXP (x4, 0);
12509 70 : if (GET_CODE (x5) != FIX
12510 70 : || GET_MODE (x5) != E_V2SImode
12511 70 : || !register_operand (operands[0], E_V2SImode)
12512 140 : || GET_MODE (x3) != E_V2SImode)
12513 : return -1;
12514 70 : x6 = XEXP (x5, 0);
12515 70 : operands[1] = x6;
12516 70 : if (!nonimmediate_operand (operands[1], E_V2SFmode)
12517 70 : || !insn_condition_299 (operands, insn))
12518 : return -1;
12519 : return 2242; /* mmx_pf2iw */
12520 :
12521 34728 : case VEC_SELECT:
12522 34728 : x7 = XEXP (x4, 1);
12523 34728 : if (GET_CODE (x7) != PARALLEL)
12524 : return -1;
12525 34728 : x5 = XEXP (x4, 0);
12526 34728 : operands[1] = x5;
12527 34728 : switch (XVECLEN (x7, 0))
12528 : {
12529 11186 : case 4:
12530 11186 : if (pattern637 (x3) != 0
12531 11186 : || !insn_condition_115 (operands, insn))
12532 : return -1;
12533 : return 2464; /* sse4_1_sign_extendv4qiv4hi2 */
12534 :
12535 10506 : case 2:
12536 10506 : switch (pattern638 (x3))
12537 : {
12538 2273 : case 0:
12539 2273 : if (!insn_condition_115 (operands, insn))
12540 : return -1;
12541 : return 2466; /* sse4_1_sign_extendv2hiv2si2 */
12542 :
12543 255 : case 1:
12544 379389 : if (!insn_condition_115 (operands, insn))
12545 : return -1;
12546 : return 2468; /* sse4_1_sign_extendv2qiv2si2 */
12547 :
12548 35 : case 2:
12549 35 : if (!insn_condition_92 (operands, insn))
12550 : return -1;
12551 : return 2470; /* sse4_1_sign_extendv2qiv2hi2 */
12552 :
12553 : default:
12554 : return -1;
12555 : }
12556 :
12557 : default:
12558 : return -1;
12559 : }
12560 :
12561 : default:
12562 : return -1;
12563 : }
12564 : }
12565 :
12566 : int
12567 351379 : recog_35 (rtx x1 ATTRIBUTE_UNUSED,
12568 : rtx_insn *insn ATTRIBUTE_UNUSED,
12569 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12570 : {
12571 351379 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12572 351379 : rtx x2, x3, x4;
12573 351379 : int res ATTRIBUTE_UNUSED;
12574 351379 : x2 = XEXP (x1, 0);
12575 351379 : operands[0] = x2;
12576 351379 : x3 = XEXP (x1, 1);
12577 351379 : x4 = XEXP (x3, 0);
12578 351379 : operands[1] = x4;
12579 351379 : switch (GET_MODE (operands[0]))
12580 : {
12581 137520 : case E_SImode:
12582 137520 : if (GET_MODE (x3) != E_SImode)
12583 : return -1;
12584 137520 : if (register_operand (operands[0], E_SImode))
12585 : {
12586 131504 : switch (pattern299 ())
12587 : {
12588 118 : case 0:
12589 118 : if (insn_condition_40 (operands, insn))
12590 : return 217; /* fix_trunchfsi2 */
12591 : break;
12592 :
12593 45920 : case 1:
12594 45920 : if (insn_condition_302 (operands, insn))
12595 : return 230; /* fix_truncsfsi_sse */
12596 : break;
12597 :
12598 64936 : case 2:
12599 64936 : if (insn_condition_303 (operands, insn))
12600 : return 232; /* fix_truncdfsi_sse */
12601 : break;
12602 :
12603 : default:
12604 : break;
12605 : }
12606 : }
12607 26548 : if (pnum_clobbers == NULL
12608 26518 : || !nonimmediate_operand (operands[0], E_SImode)
12609 52935 : || !register_operand (operands[1], E_VOIDmode))
12610 : return -1;
12611 5932 : if (insn_condition_304 (operands, insn))
12612 : {
12613 2 : *pnum_clobbers = 1;
12614 2 : return 235; /* fix_truncsi_i387_fisttp */
12615 : }
12616 5930 : if (!insn_condition_305 (operands, insn))
12617 : return -1;
12618 2780 : *pnum_clobbers = 1;
12619 2780 : return 238; /* *fix_truncsi_i387_1 */
12620 :
12621 196653 : case E_DImode:
12622 196653 : if (GET_MODE (x3) != E_DImode)
12623 : return -1;
12624 196653 : if (register_operand (operands[0], E_DImode))
12625 : {
12626 175620 : switch (pattern299 ())
12627 : {
12628 14 : case 0:
12629 14 : if (insn_condition_306 (operands, insn))
12630 : return 219; /* fix_trunchfdi2 */
12631 : break;
12632 :
12633 29675 : case 1:
12634 29675 : if (insn_condition_307 (operands, insn))
12635 : return 231; /* fix_truncsfdi_sse */
12636 : break;
12637 :
12638 127049 : case 2:
12639 127049 : if (insn_condition_308 (operands, insn))
12640 : return 233; /* fix_truncdfdi_sse */
12641 : break;
12642 :
12643 : default:
12644 : break;
12645 : }
12646 : }
12647 40291 : if (pnum_clobbers == NULL
12648 40291 : || !nonimmediate_operand (operands[0], E_DImode)
12649 80498 : || !register_operand (operands[1], E_VOIDmode))
12650 : return -1;
12651 17390 : if (insn_condition_309 (operands, insn))
12652 : {
12653 0 : *pnum_clobbers = 1;
12654 0 : return 236; /* fix_truncdi_i387_fisttp */
12655 : }
12656 17390 : if (!insn_condition_310 (operands, insn))
12657 : return -1;
12658 4835 : *pnum_clobbers = 1;
12659 4835 : return 239; /* *fix_truncdi_i387_1 */
12660 :
12661 4811 : case E_HImode:
12662 4811 : if (pattern298 (x3, pnum_clobbers,
12663 : E_VOIDmode,
12664 : E_HImode) != 0)
12665 : return -1;
12666 2274 : if (insn_condition_311 (operands, insn))
12667 : {
12668 0 : *pnum_clobbers = 1;
12669 0 : return 234; /* fix_trunchi_i387_fisttp */
12670 : }
12671 2274 : if (!insn_condition_312 (operands, insn))
12672 : return -1;
12673 2274 : *pnum_clobbers = 1;
12674 2274 : return 237; /* *fix_trunchi_i387_1 */
12675 :
12676 1822 : case E_V2SImode:
12677 1822 : if (!register_operand (operands[0], E_V2SImode)
12678 1780 : || GET_MODE (x3) != E_V2SImode
12679 1780 : || !vector_operand (operands[1], E_V2DFmode)
12680 3432 : || !insn_condition_141 (operands, insn))
12681 212 : return -1;
12682 : return 5067; /* sse2_cvttpd2pi */
12683 :
12684 : default:
12685 : return -1;
12686 : }
12687 : }
12688 :
12689 : int
12690 2261586 : recog_39 (rtx x1 ATTRIBUTE_UNUSED,
12691 : rtx_insn *insn ATTRIBUTE_UNUSED,
12692 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12693 : {
12694 2261586 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12695 2261586 : rtx x2;
12696 2261586 : int res ATTRIBUTE_UNUSED;
12697 2261586 : switch (pattern106 (x1, pnum_clobbers))
12698 : {
12699 2261485 : case 0:
12700 2261485 : switch (GET_MODE (operands[0]))
12701 : {
12702 18969 : case E_TImode:
12703 18969 : x2 = XEXP (x1, 1);
12704 18969 : if (pattern97 (x2, pnum_clobbers) != 0
12705 18969 : || !insn_condition_324 (operands, insn))
12706 : return -1;
12707 9356 : *pnum_clobbers = 1;
12708 9356 : return 736; /* *andti3_doubleword */
12709 :
12710 58158 : case E_HImode:
12711 58158 : x2 = XEXP (x1, 1);
12712 58158 : if (pattern98 (x2,
12713 : E_HImode) != 0)
12714 : return -1;
12715 49915 : if (insn_condition_325 (operands, insn))
12716 : return 751; /* *andhi_1_nf */
12717 49907 : if (pnum_clobbers == NULL
12718 49907 : || !insn_condition_326 (operands, insn))
12719 : return -1;
12720 32714 : *pnum_clobbers = 1;
12721 32714 : return 752; /* *andhi_1 */
12722 :
12723 297418 : case E_QImode:
12724 297418 : x2 = XEXP (x1, 1);
12725 297418 : if (pattern98 (x2,
12726 : E_QImode) != 0)
12727 : return -1;
12728 272162 : if (insn_condition_327 (operands, insn))
12729 : return 755; /* *andqi_1_nf */
12730 272041 : if (pnum_clobbers == NULL
12731 272041 : || !insn_condition_328 (operands, insn))
12732 : return -1;
12733 162852 : *pnum_clobbers = 1;
12734 162852 : return 756; /* *andqi_1 */
12735 :
12736 760 : case E_V2SFmode:
12737 760 : x2 = XEXP (x1, 1);
12738 760 : if (pattern5 (x2,
12739 : E_V2SFmode) != 0
12740 760 : || !insn_condition_228 (operands, insn))
12741 275 : return -1;
12742 : return 2237; /* andv2sf3 */
12743 :
12744 1 : case E_V2BFmode:
12745 1 : x2 = XEXP (x1, 1);
12746 1 : if (pattern5 (x2,
12747 : E_V2BFmode) != 0
12748 1 : || !insn_condition_148 (operands, insn))
12749 0 : return -1;
12750 : return 2271; /* andv2bf3 */
12751 :
12752 1 : case E_V4BFmode:
12753 1 : x2 = XEXP (x1, 1);
12754 1 : if (pattern5 (x2,
12755 : E_V4BFmode) != 0
12756 1 : || !insn_condition_229 (operands, insn))
12757 0 : return -1;
12758 : return 2274; /* andv4bf3 */
12759 :
12760 41 : case E_V2HFmode:
12761 41 : x2 = XEXP (x1, 1);
12762 41 : if (pattern5 (x2,
12763 : E_V2HFmode) != 0
12764 41 : || !insn_condition_148 (operands, insn))
12765 24 : return -1;
12766 : return 2277; /* andv2hf3 */
12767 :
12768 41 : case E_V4HFmode:
12769 41 : x2 = XEXP (x1, 1);
12770 41 : if (pattern5 (x2,
12771 : E_V4HFmode) != 0
12772 41 : || !insn_condition_229 (operands, insn))
12773 24 : return -1;
12774 : return 2280; /* andv4hf3 */
12775 :
12776 3100 : case E_V8QImode:
12777 3100 : x2 = XEXP (x1, 1);
12778 3100 : if (pattern6 (x2,
12779 : E_V8QImode) != 0
12780 3100 : || !insn_condition_329 (operands, insn))
12781 960 : return -1;
12782 : return 2434; /* *mmx_andv8qi3 */
12783 :
12784 14272 : case E_V4HImode:
12785 14272 : x2 = XEXP (x1, 1);
12786 14272 : if (pattern6 (x2,
12787 : E_V4HImode) != 0
12788 14272 : || !insn_condition_330 (operands, insn))
12789 3278 : return -1;
12790 : return 2437; /* *mmx_andv4hi3 */
12791 :
12792 9877 : case E_V2SImode:
12793 9877 : x2 = XEXP (x1, 1);
12794 9877 : if (pattern6 (x2,
12795 : E_V2SImode) != 0
12796 9877 : || !insn_condition_331 (operands, insn))
12797 2588 : return -1;
12798 : return 2440; /* *mmx_andv2si3 */
12799 :
12800 202 : case E_V4QImode:
12801 202 : x2 = XEXP (x1, 1);
12802 202 : if (pattern99 (x2, pnum_clobbers,
12803 : E_V4QImode) != 0
12804 404 : || !insn_condition_332 (operands, insn))
12805 : return -1;
12806 135 : *pnum_clobbers = 1;
12807 135 : return 2443; /* *andv4qi3 */
12808 :
12809 280 : case E_V2QImode:
12810 280 : x2 = XEXP (x1, 1);
12811 280 : if (pattern99 (x2, pnum_clobbers,
12812 : E_V2QImode) != 0
12813 560 : || !insn_condition_333 (operands, insn))
12814 : return -1;
12815 258 : *pnum_clobbers = 1;
12816 258 : return 2446; /* *andv2qi3 */
12817 :
12818 208 : case E_V2HImode:
12819 208 : x2 = XEXP (x1, 1);
12820 208 : if (pattern99 (x2, pnum_clobbers,
12821 : E_V2HImode) != 0
12822 416 : || !insn_condition_334 (operands, insn))
12823 : return -1;
12824 157 : *pnum_clobbers = 1;
12825 157 : return 2449; /* *andv2hi3 */
12826 :
12827 0 : case E_BFmode:
12828 0 : x2 = XEXP (x1, 1);
12829 0 : if (pattern5 (x2,
12830 : E_BFmode) != 0
12831 0 : || !insn_condition_148 (operands, insn))
12832 0 : return -1;
12833 : return 3967; /* andbf3 */
12834 :
12835 14 : case E_HFmode:
12836 14 : x2 = XEXP (x1, 1);
12837 14 : if (pattern5 (x2,
12838 : E_HFmode) != 0
12839 14 : || !insn_condition_148 (operands, insn))
12840 7 : return -1;
12841 : return 3970; /* andhf3 */
12842 :
12843 8884 : case E_SFmode:
12844 8884 : x2 = XEXP (x1, 1);
12845 8884 : if (pattern5 (x2,
12846 : E_SFmode) != 0
12847 8884 : || !insn_condition_148 (operands, insn))
12848 884 : return -1;
12849 : return 3973; /* andsf3 */
12850 :
12851 10788 : case E_DFmode:
12852 10788 : x2 = XEXP (x1, 1);
12853 10788 : if (pattern5 (x2,
12854 : E_DFmode) != 0
12855 10788 : || !insn_condition_236 (operands, insn))
12856 1917 : return -1;
12857 : return 3976; /* anddf3 */
12858 :
12859 5350 : case E_TFmode:
12860 5350 : x2 = XEXP (x1, 1);
12861 5350 : if (pattern26 (x2,
12862 : E_TFmode) != 0
12863 5350 : || !insn_condition_237 (operands, insn))
12864 268 : return -1;
12865 : return 3979; /* *andtf3 */
12866 :
12867 : default:
12868 : return -1;
12869 : }
12870 :
12871 30 : case 1:
12872 30 : if (!insn_condition_194 (operands, insn))
12873 : return -1;
12874 30 : *pnum_clobbers = 1;
12875 30 : return 757; /* *andqi_1_slp */
12876 :
12877 6 : case 2:
12878 6 : if (!insn_condition_194 (operands, insn))
12879 : return -1;
12880 6 : *pnum_clobbers = 1;
12881 6 : return 760; /* *andhi_1_slp */
12882 :
12883 : default:
12884 : return -1;
12885 : }
12886 : }
12887 :
12888 : int
12889 65631 : recog_46 (rtx x1 ATTRIBUTE_UNUSED,
12890 : rtx_insn *insn ATTRIBUTE_UNUSED,
12891 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12892 : {
12893 65631 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12894 65631 : rtx x2, x3, x4;
12895 65631 : int res ATTRIBUTE_UNUSED;
12896 65631 : x2 = XEXP (x1, 0);
12897 65631 : operands[0] = x2;
12898 65631 : x3 = XEXP (x1, 1);
12899 65631 : x4 = XEXP (x3, 0);
12900 65631 : operands[1] = x4;
12901 65631 : switch (GET_MODE (operands[0]))
12902 : {
12903 347 : case E_TImode:
12904 347 : if (pattern303 (x3, pnum_clobbers,
12905 : E_TImode) != 0
12906 347 : || !insn_condition_398 (operands, insn))
12907 : return -1;
12908 331 : *pnum_clobbers = 1;
12909 331 : return 1032; /* *absti2_doubleword */
12910 :
12911 247 : case E_QImode:
12912 247 : if (pattern303 (x3, pnum_clobbers,
12913 : E_QImode) != 0
12914 247 : || !insn_condition_399 (operands, insn))
12915 : return -1;
12916 126 : *pnum_clobbers = 1;
12917 126 : return 1035; /* *absqi2_1 */
12918 :
12919 883 : case E_HImode:
12920 883 : if (pattern303 (x3, pnum_clobbers,
12921 : E_HImode) != 0
12922 883 : || !insn_condition_400 (operands, insn))
12923 : return -1;
12924 543 : *pnum_clobbers = 1;
12925 543 : return 1036; /* *abshi2_1 */
12926 :
12927 9802 : case E_SFmode:
12928 9802 : if (!register_operand (operands[0], E_SFmode)
12929 9643 : || GET_MODE (x3) != E_SFmode
12930 19445 : || !register_operand (operands[1], E_SFmode))
12931 : return -1;
12932 9029 : if (pnum_clobbers != NULL
12933 9029 : && insn_condition_393 (operands, insn))
12934 : {
12935 360 : *pnum_clobbers = 1;
12936 360 : return 1046; /* *abssf2_i387_1 */
12937 : }
12938 8669 : if (!insn_condition_394 (operands, insn))
12939 8419 : return -1;
12940 : return 1060; /* *abssf2_i387 */
12941 :
12942 12573 : case E_DFmode:
12943 12573 : if (!register_operand (operands[0], E_DFmode)
12944 12375 : || GET_MODE (x3) != E_DFmode
12945 24948 : || !register_operand (operands[1], E_DFmode))
12946 : return -1;
12947 11405 : if (pnum_clobbers != NULL
12948 11405 : && insn_condition_395 (operands, insn))
12949 : {
12950 853 : *pnum_clobbers = 1;
12951 853 : return 1048; /* *absdf2_i387_1 */
12952 : }
12953 10552 : if (!insn_condition_394 (operands, insn))
12954 10086 : return -1;
12955 : return 1062; /* *absdf2_i387 */
12956 :
12957 15066 : case E_XFmode:
12958 15066 : if (!register_operand (operands[0], E_XFmode)
12959 14878 : || GET_MODE (x3) != E_XFmode
12960 29944 : || !register_operand (operands[1], E_XFmode))
12961 : return -1;
12962 9727 : if (pnum_clobbers != NULL
12963 9727 : && insn_condition_396 (operands, insn))
12964 : {
12965 6413 : *pnum_clobbers = 1;
12966 6413 : return 1050; /* *absxf2_i387_1 */
12967 : }
12968 3314 : if (!insn_condition_394 (operands, insn))
12969 0 : return -1;
12970 : return 1064; /* *absxf2_i387 */
12971 :
12972 116 : case E_V8QImode:
12973 116 : if (!register_operand (operands[0], E_V8QImode)
12974 116 : || GET_MODE (x3) != E_V8QImode
12975 116 : || !register_mmxmem_operand (operands[1], E_V8QImode)
12976 220 : || !insn_condition_121 (operands, insn))
12977 12 : return -1;
12978 : return 2352; /* ssse3_absv8qi2 */
12979 :
12980 195 : case E_V4HImode:
12981 195 : if (!register_operand (operands[0], E_V4HImode)
12982 191 : || GET_MODE (x3) != E_V4HImode
12983 191 : || !register_mmxmem_operand (operands[1], E_V4HImode)
12984 354 : || !insn_condition_121 (operands, insn))
12985 36 : return -1;
12986 : return 2353; /* ssse3_absv4hi2 */
12987 :
12988 139 : case E_V2SImode:
12989 139 : if (!register_operand (operands[0], E_V2SImode)
12990 139 : || GET_MODE (x3) != E_V2SImode
12991 139 : || !register_mmxmem_operand (operands[1], E_V2SImode)
12992 264 : || !insn_condition_121 (operands, insn))
12993 14 : return -1;
12994 : return 2354; /* ssse3_absv2si2 */
12995 :
12996 66 : case E_V4QImode:
12997 66 : if (!register_operand (operands[0], E_V4QImode)
12998 60 : || GET_MODE (x3) != E_V4QImode
12999 60 : || !register_operand (operands[1], E_V4QImode)
13000 106 : || !insn_condition_117 (operands, insn))
13001 26 : return -1;
13002 : return 2355; /* absv4qi2 */
13003 :
13004 16 : case E_V2QImode:
13005 16 : if (!register_operand (operands[0], E_V2QImode)
13006 10 : || GET_MODE (x3) != E_V2QImode
13007 10 : || !register_operand (operands[1], E_V2QImode)
13008 21 : || !insn_condition_117 (operands, insn))
13009 11 : return -1;
13010 : return 2356; /* absv2qi2 */
13011 :
13012 46 : case E_V2HImode:
13013 46 : if (!register_operand (operands[0], E_V2HImode)
13014 40 : || GET_MODE (x3) != E_V2HImode
13015 40 : || !register_operand (operands[1], E_V2HImode)
13016 81 : || !insn_condition_117 (operands, insn))
13017 11 : return -1;
13018 : return 2357; /* absv2hi2 */
13019 :
13020 : default:
13021 : return -1;
13022 : }
13023 : }
13024 :
13025 : int
13026 2968138 : recog_47 (rtx x1 ATTRIBUTE_UNUSED,
13027 : rtx_insn *insn ATTRIBUTE_UNUSED,
13028 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13029 : {
13030 2968138 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13031 2968138 : rtx x2, x3, x4;
13032 2968138 : int res ATTRIBUTE_UNUSED;
13033 2968138 : x2 = XEXP (x1, 1);
13034 2968138 : x3 = XEXP (x2, 0);
13035 2968138 : switch (GET_CODE (x3))
13036 : {
13037 1907587 : case CONST_INT:
13038 1907587 : case REG:
13039 1907587 : case SUBREG:
13040 1907587 : case MEM:
13041 1907587 : switch (pattern38 (x1, pnum_clobbers))
13042 : {
13043 1870967 : case 0:
13044 1870967 : if (pnum_clobbers != NULL
13045 1829732 : && pattern323 (x1,
13046 : E_TImode) == 0
13047 1870988 : && insn_condition_201 (operands, insn))
13048 : {
13049 1 : *pnum_clobbers = 1;
13050 1 : return 1089; /* *ashlti3_doubleword_mask */
13051 : }
13052 1870966 : x4 = XEXP (x2, 1);
13053 1870966 : operands[2] = x4;
13054 1870966 : switch (pattern459 (x1, pnum_clobbers))
13055 : {
13056 1870763 : case 0:
13057 1870763 : switch (GET_MODE (operands[0]))
13058 : {
13059 9568 : case E_TImode:
13060 9568 : if (pnum_clobbers == NULL
13061 9568 : || !register_operand (operands[0], E_TImode)
13062 9385 : || GET_MODE (x2) != E_TImode
13063 9385 : || !reg_or_pm1_operand (operands[1], E_TImode)
13064 8655 : || !nonmemory_operand (operands[2], E_QImode)
13065 18138 : || !insn_condition_52 (operands, insn))
13066 : return -1;
13067 8570 : *pnum_clobbers = 1;
13068 8570 : return 1093; /* ashlti3_doubleword */
13069 :
13070 25099 : case E_HImode:
13071 25099 : if (pattern659 (x2,
13072 : E_HImode) != 0)
13073 : return -1;
13074 21136 : if (insn_condition_401 (operands, insn))
13075 : return 1188; /* *ashlhi3_1_nf */
13076 21136 : if (pnum_clobbers == NULL
13077 21136 : || !insn_condition_402 (operands, insn))
13078 : return -1;
13079 19236 : *pnum_clobbers = 1;
13080 19236 : return 1189; /* *ashlhi3_1 */
13081 :
13082 41033 : case E_QImode:
13083 41033 : if (pattern659 (x2,
13084 : E_QImode) != 0)
13085 : return -1;
13086 32808 : if (insn_condition_403 (operands, insn))
13087 : return 1190; /* *ashlqi3_1_nf */
13088 32808 : if (pnum_clobbers == NULL
13089 32808 : || !insn_condition_404 (operands, insn))
13090 : return -1;
13091 21924 : *pnum_clobbers = 1;
13092 21924 : return 1191; /* *ashlqi3_1 */
13093 :
13094 1464 : case E_V4HImode:
13095 1464 : if (pattern896 (x2,
13096 : E_V4HImode,
13097 : E_DImode) != 0
13098 1464 : || !insn_condition_114 (operands, insn))
13099 149 : return -1;
13100 : return 2362; /* mmx_ashlv4hi3 */
13101 :
13102 25618 : case E_V2SImode:
13103 25618 : if (pattern896 (x2,
13104 : E_V2SImode,
13105 : E_DImode) != 0
13106 25618 : || !insn_condition_114 (operands, insn))
13107 6716 : return -1;
13108 : return 2364; /* mmx_ashlv2si3 */
13109 :
13110 1022 : case E_V1DImode:
13111 1022 : if (pattern896 (x2,
13112 : E_V1DImode,
13113 : E_DImode) != 0
13114 1022 : || !insn_condition_114 (operands, insn))
13115 75 : return -1;
13116 : return 2366; /* mmx_ashlv1di3 */
13117 :
13118 48 : case E_V1SImode:
13119 48 : if (pattern896 (x2,
13120 : E_V1SImode,
13121 : E_DImode) != 0
13122 48 : || !insn_condition_141 (operands, insn))
13123 24 : return -1;
13124 : return 2368; /* mmx_ashlv1si3 */
13125 :
13126 289 : case E_V2HImode:
13127 289 : if (pattern896 (x2,
13128 : E_V2HImode,
13129 : E_DImode) != 0
13130 289 : || !insn_condition_141 (operands, insn))
13131 0 : return -1;
13132 : return 2370; /* ashlv2hi3 */
13133 :
13134 13 : case E_V2QImode:
13135 13 : if (pnum_clobbers == NULL
13136 13 : || pattern896 (x2,
13137 : E_V2QImode,
13138 : E_QImode) != 0
13139 13 : || !insn_condition_206 (operands, insn))
13140 : return -1;
13141 11 : *pnum_clobbers = 1;
13142 11 : return 2374; /* ashlv2qi3 */
13143 :
13144 : default:
13145 : return -1;
13146 : }
13147 :
13148 14 : case 1:
13149 14 : if (!insn_condition_194 (operands, insn))
13150 : return -1;
13151 14 : *pnum_clobbers = 1;
13152 14 : return 1192; /* *ashlqi3_1_slp */
13153 :
13154 71 : case 2:
13155 71 : if (!insn_condition_194 (operands, insn))
13156 : return -1;
13157 71 : *pnum_clobbers = 1;
13158 71 : return 1193; /* *ashlhi3_1_slp */
13159 :
13160 : default:
13161 : return -1;
13162 : }
13163 :
13164 0 : case 1:
13165 0 : if (!insn_condition_201 (operands, insn))
13166 : return -1;
13167 0 : *pnum_clobbers = 1;
13168 0 : return 1091; /* *ashlti3_doubleword_mask_1 */
13169 :
13170 : default:
13171 : return -1;
13172 : }
13173 :
13174 113360 : case SIGN_EXTEND:
13175 113360 : if (pattern47 (x1, pnum_clobbers) != 0
13176 113360 : || !insn_condition_405 (operands, insn))
13177 : return -1;
13178 1 : *pnum_clobbers = 1;
13179 1 : return 1096; /* *ashlti3_doubleword_highpart */
13180 :
13181 99763 : case ZERO_EXTEND:
13182 99763 : if (pattern47 (x1, pnum_clobbers) != 0
13183 99763 : || !insn_condition_405 (operands, insn))
13184 : return -1;
13185 5323 : *pnum_clobbers = 1;
13186 5323 : return 1097; /* *ashlti3_doubleword_highpart */
13187 :
13188 : default:
13189 : return -1;
13190 : }
13191 : }
13192 :
13193 : int
13194 5054173 : recog_52 (rtx x1 ATTRIBUTE_UNUSED,
13195 : rtx_insn *insn ATTRIBUTE_UNUSED,
13196 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13197 : {
13198 5054173 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13199 5054173 : rtx x2, x3, x4;
13200 5054173 : int res ATTRIBUTE_UNUSED;
13201 5054173 : x2 = XEXP (x1, 1);
13202 5054173 : switch (GET_CODE (x2))
13203 : {
13204 3686541 : case NE:
13205 3686541 : case EQ:
13206 3686541 : res = recog_51 (x1, insn, pnum_clobbers);
13207 3686541 : if (res >= 0)
13208 : return res;
13209 : break;
13210 :
13211 236129 : case LT:
13212 236129 : switch (pattern277 (x2))
13213 : {
13214 4296 : case 0:
13215 4296 : if (insn_condition_162 (operands, insn))
13216 : return 2360; /* *mmx_ashrv4hi3_1 */
13217 : break;
13218 :
13219 2703 : case 1:
13220 2703 : if (insn_condition_162 (operands, insn))
13221 : return 2361; /* *mmx_ashrv2si3_1 */
13222 : break;
13223 :
13224 851 : case 2:
13225 851 : if (insn_condition_163 (operands, insn))
13226 : return 2373; /* *mmx_ashrv2hi3_1 */
13227 : break;
13228 :
13229 : default:
13230 : break;
13231 : }
13232 : break;
13233 :
13234 549261 : case GT:
13235 549261 : x3 = XEXP (x2, 0);
13236 549261 : operands[1] = x3;
13237 549261 : x4 = XEXP (x2, 1);
13238 549261 : operands[2] = x4;
13239 549261 : switch (GET_MODE (operands[0]))
13240 : {
13241 5441 : case E_V8QImode:
13242 5441 : if (pattern897 (x2,
13243 : E_V8QImode) == 0
13244 5441 : && insn_condition_114 (operands, insn))
13245 : return 2383; /* mmx_gtv8qi3 */
13246 : break;
13247 :
13248 5695 : case E_V4HImode:
13249 5695 : if (pattern897 (x2,
13250 : E_V4HImode) == 0
13251 5695 : && insn_condition_114 (operands, insn))
13252 : return 2384; /* mmx_gtv4hi3 */
13253 : break;
13254 :
13255 8996 : case E_V2SImode:
13256 8996 : if (pattern897 (x2,
13257 : E_V2SImode) == 0
13258 8996 : && insn_condition_114 (operands, insn))
13259 : return 2385; /* mmx_gtv2si3 */
13260 : break;
13261 :
13262 707 : case E_V4QImode:
13263 707 : if (pattern5 (x2,
13264 : E_V4QImode) == 0
13265 707 : && insn_condition_141 (operands, insn))
13266 : return 2386; /* *gtv4qi3 */
13267 : break;
13268 :
13269 3168 : case E_V2QImode:
13270 3168 : if (pattern5 (x2,
13271 : E_V2QImode) == 0
13272 3168 : && insn_condition_141 (operands, insn))
13273 : return 2387; /* *gtv2qi3 */
13274 : break;
13275 :
13276 1014 : case E_V2HImode:
13277 1014 : if (pattern5 (x2,
13278 : E_V2HImode) == 0
13279 1014 : && insn_condition_141 (operands, insn))
13280 : return 2388; /* *gtv2hi3 */
13281 : break;
13282 :
13283 : default:
13284 : break;
13285 : }
13286 : break;
13287 :
13288 : default:
13289 : break;
13290 : }
13291 5018129 : operands[1] = x2;
13292 5018129 : x3 = XEXP (x2, 0);
13293 5018129 : operands[2] = x3;
13294 5018129 : x4 = XEXP (x2, 1);
13295 5018129 : operands[3] = x4;
13296 5018129 : switch (GET_MODE (operands[0]))
13297 : {
13298 5687 : case E_V8QImode:
13299 5687 : if (pattern898 (
13300 : E_V8QImode) != 0
13301 5687 : || !insn_condition_24 (operands, insn))
13302 5687 : return -1;
13303 : return 2389; /* *xop_maskcmpv8qi3 */
13304 :
13305 5111 : case E_V4HImode:
13306 5111 : if (pattern898 (
13307 : E_V4HImode) != 0
13308 5111 : || !insn_condition_24 (operands, insn))
13309 5039 : return -1;
13310 : return 2390; /* *xop_maskcmpv4hi3 */
13311 :
13312 13414 : case E_V2SImode:
13313 13414 : if (pattern898 (
13314 : E_V2SImode) != 0
13315 13414 : || !insn_condition_24 (operands, insn))
13316 13357 : return -1;
13317 : return 2391; /* *xop_maskcmpv2si3 */
13318 :
13319 1605 : case E_V4QImode:
13320 1605 : if (pattern898 (
13321 : E_V4QImode) != 0
13322 1605 : || !insn_condition_24 (operands, insn))
13323 1605 : return -1;
13324 : return 2392; /* *xop_maskcmpv4qi3 */
13325 :
13326 2498 : case E_V2QImode:
13327 2498 : if (pattern898 (
13328 : E_V2QImode) != 0
13329 2498 : || !insn_condition_24 (operands, insn))
13330 2498 : return -1;
13331 : return 2393; /* *xop_maskcmpv2qi3 */
13332 :
13333 1391 : case E_V2HImode:
13334 1391 : if (pattern898 (
13335 : E_V2HImode) != 0
13336 1391 : || !insn_condition_24 (operands, insn))
13337 1385 : return -1;
13338 : return 2394; /* *xop_maskcmpv2hi3 */
13339 :
13340 : default:
13341 : return -1;
13342 : }
13343 : }
13344 :
13345 : int
13346 3094613 : recog_60 (rtx x1 ATTRIBUTE_UNUSED,
13347 : rtx_insn *insn ATTRIBUTE_UNUSED,
13348 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13349 : {
13350 3094613 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13351 3094613 : rtx x2, x3, x4;
13352 3094613 : int res ATTRIBUTE_UNUSED;
13353 3094613 : x2 = XEXP (x1, 0);
13354 3094613 : switch (GET_CODE (x2))
13355 : {
13356 3094563 : case REG:
13357 3094563 : case SUBREG:
13358 3094563 : case MEM:
13359 3094563 : operands[0] = x2;
13360 3094563 : switch (GET_MODE (operands[0]))
13361 : {
13362 19879 : case E_TImode:
13363 19879 : x3 = XEXP (x1, 1);
13364 19879 : if (pattern97 (x3, pnum_clobbers) != 0
13365 19879 : || !insn_condition_463 (operands, insn))
13366 : return -1;
13367 9925 : *pnum_clobbers = 1;
13368 9925 : return 386; /* *subti3_doubleword */
13369 :
13370 24644 : case E_QImode:
13371 24644 : x3 = XEXP (x1, 1);
13372 24644 : if (pattern98 (x3,
13373 : E_QImode) != 0)
13374 : return -1;
13375 12037 : if (insn_condition_464 (operands, insn))
13376 : return 389; /* *subqi_1_nf */
13377 12032 : if (pnum_clobbers == NULL
13378 12032 : || !insn_condition_465 (operands, insn))
13379 : return -1;
13380 8954 : *pnum_clobbers = 1;
13381 8954 : return 390; /* *subqi_1 */
13382 :
13383 36138 : case E_HImode:
13384 36138 : x3 = XEXP (x1, 1);
13385 36138 : if (pattern98 (x3,
13386 : E_HImode) != 0)
13387 : return -1;
13388 12276 : if (insn_condition_466 (operands, insn))
13389 : return 391; /* *subhi_1_nf */
13390 12271 : if (pnum_clobbers == NULL
13391 12271 : || !insn_condition_467 (operands, insn))
13392 : return -1;
13393 10711 : *pnum_clobbers = 1;
13394 10711 : return 392; /* *subhi_1 */
13395 :
13396 128 : case E_HFmode:
13397 128 : x3 = XEXP (x1, 1);
13398 128 : if (pattern3 (x3,
13399 : E_HFmode) != 0
13400 128 : || !insn_condition_443 (operands, insn))
13401 10 : return -1;
13402 : return 1816; /* *subhf */
13403 :
13404 468 : case E_V8QImode:
13405 468 : x3 = XEXP (x1, 1);
13406 468 : if (pattern6 (x3,
13407 : E_V8QImode) != 0
13408 468 : || !insn_condition_468 (operands, insn))
13409 90 : return -1;
13410 : return 2285; /* *mmx_subv8qi3 */
13411 :
13412 1940 : case E_V4HImode:
13413 1940 : x3 = XEXP (x1, 1);
13414 1940 : if (pattern6 (x3,
13415 : E_V4HImode) != 0
13416 1940 : || !insn_condition_469 (operands, insn))
13417 618 : return -1;
13418 : return 2287; /* *mmx_subv4hi3 */
13419 :
13420 23060 : case E_V2SImode:
13421 23060 : x3 = XEXP (x1, 1);
13422 23060 : if (pattern6 (x3,
13423 : E_V2SImode) != 0
13424 23060 : || !insn_condition_470 (operands, insn))
13425 4845 : return -1;
13426 : return 2289; /* *mmx_subv2si3 */
13427 :
13428 143 : case E_V1DImode:
13429 143 : x3 = XEXP (x1, 1);
13430 143 : if (pattern6 (x3,
13431 : E_V1DImode) != 0
13432 143 : || !insn_condition_471 (operands, insn))
13433 29 : return -1;
13434 : return 2291; /* *mmx_subv1di3 */
13435 :
13436 593 : case E_V4QImode:
13437 593 : x3 = XEXP (x1, 1);
13438 593 : if (pattern5 (x3,
13439 : E_V4QImode) != 0
13440 593 : || !insn_condition_141 (operands, insn))
13441 42 : return -1;
13442 : return 2293; /* subv4qi3 */
13443 :
13444 405 : case E_V2HImode:
13445 405 : x3 = XEXP (x1, 1);
13446 405 : if (pattern5 (x3,
13447 : E_V2HImode) != 0
13448 405 : || !insn_condition_141 (operands, insn))
13449 49 : return -1;
13450 : return 2295; /* subv2hi3 */
13451 :
13452 181 : case E_V2QImode:
13453 181 : if (pnum_clobbers == NULL)
13454 : return -1;
13455 181 : x3 = XEXP (x1, 1);
13456 181 : if (pattern5 (x3,
13457 : E_V2QImode) != 0
13458 181 : || !insn_condition_397 (operands, insn))
13459 : return -1;
13460 50 : *pnum_clobbers = 1;
13461 50 : return 2297; /* subv2qi3 */
13462 :
13463 : default:
13464 : return -1;
13465 : }
13466 :
13467 17 : case STRICT_LOW_PART:
13468 17 : if (pnum_clobbers == NULL)
13469 : return -1;
13470 17 : x4 = XEXP (x2, 0);
13471 17 : operands[0] = x4;
13472 17 : switch (GET_MODE (operands[0]))
13473 : {
13474 15 : case E_QImode:
13475 15 : x3 = XEXP (x1, 1);
13476 15 : if (pattern1125 (x3,
13477 : E_QImode) != 0
13478 15 : || !insn_condition_194 (operands, insn))
13479 : return -1;
13480 3 : *pnum_clobbers = 1;
13481 3 : return 408; /* *subqi_1_slp */
13482 :
13483 2 : case E_HImode:
13484 2 : x3 = XEXP (x1, 1);
13485 2 : if (pattern1125 (x3,
13486 : E_HImode) != 0
13487 2 : || !insn_condition_194 (operands, insn))
13488 : return -1;
13489 2 : *pnum_clobbers = 1;
13490 2 : return 409; /* *subhi_1_slp */
13491 :
13492 : default:
13493 : return -1;
13494 : }
13495 :
13496 : default:
13497 : return -1;
13498 : }
13499 : }
13500 :
13501 : int
13502 40509282 : recog_64 (rtx x1 ATTRIBUTE_UNUSED,
13503 : rtx_insn *insn ATTRIBUTE_UNUSED,
13504 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13505 : {
13506 40509282 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13507 40509282 : rtx x2, x3, x4, x5, x6, x7;
13508 40509282 : int res ATTRIBUTE_UNUSED;
13509 40509282 : x2 = XEXP (x1, 1);
13510 40509282 : switch (GET_CODE (x2))
13511 : {
13512 32406225 : case PLUS:
13513 32406225 : res = recog_59 (x1, insn, pnum_clobbers);
13514 32406225 : if (res >= 0)
13515 : return res;
13516 : break;
13517 :
13518 4130278 : case MINUS:
13519 4130278 : res = recog_62 (x1, insn, pnum_clobbers);
13520 4130278 : if (res >= 0)
13521 : return res;
13522 : break;
13523 :
13524 3412576 : case MULT:
13525 3412576 : res = recog_63 (x1, insn, pnum_clobbers);
13526 3412576 : if (res >= 0)
13527 : return res;
13528 : break;
13529 :
13530 560203 : case DIV:
13531 560203 : if (GET_MODE (x2) == E_HFmode)
13532 : {
13533 435 : x3 = XEXP (x1, 0);
13534 435 : operands[0] = x3;
13535 435 : if (register_operand (operands[0], E_HFmode))
13536 : {
13537 380 : x4 = XEXP (x2, 0);
13538 380 : operands[1] = x4;
13539 380 : if (nonimmediate_operand (operands[1], E_HFmode))
13540 : {
13541 337 : x5 = XEXP (x2, 1);
13542 337 : operands[2] = x5;
13543 337 : if (nonimmediate_operand (operands[2], E_HFmode)
13544 337 : && insn_condition_443 (operands, insn))
13545 : return 1818; /* *divhf */
13546 : }
13547 : }
13548 : }
13549 : break;
13550 :
13551 : default:
13552 : break;
13553 : }
13554 40114466 : operands[3] = x2;
13555 40114466 : x3 = XEXP (x1, 0);
13556 40114466 : operands[0] = x3;
13557 40114466 : x4 = XEXP (x2, 0);
13558 40114466 : switch (GET_CODE (x4))
13559 : {
13560 29744669 : case REG:
13561 29744669 : case SUBREG:
13562 29744669 : case MEM:
13563 29744669 : operands[1] = x4;
13564 29744669 : x5 = XEXP (x2, 1);
13565 29744669 : switch (GET_CODE (x5))
13566 : {
13567 11253492 : case REG:
13568 11253492 : case SUBREG:
13569 11253492 : case MEM:
13570 11253492 : operands[2] = x5;
13571 11253492 : switch (GET_MODE (operands[0]))
13572 : {
13573 466603 : case E_XFmode:
13574 466603 : if (!register_operand (operands[0], E_XFmode)
13575 449214 : || !binary_fp_operator (operands[3], E_XFmode)
13576 449214 : || !register_operand (operands[1], E_XFmode)
13577 899019 : || !register_operand (operands[2], E_XFmode))
13578 : return -1;
13579 411697 : if (insn_condition_487 (operands, insn))
13580 : return 1812; /* *fop_xf_comm_i387 */
13581 122347 : if (!insn_condition_488 (operands, insn))
13582 0 : return -1;
13583 : return 1821; /* *fop_xf_1_i387 */
13584 :
13585 2559253 : case E_SFmode:
13586 2559253 : if (!register_operand (operands[0], E_SFmode)
13587 2481411 : || !binary_fp_operator (operands[3], E_SFmode)
13588 5040664 : || !nonimmediate_operand (operands[2], E_SFmode))
13589 : return -1;
13590 2473174 : if (nonimmediate_operand (operands[1], E_SFmode)
13591 2473174 : && insn_condition_489 (operands, insn))
13592 : return 1813; /* *fop_sf_comm */
13593 377491 : if (!x87nonimm_ssenomem_operand (operands[1], E_SFmode)
13594 377491 : || !insn_condition_490 (operands, insn))
13595 35083 : return -1;
13596 : return 1822; /* *fop_sf_1 */
13597 :
13598 1834602 : case E_DFmode:
13599 1834602 : if (!register_operand (operands[0], E_DFmode)
13600 1807042 : || !binary_fp_operator (operands[3], E_DFmode)
13601 3641644 : || !nonimmediate_operand (operands[2], E_DFmode))
13602 : return -1;
13603 1802164 : if (nonimmediate_operand (operands[1], E_DFmode)
13604 1802164 : && insn_condition_491 (operands, insn))
13605 : return 1814; /* *fop_df_comm */
13606 395178 : if (!x87nonimm_ssenomem_operand (operands[1], E_DFmode)
13607 395178 : || !insn_condition_492 (operands, insn))
13608 23987 : return -1;
13609 : return 1823; /* *fop_df_1 */
13610 :
13611 : default:
13612 : return -1;
13613 : }
13614 :
13615 41002 : case FLOAT:
13616 41002 : x6 = XEXP (x5, 0);
13617 41002 : operands[2] = x6;
13618 41002 : switch (GET_MODE (operands[0]))
13619 : {
13620 38689 : case E_SFmode:
13621 38689 : switch (pattern905 (x5,
13622 : E_SFmode))
13623 : {
13624 0 : case 0:
13625 0 : if (!insn_condition_493 (operands, insn))
13626 0 : return -1;
13627 : return 1830; /* *fop_sf_3_i387 */
13628 :
13629 24459 : case 1:
13630 24459 : if (!insn_condition_494 (operands, insn))
13631 24459 : return -1;
13632 : return 1833; /* *fop_sf_3_i387 */
13633 :
13634 : default:
13635 : return -1;
13636 : }
13637 :
13638 1720 : case E_DFmode:
13639 1720 : switch (pattern905 (x5,
13640 : E_DFmode))
13641 : {
13642 4 : case 0:
13643 4 : if (!insn_condition_495 (operands, insn))
13644 4 : return -1;
13645 : return 1831; /* *fop_df_3_i387 */
13646 :
13647 900 : case 1:
13648 900 : if (!insn_condition_496 (operands, insn))
13649 900 : return -1;
13650 : return 1834; /* *fop_df_3_i387 */
13651 :
13652 : default:
13653 : return -1;
13654 : }
13655 :
13656 474 : case E_XFmode:
13657 474 : switch (pattern905 (x5,
13658 : E_XFmode))
13659 : {
13660 8 : case 0:
13661 8 : if (!insn_condition_497 (operands, insn))
13662 8 : return -1;
13663 : return 1832; /* *fop_xf_3_i387 */
13664 :
13665 311 : case 1:
13666 311 : if (!insn_condition_498 (operands, insn))
13667 311 : return -1;
13668 : return 1835; /* *fop_xf_3_i387 */
13669 :
13670 : default:
13671 : return -1;
13672 : }
13673 :
13674 : default:
13675 : return -1;
13676 : }
13677 :
13678 13439 : case FLOAT_EXTEND:
13679 13439 : x6 = XEXP (x5, 0);
13680 13439 : operands[2] = x6;
13681 13439 : switch (pattern778 ())
13682 : {
13683 11552 : case 0:
13684 11552 : if (!register_operand (operands[1], E_XFmode)
13685 11552 : || GET_MODE (x5) != E_XFmode)
13686 : return -1;
13687 9385 : switch (GET_MODE (operands[2]))
13688 : {
13689 5812 : case E_SFmode:
13690 5812 : if (!nonimmediate_operand (operands[2], E_SFmode)
13691 5812 : || !insn_condition_74 (operands, insn))
13692 0 : return -1;
13693 : return 1839; /* *fop_xf_5_i387 */
13694 :
13695 3573 : case E_DFmode:
13696 3573 : if (!nonimmediate_operand (operands[2], E_DFmode)
13697 3573 : || !insn_condition_74 (operands, insn))
13698 446 : return -1;
13699 : return 1840; /* *fop_xf_5_i387 */
13700 :
13701 : default:
13702 : return -1;
13703 : }
13704 :
13705 962 : case 1:
13706 962 : if (!register_operand (operands[1], E_DFmode)
13707 933 : || GET_MODE (x5) != E_DFmode
13708 933 : || !nonimmediate_operand (operands[2], E_SFmode)
13709 1853 : || !insn_condition_499 (operands, insn))
13710 788 : return -1;
13711 : return 1841; /* *fop_df_5_i387 */
13712 :
13713 : default:
13714 : return -1;
13715 : }
13716 :
13717 : default:
13718 : return -1;
13719 : }
13720 :
13721 167774 : case FLOAT:
13722 167774 : x7 = XEXP (x4, 0);
13723 167774 : operands[1] = x7;
13724 167774 : x5 = XEXP (x2, 1);
13725 167774 : operands[2] = x5;
13726 167774 : switch (GET_MODE (operands[0]))
13727 : {
13728 44199 : case E_SFmode:
13729 44199 : switch (pattern779 (x4,
13730 : E_SFmode))
13731 : {
13732 1 : case 0:
13733 1 : if (!insn_condition_493 (operands, insn))
13734 1 : return -1;
13735 : return 1824; /* *fop_sf_2_i387 */
13736 :
13737 21337 : case 1:
13738 21337 : if (!insn_condition_494 (operands, insn))
13739 21337 : return -1;
13740 : return 1827; /* *fop_sf_2_i387 */
13741 :
13742 : default:
13743 : return -1;
13744 : }
13745 :
13746 112964 : case E_DFmode:
13747 112964 : switch (pattern779 (x4,
13748 : E_DFmode))
13749 : {
13750 24 : case 0:
13751 24 : if (!insn_condition_495 (operands, insn))
13752 24 : return -1;
13753 : return 1825; /* *fop_df_2_i387 */
13754 :
13755 55681 : case 1:
13756 55681 : if (!insn_condition_496 (operands, insn))
13757 55681 : return -1;
13758 : return 1828; /* *fop_df_2_i387 */
13759 :
13760 : default:
13761 : return -1;
13762 : }
13763 :
13764 2836 : case E_XFmode:
13765 2836 : switch (pattern779 (x4,
13766 : E_XFmode))
13767 : {
13768 36 : case 0:
13769 36 : if (!insn_condition_497 (operands, insn))
13770 36 : return -1;
13771 : return 1826; /* *fop_xf_2_i387 */
13772 :
13773 1233 : case 1:
13774 1233 : if (!insn_condition_498 (operands, insn))
13775 1198 : return -1;
13776 : return 1829; /* *fop_xf_2_i387 */
13777 :
13778 : default:
13779 : return -1;
13780 : }
13781 :
13782 : default:
13783 : return -1;
13784 : }
13785 :
13786 67235 : case FLOAT_EXTEND:
13787 67235 : x7 = XEXP (x4, 0);
13788 67235 : operands[1] = x7;
13789 67235 : x5 = XEXP (x2, 1);
13790 67235 : switch (GET_CODE (x5))
13791 : {
13792 40235 : case REG:
13793 40235 : case SUBREG:
13794 40235 : operands[2] = x5;
13795 40235 : switch (pattern778 ())
13796 : {
13797 28237 : case 0:
13798 28237 : if (GET_MODE (x4) != E_XFmode
13799 28237 : || !register_operand (operands[2], E_XFmode))
13800 : return -1;
13801 28237 : switch (GET_MODE (operands[1]))
13802 : {
13803 8706 : case E_SFmode:
13804 8706 : if (!nonimmediate_operand (operands[1], E_SFmode)
13805 8706 : || !insn_condition_74 (operands, insn))
13806 45 : return -1;
13807 : return 1836; /* *fop_xf_4_i387 */
13808 :
13809 19531 : case E_DFmode:
13810 19531 : if (!nonimmediate_operand (operands[1], E_DFmode)
13811 19531 : || !insn_condition_74 (operands, insn))
13812 5445 : return -1;
13813 : return 1837; /* *fop_xf_4_i387 */
13814 :
13815 : default:
13816 : return -1;
13817 : }
13818 :
13819 9930 : case 1:
13820 9930 : if (GET_MODE (x4) != E_DFmode
13821 9930 : || !nonimmediate_operand (operands[1], E_SFmode)
13822 8900 : || !register_operand (operands[2], E_DFmode)
13823 18830 : || !insn_condition_499 (operands, insn))
13824 9551 : return -1;
13825 : return 1838; /* *fop_df_4_i387 */
13826 :
13827 : default:
13828 : return -1;
13829 : }
13830 :
13831 15543 : case FLOAT_EXTEND:
13832 15543 : x6 = XEXP (x5, 0);
13833 15543 : operands[2] = x6;
13834 15543 : switch (pattern778 ())
13835 : {
13836 15082 : case 0:
13837 15082 : if (GET_MODE (x4) != E_XFmode
13838 15082 : || GET_MODE (x5) != E_XFmode)
13839 : return -1;
13840 15082 : switch (GET_MODE (operands[1]))
13841 : {
13842 559 : case E_SFmode:
13843 559 : if (!register_operand (operands[1], E_SFmode)
13844 375 : || !nonimmediate_operand (operands[2], E_SFmode)
13845 831 : || !insn_condition_74 (operands, insn))
13846 287 : return -1;
13847 : return 1842; /* *fop_xf_6_i387 */
13848 :
13849 14523 : case E_DFmode:
13850 14523 : if (!register_operand (operands[1], E_DFmode)
13851 10644 : || !nonimmediate_operand (operands[2], E_DFmode)
13852 20729 : || !insn_condition_74 (operands, insn))
13853 8317 : return -1;
13854 : return 1843; /* *fop_xf_6_i387 */
13855 :
13856 : default:
13857 : return -1;
13858 : }
13859 :
13860 253 : case 1:
13861 253 : if (pattern903 (x2,
13862 : E_SFmode,
13863 : E_DFmode) != 0
13864 253 : || !insn_condition_499 (operands, insn))
13865 199 : return -1;
13866 : return 1844; /* *fop_df_6_i387 */
13867 :
13868 : default:
13869 : return -1;
13870 : }
13871 :
13872 : default:
13873 : return -1;
13874 : }
13875 :
13876 : default:
13877 : return -1;
13878 : }
13879 : }
13880 :
13881 : int
13882 2435 : recog_71 (rtx x1 ATTRIBUTE_UNUSED,
13883 : rtx_insn *insn ATTRIBUTE_UNUSED,
13884 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13885 : {
13886 2435 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13887 2435 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
13888 2435 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
13889 2435 : rtx x18, x19;
13890 2435 : int res ATTRIBUTE_UNUSED;
13891 2435 : x2 = XEXP (x1, 0);
13892 2435 : operands[0] = x2;
13893 2435 : x3 = XEXP (x1, 1);
13894 2435 : x4 = XEXP (x3, 0);
13895 2435 : switch (GET_CODE (x4))
13896 : {
13897 1229 : case REG:
13898 1229 : case SUBREG:
13899 1229 : case MEM:
13900 1229 : switch (pattern49 (x3))
13901 : {
13902 202 : case 0:
13903 202 : if (!insn_condition_548 (operands, insn))
13904 0 : return -1;
13905 : return 2298; /* *mmx_ssaddv8qi3 */
13906 :
13907 200 : case 1:
13908 200 : if (!insn_condition_549 (operands, insn))
13909 0 : return -1;
13910 : return 2302; /* *mmx_ssaddv4hi3 */
13911 :
13912 0 : case 2:
13913 0 : if (!insn_condition_141 (operands, insn))
13914 0 : return -1;
13915 : return 2306; /* ssaddv4qi3 */
13916 :
13917 0 : case 3:
13918 0 : if (!insn_condition_141 (operands, insn))
13919 0 : return -1;
13920 : return 2310; /* ssaddv2qi3 */
13921 :
13922 0 : case 4:
13923 0 : if (!insn_condition_141 (operands, insn))
13924 0 : return -1;
13925 : return 2314; /* ssaddv2hi3 */
13926 :
13927 : default:
13928 : return -1;
13929 : }
13930 :
13931 326 : case VEC_SELECT:
13932 326 : if (pattern126 (x3) != 0
13933 326 : || !insn_condition_121 (operands, insn))
13934 211 : return -1;
13935 : return 7262; /* ssse3_phaddswv4hi3 */
13936 :
13937 817 : case MULT:
13938 817 : if (GET_MODE (x4) != E_V4HImode)
13939 : return -1;
13940 121 : x5 = XEXP (x4, 0);
13941 121 : if (GET_CODE (x5) != ZERO_EXTEND
13942 121 : || GET_MODE (x5) != E_V4HImode)
13943 : return -1;
13944 121 : x6 = XEXP (x5, 0);
13945 121 : if (GET_CODE (x6) != VEC_SELECT
13946 121 : || GET_MODE (x6) != E_V4QImode)
13947 : return -1;
13948 121 : x7 = XEXP (x6, 1);
13949 121 : if (GET_CODE (x7) != PARALLEL
13950 121 : || XVECLEN (x7, 0) != 4
13951 242 : || pattern1127 (x7,
13952 : 6,
13953 : 4,
13954 : 2,
13955 : 0) != 0)
13956 : return -1;
13957 121 : x8 = XEXP (x4, 1);
13958 121 : if (pattern1303 (x8,
13959 : E_V4QImode,
13960 : E_V4HImode) != 0)
13961 : return -1;
13962 121 : x9 = XEXP (x8, 0);
13963 121 : x10 = XEXP (x9, 1);
13964 121 : if (pattern1678 (x10,
13965 : 6,
13966 : 4,
13967 : 2,
13968 : 0) != 0)
13969 : return -1;
13970 121 : x11 = XEXP (x3, 1);
13971 121 : if (pattern1850 (x11,
13972 : E_V4QImode,
13973 : E_V4HImode,
13974 : ZERO_EXTEND) != 0
13975 121 : || !register_operand (operands[0], E_V4HImode)
13976 242 : || GET_MODE (x3) != E_V4HImode)
13977 : return -1;
13978 121 : x12 = XEXP (x6, 0);
13979 121 : operands[1] = x12;
13980 121 : if (!register_operand (operands[1], E_V8QImode))
13981 : return -1;
13982 121 : x13 = XEXP (x9, 0);
13983 121 : operands[2] = x13;
13984 121 : if (!register_mmxmem_operand (operands[2], E_V8QImode))
13985 : return -1;
13986 117 : x14 = XEXP (x11, 0);
13987 117 : x15 = XEXP (x14, 0);
13988 117 : x16 = XEXP (x15, 0);
13989 117 : if (!rtx_equal_p (x16, operands[1]))
13990 : return -1;
13991 117 : x17 = XEXP (x11, 1);
13992 117 : x18 = XEXP (x17, 0);
13993 117 : x19 = XEXP (x18, 0);
13994 117 : if (!rtx_equal_p (x19, operands[2])
13995 117 : || !insn_condition_121 (operands, insn))
13996 0 : return -1;
13997 : return 7281; /* ssse3_pmaddubsw */
13998 :
13999 : default:
14000 : return -1;
14001 : }
14002 : }
14003 :
14004 : int
14005 14142 : recog_72 (rtx x1 ATTRIBUTE_UNUSED,
14006 : rtx_insn *insn ATTRIBUTE_UNUSED,
14007 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14008 : {
14009 14142 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14010 14142 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14011 14142 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
14012 14142 : rtx x18, x19;
14013 14142 : int res ATTRIBUTE_UNUSED;
14014 14142 : x2 = XEXP (x1, 0);
14015 14142 : operands[0] = x2;
14016 14142 : x3 = XEXP (x1, 1);
14017 14142 : x4 = XEXP (x3, 0);
14018 14142 : switch (GET_CODE (x4))
14019 : {
14020 9006 : case LSHIFTRT:
14021 9006 : x5 = XEXP (x4, 1);
14022 9006 : if (GET_CODE (x5) != CONST_INT)
14023 : return -1;
14024 8963 : x6 = XEXP (x4, 0);
14025 8963 : switch (GET_CODE (x6))
14026 : {
14027 6713 : case MULT:
14028 6713 : if (XWINT (x5, 0) != 16L)
14029 : return -1;
14030 6713 : x7 = XEXP (x6, 0);
14031 6713 : switch (GET_CODE (x7))
14032 : {
14033 3059 : case SIGN_EXTEND:
14034 3059 : switch (pattern784 (x3,
14035 : SIGN_EXTEND))
14036 : {
14037 196 : case 0:
14038 196 : if (!insn_condition_455 (operands, insn))
14039 0 : return -1;
14040 : return 2321; /* *mmx_smulv4hi3_highpart */
14041 :
14042 5 : case 1:
14043 5 : if (!insn_condition_141 (operands, insn))
14044 0 : return -1;
14045 : return 2323; /* smulv2hi3_highpart */
14046 :
14047 : default:
14048 : return -1;
14049 : }
14050 :
14051 3654 : case ZERO_EXTEND:
14052 3654 : switch (pattern784 (x3,
14053 : ZERO_EXTEND))
14054 : {
14055 247 : case 0:
14056 247 : if (!insn_condition_550 (operands, insn))
14057 0 : return -1;
14058 : return 2322; /* *mmx_umulv4hi3_highpart */
14059 :
14060 5 : case 1:
14061 5 : if (!insn_condition_141 (operands, insn))
14062 0 : return -1;
14063 : return 2324; /* umulv2hi3_highpart */
14064 :
14065 : default:
14066 : return -1;
14067 : }
14068 :
14069 : default:
14070 : return -1;
14071 : }
14072 :
14073 2226 : case PLUS:
14074 2226 : x7 = XEXP (x6, 0);
14075 2226 : switch (GET_CODE (x7))
14076 : {
14077 94 : case MULT:
14078 94 : if (GET_MODE (x7) != E_V4SImode)
14079 : return -1;
14080 94 : x8 = XEXP (x7, 0);
14081 94 : if (GET_CODE (x8) != SIGN_EXTEND
14082 94 : || GET_MODE (x8) != E_V4SImode)
14083 : return -1;
14084 94 : x9 = XEXP (x7, 1);
14085 94 : if (GET_CODE (x9) != SIGN_EXTEND
14086 94 : || GET_MODE (x9) != E_V4SImode)
14087 : return -1;
14088 94 : x10 = XEXP (x6, 1);
14089 94 : if (GET_CODE (x10) != CONST_VECTOR
14090 94 : || XVECLEN (x10, 0) != 4
14091 94 : || GET_MODE (x10) != E_V4SImode)
14092 : return -1;
14093 94 : x11 = XVECEXP (x10, 0, 0);
14094 94 : if (GET_CODE (x11) != CONST_INT
14095 94 : || XWINT (x11, 0) != 32768L)
14096 : return -1;
14097 94 : x12 = XVECEXP (x10, 0, 1);
14098 94 : if (GET_CODE (x12) != CONST_INT
14099 94 : || XWINT (x12, 0) != 32768L)
14100 : return -1;
14101 94 : x13 = XVECEXP (x10, 0, 2);
14102 94 : if (GET_CODE (x13) != CONST_INT
14103 94 : || XWINT (x13, 0) != 32768L)
14104 : return -1;
14105 94 : x14 = XVECEXP (x10, 0, 3);
14106 94 : if (GET_CODE (x14) != CONST_INT
14107 94 : || XWINT (x14, 0) != 32768L
14108 94 : || XWINT (x5, 0) != 16L
14109 94 : || !register_operand (operands[0], E_V4HImode)
14110 87 : || GET_MODE (x3) != E_V4HImode
14111 87 : || GET_MODE (x4) != E_V4SImode
14112 181 : || GET_MODE (x6) != E_V4SImode)
14113 : return -1;
14114 87 : x15 = XEXP (x8, 0);
14115 87 : operands[1] = x15;
14116 87 : if (!nonimmediate_operand (operands[1], E_V4HImode))
14117 : return -1;
14118 87 : x16 = XEXP (x9, 0);
14119 87 : operands[2] = x16;
14120 87 : if (!nonimmediate_operand (operands[2], E_V4HImode)
14121 87 : || !insn_condition_551 (operands, insn))
14122 8 : return -1;
14123 : return 2326; /* *mmx_pmulhrwv4hi3 */
14124 :
14125 1549 : case PLUS:
14126 1549 : x8 = XEXP (x7, 0);
14127 1549 : if (GET_CODE (x8) != ZERO_EXTEND)
14128 : return -1;
14129 1549 : x9 = XEXP (x7, 1);
14130 1549 : if (GET_CODE (x9) != ZERO_EXTEND)
14131 : return -1;
14132 1513 : x10 = XEXP (x6, 1);
14133 1513 : if (GET_CODE (x10) != CONST_VECTOR
14134 1513 : || XWINT (x5, 0) != 1L)
14135 : return -1;
14136 1513 : x15 = XEXP (x8, 0);
14137 1513 : operands[1] = x15;
14138 1513 : x16 = XEXP (x9, 0);
14139 1513 : operands[2] = x16;
14140 1513 : switch (XVECLEN (x10, 0))
14141 : {
14142 406 : case 8:
14143 406 : if (pattern1405 (x10,
14144 : E_V8HImode) != 0
14145 275 : || pattern1695 (x3,
14146 : E_V8QImode,
14147 : E_V8HImode) != 0
14148 636 : || !insn_condition_552 (operands, insn))
14149 176 : return -1;
14150 : return 2538; /* *mmx_uavgv8qi3 */
14151 :
14152 152 : case 4:
14153 152 : x11 = XVECEXP (x10, 0, 0);
14154 152 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
14155 : return -1;
14156 152 : x12 = XVECEXP (x10, 0, 1);
14157 152 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
14158 : return -1;
14159 152 : x13 = XVECEXP (x10, 0, 2);
14160 152 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
14161 : return -1;
14162 152 : x14 = XVECEXP (x10, 0, 3);
14163 152 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
14164 : return -1;
14165 152 : switch (GET_MODE (operands[0]))
14166 : {
14167 132 : case E_V4HImode:
14168 132 : if (pattern1695 (x3,
14169 : E_V4HImode,
14170 : E_V4SImode) != 0
14171 120 : || GET_MODE (x10) != E_V4SImode
14172 252 : || !insn_condition_553 (operands, insn))
14173 12 : return -1;
14174 : return 2539; /* *mmx_uavgv4hi3 */
14175 :
14176 20 : case E_V4QImode:
14177 20 : if (pattern1585 (x3,
14178 : E_V4HImode,
14179 : E_V4QImode) != 0
14180 20 : || !insn_condition_141 (operands, insn))
14181 15 : return -1;
14182 : return 2540; /* uavgv4qi3_ceil */
14183 :
14184 : default:
14185 : return -1;
14186 : }
14187 :
14188 222 : case 2:
14189 222 : x11 = XVECEXP (x10, 0, 0);
14190 222 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
14191 : return -1;
14192 222 : x12 = XVECEXP (x10, 0, 1);
14193 222 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
14194 : return -1;
14195 222 : switch (GET_MODE (operands[0]))
14196 : {
14197 202 : case E_V2QImode:
14198 202 : if (pattern1585 (x3,
14199 : E_V2HImode,
14200 : E_V2QImode) != 0
14201 202 : || !insn_condition_141 (operands, insn))
14202 92 : return -1;
14203 : return 2541; /* uavgv2qi3_ceil */
14204 :
14205 20 : case E_V2HImode:
14206 20 : if (pattern1585 (x3,
14207 : E_V2SImode,
14208 : E_V2HImode) != 0
14209 20 : || !insn_condition_141 (operands, insn))
14210 15 : return -1;
14211 : return 2542; /* uavgv2hi3_ceil */
14212 :
14213 : default:
14214 : return -1;
14215 : }
14216 :
14217 : default:
14218 : return -1;
14219 : }
14220 :
14221 527 : case LSHIFTRT:
14222 527 : if (pattern645 (x7) != 0
14223 527 : || XWINT (x5, 0) != 1L)
14224 : return -1;
14225 522 : x8 = XEXP (x7, 0);
14226 522 : x15 = XEXP (x8, 0);
14227 522 : x17 = XEXP (x15, 0);
14228 522 : operands[1] = x17;
14229 522 : x18 = XEXP (x8, 1);
14230 522 : x19 = XEXP (x18, 0);
14231 522 : operands[2] = x19;
14232 522 : x10 = XEXP (x6, 1);
14233 522 : operands[3] = x10;
14234 522 : switch (GET_MODE (operands[0]))
14235 : {
14236 163 : case E_V4HImode:
14237 163 : if (pattern1557 (x3,
14238 : E_V4SImode,
14239 : E_V4HImode) != 0
14240 158 : || !register_mmxmem_operand (operands[1], E_V4HImode)
14241 137 : || GET_MODE (x18) != E_V4SImode
14242 137 : || !register_mmxmem_operand (operands[2], E_V4HImode)
14243 120 : || !const1_operand (operands[3], E_V4HImode)
14244 283 : || !insn_condition_554 (operands, insn))
14245 43 : return -1;
14246 : return 7288; /* *ssse3_pmulhrswv4hi3 */
14247 :
14248 20 : case E_V2HImode:
14249 20 : if (pattern1557 (x3,
14250 : E_V2SImode,
14251 : E_V2HImode) != 0
14252 15 : || !register_operand (operands[1], E_V2HImode)
14253 10 : || GET_MODE (x18) != E_V2SImode
14254 10 : || !register_operand (operands[2], E_V2HImode)
14255 5 : || !const1_operand (operands[3], E_V2HImode)
14256 25 : || !insn_condition_555 (operands, insn))
14257 15 : return -1;
14258 : return 7289; /* *smulhrsv2hi3 */
14259 :
14260 : default:
14261 : return -1;
14262 : }
14263 :
14264 : default:
14265 : return -1;
14266 : }
14267 :
14268 : default:
14269 : return -1;
14270 : }
14271 :
14272 4711 : case REG:
14273 4711 : case SUBREG:
14274 4711 : operands[1] = x4;
14275 4711 : switch (GET_MODE (operands[0]))
14276 : {
14277 179 : case E_V4QImode:
14278 179 : if (GET_MODE (x3) != E_V4QImode)
14279 : return -1;
14280 179 : if (register_operand (operands[0], E_V4QImode)
14281 171 : && register_operand (operands[1], E_V4HImode)
14282 284 : && insn_condition_556 (operands, insn))
14283 : return 2472; /* avx512vl_truncv4hiv4qi2 */
14284 74 : if (!memory_operand (operands[0], E_V4QImode))
14285 : return -1;
14286 8 : switch (GET_MODE (operands[1]))
14287 : {
14288 8 : case E_V4SImode:
14289 8 : if (!register_operand (operands[1], E_V4SImode)
14290 8 : || !insn_condition_532 (operands, insn))
14291 0 : return -1;
14292 : return 5992; /* *avx512vl_truncatev4siv4qi2_store_1 */
14293 :
14294 0 : case E_V4DImode:
14295 0 : if (!register_operand (operands[1], E_V4DImode)
14296 0 : || !insn_condition_532 (operands, insn))
14297 0 : return -1;
14298 : return 5995; /* *avx512vl_truncatev4div4qi2_store_1 */
14299 :
14300 : default:
14301 : return -1;
14302 : }
14303 :
14304 191 : case E_V2QImode:
14305 191 : if (GET_MODE (x3) != E_V2QImode)
14306 : return -1;
14307 191 : if (register_operand (operands[0], E_V2QImode))
14308 : {
14309 171 : switch (GET_MODE (operands[1]))
14310 : {
14311 76 : case E_V2HImode:
14312 76 : if (register_operand (operands[1], E_V2HImode)
14313 76 : && insn_condition_557 (operands, insn))
14314 : return 2473; /* avx512vl_truncv2hiv2qi2 */
14315 : break;
14316 :
14317 73 : case E_V2SImode:
14318 73 : if (register_operand (operands[1], E_V2SImode)
14319 73 : && insn_condition_558 (operands, insn))
14320 : return 2474; /* avx512vl_truncv2siv2qi2 */
14321 : break;
14322 :
14323 : default:
14324 : break;
14325 : }
14326 : }
14327 54 : if (!memory_operand (operands[0], E_V2QImode)
14328 20 : || !register_operand (operands[1], E_V2DImode)
14329 54 : || !insn_condition_532 (operands, insn))
14330 54 : return -1;
14331 : return 5977; /* *avx512vl_truncatev2div2qi2_store_1 */
14332 :
14333 84 : case E_V2HImode:
14334 84 : if (GET_MODE (x3) != E_V2HImode)
14335 : return -1;
14336 84 : if (register_operand (operands[0], E_V2HImode)
14337 69 : && register_operand (operands[1], E_V2SImode)
14338 84 : && insn_condition_558 (operands, insn))
14339 : return 2475; /* avx512vl_truncv2siv2hi2 */
14340 39 : if (!memory_operand (operands[0], E_V2HImode)
14341 15 : || !register_operand (operands[1], E_V2DImode)
14342 39 : || !insn_condition_532 (operands, insn))
14343 39 : return -1;
14344 : return 6092; /* *avx512vl_truncatev2div2hi2_store_1 */
14345 :
14346 316 : case E_V8QImode:
14347 316 : switch (pattern10 (x3))
14348 : {
14349 45 : case 0:
14350 45 : if (!insn_condition_533 (operands, insn))
14351 0 : return -1;
14352 : return 6022; /* *avx512vl_truncatev8hiv8qi2_store_1 */
14353 :
14354 2 : case 1:
14355 2 : if (!insn_condition_532 (operands, insn))
14356 0 : return -1;
14357 : return 6025; /* *avx512vl_truncatev8siv8qi2_store_1 */
14358 :
14359 2 : case 2:
14360 2 : if (!insn_condition_27 (operands, insn))
14361 0 : return -1;
14362 : return 6129; /* *avx512f_truncatev8div16qi2_store_1 */
14363 :
14364 : default:
14365 : return -1;
14366 : }
14367 :
14368 33 : case E_V4HImode:
14369 33 : switch (pattern9 (x3,
14370 : E_V4HImode))
14371 : {
14372 0 : case 0:
14373 0 : if (!insn_condition_532 (operands, insn))
14374 0 : return -1;
14375 : return 6062; /* *avx512vl_truncatev4siv4hi2_store_1 */
14376 :
14377 3 : case 1:
14378 3 : if (!insn_condition_532 (operands, insn))
14379 0 : return -1;
14380 : return 6065; /* *avx512vl_truncatev4div4hi2_store_1 */
14381 :
14382 : default:
14383 : return -1;
14384 : }
14385 :
14386 55 : case E_V2SImode:
14387 55 : if (!memory_operand (operands[0], E_V2SImode)
14388 31 : || GET_MODE (x3) != E_V2SImode
14389 31 : || !register_operand (operands[1], E_V2DImode)
14390 86 : || !insn_condition_532 (operands, insn))
14391 52 : return -1;
14392 : return 6111; /* *avx512vl_truncatev2div2si2_store_1 */
14393 :
14394 : default:
14395 : return -1;
14396 : }
14397 :
14398 : default:
14399 : return -1;
14400 : }
14401 : }
14402 :
14403 : int
14404 7050 : recog_83 (rtx x1 ATTRIBUTE_UNUSED,
14405 : rtx_insn *insn ATTRIBUTE_UNUSED,
14406 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14407 : {
14408 7050 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14409 7050 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14410 7050 : rtx x10;
14411 7050 : int res ATTRIBUTE_UNUSED;
14412 7050 : x2 = XEXP (x1, 1);
14413 7050 : x3 = XEXP (x2, 0);
14414 7050 : x4 = XEXP (x3, 0);
14415 7050 : switch (GET_CODE (x4))
14416 : {
14417 6334 : case REG:
14418 6334 : case SUBREG:
14419 6334 : case MEM:
14420 6334 : switch (pattern133 (x2, pnum_clobbers))
14421 : {
14422 1420 : case 0:
14423 1420 : if (insn_condition_293 (operands, insn))
14424 : return 742; /* *andqi_1_zextsi_nf */
14425 1414 : if (pnum_clobbers == NULL
14426 1414 : || !insn_condition_294 (operands, insn))
14427 : return -1;
14428 3 : *pnum_clobbers = 1;
14429 3 : return 743; /* *andqi_1_zextsi */
14430 :
14431 608 : case 1:
14432 608 : if (insn_condition_293 (operands, insn))
14433 : return 746; /* *andhi_1_zextsi_nf */
14434 608 : if (pnum_clobbers == NULL
14435 608 : || !insn_condition_294 (operands, insn))
14436 : return -1;
14437 2 : *pnum_clobbers = 1;
14438 2 : return 747; /* *andhi_1_zextsi */
14439 :
14440 246 : case 2:
14441 246 : if (insn_condition_293 (operands, insn))
14442 : return 744; /* *andqi_1_zextdi_nf */
14443 220 : if (pnum_clobbers == NULL
14444 220 : || !insn_condition_294 (operands, insn))
14445 : return -1;
14446 3 : *pnum_clobbers = 1;
14447 3 : return 745; /* *andqi_1_zextdi */
14448 :
14449 40 : case 3:
14450 40 : if (insn_condition_293 (operands, insn))
14451 : return 748; /* *andhi_1_zextdi_nf */
14452 40 : if (pnum_clobbers == NULL
14453 40 : || !insn_condition_294 (operands, insn))
14454 : return -1;
14455 2 : *pnum_clobbers = 1;
14456 2 : return 749; /* *andhi_1_zextdi */
14457 :
14458 3433 : case 4:
14459 3433 : if (!insn_condition_697 (operands, insn))
14460 : return -1;
14461 1448 : *pnum_clobbers = 1;
14462 1448 : return 750; /* *andsi_1_zext */
14463 :
14464 : default:
14465 : return -1;
14466 : }
14467 :
14468 303 : case PLUS:
14469 303 : if (pnum_clobbers == NULL
14470 303 : || pattern473 (x4) != 0)
14471 : return -1;
14472 26 : x5 = XEXP (x4, 1);
14473 26 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + -1]
14474 26 : || !register_operand (operands[0], E_DImode)
14475 26 : || GET_MODE (x2) != E_DImode
14476 52 : || GET_MODE (x3) != E_SImode)
14477 : return -1;
14478 26 : x6 = XEXP (x4, 0);
14479 26 : x7 = XEXP (x6, 1);
14480 26 : operands[2] = x7;
14481 26 : if (!register_operand (operands[2], E_QImode))
14482 : return -1;
14483 26 : x8 = XEXP (x3, 1);
14484 26 : operands[1] = x8;
14485 26 : if (!nonimmediate_operand (operands[1], E_SImode)
14486 26 : || !insn_condition_612 (operands, insn))
14487 : return -1;
14488 0 : *pnum_clobbers = 1;
14489 0 : return 1736; /* *bmi2_bzhi_zero_extendsidi_4 */
14490 :
14491 14 : case UNSPEC:
14492 14 : if (XVECLEN (x4, 0) != 2)
14493 : return -1;
14494 6 : x9 = XVECEXP (x4, 0, 0);
14495 6 : operands[1] = x9;
14496 6 : x10 = XVECEXP (x4, 0, 1);
14497 6 : operands[2] = x10;
14498 6 : x8 = XEXP (x3, 1);
14499 6 : operands[3] = x8;
14500 6 : switch (XINT (x4, 1))
14501 : {
14502 0 : case 157:
14503 0 : switch (GET_MODE (operands[0]))
14504 : {
14505 0 : case E_DImode:
14506 0 : switch (pattern1131 (x2,
14507 : E_DImode))
14508 : {
14509 : case 0:
14510 : if (!insn_condition_619 (operands, insn))
14511 : return -1;
14512 : return 6858; /* *avx512bw_testmv64qi3_zext_mask */
14513 :
14514 0 : case 1:
14515 0 : if (!insn_condition_620 (operands, insn))
14516 0 : return -1;
14517 : return 6861; /* *avx512vl_testmv32qi3_zext_mask */
14518 :
14519 0 : case 2:
14520 0 : if (!insn_condition_621 (operands, insn))
14521 0 : return -1;
14522 : return 6867; /* *avx512bw_testmv32hi3_zext_mask */
14523 :
14524 0 : case 3:
14525 0 : if (!insn_condition_622 (operands, insn))
14526 0 : return -1;
14527 : return 6864; /* *avx512vl_testmv16qi3_zext_mask */
14528 :
14529 0 : case 4:
14530 0 : if (!insn_condition_622 (operands, insn))
14531 0 : return -1;
14532 : return 6870; /* *avx512vl_testmv16hi3_zext_mask */
14533 :
14534 0 : case 5:
14535 0 : if (!insn_condition_623 (operands, insn))
14536 0 : return -1;
14537 : return 6876; /* *avx512f_testmv16si3_zext_mask */
14538 :
14539 0 : case 6:
14540 0 : if (!insn_condition_624 (operands, insn))
14541 0 : return -1;
14542 : return 6873; /* *avx512vl_testmv8hi3_zext_mask */
14543 :
14544 0 : case 7:
14545 0 : if (!insn_condition_625 (operands, insn))
14546 0 : return -1;
14547 : return 6879; /* *avx512vl_testmv8si3_zext_mask */
14548 :
14549 0 : case 8:
14550 0 : if (!insn_condition_625 (operands, insn))
14551 0 : return -1;
14552 : return 6882; /* *avx512vl_testmv4si3_zext_mask */
14553 :
14554 0 : case 9:
14555 0 : if (!insn_condition_626 (operands, insn))
14556 0 : return -1;
14557 : return 6885; /* *avx512f_testmv8di3_zext_mask */
14558 :
14559 0 : case 10:
14560 0 : if (!insn_condition_625 (operands, insn))
14561 0 : return -1;
14562 : return 6888; /* *avx512vl_testmv4di3_zext_mask */
14563 :
14564 0 : case 11:
14565 0 : if (!insn_condition_625 (operands, insn))
14566 0 : return -1;
14567 : return 6891; /* *avx512vl_testmv2di3_zext_mask */
14568 :
14569 : default:
14570 : return -1;
14571 : }
14572 :
14573 0 : case E_SImode:
14574 0 : switch (pattern1131 (x2,
14575 : E_SImode))
14576 : {
14577 : case 0:
14578 : if (!insn_condition_627 (operands, insn))
14579 : return -1;
14580 : return 6859; /* *avx512bw_testmv64qi3_zext_mask */
14581 :
14582 : case 1:
14583 : if (!insn_condition_628 (operands, insn))
14584 : return -1;
14585 : return 6862; /* *avx512vl_testmv32qi3_zext_mask */
14586 :
14587 : case 2:
14588 : if (!insn_condition_629 (operands, insn))
14589 : return -1;
14590 : return 6868; /* *avx512bw_testmv32hi3_zext_mask */
14591 :
14592 0 : case 3:
14593 0 : if (!insn_condition_630 (operands, insn))
14594 0 : return -1;
14595 : return 6865; /* *avx512vl_testmv16qi3_zext_mask */
14596 :
14597 0 : case 4:
14598 0 : if (!insn_condition_630 (operands, insn))
14599 0 : return -1;
14600 : return 6871; /* *avx512vl_testmv16hi3_zext_mask */
14601 :
14602 0 : case 5:
14603 0 : if (!insn_condition_631 (operands, insn))
14604 0 : return -1;
14605 : return 6877; /* *avx512f_testmv16si3_zext_mask */
14606 :
14607 0 : case 6:
14608 0 : if (!insn_condition_632 (operands, insn))
14609 0 : return -1;
14610 : return 6874; /* *avx512vl_testmv8hi3_zext_mask */
14611 :
14612 0 : case 7:
14613 0 : if (!insn_condition_633 (operands, insn))
14614 0 : return -1;
14615 : return 6880; /* *avx512vl_testmv8si3_zext_mask */
14616 :
14617 0 : case 8:
14618 0 : if (!insn_condition_633 (operands, insn))
14619 0 : return -1;
14620 : return 6883; /* *avx512vl_testmv4si3_zext_mask */
14621 :
14622 0 : case 9:
14623 0 : if (!insn_condition_634 (operands, insn))
14624 0 : return -1;
14625 : return 6886; /* *avx512f_testmv8di3_zext_mask */
14626 :
14627 0 : case 10:
14628 0 : if (!insn_condition_633 (operands, insn))
14629 0 : return -1;
14630 : return 6889; /* *avx512vl_testmv4di3_zext_mask */
14631 :
14632 0 : case 11:
14633 0 : if (!insn_condition_633 (operands, insn))
14634 0 : return -1;
14635 : return 6892; /* *avx512vl_testmv2di3_zext_mask */
14636 :
14637 : default:
14638 : return -1;
14639 : }
14640 :
14641 : default:
14642 : return -1;
14643 : }
14644 :
14645 0 : case 158:
14646 0 : switch (GET_MODE (operands[0]))
14647 : {
14648 0 : case E_DImode:
14649 0 : switch (pattern1131 (x2,
14650 : E_DImode))
14651 : {
14652 : case 0:
14653 : if (!insn_condition_619 (operands, insn))
14654 : return -1;
14655 : return 6930; /* *avx512bw_testnmv64qi3_zext_mask */
14656 :
14657 0 : case 1:
14658 0 : if (!insn_condition_620 (operands, insn))
14659 0 : return -1;
14660 : return 6933; /* *avx512vl_testnmv32qi3_zext_mask */
14661 :
14662 0 : case 2:
14663 0 : if (!insn_condition_621 (operands, insn))
14664 0 : return -1;
14665 : return 6939; /* *avx512bw_testnmv32hi3_zext_mask */
14666 :
14667 0 : case 3:
14668 0 : if (!insn_condition_622 (operands, insn))
14669 0 : return -1;
14670 : return 6936; /* *avx512vl_testnmv16qi3_zext_mask */
14671 :
14672 0 : case 4:
14673 0 : if (!insn_condition_622 (operands, insn))
14674 0 : return -1;
14675 : return 6942; /* *avx512vl_testnmv16hi3_zext_mask */
14676 :
14677 0 : case 5:
14678 0 : if (!insn_condition_623 (operands, insn))
14679 0 : return -1;
14680 : return 6948; /* *avx512f_testnmv16si3_zext_mask */
14681 :
14682 0 : case 6:
14683 0 : if (!insn_condition_624 (operands, insn))
14684 0 : return -1;
14685 : return 6945; /* *avx512vl_testnmv8hi3_zext_mask */
14686 :
14687 0 : case 7:
14688 0 : if (!insn_condition_625 (operands, insn))
14689 0 : return -1;
14690 : return 6951; /* *avx512vl_testnmv8si3_zext_mask */
14691 :
14692 0 : case 8:
14693 0 : if (!insn_condition_625 (operands, insn))
14694 0 : return -1;
14695 : return 6954; /* *avx512vl_testnmv4si3_zext_mask */
14696 :
14697 0 : case 9:
14698 0 : if (!insn_condition_626 (operands, insn))
14699 0 : return -1;
14700 : return 6957; /* *avx512f_testnmv8di3_zext_mask */
14701 :
14702 0 : case 10:
14703 0 : if (!insn_condition_625 (operands, insn))
14704 0 : return -1;
14705 : return 6960; /* *avx512vl_testnmv4di3_zext_mask */
14706 :
14707 0 : case 11:
14708 0 : if (!insn_condition_625 (operands, insn))
14709 0 : return -1;
14710 : return 6963; /* *avx512vl_testnmv2di3_zext_mask */
14711 :
14712 : default:
14713 : return -1;
14714 : }
14715 :
14716 0 : case E_SImode:
14717 0 : switch (pattern1131 (x2,
14718 : E_SImode))
14719 : {
14720 : case 0:
14721 : if (!insn_condition_627 (operands, insn))
14722 : return -1;
14723 : return 6931; /* *avx512bw_testnmv64qi3_zext_mask */
14724 :
14725 : case 1:
14726 : if (!insn_condition_628 (operands, insn))
14727 : return -1;
14728 : return 6934; /* *avx512vl_testnmv32qi3_zext_mask */
14729 :
14730 : case 2:
14731 : if (!insn_condition_629 (operands, insn))
14732 : return -1;
14733 : return 6940; /* *avx512bw_testnmv32hi3_zext_mask */
14734 :
14735 0 : case 3:
14736 0 : if (!insn_condition_630 (operands, insn))
14737 0 : return -1;
14738 : return 6937; /* *avx512vl_testnmv16qi3_zext_mask */
14739 :
14740 0 : case 4:
14741 0 : if (!insn_condition_630 (operands, insn))
14742 0 : return -1;
14743 : return 6943; /* *avx512vl_testnmv16hi3_zext_mask */
14744 :
14745 0 : case 5:
14746 0 : if (!insn_condition_631 (operands, insn))
14747 0 : return -1;
14748 : return 6949; /* *avx512f_testnmv16si3_zext_mask */
14749 :
14750 0 : case 6:
14751 0 : if (!insn_condition_632 (operands, insn))
14752 0 : return -1;
14753 : return 6946; /* *avx512vl_testnmv8hi3_zext_mask */
14754 :
14755 0 : case 7:
14756 0 : if (!insn_condition_633 (operands, insn))
14757 0 : return -1;
14758 : return 6952; /* *avx512vl_testnmv8si3_zext_mask */
14759 :
14760 0 : case 8:
14761 0 : if (!insn_condition_633 (operands, insn))
14762 0 : return -1;
14763 : return 6955; /* *avx512vl_testnmv4si3_zext_mask */
14764 :
14765 0 : case 9:
14766 0 : if (!insn_condition_634 (operands, insn))
14767 0 : return -1;
14768 : return 6958; /* *avx512f_testnmv8di3_zext_mask */
14769 :
14770 0 : case 10:
14771 0 : if (!insn_condition_633 (operands, insn))
14772 0 : return -1;
14773 : return 6961; /* *avx512vl_testnmv4di3_zext_mask */
14774 :
14775 0 : case 11:
14776 0 : if (!insn_condition_633 (operands, insn))
14777 0 : return -1;
14778 : return 6964; /* *avx512vl_testnmv2di3_zext_mask */
14779 :
14780 : default:
14781 : return -1;
14782 : }
14783 :
14784 : default:
14785 : return -1;
14786 : }
14787 :
14788 : default:
14789 : return -1;
14790 : }
14791 :
14792 : default:
14793 : return -1;
14794 : }
14795 : }
14796 :
14797 : int
14798 2330834 : recog_93 (rtx x1 ATTRIBUTE_UNUSED,
14799 : rtx_insn *insn ATTRIBUTE_UNUSED,
14800 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14801 : {
14802 2330834 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14803 2330834 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14804 2330834 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
14805 2330834 : rtx x18;
14806 2330834 : int res ATTRIBUTE_UNUSED;
14807 2330834 : x2 = XEXP (x1, 0);
14808 2330834 : operands[0] = x2;
14809 2330834 : x3 = XEXP (x1, 1);
14810 2330834 : x4 = XEXP (x3, 0);
14811 2330834 : switch (GET_CODE (x4))
14812 : {
14813 299031 : case ASHIFT:
14814 299031 : return recog_92 (x1, insn, pnum_clobbers);
14815 :
14816 892171 : case REG:
14817 892171 : case SUBREG:
14818 892171 : case MEM:
14819 892171 : operands[1] = x4;
14820 892171 : x5 = XEXP (x3, 1);
14821 892171 : operands[2] = x5;
14822 892171 : switch (pattern471 (x3))
14823 : {
14824 124156 : case 0:
14825 124156 : if (pnum_clobbers != NULL
14826 123571 : && x86_64_hilo_general_operand (operands[2], E_DImode)
14827 220312 : && insn_condition_752 (operands, insn))
14828 : {
14829 16660 : *pnum_clobbers = 1;
14830 16660 : return 851; /* *iordi3_doubleword */
14831 : }
14832 107496 : if (x86_64_general_operand (operands[2], E_DImode))
14833 : {
14834 80087 : if (insn_condition_753 (operands, insn))
14835 : return 863; /* *iordi_1_nf */
14836 80073 : if (pnum_clobbers != NULL
14837 80073 : && insn_condition_754 (operands, insn))
14838 : {
14839 65399 : *pnum_clobbers = 1;
14840 65399 : return 864; /* *iordi_1 */
14841 : }
14842 : }
14843 42083 : if (pnum_clobbers == NULL
14844 41498 : || !const_int_operand (operands[2], E_DImode)
14845 61820 : || !insn_condition_755 (operands, insn))
14846 : return -1;
14847 2107 : *pnum_clobbers = 1;
14848 2107 : return 870; /* *iordi_1_bts */
14849 :
14850 149124 : case 1:
14851 149124 : if (insn_condition_756 (operands, insn))
14852 : return 859; /* *iorsi_1_nf */
14853 149100 : if (pnum_clobbers == NULL
14854 149100 : || !insn_condition_757 (operands, insn))
14855 : return -1;
14856 82258 : *pnum_clobbers = 1;
14857 82258 : return 860; /* *iorsi_1 */
14858 :
14859 : default:
14860 : return -1;
14861 : }
14862 :
14863 71213 : case ZERO_EXTEND:
14864 71213 : if (GET_MODE (x4) != E_DImode
14865 19804 : || GET_MODE (x3) != E_DImode)
14866 : return -1;
14867 19804 : switch (pattern475 (x3))
14868 : {
14869 87 : case 0:
14870 87 : if (pnum_clobbers != NULL)
14871 : {
14872 84 : x5 = XEXP (x3, 1);
14873 84 : operands[2] = x5;
14874 84 : if (x86_64_zext_immediate_operand (operands[2], E_DImode)
14875 9 : && register_operand (operands[0], E_DImode)
14876 93 : && insn_condition_717 (operands, insn))
14877 : {
14878 7 : *pnum_clobbers = 1;
14879 7 : return 897; /* *iorsi_1_zext_imm */
14880 : }
14881 : }
14882 80 : x5 = XEXP (x3, 1);
14883 80 : operands[2] = x5;
14884 80 : if (!const_scalar_int_operand (operands[2], E_DImode)
14885 80 : || !nonimmediate_operand (operands[0], E_DImode)
14886 158 : || !insn_condition_594 (operands, insn))
14887 5 : return -1;
14888 : return 983; /* *concatsidi3_7 */
14889 :
14890 0 : case 1:
14891 0 : if (!insn_condition_593 (operands, insn))
14892 0 : return -1;
14893 : return 935; /* *concatsidi3_2 */
14894 :
14895 0 : case 2:
14896 0 : if (!insn_condition_593 (operands, insn))
14897 0 : return -1;
14898 : return 953; /* *concatsidi3_4 */
14899 :
14900 0 : case 3:
14901 0 : if (!insn_condition_593 (operands, insn))
14902 0 : return -1;
14903 : return 956; /* *concatsidi3_4 */
14904 :
14905 : default:
14906 : return -1;
14907 : }
14908 :
14909 33177 : case LSHIFTRT:
14910 33177 : switch (pattern151 (x3, pnum_clobbers))
14911 : {
14912 184 : case 0:
14913 184 : x5 = XEXP (x3, 1);
14914 184 : x6 = XEXP (x5, 0);
14915 184 : x7 = XEXP (x6, 0);
14916 184 : x8 = XEXP (x7, 0);
14917 184 : operands[1] = x8;
14918 184 : if (nonimmediate_operand (operands[0], E_DImode))
14919 : {
14920 184 : res = recog_91 (x1, insn, pnum_clobbers);
14921 184 : if (res >= 0)
14922 : return res;
14923 : }
14924 174 : operands[2] = x8;
14925 174 : if (!register_operand (operands[0], E_DImode))
14926 : return -1;
14927 171 : x9 = XEXP (x4, 0);
14928 171 : operands[1] = x9;
14929 171 : if (!nonimmediate_operand (operands[1], E_DImode))
14930 : return -1;
14931 168 : x10 = XEXP (x4, 1);
14932 168 : x11 = XEXP (x10, 0);
14933 168 : operands[3] = x11;
14934 168 : x12 = XEXP (x6, 1);
14935 168 : x13 = XEXP (x12, 1);
14936 168 : x14 = XEXP (x13, 0);
14937 168 : if (!rtx_equal_p (x14, operands[3]))
14938 : return -1;
14939 168 : if (insn_condition_297 (operands, insn))
14940 : return 1234; /* x86_64_shrd_ndd_nf */
14941 168 : if (pnum_clobbers == NULL
14942 168 : || !insn_condition_298 (operands, insn))
14943 : return -1;
14944 0 : *pnum_clobbers = 1;
14945 0 : return 1235; /* x86_64_shrd_ndd */
14946 :
14947 1 : case 1:
14948 1 : x5 = XEXP (x3, 1);
14949 1 : x6 = XEXP (x5, 0);
14950 1 : x7 = XEXP (x6, 0);
14951 1 : x8 = XEXP (x7, 0);
14952 1 : operands[1] = x8;
14953 1 : if (nonimmediate_operand (operands[0], E_SImode))
14954 : {
14955 1 : x10 = XEXP (x4, 1);
14956 1 : x11 = XEXP (x10, 0);
14957 1 : operands[2] = x11;
14958 1 : x9 = XEXP (x4, 0);
14959 1 : if (rtx_equal_p (x9, operands[0]))
14960 : {
14961 0 : x12 = XEXP (x6, 1);
14962 0 : x13 = XEXP (x12, 1);
14963 0 : x14 = XEXP (x13, 0);
14964 0 : if (rtx_equal_p (x14, operands[2]))
14965 : {
14966 0 : if (insn_condition_584 (operands, insn))
14967 : return 1264; /* x86_shrd_nf */
14968 0 : if (pnum_clobbers != NULL)
14969 : {
14970 0 : *pnum_clobbers = 1;
14971 0 : return 1265; /* x86_shrd */
14972 : }
14973 : }
14974 : }
14975 : }
14976 1 : operands[2] = x8;
14977 1 : if (!register_operand (operands[0], E_SImode))
14978 : return -1;
14979 0 : x9 = XEXP (x4, 0);
14980 0 : operands[1] = x9;
14981 0 : if (!nonimmediate_operand (operands[1], E_SImode))
14982 : return -1;
14983 0 : x10 = XEXP (x4, 1);
14984 0 : x11 = XEXP (x10, 0);
14985 0 : operands[3] = x11;
14986 0 : x12 = XEXP (x6, 1);
14987 0 : x13 = XEXP (x12, 1);
14988 0 : x14 = XEXP (x13, 0);
14989 0 : if (!rtx_equal_p (x14, operands[3]))
14990 : return -1;
14991 0 : if (insn_condition_297 (operands, insn))
14992 : return 1270; /* x86_shrd_ndd_nf */
14993 0 : if (pnum_clobbers == NULL
14994 0 : || !insn_condition_298 (operands, insn))
14995 : return -1;
14996 0 : *pnum_clobbers = 1;
14997 0 : return 1271; /* x86_shrd_ndd */
14998 :
14999 157 : case 2:
15000 157 : x10 = XEXP (x4, 1);
15001 157 : operands[2] = x10;
15002 157 : if (pattern1406 (x3) == 0)
15003 : {
15004 1 : if (insn_condition_564 (operands, insn))
15005 : return 1240; /* x86_64_shrd_1_nf */
15006 0 : if (pnum_clobbers != NULL
15007 0 : && insn_condition_565 (operands, insn))
15008 : {
15009 0 : *pnum_clobbers = 1;
15010 0 : return 1241; /* x86_64_shrd_1 */
15011 : }
15012 : }
15013 156 : operands[3] = x10;
15014 156 : if (pattern1407 (x3) != 0)
15015 : return -1;
15016 139 : if (insn_condition_566 (operands, insn))
15017 : return 1246; /* x86_64_shrd_ndd_1_nf */
15018 139 : if (pnum_clobbers == NULL
15019 139 : || !insn_condition_567 (operands, insn))
15020 : return -1;
15021 0 : *pnum_clobbers = 1;
15022 0 : return 1247; /* x86_64_shrd_ndd_1 */
15023 :
15024 31 : case 3:
15025 31 : x10 = XEXP (x4, 1);
15026 31 : operands[2] = x10;
15027 31 : if (pattern1408 (x3) == 0)
15028 : {
15029 0 : if (insn_condition_568 (operands, insn))
15030 : return 1276; /* x86_shrd_1_nf */
15031 0 : if (pnum_clobbers != NULL
15032 0 : && insn_condition_569 (operands, insn))
15033 : {
15034 0 : *pnum_clobbers = 1;
15035 0 : return 1277; /* x86_shrd_1 */
15036 : }
15037 : }
15038 31 : operands[3] = x10;
15039 31 : if (pattern1409 (x3) != 0)
15040 : return -1;
15041 21 : if (insn_condition_570 (operands, insn))
15042 : return 1282; /* x86_shrd_ndd_1_nf */
15043 21 : if (pnum_clobbers == NULL
15044 21 : || !insn_condition_571 (operands, insn))
15045 : return -1;
15046 0 : *pnum_clobbers = 1;
15047 0 : return 1283; /* x86_shrd_ndd_1 */
15048 :
15049 357 : case 4:
15050 357 : if (insn_condition_578 (operands, insn))
15051 : return 1251; /* *x86_64_shrd_shld_1_nozext_nf */
15052 357 : if (pnum_clobbers == NULL
15053 357 : || !insn_condition_579 (operands, insn))
15054 : return -1;
15055 0 : *pnum_clobbers = 1;
15056 0 : return 1254; /* *x86_64_shrd_shld_1_nozext */
15057 :
15058 94 : case 5:
15059 94 : if (insn_condition_580 (operands, insn))
15060 : return 1287; /* *x86_shrd_shld_1_nozext_nf */
15061 94 : if (pnum_clobbers == NULL
15062 94 : || !insn_condition_581 (operands, insn))
15063 : return -1;
15064 0 : *pnum_clobbers = 1;
15065 0 : return 1290; /* *x86_shrd_shld_1_nozext */
15066 :
15067 78 : case 6:
15068 78 : x5 = XEXP (x3, 1);
15069 78 : x6 = XEXP (x5, 0);
15070 78 : operands[1] = x6;
15071 78 : if (nonimmediate_operand (operands[0], E_DImode))
15072 : {
15073 78 : x10 = XEXP (x4, 1);
15074 78 : operands[2] = x10;
15075 78 : x9 = XEXP (x4, 0);
15076 78 : if (rtx_equal_p (x9, operands[0]))
15077 : {
15078 0 : x15 = XEXP (x5, 1);
15079 0 : x16 = XEXP (x15, 1);
15080 0 : if (rtx_equal_p (x16, operands[2])
15081 0 : && insn_condition_582 (operands, insn))
15082 : {
15083 0 : *pnum_clobbers = 1;
15084 0 : return 1257; /* *x86_64_shrd_2 */
15085 : }
15086 : }
15087 : }
15088 78 : operands[2] = x6;
15089 78 : if (!register_operand (operands[0], E_DImode))
15090 : return -1;
15091 78 : x9 = XEXP (x4, 0);
15092 78 : operands[1] = x9;
15093 78 : if (!nonimmediate_operand (operands[1], E_DImode))
15094 : return -1;
15095 78 : x10 = XEXP (x4, 1);
15096 78 : operands[3] = x10;
15097 78 : x15 = XEXP (x5, 1);
15098 78 : x16 = XEXP (x15, 1);
15099 78 : if (!rtx_equal_p (x16, operands[3])
15100 78 : || !insn_condition_606 (operands, insn))
15101 : return -1;
15102 0 : *pnum_clobbers = 1;
15103 0 : return 1260; /* *x86_64_shrd_ndd_2 */
15104 :
15105 13 : case 7:
15106 13 : x5 = XEXP (x3, 1);
15107 13 : x6 = XEXP (x5, 0);
15108 13 : operands[1] = x6;
15109 13 : if (nonimmediate_operand (operands[0], E_SImode))
15110 : {
15111 13 : x10 = XEXP (x4, 1);
15112 13 : operands[2] = x10;
15113 13 : x9 = XEXP (x4, 0);
15114 13 : if (rtx_equal_p (x9, operands[0]))
15115 : {
15116 0 : x15 = XEXP (x5, 1);
15117 0 : x16 = XEXP (x15, 1);
15118 0 : if (rtx_equal_p (x16, operands[2])
15119 0 : && insn_condition_582 (operands, insn))
15120 : {
15121 0 : *pnum_clobbers = 1;
15122 0 : return 1293; /* *x86_shrd_2 */
15123 : }
15124 : }
15125 : }
15126 13 : operands[2] = x6;
15127 13 : if (!register_operand (operands[0], E_SImode))
15128 : return -1;
15129 10 : x9 = XEXP (x4, 0);
15130 10 : operands[1] = x9;
15131 10 : if (!nonimmediate_operand (operands[1], E_SImode))
15132 : return -1;
15133 8 : x10 = XEXP (x4, 1);
15134 8 : operands[3] = x10;
15135 8 : x15 = XEXP (x5, 1);
15136 8 : x16 = XEXP (x15, 1);
15137 8 : if (!rtx_equal_p (x16, operands[3])
15138 8 : || !insn_condition_583 (operands, insn))
15139 : return -1;
15140 0 : *pnum_clobbers = 1;
15141 0 : return 1296; /* *x86_shrd_ndd_2 */
15142 :
15143 : default:
15144 : return -1;
15145 : }
15146 :
15147 7919 : case NOT:
15148 7919 : if (pnum_clobbers == NULL)
15149 : return -1;
15150 7919 : x9 = XEXP (x4, 0);
15151 7919 : if (GET_CODE (x9) != PLUS)
15152 : return -1;
15153 2 : x17 = XEXP (x9, 1);
15154 2 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
15155 : return -1;
15156 0 : x18 = XEXP (x9, 0);
15157 0 : operands[1] = x18;
15158 0 : x5 = XEXP (x3, 1);
15159 0 : if (!rtx_equal_p (x5, operands[1]))
15160 : return -1;
15161 0 : switch (GET_MODE (operands[0]))
15162 : {
15163 0 : case E_SImode:
15164 0 : if (pattern1027 (x3,
15165 : E_SImode) != 0
15166 0 : || !insn_condition_758 (operands, insn))
15167 : return -1;
15168 0 : *pnum_clobbers = 1;
15169 0 : return 1746; /* *tbm_blci_si */
15170 :
15171 0 : case E_DImode:
15172 0 : if (pattern1027 (x3,
15173 : E_DImode) != 0
15174 0 : || !insn_condition_759 (operands, insn))
15175 : return -1;
15176 0 : *pnum_clobbers = 1;
15177 0 : return 1747; /* *tbm_blci_di */
15178 :
15179 : default:
15180 : return -1;
15181 : }
15182 :
15183 27202 : case PLUS:
15184 27202 : if (pnum_clobbers == NULL)
15185 : return -1;
15186 27061 : x10 = XEXP (x4, 1);
15187 27061 : if (GET_CODE (x10) != CONST_INT)
15188 : return -1;
15189 9094 : x9 = XEXP (x4, 0);
15190 9094 : operands[1] = x9;
15191 9094 : switch (XWINT (x10, 0))
15192 : {
15193 1050 : case 1L:
15194 1050 : switch (pattern793 (x3))
15195 : {
15196 0 : case 0:
15197 0 : if (!insn_condition_758 (operands, insn))
15198 : return -1;
15199 0 : *pnum_clobbers = 1;
15200 0 : return 1752; /* *tbm_blcs_si */
15201 :
15202 4 : case 1:
15203 4 : if (!insn_condition_759 (operands, insn))
15204 : return -1;
15205 0 : *pnum_clobbers = 1;
15206 0 : return 1753; /* *tbm_blcs_di */
15207 :
15208 0 : case 2:
15209 0 : if (!insn_condition_758 (operands, insn))
15210 : return -1;
15211 0 : *pnum_clobbers = 1;
15212 0 : return 1758; /* *tbm_t1mskc_si */
15213 :
15214 0 : case 3:
15215 0 : if (!insn_condition_759 (operands, insn))
15216 : return -1;
15217 0 : *pnum_clobbers = 1;
15218 0 : return 1759; /* *tbm_t1mskc_di */
15219 :
15220 : default:
15221 : return -1;
15222 : }
15223 :
15224 1206 : case -1L:
15225 1206 : switch (pattern793 (x3))
15226 : {
15227 34 : case 0:
15228 34 : if (!insn_condition_758 (operands, insn))
15229 : return -1;
15230 0 : *pnum_clobbers = 1;
15231 0 : return 1754; /* *tbm_blsfill_si */
15232 :
15233 318 : case 1:
15234 318 : if (!insn_condition_759 (operands, insn))
15235 : return -1;
15236 0 : *pnum_clobbers = 1;
15237 0 : return 1755; /* *tbm_blsfill_di */
15238 :
15239 0 : case 2:
15240 0 : if (!insn_condition_758 (operands, insn))
15241 : return -1;
15242 0 : *pnum_clobbers = 1;
15243 0 : return 1756; /* *tbm_blsic_si */
15244 :
15245 0 : case 3:
15246 0 : if (!insn_condition_759 (operands, insn))
15247 : return -1;
15248 0 : *pnum_clobbers = 1;
15249 0 : return 1757; /* *tbm_blsic_di */
15250 :
15251 : default:
15252 : return -1;
15253 : }
15254 :
15255 : default:
15256 : return -1;
15257 : }
15258 :
15259 645120 : case AND:
15260 645120 : if (pnum_clobbers == NULL
15261 645112 : || GET_MODE (x4) != E_SImode)
15262 : return -1;
15263 60083 : x10 = XEXP (x4, 1);
15264 60083 : if (GET_CODE (x10) != CONST_INT
15265 57837 : || XWINT (x10, 0) != -65536L)
15266 : return -1;
15267 77 : x5 = XEXP (x3, 1);
15268 77 : if (GET_CODE (x5) != LSHIFTRT
15269 0 : || GET_MODE (x5) != E_SImode)
15270 : return -1;
15271 0 : x6 = XEXP (x5, 0);
15272 0 : if (GET_CODE (x6) != BSWAP
15273 0 : || GET_MODE (x6) != E_SImode)
15274 : return -1;
15275 0 : x15 = XEXP (x5, 1);
15276 0 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 16]
15277 0 : || !register_operand (operands[0], E_SImode)
15278 0 : || GET_MODE (x3) != E_SImode)
15279 : return -1;
15280 0 : x9 = XEXP (x4, 0);
15281 0 : operands[1] = x9;
15282 0 : if (!register_operand (operands[1], E_SImode))
15283 : return -1;
15284 0 : x7 = XEXP (x6, 0);
15285 0 : if (!rtx_equal_p (x7, operands[1]))
15286 : return -1;
15287 0 : *pnum_clobbers = 1;
15288 0 : return 1785; /* bswaphisi2_lowpart */
15289 :
15290 : default:
15291 : return -1;
15292 : }
15293 : }
15294 :
15295 : int
15296 15298043 : recog_102 (rtx x1 ATTRIBUTE_UNUSED,
15297 : rtx_insn *insn ATTRIBUTE_UNUSED,
15298 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15299 : {
15300 15298043 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15301 15298043 : rtx x2, x3, x4, x5, x6, x7;
15302 15298043 : int res ATTRIBUTE_UNUSED;
15303 15298043 : x2 = XEXP (x1, 1);
15304 15298043 : x3 = XEXP (x2, 0);
15305 15298043 : switch (GET_CODE (x3))
15306 : {
15307 15297341 : case NE:
15308 15297341 : case EQ:
15309 15297341 : case GE:
15310 15297341 : case GT:
15311 15297341 : case LE:
15312 15297341 : case LT:
15313 15297341 : case LTGT:
15314 15297341 : case GEU:
15315 15297341 : case GTU:
15316 15297341 : case LEU:
15317 15297341 : case LTU:
15318 15297341 : case UNORDERED:
15319 15297341 : case ORDERED:
15320 15297341 : case UNEQ:
15321 15297341 : case UNGE:
15322 15297341 : case UNGT:
15323 15297341 : case UNLE:
15324 15297341 : case UNLT:
15325 15297341 : if (pnum_clobbers != NULL)
15326 : {
15327 13996647 : res = recog_101 (x1, insn, pnum_clobbers);
15328 13996647 : if (res >= 0)
15329 : return res;
15330 : }
15331 15296749 : operands[1] = x3;
15332 15296749 : if (!ix86_comparison_operator (operands[1], E_VOIDmode))
15333 : return -1;
15334 12761081 : switch (pattern285 (x1))
15335 : {
15336 2495179 : case 0:
15337 2495179 : switch (GET_MODE (operands[0]))
15338 : {
15339 767394 : case E_SImode:
15340 767394 : if (pattern1307 (x2,
15341 : E_SImode) != 0
15342 767394 : || !insn_condition_2 (operands, insn))
15343 278629 : return -1;
15344 : return 1941; /* *movsicc_noc */
15345 :
15346 1192663 : case E_DImode:
15347 1192663 : if (pattern1307 (x2,
15348 : E_DImode) != 0
15349 1192663 : || !insn_condition_783 (operands, insn))
15350 497674 : return -1;
15351 : return 1942; /* *movdicc_noc */
15352 :
15353 : default:
15354 : return -1;
15355 : }
15356 :
15357 11 : case 1:
15358 11 : if (!register_operand (operands[0], E_DImode)
15359 11 : || GET_MODE (x2) != E_DImode)
15360 : return -1;
15361 11 : x4 = XEXP (x2, 1);
15362 11 : x5 = XEXP (x4, 0);
15363 11 : operands[2] = x5;
15364 11 : if (!nonimmediate_operand (operands[2], E_SImode))
15365 : return -1;
15366 0 : x6 = XEXP (x2, 2);
15367 0 : x7 = XEXP (x6, 0);
15368 0 : operands[3] = x7;
15369 0 : if (!nonimmediate_operand (operands[3], E_SImode)
15370 0 : || !insn_condition_729 (operands, insn))
15371 0 : return -1;
15372 : return 1943; /* *movsicc_noc_zext */
15373 :
15374 : default:
15375 : return -1;
15376 : }
15377 :
15378 : default:
15379 : return -1;
15380 : }
15381 : }
15382 :
15383 : int
15384 2012906 : recog_105 (rtx x1 ATTRIBUTE_UNUSED,
15385 : rtx_insn *insn ATTRIBUTE_UNUSED,
15386 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15387 : {
15388 2012906 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15389 2012906 : rtx x2, x3;
15390 2012906 : int res ATTRIBUTE_UNUSED;
15391 2012906 : x2 = XEXP (x1, 1);
15392 2012906 : x3 = XEXP (x2, 1);
15393 2012906 : operands[2] = x3;
15394 2012906 : switch (pattern471 (x2))
15395 : {
15396 522293 : case 0:
15397 522293 : if (pnum_clobbers != NULL
15398 516755 : && x86_64_hilo_general_operand (operands[2], E_DImode)
15399 829954 : && insn_condition_790 (operands, insn))
15400 : {
15401 28445 : *pnum_clobbers = 1;
15402 28445 : return 735; /* *anddi3_doubleword */
15403 : }
15404 493848 : if (x86_64_szext_general_operand (operands[2], E_DImode))
15405 : {
15406 287586 : if (insn_condition_791 (operands, insn))
15407 : return 737; /* *anddi_1_nf */
15408 287441 : if (pnum_clobbers != NULL
15409 287441 : && insn_condition_792 (operands, insn))
15410 : {
15411 254830 : *pnum_clobbers = 1;
15412 254830 : return 738; /* *anddi_1 */
15413 : }
15414 : }
15415 238873 : if (pnum_clobbers == NULL
15416 233387 : || !const_int_operand (operands[2], E_DImode)
15417 462450 : || !insn_condition_793 (operands, insn))
15418 : return -1;
15419 3042 : *pnum_clobbers = 1;
15420 3042 : return 739; /* *anddi_1_btr */
15421 :
15422 334310 : case 1:
15423 334310 : if (insn_condition_794 (operands, insn))
15424 : return 753; /* *andsi_1_nf */
15425 334220 : if (pnum_clobbers == NULL
15426 334220 : || !insn_condition_795 (operands, insn))
15427 : return -1;
15428 253629 : *pnum_clobbers = 1;
15429 253629 : return 754; /* *andsi_1 */
15430 :
15431 : default:
15432 : return -1;
15433 : }
15434 : }
15435 :
15436 : int
15437 52507 : recog_109 (rtx x1 ATTRIBUTE_UNUSED,
15438 : rtx_insn *insn ATTRIBUTE_UNUSED,
15439 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15440 : {
15441 52507 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15442 52507 : rtx x2, x3, x4;
15443 52507 : int res ATTRIBUTE_UNUSED;
15444 52507 : if (pnum_clobbers == NULL)
15445 : return -1;
15446 51954 : x2 = XEXP (x1, 0);
15447 51954 : operands[0] = x2;
15448 51954 : x3 = XEXP (x1, 1);
15449 51954 : x4 = XEXP (x3, 0);
15450 51954 : operands[1] = x4;
15451 51954 : switch (GET_MODE (operands[0]))
15452 : {
15453 9910 : case E_DImode:
15454 9910 : if (!register_operand (operands[0], E_DImode)
15455 9771 : || GET_MODE (x3) != E_DImode
15456 19681 : || !general_operand (operands[1], E_DImode))
15457 : return -1;
15458 5107 : if (insn_condition_819 (operands, insn))
15459 : {
15460 103 : *pnum_clobbers = 1;
15461 103 : return 1031; /* *absdi2_doubleword */
15462 : }
15463 5004 : if (!insn_condition_820 (operands, insn))
15464 : return -1;
15465 5004 : *pnum_clobbers = 1;
15466 5004 : return 1038; /* *absdi2_1 */
15467 :
15468 4773 : case E_SImode:
15469 4773 : if (!register_operand (operands[0], E_SImode)
15470 4729 : || GET_MODE (x3) != E_SImode
15471 4729 : || !general_operand (operands[1], E_SImode)
15472 7539 : || !insn_condition_821 (operands, insn))
15473 : return -1;
15474 2766 : *pnum_clobbers = 1;
15475 2766 : return 1037; /* *abssi2_1 */
15476 :
15477 : default:
15478 : return -1;
15479 : }
15480 : }
15481 :
15482 : int
15483 2272221 : recog_111 (rtx x1 ATTRIBUTE_UNUSED,
15484 : rtx_insn *insn ATTRIBUTE_UNUSED,
15485 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15486 : {
15487 2272221 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15488 2272221 : rtx x2, x3, x4, x5;
15489 2272221 : int res ATTRIBUTE_UNUSED;
15490 2272221 : x2 = XEXP (x1, 0);
15491 2272221 : operands[0] = x2;
15492 2272221 : x3 = XEXP (x1, 1);
15493 2272221 : x4 = XEXP (x3, 0);
15494 2272221 : switch (GET_CODE (x4))
15495 : {
15496 1216994 : case CONST_INT:
15497 1216994 : case REG:
15498 1216994 : case SUBREG:
15499 1216994 : case MEM:
15500 1216994 : switch (pattern156 (x3, pnum_clobbers))
15501 : {
15502 1180374 : case 0:
15503 1180374 : if (pnum_clobbers != NULL
15504 1150898 : && pattern657 (x3) == 0
15505 1181553 : && insn_condition_826 (operands, insn))
15506 : {
15507 16 : *pnum_clobbers = 1;
15508 16 : return 1088; /* *ashldi3_doubleword_mask */
15509 : }
15510 1180358 : x5 = XEXP (x3, 1);
15511 1180358 : operands[2] = x5;
15512 1180358 : res = recog_110 (x1, insn, pnum_clobbers);
15513 1180358 : if (res >= 0)
15514 : return res;
15515 751130 : if (pnum_clobbers == NULL)
15516 : return -1;
15517 721849 : switch (pattern658 (x3))
15518 : {
15519 5748 : case 0:
15520 5748 : if (!insn_condition_827 (operands, insn))
15521 : return -1;
15522 1549 : *pnum_clobbers = 1;
15523 1549 : return 1376; /* *ashlsi3_mask */
15524 :
15525 1199 : case 1:
15526 1199 : if (!insn_condition_828 (operands, insn))
15527 : return -1;
15528 907 : *pnum_clobbers = 1;
15529 907 : return 1379; /* *ashldi3_mask */
15530 :
15531 0 : case 2:
15532 0 : if (!insn_condition_829 (operands, insn))
15533 : return -1;
15534 0 : *pnum_clobbers = 1;
15535 0 : return 1388; /* *ashlsi3_add */
15536 :
15537 0 : case 3:
15538 0 : if (!insn_condition_830 (operands, insn))
15539 : return -1;
15540 0 : *pnum_clobbers = 1;
15541 0 : return 1391; /* *ashldi3_add */
15542 :
15543 0 : case 4:
15544 0 : if (!insn_condition_831 (operands, insn))
15545 : return -1;
15546 0 : *pnum_clobbers = 1;
15547 0 : return 1400; /* *ashlsi3_sub */
15548 :
15549 0 : case 5:
15550 0 : if (!insn_condition_832 (operands, insn))
15551 : return -1;
15552 0 : *pnum_clobbers = 1;
15553 0 : return 1403; /* *ashldi3_sub */
15554 :
15555 : default:
15556 : return -1;
15557 : }
15558 :
15559 1084 : case 1:
15560 1084 : if (register_operand (operands[0], E_DImode)
15561 1084 : && register_operand (operands[1], E_DImode)
15562 1115 : && insn_condition_826 (operands, insn))
15563 : {
15564 0 : *pnum_clobbers = 1;
15565 0 : return 1090; /* *ashldi3_doubleword_mask_1 */
15566 : }
15567 1084 : if (!nonimmediate_operand (operands[0], E_DImode)
15568 1084 : || !nonimmediate_operand (operands[1], E_DImode)
15569 1115 : || !insn_condition_828 (operands, insn))
15570 : return -1;
15571 3 : *pnum_clobbers = 1;
15572 3 : return 1385; /* *ashldi3_mask_1 */
15573 :
15574 36 : case 2:
15575 36 : if (!insn_condition_827 (operands, insn))
15576 : return -1;
15577 2 : *pnum_clobbers = 1;
15578 2 : return 1382; /* *ashlsi3_mask_1 */
15579 :
15580 3924 : case 3:
15581 3924 : if (!insn_condition_829 (operands, insn))
15582 : return -1;
15583 52 : *pnum_clobbers = 1;
15584 52 : return 1394; /* *ashlsi3_add_1 */
15585 :
15586 7113 : case 4:
15587 7113 : if (!insn_condition_830 (operands, insn))
15588 : return -1;
15589 18 : *pnum_clobbers = 1;
15590 18 : return 1397; /* *ashldi3_add_1 */
15591 :
15592 160 : case 5:
15593 160 : if (!insn_condition_831 (operands, insn))
15594 : return -1;
15595 0 : *pnum_clobbers = 1;
15596 0 : return 1406; /* *ashlsi3_sub_1 */
15597 :
15598 784 : case 6:
15599 784 : if (!insn_condition_832 (operands, insn))
15600 : return -1;
15601 448 : *pnum_clobbers = 1;
15602 448 : return 1409; /* *ashldi3_sub_1 */
15603 :
15604 : default:
15605 : return -1;
15606 : }
15607 :
15608 113359 : case SIGN_EXTEND:
15609 113359 : if (pattern157 (x3, pnum_clobbers) != 0
15610 113359 : || !insn_condition_833 (operands, insn))
15611 : return -1;
15612 24 : *pnum_clobbers = 1;
15613 24 : return 1094; /* *ashldi3_doubleword_highpart */
15614 :
15615 94440 : case ZERO_EXTEND:
15616 94440 : if (pattern157 (x3, pnum_clobbers) != 0
15617 94440 : || !insn_condition_833 (operands, insn))
15618 : return -1;
15619 85 : *pnum_clobbers = 1;
15620 85 : return 1095; /* *ashldi3_doubleword_highpart */
15621 :
15622 : default:
15623 : return -1;
15624 : }
15625 : }
15626 :
15627 : int
15628 2375438 : recog_116 (rtx x1 ATTRIBUTE_UNUSED,
15629 : rtx_insn *insn ATTRIBUTE_UNUSED,
15630 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15631 : {
15632 2375438 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15633 2375438 : rtx x2, x3, x4;
15634 2375438 : int res ATTRIBUTE_UNUSED;
15635 2375438 : x2 = XEXP (x1, 1);
15636 2375438 : if (maybe_ne (SUBREG_BYTE (x2), 0))
15637 : return -1;
15638 2314624 : x3 = XEXP (x1, 0);
15639 2314624 : operands[0] = x3;
15640 2314624 : x4 = XEXP (x2, 0);
15641 2314624 : switch (GET_CODE (x4))
15642 : {
15643 119050 : case LSHIFTRT:
15644 119050 : switch (pattern326 (x2))
15645 : {
15646 43489 : case 0:
15647 43489 : if (insn_condition_859 (operands, insn))
15648 : return 1218; /* lshrdi3_doubleword_lowpart_nf */
15649 43489 : if (pnum_clobbers == NULL
15650 43489 : || !insn_condition_860 (operands, insn))
15651 : return -1;
15652 229 : *pnum_clobbers = 1;
15653 229 : return 1222; /* lshrdi3_doubleword_lowpart */
15654 :
15655 172 : case 1:
15656 172 : if (insn_condition_861 (operands, insn))
15657 : return 1220; /* lshrti3_doubleword_lowpart_nf */
15658 169 : if (pnum_clobbers == NULL
15659 169 : || !insn_condition_862 (operands, insn))
15660 : return -1;
15661 169 : *pnum_clobbers = 1;
15662 169 : return 1224; /* lshrti3_doubleword_lowpart */
15663 :
15664 : default:
15665 : return -1;
15666 : }
15667 :
15668 9746 : case ASHIFTRT:
15669 9746 : switch (pattern326 (x2))
15670 : {
15671 2491 : case 0:
15672 2491 : if (insn_condition_859 (operands, insn))
15673 : return 1219; /* ashrdi3_doubleword_lowpart_nf */
15674 2491 : if (pnum_clobbers == NULL
15675 2491 : || !insn_condition_860 (operands, insn))
15676 : return -1;
15677 21 : *pnum_clobbers = 1;
15678 21 : return 1223; /* ashrdi3_doubleword_lowpart */
15679 :
15680 188 : case 1:
15681 188 : if (insn_condition_861 (operands, insn))
15682 : return 1221; /* ashrti3_doubleword_lowpart_nf */
15683 188 : if (pnum_clobbers == NULL
15684 188 : || !insn_condition_862 (operands, insn))
15685 : return -1;
15686 188 : *pnum_clobbers = 1;
15687 188 : return 1225; /* ashrti3_doubleword_lowpart */
15688 :
15689 : default:
15690 : return -1;
15691 : }
15692 :
15693 85 : case SS_TRUNCATE:
15694 85 : switch (pattern329 (x2))
15695 : {
15696 0 : case 0:
15697 0 : if (!insn_condition_197 (operands, insn))
15698 0 : return -1;
15699 : return 5997; /* *avx512vl_ss_truncatev4siv4qi2_store_2 */
15700 :
15701 0 : case 1:
15702 0 : if (!insn_condition_197 (operands, insn))
15703 0 : return -1;
15704 : return 6000; /* *avx512vl_ss_truncatev4div4qi2_store_2 */
15705 :
15706 0 : case 2:
15707 0 : if (!insn_condition_197 (operands, insn))
15708 0 : return -1;
15709 : return 6094; /* *avx512vl_ss_truncatev2div2hi2_store_2 */
15710 :
15711 0 : case 3:
15712 0 : if (!insn_condition_863 (operands, insn))
15713 0 : return -1;
15714 : return 6027; /* *avx512vl_ss_truncatev8hiv8qi2_store_2 */
15715 :
15716 0 : case 4:
15717 0 : if (!insn_condition_197 (operands, insn))
15718 0 : return -1;
15719 : return 6030; /* *avx512vl_ss_truncatev8siv8qi2_store_2 */
15720 :
15721 0 : case 5:
15722 0 : if (!insn_condition_864 (operands, insn))
15723 0 : return -1;
15724 : return 6131; /* *avx512f_ss_truncatev8div16qi2_store_2 */
15725 :
15726 0 : case 6:
15727 0 : if (!insn_condition_197 (operands, insn))
15728 0 : return -1;
15729 : return 6067; /* *avx512vl_ss_truncatev4siv4hi2_store_2 */
15730 :
15731 0 : case 7:
15732 0 : if (!insn_condition_197 (operands, insn))
15733 0 : return -1;
15734 : return 6070; /* *avx512vl_ss_truncatev4div4hi2_store_2 */
15735 :
15736 0 : case 8:
15737 0 : if (!insn_condition_197 (operands, insn))
15738 0 : return -1;
15739 : return 6113; /* *avx512vl_ss_truncatev2div2si2_store_2 */
15740 :
15741 : default:
15742 : return -1;
15743 : }
15744 :
15745 357 : case TRUNCATE:
15746 357 : switch (pattern329 (x2))
15747 : {
15748 0 : case 0:
15749 0 : if (!insn_condition_197 (operands, insn))
15750 0 : return -1;
15751 : return 5998; /* *avx512vl_truncatev4siv4qi2_store_2 */
15752 :
15753 0 : case 1:
15754 0 : if (!insn_condition_197 (operands, insn))
15755 0 : return -1;
15756 : return 6001; /* *avx512vl_truncatev4div4qi2_store_2 */
15757 :
15758 0 : case 2:
15759 0 : if (!insn_condition_197 (operands, insn))
15760 0 : return -1;
15761 : return 6095; /* *avx512vl_truncatev2div2hi2_store_2 */
15762 :
15763 1 : case 3:
15764 1 : if (!insn_condition_863 (operands, insn))
15765 0 : return -1;
15766 : return 6028; /* *avx512vl_truncatev8hiv8qi2_store_2 */
15767 :
15768 1 : case 4:
15769 1 : if (!insn_condition_197 (operands, insn))
15770 0 : return -1;
15771 : return 6031; /* *avx512vl_truncatev8siv8qi2_store_2 */
15772 :
15773 0 : case 5:
15774 0 : if (!insn_condition_864 (operands, insn))
15775 0 : return -1;
15776 : return 6132; /* *avx512f_truncatev8div16qi2_store_2 */
15777 :
15778 0 : case 6:
15779 0 : if (!insn_condition_197 (operands, insn))
15780 0 : return -1;
15781 : return 6068; /* *avx512vl_truncatev4siv4hi2_store_2 */
15782 :
15783 1 : case 7:
15784 1 : if (!insn_condition_197 (operands, insn))
15785 0 : return -1;
15786 : return 6071; /* *avx512vl_truncatev4div4hi2_store_2 */
15787 :
15788 0 : case 8:
15789 0 : if (!insn_condition_197 (operands, insn))
15790 0 : return -1;
15791 : return 6114; /* *avx512vl_truncatev2div2si2_store_2 */
15792 :
15793 : default:
15794 : return -1;
15795 : }
15796 :
15797 83 : case US_TRUNCATE:
15798 83 : switch (pattern329 (x2))
15799 : {
15800 0 : case 0:
15801 0 : if (!insn_condition_197 (operands, insn))
15802 0 : return -1;
15803 : return 5999; /* *avx512vl_us_truncatev4siv4qi2_store_2 */
15804 :
15805 0 : case 1:
15806 0 : if (!insn_condition_197 (operands, insn))
15807 0 : return -1;
15808 : return 6002; /* *avx512vl_us_truncatev4div4qi2_store_2 */
15809 :
15810 0 : case 2:
15811 0 : if (!insn_condition_197 (operands, insn))
15812 0 : return -1;
15813 : return 6096; /* *avx512vl_us_truncatev2div2hi2_store_2 */
15814 :
15815 0 : case 3:
15816 0 : if (!insn_condition_863 (operands, insn))
15817 0 : return -1;
15818 : return 6029; /* *avx512vl_us_truncatev8hiv8qi2_store_2 */
15819 :
15820 0 : case 4:
15821 0 : if (!insn_condition_197 (operands, insn))
15822 0 : return -1;
15823 : return 6032; /* *avx512vl_us_truncatev8siv8qi2_store_2 */
15824 :
15825 0 : case 5:
15826 0 : if (!insn_condition_864 (operands, insn))
15827 0 : return -1;
15828 : return 6133; /* *avx512f_us_truncatev8div16qi2_store_2 */
15829 :
15830 0 : case 6:
15831 0 : if (!insn_condition_197 (operands, insn))
15832 0 : return -1;
15833 : return 6069; /* *avx512vl_us_truncatev4siv4hi2_store_2 */
15834 :
15835 0 : case 7:
15836 0 : if (!insn_condition_197 (operands, insn))
15837 0 : return -1;
15838 : return 6072; /* *avx512vl_us_truncatev4div4hi2_store_2 */
15839 :
15840 0 : case 8:
15841 0 : if (!insn_condition_197 (operands, insn))
15842 0 : return -1;
15843 : return 6115; /* *avx512vl_us_truncatev2div2si2_store_2 */
15844 :
15845 : default:
15846 : return -1;
15847 : }
15848 :
15849 : default:
15850 : return -1;
15851 : }
15852 : }
15853 :
15854 : int
15855 9947699 : recog_126 (rtx x1 ATTRIBUTE_UNUSED,
15856 : rtx_insn *insn ATTRIBUTE_UNUSED,
15857 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15858 : {
15859 9947699 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15860 9947699 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
15861 9947699 : int res ATTRIBUTE_UNUSED;
15862 9947699 : x2 = XEXP (x1, 1);
15863 9947699 : x3 = XEXP (x2, 0);
15864 9947699 : if (GET_CODE (x3) != MEM
15865 9947687 : || GET_MODE (x3) != E_QImode)
15866 : return -1;
15867 9947687 : x4 = XEXP (x1, 0);
15868 9947687 : operands[0] = x4;
15869 9947687 : x5 = XEXP (x3, 0);
15870 9947687 : operands[1] = x5;
15871 9947687 : x6 = XEXP (x2, 1);
15872 9947687 : operands[2] = x6;
15873 9947687 : if (call_insn_operand (operands[1], E_SImode)
15874 9947687 : && insn_condition_925 (operands, insn))
15875 : return 1605; /* *call_value */
15876 8643646 : if (call_insn_operand (operands[1], E_DImode)
15877 8643646 : && insn_condition_926 (operands, insn))
15878 : return 1606; /* *call_value */
15879 167971 : switch (GET_CODE (x5))
15880 : {
15881 14 : case ZERO_EXTEND:
15882 14 : if (GET_MODE (x5) == E_DImode)
15883 : {
15884 14 : x7 = XEXP (x5, 0);
15885 14 : operands[1] = x7;
15886 14 : if (GOT_memory_operand (operands[1], E_SImode))
15887 : {
15888 12 : operands[2] = x6;
15889 12 : if (insn_condition_927 (operands, insn))
15890 : return 1607; /* *call_value_got_x32 */
15891 : }
15892 : }
15893 : break;
15894 :
15895 26259 : case MEM:
15896 26259 : if (GET_MODE (x5) == E_SImode)
15897 : {
15898 2999 : x7 = XEXP (x5, 0);
15899 2999 : if (GET_CODE (x7) == PLUS
15900 2777 : && GET_MODE (x7) == E_SImode)
15901 : {
15902 2777 : x8 = XEXP (x7, 0);
15903 2777 : operands[1] = x8;
15904 2777 : if (register_no_elim_operand (operands[1], E_SImode))
15905 : {
15906 1690 : x9 = XEXP (x7, 1);
15907 1690 : operands[2] = x9;
15908 1690 : if (GOT32_symbol_operand (operands[2], E_SImode))
15909 : {
15910 0 : operands[3] = x6;
15911 0 : if (insn_condition_928 (operands, insn))
15912 : return 1608; /* *sibcall_value_GOT_32 */
15913 : }
15914 : }
15915 : }
15916 : }
15917 : break;
15918 :
15919 : default:
15920 : break;
15921 : }
15922 167971 : operands[1] = x5;
15923 167971 : operands[2] = x6;
15924 167971 : if (sibcall_insn_operand (operands[1], E_SImode)
15925 167971 : && insn_condition_929 (operands, insn))
15926 : return 1609; /* *sibcall_value */
15927 155101 : if (!sibcall_insn_operand (operands[1], E_DImode)
15928 155101 : || !insn_condition_930 (operands, insn))
15929 26502 : return -1;
15930 : return 1610; /* *sibcall_value */
15931 : }
15932 :
15933 : int
15934 3820 : recog_127 (rtx x1 ATTRIBUTE_UNUSED,
15935 : rtx_insn *insn ATTRIBUTE_UNUSED,
15936 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15937 : {
15938 3820 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15939 3820 : rtx x2, x3, x4;
15940 3820 : int res ATTRIBUTE_UNUSED;
15941 3820 : if (pnum_clobbers == NULL)
15942 : return -1;
15943 3504 : x2 = XEXP (x1, 0);
15944 3504 : operands[0] = x2;
15945 3504 : x3 = XEXP (x1, 1);
15946 3504 : x4 = XEXP (x3, 0);
15947 3504 : operands[1] = x4;
15948 3504 : switch (pattern164 (x3))
15949 : {
15950 1574 : case 0:
15951 1574 : *pnum_clobbers = 1;
15952 1574 : return 1644; /* ctzsi2 */
15953 :
15954 967 : case 1:
15955 967 : if (!insn_condition_52 (operands, insn))
15956 : return -1;
15957 967 : *pnum_clobbers = 1;
15958 967 : return 1645; /* ctzdi2 */
15959 :
15960 : default:
15961 : return -1;
15962 : }
15963 : }
15964 :
15965 : int
15966 379134 : recog_128 (rtx x1 ATTRIBUTE_UNUSED,
15967 : rtx_insn *insn ATTRIBUTE_UNUSED,
15968 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15969 : {
15970 379134 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15971 379134 : rtx x2, x3, x4, x5, x6, x7, x8;
15972 379134 : int res ATTRIBUTE_UNUSED;
15973 379134 : x2 = XEXP (x1, 1);
15974 379134 : if (GET_MODE (x2) != E_DImode)
15975 : return -1;
15976 246394 : x3 = XEXP (x1, 0);
15977 246394 : operands[0] = x3;
15978 246394 : if (!register_operand (operands[0], E_DImode))
15979 : return -1;
15980 196523 : x4 = XEXP (x2, 0);
15981 196523 : if (GET_MODE (x4) != E_SImode)
15982 : return -1;
15983 185106 : switch (GET_CODE (x4))
15984 : {
15985 4 : case CTZ:
15986 4 : if (pnum_clobbers == NULL)
15987 : return -1;
15988 4 : x5 = XEXP (x4, 0);
15989 4 : operands[1] = x5;
15990 4 : if (!nonimmediate_operand (operands[1], E_SImode)
15991 4 : || !insn_condition_52 (operands, insn))
15992 : return -1;
15993 4 : *pnum_clobbers = 1;
15994 4 : return 1650; /* *ctzsidi2_sext */
15995 :
15996 937 : case XOR:
15997 937 : if (pnum_clobbers == NULL)
15998 : return -1;
15999 766 : x5 = XEXP (x4, 0);
16000 766 : if (GET_CODE (x5) != MINUS
16001 766 : || pattern474 (x4) != 0)
16002 : return -1;
16003 1 : x6 = XEXP (x5, 1);
16004 1 : x7 = XEXP (x6, 0);
16005 1 : operands[1] = x7;
16006 1 : if (!nonimmediate_operand (operands[1], E_SImode)
16007 1 : || !insn_condition_712 (operands, insn))
16008 : return -1;
16009 1 : *pnum_clobbers = 1;
16010 1 : return 1668; /* *bsr_2 */
16011 :
16012 10 : case UNSPEC:
16013 10 : if (XVECLEN (x4, 0) != 1
16014 10 : || XINT (x4, 1) != 46)
16015 : return -1;
16016 10 : x8 = XVECEXP (x4, 0, 0);
16017 10 : switch (GET_CODE (x8))
16018 : {
16019 10 : case REG:
16020 10 : case SUBREG:
16021 10 : operands[1] = x8;
16022 10 : switch (GET_MODE (operands[1]))
16023 : {
16024 2 : case E_V8SFmode:
16025 2 : if (register_operand (operands[1], E_V8SFmode)
16026 2 : && insn_condition_638 (operands, insn))
16027 : return 7178; /* *avx_movmskps256_ext */
16028 : break;
16029 :
16030 2 : case E_V4SFmode:
16031 2 : if (register_operand (operands[1], E_V4SFmode)
16032 2 : && insn_condition_636 (operands, insn))
16033 : return 7180; /* *sse_movmskps_ext */
16034 : break;
16035 :
16036 2 : case E_V4DFmode:
16037 2 : if (register_operand (operands[1], E_V4DFmode)
16038 2 : && insn_condition_638 (operands, insn))
16039 : return 7182; /* *avx_movmskpd256_ext */
16040 : break;
16041 :
16042 2 : case E_V2DFmode:
16043 2 : if (register_operand (operands[1], E_V2DFmode)
16044 2 : && insn_condition_639 (operands, insn))
16045 : return 7184; /* *sse2_movmskpd_ext */
16046 : break;
16047 :
16048 2 : case E_V16QImode:
16049 2 : if (register_operand (operands[1], E_V16QImode)
16050 2 : && insn_condition_637 (operands, insn))
16051 : return 7226; /* *sse2_pmovmskb_ext */
16052 : break;
16053 :
16054 : default:
16055 : break;
16056 : }
16057 0 : if (GET_CODE (x8) != SUBREG)
16058 : return -1;
16059 0 : switch (pattern1133 (x8))
16060 : {
16061 0 : case 0:
16062 0 : if (!insn_condition_638 (operands, insn))
16063 0 : return -1;
16064 : return 7202; /* *avx_movmskps256_ext_lt_avx512 */
16065 :
16066 0 : case 1:
16067 0 : if (!insn_condition_636 (operands, insn))
16068 0 : return -1;
16069 : return 7204; /* *sse_movmskps_ext_lt_avx512 */
16070 :
16071 0 : case 2:
16072 0 : if (!insn_condition_638 (operands, insn))
16073 0 : return -1;
16074 : return 7206; /* *avx_movmskpd256_ext_lt_avx512 */
16075 :
16076 0 : case 3:
16077 0 : if (!insn_condition_639 (operands, insn))
16078 0 : return -1;
16079 : return 7208; /* *sse2_movmskpd_ext_lt_avx512 */
16080 :
16081 0 : case 4:
16082 0 : if (!insn_condition_638 (operands, insn))
16083 0 : return -1;
16084 : return 7214; /* *avx_movmskps256_ext_shift */
16085 :
16086 0 : case 5:
16087 0 : if (!insn_condition_636 (operands, insn))
16088 0 : return -1;
16089 : return 7216; /* *sse_movmskps_ext_shift */
16090 :
16091 0 : case 6:
16092 0 : if (!insn_condition_638 (operands, insn))
16093 0 : return -1;
16094 : return 7218; /* *avx_movmskpd256_ext_shift */
16095 :
16096 0 : case 7:
16097 0 : if (!insn_condition_639 (operands, insn))
16098 0 : return -1;
16099 : return 7220; /* *sse2_movmskpd_ext_shift */
16100 :
16101 : default:
16102 : return -1;
16103 : }
16104 :
16105 0 : case LT:
16106 0 : switch (pattern1032 (x8))
16107 : {
16108 0 : case 0:
16109 0 : if (!insn_condition_638 (operands, insn))
16110 0 : return -1;
16111 : return 7194; /* *avx_movmskps256_ext_lt */
16112 :
16113 0 : case 1:
16114 0 : if (!insn_condition_636 (operands, insn))
16115 0 : return -1;
16116 : return 7196; /* *sse_movmskps_ext_lt */
16117 :
16118 0 : case 2:
16119 0 : if (!insn_condition_638 (operands, insn))
16120 0 : return -1;
16121 : return 7198; /* *avx_movmskpd256_ext_lt */
16122 :
16123 0 : case 3:
16124 0 : if (!insn_condition_639 (operands, insn))
16125 0 : return -1;
16126 : return 7200; /* *sse2_movmskpd_ext_lt */
16127 :
16128 0 : case 4:
16129 0 : if (!insn_condition_637 (operands, insn))
16130 0 : return -1;
16131 : return 7236; /* *sse2_pmovmskb_ext_lt */
16132 :
16133 : default:
16134 : return -1;
16135 : }
16136 :
16137 0 : case VEC_MERGE:
16138 0 : switch (pattern1022 (x8))
16139 : {
16140 0 : case 0:
16141 0 : if (!insn_condition_640 (operands, insn))
16142 0 : return -1;
16143 : return 7237; /* *sse2_pmovmskb_ext_lt_avx512 */
16144 :
16145 0 : case 1:
16146 0 : if (!insn_condition_637 (operands, insn))
16147 0 : return -1;
16148 : return 7238; /* *sse2_pmovmskb_ext_lt_avx512 */
16149 :
16150 : default:
16151 : return -1;
16152 : }
16153 :
16154 : default:
16155 : return -1;
16156 : }
16157 :
16158 : default:
16159 : return -1;
16160 : }
16161 : }
16162 :
16163 : int
16164 4020335 : recog_134 (rtx x1 ATTRIBUTE_UNUSED,
16165 : rtx_insn *insn ATTRIBUTE_UNUSED,
16166 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16167 : {
16168 4020335 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16169 4020335 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
16170 4020335 : rtx x10;
16171 4020335 : int res ATTRIBUTE_UNUSED;
16172 4020335 : x2 = XEXP (x1, 1);
16173 4020335 : x3 = XEXP (x2, 1);
16174 4020335 : if (GET_CODE (x3) != PARALLEL
16175 4020335 : || XVECLEN (x3, 0) != 1)
16176 : return -1;
16177 842575 : x4 = XVECEXP (x3, 0, 0);
16178 842575 : if (GET_CODE (x4) != CONST_INT)
16179 : return -1;
16180 842575 : x5 = XEXP (x1, 0);
16181 842575 : operands[0] = x5;
16182 842575 : x6 = XEXP (x2, 0);
16183 842575 : operands[1] = x6;
16184 842575 : res = recog_133 (x1, insn, pnum_clobbers);
16185 842575 : if (res >= 0)
16186 : return res;
16187 381169 : if (XWINT (x4, 0) != 0L)
16188 : return -1;
16189 313339 : if (GET_CODE (x6) == SUBREG)
16190 : {
16191 86745 : switch (pattern802 (x2))
16192 : {
16193 11 : case 0:
16194 11 : if (pshufb_truncv8hiv8qi_operand (operands[2], E_V16QImode)
16195 11 : && insn_condition_959 (operands, insn))
16196 : return 5975; /* *avx512f_pshufb_truncv8hiv8qi_1 */
16197 9 : if (pshufb_truncv4siv4hi_operand (operands[2], E_V16QImode)
16198 9 : && insn_condition_197 (operands, insn))
16199 : return 6060; /* *avx512f_pshufb_truncv4siv4hi_1 */
16200 : break;
16201 :
16202 4 : case 1:
16203 4 : if (insn_condition_197 (operands, insn))
16204 : return 6109; /* *avx512f_pshufd_truncv2div2si_1 */
16205 : break;
16206 :
16207 0 : case 2:
16208 0 : if (insn_condition_960 (operands, insn))
16209 : return 9806; /* *avx10v2aux_sym_truncatev4siv4qi2_store_2 */
16210 : break;
16211 :
16212 : default:
16213 : break;
16214 : }
16215 : }
16216 313330 : if (GET_MODE (x2) != E_DImode)
16217 : return -1;
16218 205812 : if (nonimmediate_operand (operands[0], E_DImode))
16219 : {
16220 205675 : operands[1] = x6;
16221 205675 : if (nonimmediate_operand (operands[1], E_V2DImode))
16222 : {
16223 195547 : if (insn_condition_961 (operands, insn))
16224 : return 7134; /* *vec_extractv2di_0 */
16225 5768 : if (insn_condition_962 (operands, insn))
16226 : return 7135; /* *vec_extractv2di_0_sse */
16227 : }
16228 : }
16229 10367 : if (GET_CODE (x6) != SUBREG
16230 3527 : || pattern930 (x6) != 0
16231 10367 : || !memory_operand (operands[0], E_DImode))
16232 : return -1;
16233 0 : x7 = XEXP (x6, 0);
16234 0 : x8 = XEXP (x7, 0);
16235 0 : x9 = XVECEXP (x8, 0, 0);
16236 0 : operands[1] = x9;
16237 0 : if (!register_operand (operands[1], E_V8SImode))
16238 : return -1;
16239 0 : x10 = XEXP (x7, 1);
16240 0 : operands[2] = x10;
16241 0 : if (!const0_operand (operands[2], E_V8QImode)
16242 0 : || !insn_condition_963 (operands, insn))
16243 0 : return -1;
16244 : return 9805; /* *avx10v2aux_sym_truncatev8siv8qi2_store_2 */
16245 : }
16246 :
16247 : int
16248 12736 : recog_135 (rtx x1 ATTRIBUTE_UNUSED,
16249 : rtx_insn *insn ATTRIBUTE_UNUSED,
16250 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16251 : {
16252 12736 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16253 12736 : rtx x2, x3, x4, x5, x6;
16254 12736 : int res ATTRIBUTE_UNUSED;
16255 12736 : x2 = XEXP (x1, 1);
16256 12736 : x3 = XEXP (x2, 0);
16257 12736 : x4 = XVECEXP (x3, 0, 0);
16258 12736 : operands[1] = x4;
16259 12736 : x5 = XEXP (x2, 2);
16260 12736 : switch (GET_CODE (x5))
16261 : {
16262 10927 : case REG:
16263 10927 : case SUBREG:
16264 10927 : operands[3] = x5;
16265 10927 : switch (GET_MODE (operands[0]))
16266 : {
16267 943 : case E_V16SImode:
16268 943 : if (pattern1040 (x2,
16269 : E_V16SImode,
16270 : E_HImode) != 0
16271 943 : || !insn_condition_27 (operands, insn))
16272 81 : return -1;
16273 : return 2609; /* *avx512f_loadv16si_mask */
16274 :
16275 671 : case E_V8SImode:
16276 671 : if (pattern1040 (x2,
16277 : E_V8SImode,
16278 : E_QImode) != 0
16279 671 : || !insn_condition_100 (operands, insn))
16280 33 : return -1;
16281 : return 2610; /* *avx512vl_loadv8si_mask */
16282 :
16283 827 : case E_V4SImode:
16284 827 : if (pattern1040 (x2,
16285 : E_V4SImode,
16286 : E_QImode) != 0
16287 827 : || !insn_condition_100 (operands, insn))
16288 14 : return -1;
16289 : return 2611; /* *avx512vl_loadv4si_mask */
16290 :
16291 925 : case E_V8DImode:
16292 925 : if (pattern1040 (x2,
16293 : E_V8DImode,
16294 : E_QImode) != 0
16295 925 : || !insn_condition_27 (operands, insn))
16296 73 : return -1;
16297 : return 2612; /* *avx512f_loadv8di_mask */
16298 :
16299 580 : case E_V4DImode:
16300 580 : if (pattern1040 (x2,
16301 : E_V4DImode,
16302 : E_QImode) != 0
16303 580 : || !insn_condition_100 (operands, insn))
16304 22 : return -1;
16305 : return 2613; /* *avx512vl_loadv4di_mask */
16306 :
16307 841 : case E_V2DImode:
16308 841 : if (pattern1040 (x2,
16309 : E_V2DImode,
16310 : E_QImode) != 0
16311 841 : || !insn_condition_100 (operands, insn))
16312 18 : return -1;
16313 : return 2614; /* *avx512vl_loadv2di_mask */
16314 :
16315 461 : case E_V16SFmode:
16316 461 : if (pattern1040 (x2,
16317 : E_V16SFmode,
16318 : E_HImode) != 0
16319 461 : || !insn_condition_27 (operands, insn))
16320 27 : return -1;
16321 : return 2615; /* *avx512f_loadv16sf_mask */
16322 :
16323 402 : case E_V8SFmode:
16324 402 : if (pattern1040 (x2,
16325 : E_V8SFmode,
16326 : E_QImode) != 0
16327 402 : || !insn_condition_100 (operands, insn))
16328 32 : return -1;
16329 : return 2616; /* *avx512vl_loadv8sf_mask */
16330 :
16331 388 : case E_V4SFmode:
16332 388 : if (pattern1040 (x2,
16333 : E_V4SFmode,
16334 : E_QImode) != 0
16335 388 : || !insn_condition_100 (operands, insn))
16336 14 : return -1;
16337 : return 2617; /* *avx512vl_loadv4sf_mask */
16338 :
16339 908 : case E_V8DFmode:
16340 908 : if (pattern1040 (x2,
16341 : E_V8DFmode,
16342 : E_QImode) != 0
16343 908 : || !insn_condition_27 (operands, insn))
16344 28 : return -1;
16345 : return 2618; /* *avx512f_loadv8df_mask */
16346 :
16347 773 : case E_V4DFmode:
16348 773 : if (pattern1040 (x2,
16349 : E_V4DFmode,
16350 : E_QImode) != 0
16351 773 : || !insn_condition_100 (operands, insn))
16352 25 : return -1;
16353 : return 2619; /* *avx512vl_loadv4df_mask */
16354 :
16355 433 : case E_V2DFmode:
16356 433 : if (pattern1040 (x2,
16357 : E_V2DFmode,
16358 : E_QImode) != 0
16359 433 : || !insn_condition_100 (operands, insn))
16360 16 : return -1;
16361 : return 2620; /* *avx512vl_loadv2df_mask */
16362 :
16363 436 : case E_V64QImode:
16364 436 : if (pattern1040 (x2,
16365 : E_V64QImode,
16366 : E_DImode) != 0
16367 436 : || !insn_condition_12 (operands, insn))
16368 31 : return -1;
16369 : return 2639; /* *avx512bw_loadv64qi_mask */
16370 :
16371 220 : case E_V16QImode:
16372 220 : if (pattern1040 (x2,
16373 : E_V16QImode,
16374 : E_HImode) != 0
16375 220 : || !insn_condition_77 (operands, insn))
16376 17 : return -1;
16377 : return 2640; /* *avx512vl_loadv16qi_mask */
16378 :
16379 227 : case E_V32QImode:
16380 227 : if (pattern1040 (x2,
16381 : E_V32QImode,
16382 : E_SImode) != 0
16383 227 : || !insn_condition_77 (operands, insn))
16384 19 : return -1;
16385 : return 2641; /* *avx512vl_loadv32qi_mask */
16386 :
16387 401 : case E_V32HImode:
16388 401 : if (pattern1040 (x2,
16389 : E_V32HImode,
16390 : E_SImode) != 0
16391 401 : || !insn_condition_12 (operands, insn))
16392 21 : return -1;
16393 : return 2642; /* *avx512bw_loadv32hi_mask */
16394 :
16395 380 : case E_V16HImode:
16396 380 : if (pattern1040 (x2,
16397 : E_V16HImode,
16398 : E_HImode) != 0
16399 380 : || !insn_condition_77 (operands, insn))
16400 19 : return -1;
16401 : return 2643; /* *avx512vl_loadv16hi_mask */
16402 :
16403 382 : case E_V8HImode:
16404 382 : if (pattern1040 (x2,
16405 : E_V8HImode,
16406 : E_QImode) != 0
16407 382 : || !insn_condition_77 (operands, insn))
16408 17 : return -1;
16409 : return 2644; /* *avx512vl_loadv8hi_mask */
16410 :
16411 243 : case E_V32HFmode:
16412 243 : if (pattern1040 (x2,
16413 : E_V32HFmode,
16414 : E_SImode) != 0
16415 243 : || !insn_condition_12 (operands, insn))
16416 0 : return -1;
16417 : return 2645; /* *avx512bw_loadv32hf_mask */
16418 :
16419 243 : case E_V16HFmode:
16420 243 : if (pattern1040 (x2,
16421 : E_V16HFmode,
16422 : E_HImode) != 0
16423 243 : || !insn_condition_77 (operands, insn))
16424 0 : return -1;
16425 : return 2646; /* *avx512vl_loadv16hf_mask */
16426 :
16427 243 : case E_V8HFmode:
16428 243 : if (pattern1040 (x2,
16429 : E_V8HFmode,
16430 : E_QImode) != 0
16431 243 : || !insn_condition_77 (operands, insn))
16432 0 : return -1;
16433 : return 2647; /* *avx512fp16_loadv8hf_mask */
16434 :
16435 0 : case E_V32BFmode:
16436 0 : if (pattern1040 (x2,
16437 : E_V32BFmode,
16438 : E_SImode) != 0
16439 0 : || !insn_condition_12 (operands, insn))
16440 0 : return -1;
16441 : return 2648; /* *avx512bw_loadv32bf_mask */
16442 :
16443 0 : case E_V16BFmode:
16444 0 : if (pattern1040 (x2,
16445 : E_V16BFmode,
16446 : E_HImode) != 0
16447 0 : || !insn_condition_77 (operands, insn))
16448 0 : return -1;
16449 : return 2649; /* *avx512vl_loadv16bf_mask */
16450 :
16451 0 : case E_V8BFmode:
16452 0 : if (pattern1040 (x2,
16453 : E_V8BFmode,
16454 : E_QImode) != 0
16455 0 : || !insn_condition_77 (operands, insn))
16456 0 : return -1;
16457 : return 2650; /* *avx512vl_loadv8bf_mask */
16458 :
16459 : default:
16460 : return -1;
16461 : }
16462 :
16463 444 : case AND:
16464 444 : if (GET_MODE (x5) != E_QImode)
16465 : return -1;
16466 428 : x6 = XEXP (x5, 1);
16467 428 : if (GET_CODE (x6) != CONST_INT)
16468 : return -1;
16469 392 : switch (pattern1145 (x2))
16470 : {
16471 0 : case 0:
16472 0 : if (!insn_condition_100 (operands, insn))
16473 0 : return -1;
16474 : return 2633; /* *avx512vl_loadv4sfmask_and15 */
16475 :
16476 71 : case 1:
16477 71 : if (!insn_condition_100 (operands, insn))
16478 0 : return -1;
16479 : return 2634; /* *avx512vl_loadv4dfmask_and15 */
16480 :
16481 110 : case 2:
16482 110 : if (!insn_condition_100 (operands, insn))
16483 0 : return -1;
16484 : return 2635; /* *avx512vl_loadv4simask_and15 */
16485 :
16486 64 : case 3:
16487 64 : if (!insn_condition_100 (operands, insn))
16488 0 : return -1;
16489 : return 2636; /* *avx512vl_loadv4dimask_and15 */
16490 :
16491 4 : case 4:
16492 4 : if (!insn_condition_100 (operands, insn))
16493 0 : return -1;
16494 : return 2637; /* *avx512vl_loadv2dfmask_and3 */
16495 :
16496 106 : case 5:
16497 106 : if (!insn_condition_100 (operands, insn))
16498 0 : return -1;
16499 : return 2638; /* *avx512vl_loadv2dimask_and3 */
16500 :
16501 : default:
16502 : return -1;
16503 : }
16504 :
16505 : default:
16506 : return -1;
16507 : }
16508 : }
16509 :
16510 : int
16511 1971 : recog_140 (rtx x1 ATTRIBUTE_UNUSED,
16512 : rtx_insn *insn ATTRIBUTE_UNUSED,
16513 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16514 : {
16515 1971 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16516 1971 : rtx x2, x3, x4, x5;
16517 1971 : int res ATTRIBUTE_UNUSED;
16518 1971 : x2 = XEXP (x1, 1);
16519 1971 : x3 = XEXP (x2, 0);
16520 1971 : x4 = XVECEXP (x3, 0, 0);
16521 1971 : operands[1] = x4;
16522 1971 : x5 = XEXP (x2, 2);
16523 1971 : operands[3] = x5;
16524 1971 : switch (GET_MODE (operands[0]))
16525 : {
16526 168 : case E_V64QImode:
16527 168 : if (pattern1040 (x2,
16528 : E_V64QImode,
16529 : E_DImode) != 0
16530 168 : || !insn_condition_976 (operands, insn))
16531 2 : return -1;
16532 : return 9656; /* avx10_2_vmovrsbv64qi_mask */
16533 :
16534 168 : case E_V32QImode:
16535 168 : if (pattern1040 (x2,
16536 : E_V32QImode,
16537 : E_SImode) != 0
16538 168 : || !insn_condition_977 (operands, insn))
16539 2 : return -1;
16540 : return 9658; /* avx10_2_vmovrsbv32qi_mask */
16541 :
16542 168 : case E_V16QImode:
16543 168 : if (pattern1040 (x2,
16544 : E_V16QImode,
16545 : E_HImode) != 0
16546 168 : || !insn_condition_977 (operands, insn))
16547 2 : return -1;
16548 : return 9660; /* avx10_2_vmovrsbv16qi_mask */
16549 :
16550 168 : case E_V32HImode:
16551 168 : if (pattern1040 (x2,
16552 : E_V32HImode,
16553 : E_SImode) != 0
16554 168 : || !insn_condition_976 (operands, insn))
16555 2 : return -1;
16556 : return 9662; /* avx10_2_vmovrswv32hi_mask */
16557 :
16558 168 : case E_V16HImode:
16559 168 : if (pattern1040 (x2,
16560 : E_V16HImode,
16561 : E_HImode) != 0
16562 168 : || !insn_condition_977 (operands, insn))
16563 2 : return -1;
16564 : return 9664; /* avx10_2_vmovrswv16hi_mask */
16565 :
16566 168 : case E_V8HImode:
16567 168 : if (pattern1040 (x2,
16568 : E_V8HImode,
16569 : E_QImode) != 0
16570 168 : || !insn_condition_977 (operands, insn))
16571 2 : return -1;
16572 : return 9666; /* avx10_2_vmovrswv8hi_mask */
16573 :
16574 168 : case E_V16SImode:
16575 168 : if (pattern1040 (x2,
16576 : E_V16SImode,
16577 : E_HImode) != 0
16578 168 : || !insn_condition_978 (operands, insn))
16579 2 : return -1;
16580 : return 9668; /* avx10_2_vmovrsdv16si_mask */
16581 :
16582 168 : case E_V8SImode:
16583 168 : if (pattern1040 (x2,
16584 : E_V8SImode,
16585 : E_QImode) != 0
16586 168 : || !insn_condition_979 (operands, insn))
16587 2 : return -1;
16588 : return 9670; /* avx10_2_vmovrsdv8si_mask */
16589 :
16590 168 : case E_V4SImode:
16591 168 : if (pattern1040 (x2,
16592 : E_V4SImode,
16593 : E_QImode) != 0
16594 168 : || !insn_condition_979 (operands, insn))
16595 2 : return -1;
16596 : return 9672; /* avx10_2_vmovrsdv4si_mask */
16597 :
16598 153 : case E_V8DImode:
16599 153 : if (pattern1040 (x2,
16600 : E_V8DImode,
16601 : E_QImode) != 0
16602 153 : || !insn_condition_978 (operands, insn))
16603 5 : return -1;
16604 : return 9674; /* avx10_2_vmovrsqv8di_mask */
16605 :
16606 153 : case E_V4DImode:
16607 153 : if (pattern1040 (x2,
16608 : E_V4DImode,
16609 : E_QImode) != 0
16610 153 : || !insn_condition_979 (operands, insn))
16611 5 : return -1;
16612 : return 9676; /* avx10_2_vmovrsqv4di_mask */
16613 :
16614 153 : case E_V2DImode:
16615 153 : if (pattern1040 (x2,
16616 : E_V2DImode,
16617 : E_QImode) != 0
16618 153 : || !insn_condition_979 (operands, insn))
16619 5 : return -1;
16620 : return 9678; /* avx10_2_vmovrsqv2di_mask */
16621 :
16622 : default:
16623 : return -1;
16624 : }
16625 : }
16626 :
16627 : int
16628 1748 : recog_143 (rtx x1 ATTRIBUTE_UNUSED,
16629 : rtx_insn *insn ATTRIBUTE_UNUSED,
16630 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16631 : {
16632 1748 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16633 1748 : rtx x2, x3, x4, x5;
16634 1748 : int res ATTRIBUTE_UNUSED;
16635 1748 : x2 = XEXP (x1, 1);
16636 1748 : x3 = XEXP (x2, 0);
16637 1748 : x4 = XVECEXP (x3, 0, 0);
16638 1748 : operands[1] = x4;
16639 1748 : x5 = XEXP (x2, 2);
16640 1748 : switch (GET_CODE (x5))
16641 : {
16642 1431 : case REG:
16643 1431 : case SUBREG:
16644 1431 : operands[3] = x5;
16645 1431 : switch (GET_MODE (operands[0]))
16646 : {
16647 241 : case E_V32HFmode:
16648 241 : if (pattern1038 (x2,
16649 : E_V32HFmode,
16650 : E_SImode) != 0
16651 241 : || !insn_condition_26 (operands, insn))
16652 12 : return -1;
16653 : return 3130; /* avx512fp16_rsqrtv32hf2_mask */
16654 :
16655 231 : case E_V16HFmode:
16656 231 : if (pattern1038 (x2,
16657 : E_V16HFmode,
16658 : E_HImode) != 0
16659 231 : || !insn_condition_965 (operands, insn))
16660 12 : return -1;
16661 : return 3132; /* avx512fp16_rsqrtv16hf2_mask */
16662 :
16663 231 : case E_V8HFmode:
16664 231 : if (pattern1038 (x2,
16665 : E_V8HFmode,
16666 : E_QImode) != 0
16667 231 : || !insn_condition_965 (operands, insn))
16668 12 : return -1;
16669 : return 3134; /* avx512fp16_rsqrtv8hf2_mask */
16670 :
16671 243 : case E_V32BFmode:
16672 243 : if (pattern662 (x2,
16673 : E_V32BFmode,
16674 : E_SImode) != 0
16675 243 : || !insn_condition_83 (operands, insn))
16676 24 : return -1;
16677 : return 9372; /* avx10_2_rsqrtbf16_v32bf_mask */
16678 :
16679 244 : case E_V16BFmode:
16680 244 : if (pattern662 (x2,
16681 : E_V16BFmode,
16682 : E_HImode) != 0
16683 244 : || !insn_condition_83 (operands, insn))
16684 22 : return -1;
16685 : return 9374; /* avx10_2_rsqrtbf16_v16bf_mask */
16686 :
16687 241 : case E_V8BFmode:
16688 241 : if (pattern662 (x2,
16689 : E_V8BFmode,
16690 : E_QImode) != 0
16691 241 : || !insn_condition_83 (operands, insn))
16692 18 : return -1;
16693 : return 9376; /* avx10_2_rsqrtbf16_v8bf_mask */
16694 :
16695 : default:
16696 : return -1;
16697 : }
16698 :
16699 304 : case CONST_INT:
16700 304 : switch (pattern931 (x2))
16701 : {
16702 99 : case 0:
16703 99 : if (!insn_condition_148 (operands, insn))
16704 0 : return -1;
16705 : return 3151; /* sse_vmrsqrtv4sf2 */
16706 :
16707 83 : case 1:
16708 83 : if (!insn_condition_40 (operands, insn))
16709 0 : return -1;
16710 : return 3153; /* avx512fp16_vmrsqrtv8hf2 */
16711 :
16712 : default:
16713 : return -1;
16714 : }
16715 :
16716 : default:
16717 : return -1;
16718 : }
16719 : }
16720 :
16721 : int
16722 7083 : recog_148 (rtx x1 ATTRIBUTE_UNUSED,
16723 : rtx_insn *insn ATTRIBUTE_UNUSED,
16724 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16725 : {
16726 7083 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16727 7083 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
16728 7083 : int res ATTRIBUTE_UNUSED;
16729 7083 : x2 = XEXP (x1, 1);
16730 7083 : x3 = XEXP (x2, 0);
16731 7083 : x4 = XVECEXP (x3, 0, 2);
16732 7083 : operands[3] = x4;
16733 7083 : x5 = XEXP (x2, 1);
16734 7083 : switch (GET_CODE (x5))
16735 : {
16736 4942 : case REG:
16737 4942 : case SUBREG:
16738 4942 : x6 = XEXP (x2, 2);
16739 4942 : operands[4] = x6;
16740 4942 : switch (GET_MODE (operands[0]))
16741 : {
16742 271 : case E_V16SImode:
16743 271 : if (pattern1043 (x2,
16744 : E_V16SImode) == 0)
16745 : {
16746 262 : x7 = XVECEXP (x3, 0, 1);
16747 262 : operands[1] = x7;
16748 262 : x8 = XVECEXP (x3, 0, 0);
16749 262 : operands[2] = x8;
16750 262 : if (nonimmediate_operand (operands[3], E_V16SImode)
16751 262 : && register_operand (operands[4], E_HImode)
16752 250 : && rtx_equal_p (x5, operands[2])
16753 390 : && insn_condition_27 (operands, insn))
16754 : return 8059; /* *avx512f_vpermi2varv16si3_mask */
16755 134 : operands[2] = x7;
16756 134 : operands[1] = x8;
16757 134 : if (nonimmediate_operand (operands[3], E_V16SImode)
16758 134 : && register_operand (operands[4], E_HImode)
16759 122 : && rtx_equal_p (x5, operands[2])
16760 256 : && insn_condition_27 (operands, insn))
16761 : return 8125; /* avx512f_vpermt2varv16si3_mask */
16762 : }
16763 : break;
16764 :
16765 271 : case E_V8DImode:
16766 271 : if (pattern1043 (x2,
16767 : E_V8DImode) == 0)
16768 : {
16769 242 : x7 = XVECEXP (x3, 0, 1);
16770 242 : operands[1] = x7;
16771 242 : x8 = XVECEXP (x3, 0, 0);
16772 242 : operands[2] = x8;
16773 242 : if (nonimmediate_operand (operands[3], E_V8DImode)
16774 242 : && register_operand (operands[4], E_QImode)
16775 230 : && rtx_equal_p (x5, operands[2])
16776 355 : && insn_condition_27 (operands, insn))
16777 : return 8060; /* *avx512f_vpermi2varv8di3_mask */
16778 129 : operands[2] = x7;
16779 129 : operands[1] = x8;
16780 129 : if (nonimmediate_operand (operands[3], E_V8DImode)
16781 129 : && register_operand (operands[4], E_QImode)
16782 117 : && rtx_equal_p (x5, operands[2])
16783 246 : && insn_condition_27 (operands, insn))
16784 : return 8127; /* avx512f_vpermt2varv8di3_mask */
16785 : }
16786 : break;
16787 :
16788 267 : case E_V8SImode:
16789 267 : if (pattern1043 (x2,
16790 : E_V8SImode) == 0)
16791 : {
16792 254 : x7 = XVECEXP (x3, 0, 1);
16793 254 : operands[1] = x7;
16794 254 : x8 = XVECEXP (x3, 0, 0);
16795 254 : operands[2] = x8;
16796 254 : if (nonimmediate_operand (operands[3], E_V8SImode)
16797 254 : && register_operand (operands[4], E_QImode)
16798 242 : && rtx_equal_p (x5, operands[2])
16799 254 : && insn_condition_100 (operands, insn))
16800 : return 8061; /* *avx512vl_vpermi2varv8si3_mask */
16801 130 : operands[2] = x7;
16802 130 : operands[1] = x8;
16803 130 : if (nonimmediate_operand (operands[3], E_V8SImode)
16804 130 : && register_operand (operands[4], E_QImode)
16805 118 : && rtx_equal_p (x5, operands[2])
16806 130 : && insn_condition_100 (operands, insn))
16807 : return 8129; /* avx512vl_vpermt2varv8si3_mask */
16808 : }
16809 : break;
16810 :
16811 257 : case E_V4SImode:
16812 257 : if (pattern1043 (x2,
16813 : E_V4SImode) == 0)
16814 : {
16815 254 : x7 = XVECEXP (x3, 0, 1);
16816 254 : operands[1] = x7;
16817 254 : x8 = XVECEXP (x3, 0, 0);
16818 254 : operands[2] = x8;
16819 254 : if (nonimmediate_operand (operands[3], E_V4SImode)
16820 254 : && register_operand (operands[4], E_QImode)
16821 241 : && rtx_equal_p (x5, operands[2])
16822 254 : && insn_condition_100 (operands, insn))
16823 : return 8062; /* *avx512vl_vpermi2varv4si3_mask */
16824 131 : operands[2] = x7;
16825 131 : operands[1] = x8;
16826 131 : if (nonimmediate_operand (operands[3], E_V4SImode)
16827 131 : && register_operand (operands[4], E_QImode)
16828 118 : && rtx_equal_p (x5, operands[2])
16829 131 : && insn_condition_100 (operands, insn))
16830 : return 8133; /* avx512vl_vpermt2varv4si3_mask */
16831 : }
16832 : break;
16833 :
16834 256 : case E_V4DImode:
16835 256 : if (pattern1043 (x2,
16836 : E_V4DImode) == 0)
16837 : {
16838 239 : x7 = XVECEXP (x3, 0, 1);
16839 239 : operands[1] = x7;
16840 239 : x8 = XVECEXP (x3, 0, 0);
16841 239 : operands[2] = x8;
16842 239 : if (nonimmediate_operand (operands[3], E_V4DImode)
16843 239 : && register_operand (operands[4], E_QImode)
16844 229 : && rtx_equal_p (x5, operands[2])
16845 239 : && insn_condition_100 (operands, insn))
16846 : return 8063; /* *avx512vl_vpermi2varv4di3_mask */
16847 128 : operands[2] = x7;
16848 128 : operands[1] = x8;
16849 128 : if (nonimmediate_operand (operands[3], E_V4DImode)
16850 128 : && register_operand (operands[4], E_QImode)
16851 118 : && rtx_equal_p (x5, operands[2])
16852 128 : && insn_condition_100 (operands, insn))
16853 : return 8131; /* avx512vl_vpermt2varv4di3_mask */
16854 : }
16855 : break;
16856 :
16857 249 : case E_V2DImode:
16858 249 : if (pattern1043 (x2,
16859 : E_V2DImode) == 0)
16860 : {
16861 231 : x7 = XVECEXP (x3, 0, 1);
16862 231 : operands[1] = x7;
16863 231 : x8 = XVECEXP (x3, 0, 0);
16864 231 : operands[2] = x8;
16865 231 : if (nonimmediate_operand (operands[3], E_V2DImode)
16866 231 : && register_operand (operands[4], E_QImode)
16867 223 : && rtx_equal_p (x5, operands[2])
16868 231 : && insn_condition_100 (operands, insn))
16869 : return 8064; /* *avx512vl_vpermi2varv2di3_mask */
16870 124 : operands[2] = x7;
16871 124 : operands[1] = x8;
16872 124 : if (nonimmediate_operand (operands[3], E_V2DImode)
16873 124 : && register_operand (operands[4], E_QImode)
16874 116 : && rtx_equal_p (x5, operands[2])
16875 124 : && insn_condition_100 (operands, insn))
16876 : return 8135; /* avx512vl_vpermt2varv2di3_mask */
16877 : }
16878 : break;
16879 :
16880 304 : case E_V32HImode:
16881 304 : if (pattern1043 (x2,
16882 : E_V32HImode) == 0)
16883 : {
16884 284 : x7 = XVECEXP (x3, 0, 1);
16885 284 : operands[1] = x7;
16886 284 : x8 = XVECEXP (x3, 0, 0);
16887 284 : operands[2] = x8;
16888 284 : if (nonimmediate_operand (operands[3], E_V32HImode)
16889 278 : && register_operand (operands[4], E_SImode)
16890 266 : && rtx_equal_p (x5, operands[2])
16891 284 : && insn_condition_120 (operands, insn))
16892 : return 8065; /* *avx512bw_vpermi2varv32hi3_mask */
16893 137 : operands[2] = x7;
16894 137 : operands[1] = x8;
16895 137 : if (nonimmediate_operand (operands[3], E_V32HImode)
16896 131 : && register_operand (operands[4], E_SImode)
16897 119 : && rtx_equal_p (x5, operands[2])
16898 137 : && insn_condition_120 (operands, insn))
16899 : return 8137; /* avx512bw_vpermt2varv32hi3_mask */
16900 : }
16901 : break;
16902 :
16903 323 : case E_V16HImode:
16904 323 : if (pattern1043 (x2,
16905 : E_V16HImode) == 0)
16906 : {
16907 297 : x7 = XVECEXP (x3, 0, 1);
16908 297 : operands[1] = x7;
16909 297 : x8 = XVECEXP (x3, 0, 0);
16910 297 : operands[2] = x8;
16911 297 : if (nonimmediate_operand (operands[3], E_V16HImode)
16912 288 : && register_operand (operands[4], E_HImode)
16913 273 : && rtx_equal_p (x5, operands[2])
16914 297 : && insn_condition_991 (operands, insn))
16915 : return 8066; /* *avx512vl_vpermi2varv16hi3_mask */
16916 155 : operands[2] = x7;
16917 155 : operands[1] = x8;
16918 155 : if (nonimmediate_operand (operands[3], E_V16HImode)
16919 146 : && register_operand (operands[4], E_HImode)
16920 131 : && rtx_equal_p (x5, operands[2])
16921 155 : && insn_condition_991 (operands, insn))
16922 : return 8138; /* avx512vl_vpermt2varv16hi3_mask */
16923 : }
16924 : break;
16925 :
16926 292 : case E_V8HImode:
16927 292 : if (pattern1043 (x2,
16928 : E_V8HImode) == 0)
16929 : {
16930 280 : x7 = XVECEXP (x3, 0, 1);
16931 280 : operands[1] = x7;
16932 280 : x8 = XVECEXP (x3, 0, 0);
16933 280 : operands[2] = x8;
16934 280 : if (nonimmediate_operand (operands[3], E_V8HImode)
16935 274 : && register_operand (operands[4], E_QImode)
16936 261 : && rtx_equal_p (x5, operands[2])
16937 280 : && insn_condition_991 (operands, insn))
16938 : return 8067; /* *avx512vl_vpermi2varv8hi3_mask */
16939 138 : operands[2] = x7;
16940 138 : operands[1] = x8;
16941 138 : if (nonimmediate_operand (operands[3], E_V8HImode)
16942 132 : && register_operand (operands[4], E_QImode)
16943 119 : && rtx_equal_p (x5, operands[2])
16944 138 : && insn_condition_991 (operands, insn))
16945 : return 8139; /* avx512vl_vpermt2varv8hi3_mask */
16946 : }
16947 : break;
16948 :
16949 288 : case E_V64QImode:
16950 288 : if (pattern1043 (x2,
16951 : E_V64QImode) == 0)
16952 : {
16953 269 : x7 = XVECEXP (x3, 0, 1);
16954 269 : operands[1] = x7;
16955 269 : x8 = XVECEXP (x3, 0, 0);
16956 269 : operands[2] = x8;
16957 269 : if (nonimmediate_operand (operands[3], E_V64QImode)
16958 266 : && register_operand (operands[4], E_DImode)
16959 249 : && rtx_equal_p (x5, operands[2])
16960 269 : && insn_condition_992 (operands, insn))
16961 : return 8068; /* *avx512bw_vpermi2varv64qi3_mask */
16962 142 : operands[2] = x7;
16963 142 : operands[1] = x8;
16964 142 : if (nonimmediate_operand (operands[3], E_V64QImode)
16965 139 : && register_operand (operands[4], E_DImode)
16966 122 : && rtx_equal_p (x5, operands[2])
16967 142 : && insn_condition_992 (operands, insn))
16968 : return 8140; /* avx512bw_vpermt2varv64qi3_mask */
16969 : }
16970 : break;
16971 :
16972 296 : case E_V32QImode:
16973 296 : if (pattern1043 (x2,
16974 : E_V32QImode) == 0)
16975 : {
16976 273 : x7 = XVECEXP (x3, 0, 1);
16977 273 : operands[1] = x7;
16978 273 : x8 = XVECEXP (x3, 0, 0);
16979 273 : operands[2] = x8;
16980 273 : if (nonimmediate_operand (operands[3], E_V32QImode)
16981 266 : && register_operand (operands[4], E_SImode)
16982 246 : && rtx_equal_p (x5, operands[2])
16983 273 : && insn_condition_993 (operands, insn))
16984 : return 8069; /* *avx512vl_vpermi2varv32qi3_mask */
16985 150 : operands[2] = x7;
16986 150 : operands[1] = x8;
16987 150 : if (nonimmediate_operand (operands[3], E_V32QImode)
16988 143 : && register_operand (operands[4], E_SImode)
16989 123 : && rtx_equal_p (x5, operands[2])
16990 150 : && insn_condition_993 (operands, insn))
16991 : return 8141; /* avx512vl_vpermt2varv32qi3_mask */
16992 : }
16993 : break;
16994 :
16995 277 : case E_V16QImode:
16996 277 : if (pattern1043 (x2,
16997 : E_V16QImode) == 0)
16998 : {
16999 264 : x7 = XVECEXP (x3, 0, 1);
17000 264 : operands[1] = x7;
17001 264 : x8 = XVECEXP (x3, 0, 0);
17002 264 : operands[2] = x8;
17003 264 : if (nonimmediate_operand (operands[3], E_V16QImode)
17004 258 : && register_operand (operands[4], E_HImode)
17005 241 : && rtx_equal_p (x5, operands[2])
17006 264 : && insn_condition_993 (operands, insn))
17007 : return 8070; /* *avx512vl_vpermi2varv16qi3_mask */
17008 142 : operands[2] = x7;
17009 142 : operands[1] = x8;
17010 142 : if (nonimmediate_operand (operands[3], E_V16QImode)
17011 136 : && register_operand (operands[4], E_HImode)
17012 119 : && rtx_equal_p (x5, operands[2])
17013 142 : && insn_condition_993 (operands, insn))
17014 : return 8142; /* avx512vl_vpermt2varv16qi3_mask */
17015 : }
17016 : break;
17017 :
17018 : default:
17019 : break;
17020 : }
17021 2007 : if (GET_CODE (x5) == SUBREG
17022 2007 : && known_eq (SUBREG_BYTE (x5), 0))
17023 : {
17024 979 : x8 = XVECEXP (x3, 0, 0);
17025 979 : operands[2] = x8;
17026 979 : x7 = XVECEXP (x3, 0, 1);
17027 979 : operands[1] = x7;
17028 979 : x9 = XEXP (x5, 0);
17029 979 : if (rtx_equal_p (x9, operands[2]))
17030 : {
17031 678 : switch (GET_MODE (operands[0]))
17032 : {
17033 110 : case E_V16SFmode:
17034 110 : if (pattern1497 (x2,
17035 : E_V16SFmode,
17036 : E_V16SImode,
17037 : E_HImode) == 0
17038 110 : && insn_condition_27 (operands, insn))
17039 : return 8071; /* *avx512f_vpermi2varv16sf3_mask */
17040 : break;
17041 :
17042 105 : case E_V8SFmode:
17043 105 : if (pattern1497 (x2,
17044 : E_V8SFmode,
17045 : E_V8SImode,
17046 : E_QImode) == 0
17047 105 : && insn_condition_100 (operands, insn))
17048 : return 8072; /* *avx512vl_vpermi2varv8sf3_mask */
17049 : break;
17050 :
17051 107 : case E_V4SFmode:
17052 107 : if (pattern1497 (x2,
17053 : E_V4SFmode,
17054 : E_V4SImode,
17055 : E_QImode) == 0
17056 107 : && insn_condition_100 (operands, insn))
17057 : return 8073; /* *avx512vl_vpermi2varv4sf3_mask */
17058 : break;
17059 :
17060 129 : case E_V8DFmode:
17061 129 : if (pattern1497 (x2,
17062 : E_V8DFmode,
17063 : E_V8DImode,
17064 : E_QImode) == 0
17065 129 : && insn_condition_27 (operands, insn))
17066 : return 8074; /* *avx512f_vpermi2varv8df3_mask */
17067 : break;
17068 :
17069 119 : case E_V4DFmode:
17070 119 : if (pattern1497 (x2,
17071 : E_V4DFmode,
17072 : E_V4DImode,
17073 : E_QImode) == 0
17074 119 : && insn_condition_100 (operands, insn))
17075 : return 8075; /* *avx512vl_vpermi2varv4df3_mask */
17076 : break;
17077 :
17078 108 : case E_V2DFmode:
17079 108 : if (pattern1497 (x2,
17080 : E_V2DFmode,
17081 : E_V2DImode,
17082 : E_QImode) == 0
17083 108 : && insn_condition_100 (operands, insn))
17084 : return 8076; /* *avx512vl_vpermi2varv2df3_mask */
17085 : break;
17086 :
17087 : default:
17088 : break;
17089 : }
17090 : }
17091 : }
17092 1425 : x8 = XVECEXP (x3, 0, 0);
17093 1425 : operands[1] = x8;
17094 1425 : x7 = XVECEXP (x3, 0, 1);
17095 1425 : operands[2] = x7;
17096 1425 : if (!rtx_equal_p (x5, operands[2]))
17097 : return -1;
17098 957 : switch (GET_MODE (operands[0]))
17099 : {
17100 133 : case E_V16SFmode:
17101 133 : if (pattern1311 (x2,
17102 : E_V16SFmode,
17103 : E_V16SImode,
17104 : E_HImode) != 0
17105 133 : || !insn_condition_27 (operands, insn))
17106 13 : return -1;
17107 : return 8126; /* avx512f_vpermt2varv16sf3_mask */
17108 :
17109 131 : case E_V8DFmode:
17110 131 : if (pattern1311 (x2,
17111 : E_V8DFmode,
17112 : E_V8DImode,
17113 : E_QImode) != 0
17114 131 : || !insn_condition_27 (operands, insn))
17115 12 : return -1;
17116 : return 8128; /* avx512f_vpermt2varv8df3_mask */
17117 :
17118 136 : case E_V8SFmode:
17119 136 : if (pattern1311 (x2,
17120 : E_V8SFmode,
17121 : E_V8SImode,
17122 : E_QImode) != 0
17123 136 : || !insn_condition_100 (operands, insn))
17124 16 : return -1;
17125 : return 8130; /* avx512vl_vpermt2varv8sf3_mask */
17126 :
17127 133 : case E_V4DFmode:
17128 133 : if (pattern1311 (x2,
17129 : E_V4DFmode,
17130 : E_V4DImode,
17131 : E_QImode) != 0
17132 133 : || !insn_condition_100 (operands, insn))
17133 13 : return -1;
17134 : return 8132; /* avx512vl_vpermt2varv4df3_mask */
17135 :
17136 129 : case E_V4SFmode:
17137 129 : if (pattern1311 (x2,
17138 : E_V4SFmode,
17139 : E_V4SImode,
17140 : E_QImode) != 0
17141 129 : || !insn_condition_100 (operands, insn))
17142 9 : return -1;
17143 : return 8134; /* avx512vl_vpermt2varv4sf3_mask */
17144 :
17145 126 : case E_V2DFmode:
17146 126 : if (pattern1311 (x2,
17147 : E_V2DFmode,
17148 : E_V2DImode,
17149 : E_QImode) != 0
17150 126 : || !insn_condition_100 (operands, insn))
17151 8 : return -1;
17152 : return 8136; /* avx512vl_vpermt2varv2df3_mask */
17153 :
17154 : default:
17155 : return -1;
17156 : }
17157 :
17158 2049 : case CONST_INT:
17159 2049 : case CONST_DOUBLE:
17160 2049 : case CONST_VECTOR:
17161 2049 : operands[4] = x5;
17162 2049 : x8 = XVECEXP (x3, 0, 0);
17163 2049 : operands[1] = x8;
17164 2049 : x7 = XVECEXP (x3, 0, 1);
17165 2049 : operands[2] = x7;
17166 2049 : x6 = XEXP (x2, 2);
17167 2049 : operands[5] = x6;
17168 2049 : switch (GET_MODE (operands[0]))
17169 : {
17170 114 : case E_V16SImode:
17171 114 : if (pattern513 (x2,
17172 : E_V16SImode,
17173 : E_HImode) != 0
17174 114 : || !insn_condition_27 (operands, insn))
17175 18 : return -1;
17176 : return 8078; /* avx512f_vpermt2varv16si3_maskz_1 */
17177 :
17178 111 : case E_V16SFmode:
17179 111 : if (pattern1312 (x2,
17180 : E_V16SFmode,
17181 : E_HImode,
17182 : E_V16SImode) != 0
17183 111 : || !insn_condition_27 (operands, insn))
17184 13 : return -1;
17185 : return 8080; /* avx512f_vpermt2varv16sf3_maskz_1 */
17186 :
17187 116 : case E_V8DImode:
17188 116 : if (pattern513 (x2,
17189 : E_V8DImode,
17190 : E_QImode) != 0
17191 116 : || !insn_condition_27 (operands, insn))
17192 21 : return -1;
17193 : return 8082; /* avx512f_vpermt2varv8di3_maskz_1 */
17194 :
17195 113 : case E_V8DFmode:
17196 113 : if (pattern1312 (x2,
17197 : E_V8DFmode,
17198 : E_QImode,
17199 : E_V8DImode) != 0
17200 113 : || !insn_condition_27 (operands, insn))
17201 16 : return -1;
17202 : return 8084; /* avx512f_vpermt2varv8df3_maskz_1 */
17203 :
17204 118 : case E_V8SImode:
17205 118 : if (pattern513 (x2,
17206 : E_V8SImode,
17207 : E_QImode) != 0
17208 118 : || !insn_condition_100 (operands, insn))
17209 21 : return -1;
17210 : return 8086; /* avx512vl_vpermt2varv8si3_maskz_1 */
17211 :
17212 113 : case E_V8SFmode:
17213 113 : if (pattern1312 (x2,
17214 : E_V8SFmode,
17215 : E_QImode,
17216 : E_V8SImode) != 0
17217 113 : || !insn_condition_100 (operands, insn))
17218 15 : return -1;
17219 : return 8088; /* avx512vl_vpermt2varv8sf3_maskz_1 */
17220 :
17221 117 : case E_V4DImode:
17222 117 : if (pattern513 (x2,
17223 : E_V4DImode,
17224 : E_QImode) != 0
17225 117 : || !insn_condition_100 (operands, insn))
17226 20 : return -1;
17227 : return 8090; /* avx512vl_vpermt2varv4di3_maskz_1 */
17228 :
17229 113 : case E_V4DFmode:
17230 113 : if (pattern1312 (x2,
17231 : E_V4DFmode,
17232 : E_QImode,
17233 : E_V4DImode) != 0
17234 113 : || !insn_condition_100 (operands, insn))
17235 15 : return -1;
17236 : return 8092; /* avx512vl_vpermt2varv4df3_maskz_1 */
17237 :
17238 109 : case E_V4SImode:
17239 109 : if (pattern513 (x2,
17240 : E_V4SImode,
17241 : E_QImode) != 0
17242 109 : || !insn_condition_100 (operands, insn))
17243 13 : return -1;
17244 : return 8094; /* avx512vl_vpermt2varv4si3_maskz_1 */
17245 :
17246 108 : case E_V4SFmode:
17247 108 : if (pattern1312 (x2,
17248 : E_V4SFmode,
17249 : E_QImode,
17250 : E_V4SImode) != 0
17251 108 : || !insn_condition_100 (operands, insn))
17252 10 : return -1;
17253 : return 8096; /* avx512vl_vpermt2varv4sf3_maskz_1 */
17254 :
17255 108 : case E_V2DImode:
17256 108 : if (pattern513 (x2,
17257 : E_V2DImode,
17258 : E_QImode) != 0
17259 108 : || !insn_condition_100 (operands, insn))
17260 12 : return -1;
17261 : return 8098; /* avx512vl_vpermt2varv2di3_maskz_1 */
17262 :
17263 107 : case E_V2DFmode:
17264 107 : if (pattern1312 (x2,
17265 : E_V2DFmode,
17266 : E_QImode,
17267 : E_V2DImode) != 0
17268 107 : || !insn_condition_100 (operands, insn))
17269 10 : return -1;
17270 : return 8100; /* avx512vl_vpermt2varv2df3_maskz_1 */
17271 :
17272 120 : case E_V32HImode:
17273 120 : if (pattern513 (x2,
17274 : E_V32HImode,
17275 : E_SImode) != 0
17276 120 : || !insn_condition_120 (operands, insn))
17277 23 : return -1;
17278 : return 8102; /* avx512bw_vpermt2varv32hi3_maskz_1 */
17279 :
17280 120 : case E_V16HImode:
17281 120 : if (pattern513 (x2,
17282 : E_V16HImode,
17283 : E_HImode) != 0
17284 120 : || !insn_condition_991 (operands, insn))
17285 23 : return -1;
17286 : return 8104; /* avx512vl_vpermt2varv16hi3_maskz_1 */
17287 :
17288 112 : case E_V8HImode:
17289 112 : if (pattern513 (x2,
17290 : E_V8HImode,
17291 : E_QImode) != 0
17292 112 : || !insn_condition_991 (operands, insn))
17293 15 : return -1;
17294 : return 8106; /* avx512vl_vpermt2varv8hi3_maskz_1 */
17295 :
17296 119 : case E_V64QImode:
17297 119 : if (pattern513 (x2,
17298 : E_V64QImode,
17299 : E_DImode) != 0
17300 119 : || !insn_condition_992 (operands, insn))
17301 23 : return -1;
17302 : return 8108; /* avx512bw_vpermt2varv64qi3_maskz_1 */
17303 :
17304 119 : case E_V32QImode:
17305 119 : if (pattern513 (x2,
17306 : E_V32QImode,
17307 : E_SImode) != 0
17308 119 : || !insn_condition_993 (operands, insn))
17309 23 : return -1;
17310 : return 8110; /* avx512vl_vpermt2varv32qi3_maskz_1 */
17311 :
17312 112 : case E_V16QImode:
17313 112 : if (pattern513 (x2,
17314 : E_V16QImode,
17315 : E_HImode) != 0
17316 112 : || !insn_condition_993 (operands, insn))
17317 15 : return -1;
17318 : return 8112; /* avx512vl_vpermt2varv16qi3_maskz_1 */
17319 :
17320 0 : case E_V32HFmode:
17321 0 : if (pattern1312 (x2,
17322 : E_V32HFmode,
17323 : E_SImode,
17324 : E_V32HImode) != 0
17325 0 : || !insn_condition_12 (operands, insn))
17326 0 : return -1;
17327 : return 8114; /* avx512bw_vpermt2varv32hf3_maskz_1 */
17328 :
17329 0 : case E_V16HFmode:
17330 0 : if (pattern1312 (x2,
17331 : E_V16HFmode,
17332 : E_HImode,
17333 : E_V16HImode) != 0
17334 0 : || !insn_condition_77 (operands, insn))
17335 0 : return -1;
17336 : return 8116; /* avx512vl_vpermt2varv16hf3_maskz_1 */
17337 :
17338 0 : case E_V8HFmode:
17339 0 : if (pattern1312 (x2,
17340 : E_V8HFmode,
17341 : E_QImode,
17342 : E_V8HImode) != 0
17343 0 : || !insn_condition_77 (operands, insn))
17344 0 : return -1;
17345 : return 8118; /* avx512fp16_vpermt2varv8hf3_maskz_1 */
17346 :
17347 0 : case E_V32BFmode:
17348 0 : if (pattern1312 (x2,
17349 : E_V32BFmode,
17350 : E_SImode,
17351 : E_V32HImode) != 0
17352 0 : || !insn_condition_12 (operands, insn))
17353 0 : return -1;
17354 : return 8120; /* avx512bw_vpermt2varv32bf3_maskz_1 */
17355 :
17356 0 : case E_V16BFmode:
17357 0 : if (pattern1312 (x2,
17358 : E_V16BFmode,
17359 : E_HImode,
17360 : E_V16HImode) != 0
17361 0 : || !insn_condition_77 (operands, insn))
17362 0 : return -1;
17363 : return 8122; /* avx512vl_vpermt2varv16bf3_maskz_1 */
17364 :
17365 0 : case E_V8BFmode:
17366 0 : if (pattern1312 (x2,
17367 : E_V8BFmode,
17368 : E_QImode,
17369 : E_V8HImode) != 0
17370 0 : || !insn_condition_77 (operands, insn))
17371 0 : return -1;
17372 : return 8124; /* avx512vl_vpermt2varv8bf3_maskz_1 */
17373 :
17374 : default:
17375 : return -1;
17376 : }
17377 :
17378 : default:
17379 : return -1;
17380 : }
17381 : }
17382 :
17383 : int
17384 105598 : recog_164 (rtx x1 ATTRIBUTE_UNUSED,
17385 : rtx_insn *insn ATTRIBUTE_UNUSED,
17386 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17387 : {
17388 105598 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17389 105598 : rtx x2, x3, x4, x5;
17390 105598 : int res ATTRIBUTE_UNUSED;
17391 105598 : switch (GET_MODE (operands[0]))
17392 : {
17393 7751 : case E_V4SFmode:
17394 7751 : if (!register_operand (operands[0], E_V4SFmode))
17395 : return -1;
17396 7746 : x2 = XEXP (x1, 1);
17397 7746 : if (GET_MODE (x2) != E_V4SFmode)
17398 : return -1;
17399 7746 : x3 = XEXP (x2, 0);
17400 7746 : if (GET_MODE (x3) != E_V4SFmode)
17401 : return -1;
17402 7746 : x4 = XEXP (x3, 0);
17403 7746 : if (!nonimmediate_operand (x4, E_SFmode))
17404 : return -1;
17405 6064 : operands[2] = x4;
17406 6064 : x5 = XEXP (x2, 1);
17407 6064 : operands[1] = x5;
17408 6064 : if (register_operand (operands[1], E_V4SFmode)
17409 5397 : && const_int_operand (operands[3], E_SImode)
17410 11461 : && insn_condition_1090 (operands, insn))
17411 : return 5483; /* vec_setv4sf_sse4_1 */
17412 667 : operands[1] = x4;
17413 667 : operands[2] = x5;
17414 667 : if (!const0_operand (operands[2], E_V4SFmode)
17415 667 : || !const248_operand (operands[3], E_SImode)
17416 1334 : || !insn_condition_92 (operands, insn))
17417 577 : return -1;
17418 : return 5496; /* sse4_1_insertps_v4sf_init */
17419 :
17420 27378 : case E_V16QImode:
17421 27378 : x2 = XEXP (x1, 1);
17422 27378 : if (pattern809 (x2,
17423 : E_V16QImode,
17424 : E_QImode) != 0
17425 27378 : || !insn_condition_1091 (operands, insn))
17426 2037 : return -1;
17427 : return 7045; /* sse4_1_pinsrb */
17428 :
17429 46636 : case E_V8HImode:
17430 46636 : x2 = XEXP (x1, 1);
17431 46636 : if (pattern809 (x2,
17432 : E_V8HImode,
17433 : E_HImode) != 0
17434 46636 : || !insn_condition_1092 (operands, insn))
17435 4072 : return -1;
17436 : return 7046; /* sse2_pinsrw */
17437 :
17438 129 : case E_V8HFmode:
17439 129 : x2 = XEXP (x1, 1);
17440 129 : if (pattern809 (x2,
17441 : E_V8HFmode,
17442 : E_HFmode) != 0
17443 129 : || !insn_condition_1093 (operands, insn))
17444 89 : return -1;
17445 : return 7047; /* sse2_pinsrph */
17446 :
17447 54 : case E_V8BFmode:
17448 54 : x2 = XEXP (x1, 1);
17449 54 : if (pattern809 (x2,
17450 : E_V8BFmode,
17451 : E_BFmode) != 0
17452 54 : || !insn_condition_1094 (operands, insn))
17453 0 : return -1;
17454 : return 7048; /* sse2_pinsrbf */
17455 :
17456 19583 : case E_V4SImode:
17457 19583 : x2 = XEXP (x1, 1);
17458 19583 : if (pattern809 (x2,
17459 : E_V4SImode,
17460 : E_SImode) != 0
17461 19583 : || !insn_condition_1095 (operands, insn))
17462 10557 : return -1;
17463 : return 7049; /* sse4_1_pinsrd */
17464 :
17465 1298 : case E_V2DImode:
17466 1298 : x2 = XEXP (x1, 1);
17467 1298 : if (pattern809 (x2,
17468 : E_V2DImode,
17469 : E_DImode) != 0
17470 1298 : || !insn_condition_1096 (operands, insn))
17471 132 : return -1;
17472 : return 7050; /* sse4_1_pinsrq */
17473 :
17474 160 : case E_V8DFmode:
17475 160 : x2 = XEXP (x1, 1);
17476 160 : if (pattern810 (x2,
17477 : E_V8DFmode,
17478 : E_V2DFmode) != 0
17479 160 : || !insn_condition_1097 (operands, insn))
17480 133 : return -1;
17481 : return 7051; /* *avx512dq_vinsertf64x2_0 */
17482 :
17483 147 : case E_V8DImode:
17484 147 : x2 = XEXP (x1, 1);
17485 147 : if (pattern810 (x2,
17486 : E_V8DImode,
17487 : E_V2DImode) != 0
17488 147 : || !insn_condition_1098 (operands, insn))
17489 142 : return -1;
17490 : return 7052; /* *avx512dq_vinserti64x2_0 */
17491 :
17492 633 : case E_V16SFmode:
17493 633 : x2 = XEXP (x1, 1);
17494 633 : if (pattern810 (x2,
17495 : E_V16SFmode,
17496 : E_V4SFmode) != 0
17497 633 : || !insn_condition_1099 (operands, insn))
17498 581 : return -1;
17499 : return 7053; /* *avx512f_vinsertf32x4_0 */
17500 :
17501 563 : case E_V16SImode:
17502 563 : x2 = XEXP (x1, 1);
17503 563 : if (pattern810 (x2,
17504 : E_V16SImode,
17505 : E_V4SImode) != 0
17506 563 : || !insn_condition_1100 (operands, insn))
17507 488 : return -1;
17508 : return 7054; /* *avx512f_vinserti32x4_0 */
17509 :
17510 : default:
17511 : return -1;
17512 : }
17513 : }
17514 :
17515 : int
17516 5913 : recog_166 (rtx x1 ATTRIBUTE_UNUSED,
17517 : rtx_insn *insn ATTRIBUTE_UNUSED,
17518 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17519 : {
17520 5913 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17521 5913 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
17522 5913 : rtx x10;
17523 5913 : int res ATTRIBUTE_UNUSED;
17524 5913 : x2 = XEXP (x1, 1);
17525 5913 : x3 = XEXP (x2, 0);
17526 5913 : x4 = XEXP (x3, 0);
17527 5913 : x5 = XEXP (x4, 1);
17528 5913 : if (GET_CODE (x5) != PARALLEL)
17529 : return -1;
17530 5913 : switch (XVECLEN (x5, 0))
17531 : {
17532 4711 : case 1:
17533 4711 : x6 = XVECEXP (x5, 0, 0);
17534 4711 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
17535 : return -1;
17536 4269 : x7 = XEXP (x2, 2);
17537 4269 : switch (GET_CODE (x7))
17538 : {
17539 742 : case CONST_INT:
17540 742 : if (XWINT (x7, 0) != 1L)
17541 : return -1;
17542 467 : switch (pattern1051 (x2))
17543 : {
17544 24 : case 0:
17545 24 : if (!insn_condition_163 (operands, insn))
17546 0 : return -1;
17547 : return 5464; /* *vec_setv8hi_0_1 */
17548 :
17549 0 : case 1:
17550 0 : if (!insn_condition_163 (operands, insn))
17551 0 : return -1;
17552 : return 5465; /* *vec_setv8hf_0_1 */
17553 :
17554 0 : case 2:
17555 0 : if (!insn_condition_163 (operands, insn))
17556 0 : return -1;
17557 : return 5466; /* *vec_setv8bf_0_1 */
17558 :
17559 : default:
17560 : return -1;
17561 : }
17562 :
17563 3495 : case REG:
17564 3495 : case SUBREG:
17565 3495 : operands[3] = x7;
17566 3495 : x8 = XEXP (x4, 0);
17567 3495 : operands[1] = x8;
17568 3495 : x9 = XEXP (x2, 1);
17569 3495 : operands[2] = x9;
17570 3495 : switch (GET_MODE (operands[0]))
17571 : {
17572 216 : case E_V16SImode:
17573 216 : if (pattern1322 (x2,
17574 : E_V16SImode,
17575 : E_HImode,
17576 : E_V4SImode,
17577 : E_SImode) != 0
17578 216 : || !insn_condition_27 (operands, insn))
17579 21 : return -1;
17580 : return 7874; /* avx512f_vec_dupv16si_mask */
17581 :
17582 199 : case E_V8SImode:
17583 199 : if (pattern1322 (x2,
17584 : E_V8SImode,
17585 : E_QImode,
17586 : E_V4SImode,
17587 : E_SImode) != 0
17588 199 : || !insn_condition_341 (operands, insn))
17589 21 : return -1;
17590 : return 7876; /* avx512vl_vec_dupv8si_mask */
17591 :
17592 167 : case E_V4SImode:
17593 167 : if (pattern1323 (x2,
17594 : E_V4SImode,
17595 : E_SImode,
17596 : E_QImode) != 0
17597 167 : || !insn_condition_341 (operands, insn))
17598 1 : return -1;
17599 : return 7878; /* avx512vl_vec_dupv4si_mask */
17600 :
17601 248 : case E_V8DImode:
17602 248 : if (pattern1322 (x2,
17603 : E_V8DImode,
17604 : E_QImode,
17605 : E_V2DImode,
17606 : E_DImode) != 0
17607 248 : || !insn_condition_27 (operands, insn))
17608 29 : return -1;
17609 : return 7880; /* avx512f_vec_dupv8di_mask */
17610 :
17611 222 : case E_V4DImode:
17612 222 : if (pattern1322 (x2,
17613 : E_V4DImode,
17614 : E_QImode,
17615 : E_V2DImode,
17616 : E_DImode) != 0
17617 222 : || !insn_condition_341 (operands, insn))
17618 27 : return -1;
17619 : return 7882; /* avx512vl_vec_dupv4di_mask */
17620 :
17621 190 : case E_V2DImode:
17622 190 : if (pattern1323 (x2,
17623 : E_V2DImode,
17624 : E_DImode,
17625 : E_QImode) != 0
17626 190 : || !insn_condition_341 (operands, insn))
17627 7 : return -1;
17628 : return 7884; /* avx512vl_vec_dupv2di_mask */
17629 :
17630 241 : case E_V16SFmode:
17631 241 : if (pattern1322 (x2,
17632 : E_V16SFmode,
17633 : E_HImode,
17634 : E_V4SFmode,
17635 : E_SFmode) != 0
17636 241 : || !insn_condition_27 (operands, insn))
17637 24 : return -1;
17638 : return 7886; /* avx512f_vec_dupv16sf_mask */
17639 :
17640 216 : case E_V8SFmode:
17641 216 : if (pattern1322 (x2,
17642 : E_V8SFmode,
17643 : E_QImode,
17644 : E_V4SFmode,
17645 : E_SFmode) != 0
17646 216 : || !insn_condition_341 (operands, insn))
17647 24 : return -1;
17648 : return 7888; /* avx512vl_vec_dupv8sf_mask */
17649 :
17650 185 : case E_V4SFmode:
17651 185 : if (pattern1323 (x2,
17652 : E_V4SFmode,
17653 : E_SFmode,
17654 : E_QImode) != 0
17655 185 : || !insn_condition_341 (operands, insn))
17656 6 : return -1;
17657 : return 7890; /* avx512vl_vec_dupv4sf_mask */
17658 :
17659 243 : case E_V8DFmode:
17660 243 : if (pattern1322 (x2,
17661 : E_V8DFmode,
17662 : E_QImode,
17663 : E_V2DFmode,
17664 : E_DFmode) != 0
17665 243 : || !insn_condition_27 (operands, insn))
17666 24 : return -1;
17667 : return 7892; /* avx512f_vec_dupv8df_mask */
17668 :
17669 212 : case E_V4DFmode:
17670 212 : if (pattern1322 (x2,
17671 : E_V4DFmode,
17672 : E_QImode,
17673 : E_V2DFmode,
17674 : E_DFmode) != 0
17675 212 : || !insn_condition_341 (operands, insn))
17676 24 : return -1;
17677 : return 7894; /* avx512vl_vec_dupv4df_mask */
17678 :
17679 0 : case E_V2DFmode:
17680 0 : if (pattern1323 (x2,
17681 : E_V2DFmode,
17682 : E_DFmode,
17683 : E_QImode) != 0
17684 0 : || !insn_condition_341 (operands, insn))
17685 0 : return -1;
17686 : return 7896; /* avx512vl_vec_dupv2df_mask */
17687 :
17688 215 : case E_V64QImode:
17689 215 : if (pattern1322 (x2,
17690 : E_V64QImode,
17691 : E_DImode,
17692 : E_V16QImode,
17693 : E_QImode) != 0
17694 215 : || !insn_condition_120 (operands, insn))
17695 20 : return -1;
17696 : return 7898; /* avx512bw_vec_dupv64qi_mask */
17697 :
17698 168 : case E_V16QImode:
17699 168 : if (pattern1323 (x2,
17700 : E_V16QImode,
17701 : E_QImode,
17702 : E_HImode) != 0
17703 168 : || !insn_condition_1039 (operands, insn))
17704 1 : return -1;
17705 : return 7900; /* avx512vl_vec_dupv16qi_mask */
17706 :
17707 195 : case E_V32QImode:
17708 195 : if (pattern1322 (x2,
17709 : E_V32QImode,
17710 : E_SImode,
17711 : E_V16QImode,
17712 : E_QImode) != 0
17713 195 : || !insn_condition_1039 (operands, insn))
17714 20 : return -1;
17715 : return 7902; /* avx512vl_vec_dupv32qi_mask */
17716 :
17717 215 : case E_V32HImode:
17718 215 : if (pattern1322 (x2,
17719 : E_V32HImode,
17720 : E_SImode,
17721 : E_V8HImode,
17722 : E_HImode) != 0
17723 215 : || !insn_condition_120 (operands, insn))
17724 20 : return -1;
17725 : return 7904; /* avx512bw_vec_dupv32hi_mask */
17726 :
17727 195 : case E_V16HImode:
17728 195 : if (pattern808 (x2,
17729 : E_HImode,
17730 : E_V16HImode) != 0
17731 189 : || !nonimmediate_operand (operands[1], E_V8HImode)
17732 183 : || !nonimm_or_0_operand (operands[2], E_V16HImode)
17733 175 : || !register_operand (operands[3], E_HImode)
17734 195 : || !insn_condition_1039 (operands, insn))
17735 20 : return -1;
17736 : return 7906; /* avx512vl_vec_dupv16hi_mask */
17737 :
17738 168 : case E_V8HImode:
17739 168 : if (pattern1323 (x2,
17740 : E_V8HImode,
17741 : E_HImode,
17742 : E_QImode) != 0
17743 168 : || !insn_condition_1039 (operands, insn))
17744 1 : return -1;
17745 : return 7908; /* avx512vl_vec_dupv8hi_mask */
17746 :
17747 0 : case E_V32HFmode:
17748 0 : if (pattern1322 (x2,
17749 : E_V32HFmode,
17750 : E_SImode,
17751 : E_V8HFmode,
17752 : E_HFmode) != 0
17753 0 : || !insn_condition_120 (operands, insn))
17754 0 : return -1;
17755 : return 7910; /* avx512bw_vec_dupv32hf_mask */
17756 :
17757 0 : case E_V16HFmode:
17758 0 : if (pattern1322 (x2,
17759 : E_V16HFmode,
17760 : E_HImode,
17761 : E_V8HFmode,
17762 : E_HFmode) != 0
17763 0 : || !insn_condition_1039 (operands, insn))
17764 0 : return -1;
17765 : return 7912; /* avx512vl_vec_dupv16hf_mask */
17766 :
17767 0 : case E_V8HFmode:
17768 0 : if (pattern1323 (x2,
17769 : E_V8HFmode,
17770 : E_HFmode,
17771 : E_QImode) != 0
17772 0 : || !insn_condition_1039 (operands, insn))
17773 0 : return -1;
17774 : return 7914; /* avx512fp16_vec_dupv8hf_mask */
17775 :
17776 0 : case E_V32BFmode:
17777 0 : if (pattern1322 (x2,
17778 : E_V32BFmode,
17779 : E_SImode,
17780 : E_V8BFmode,
17781 : E_BFmode) != 0
17782 0 : || !insn_condition_120 (operands, insn))
17783 0 : return -1;
17784 : return 7916; /* avx512bw_vec_dupv32bf_mask */
17785 :
17786 0 : case E_V16BFmode:
17787 0 : if (pattern1322 (x2,
17788 : E_V16BFmode,
17789 : E_HImode,
17790 : E_V8BFmode,
17791 : E_BFmode) != 0
17792 0 : || !insn_condition_1039 (operands, insn))
17793 0 : return -1;
17794 : return 7918; /* avx512vl_vec_dupv16bf_mask */
17795 :
17796 0 : case E_V8BFmode:
17797 0 : if (pattern1323 (x2,
17798 : E_V8BFmode,
17799 : E_BFmode,
17800 : E_QImode) != 0
17801 0 : || !insn_condition_1039 (operands, insn))
17802 0 : return -1;
17803 : return 7920; /* avx512vl_vec_dupv8bf_mask */
17804 :
17805 : default:
17806 : return -1;
17807 : }
17808 :
17809 : default:
17810 : return -1;
17811 : }
17812 :
17813 1202 : case 2:
17814 1202 : x6 = XVECEXP (x5, 0, 0);
17815 1202 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
17816 : return -1;
17817 1202 : x10 = XVECEXP (x5, 0, 1);
17818 1202 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
17819 : return -1;
17820 1202 : x8 = XEXP (x4, 0);
17821 1202 : operands[1] = x8;
17822 1202 : x9 = XEXP (x2, 1);
17823 1202 : operands[2] = x9;
17824 1202 : x7 = XEXP (x2, 2);
17825 1202 : operands[3] = x7;
17826 1202 : switch (GET_MODE (operands[0]))
17827 : {
17828 239 : case E_V16SImode:
17829 239 : if (pattern1322 (x2,
17830 : E_V16SImode,
17831 : E_HImode,
17832 : E_V4SImode,
17833 : E_V2SImode) != 0
17834 239 : || !insn_condition_119 (operands, insn))
17835 44 : return -1;
17836 : return 8016; /* avx512dq_broadcastv16si_mask */
17837 :
17838 247 : case E_V8SImode:
17839 247 : if (pattern1322 (x2,
17840 : E_V8SImode,
17841 : E_QImode,
17842 : E_V4SImode,
17843 : E_V2SImode) != 0
17844 247 : || !insn_condition_1103 (operands, insn))
17845 50 : return -1;
17846 : return 8018; /* avx512dq_broadcastv8si_mask */
17847 :
17848 180 : case E_V4SImode:
17849 180 : if (pattern1323 (x2,
17850 : E_V4SImode,
17851 : E_V2SImode,
17852 : E_QImode) != 0
17853 180 : || !insn_condition_1103 (operands, insn))
17854 1 : return -1;
17855 : return 8020; /* avx512dq_broadcastv4si_mask */
17856 :
17857 268 : case E_V16SFmode:
17858 268 : if (pattern1322 (x2,
17859 : E_V16SFmode,
17860 : E_HImode,
17861 : E_V4SFmode,
17862 : E_V2SFmode) != 0
17863 268 : || !insn_condition_119 (operands, insn))
17864 47 : return -1;
17865 : return 8022; /* avx512dq_broadcastv16sf_mask */
17866 :
17867 268 : case E_V8SFmode:
17868 268 : if (pattern1322 (x2,
17869 : E_V8SFmode,
17870 : E_QImode,
17871 : E_V4SFmode,
17872 : E_V2SFmode) != 0
17873 268 : || !insn_condition_1103 (operands, insn))
17874 47 : return -1;
17875 : return 8024; /* avx512dq_broadcastv8sf_mask */
17876 :
17877 : default:
17878 : return -1;
17879 : }
17880 :
17881 : default:
17882 : return -1;
17883 : }
17884 : }
17885 :
17886 : int
17887 56364 : recog_172 (rtx x1 ATTRIBUTE_UNUSED,
17888 : rtx_insn *insn ATTRIBUTE_UNUSED,
17889 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17890 : {
17891 56364 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17892 56364 : rtx x2, x3, x4, x5;
17893 56364 : int res ATTRIBUTE_UNUSED;
17894 56364 : switch (GET_MODE (operands[0]))
17895 : {
17896 10234 : case E_V16SImode:
17897 10234 : x2 = XEXP (x1, 1);
17898 10234 : if (GET_MODE (x2) != E_V16SImode)
17899 : return -1;
17900 10234 : x3 = XEXP (x2, 2);
17901 10234 : if (!register_operand (x3, E_HImode))
17902 : return -1;
17903 10024 : operands[3] = x3;
17904 10024 : if (register_operand (operands[0], E_V16SImode))
17905 : {
17906 8816 : x4 = XEXP (x2, 0);
17907 8816 : operands[2] = x4;
17908 8816 : if (nonimmediate_operand (operands[2], E_V16SImode))
17909 : {
17910 8816 : x5 = XEXP (x2, 1);
17911 8816 : operands[1] = x5;
17912 8816 : if (nonimm_or_0_operand (operands[1], E_V16SImode)
17913 8816 : && insn_condition_27 (operands, insn))
17914 : return 2672; /* avx512f_blendmv16si */
17915 : }
17916 : }
17917 2882 : operands[2] = x3;
17918 2882 : if (!memory_operand (operands[0], E_V16SImode))
17919 : return -1;
17920 1208 : x4 = XEXP (x2, 0);
17921 1208 : operands[1] = x4;
17922 1208 : if (!register_operand (operands[1], E_V16SImode))
17923 : return -1;
17924 601 : x5 = XEXP (x2, 1);
17925 601 : if (!rtx_equal_p (x5, operands[0])
17926 601 : || !insn_condition_27 (operands, insn))
17927 590 : return -1;
17928 : return 2696; /* *avx512f_storev16si_mask */
17929 :
17930 4512 : case E_V8SImode:
17931 4512 : x2 = XEXP (x1, 1);
17932 4512 : if (GET_MODE (x2) != E_V8SImode)
17933 : return -1;
17934 4512 : x3 = XEXP (x2, 2);
17935 4512 : if (!register_operand (x3, E_QImode))
17936 : return -1;
17937 4429 : operands[3] = x3;
17938 4429 : if (register_operand (operands[0], E_V8SImode))
17939 : {
17940 3970 : x4 = XEXP (x2, 0);
17941 3970 : operands[2] = x4;
17942 3970 : if (nonimmediate_operand (operands[2], E_V8SImode))
17943 : {
17944 3970 : x5 = XEXP (x2, 1);
17945 3970 : operands[1] = x5;
17946 3970 : if (nonimm_or_0_operand (operands[1], E_V8SImode)
17947 3970 : && insn_condition_100 (operands, insn))
17948 : return 2673; /* avx512vl_blendmv8si */
17949 : }
17950 : }
17951 625 : operands[2] = x3;
17952 625 : if (!memory_operand (operands[0], E_V8SImode))
17953 : return -1;
17954 459 : x4 = XEXP (x2, 0);
17955 459 : operands[1] = x4;
17956 459 : if (!register_operand (operands[1], E_V8SImode))
17957 : return -1;
17958 205 : x5 = XEXP (x2, 1);
17959 205 : if (!rtx_equal_p (x5, operands[0])
17960 205 : || !insn_condition_100 (operands, insn))
17961 171 : return -1;
17962 : return 2697; /* *avx512vl_storev8si_mask */
17963 :
17964 2897 : case E_V4SImode:
17965 2897 : x2 = XEXP (x1, 1);
17966 2897 : if (GET_MODE (x2) != E_V4SImode)
17967 : return -1;
17968 2897 : x3 = XEXP (x2, 2);
17969 2897 : if (!register_operand (x3, E_QImode))
17970 : return -1;
17971 2897 : operands[3] = x3;
17972 2897 : if (register_operand (operands[0], E_V4SImode))
17973 : {
17974 2873 : x4 = XEXP (x2, 0);
17975 2873 : operands[2] = x4;
17976 2873 : if (nonimmediate_operand (operands[2], E_V4SImode))
17977 : {
17978 2867 : x5 = XEXP (x2, 1);
17979 2867 : operands[1] = x5;
17980 2867 : if (nonimm_or_0_operand (operands[1], E_V4SImode)
17981 2867 : && insn_condition_100 (operands, insn))
17982 : return 2674; /* avx512vl_blendmv4si */
17983 : }
17984 : }
17985 63 : operands[2] = x3;
17986 63 : if (!memory_operand (operands[0], E_V4SImode))
17987 : return -1;
17988 24 : x4 = XEXP (x2, 0);
17989 24 : operands[1] = x4;
17990 24 : if (!register_operand (operands[1], E_V4SImode))
17991 : return -1;
17992 18 : x5 = XEXP (x2, 1);
17993 18 : if (!rtx_equal_p (x5, operands[0])
17994 18 : || !insn_condition_100 (operands, insn))
17995 18 : return -1;
17996 : return 2698; /* *avx512vl_storev4si_mask */
17997 :
17998 2051 : case E_V8DImode:
17999 2051 : x2 = XEXP (x1, 1);
18000 2051 : if (GET_MODE (x2) != E_V8DImode)
18001 : return -1;
18002 2051 : x3 = XEXP (x2, 2);
18003 2051 : if (!register_operand (x3, E_QImode))
18004 : return -1;
18005 2050 : operands[3] = x3;
18006 2050 : if (register_operand (operands[0], E_V8DImode))
18007 : {
18008 1930 : x4 = XEXP (x2, 0);
18009 1930 : operands[2] = x4;
18010 1930 : if (nonimmediate_operand (operands[2], E_V8DImode))
18011 : {
18012 1930 : x5 = XEXP (x2, 1);
18013 1930 : operands[1] = x5;
18014 1930 : if (nonimm_or_0_operand (operands[1], E_V8DImode)
18015 1930 : && insn_condition_27 (operands, insn))
18016 : return 2675; /* avx512f_blendmv8di */
18017 : }
18018 : }
18019 306 : operands[2] = x3;
18020 306 : if (!memory_operand (operands[0], E_V8DImode))
18021 : return -1;
18022 112 : x4 = XEXP (x2, 0);
18023 112 : operands[1] = x4;
18024 112 : if (!register_operand (operands[1], E_V8DImode))
18025 : return -1;
18026 112 : x5 = XEXP (x2, 1);
18027 112 : if (!rtx_equal_p (x5, operands[0])
18028 112 : || !insn_condition_27 (operands, insn))
18029 104 : return -1;
18030 : return 2699; /* *avx512f_storev8di_mask */
18031 :
18032 768 : case E_V4DImode:
18033 768 : x2 = XEXP (x1, 1);
18034 768 : if (GET_MODE (x2) != E_V4DImode)
18035 : return -1;
18036 768 : x3 = XEXP (x2, 2);
18037 768 : if (!register_operand (x3, E_QImode))
18038 : return -1;
18039 768 : operands[3] = x3;
18040 768 : if (register_operand (operands[0], E_V4DImode))
18041 : {
18042 676 : x4 = XEXP (x2, 0);
18043 676 : operands[2] = x4;
18044 676 : if (nonimmediate_operand (operands[2], E_V4DImode))
18045 : {
18046 676 : x5 = XEXP (x2, 1);
18047 676 : operands[1] = x5;
18048 676 : if (nonimm_or_0_operand (operands[1], E_V4DImode)
18049 676 : && insn_condition_100 (operands, insn))
18050 : return 2676; /* avx512vl_blendmv4di */
18051 : }
18052 : }
18053 126 : operands[2] = x3;
18054 126 : if (!memory_operand (operands[0], E_V4DImode))
18055 : return -1;
18056 85 : x4 = XEXP (x2, 0);
18057 85 : operands[1] = x4;
18058 85 : if (!register_operand (operands[1], E_V4DImode))
18059 : return -1;
18060 81 : x5 = XEXP (x2, 1);
18061 81 : if (!rtx_equal_p (x5, operands[0])
18062 81 : || !insn_condition_100 (operands, insn))
18063 49 : return -1;
18064 : return 2700; /* *avx512vl_storev4di_mask */
18065 :
18066 628 : case E_V2DImode:
18067 628 : x2 = XEXP (x1, 1);
18068 628 : if (GET_MODE (x2) != E_V2DImode)
18069 : return -1;
18070 628 : x3 = XEXP (x2, 2);
18071 628 : if (!register_operand (x3, E_QImode))
18072 : return -1;
18073 628 : operands[3] = x3;
18074 628 : if (register_operand (operands[0], E_V2DImode))
18075 : {
18076 592 : x4 = XEXP (x2, 0);
18077 592 : operands[2] = x4;
18078 592 : if (nonimmediate_operand (operands[2], E_V2DImode))
18079 : {
18080 592 : x5 = XEXP (x2, 1);
18081 592 : operands[1] = x5;
18082 592 : if (nonimm_or_0_operand (operands[1], E_V2DImode)
18083 592 : && insn_condition_100 (operands, insn))
18084 : return 2677; /* avx512vl_blendmv2di */
18085 : }
18086 : }
18087 58 : operands[2] = x3;
18088 58 : if (!memory_operand (operands[0], E_V2DImode))
18089 : return -1;
18090 29 : x4 = XEXP (x2, 0);
18091 29 : operands[1] = x4;
18092 29 : if (!register_operand (operands[1], E_V2DImode))
18093 : return -1;
18094 25 : x5 = XEXP (x2, 1);
18095 25 : if (!rtx_equal_p (x5, operands[0])
18096 25 : || !insn_condition_100 (operands, insn))
18097 25 : return -1;
18098 : return 2701; /* *avx512vl_storev2di_mask */
18099 :
18100 5899 : case E_V16SFmode:
18101 5899 : x2 = XEXP (x1, 1);
18102 5899 : if (GET_MODE (x2) != E_V16SFmode)
18103 : return -1;
18104 5899 : x3 = XEXP (x2, 2);
18105 5899 : if (!register_operand (x3, E_HImode))
18106 : return -1;
18107 5899 : operands[3] = x3;
18108 5899 : if (register_operand (operands[0], E_V16SFmode))
18109 : {
18110 5455 : x4 = XEXP (x2, 0);
18111 5455 : operands[2] = x4;
18112 5455 : if (nonimmediate_operand (operands[2], E_V16SFmode))
18113 : {
18114 5246 : x5 = XEXP (x2, 1);
18115 5246 : operands[1] = x5;
18116 5246 : if (nonimm_or_0_operand (operands[1], E_V16SFmode)
18117 5246 : && insn_condition_27 (operands, insn))
18118 : return 2678; /* avx512f_blendmv16sf */
18119 : }
18120 : }
18121 1066 : operands[2] = x3;
18122 1066 : if (!memory_operand (operands[0], E_V16SFmode))
18123 : return -1;
18124 437 : x4 = XEXP (x2, 0);
18125 437 : operands[1] = x4;
18126 437 : if (!register_operand (operands[1], E_V16SFmode))
18127 : return -1;
18128 175 : x5 = XEXP (x2, 1);
18129 175 : if (!rtx_equal_p (x5, operands[0])
18130 175 : || !insn_condition_27 (operands, insn))
18131 174 : return -1;
18132 : return 2702; /* *avx512f_storev16sf_mask */
18133 :
18134 2717 : case E_V8SFmode:
18135 2717 : x2 = XEXP (x1, 1);
18136 2717 : if (GET_MODE (x2) != E_V8SFmode)
18137 : return -1;
18138 2717 : x3 = XEXP (x2, 2);
18139 2717 : if (!register_operand (x3, E_QImode))
18140 : return -1;
18141 2717 : operands[3] = x3;
18142 2717 : if (register_operand (operands[0], E_V8SFmode))
18143 : {
18144 2426 : x4 = XEXP (x2, 0);
18145 2426 : operands[2] = x4;
18146 2426 : if (nonimmediate_operand (operands[2], E_V8SFmode))
18147 : {
18148 2265 : x5 = XEXP (x2, 1);
18149 2265 : operands[1] = x5;
18150 2265 : if (nonimm_or_0_operand (operands[1], E_V8SFmode)
18151 2265 : && insn_condition_100 (operands, insn))
18152 : return 2679; /* avx512vl_blendmv8sf */
18153 : }
18154 : }
18155 554 : operands[2] = x3;
18156 554 : if (!memory_operand (operands[0], E_V8SFmode))
18157 : return -1;
18158 282 : x4 = XEXP (x2, 0);
18159 282 : operands[1] = x4;
18160 282 : if (!register_operand (operands[1], E_V8SFmode))
18161 : return -1;
18162 132 : x5 = XEXP (x2, 1);
18163 132 : if (!rtx_equal_p (x5, operands[0])
18164 132 : || !insn_condition_100 (operands, insn))
18165 131 : return -1;
18166 : return 2703; /* *avx512vl_storev8sf_mask */
18167 :
18168 1255 : case E_V4SFmode:
18169 1255 : x2 = XEXP (x1, 1);
18170 1255 : if (GET_MODE (x2) != E_V4SFmode)
18171 : return -1;
18172 1255 : x3 = XEXP (x2, 2);
18173 1255 : if (!register_operand (x3, E_QImode))
18174 : return -1;
18175 1255 : operands[3] = x3;
18176 1255 : if (register_operand (operands[0], E_V4SFmode))
18177 : {
18178 1216 : x4 = XEXP (x2, 0);
18179 1216 : operands[2] = x4;
18180 1216 : if (nonimmediate_operand (operands[2], E_V4SFmode))
18181 : {
18182 1053 : x5 = XEXP (x2, 1);
18183 1053 : operands[1] = x5;
18184 1053 : if (nonimm_or_0_operand (operands[1], E_V4SFmode)
18185 1053 : && insn_condition_100 (operands, insn))
18186 : return 2680; /* avx512vl_blendmv4sf */
18187 : }
18188 : }
18189 206 : operands[2] = x3;
18190 206 : if (!memory_operand (operands[0], E_V4SFmode))
18191 : return -1;
18192 29 : x4 = XEXP (x2, 0);
18193 29 : operands[1] = x4;
18194 29 : if (!register_operand (operands[1], E_V4SFmode))
18195 : return -1;
18196 22 : x5 = XEXP (x2, 1);
18197 22 : if (!rtx_equal_p (x5, operands[0])
18198 22 : || !insn_condition_100 (operands, insn))
18199 21 : return -1;
18200 : return 2704; /* *avx512vl_storev4sf_mask */
18201 :
18202 2170 : case E_V8DFmode:
18203 2170 : x2 = XEXP (x1, 1);
18204 2170 : if (GET_MODE (x2) != E_V8DFmode)
18205 : return -1;
18206 2170 : x3 = XEXP (x2, 2);
18207 2170 : if (!register_operand (x3, E_QImode))
18208 : return -1;
18209 2161 : operands[3] = x3;
18210 2161 : if (register_operand (operands[0], E_V8DFmode))
18211 : {
18212 1890 : x4 = XEXP (x2, 0);
18213 1890 : operands[2] = x4;
18214 1890 : if (nonimmediate_operand (operands[2], E_V8DFmode))
18215 : {
18216 1890 : x5 = XEXP (x2, 1);
18217 1890 : operands[1] = x5;
18218 1890 : if (nonimm_or_0_operand (operands[1], E_V8DFmode)
18219 1890 : && insn_condition_27 (operands, insn))
18220 : return 2681; /* avx512f_blendmv8df */
18221 : }
18222 : }
18223 382 : operands[2] = x3;
18224 382 : if (!memory_operand (operands[0], E_V8DFmode))
18225 : return -1;
18226 261 : x4 = XEXP (x2, 0);
18227 261 : operands[1] = x4;
18228 261 : if (!register_operand (operands[1], E_V8DFmode))
18229 : return -1;
18230 261 : x5 = XEXP (x2, 1);
18231 261 : if (!rtx_equal_p (x5, operands[0])
18232 261 : || !insn_condition_27 (operands, insn))
18233 260 : return -1;
18234 : return 2705; /* *avx512f_storev8df_mask */
18235 :
18236 1120 : case E_V4DFmode:
18237 1120 : x2 = XEXP (x1, 1);
18238 1120 : if (GET_MODE (x2) != E_V4DFmode)
18239 : return -1;
18240 1120 : x3 = XEXP (x2, 2);
18241 1120 : if (!register_operand (x3, E_QImode))
18242 : return -1;
18243 1110 : operands[3] = x3;
18244 1110 : if (register_operand (operands[0], E_V4DFmode))
18245 : {
18246 1037 : x4 = XEXP (x2, 0);
18247 1037 : operands[2] = x4;
18248 1037 : if (nonimmediate_operand (operands[2], E_V4DFmode))
18249 : {
18250 1037 : x5 = XEXP (x2, 1);
18251 1037 : operands[1] = x5;
18252 1037 : if (nonimm_or_0_operand (operands[1], E_V4DFmode)
18253 1037 : && insn_condition_100 (operands, insn))
18254 : return 2682; /* avx512vl_blendmv4df */
18255 : }
18256 : }
18257 82 : operands[2] = x3;
18258 82 : if (!memory_operand (operands[0], E_V4DFmode))
18259 : return -1;
18260 65 : x4 = XEXP (x2, 0);
18261 65 : operands[1] = x4;
18262 65 : if (!register_operand (operands[1], E_V4DFmode))
18263 : return -1;
18264 53 : x5 = XEXP (x2, 1);
18265 53 : if (!rtx_equal_p (x5, operands[0])
18266 53 : || !insn_condition_100 (operands, insn))
18267 52 : return -1;
18268 : return 2706; /* *avx512vl_storev4df_mask */
18269 :
18270 806 : case E_V2DFmode:
18271 806 : x2 = XEXP (x1, 1);
18272 806 : if (GET_MODE (x2) != E_V2DFmode)
18273 : return -1;
18274 806 : x3 = XEXP (x2, 2);
18275 806 : if (!register_operand (x3, E_QImode))
18276 : return -1;
18277 806 : operands[3] = x3;
18278 806 : if (register_operand (operands[0], E_V2DFmode))
18279 : {
18280 762 : x4 = XEXP (x2, 0);
18281 762 : operands[2] = x4;
18282 762 : if (nonimmediate_operand (operands[2], E_V2DFmode))
18283 : {
18284 762 : x5 = XEXP (x2, 1);
18285 762 : operands[1] = x5;
18286 762 : if (nonimm_or_0_operand (operands[1], E_V2DFmode)
18287 762 : && insn_condition_100 (operands, insn))
18288 : return 2683; /* avx512vl_blendmv2df */
18289 : }
18290 : }
18291 61 : operands[2] = x3;
18292 61 : if (!memory_operand (operands[0], E_V2DFmode))
18293 : return -1;
18294 35 : x4 = XEXP (x2, 0);
18295 35 : operands[1] = x4;
18296 35 : if (!register_operand (operands[1], E_V2DFmode))
18297 : return -1;
18298 30 : x5 = XEXP (x2, 1);
18299 30 : if (!rtx_equal_p (x5, operands[0])
18300 30 : || !insn_condition_100 (operands, insn))
18301 29 : return -1;
18302 : return 2707; /* *avx512vl_storev2df_mask */
18303 :
18304 2390 : case E_V64QImode:
18305 2390 : x2 = XEXP (x1, 1);
18306 2390 : if (GET_MODE (x2) != E_V64QImode)
18307 : return -1;
18308 2390 : x3 = XEXP (x2, 2);
18309 2390 : if (!register_operand (x3, E_DImode))
18310 : return -1;
18311 2390 : operands[3] = x3;
18312 2390 : if (register_operand (operands[0], E_V64QImode))
18313 : {
18314 1968 : x4 = XEXP (x2, 0);
18315 1968 : operands[2] = x4;
18316 1968 : if (nonimmediate_operand (operands[2], E_V64QImode))
18317 : {
18318 1933 : x5 = XEXP (x2, 1);
18319 1933 : operands[1] = x5;
18320 1933 : if (nonimm_or_0_operand (operands[1], E_V64QImode)
18321 1933 : && insn_condition_12 (operands, insn))
18322 : return 2684; /* avx512bw_blendmv64qi */
18323 : }
18324 : }
18325 801 : operands[2] = x3;
18326 801 : if (!memory_operand (operands[0], E_V64QImode))
18327 : return -1;
18328 422 : x4 = XEXP (x2, 0);
18329 422 : operands[1] = x4;
18330 422 : if (!register_operand (operands[1], E_V64QImode))
18331 : return -1;
18332 187 : x5 = XEXP (x2, 1);
18333 187 : if (!rtx_equal_p (x5, operands[0])
18334 187 : || !insn_condition_12 (operands, insn))
18335 177 : return -1;
18336 : return 2708; /* *avx512bw_storev64qi_mask */
18337 :
18338 2077 : case E_V16QImode:
18339 2077 : x2 = XEXP (x1, 1);
18340 2077 : if (GET_MODE (x2) != E_V16QImode)
18341 : return -1;
18342 2077 : x3 = XEXP (x2, 2);
18343 2077 : if (!register_operand (x3, E_HImode))
18344 : return -1;
18345 2077 : operands[3] = x3;
18346 2077 : if (register_operand (operands[0], E_V16QImode))
18347 : {
18348 2018 : x4 = XEXP (x2, 0);
18349 2018 : operands[2] = x4;
18350 2018 : if (nonimmediate_operand (operands[2], E_V16QImode))
18351 : {
18352 2012 : x5 = XEXP (x2, 1);
18353 2012 : operands[1] = x5;
18354 2012 : if (nonimm_or_0_operand (operands[1], E_V16QImode)
18355 2012 : && insn_condition_77 (operands, insn))
18356 : return 2685; /* avx512vl_blendmv16qi */
18357 : }
18358 : }
18359 288 : operands[2] = x3;
18360 288 : if (!memory_operand (operands[0], E_V16QImode))
18361 : return -1;
18362 59 : x4 = XEXP (x2, 0);
18363 59 : operands[1] = x4;
18364 59 : if (!register_operand (operands[1], E_V16QImode))
18365 : return -1;
18366 44 : x5 = XEXP (x2, 1);
18367 44 : if (!rtx_equal_p (x5, operands[0])
18368 44 : || !insn_condition_77 (operands, insn))
18369 44 : return -1;
18370 : return 2709; /* *avx512vl_storev16qi_mask */
18371 :
18372 3413 : case E_V32QImode:
18373 3413 : x2 = XEXP (x1, 1);
18374 3413 : if (GET_MODE (x2) != E_V32QImode)
18375 : return -1;
18376 3413 : x3 = XEXP (x2, 2);
18377 3413 : if (!register_operand (x3, E_SImode))
18378 : return -1;
18379 3413 : operands[3] = x3;
18380 3413 : if (register_operand (operands[0], E_V32QImode))
18381 : {
18382 3003 : x4 = XEXP (x2, 0);
18383 3003 : operands[2] = x4;
18384 3003 : if (nonimmediate_operand (operands[2], E_V32QImode))
18385 : {
18386 2992 : x5 = XEXP (x2, 1);
18387 2992 : operands[1] = x5;
18388 2992 : if (nonimm_or_0_operand (operands[1], E_V32QImode)
18389 2992 : && insn_condition_77 (operands, insn))
18390 : return 2686; /* avx512vl_blendmv32qi */
18391 : }
18392 : }
18393 893 : operands[2] = x3;
18394 893 : if (!memory_operand (operands[0], E_V32QImode))
18395 : return -1;
18396 410 : x4 = XEXP (x2, 0);
18397 410 : operands[1] = x4;
18398 410 : if (!register_operand (operands[1], E_V32QImode))
18399 : return -1;
18400 212 : x5 = XEXP (x2, 1);
18401 212 : if (!rtx_equal_p (x5, operands[0])
18402 212 : || !insn_condition_77 (operands, insn))
18403 180 : return -1;
18404 : return 2710; /* *avx512vl_storev32qi_mask */
18405 :
18406 4070 : case E_V32HImode:
18407 4070 : x2 = XEXP (x1, 1);
18408 4070 : if (GET_MODE (x2) != E_V32HImode)
18409 : return -1;
18410 4070 : x3 = XEXP (x2, 2);
18411 4070 : if (!register_operand (x3, E_SImode))
18412 : return -1;
18413 4069 : operands[3] = x3;
18414 4069 : if (register_operand (operands[0], E_V32HImode))
18415 : {
18416 3373 : x4 = XEXP (x2, 0);
18417 3373 : operands[2] = x4;
18418 3373 : if (nonimmediate_operand (operands[2], E_V32HImode))
18419 : {
18420 3373 : x5 = XEXP (x2, 1);
18421 3373 : operands[1] = x5;
18422 3373 : if (nonimm_or_0_operand (operands[1], E_V32HImode)
18423 3373 : && insn_condition_12 (operands, insn))
18424 : return 2687; /* avx512bw_blendmv32hi */
18425 : }
18426 : }
18427 1349 : operands[2] = x3;
18428 1349 : if (!memory_operand (operands[0], E_V32HImode))
18429 : return -1;
18430 696 : x4 = XEXP (x2, 0);
18431 696 : operands[1] = x4;
18432 696 : if (!register_operand (operands[1], E_V32HImode))
18433 : return -1;
18434 240 : x5 = XEXP (x2, 1);
18435 240 : if (!rtx_equal_p (x5, operands[0])
18436 240 : || !insn_condition_12 (operands, insn))
18437 232 : return -1;
18438 : return 2711; /* *avx512bw_storev32hi_mask */
18439 :
18440 3480 : case E_V16HImode:
18441 3480 : x2 = XEXP (x1, 1);
18442 3480 : if (GET_MODE (x2) != E_V16HImode)
18443 : return -1;
18444 3480 : x3 = XEXP (x2, 2);
18445 3480 : if (!register_operand (x3, E_HImode))
18446 : return -1;
18447 3480 : operands[3] = x3;
18448 3480 : if (register_operand (operands[0], E_V16HImode))
18449 : {
18450 3057 : x4 = XEXP (x2, 0);
18451 3057 : operands[2] = x4;
18452 3057 : if (nonimmediate_operand (operands[2], E_V16HImode))
18453 : {
18454 3057 : x5 = XEXP (x2, 1);
18455 3057 : operands[1] = x5;
18456 3057 : if (nonimm_or_0_operand (operands[1], E_V16HImode)
18457 3057 : && insn_condition_77 (operands, insn))
18458 : return 2688; /* avx512vl_blendmv16hi */
18459 : }
18460 : }
18461 893 : operands[2] = x3;
18462 893 : if (!memory_operand (operands[0], E_V16HImode))
18463 : return -1;
18464 423 : x4 = XEXP (x2, 0);
18465 423 : operands[1] = x4;
18466 423 : if (!register_operand (operands[1], E_V16HImode))
18467 : return -1;
18468 186 : x5 = XEXP (x2, 1);
18469 186 : if (!rtx_equal_p (x5, operands[0])
18470 186 : || !insn_condition_77 (operands, insn))
18471 154 : return -1;
18472 : return 2712; /* *avx512vl_storev16hi_mask */
18473 :
18474 2273 : case E_V8HImode:
18475 2273 : x2 = XEXP (x1, 1);
18476 2273 : if (GET_MODE (x2) != E_V8HImode)
18477 : return -1;
18478 2273 : x3 = XEXP (x2, 2);
18479 2273 : if (!register_operand (x3, E_QImode))
18480 : return -1;
18481 2271 : operands[3] = x3;
18482 2271 : if (register_operand (operands[0], E_V8HImode))
18483 : {
18484 2262 : x4 = XEXP (x2, 0);
18485 2262 : operands[2] = x4;
18486 2262 : if (nonimmediate_operand (operands[2], E_V8HImode))
18487 : {
18488 2130 : x5 = XEXP (x2, 1);
18489 2130 : operands[1] = x5;
18490 2130 : if (nonimm_or_0_operand (operands[1], E_V8HImode)
18491 2130 : && insn_condition_77 (operands, insn))
18492 : return 2689; /* avx512vl_blendmv8hi */
18493 : }
18494 : }
18495 351 : operands[2] = x3;
18496 351 : if (!memory_operand (operands[0], E_V8HImode))
18497 : return -1;
18498 9 : x4 = XEXP (x2, 0);
18499 9 : operands[1] = x4;
18500 9 : if (!register_operand (operands[1], E_V8HImode))
18501 : return -1;
18502 9 : x5 = XEXP (x2, 1);
18503 9 : if (!rtx_equal_p (x5, operands[0])
18504 9 : || !insn_condition_77 (operands, insn))
18505 9 : return -1;
18506 : return 2713; /* *avx512vl_storev8hi_mask */
18507 :
18508 1084 : case E_V32HFmode:
18509 1084 : x2 = XEXP (x1, 1);
18510 1084 : if (GET_MODE (x2) != E_V32HFmode)
18511 : return -1;
18512 1084 : x3 = XEXP (x2, 2);
18513 1084 : if (!register_operand (x3, E_SImode))
18514 : return -1;
18515 1084 : operands[3] = x3;
18516 1084 : if (register_operand (operands[0], E_V32HFmode))
18517 : {
18518 1061 : x4 = XEXP (x2, 0);
18519 1061 : operands[2] = x4;
18520 1061 : if (nonimmediate_operand (operands[2], E_V32HFmode))
18521 : {
18522 1061 : x5 = XEXP (x2, 1);
18523 1061 : operands[1] = x5;
18524 1061 : if (nonimm_or_0_operand (operands[1], E_V32HFmode)
18525 1061 : && insn_condition_12 (operands, insn))
18526 : return 2690; /* avx512bw_blendmv32hf */
18527 : }
18528 : }
18529 61 : operands[2] = x3;
18530 61 : if (!memory_operand (operands[0], E_V32HFmode))
18531 : return -1;
18532 21 : x4 = XEXP (x2, 0);
18533 21 : operands[1] = x4;
18534 21 : if (!register_operand (operands[1], E_V32HFmode))
18535 : return -1;
18536 12 : x5 = XEXP (x2, 1);
18537 12 : if (!rtx_equal_p (x5, operands[0])
18538 12 : || !insn_condition_12 (operands, insn))
18539 11 : return -1;
18540 : return 2714; /* *avx512bw_storev32hf_mask */
18541 :
18542 858 : case E_V16HFmode:
18543 858 : return recog_171 (x1, insn, pnum_clobbers);
18544 :
18545 1532 : case E_V8HFmode:
18546 1532 : return recog_170 (x1, insn, pnum_clobbers);
18547 :
18548 86 : case E_V32BFmode:
18549 86 : return recog_169 (x1, insn, pnum_clobbers);
18550 :
18551 9 : case E_V16BFmode:
18552 9 : return recog_168 (x1, insn, pnum_clobbers);
18553 :
18554 35 : case E_V8BFmode:
18555 35 : return recog_167 (x1, insn, pnum_clobbers);
18556 :
18557 : default:
18558 : return -1;
18559 : }
18560 : }
18561 :
18562 : int
18563 1113 : recog_184 (rtx x1 ATTRIBUTE_UNUSED,
18564 : rtx_insn *insn ATTRIBUTE_UNUSED,
18565 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18566 : {
18567 1113 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18568 1113 : rtx x2, x3, x4, x5, x6, x7, x8;
18569 1113 : int res ATTRIBUTE_UNUSED;
18570 1113 : x2 = XEXP (x1, 1);
18571 1113 : x3 = XEXP (x2, 0);
18572 1113 : x4 = XEXP (x3, 1);
18573 1113 : x5 = XVECEXP (x4, 0, 0);
18574 1113 : if (GET_CODE (x5) != CONST_INT)
18575 : return -1;
18576 1113 : operands[2] = x5;
18577 1113 : if (const_0_to_7_operand (operands[2], E_VOIDmode))
18578 : {
18579 1113 : x6 = XVECEXP (x4, 0, 1);
18580 1113 : operands[3] = x6;
18581 1113 : if (const_0_to_7_operand (operands[3], E_VOIDmode))
18582 : {
18583 1113 : x7 = XEXP (x2, 1);
18584 1113 : operands[4] = x7;
18585 1113 : x8 = XEXP (x2, 2);
18586 1113 : operands[5] = x8;
18587 1113 : if (register_operand (operands[5], E_QImode))
18588 : {
18589 937 : switch (GET_MODE (operands[0]))
18590 : {
18591 558 : case E_V2DFmode:
18592 558 : if (pattern1594 (x2,
18593 : E_V2DFmode,
18594 : E_V8DFmode) == 0
18595 558 : && insn_condition_1151 (operands, insn))
18596 : return 5506; /* avx512dq_vextractf64x2_1_mask */
18597 : break;
18598 :
18599 379 : case E_V2DImode:
18600 379 : if (pattern1594 (x2,
18601 : E_V2DImode,
18602 : E_V8DImode) == 0
18603 379 : && insn_condition_1151 (operands, insn))
18604 : return 5507; /* avx512dq_vextracti64x2_1_mask */
18605 : break;
18606 :
18607 : default:
18608 : break;
18609 : }
18610 : }
18611 : }
18612 : }
18613 745 : x6 = XVECEXP (x4, 0, 1);
18614 745 : if (GET_CODE (x6) != CONST_INT)
18615 : return -1;
18616 745 : x7 = XEXP (x2, 1);
18617 745 : operands[2] = x7;
18618 745 : x8 = XEXP (x2, 2);
18619 745 : operands[3] = x8;
18620 745 : if (!register_operand (operands[3], E_QImode))
18621 : return -1;
18622 569 : switch (XWINT (x5, 0))
18623 : {
18624 0 : case 0L:
18625 0 : if (XWINT (x6, 0) != 1L)
18626 : return -1;
18627 0 : switch (GET_MODE (operands[0]))
18628 : {
18629 0 : case E_V2DImode:
18630 0 : if (!nonimmediate_operand (operands[0], E_V2DImode)
18631 0 : || pattern1595 (x2,
18632 : E_V2DImode,
18633 : E_V4DImode) != 0
18634 0 : || !insn_condition_1152 (operands, insn))
18635 0 : return -1;
18636 : return 5530; /* vec_extract_lo_v4di_mask */
18637 :
18638 0 : case E_V2DFmode:
18639 0 : if (!nonimmediate_operand (operands[0], E_V2DFmode)
18640 0 : || pattern1595 (x2,
18641 : E_V2DFmode,
18642 : E_V4DFmode) != 0
18643 0 : || !insn_condition_1152 (operands, insn))
18644 0 : return -1;
18645 : return 5531; /* vec_extract_lo_v4df_mask */
18646 :
18647 : default:
18648 : return -1;
18649 : }
18650 :
18651 388 : case 2L:
18652 388 : if (XWINT (x6, 0) != 3L)
18653 : return -1;
18654 388 : switch (GET_MODE (operands[0]))
18655 : {
18656 185 : case E_V2DImode:
18657 185 : if (!nonimmediate_operand (operands[0], E_V2DImode)
18658 179 : || pattern1595 (x2,
18659 : E_V2DImode,
18660 : E_V4DImode) != 0
18661 360 : || !insn_condition_1152 (operands, insn))
18662 12 : return -1;
18663 : return 5534; /* vec_extract_hi_v4di_mask */
18664 :
18665 203 : case E_V2DFmode:
18666 203 : if (!nonimmediate_operand (operands[0], E_V2DFmode)
18667 197 : || pattern1595 (x2,
18668 : E_V2DFmode,
18669 : E_V4DFmode) != 0
18670 398 : || !insn_condition_1152 (operands, insn))
18671 10 : return -1;
18672 : return 5535; /* vec_extract_hi_v4df_mask */
18673 :
18674 : default:
18675 : return -1;
18676 : }
18677 :
18678 : default:
18679 : return -1;
18680 : }
18681 : }
18682 :
18683 : int
18684 2568 : recog_189 (rtx x1 ATTRIBUTE_UNUSED,
18685 : rtx_insn *insn ATTRIBUTE_UNUSED,
18686 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18687 : {
18688 2568 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18689 2568 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18690 2568 : rtx x10;
18691 2568 : int res ATTRIBUTE_UNUSED;
18692 2568 : x2 = XEXP (x1, 1);
18693 2568 : x3 = XEXP (x2, 0);
18694 2568 : x4 = XEXP (x3, 1);
18695 2568 : x5 = XVECEXP (x4, 0, 4);
18696 2568 : if (GET_CODE (x5) != CONST_INT)
18697 : return -1;
18698 2568 : operands[6] = x5;
18699 2568 : res = recog_188 (x1, insn, pnum_clobbers);
18700 2568 : if (res >= 0)
18701 : return res;
18702 2394 : if (XWINT (x5, 0) != 4L)
18703 : return -1;
18704 1021 : x6 = XVECEXP (x4, 0, 5);
18705 1021 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
18706 : return -1;
18707 190 : x7 = XVECEXP (x4, 0, 6);
18708 190 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
18709 : return -1;
18710 190 : x8 = XVECEXP (x4, 0, 7);
18711 190 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
18712 190 : || pattern1337 (x2,
18713 : E_V8HImode) != 0
18714 361 : || pattern1059 (x4) != 0)
18715 : return -1;
18716 171 : x9 = XEXP (x2, 1);
18717 171 : operands[6] = x9;
18718 171 : if (!nonimm_or_0_operand (operands[6], E_V8HImode))
18719 : return -1;
18720 170 : x10 = XEXP (x2, 2);
18721 170 : operands[7] = x10;
18722 170 : if (!register_operand (operands[7], E_QImode)
18723 170 : || !insn_condition_1159 (operands, insn))
18724 7 : return -1;
18725 : return 7114; /* sse2_pshuflw_1_mask */
18726 : }
18727 :
18728 : int
18729 936 : recog_192 (rtx x1 ATTRIBUTE_UNUSED,
18730 : rtx_insn *insn ATTRIBUTE_UNUSED,
18731 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18732 : {
18733 936 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18734 936 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18735 936 : rtx x10, x11, x12, x13, x14;
18736 936 : int res ATTRIBUTE_UNUSED;
18737 936 : x2 = XEXP (x1, 1);
18738 936 : x3 = XEXP (x2, 0);
18739 936 : x4 = XEXP (x3, 1);
18740 936 : x5 = XVECEXP (x4, 0, 4);
18741 936 : if (GET_CODE (x5) != CONST_INT)
18742 : return -1;
18743 936 : operands[6] = x5;
18744 936 : res = recog_191 (x1, insn, pnum_clobbers);
18745 936 : if (res >= 0)
18746 : return res;
18747 732 : if (XWINT (x5, 0) != 4L)
18748 : return -1;
18749 308 : x6 = XVECEXP (x4, 0, 5);
18750 308 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
18751 : return -1;
18752 213 : x7 = XVECEXP (x4, 0, 6);
18753 213 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
18754 : return -1;
18755 213 : x8 = XVECEXP (x4, 0, 7);
18756 213 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
18757 213 : || pattern1513 (x4) != 0
18758 213 : || pattern791 (x2,
18759 : E_V16HImode) != 0
18760 411 : || pattern1059 (x4) != 0)
18761 : return -1;
18762 198 : x9 = XVECEXP (x4, 0, 8);
18763 198 : operands[6] = x9;
18764 198 : if (!const_8_to_11_operand (operands[6], E_VOIDmode))
18765 : return -1;
18766 198 : x10 = XVECEXP (x4, 0, 9);
18767 198 : operands[7] = x10;
18768 198 : if (!const_8_to_11_operand (operands[7], E_VOIDmode))
18769 : return -1;
18770 198 : x11 = XVECEXP (x4, 0, 10);
18771 198 : operands[8] = x11;
18772 198 : if (!const_8_to_11_operand (operands[8], E_VOIDmode))
18773 : return -1;
18774 198 : x12 = XVECEXP (x4, 0, 11);
18775 198 : operands[9] = x12;
18776 198 : if (!const_8_to_11_operand (operands[9], E_VOIDmode))
18777 : return -1;
18778 198 : x13 = XEXP (x2, 1);
18779 198 : operands[10] = x13;
18780 198 : if (!nonimm_or_0_operand (operands[10], E_V16HImode))
18781 : return -1;
18782 190 : x14 = XEXP (x2, 2);
18783 190 : operands[11] = x14;
18784 190 : if (!register_operand (operands[11], E_HImode)
18785 190 : || !insn_condition_1162 (operands, insn))
18786 19 : return -1;
18787 : return 7112; /* avx2_pshuflw_1_mask */
18788 : }
18789 :
18790 : int
18791 280356 : recog_195 (rtx x1 ATTRIBUTE_UNUSED,
18792 : rtx_insn *insn ATTRIBUTE_UNUSED,
18793 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18794 : {
18795 280356 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18796 280356 : rtx x2, x3;
18797 280356 : int res ATTRIBUTE_UNUSED;
18798 280356 : x2 = XEXP (x1, 1);
18799 280356 : x3 = XEXP (x2, 0);
18800 280356 : switch (GET_CODE (x3))
18801 : {
18802 265168 : case REG:
18803 265168 : case SUBREG:
18804 265168 : case MEM:
18805 265168 : res = recog_173 (x1, insn, pnum_clobbers);
18806 265168 : if (res >= 0)
18807 : return res;
18808 : break;
18809 :
18810 15188 : case CONST_INT:
18811 15188 : case CONST_DOUBLE:
18812 15188 : case CONST_VECTOR:
18813 15188 : switch (pattern351 (x2))
18814 : {
18815 2424 : case 0:
18816 2424 : res = recog_174 (x1, insn, pnum_clobbers);
18817 2424 : if (res >= 0)
18818 : return res;
18819 : break;
18820 :
18821 0 : case 1:
18822 0 : if (vector_all_ones_operand (operands[1], E_V16QImode)
18823 0 : && const0_operand (operands[2], E_V16QImode)
18824 0 : && insn_condition_1133 (operands, insn))
18825 : return 6626; /* *avx2_pcmpv16qi3_6 */
18826 0 : if (const0_operand (operands[1], E_V16QImode)
18827 0 : && vector_all_ones_operand (operands[2], E_V16QImode)
18828 0 : && insn_condition_1163 (operands, insn))
18829 : return 6649; /* *avx2_pcmpv16qi3_8 */
18830 : break;
18831 :
18832 0 : case 2:
18833 0 : if (vector_all_ones_operand (operands[1], E_V8HImode)
18834 0 : && const0_operand (operands[2], E_V8HImode)
18835 0 : && insn_condition_1133 (operands, insn))
18836 : return 6628; /* *avx2_pcmpv8hi3_6 */
18837 0 : if (const0_operand (operands[1], E_V8HImode)
18838 0 : && vector_all_ones_operand (operands[2], E_V8HImode)
18839 0 : && insn_condition_1163 (operands, insn))
18840 : return 6650; /* *avx2_pcmpv8hi3_8 */
18841 : break;
18842 :
18843 9 : case 3:
18844 9 : if (vector_all_ones_operand (operands[1], E_V4SImode)
18845 4 : && const0_operand (operands[2], E_V4SImode)
18846 13 : && insn_condition_1133 (operands, insn))
18847 : return 6630; /* *avx2_pcmpv4si3_6 */
18848 9 : if (const0_operand (operands[1], E_V4SImode)
18849 5 : && vector_all_ones_operand (operands[2], E_V4SImode)
18850 12 : && insn_condition_1163 (operands, insn))
18851 : return 6651; /* *avx2_pcmpv4si3_8 */
18852 : break;
18853 :
18854 0 : case 4:
18855 0 : if (vector_all_ones_operand (operands[1], E_V2DImode)
18856 0 : && const0_operand (operands[2], E_V2DImode)
18857 0 : && insn_condition_1133 (operands, insn))
18858 : return 6632; /* *avx2_pcmpv2di3_6 */
18859 0 : if (const0_operand (operands[1], E_V2DImode)
18860 0 : && vector_all_ones_operand (operands[2], E_V2DImode)
18861 0 : && insn_condition_1163 (operands, insn))
18862 : return 6652; /* *avx2_pcmpv2di3_8 */
18863 : break;
18864 :
18865 8 : case 5:
18866 8 : if (vector_all_ones_operand (operands[1], E_V32QImode)
18867 8 : && const0_operand (operands[2], E_V32QImode)
18868 16 : && insn_condition_1133 (operands, insn))
18869 : return 6634; /* *avx2_pcmpv32qi3_6 */
18870 0 : if (const0_operand (operands[1], E_V32QImode)
18871 0 : && vector_all_ones_operand (operands[2], E_V32QImode)
18872 0 : && insn_condition_1163 (operands, insn))
18873 : return 6653; /* *avx2_pcmpv32qi3_8 */
18874 : break;
18875 :
18876 8 : case 6:
18877 8 : if (vector_all_ones_operand (operands[1], E_V16HImode)
18878 8 : && const0_operand (operands[2], E_V16HImode)
18879 16 : && insn_condition_1133 (operands, insn))
18880 : return 6636; /* *avx2_pcmpv16hi3_6 */
18881 0 : if (const0_operand (operands[1], E_V16HImode)
18882 0 : && vector_all_ones_operand (operands[2], E_V16HImode)
18883 0 : && insn_condition_1163 (operands, insn))
18884 : return 6654; /* *avx2_pcmpv16hi3_8 */
18885 : break;
18886 :
18887 8 : case 7:
18888 8 : if (vector_all_ones_operand (operands[1], E_V8SImode)
18889 8 : && const0_operand (operands[2], E_V8SImode)
18890 16 : && insn_condition_1133 (operands, insn))
18891 : return 6638; /* *avx2_pcmpv8si3_6 */
18892 0 : if (const0_operand (operands[1], E_V8SImode)
18893 0 : && vector_all_ones_operand (operands[2], E_V8SImode)
18894 0 : && insn_condition_1163 (operands, insn))
18895 : return 6655; /* *avx2_pcmpv8si3_8 */
18896 : break;
18897 :
18898 8 : case 8:
18899 8 : if (vector_all_ones_operand (operands[1], E_V4DImode)
18900 8 : && const0_operand (operands[2], E_V4DImode)
18901 16 : && insn_condition_1133 (operands, insn))
18902 : return 6640; /* *avx2_pcmpv4di3_6 */
18903 0 : if (const0_operand (operands[1], E_V4DImode)
18904 0 : && vector_all_ones_operand (operands[2], E_V4DImode)
18905 0 : && insn_condition_1163 (operands, insn))
18906 : return 6656; /* *avx2_pcmpv4di3_8 */
18907 : break;
18908 :
18909 0 : case 9:
18910 0 : if (insn_condition_1127 (operands, insn))
18911 : return 3398; /* *avx_cmpv8sf3_2 */
18912 : break;
18913 :
18914 0 : case 10:
18915 0 : if (insn_condition_1164 (operands, insn))
18916 : return 6617; /* *avx2_pcmpv8si3_2 */
18917 : break;
18918 :
18919 0 : case 11:
18920 0 : if (insn_condition_197 (operands, insn))
18921 : return 3399; /* *avx_cmpv4sf3_2 */
18922 : break;
18923 :
18924 0 : case 12:
18925 0 : if (insn_condition_1164 (operands, insn))
18926 : return 6613; /* *avx2_pcmpv4si3_2 */
18927 : break;
18928 :
18929 0 : case 13:
18930 0 : if (insn_condition_1127 (operands, insn))
18931 : return 3400; /* *avx_cmpv4df3_2 */
18932 : break;
18933 :
18934 0 : case 14:
18935 0 : if (insn_condition_1164 (operands, insn))
18936 : return 6618; /* *avx2_pcmpv4di3_2 */
18937 : break;
18938 :
18939 0 : case 15:
18940 0 : if (insn_condition_1128 (operands, insn))
18941 : return 3401; /* *avx_cmpv2df3_2 */
18942 : break;
18943 :
18944 0 : case 16:
18945 0 : if (insn_condition_1164 (operands, insn))
18946 : return 6614; /* *avx2_pcmpv2di3_2 */
18947 : break;
18948 :
18949 0 : case 17:
18950 0 : if (insn_condition_1164 (operands, insn))
18951 : return 6611; /* *avx2_pcmpv16qi3_2 */
18952 : break;
18953 :
18954 0 : case 18:
18955 0 : if (insn_condition_1164 (operands, insn))
18956 : return 6612; /* *avx2_pcmpv8hi3_2 */
18957 : break;
18958 :
18959 0 : case 19:
18960 0 : if (insn_condition_1164 (operands, insn))
18961 : return 6615; /* *avx2_pcmpv32qi3_2 */
18962 : break;
18963 :
18964 0 : case 20:
18965 0 : if (insn_condition_1164 (operands, insn))
18966 : return 6616; /* *avx2_pcmpv16hi3_2 */
18967 : break;
18968 :
18969 10715 : case 21:
18970 10715 : switch (GET_MODE (operands[0]))
18971 : {
18972 379 : case E_V64QImode:
18973 379 : if (register_operand (operands[0], E_V64QImode)
18974 357 : && GET_MODE (x2) == E_V64QImode
18975 736 : && register_operand (operands[1], E_DImode))
18976 : {
18977 357 : if (vector_all_ones_operand (operands[2], E_V64QImode)
18978 287 : && const0_operand (operands[3], E_V64QImode)
18979 644 : && insn_condition_12 (operands, insn))
18980 : return 5369; /* *avx512bw_cvtmask2bv64qi */
18981 70 : if (const0_operand (operands[2], E_V64QImode)
18982 0 : && vector_all_ones_operand (operands[3], E_V64QImode)
18983 70 : && insn_condition_1129 (operands, insn))
18984 : return 5381; /* *avx512bw_cvtmask2bv64qi_not */
18985 : }
18986 : break;
18987 :
18988 321 : case E_V16QImode:
18989 321 : if (register_operand (operands[0], E_V16QImode)
18990 293 : && GET_MODE (x2) == E_V16QImode
18991 614 : && register_operand (operands[1], E_HImode))
18992 : {
18993 293 : if (vector_all_ones_operand (operands[2], E_V16QImode)
18994 173 : && const0_operand (operands[3], E_V16QImode)
18995 293 : && insn_condition_77 (operands, insn))
18996 : return 5370; /* *avx512vl_cvtmask2bv16qi */
18997 120 : if (const0_operand (operands[2], E_V16QImode)
18998 21 : && vector_all_ones_operand (operands[3], E_V16QImode)
18999 123 : && insn_condition_1130 (operands, insn))
19000 : return 5383; /* *avx512vl_cvtmask2bv16qi_not */
19001 : }
19002 : break;
19003 :
19004 408 : case E_V32QImode:
19005 408 : if (register_operand (operands[0], E_V32QImode)
19006 391 : && GET_MODE (x2) == E_V32QImode
19007 799 : && register_operand (operands[1], E_SImode))
19008 : {
19009 391 : if (vector_all_ones_operand (operands[2], E_V32QImode)
19010 194 : && const0_operand (operands[3], E_V32QImode)
19011 391 : && insn_condition_77 (operands, insn))
19012 : return 5371; /* *avx512vl_cvtmask2bv32qi */
19013 197 : if (const0_operand (operands[2], E_V32QImode)
19014 21 : && vector_all_ones_operand (operands[3], E_V32QImode)
19015 200 : && insn_condition_1130 (operands, insn))
19016 : return 5382; /* *avx512vl_cvtmask2bv32qi_not */
19017 : }
19018 : break;
19019 :
19020 451 : case E_V32HImode:
19021 451 : if (register_operand (operands[0], E_V32HImode)
19022 430 : && GET_MODE (x2) == E_V32HImode
19023 881 : && register_operand (operands[1], E_SImode))
19024 : {
19025 430 : if (vector_all_ones_operand (operands[2], E_V32HImode)
19026 325 : && const0_operand (operands[3], E_V32HImode)
19027 755 : && insn_condition_12 (operands, insn))
19028 : return 5372; /* *avx512bw_cvtmask2wv32hi */
19029 105 : if (const0_operand (operands[2], E_V32HImode)
19030 5 : && vector_all_ones_operand (operands[3], E_V32HImode)
19031 105 : && insn_condition_1129 (operands, insn))
19032 : return 5384; /* *avx512bw_cvtmask2wv32hi_not */
19033 : }
19034 : break;
19035 :
19036 445 : case E_V16HImode:
19037 445 : if (register_operand (operands[0], E_V16HImode)
19038 428 : && GET_MODE (x2) == E_V16HImode
19039 873 : && register_operand (operands[1], E_HImode))
19040 : {
19041 428 : if (vector_all_ones_operand (operands[2], E_V16HImode)
19042 222 : && const0_operand (operands[3], E_V16HImode)
19043 428 : && insn_condition_77 (operands, insn))
19044 : return 5373; /* *avx512vl_cvtmask2wv16hi */
19045 206 : if (const0_operand (operands[2], E_V16HImode)
19046 30 : && vector_all_ones_operand (operands[3], E_V16HImode)
19047 209 : && insn_condition_1130 (operands, insn))
19048 : return 5385; /* *avx512vl_cvtmask2wv16hi_not */
19049 : }
19050 : break;
19051 :
19052 325 : case E_V8HImode:
19053 325 : if (register_operand (operands[0], E_V8HImode)
19054 284 : && GET_MODE (x2) == E_V8HImode
19055 609 : && register_operand (operands[1], E_QImode))
19056 : {
19057 284 : if (vector_all_ones_operand (operands[2], E_V8HImode)
19058 216 : && const0_operand (operands[3], E_V8HImode)
19059 284 : && insn_condition_77 (operands, insn))
19060 : return 5374; /* *avx512vl_cvtmask2wv8hi */
19061 68 : if (const0_operand (operands[2], E_V8HImode)
19062 21 : && vector_all_ones_operand (operands[3], E_V8HImode)
19063 71 : && insn_condition_1130 (operands, insn))
19064 : return 5386; /* *avx512vl_cvtmask2wv8hi_not */
19065 : }
19066 : break;
19067 :
19068 1951 : case E_V16SImode:
19069 1951 : if (register_operand (operands[0], E_V16SImode)
19070 1816 : && GET_MODE (x2) == E_V16SImode
19071 3767 : && register_operand (operands[1], E_HImode))
19072 : {
19073 1816 : if (vector_all_ones_operand (operands[2], E_V16SImode)
19074 368 : && const0_operand (operands[3], E_V16SImode)
19075 2184 : && insn_condition_27 (operands, insn))
19076 : return 5375; /* *avx512f_cvtmask2dv16si */
19077 1448 : if (const0_operand (operands[2], E_V16SImode)
19078 212 : && vector_all_ones_operand (operands[3], E_V16SImode)
19079 1448 : && insn_condition_864 (operands, insn))
19080 : return 5387; /* *avx512f_cvtmask2dv16si_not */
19081 : }
19082 : break;
19083 :
19084 1133 : case E_V8SImode:
19085 1133 : if (register_operand (operands[0], E_V8SImode)
19086 1117 : && GET_MODE (x2) == E_V8SImode
19087 2250 : && register_operand (operands[1], E_QImode))
19088 : {
19089 1117 : if (vector_all_ones_operand (operands[2], E_V8SImode)
19090 203 : && const0_operand (operands[3], E_V8SImode)
19091 1117 : && insn_condition_100 (operands, insn))
19092 : return 5376; /* *avx512vl_cvtmask2dv8si */
19093 914 : if (const0_operand (operands[2], E_V8SImode)
19094 77 : && vector_all_ones_operand (operands[3], E_V8SImode)
19095 917 : && insn_condition_1131 (operands, insn))
19096 : return 5388; /* *avx512vl_cvtmask2dv8si_not */
19097 : }
19098 : break;
19099 :
19100 1958 : case E_V4SImode:
19101 1958 : if (register_operand (operands[0], E_V4SImode)
19102 1920 : && GET_MODE (x2) == E_V4SImode
19103 3878 : && register_operand (operands[1], E_QImode))
19104 : {
19105 1920 : if (vector_all_ones_operand (operands[2], E_V4SImode)
19106 231 : && const0_operand (operands[3], E_V4SImode)
19107 1920 : && insn_condition_100 (operands, insn))
19108 : return 5377; /* *avx512vl_cvtmask2dv4si */
19109 1689 : if (const0_operand (operands[2], E_V4SImode)
19110 162 : && vector_all_ones_operand (operands[3], E_V4SImode)
19111 1697 : && insn_condition_1131 (operands, insn))
19112 : return 5389; /* *avx512vl_cvtmask2dv4si_not */
19113 : }
19114 : break;
19115 :
19116 620 : case E_V8DImode:
19117 620 : if (register_operand (operands[0], E_V8DImode)
19118 591 : && GET_MODE (x2) == E_V8DImode
19119 1211 : && register_operand (operands[1], E_QImode))
19120 : {
19121 591 : if (vector_all_ones_operand (operands[2], E_V8DImode)
19122 341 : && const0_operand (operands[3], E_V8DImode)
19123 932 : && insn_condition_27 (operands, insn))
19124 : return 5378; /* *avx512f_cvtmask2qv8di */
19125 250 : if (const0_operand (operands[2], E_V8DImode)
19126 23 : && vector_all_ones_operand (operands[3], E_V8DImode)
19127 250 : && insn_condition_864 (operands, insn))
19128 : return 5390; /* *avx512f_cvtmask2qv8di_not */
19129 : }
19130 : break;
19131 :
19132 346 : case E_V4DImode:
19133 346 : if (register_operand (operands[0], E_V4DImode)
19134 343 : && GET_MODE (x2) == E_V4DImode
19135 689 : && register_operand (operands[1], E_QImode))
19136 : {
19137 343 : if (vector_all_ones_operand (operands[2], E_V4DImode)
19138 204 : && const0_operand (operands[3], E_V4DImode)
19139 343 : && insn_condition_100 (operands, insn))
19140 : return 5379; /* *avx512vl_cvtmask2qv4di */
19141 139 : if (const0_operand (operands[2], E_V4DImode)
19142 21 : && vector_all_ones_operand (operands[3], E_V4DImode)
19143 142 : && insn_condition_1131 (operands, insn))
19144 : return 5391; /* *avx512vl_cvtmask2qv4di_not */
19145 : }
19146 : break;
19147 :
19148 254 : case E_V2DImode:
19149 254 : if (register_operand (operands[0], E_V2DImode)
19150 233 : && GET_MODE (x2) == E_V2DImode
19151 487 : && register_operand (operands[1], E_QImode))
19152 : {
19153 233 : if (vector_all_ones_operand (operands[2], E_V2DImode)
19154 192 : && const0_operand (operands[3], E_V2DImode)
19155 233 : && insn_condition_100 (operands, insn))
19156 : return 5380; /* *avx512vl_cvtmask2qv2di */
19157 41 : if (const0_operand (operands[2], E_V2DImode)
19158 21 : && vector_all_ones_operand (operands[3], E_V2DImode)
19159 44 : && insn_condition_1131 (operands, insn))
19160 : return 5392; /* *avx512vl_cvtmask2qv2di_not */
19161 : }
19162 : break;
19163 :
19164 : default:
19165 : break;
19166 : }
19167 : break;
19168 :
19169 : default:
19170 : break;
19171 : }
19172 : break;
19173 :
19174 : default:
19175 : break;
19176 : }
19177 99148 : operands[1] = x3;
19178 99148 : switch (pattern354 (x2))
19179 : {
19180 3 : case 0:
19181 3 : if (!insn_condition_1127 (operands, insn))
19182 0 : return -1;
19183 : return 3402; /* *avx_cmpv8sf3_3 */
19184 :
19185 3 : case 1:
19186 3 : if (!insn_condition_197 (operands, insn))
19187 0 : return -1;
19188 : return 3403; /* *avx_cmpv4sf3_3 */
19189 :
19190 3 : case 2:
19191 3 : if (!insn_condition_1127 (operands, insn))
19192 0 : return -1;
19193 : return 3404; /* *avx_cmpv4df3_3 */
19194 :
19195 3 : case 3:
19196 3 : if (!insn_condition_1128 (operands, insn))
19197 0 : return -1;
19198 : return 3405; /* *avx_cmpv2df3_3 */
19199 :
19200 0 : case 4:
19201 0 : if (!insn_condition_1127 (operands, insn))
19202 0 : return -1;
19203 : return 3406; /* *avx_cmpv8sf3_4 */
19204 :
19205 0 : case 5:
19206 0 : if (!insn_condition_197 (operands, insn))
19207 0 : return -1;
19208 : return 3407; /* *avx_cmpv4sf3_4 */
19209 :
19210 0 : case 6:
19211 0 : if (!insn_condition_1127 (operands, insn))
19212 0 : return -1;
19213 : return 3408; /* *avx_cmpv4df3_4 */
19214 :
19215 0 : case 7:
19216 0 : if (!insn_condition_1128 (operands, insn))
19217 0 : return -1;
19218 : return 3409; /* *avx_cmpv2df3_4 */
19219 :
19220 : default:
19221 : return -1;
19222 : }
19223 : }
19224 :
19225 : int
19226 6270 : recog_202 (rtx x1 ATTRIBUTE_UNUSED,
19227 : rtx_insn *insn ATTRIBUTE_UNUSED,
19228 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19229 : {
19230 6270 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19231 6270 : rtx x2, x3, x4, x5, x6, x7;
19232 6270 : int res ATTRIBUTE_UNUSED;
19233 6270 : x2 = XEXP (x1, 1);
19234 6270 : x3 = XEXP (x2, 0);
19235 6270 : x4 = XEXP (x3, 0);
19236 6270 : operands[1] = x4;
19237 6270 : x5 = XEXP (x3, 1);
19238 6270 : operands[2] = x5;
19239 6270 : x6 = XEXP (x2, 1);
19240 6270 : operands[3] = x6;
19241 6270 : x7 = XEXP (x2, 2);
19242 6270 : operands[4] = x7;
19243 6270 : switch (GET_MODE (operands[0]))
19244 : {
19245 693 : case E_V16HImode:
19246 693 : if (pattern169 (x2,
19247 : E_HImode,
19248 : E_V16HImode) != 0)
19249 : return -1;
19250 593 : if (nonimmediate_operand (operands[1], E_V16HImode)
19251 579 : && nonmemory_operand (operands[2], E_DImode)
19252 593 : && insn_condition_1194 (operands, insn))
19253 : return 6314; /* ashrv16hi3_mask */
19254 198 : if (!register_operand (operands[1], E_V16HImode)
19255 184 : || !nonimmediate_operand (operands[2], E_V16HImode)
19256 198 : || !insn_condition_1039 (operands, insn))
19257 14 : return -1;
19258 : return 8263; /* avx512vl_ashrvv16hi_mask */
19259 :
19260 610 : case E_V8HImode:
19261 610 : if (pattern169 (x2,
19262 : E_QImode,
19263 : E_V8HImode) != 0)
19264 : return -1;
19265 568 : if (nonimmediate_operand (operands[1], E_V8HImode)
19266 554 : && nonmemory_operand (operands[2], E_DImode)
19267 568 : && insn_condition_1194 (operands, insn))
19268 : return 6316; /* ashrv8hi3_mask */
19269 198 : if (!register_operand (operands[1], E_V8HImode)
19270 184 : || !nonimmediate_operand (operands[2], E_V8HImode)
19271 198 : || !insn_condition_1039 (operands, insn))
19272 14 : return -1;
19273 : return 8261; /* avx512vl_ashrvv8hi_mask */
19274 :
19275 840 : case E_V8SImode:
19276 840 : if (pattern169 (x2,
19277 : E_QImode,
19278 : E_V8SImode) != 0)
19279 : return -1;
19280 635 : if (nonimmediate_operand (operands[1], E_V8SImode)
19281 616 : && nonmemory_operand (operands[2], E_DImode)
19282 635 : && insn_condition_100 (operands, insn))
19283 : return 6318; /* ashrv8si3_mask */
19284 218 : if (!register_operand (operands[1], E_V8SImode)
19285 196 : || !nonimmediate_operand (operands[2], E_V8SImode)
19286 218 : || !insn_condition_981 (operands, insn))
19287 22 : return -1;
19288 : return 8251; /* avx2_ashrvv8si_mask */
19289 :
19290 695 : case E_V4SImode:
19291 695 : if (pattern169 (x2,
19292 : E_QImode,
19293 : E_V4SImode) != 0)
19294 : return -1;
19295 578 : if (nonimmediate_operand (operands[1], E_V4SImode)
19296 554 : && nonmemory_operand (operands[2], E_DImode)
19297 578 : && insn_condition_100 (operands, insn))
19298 : return 6320; /* ashrv4si3_mask */
19299 190 : if (!register_operand (operands[1], E_V4SImode)
19300 166 : || !nonimmediate_operand (operands[2], E_V4SImode)
19301 190 : || !insn_condition_1195 (operands, insn))
19302 24 : return -1;
19303 : return 8249; /* avx2_ashrvv4si_mask */
19304 :
19305 640 : case E_V2DImode:
19306 640 : if (pattern169 (x2,
19307 : E_QImode,
19308 : E_V2DImode) != 0)
19309 : return -1;
19310 599 : if (nonimmediate_operand (operands[1], E_V2DImode)
19311 599 : && nonmemory_operand (operands[2], E_DImode)
19312 599 : && insn_condition_100 (operands, insn))
19313 : return 6322; /* ashrv2di3_mask */
19314 185 : if (!register_operand (operands[1], E_V2DImode)
19315 185 : || !nonimmediate_operand (operands[2], E_V2DImode)
19316 185 : || !insn_condition_1196 (operands, insn))
19317 0 : return -1;
19318 : return 8255; /* avx2_ashrvv2di_mask */
19319 :
19320 668 : case E_V32HImode:
19321 668 : if (pattern169 (x2,
19322 : E_SImode,
19323 : E_V32HImode) != 0)
19324 : return -1;
19325 600 : if (nonimmediate_operand (operands[1], E_V32HImode)
19326 586 : && nonmemory_operand (operands[2], E_DImode)
19327 600 : && insn_condition_803 (operands, insn))
19328 : return 6332; /* ashrv32hi3_mask */
19329 200 : if (!register_operand (operands[1], E_V32HImode)
19330 186 : || !nonimmediate_operand (operands[2], E_V32HImode)
19331 200 : || !insn_condition_120 (operands, insn))
19332 14 : return -1;
19333 : return 8265; /* avx512bw_ashrvv32hi_mask */
19334 :
19335 809 : case E_V4DImode:
19336 809 : if (pattern169 (x2,
19337 : E_QImode,
19338 : E_V4DImode) != 0)
19339 : return -1;
19340 664 : if (nonimmediate_operand (operands[1], E_V4DImode)
19341 664 : && nonmemory_operand (operands[2], E_DImode)
19342 664 : && insn_condition_341 (operands, insn))
19343 : return 6334; /* ashrv4di3_mask */
19344 230 : if (!register_operand (operands[1], E_V4DImode)
19345 224 : || !nonimmediate_operand (operands[2], E_V4DImode)
19346 230 : || !insn_condition_983 (operands, insn))
19347 21 : return -1;
19348 : return 8257; /* avx2_ashrvv4di_mask */
19349 :
19350 643 : case E_V16SImode:
19351 643 : if (pattern169 (x2,
19352 : E_HImode,
19353 : E_V16SImode) != 0)
19354 : return -1;
19355 621 : if (nonimmediate_operand (operands[1], E_V16SImode)
19356 621 : && nonmemory_operand (operands[2], E_DImode)
19357 1052 : && insn_condition_27 (operands, insn))
19358 : return 6336; /* ashrv16si3_mask */
19359 190 : if (!register_operand (operands[1], E_V16SImode)
19360 190 : || !nonimmediate_operand (operands[2], E_V16SImode)
19361 190 : || !insn_condition_982 (operands, insn))
19362 6 : return -1;
19363 : return 8253; /* avx512f_ashrvv16si_mask */
19364 :
19365 672 : case E_V8DImode:
19366 672 : if (pattern169 (x2,
19367 : E_QImode,
19368 : E_V8DImode) != 0)
19369 : return -1;
19370 626 : if (nonimmediate_operand (operands[1], E_V8DImode)
19371 626 : && nonmemory_operand (operands[2], E_DImode)
19372 1063 : && insn_condition_27 (operands, insn))
19373 : return 6338; /* ashrv8di3_mask */
19374 189 : if (!register_operand (operands[1], E_V8DImode)
19375 189 : || !nonimmediate_operand (operands[2], E_V8DImode)
19376 189 : || !insn_condition_982 (operands, insn))
19377 0 : return -1;
19378 : return 8259; /* avx512f_ashrvv8di_mask */
19379 :
19380 : default:
19381 : return -1;
19382 : }
19383 : }
19384 :
19385 : int
19386 1741 : recog_206 (rtx x1 ATTRIBUTE_UNUSED,
19387 : rtx_insn *insn ATTRIBUTE_UNUSED,
19388 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19389 : {
19390 1741 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19391 1741 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
19392 1741 : rtx x10;
19393 1741 : int res ATTRIBUTE_UNUSED;
19394 1741 : x2 = XEXP (x1, 1);
19395 1741 : x3 = XEXP (x2, 0);
19396 1741 : x4 = XEXP (x3, 0);
19397 1741 : switch (GET_CODE (x4))
19398 : {
19399 764 : case REG:
19400 764 : case SUBREG:
19401 764 : case MEM:
19402 764 : operands[1] = x4;
19403 764 : x5 = XEXP (x2, 1);
19404 764 : operands[2] = x5;
19405 764 : x6 = XEXP (x2, 2);
19406 764 : operands[3] = x6;
19407 764 : switch (GET_MODE (operands[0]))
19408 : {
19409 194 : case E_V8DFmode:
19410 194 : if (pattern176 (x2,
19411 : E_V8DFmode,
19412 : E_QImode) != 0)
19413 : return -1;
19414 131 : switch (GET_MODE (operands[1]))
19415 : {
19416 73 : case E_V8HFmode:
19417 73 : if (!vector_operand (operands[1], E_V8HFmode)
19418 73 : || !insn_condition_26 (operands, insn))
19419 0 : return -1;
19420 : return 4880; /* avx512fp16_float_extend_phv8df2_mask */
19421 :
19422 58 : case E_V8SFmode:
19423 58 : if (!vector_operand (operands[1], E_V8SFmode)
19424 58 : || !insn_condition_1220 (operands, insn))
19425 0 : return -1;
19426 : return 5351; /* avx512f_cvtps2pd512_mask */
19427 :
19428 : default:
19429 : return -1;
19430 : }
19431 :
19432 97 : case E_V16SFmode:
19433 97 : if (pattern175 (x2,
19434 : E_V16SFmode,
19435 : E_HImode,
19436 : E_V16HFmode) != 0
19437 97 : || !insn_condition_1221 (operands, insn))
19438 26 : return -1;
19439 : return 4884; /* avx512fp16_float_extend_phv16sf2_mask */
19440 :
19441 243 : case E_V8SFmode:
19442 243 : if (pattern175 (x2,
19443 : E_V8SFmode,
19444 : E_QImode,
19445 : E_V8HFmode) != 0
19446 243 : || !insn_condition_1222 (operands, insn))
19447 26 : return -1;
19448 : return 4888; /* avx512fp16_float_extend_phv8sf2_mask */
19449 :
19450 229 : case E_V4DFmode:
19451 229 : if (pattern176 (x2,
19452 : E_V4DFmode,
19453 : E_QImode) != 0)
19454 : return -1;
19455 192 : switch (GET_MODE (operands[1]))
19456 : {
19457 0 : case E_V4HFmode:
19458 0 : if (!memory_operand (operands[1], E_V4HFmode)
19459 0 : || !insn_condition_972 (operands, insn))
19460 0 : return -1;
19461 : return 4895; /* *avx512fp16_float_extend_phv4df2_load_mask */
19462 :
19463 192 : case E_V4SFmode:
19464 192 : if (!vector_operand (operands[1], E_V4SFmode)
19465 192 : || !insn_condition_1223 (operands, insn))
19466 0 : return -1;
19467 : return 5354; /* avx_cvtps2pd256_mask */
19468 :
19469 : default:
19470 : return -1;
19471 : }
19472 :
19473 0 : case E_V4SFmode:
19474 0 : if (pattern190 (x2,
19475 : E_V4SFmode,
19476 : E_V4HFmode) != 0
19477 0 : || !insn_condition_972 (operands, insn))
19478 0 : return -1;
19479 : return 4897; /* *avx512fp16_float_extend_phv4sf2_load_mask */
19480 :
19481 1 : case E_V2DFmode:
19482 1 : if (pattern176 (x2,
19483 : E_V2DFmode,
19484 : E_QImode) != 0)
19485 : return -1;
19486 0 : switch (GET_MODE (operands[1]))
19487 : {
19488 0 : case E_V2HFmode:
19489 0 : if (!memory_operand (operands[1], E_V2HFmode)
19490 0 : || !insn_condition_972 (operands, insn))
19491 0 : return -1;
19492 : return 4901; /* *avx512fp16_float_extend_phv2df2_load_mask */
19493 :
19494 0 : case E_V2SFmode:
19495 0 : if (!memory_operand (operands[1], E_V2SFmode)
19496 0 : || !insn_condition_974 (operands, insn))
19497 0 : return -1;
19498 : return 5402; /* sse2_cvtps2pd_mask_1 */
19499 :
19500 : default:
19501 : return -1;
19502 : }
19503 :
19504 : default:
19505 : return -1;
19506 : }
19507 :
19508 977 : case VEC_SELECT:
19509 977 : x7 = XEXP (x4, 1);
19510 977 : if (GET_CODE (x7) != PARALLEL)
19511 : return -1;
19512 977 : switch (XVECLEN (x7, 0))
19513 : {
19514 464 : case 4:
19515 464 : if (pattern679 (x7) != 0
19516 464 : || GET_MODE (x4) != E_V4HFmode)
19517 : return -1;
19518 464 : x8 = XEXP (x4, 0);
19519 464 : operands[1] = x8;
19520 464 : if (!register_operand (operands[1], E_V8HFmode))
19521 : return -1;
19522 440 : x5 = XEXP (x2, 1);
19523 440 : operands[2] = x5;
19524 440 : x6 = XEXP (x2, 2);
19525 440 : operands[3] = x6;
19526 440 : if (!register_operand (operands[3], E_QImode))
19527 : return -1;
19528 407 : switch (GET_MODE (operands[0]))
19529 : {
19530 204 : case E_V4DFmode:
19531 204 : if (pattern177 (x2,
19532 : E_V4DFmode) != 0
19533 204 : || !insn_condition_972 (operands, insn))
19534 8 : return -1;
19535 : return 4891; /* avx512fp16_float_extend_phv4df2_mask */
19536 :
19537 203 : case E_V4SFmode:
19538 203 : if (pattern177 (x2,
19539 : E_V4SFmode) != 0
19540 203 : || !insn_condition_972 (operands, insn))
19541 10 : return -1;
19542 : return 4893; /* avx512fp16_float_extend_phv4sf2_mask */
19543 :
19544 : default:
19545 : return -1;
19546 : }
19547 :
19548 513 : case 2:
19549 513 : x9 = XVECEXP (x7, 0, 0);
19550 513 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
19551 : return -1;
19552 513 : x10 = XVECEXP (x7, 0, 1);
19553 513 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
19554 513 : || !register_operand (operands[0], E_V2DFmode)
19555 499 : || GET_MODE (x2) != E_V2DFmode
19556 1012 : || GET_MODE (x3) != E_V2DFmode)
19557 : return -1;
19558 499 : x6 = XEXP (x2, 2);
19559 499 : switch (GET_CODE (x6))
19560 : {
19561 353 : case REG:
19562 353 : case SUBREG:
19563 353 : operands[3] = x6;
19564 353 : if (!register_operand (operands[3], E_QImode))
19565 : return -1;
19566 353 : x8 = XEXP (x4, 0);
19567 353 : operands[1] = x8;
19568 353 : x5 = XEXP (x2, 1);
19569 353 : operands[2] = x5;
19570 353 : if (!nonimm_or_0_operand (operands[2], E_V2DFmode))
19571 : return -1;
19572 353 : switch (GET_MODE (x4))
19573 : {
19574 190 : case E_V2HFmode:
19575 190 : if (!register_operand (operands[1], E_V8HFmode)
19576 190 : || !insn_condition_972 (operands, insn))
19577 4 : return -1;
19578 : return 4899; /* avx512fp16_float_extend_phv2df2_mask */
19579 :
19580 163 : case E_V2SFmode:
19581 163 : if (!register_operand (operands[1], E_V4SFmode)
19582 163 : || !insn_condition_974 (operands, insn))
19583 0 : return -1;
19584 : return 5400; /* sse2_cvtps2pd_mask */
19585 :
19586 : default:
19587 : return -1;
19588 : }
19589 :
19590 142 : case CONST_INT:
19591 142 : if (XWINT (x6, 0) != 1L
19592 136 : || GET_MODE (x4) != E_V2SFmode)
19593 : return -1;
19594 136 : x8 = XEXP (x4, 0);
19595 136 : operands[2] = x8;
19596 136 : if (!nonimmediate_operand (operands[2], E_V4SFmode))
19597 : return -1;
19598 136 : x5 = XEXP (x2, 1);
19599 136 : operands[1] = x5;
19600 136 : if (!register_operand (operands[1], E_V2DFmode)
19601 136 : || !insn_condition_141 (operands, insn))
19602 2 : return -1;
19603 : return 5334; /* sse2_cvtss2sd */
19604 :
19605 : default:
19606 : return -1;
19607 : }
19608 :
19609 : default:
19610 : return -1;
19611 : }
19612 :
19613 : default:
19614 : return -1;
19615 : }
19616 : }
19617 :
19618 : int
19619 3194 : recog_212 (rtx x1 ATTRIBUTE_UNUSED,
19620 : rtx_insn *insn ATTRIBUTE_UNUSED,
19621 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19622 : {
19623 3194 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19624 3194 : rtx x2, x3, x4, x5, x6, x7;
19625 3194 : int res ATTRIBUTE_UNUSED;
19626 3194 : x2 = XEXP (x1, 1);
19627 3194 : x3 = XEXP (x2, 0);
19628 3194 : x4 = XEXP (x3, 0);
19629 3194 : operands[1] = x4;
19630 3194 : x5 = XEXP (x3, 1);
19631 3194 : operands[2] = x5;
19632 3194 : x6 = XEXP (x2, 1);
19633 3194 : operands[3] = x6;
19634 3194 : x7 = XEXP (x2, 2);
19635 3194 : operands[4] = x7;
19636 3194 : switch (GET_CODE (operands[2]))
19637 : {
19638 2956 : case REG:
19639 2956 : case SUBREG:
19640 2956 : case MEM:
19641 2956 : case VEC_DUPLICATE:
19642 2956 : switch (GET_MODE (operands[0]))
19643 : {
19644 241 : case E_V8SFmode:
19645 241 : if (pattern167 (x2,
19646 : E_V8SFmode,
19647 : E_QImode) != 0
19648 241 : || !insn_condition_1236 (operands, insn))
19649 37 : return -1;
19650 : return 3912; /* *xorv8sf3_mask */
19651 :
19652 200 : case E_V4SFmode:
19653 200 : if (pattern167 (x2,
19654 : E_V4SFmode,
19655 : E_QImode) != 0
19656 200 : || !insn_condition_1237 (operands, insn))
19657 9 : return -1;
19658 : return 3918; /* *xorv4sf3_mask */
19659 :
19660 241 : case E_V4DFmode:
19661 241 : if (pattern167 (x2,
19662 : E_V4DFmode,
19663 : E_QImode) != 0
19664 241 : || !insn_condition_1238 (operands, insn))
19665 37 : return -1;
19666 : return 3924; /* *xorv4df3_mask */
19667 :
19668 200 : case E_V2DFmode:
19669 200 : if (pattern167 (x2,
19670 : E_V2DFmode,
19671 : E_QImode) != 0
19672 200 : || !insn_condition_1239 (operands, insn))
19673 9 : return -1;
19674 : return 3930; /* *xorv2df3_mask */
19675 :
19676 266 : case E_V16SFmode:
19677 266 : if (pattern168 (x2,
19678 : E_V16SFmode,
19679 : E_HImode) != 0
19680 266 : || !insn_condition_1240 (operands, insn))
19681 37 : return -1;
19682 : return 3942; /* *xorv16sf3_mask */
19683 :
19684 266 : case E_V8DFmode:
19685 266 : if (pattern168 (x2,
19686 : E_V8DFmode,
19687 : E_QImode) != 0
19688 266 : || !insn_condition_1241 (operands, insn))
19689 37 : return -1;
19690 : return 3948; /* *xorv8df3_mask */
19691 :
19692 244 : case E_V16SImode:
19693 244 : if (pattern518 (x2,
19694 : E_V16SImode,
19695 : E_HImode) != 0
19696 244 : || !insn_condition_1278 (operands, insn))
19697 46 : return -1;
19698 : return 6722; /* *xorv16si3_mask */
19699 :
19700 295 : case E_V8SImode:
19701 295 : if (pattern518 (x2,
19702 : E_V8SImode,
19703 : E_QImode) != 0
19704 295 : || !insn_condition_1279 (operands, insn))
19705 83 : return -1;
19706 : return 6728; /* *xorv8si3_mask */
19707 :
19708 178 : case E_V4SImode:
19709 178 : if (pattern518 (x2,
19710 : E_V4SImode,
19711 : E_QImode) != 0
19712 178 : || !insn_condition_1280 (operands, insn))
19713 4 : return -1;
19714 : return 6734; /* *xorv4si3_mask */
19715 :
19716 245 : case E_V8DImode:
19717 245 : if (pattern518 (x2,
19718 : E_V8DImode,
19719 : E_QImode) != 0
19720 245 : || !insn_condition_1281 (operands, insn))
19721 46 : return -1;
19722 : return 6740; /* *xorv8di3_mask */
19723 :
19724 323 : case E_V4DImode:
19725 323 : if (pattern518 (x2,
19726 : E_V4DImode,
19727 : E_QImode) != 0
19728 323 : || !insn_condition_1282 (operands, insn))
19729 94 : return -1;
19730 : return 6746; /* *xorv4di3_mask */
19731 :
19732 203 : case E_V2DImode:
19733 203 : if (pattern518 (x2,
19734 : E_V2DImode,
19735 : E_QImode) != 0
19736 203 : || !insn_condition_1283 (operands, insn))
19737 12 : return -1;
19738 : return 6752; /* *xorv2di3_mask */
19739 :
19740 : default:
19741 : return -1;
19742 : }
19743 :
19744 238 : case CONST_VECTOR:
19745 238 : switch (GET_MODE (operands[0]))
19746 : {
19747 34 : case E_V16SImode:
19748 34 : if (pattern1058 (x2,
19749 : E_V16SImode,
19750 : E_HImode) != 0
19751 34 : || !insn_condition_1284 (operands, insn))
19752 34 : return -1;
19753 : return 6670; /* one_cmplv16si2_mask */
19754 :
19755 34 : case E_V8DImode:
19756 34 : if (pattern1058 (x2,
19757 : E_V8DImode,
19758 : E_QImode) != 0
19759 34 : || !insn_condition_1285 (operands, insn))
19760 34 : return -1;
19761 : return 6672; /* one_cmplv8di2_mask */
19762 :
19763 34 : case E_V8SImode:
19764 34 : if (pattern1058 (x2,
19765 : E_V8SImode,
19766 : E_QImode) != 0
19767 34 : || !insn_condition_1286 (operands, insn))
19768 34 : return -1;
19769 : return 6680; /* one_cmplv8si2_mask */
19770 :
19771 0 : case E_V4SImode:
19772 0 : if (pattern1058 (x2,
19773 : E_V4SImode,
19774 : E_QImode) != 0
19775 0 : || !insn_condition_1287 (operands, insn))
19776 0 : return -1;
19777 : return 6682; /* one_cmplv4si2_mask */
19778 :
19779 34 : case E_V4DImode:
19780 34 : if (pattern1058 (x2,
19781 : E_V4DImode,
19782 : E_QImode) != 0
19783 34 : || !insn_condition_1288 (operands, insn))
19784 34 : return -1;
19785 : return 6684; /* one_cmplv4di2_mask */
19786 :
19787 0 : case E_V2DImode:
19788 0 : if (pattern1058 (x2,
19789 : E_V2DImode,
19790 : E_QImode) != 0
19791 0 : || !insn_condition_1289 (operands, insn))
19792 0 : return -1;
19793 : return 6686; /* one_cmplv2di2_mask */
19794 :
19795 : default:
19796 : return -1;
19797 : }
19798 :
19799 : default:
19800 : return -1;
19801 : }
19802 : }
19803 :
19804 : int
19805 0 : recog_218 (rtx x1 ATTRIBUTE_UNUSED,
19806 : rtx_insn *insn ATTRIBUTE_UNUSED,
19807 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19808 : {
19809 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19810 0 : rtx x2;
19811 0 : int res ATTRIBUTE_UNUSED;
19812 0 : x2 = XEXP (x1, 1);
19813 0 : switch (pattern178 (x2))
19814 : {
19815 0 : case 0:
19816 0 : if (!insn_condition_965 (operands, insn))
19817 0 : return -1;
19818 : return 4776; /* avx512fp16_fixuns_truncv8hi2_mask */
19819 :
19820 0 : case 1:
19821 0 : if (!insn_condition_965 (operands, insn))
19822 0 : return -1;
19823 : return 4784; /* avx512fp16_fixuns_truncv16hi2_mask */
19824 :
19825 0 : case 2:
19826 0 : if (!insn_condition_26 (operands, insn))
19827 0 : return -1;
19828 : return 4792; /* avx512fp16_fixuns_truncv32hi2_mask */
19829 :
19830 0 : case 3:
19831 0 : switch (GET_MODE (operands[1]))
19832 : {
19833 0 : case E_V8HFmode:
19834 0 : if (!vector_operand (operands[1], E_V8HFmode)
19835 0 : || !insn_condition_965 (operands, insn))
19836 0 : return -1;
19837 : return 4800; /* avx512fp16_fixuns_truncv8si2_mask */
19838 :
19839 0 : case E_V8DFmode:
19840 0 : if (!vector_operand (operands[1], E_V8DFmode)
19841 0 : || !insn_condition_27 (operands, insn))
19842 0 : return -1;
19843 : return 5221; /* fixuns_truncv8dfv8si2_mask */
19844 :
19845 0 : case E_V8SFmode:
19846 0 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
19847 0 : || !insn_condition_971 (operands, insn))
19848 0 : return -1;
19849 : return 5321; /* fixuns_truncv8sfv8si2_mask */
19850 :
19851 : default:
19852 : return -1;
19853 : }
19854 :
19855 0 : case 4:
19856 0 : if (!insn_condition_26 (operands, insn))
19857 0 : return -1;
19858 : return 4808; /* avx512fp16_fixuns_truncv16si2_mask */
19859 :
19860 0 : case 5:
19861 0 : if (!insn_condition_27 (operands, insn))
19862 0 : return -1;
19863 : return 5053; /* fixuns_truncv16sfv16si2_mask */
19864 :
19865 0 : case 6:
19866 0 : if (!insn_condition_26 (operands, insn))
19867 0 : return -1;
19868 : return 4816; /* avx512fp16_fixuns_truncv8di2_mask */
19869 :
19870 0 : case 7:
19871 0 : if (!insn_condition_964 (operands, insn))
19872 0 : return -1;
19873 : return 5258; /* fixuns_truncv8dfv8di2_mask */
19874 :
19875 0 : case 8:
19876 0 : if (!insn_condition_964 (operands, insn))
19877 0 : return -1;
19878 : return 5302; /* fixuns_truncv8sfv8di2_mask */
19879 :
19880 0 : case 9:
19881 0 : switch (GET_MODE (operands[1]))
19882 : {
19883 0 : case E_V4HFmode:
19884 0 : if (!memory_operand (operands[1], E_V4HFmode)
19885 0 : || !insn_condition_972 (operands, insn))
19886 0 : return -1;
19887 : return 4837; /* *avx512fp16_fixuns_truncv4si2_load_mask */
19888 :
19889 0 : case E_V4DFmode:
19890 0 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
19891 0 : || !insn_condition_973 (operands, insn))
19892 0 : return -1;
19893 : return 5235; /* fixuns_truncv4dfv4si2_mask */
19894 :
19895 0 : case E_V4SFmode:
19896 0 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
19897 0 : || !insn_condition_100 (operands, insn))
19898 0 : return -1;
19899 : return 5323; /* fixuns_truncv4sfv4si2_mask */
19900 :
19901 : default:
19902 : return -1;
19903 : }
19904 :
19905 0 : case 10:
19906 0 : if (!insn_condition_972 (operands, insn))
19907 0 : return -1;
19908 : return 4841; /* *avx512fp16_fixuns_truncv4di2_load_mask */
19909 :
19910 0 : case 11:
19911 0 : if (!insn_condition_967 (operands, insn))
19912 0 : return -1;
19913 : return 5263; /* fixuns_truncv4dfv4di2_mask */
19914 :
19915 0 : case 12:
19916 0 : if (!insn_condition_967 (operands, insn))
19917 0 : return -1;
19918 : return 5307; /* fixuns_truncv4sfv4di2_mask */
19919 :
19920 0 : case 13:
19921 0 : if (!insn_condition_972 (operands, insn))
19922 0 : return -1;
19923 : return 4853; /* *avx512fp16_fixuns_truncv2di2_load_mask */
19924 :
19925 0 : case 14:
19926 0 : if (!insn_condition_967 (operands, insn))
19927 0 : return -1;
19928 : return 5267; /* fixuns_truncv2dfv2di2_mask */
19929 :
19930 0 : case 15:
19931 0 : if (!insn_condition_972 (operands, insn))
19932 0 : return -1;
19933 : return 4829; /* avx512fp16_fixuns_truncv4si2_mask */
19934 :
19935 0 : case 16:
19936 0 : if (!insn_condition_972 (operands, insn))
19937 0 : return -1;
19938 : return 4833; /* avx512fp16_fixuns_truncv4di2_mask */
19939 :
19940 0 : case 17:
19941 0 : if (!insn_condition_972 (operands, insn))
19942 0 : return -1;
19943 : return 4849; /* avx512fp16_fixuns_truncv2di2_mask */
19944 :
19945 0 : case 18:
19946 0 : if (!insn_condition_970 (operands, insn))
19947 0 : return -1;
19948 : return 5315; /* avx512dq_fixuns_truncv2sfv2di2_mask */
19949 :
19950 : default:
19951 : return -1;
19952 : }
19953 : }
19954 :
19955 : int
19956 1405 : recog_224 (rtx x1 ATTRIBUTE_UNUSED,
19957 : rtx_insn *insn ATTRIBUTE_UNUSED,
19958 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19959 : {
19960 1405 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19961 1405 : rtx x2;
19962 1405 : int res ATTRIBUTE_UNUSED;
19963 1405 : x2 = XEXP (x1, 1);
19964 1405 : switch (pattern357 (x2))
19965 : {
19966 27 : case 0:
19967 27 : if (!register_operand (operands[0], E_V32HImode)
19968 23 : || GET_MODE (x2) != E_V32HImode
19969 23 : || !vector_operand (operands[1], E_V32HFmode)
19970 48 : || !insn_condition_40 (operands, insn))
19971 6 : return -1;
19972 : return 4562; /* avx512fp16_vcvtph2w_v32hi */
19973 :
19974 70 : case 1:
19975 70 : switch (pattern681 (x2,
19976 : E_V16SImode))
19977 : {
19978 21 : case 0:
19979 21 : if (!insn_condition_40 (operands, insn))
19980 0 : return -1;
19981 : return 4570; /* avx512fp16_vcvtph2dq_v16si */
19982 :
19983 38 : case 1:
19984 38 : if (!insn_condition_27 (operands, insn))
19985 0 : return -1;
19986 : return 5007; /* avx512f_fix_notruncv16sfv16si */
19987 :
19988 : default:
19989 : return -1;
19990 : }
19991 :
19992 80 : case 2:
19993 80 : switch (pattern680 (x2,
19994 : E_V8DImode))
19995 : {
19996 21 : case 0:
19997 21 : if (!insn_condition_40 (operands, insn))
19998 0 : return -1;
19999 : return 4578; /* avx512fp16_vcvtph2qq_v8di */
20000 :
20001 14 : case 1:
20002 14 : if (!insn_condition_1339 (operands, insn))
20003 0 : return -1;
20004 : return 5023; /* *avx512dq_cvtps2qqv8di */
20005 :
20006 16 : case 2:
20007 16 : if (!insn_condition_1339 (operands, insn))
20008 0 : return -1;
20009 : return 5268; /* fix_notruncv8dfv8di2 */
20010 :
20011 : default:
20012 : return -1;
20013 : }
20014 :
20015 57 : case 3:
20016 57 : if (!register_operand (operands[0], E_V16HImode)
20017 54 : || GET_MODE (x2) != E_V16HImode
20018 54 : || !vector_operand (operands[1], E_V16HFmode)
20019 57 : || !insn_condition_1340 (operands, insn))
20020 4 : return -1;
20021 : return 4586; /* avx512fp16_vcvtph2w_v16hi */
20022 :
20023 240 : case 4:
20024 240 : if (!register_operand (operands[0], E_V8SImode)
20025 240 : || GET_MODE (x2) != E_V8SImode)
20026 : return -1;
20027 227 : switch (GET_MODE (operands[1]))
20028 : {
20029 54 : case E_V8HFmode:
20030 54 : if (!vector_operand (operands[1], E_V8HFmode)
20031 54 : || !insn_condition_1340 (operands, insn))
20032 1 : return -1;
20033 : return 4594; /* avx512fp16_vcvtph2dq_v8si */
20034 :
20035 94 : case E_V8SFmode:
20036 94 : if (!vector_operand (operands[1], E_V8SFmode)
20037 94 : || !insn_condition_1341 (operands, insn))
20038 0 : return -1;
20039 : return 5003; /* avx_fix_notruncv8sfv8si */
20040 :
20041 79 : case E_V8DFmode:
20042 79 : if (!vector_operand (operands[1], E_V8DFmode)
20043 79 : || !insn_condition_27 (operands, insn))
20044 0 : return -1;
20045 : return 5186; /* avx512f_cvtpd2dq512 */
20046 :
20047 : default:
20048 : return -1;
20049 : }
20050 :
20051 195 : case 5:
20052 195 : if (!register_operand (operands[0], E_V4DImode)
20053 195 : || GET_MODE (x2) != E_V4DImode)
20054 : return -1;
20055 176 : switch (GET_MODE (operands[1]))
20056 : {
20057 54 : case E_V8HFmode:
20058 54 : if (!vector_operand (operands[1], E_V8HFmode)
20059 54 : || !insn_condition_1340 (operands, insn))
20060 1 : return -1;
20061 : return 4602; /* avx512fp16_vcvtph2qq_v4di */
20062 :
20063 64 : case E_V4SFmode:
20064 64 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
20065 64 : || !insn_condition_1342 (operands, insn))
20066 1 : return -1;
20067 : return 5027; /* *avx512dq_cvtps2qqv4di */
20068 :
20069 58 : case E_V4DFmode:
20070 58 : if (!vector_operand (operands[1], E_V4DFmode)
20071 58 : || !insn_condition_1342 (operands, insn))
20072 0 : return -1;
20073 : return 5272; /* fix_notruncv4dfv4di2 */
20074 :
20075 : default:
20076 : return -1;
20077 : }
20078 :
20079 57 : case 6:
20080 57 : if (!register_operand (operands[0], E_V8HImode)
20081 54 : || GET_MODE (x2) != E_V8HImode
20082 54 : || !vector_operand (operands[1], E_V8HFmode)
20083 57 : || !insn_condition_1340 (operands, insn))
20084 4 : return -1;
20085 : return 4610; /* avx512fp16_vcvtph2w_v8hi */
20086 :
20087 388 : case 7:
20088 388 : if (!register_operand (operands[0], E_V4SImode)
20089 388 : || GET_MODE (x2) != E_V4SImode)
20090 : return -1;
20091 378 : switch (GET_MODE (operands[1]))
20092 : {
20093 54 : case E_V8HFmode:
20094 54 : if (!vector_operand (operands[1], E_V8HFmode)
20095 54 : || !insn_condition_1340 (operands, insn))
20096 1 : return -1;
20097 : return 4618; /* avx512fp16_vcvtph2dq_v4si */
20098 :
20099 201 : case E_V4SFmode:
20100 201 : if (!vector_operand (operands[1], E_V4SFmode)
20101 201 : || !insn_condition_1343 (operands, insn))
20102 1 : return -1;
20103 : return 5005; /* sse2_fix_notruncv4sfv4si */
20104 :
20105 123 : case E_V4DFmode:
20106 123 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
20107 123 : || !insn_condition_1344 (operands, insn))
20108 0 : return -1;
20109 : return 5190; /* avx_cvtpd2dq256 */
20110 :
20111 : default:
20112 : return -1;
20113 : }
20114 :
20115 122 : case 8:
20116 122 : if (!register_operand (operands[0], E_V2DImode)
20117 122 : || GET_MODE (x2) != E_V2DImode)
20118 : return -1;
20119 111 : switch (GET_MODE (operands[1]))
20120 : {
20121 54 : case E_V8HFmode:
20122 54 : if (!vector_operand (operands[1], E_V8HFmode)
20123 54 : || !insn_condition_1340 (operands, insn))
20124 1 : return -1;
20125 : return 4626; /* avx512fp16_vcvtph2qq_v2di */
20126 :
20127 57 : case E_V2DFmode:
20128 57 : if (!vector_operand (operands[1], E_V2DFmode)
20129 57 : || !insn_condition_1342 (operands, insn))
20130 0 : return -1;
20131 : return 5274; /* fix_notruncv2dfv2di2 */
20132 :
20133 : default:
20134 : return -1;
20135 : }
20136 :
20137 60 : case 9:
20138 60 : if (!insn_condition_1345 (operands, insn))
20139 0 : return -1;
20140 : return 5029; /* *avx512dq_cvtps2qqv2di */
20141 :
20142 : default:
20143 : return -1;
20144 : }
20145 : }
20146 :
20147 : int
20148 1277 : recog_231 (rtx x1 ATTRIBUTE_UNUSED,
20149 : rtx_insn *insn ATTRIBUTE_UNUSED,
20150 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20151 : {
20152 1277 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20153 1277 : rtx x2, x3;
20154 1277 : int res ATTRIBUTE_UNUSED;
20155 1277 : x2 = XEXP (x1, 1);
20156 1277 : x3 = XVECEXP (x2, 0, 0);
20157 1277 : operands[1] = x3;
20158 1277 : switch (GET_MODE (operands[0]))
20159 : {
20160 111 : case E_V8SFmode:
20161 111 : if (!register_operand (operands[0], E_V8SFmode)
20162 107 : || GET_MODE (x2) != E_V8SFmode
20163 107 : || !vector_operand (operands[1], E_V8SFmode)
20164 111 : || !insn_condition_887 (operands, insn))
20165 4 : return -1;
20166 : return 3050; /* avx_rcpv8sf2 */
20167 :
20168 662 : case E_V4SFmode:
20169 662 : if (!register_operand (operands[0], E_V4SFmode)
20170 662 : || GET_MODE (x2) != E_V4SFmode
20171 662 : || !vector_operand (operands[1], E_V4SFmode)
20172 1168 : || !insn_condition_148 (operands, insn))
20173 156 : return -1;
20174 : return 3051; /* sse_rcpv4sf2 */
20175 :
20176 88 : case E_V32HFmode:
20177 88 : if (!register_operand (operands[0], E_V32HFmode)
20178 80 : || GET_MODE (x2) != E_V32HFmode
20179 80 : || !nonimmediate_operand (operands[1], E_V32HFmode)
20180 167 : || !insn_condition_40 (operands, insn))
20181 9 : return -1;
20182 : return 3054; /* avx512fp16_rcpv32hf2 */
20183 :
20184 62 : case E_V16HFmode:
20185 62 : if (!register_operand (operands[0], E_V16HFmode)
20186 54 : || GET_MODE (x2) != E_V16HFmode
20187 54 : || !nonimmediate_operand (operands[1], E_V16HFmode)
20188 62 : || !insn_condition_1340 (operands, insn))
20189 9 : return -1;
20190 : return 3056; /* avx512fp16_rcpv16hf2 */
20191 :
20192 124 : case E_V8HFmode:
20193 124 : if (!register_operand (operands[0], E_V8HFmode)
20194 116 : || GET_MODE (x2) != E_V8HFmode
20195 116 : || !nonimmediate_operand (operands[1], E_V8HFmode)
20196 124 : || !insn_condition_1340 (operands, insn))
20197 9 : return -1;
20198 : return 3058; /* avx512fp16_rcpv8hf2 */
20199 :
20200 72 : case E_V32BFmode:
20201 72 : if (!register_operand (operands[0], E_V32BFmode)
20202 66 : || GET_MODE (x2) != E_V32BFmode
20203 66 : || !nonimmediate_operand (operands[1], E_V32BFmode)
20204 133 : || !insn_condition_41 (operands, insn))
20205 11 : return -1;
20206 : return 9383; /* avx10_2_rcpbf16_v32bf */
20207 :
20208 73 : case E_V16BFmode:
20209 73 : if (!register_operand (operands[0], E_V16BFmode)
20210 67 : || GET_MODE (x2) != E_V16BFmode
20211 67 : || !nonimmediate_operand (operands[1], E_V16BFmode)
20212 135 : || !insn_condition_41 (operands, insn))
20213 11 : return -1;
20214 : return 9385; /* avx10_2_rcpbf16_v16bf */
20215 :
20216 85 : case E_V8BFmode:
20217 85 : if (!register_operand (operands[0], E_V8BFmode)
20218 79 : || GET_MODE (x2) != E_V8BFmode
20219 79 : || !nonimmediate_operand (operands[1], E_V8BFmode)
20220 160 : || !insn_condition_41 (operands, insn))
20221 10 : return -1;
20222 : return 9387; /* avx10_2_rcpbf16_v8bf */
20223 :
20224 : default:
20225 : return -1;
20226 : }
20227 : }
20228 :
20229 : int
20230 817 : recog_237 (rtx x1 ATTRIBUTE_UNUSED,
20231 : rtx_insn *insn ATTRIBUTE_UNUSED,
20232 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20233 : {
20234 817 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20235 817 : rtx x2;
20236 817 : int res ATTRIBUTE_UNUSED;
20237 817 : x2 = XEXP (x1, 1);
20238 817 : switch (pattern361 (x2))
20239 : {
20240 57 : case 0:
20241 57 : if (!insn_condition_1357 (operands, insn))
20242 0 : return -1;
20243 : return 9513; /* avx10_2_vcvttps2dqsv16sf */
20244 :
20245 56 : case 1:
20246 56 : if (!insn_condition_1358 (operands, insn))
20247 0 : return -1;
20248 : return 9521; /* avx10_2_vcvttps2dqsv8sf */
20249 :
20250 59 : case 2:
20251 59 : if (!insn_condition_1357 (operands, insn))
20252 0 : return -1;
20253 : return 9529; /* avx10_2_vcvttpd2dqsv8df */
20254 :
20255 56 : case 3:
20256 56 : if (!insn_condition_1359 (operands, insn))
20257 0 : return -1;
20258 : return 9525; /* avx10_2_vcvttps2dqsv4sf */
20259 :
20260 57 : case 4:
20261 57 : if (!insn_condition_1358 (operands, insn))
20262 0 : return -1;
20263 : return 9537; /* avx10_2_vcvttpd2dqsv4df */
20264 :
20265 57 : case 5:
20266 57 : if (!insn_condition_1360 (operands, insn))
20267 0 : return -1;
20268 : return 9541; /* avx10_2_vcvttpd2dqsv2df */
20269 :
20270 59 : case 6:
20271 59 : if (!insn_condition_1357 (operands, insn))
20272 0 : return -1;
20273 : return 9545; /* avx10_2_vcvttpd2qqsv8df */
20274 :
20275 57 : case 7:
20276 57 : if (!insn_condition_1357 (operands, insn))
20277 0 : return -1;
20278 : return 9561; /* avx10_2_vcvttps2qqsv8di */
20279 :
20280 58 : case 8:
20281 58 : if (!insn_condition_1358 (operands, insn))
20282 0 : return -1;
20283 : return 9553; /* avx10_2_vcvttpd2qqsv4df */
20284 :
20285 57 : case 9:
20286 57 : if (!insn_condition_1358 (operands, insn))
20287 0 : return -1;
20288 : return 9569; /* avx10_2_vcvttps2qqsv4di */
20289 :
20290 57 : case 10:
20291 57 : if (!insn_condition_1359 (operands, insn))
20292 0 : return -1;
20293 : return 9557; /* avx10_2_vcvttpd2qqsv2df */
20294 :
20295 64 : case 11:
20296 64 : if (!insn_condition_1359 (operands, insn))
20297 0 : return -1;
20298 : return 9573; /* avx10_2_vcvttps2qqsv2di */
20299 :
20300 : default:
20301 : return -1;
20302 : }
20303 : }
20304 :
20305 : int
20306 3602 : recog_241 (rtx x1 ATTRIBUTE_UNUSED,
20307 : rtx_insn *insn ATTRIBUTE_UNUSED,
20308 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20309 : {
20310 3602 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20311 3602 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
20312 3602 : int res ATTRIBUTE_UNUSED;
20313 3602 : x2 = XEXP (x1, 1);
20314 3602 : x3 = XVECEXP (x2, 0, 1);
20315 3602 : if (!const_4_or_8_to_11_operand (x3, E_SImode))
20316 : return -1;
20317 3602 : x4 = XVECEXP (x2, 0, 0);
20318 3602 : x5 = XEXP (x4, 0);
20319 3602 : x6 = XVECEXP (x5, 0, 2);
20320 3602 : switch (GET_CODE (x6))
20321 : {
20322 2260 : case REG:
20323 2260 : case SUBREG:
20324 2260 : case MEM:
20325 2260 : operands[3] = x6;
20326 2260 : x7 = XEXP (x4, 1);
20327 2260 : switch (GET_CODE (x7))
20328 : {
20329 725 : case CONST_INT:
20330 725 : case CONST_DOUBLE:
20331 725 : case CONST_VECTOR:
20332 725 : operands[4] = x7;
20333 725 : x8 = XEXP (x4, 2);
20334 725 : operands[5] = x8;
20335 725 : operands[6] = x3;
20336 725 : switch (GET_MODE (operands[0]))
20337 : {
20338 193 : case E_V32HFmode:
20339 193 : if (pattern1706 (x2,
20340 : E_SImode,
20341 : E_V32HFmode) != 0
20342 193 : || !insn_condition_1362 (operands, insn))
20343 25 : return -1;
20344 : return 4249; /* fma_fmaddsub_v32hf_maskz_1_round */
20345 :
20346 266 : case E_V16SFmode:
20347 266 : if (pattern1706 (x2,
20348 : E_HImode,
20349 : E_V16SFmode) != 0
20350 266 : || !insn_condition_1363 (operands, insn))
20351 7 : return -1;
20352 : return 4257; /* fma_fmaddsub_v16sf_maskz_1_round */
20353 :
20354 266 : case E_V8DFmode:
20355 266 : if (pattern1706 (x2,
20356 : E_QImode,
20357 : E_V8DFmode) != 0
20358 266 : || !insn_condition_1364 (operands, insn))
20359 7 : return -1;
20360 : return 4265; /* fma_fmaddsub_v8df_maskz_1_round */
20361 :
20362 : default:
20363 : return -1;
20364 : }
20365 :
20366 1535 : case REG:
20367 1535 : case SUBREG:
20368 1535 : case MEM:
20369 1535 : x8 = XEXP (x4, 2);
20370 1535 : operands[4] = x8;
20371 1535 : operands[5] = x3;
20372 1535 : switch (GET_MODE (operands[0]))
20373 : {
20374 457 : case E_V32HFmode:
20375 457 : if (pattern1640 (x2,
20376 : E_V32HFmode,
20377 : E_SImode) != 0)
20378 : return -1;
20379 420 : if (register_operand (operands[1], E_V32HFmode)
20380 407 : && register_operand (operands[3], E_V32HFmode)
20381 403 : && rtx_equal_p (x7, operands[1])
20382 420 : && insn_condition_89 (operands, insn))
20383 : return 4271; /* avx512bw_fmaddsub_v32hf_mask_round */
20384 205 : if (!nonimmediate_operand (operands[1], E_V32HFmode)
20385 205 : || !nonimmediate_operand (operands[3], E_V32HFmode)
20386 205 : || !rtx_equal_p (x7, operands[3])
20387 205 : || !insn_condition_89 (operands, insn))
20388 5 : return -1;
20389 : return 4289; /* avx512bw_fmaddsub_v32hf_mask3_round */
20390 :
20391 0 : case E_V16HFmode:
20392 0 : if (pattern1640 (x2,
20393 : E_V16HFmode,
20394 : E_HImode) != 0)
20395 : return -1;
20396 0 : if (register_operand (operands[1], E_V16HFmode)
20397 0 : && register_operand (operands[3], E_V16HFmode)
20398 0 : && rtx_equal_p (x7, operands[1])
20399 0 : && insn_condition_980 (operands, insn))
20400 : return 4273; /* avx512vl_fmaddsub_v16hf_mask_round */
20401 0 : if (!nonimmediate_operand (operands[1], E_V16HFmode)
20402 0 : || !nonimmediate_operand (operands[3], E_V16HFmode)
20403 0 : || !rtx_equal_p (x7, operands[3])
20404 0 : || !insn_condition_980 (operands, insn))
20405 0 : return -1;
20406 : return 4291; /* avx512vl_fmaddsub_v16hf_mask3_round */
20407 :
20408 0 : case E_V8HFmode:
20409 0 : if (pattern1640 (x2,
20410 : E_V8HFmode,
20411 : E_QImode) != 0)
20412 : return -1;
20413 0 : if (register_operand (operands[1], E_V8HFmode)
20414 0 : && register_operand (operands[3], E_V8HFmode)
20415 0 : && rtx_equal_p (x7, operands[1])
20416 0 : && insn_condition_980 (operands, insn))
20417 : return 4275; /* avx512fp16_fmaddsub_v8hf_mask_round */
20418 0 : if (!nonimmediate_operand (operands[1], E_V8HFmode)
20419 0 : || !nonimmediate_operand (operands[3], E_V8HFmode)
20420 0 : || !rtx_equal_p (x7, operands[3])
20421 0 : || !insn_condition_980 (operands, insn))
20422 0 : return -1;
20423 : return 4293; /* avx512fp16_fmaddsub_v8hf_mask3_round */
20424 :
20425 539 : case E_V16SFmode:
20426 539 : if (pattern1640 (x2,
20427 : E_V16SFmode,
20428 : E_HImode) != 0)
20429 : return -1;
20430 530 : if (register_operand (operands[1], E_V16SFmode)
20431 518 : && register_operand (operands[3], E_V16SFmode)
20432 518 : && rtx_equal_p (x7, operands[1])
20433 873 : && insn_condition_27 (operands, insn))
20434 : return 4277; /* avx512f_fmaddsub_v16sf_mask_round */
20435 187 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
20436 187 : || !nonimmediate_operand (operands[3], E_V16SFmode)
20437 187 : || !rtx_equal_p (x7, operands[3])
20438 372 : || !insn_condition_27 (operands, insn))
20439 2 : return -1;
20440 : return 4295; /* avx512f_fmaddsub_v16sf_mask3_round */
20441 :
20442 0 : case E_V8SFmode:
20443 0 : if (pattern1640 (x2,
20444 : E_V8SFmode,
20445 : E_QImode) != 0)
20446 : return -1;
20447 0 : if (register_operand (operands[1], E_V8SFmode)
20448 0 : && register_operand (operands[3], E_V8SFmode)
20449 0 : && rtx_equal_p (x7, operands[1])
20450 0 : && insn_condition_341 (operands, insn))
20451 : return 4279; /* avx512vl_fmaddsub_v8sf_mask_round */
20452 0 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
20453 0 : || !nonimmediate_operand (operands[3], E_V8SFmode)
20454 0 : || !rtx_equal_p (x7, operands[3])
20455 0 : || !insn_condition_341 (operands, insn))
20456 0 : return -1;
20457 : return 4297; /* avx512vl_fmaddsub_v8sf_mask3_round */
20458 :
20459 0 : case E_V4SFmode:
20460 0 : if (pattern1640 (x2,
20461 : E_V4SFmode,
20462 : E_QImode) != 0)
20463 : return -1;
20464 0 : if (register_operand (operands[1], E_V4SFmode)
20465 0 : && register_operand (operands[3], E_V4SFmode)
20466 0 : && rtx_equal_p (x7, operands[1])
20467 0 : && insn_condition_341 (operands, insn))
20468 : return 4281; /* avx512vl_fmaddsub_v4sf_mask_round */
20469 0 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
20470 0 : || !nonimmediate_operand (operands[3], E_V4SFmode)
20471 0 : || !rtx_equal_p (x7, operands[3])
20472 0 : || !insn_condition_341 (operands, insn))
20473 0 : return -1;
20474 : return 4299; /* avx512vl_fmaddsub_v4sf_mask3_round */
20475 :
20476 539 : case E_V8DFmode:
20477 539 : if (pattern1640 (x2,
20478 : E_V8DFmode,
20479 : E_QImode) != 0)
20480 : return -1;
20481 530 : if (register_operand (operands[1], E_V8DFmode)
20482 518 : && register_operand (operands[3], E_V8DFmode)
20483 518 : && rtx_equal_p (x7, operands[1])
20484 873 : && insn_condition_27 (operands, insn))
20485 : return 4283; /* avx512f_fmaddsub_v8df_mask_round */
20486 187 : if (!nonimmediate_operand (operands[1], E_V8DFmode)
20487 187 : || !nonimmediate_operand (operands[3], E_V8DFmode)
20488 187 : || !rtx_equal_p (x7, operands[3])
20489 372 : || !insn_condition_27 (operands, insn))
20490 2 : return -1;
20491 : return 4301; /* avx512f_fmaddsub_v8df_mask3_round */
20492 :
20493 0 : case E_V4DFmode:
20494 0 : if (pattern1640 (x2,
20495 : E_V4DFmode,
20496 : E_QImode) != 0)
20497 : return -1;
20498 0 : if (register_operand (operands[1], E_V4DFmode)
20499 0 : && register_operand (operands[3], E_V4DFmode)
20500 0 : && rtx_equal_p (x7, operands[1])
20501 0 : && insn_condition_341 (operands, insn))
20502 : return 4285; /* avx512vl_fmaddsub_v4df_mask_round */
20503 0 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
20504 0 : || !nonimmediate_operand (operands[3], E_V4DFmode)
20505 0 : || !rtx_equal_p (x7, operands[3])
20506 0 : || !insn_condition_341 (operands, insn))
20507 0 : return -1;
20508 : return 4303; /* avx512vl_fmaddsub_v4df_mask3_round */
20509 :
20510 0 : case E_V2DFmode:
20511 0 : if (pattern1640 (x2,
20512 : E_V2DFmode,
20513 : E_QImode) != 0)
20514 : return -1;
20515 0 : if (register_operand (operands[1], E_V2DFmode)
20516 0 : && register_operand (operands[3], E_V2DFmode)
20517 0 : && rtx_equal_p (x7, operands[1])
20518 0 : && insn_condition_341 (operands, insn))
20519 : return 4287; /* avx512vl_fmaddsub_v2df_mask_round */
20520 0 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
20521 0 : || !nonimmediate_operand (operands[3], E_V2DFmode)
20522 0 : || !rtx_equal_p (x7, operands[3])
20523 0 : || !insn_condition_341 (operands, insn))
20524 0 : return -1;
20525 : return 4305; /* avx512vl_fmaddsub_v2df_mask3_round */
20526 :
20527 : default:
20528 : return -1;
20529 : }
20530 :
20531 : default:
20532 : return -1;
20533 : }
20534 :
20535 1342 : case NEG:
20536 1342 : x9 = XEXP (x6, 0);
20537 1342 : operands[3] = x9;
20538 1342 : x7 = XEXP (x4, 1);
20539 1342 : switch (GET_CODE (x7))
20540 : {
20541 327 : case CONST_INT:
20542 327 : case CONST_DOUBLE:
20543 327 : case CONST_VECTOR:
20544 327 : operands[4] = x7;
20545 327 : x8 = XEXP (x4, 2);
20546 327 : operands[5] = x8;
20547 327 : operands[6] = x3;
20548 327 : switch (GET_MODE (operands[0]))
20549 : {
20550 193 : case E_V32HFmode:
20551 193 : if (pattern1707 (x2,
20552 : E_SImode,
20553 : E_V32HFmode) != 0
20554 193 : || !insn_condition_1362 (operands, insn))
20555 25 : return -1;
20556 : return 4313; /* fma_fmsubadd_v32hf_maskz_1_round */
20557 :
20558 67 : case E_V16SFmode:
20559 67 : if (pattern1707 (x2,
20560 : E_HImode,
20561 : E_V16SFmode) != 0
20562 67 : || !insn_condition_1363 (operands, insn))
20563 4 : return -1;
20564 : return 4321; /* fma_fmsubadd_v16sf_maskz_1_round */
20565 :
20566 67 : case E_V8DFmode:
20567 67 : if (pattern1707 (x2,
20568 : E_QImode,
20569 : E_V8DFmode) != 0
20570 67 : || !insn_condition_1364 (operands, insn))
20571 4 : return -1;
20572 : return 4329; /* fma_fmsubadd_v8df_maskz_1_round */
20573 :
20574 : default:
20575 : return -1;
20576 : }
20577 :
20578 1015 : case REG:
20579 1015 : case SUBREG:
20580 1015 : case MEM:
20581 1015 : x8 = XEXP (x4, 2);
20582 1015 : operands[4] = x8;
20583 1015 : operands[5] = x3;
20584 1015 : switch (GET_MODE (operands[0]))
20585 : {
20586 469 : case E_V32HFmode:
20587 469 : if (pattern1641 (x2,
20588 : E_V32HFmode,
20589 : E_SImode) != 0)
20590 : return -1;
20591 432 : if (register_operand (operands[3], E_V32HFmode)
20592 419 : && rtx_equal_p (x7, operands[1])
20593 432 : && insn_condition_89 (operands, insn))
20594 : return 4335; /* avx512bw_fmsubadd_v32hf_mask_round */
20595 204 : if (!nonimmediate_operand (operands[3], E_V32HFmode)
20596 204 : || !rtx_equal_p (x7, operands[3])
20597 204 : || !insn_condition_89 (operands, insn))
20598 4 : return -1;
20599 : return 4353; /* avx512bw_fmsubadd_v32hf_mask3_round */
20600 :
20601 0 : case E_V16HFmode:
20602 0 : if (pattern1641 (x2,
20603 : E_V16HFmode,
20604 : E_HImode) != 0)
20605 : return -1;
20606 0 : if (register_operand (operands[3], E_V16HFmode)
20607 0 : && rtx_equal_p (x7, operands[1])
20608 0 : && insn_condition_980 (operands, insn))
20609 : return 4337; /* avx512vl_fmsubadd_v16hf_mask_round */
20610 0 : if (!nonimmediate_operand (operands[3], E_V16HFmode)
20611 0 : || !rtx_equal_p (x7, operands[3])
20612 0 : || !insn_condition_980 (operands, insn))
20613 0 : return -1;
20614 : return 4355; /* avx512vl_fmsubadd_v16hf_mask3_round */
20615 :
20616 0 : case E_V8HFmode:
20617 0 : if (pattern1641 (x2,
20618 : E_V8HFmode,
20619 : E_QImode) != 0)
20620 : return -1;
20621 0 : if (register_operand (operands[3], E_V8HFmode)
20622 0 : && rtx_equal_p (x7, operands[1])
20623 0 : && insn_condition_980 (operands, insn))
20624 : return 4339; /* avx512fp16_fmsubadd_v8hf_mask_round */
20625 0 : if (!nonimmediate_operand (operands[3], E_V8HFmode)
20626 0 : || !rtx_equal_p (x7, operands[3])
20627 0 : || !insn_condition_980 (operands, insn))
20628 0 : return -1;
20629 : return 4357; /* avx512fp16_fmsubadd_v8hf_mask3_round */
20630 :
20631 273 : case E_V16SFmode:
20632 273 : if (pattern1641 (x2,
20633 : E_V16SFmode,
20634 : E_HImode) != 0)
20635 : return -1;
20636 262 : if (register_operand (operands[3], E_V16SFmode)
20637 253 : && rtx_equal_p (x7, operands[1])
20638 339 : && insn_condition_27 (operands, insn))
20639 : return 4341; /* avx512f_fmsubadd_v16sf_mask_round */
20640 185 : if (!nonimmediate_operand (operands[3], E_V16SFmode)
20641 185 : || !rtx_equal_p (x7, operands[3])
20642 370 : || !insn_condition_27 (operands, insn))
20643 0 : return -1;
20644 : return 4359; /* avx512f_fmsubadd_v16sf_mask3_round */
20645 :
20646 0 : case E_V8SFmode:
20647 0 : if (pattern1641 (x2,
20648 : E_V8SFmode,
20649 : E_QImode) != 0)
20650 : return -1;
20651 0 : if (register_operand (operands[3], E_V8SFmode)
20652 0 : && rtx_equal_p (x7, operands[1])
20653 0 : && insn_condition_341 (operands, insn))
20654 : return 4343; /* avx512vl_fmsubadd_v8sf_mask_round */
20655 0 : if (!nonimmediate_operand (operands[3], E_V8SFmode)
20656 0 : || !rtx_equal_p (x7, operands[3])
20657 0 : || !insn_condition_341 (operands, insn))
20658 0 : return -1;
20659 : return 4361; /* avx512vl_fmsubadd_v8sf_mask3_round */
20660 :
20661 0 : case E_V4SFmode:
20662 0 : if (pattern1641 (x2,
20663 : E_V4SFmode,
20664 : E_QImode) != 0)
20665 : return -1;
20666 0 : if (register_operand (operands[3], E_V4SFmode)
20667 0 : && rtx_equal_p (x7, operands[1])
20668 0 : && insn_condition_341 (operands, insn))
20669 : return 4345; /* avx512vl_fmsubadd_v4sf_mask_round */
20670 0 : if (!nonimmediate_operand (operands[3], E_V4SFmode)
20671 0 : || !rtx_equal_p (x7, operands[3])
20672 0 : || !insn_condition_341 (operands, insn))
20673 0 : return -1;
20674 : return 4363; /* avx512vl_fmsubadd_v4sf_mask3_round */
20675 :
20676 273 : case E_V8DFmode:
20677 273 : if (pattern1641 (x2,
20678 : E_V8DFmode,
20679 : E_QImode) != 0)
20680 : return -1;
20681 262 : if (register_operand (operands[3], E_V8DFmode)
20682 253 : && rtx_equal_p (x7, operands[1])
20683 339 : && insn_condition_27 (operands, insn))
20684 : return 4347; /* avx512f_fmsubadd_v8df_mask_round */
20685 185 : if (!nonimmediate_operand (operands[3], E_V8DFmode)
20686 185 : || !rtx_equal_p (x7, operands[3])
20687 370 : || !insn_condition_27 (operands, insn))
20688 0 : return -1;
20689 : return 4365; /* avx512f_fmsubadd_v8df_mask3_round */
20690 :
20691 0 : case E_V4DFmode:
20692 0 : if (pattern1641 (x2,
20693 : E_V4DFmode,
20694 : E_QImode) != 0)
20695 : return -1;
20696 0 : if (register_operand (operands[3], E_V4DFmode)
20697 0 : && rtx_equal_p (x7, operands[1])
20698 0 : && insn_condition_341 (operands, insn))
20699 : return 4349; /* avx512vl_fmsubadd_v4df_mask_round */
20700 0 : if (!nonimmediate_operand (operands[3], E_V4DFmode)
20701 0 : || !rtx_equal_p (x7, operands[3])
20702 0 : || !insn_condition_341 (operands, insn))
20703 0 : return -1;
20704 : return 4367; /* avx512vl_fmsubadd_v4df_mask3_round */
20705 :
20706 0 : case E_V2DFmode:
20707 0 : if (pattern1641 (x2,
20708 : E_V2DFmode,
20709 : E_QImode) != 0)
20710 : return -1;
20711 0 : if (register_operand (operands[3], E_V2DFmode)
20712 0 : && rtx_equal_p (x7, operands[1])
20713 0 : && insn_condition_341 (operands, insn))
20714 : return 4351; /* avx512vl_fmsubadd_v2df_mask_round */
20715 0 : if (!nonimmediate_operand (operands[3], E_V2DFmode)
20716 0 : || !rtx_equal_p (x7, operands[3])
20717 0 : || !insn_condition_341 (operands, insn))
20718 0 : return -1;
20719 : return 4369; /* avx512vl_fmsubadd_v2df_mask3_round */
20720 :
20721 : default:
20722 : return -1;
20723 : }
20724 :
20725 : default:
20726 : return -1;
20727 : }
20728 :
20729 : default:
20730 : return -1;
20731 : }
20732 : }
20733 :
20734 : int
20735 1874 : recog_248 (rtx x1 ATTRIBUTE_UNUSED,
20736 : rtx_insn *insn ATTRIBUTE_UNUSED,
20737 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20738 : {
20739 1874 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20740 1874 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
20741 1874 : rtx x10, x11, x12, x13, x14;
20742 1874 : int res ATTRIBUTE_UNUSED;
20743 1874 : x2 = XEXP (x1, 1);
20744 1874 : x3 = XVECEXP (x2, 0, 0);
20745 1874 : x4 = XEXP (x3, 2);
20746 1874 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
20747 : return -1;
20748 1861 : x5 = XEXP (x3, 0);
20749 1861 : x6 = XEXP (x5, 0);
20750 1861 : switch (GET_CODE (x6))
20751 : {
20752 0 : case SQRT:
20753 0 : x7 = XEXP (x6, 0);
20754 0 : operands[1] = x7;
20755 0 : x8 = XEXP (x3, 1);
20756 0 : operands[2] = x8;
20757 0 : x9 = XVECEXP (x2, 0, 1);
20758 0 : operands[3] = x9;
20759 0 : if (!const_4_or_8_to_11_operand (operands[3], E_SImode))
20760 : return -1;
20761 0 : switch (GET_MODE (operands[0]))
20762 : {
20763 0 : case E_V8HFmode:
20764 0 : if (pattern1448 (x2,
20765 : E_V8HFmode,
20766 : E_HFmode) != 0
20767 0 : || !insn_condition_1083 (operands, insn))
20768 0 : return -1;
20769 : return 3116; /* *avx512fp16_vmsqrtv8hf2_round */
20770 :
20771 0 : case E_V4SFmode:
20772 0 : if (pattern1448 (x2,
20773 : E_V4SFmode,
20774 : E_SFmode) != 0
20775 0 : || !insn_condition_908 (operands, insn))
20776 0 : return -1;
20777 : return 3120; /* *sse_vmsqrtv4sf2_round */
20778 :
20779 0 : case E_V2DFmode:
20780 0 : if (pattern1448 (x2,
20781 : E_V2DFmode,
20782 : E_DFmode) != 0
20783 0 : || !insn_condition_1084 (operands, insn))
20784 0 : return -1;
20785 : return 3124; /* *sse2_vmsqrtv2df2_round */
20786 :
20787 : default:
20788 : return -1;
20789 : }
20790 :
20791 685 : case FLOAT:
20792 685 : switch (pattern949 (x2))
20793 : {
20794 131 : case 0:
20795 131 : if (!insn_condition_26 (operands, insn))
20796 0 : return -1;
20797 : return 4715; /* avx512fp16_vcvtsi2sh_round */
20798 :
20799 131 : case 1:
20800 131 : if (!insn_condition_906 (operands, insn))
20801 0 : return -1;
20802 : return 4719; /* avx512fp16_vcvtsi2shq_round */
20803 :
20804 135 : case 2:
20805 135 : if (!insn_condition_908 (operands, insn))
20806 0 : return -1;
20807 : return 4952; /* sse_cvtsi2ss_round */
20808 :
20809 135 : case 3:
20810 135 : if (!insn_condition_909 (operands, insn))
20811 0 : return -1;
20812 : return 4954; /* sse_cvtsi2ssq_round */
20813 :
20814 117 : case 4:
20815 117 : if (!insn_condition_1415 (operands, insn))
20816 0 : return -1;
20817 : return 5072; /* sse2_cvtsi2sdq_round */
20818 :
20819 : default:
20820 : return -1;
20821 : }
20822 :
20823 685 : case UNSIGNED_FLOAT:
20824 685 : switch (pattern949 (x2))
20825 : {
20826 131 : case 0:
20827 131 : if (!insn_condition_26 (operands, insn))
20828 0 : return -1;
20829 : return 4717; /* avx512fp16_vcvtusi2sh_round */
20830 :
20831 131 : case 1:
20832 131 : if (!insn_condition_906 (operands, insn))
20833 0 : return -1;
20834 : return 4721; /* avx512fp16_vcvtusi2shq_round */
20835 :
20836 135 : case 2:
20837 135 : if (!insn_condition_1416 (operands, insn))
20838 0 : return -1;
20839 : return 4977; /* cvtusi2ss32_round */
20840 :
20841 135 : case 3:
20842 135 : if (!insn_condition_1417 (operands, insn))
20843 0 : return -1;
20844 : return 4980; /* cvtusi2ss64_round */
20845 :
20846 117 : case 4:
20847 117 : if (!insn_condition_1418 (operands, insn))
20848 0 : return -1;
20849 : return 4982; /* cvtusi2sd64_round */
20850 :
20851 : default:
20852 : return -1;
20853 : }
20854 :
20855 212 : case FLOAT_EXTEND:
20856 212 : x7 = XEXP (x6, 0);
20857 212 : if (pattern947 (x7,
20858 : 1,
20859 : E_HFmode) != 0)
20860 : return -1;
20861 212 : x10 = XEXP (x7, 0);
20862 212 : operands[1] = x10;
20863 212 : if (!register_operand (operands[1], E_V8HFmode))
20864 : return -1;
20865 188 : x8 = XEXP (x3, 1);
20866 188 : operands[2] = x8;
20867 188 : x9 = XVECEXP (x2, 0, 1);
20868 188 : operands[3] = x9;
20869 188 : if (!const48_operand (operands[3], E_SImode))
20870 : return -1;
20871 188 : switch (GET_MODE (operands[0]))
20872 : {
20873 94 : case E_V2DFmode:
20874 94 : if (pattern1736 (x2,
20875 : E_V2DFmode,
20876 : E_DFmode) != 0
20877 94 : || !insn_condition_26 (operands, insn))
20878 18 : return -1;
20879 : return 4925; /* avx512fp16_vcvtsh2sd_round */
20880 :
20881 94 : case E_V4SFmode:
20882 94 : if (pattern1736 (x2,
20883 : E_V4SFmode,
20884 : E_SFmode) != 0
20885 94 : || !insn_condition_26 (operands, insn))
20886 18 : return -1;
20887 : return 4929; /* avx512fp16_vcvtsh2ss_round */
20888 :
20889 : default:
20890 : return -1;
20891 : }
20892 :
20893 279 : case FLOAT_TRUNCATE:
20894 279 : x9 = XVECEXP (x2, 0, 1);
20895 279 : operands[3] = x9;
20896 279 : if (!const_4_or_8_to_11_operand (operands[3], E_SImode))
20897 : return -1;
20898 279 : x7 = XEXP (x6, 0);
20899 279 : switch (GET_CODE (x7))
20900 : {
20901 212 : case VEC_SELECT:
20902 212 : x11 = XEXP (x7, 1);
20903 212 : if (GET_CODE (x11) != PARALLEL
20904 212 : || XVECLEN (x11, 0) != 1)
20905 : return -1;
20906 212 : x12 = XVECEXP (x11, 0, 0);
20907 212 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
20908 212 : || pattern1449 (x2,
20909 : E_HFmode,
20910 : E_V8HFmode) != 0)
20911 : return -1;
20912 194 : x10 = XEXP (x7, 0);
20913 194 : operands[1] = x10;
20914 194 : x8 = XEXP (x3, 1);
20915 194 : operands[2] = x8;
20916 194 : if (!register_operand (operands[2], E_V8HFmode))
20917 : return -1;
20918 168 : switch (GET_MODE (x7))
20919 : {
20920 84 : case E_DFmode:
20921 84 : if (!register_operand (operands[1], E_V2DFmode)
20922 84 : || !insn_condition_26 (operands, insn))
20923 8 : return -1;
20924 : return 4936; /* avx512fp16_vcvtsd2sh_round */
20925 :
20926 84 : case E_SFmode:
20927 84 : if (!register_operand (operands[1], E_V4SFmode)
20928 84 : || !insn_condition_26 (operands, insn))
20929 8 : return -1;
20930 : return 4940; /* avx512fp16_vcvtss2sh_round */
20931 :
20932 : default:
20933 : return -1;
20934 : }
20935 :
20936 67 : case REG:
20937 67 : case SUBREG:
20938 67 : case MEM:
20939 67 : operands[2] = x7;
20940 67 : if (!nonimmediate_operand (operands[2], E_V2DFmode)
20941 67 : || pattern1449 (x2,
20942 : E_V2SFmode,
20943 : E_V4SFmode) != 0)
20944 : return -1;
20945 64 : x8 = XEXP (x3, 1);
20946 64 : operands[1] = x8;
20947 64 : if (!register_operand (operands[1], E_V4SFmode)
20948 64 : || !insn_condition_342 (operands, insn))
20949 1 : return -1;
20950 : return 5330; /* sse2_cvtsd2ss_round */
20951 :
20952 : default:
20953 : return -1;
20954 : }
20955 :
20956 0 : case UNSPEC:
20957 0 : if (XVECLEN (x6, 0) != 2
20958 0 : || XINT (x6, 1) != 90)
20959 : return -1;
20960 0 : x13 = XVECEXP (x6, 0, 0);
20961 0 : operands[2] = x13;
20962 0 : x14 = XVECEXP (x6, 0, 1);
20963 0 : operands[3] = x14;
20964 0 : if (!const_0_to_255_operand (operands[3], E_SImode))
20965 : return -1;
20966 0 : x8 = XEXP (x3, 1);
20967 0 : operands[1] = x8;
20968 0 : x9 = XVECEXP (x2, 0, 1);
20969 0 : operands[4] = x9;
20970 0 : if (!const48_operand (operands[4], E_SImode))
20971 : return -1;
20972 0 : switch (GET_MODE (operands[0]))
20973 : {
20974 0 : case E_V8HFmode:
20975 0 : if (pattern1638 (x2,
20976 : E_V8HFmode,
20977 : E_HFmode) != 0
20978 0 : || !insn_condition_89 (operands, insn))
20979 0 : return -1;
20980 : return 5865; /* *avx512f_rndscalev8hf_round */
20981 :
20982 0 : case E_V4SFmode:
20983 0 : if (pattern1638 (x2,
20984 : E_V4SFmode,
20985 : E_SFmode) != 0
20986 0 : || !insn_condition_27 (operands, insn))
20987 0 : return -1;
20988 : return 5867; /* *avx512f_rndscalev4sf_round */
20989 :
20990 0 : case E_V2DFmode:
20991 0 : if (pattern1638 (x2,
20992 : E_V2DFmode,
20993 : E_DFmode) != 0
20994 0 : || !insn_condition_90 (operands, insn))
20995 0 : return -1;
20996 : return 5869; /* *avx512f_rndscalev2df_round */
20997 :
20998 : default:
20999 : return -1;
21000 : }
21001 :
21002 : default:
21003 : return -1;
21004 : }
21005 : }
21006 :
21007 : int
21008 6587 : recog_251 (rtx x1 ATTRIBUTE_UNUSED,
21009 : rtx_insn *insn ATTRIBUTE_UNUSED,
21010 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21011 : {
21012 6587 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21013 6587 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
21014 6587 : int res ATTRIBUTE_UNUSED;
21015 6587 : x2 = XEXP (x1, 1);
21016 6587 : x3 = XVECEXP (x2, 0, 0);
21017 6587 : switch (XVECLEN (x3, 0))
21018 : {
21019 1910 : case 2:
21020 1910 : x4 = XVECEXP (x3, 0, 0);
21021 1910 : operands[1] = x4;
21022 1910 : x5 = XVECEXP (x3, 0, 1);
21023 1910 : operands[2] = x5;
21024 1910 : x6 = XVECEXP (x2, 0, 1);
21025 1910 : operands[3] = x6;
21026 1910 : switch (XINT (x3, 1))
21027 : {
21028 243 : case 60:
21029 243 : switch (pattern1174 (x2))
21030 : {
21031 39 : case 0:
21032 39 : if (!insn_condition_1469 (operands, insn))
21033 0 : return -1;
21034 : return 3227; /* ieee_maxv32hf3_round */
21035 :
21036 88 : case 1:
21037 88 : if (!insn_condition_1470 (operands, insn))
21038 0 : return -1;
21039 : return 3243; /* ieee_maxv16sf3_round */
21040 :
21041 88 : case 2:
21042 88 : if (!insn_condition_1471 (operands, insn))
21043 0 : return -1;
21044 : return 3259; /* ieee_maxv8df3_round */
21045 :
21046 : default:
21047 : return -1;
21048 : }
21049 :
21050 250 : case 59:
21051 250 : switch (pattern1174 (x2))
21052 : {
21053 39 : case 0:
21054 39 : if (!insn_condition_1469 (operands, insn))
21055 0 : return -1;
21056 : return 3231; /* ieee_minv32hf3_round */
21057 :
21058 95 : case 1:
21059 95 : if (!insn_condition_1470 (operands, insn))
21060 0 : return -1;
21061 : return 3247; /* ieee_minv16sf3_round */
21062 :
21063 88 : case 2:
21064 88 : if (!insn_condition_1471 (operands, insn))
21065 0 : return -1;
21066 : return 3263; /* ieee_minv8df3_round */
21067 :
21068 : default:
21069 : return -1;
21070 : }
21071 :
21072 155 : case 191:
21073 155 : if (!const_0_to_255_operand (operands[2], E_SImode)
21074 155 : || !const48_operand (operands[3], E_SImode))
21075 : return -1;
21076 155 : switch (GET_MODE (operands[0]))
21077 : {
21078 71 : case E_V32HFmode:
21079 71 : if (pattern1261 (x2,
21080 : E_V32HFmode) != 0
21081 71 : || !insn_condition_1019 (operands, insn))
21082 14 : return -1;
21083 : return 3343; /* *reducepv32hf_round */
21084 :
21085 0 : case E_V16HFmode:
21086 0 : if (pattern1261 (x2,
21087 : E_V16HFmode) != 0
21088 0 : || !insn_condition_1020 (operands, insn))
21089 0 : return -1;
21090 : return 3347; /* *reducepv16hf_round */
21091 :
21092 0 : case E_V8HFmode:
21093 0 : if (pattern1261 (x2,
21094 : E_V8HFmode) != 0
21095 0 : || !insn_condition_1021 (operands, insn))
21096 0 : return -1;
21097 : return 3351; /* *reducepv8hf_round */
21098 :
21099 42 : case E_V16SFmode:
21100 42 : if (pattern1261 (x2,
21101 : E_V16SFmode) != 0
21102 42 : || !insn_condition_1022 (operands, insn))
21103 10 : return -1;
21104 : return 3355; /* *reducepv16sf_round */
21105 :
21106 0 : case E_V8SFmode:
21107 0 : if (pattern1261 (x2,
21108 : E_V8SFmode) != 0
21109 0 : || !insn_condition_1023 (operands, insn))
21110 0 : return -1;
21111 : return 3359; /* *reducepv8sf_round */
21112 :
21113 0 : case E_V4SFmode:
21114 0 : if (pattern1261 (x2,
21115 : E_V4SFmode) != 0
21116 0 : || !insn_condition_1024 (operands, insn))
21117 0 : return -1;
21118 : return 3363; /* *reducepv4sf_round */
21119 :
21120 42 : case E_V8DFmode:
21121 42 : if (pattern1261 (x2,
21122 : E_V8DFmode) != 0
21123 42 : || !insn_condition_1025 (operands, insn))
21124 10 : return -1;
21125 : return 3367; /* *reducepv8df_round */
21126 :
21127 0 : case E_V4DFmode:
21128 0 : if (pattern1261 (x2,
21129 : E_V4DFmode) != 0
21130 0 : || !insn_condition_1026 (operands, insn))
21131 0 : return -1;
21132 : return 3371; /* *reducepv4df_round */
21133 :
21134 0 : case E_V2DFmode:
21135 0 : if (pattern1261 (x2,
21136 : E_V2DFmode) != 0
21137 0 : || !insn_condition_1027 (operands, insn))
21138 0 : return -1;
21139 : return 3375; /* *reducepv2df_round */
21140 :
21141 : default:
21142 : return -1;
21143 : }
21144 :
21145 179 : case 220:
21146 179 : if (pattern1175 (x2) != 0
21147 179 : || !insn_condition_1411 (operands, insn))
21148 25 : return -1;
21149 : return 4524; /* avx512bw_fmulc_v32hf_round */
21150 :
21151 171 : case 221:
21152 171 : if (pattern1175 (x2) != 0
21153 171 : || !insn_condition_1411 (operands, insn))
21154 25 : return -1;
21155 : return 4528; /* avx512bw_fcmulc_v32hf_round */
21156 :
21157 253 : case 55:
21158 253 : if (!const_4_or_8_to_11_operand (operands[3], E_SImode))
21159 : return -1;
21160 253 : switch (GET_MODE (operands[0]))
21161 : {
21162 67 : case E_V32HFmode:
21163 67 : if (pattern1350 (x2,
21164 : E_V32HFmode) != 0
21165 67 : || !insn_condition_89 (operands, insn))
21166 4 : return -1;
21167 : return 5599; /* avx512bw_scalefv32hf_round */
21168 :
21169 0 : case E_V16HFmode:
21170 0 : if (pattern1350 (x2,
21171 : E_V16HFmode) != 0
21172 0 : || !insn_condition_980 (operands, insn))
21173 0 : return -1;
21174 : return 5603; /* avx512vl_scalefv16hf_round */
21175 :
21176 0 : case E_V8HFmode:
21177 0 : if (pattern1350 (x2,
21178 : E_V8HFmode) != 0
21179 0 : || !insn_condition_980 (operands, insn))
21180 0 : return -1;
21181 : return 5607; /* avx512fp16_scalefv8hf_round */
21182 :
21183 93 : case E_V16SFmode:
21184 93 : if (pattern1350 (x2,
21185 : E_V16SFmode) != 0
21186 93 : || !insn_condition_27 (operands, insn))
21187 5 : return -1;
21188 : return 5611; /* avx512f_scalefv16sf_round */
21189 :
21190 0 : case E_V8SFmode:
21191 0 : if (pattern1350 (x2,
21192 : E_V8SFmode) != 0
21193 0 : || !insn_condition_341 (operands, insn))
21194 0 : return -1;
21195 : return 5615; /* avx512vl_scalefv8sf_round */
21196 :
21197 0 : case E_V4SFmode:
21198 0 : if (pattern1350 (x2,
21199 : E_V4SFmode) != 0
21200 0 : || !insn_condition_341 (operands, insn))
21201 0 : return -1;
21202 : return 5619; /* avx512vl_scalefv4sf_round */
21203 :
21204 93 : case E_V8DFmode:
21205 93 : if (pattern1350 (x2,
21206 : E_V8DFmode) != 0
21207 93 : || !insn_condition_27 (operands, insn))
21208 5 : return -1;
21209 : return 5623; /* avx512f_scalefv8df_round */
21210 :
21211 0 : case E_V4DFmode:
21212 0 : if (pattern1350 (x2,
21213 : E_V4DFmode) != 0
21214 0 : || !insn_condition_341 (operands, insn))
21215 0 : return -1;
21216 : return 5627; /* avx512vl_scalefv4df_round */
21217 :
21218 0 : case E_V2DFmode:
21219 0 : if (pattern1350 (x2,
21220 : E_V2DFmode) != 0
21221 0 : || !insn_condition_341 (operands, insn))
21222 0 : return -1;
21223 : return 5631; /* avx512vl_scalefv2df_round */
21224 :
21225 : default:
21226 : return -1;
21227 : }
21228 :
21229 373 : case 90:
21230 373 : if (!const_0_to_255_operand (operands[2], E_SImode))
21231 : return -1;
21232 373 : switch (pattern1259 (x2))
21233 : {
21234 60 : case 0:
21235 60 : if (!insn_condition_89 (operands, insn))
21236 0 : return -1;
21237 : return 5817; /* avx512bw_rndscalev32hf_round */
21238 :
21239 0 : case 1:
21240 0 : if (!insn_condition_980 (operands, insn))
21241 0 : return -1;
21242 : return 5821; /* avx512vl_rndscalev16hf_round */
21243 :
21244 0 : case 2:
21245 0 : if (!insn_condition_980 (operands, insn))
21246 0 : return -1;
21247 : return 5825; /* avx512fp16_rndscalev8hf_round */
21248 :
21249 148 : case 3:
21250 148 : if (!insn_condition_27 (operands, insn))
21251 0 : return -1;
21252 : return 5829; /* avx512f_rndscalev16sf_round */
21253 :
21254 0 : case 4:
21255 0 : if (!insn_condition_341 (operands, insn))
21256 0 : return -1;
21257 : return 5833; /* avx512vl_rndscalev8sf_round */
21258 :
21259 0 : case 5:
21260 0 : if (!insn_condition_341 (operands, insn))
21261 0 : return -1;
21262 : return 5837; /* avx512vl_rndscalev4sf_round */
21263 :
21264 148 : case 6:
21265 148 : if (!insn_condition_27 (operands, insn))
21266 0 : return -1;
21267 : return 5841; /* avx512f_rndscalev8df_round */
21268 :
21269 0 : case 7:
21270 0 : if (!insn_condition_341 (operands, insn))
21271 0 : return -1;
21272 : return 5845; /* avx512vl_rndscalev4df_round */
21273 :
21274 0 : case 8:
21275 0 : if (!insn_condition_341 (operands, insn))
21276 0 : return -1;
21277 : return 5849; /* avx512vl_rndscalev2df_round */
21278 :
21279 : default:
21280 : return -1;
21281 : }
21282 :
21283 5 : case 149:
21284 5 : if (GET_MODE (x3) != E_V16HImode
21285 5 : || !register_operand (operands[0], E_V16HImode)
21286 5 : || GET_MODE (x2) != E_V16HImode
21287 5 : || !register_operand (operands[1], E_V16SFmode)
21288 4 : || !const_0_to_255_operand (operands[2], E_SImode)
21289 4 : || !const48_operand (operands[3], E_SImode)
21290 9 : || !insn_condition_27 (operands, insn))
21291 1 : return -1;
21292 : return 8360; /* *avx512f_vcvtps2ph512_round */
21293 :
21294 279 : case 165:
21295 279 : if (!const_0_to_15_operand (operands[2], E_SImode))
21296 : return -1;
21297 279 : switch (pattern1259 (x2))
21298 : {
21299 60 : case 0:
21300 60 : if (!insn_condition_89 (operands, insn))
21301 0 : return -1;
21302 : return 8702; /* avx512bw_getmantv32hf_round */
21303 :
21304 0 : case 1:
21305 0 : if (!insn_condition_980 (operands, insn))
21306 0 : return -1;
21307 : return 8706; /* avx512vl_getmantv16hf_round */
21308 :
21309 0 : case 2:
21310 0 : if (!insn_condition_980 (operands, insn))
21311 0 : return -1;
21312 : return 8710; /* avx512fp16_getmantv8hf_round */
21313 :
21314 125 : case 3:
21315 125 : if (!insn_condition_27 (operands, insn))
21316 0 : return -1;
21317 : return 8714; /* avx512f_getmantv16sf_round */
21318 :
21319 0 : case 4:
21320 0 : if (!insn_condition_341 (operands, insn))
21321 0 : return -1;
21322 : return 8718; /* avx512vl_getmantv8sf_round */
21323 :
21324 0 : case 5:
21325 0 : if (!insn_condition_341 (operands, insn))
21326 0 : return -1;
21327 : return 8722; /* avx512vl_getmantv4sf_round */
21328 :
21329 83 : case 6:
21330 83 : if (!insn_condition_27 (operands, insn))
21331 0 : return -1;
21332 : return 8726; /* avx512f_getmantv8df_round */
21333 :
21334 0 : case 7:
21335 0 : if (!insn_condition_341 (operands, insn))
21336 0 : return -1;
21337 : return 8730; /* avx512vl_getmantv4df_round */
21338 :
21339 0 : case 8:
21340 0 : if (!insn_condition_341 (operands, insn))
21341 0 : return -1;
21342 : return 8734; /* avx512vl_getmantv2df_round */
21343 :
21344 : default:
21345 : return -1;
21346 : }
21347 :
21348 : default:
21349 : return -1;
21350 : }
21351 :
21352 1240 : case 3:
21353 1240 : x4 = XVECEXP (x3, 0, 0);
21354 1240 : operands[1] = x4;
21355 1240 : x5 = XVECEXP (x3, 0, 1);
21356 1240 : operands[2] = x5;
21357 1240 : x6 = XVECEXP (x2, 0, 1);
21358 1240 : operands[4] = x6;
21359 1240 : switch (XINT (x3, 1))
21360 : {
21361 710 : case 132:
21362 710 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
21363 : return -1;
21364 710 : x7 = XVECEXP (x3, 0, 2);
21365 710 : switch (GET_CODE (x7))
21366 : {
21367 493 : case REG:
21368 493 : case SUBREG:
21369 493 : operands[3] = x7;
21370 493 : switch (GET_MODE (operands[0]))
21371 : {
21372 127 : case E_V32HFmode:
21373 127 : if (pattern1520 (x2,
21374 : E_V32HFmode) != 0
21375 127 : || !insn_condition_1472 (operands, insn))
21376 20 : return -1;
21377 : return 4248; /* *fma_fmaddsub_v32hf_round */
21378 :
21379 183 : case E_V16SFmode:
21380 183 : if (pattern1520 (x2,
21381 : E_V16SFmode) != 0
21382 183 : || !insn_condition_1473 (operands, insn))
21383 7 : return -1;
21384 : return 4256; /* *fma_fmaddsub_v16sf_round */
21385 :
21386 183 : case E_V8DFmode:
21387 183 : if (pattern1520 (x2,
21388 : E_V8DFmode) != 0
21389 183 : || !insn_condition_1474 (operands, insn))
21390 7 : return -1;
21391 : return 4264; /* *fma_fmaddsub_v8df_round */
21392 :
21393 : default:
21394 : return -1;
21395 : }
21396 :
21397 217 : case NEG:
21398 217 : x8 = XEXP (x7, 0);
21399 217 : operands[3] = x8;
21400 217 : switch (GET_MODE (operands[0]))
21401 : {
21402 127 : case E_V32HFmode:
21403 127 : if (pattern1521 (x2,
21404 : E_V32HFmode) != 0
21405 127 : || !insn_condition_1472 (operands, insn))
21406 20 : return -1;
21407 : return 4312; /* *fma_fmsubadd_v32hf_round */
21408 :
21409 45 : case E_V16SFmode:
21410 45 : if (pattern1521 (x2,
21411 : E_V16SFmode) != 0
21412 45 : || !insn_condition_1473 (operands, insn))
21413 7 : return -1;
21414 : return 4320; /* *fma_fmsubadd_v16sf_round */
21415 :
21416 45 : case E_V8DFmode:
21417 45 : if (pattern1521 (x2,
21418 : E_V8DFmode) != 0
21419 45 : || !insn_condition_1474 (operands, insn))
21420 7 : return -1;
21421 : return 4328; /* *fma_fmsubadd_v8df_round */
21422 :
21423 : default:
21424 : return -1;
21425 : }
21426 :
21427 : default:
21428 : return -1;
21429 : }
21430 :
21431 184 : case 216:
21432 184 : if (pattern1176 (x2) != 0
21433 184 : || !insn_condition_1475 (operands, insn))
21434 20 : return -1;
21435 : return 4475; /* fma_fmaddc_v32hf_round */
21436 :
21437 184 : case 218:
21438 184 : if (pattern1176 (x2) != 0
21439 184 : || !insn_condition_1475 (operands, insn))
21440 20 : return -1;
21441 : return 4479; /* fma_fcmaddc_v32hf_round */
21442 :
21443 144 : case 193:
21444 144 : x7 = XVECEXP (x3, 0, 2);
21445 144 : operands[3] = x7;
21446 144 : if (!const_0_to_15_operand (operands[3], E_SImode)
21447 144 : || !const48_operand (operands[4], E_SImode))
21448 : return -1;
21449 144 : switch (GET_MODE (operands[0]))
21450 : {
21451 72 : case E_V16SFmode:
21452 72 : if (pattern1173 (x2,
21453 : E_V16SFmode) != 0
21454 72 : || !insn_condition_1476 (operands, insn))
21455 4 : return -1;
21456 : return 8654; /* avx512dq_rangepv16sf_round */
21457 :
21458 72 : case E_V8DFmode:
21459 72 : if (pattern1173 (x2,
21460 : E_V8DFmode) != 0
21461 72 : || !insn_condition_1421 (operands, insn))
21462 4 : return -1;
21463 : return 8662; /* avx512dq_rangepv8df_round */
21464 :
21465 : default:
21466 : return -1;
21467 : }
21468 :
21469 0 : case 277:
21470 0 : x7 = XVECEXP (x3, 0, 2);
21471 0 : operands[3] = x7;
21472 0 : if (!const_0_to_255_operand (operands[3], E_SImode)
21473 0 : || !const48_operand (operands[4], E_SImode))
21474 : return -1;
21475 0 : switch (GET_MODE (operands[0]))
21476 : {
21477 0 : case E_V32HFmode:
21478 0 : if (pattern1173 (x2,
21479 : E_V32HFmode) != 0
21480 0 : || !insn_condition_82 (operands, insn))
21481 0 : return -1;
21482 : return 9608; /* avx10_2_minmaxpv32hf_round */
21483 :
21484 0 : case E_V16HFmode:
21485 0 : if (pattern1173 (x2,
21486 : E_V16HFmode) != 0
21487 0 : || !insn_condition_1000 (operands, insn))
21488 0 : return -1;
21489 : return 9612; /* avx10_2_minmaxpv16hf_round */
21490 :
21491 0 : case E_V8HFmode:
21492 0 : if (pattern1173 (x2,
21493 : E_V8HFmode) != 0
21494 0 : || !insn_condition_1000 (operands, insn))
21495 0 : return -1;
21496 : return 9616; /* avx10_2_minmaxpv8hf_round */
21497 :
21498 0 : case E_V16SFmode:
21499 0 : if (pattern1173 (x2,
21500 : E_V16SFmode) != 0
21501 0 : || !insn_condition_83 (operands, insn))
21502 0 : return -1;
21503 : return 9620; /* avx10_2_minmaxpv16sf_round */
21504 :
21505 0 : case E_V8SFmode:
21506 0 : if (pattern1173 (x2,
21507 : E_V8SFmode) != 0
21508 0 : || !insn_condition_1001 (operands, insn))
21509 0 : return -1;
21510 : return 9624; /* avx10_2_minmaxpv8sf_round */
21511 :
21512 0 : case E_V4SFmode:
21513 0 : if (pattern1173 (x2,
21514 : E_V4SFmode) != 0
21515 0 : || !insn_condition_1001 (operands, insn))
21516 0 : return -1;
21517 : return 9628; /* avx10_2_minmaxpv4sf_round */
21518 :
21519 0 : case E_V8DFmode:
21520 0 : if (pattern1173 (x2,
21521 : E_V8DFmode) != 0
21522 0 : || !insn_condition_83 (operands, insn))
21523 0 : return -1;
21524 : return 9632; /* avx10_2_minmaxpv8df_round */
21525 :
21526 0 : case E_V4DFmode:
21527 0 : if (pattern1173 (x2,
21528 : E_V4DFmode) != 0
21529 0 : || !insn_condition_1001 (operands, insn))
21530 0 : return -1;
21531 : return 9636; /* avx10_2_minmaxpv4df_round */
21532 :
21533 0 : case E_V2DFmode:
21534 0 : if (pattern1173 (x2,
21535 : E_V2DFmode) != 0
21536 0 : || !insn_condition_1001 (operands, insn))
21537 0 : return -1;
21538 : return 9640; /* avx10_2_minmaxpv2df_round */
21539 :
21540 : default:
21541 : return -1;
21542 : }
21543 :
21544 : default:
21545 : return -1;
21546 : }
21547 :
21548 3250 : case 1:
21549 3250 : return recog_249 (x1, insn, pnum_clobbers);
21550 :
21551 187 : case 4:
21552 187 : if (XINT (x3, 1) != 162)
21553 : return -1;
21554 187 : x4 = XVECEXP (x3, 0, 0);
21555 187 : operands[1] = x4;
21556 187 : x5 = XVECEXP (x3, 0, 1);
21557 187 : operands[2] = x5;
21558 187 : x7 = XVECEXP (x3, 0, 2);
21559 187 : operands[3] = x7;
21560 187 : x9 = XVECEXP (x3, 0, 3);
21561 187 : operands[4] = x9;
21562 187 : if (!const_0_to_255_operand (operands[4], E_SImode))
21563 : return -1;
21564 187 : x6 = XVECEXP (x2, 0, 1);
21565 187 : operands[5] = x6;
21566 187 : if (!const48_operand (operands[5], E_SImode))
21567 : return -1;
21568 187 : switch (GET_MODE (operands[0]))
21569 : {
21570 82 : case E_V16SFmode:
21571 82 : if (pattern1563 (x2,
21572 : E_V16SImode,
21573 : E_V16SFmode) != 0
21574 82 : || !insn_condition_27 (operands, insn))
21575 5 : return -1;
21576 : return 5769; /* avx512f_fixupimmv16sf_round */
21577 :
21578 0 : case E_V8SFmode:
21579 0 : if (pattern1563 (x2,
21580 : E_V8SImode,
21581 : E_V8SFmode) != 0
21582 0 : || !insn_condition_341 (operands, insn))
21583 0 : return -1;
21584 : return 5773; /* avx512vl_fixupimmv8sf_round */
21585 :
21586 0 : case E_V4SFmode:
21587 0 : if (pattern1563 (x2,
21588 : E_V4SImode,
21589 : E_V4SFmode) != 0
21590 0 : || !insn_condition_341 (operands, insn))
21591 0 : return -1;
21592 : return 5777; /* avx512vl_fixupimmv4sf_round */
21593 :
21594 105 : case E_V8DFmode:
21595 105 : if (pattern1563 (x2,
21596 : E_V8DImode,
21597 : E_V8DFmode) != 0
21598 105 : || !insn_condition_27 (operands, insn))
21599 5 : return -1;
21600 : return 5781; /* avx512f_fixupimmv8df_round */
21601 :
21602 0 : case E_V4DFmode:
21603 0 : if (pattern1563 (x2,
21604 : E_V4DImode,
21605 : E_V4DFmode) != 0
21606 0 : || !insn_condition_341 (operands, insn))
21607 0 : return -1;
21608 : return 5785; /* avx512vl_fixupimmv4df_round */
21609 :
21610 0 : case E_V2DFmode:
21611 0 : if (pattern1563 (x2,
21612 : E_V2DImode,
21613 : E_V2DFmode) != 0
21614 0 : || !insn_condition_341 (operands, insn))
21615 0 : return -1;
21616 : return 5789; /* avx512vl_fixupimmv2df_round */
21617 :
21618 : default:
21619 : return -1;
21620 : }
21621 :
21622 : default:
21623 : return -1;
21624 : }
21625 : }
21626 :
21627 : int
21628 716 : recog_261 (rtx x1 ATTRIBUTE_UNUSED,
21629 : rtx_insn *insn ATTRIBUTE_UNUSED,
21630 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21631 : {
21632 716 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21633 716 : rtx x2, x3, x4, x5;
21634 716 : int res ATTRIBUTE_UNUSED;
21635 716 : x2 = XEXP (x1, 0);
21636 716 : operands[0] = x2;
21637 716 : x3 = XEXP (x1, 1);
21638 716 : x4 = XVECEXP (x3, 0, 0);
21639 716 : operands[1] = x4;
21640 716 : x5 = XVECEXP (x3, 0, 1);
21641 716 : operands[2] = x5;
21642 716 : switch (GET_MODE (operands[0]))
21643 : {
21644 52 : case E_V32HFmode:
21645 52 : if (pattern84 (x3,
21646 : E_V32HFmode) != 0
21647 52 : || !insn_condition_26 (operands, insn))
21648 25 : return -1;
21649 : return 5598; /* avx512bw_scalefv32hf */
21650 :
21651 72 : case E_V16HFmode:
21652 72 : if (pattern84 (x3,
21653 : E_V16HFmode) != 0
21654 72 : || !insn_condition_972 (operands, insn))
21655 13 : return -1;
21656 : return 5602; /* avx512vl_scalefv16hf */
21657 :
21658 72 : case E_V8HFmode:
21659 72 : if (pattern84 (x3,
21660 : E_V8HFmode) != 0
21661 72 : || !insn_condition_972 (operands, insn))
21662 13 : return -1;
21663 : return 5606; /* avx512fp16_scalefv8hf */
21664 :
21665 22 : case E_V16SFmode:
21666 22 : if (pattern84 (x3,
21667 : E_V16SFmode) != 0
21668 22 : || !insn_condition_27 (operands, insn))
21669 9 : return -1;
21670 : return 5610; /* avx512f_scalefv16sf */
21671 :
21672 70 : case E_V8SFmode:
21673 70 : if (pattern84 (x3,
21674 : E_V8SFmode) != 0
21675 70 : || !insn_condition_100 (operands, insn))
21676 9 : return -1;
21677 : return 5614; /* avx512vl_scalefv8sf */
21678 :
21679 232 : case E_V4SFmode:
21680 232 : if (pattern84 (x3,
21681 : E_V4SFmode) != 0
21682 232 : || !insn_condition_100 (operands, insn))
21683 171 : return -1;
21684 : return 5618; /* avx512vl_scalefv4sf */
21685 :
21686 28 : case E_V8DFmode:
21687 28 : if (pattern84 (x3,
21688 : E_V8DFmode) != 0
21689 28 : || !insn_condition_27 (operands, insn))
21690 13 : return -1;
21691 : return 5622; /* avx512f_scalefv8df */
21692 :
21693 76 : case E_V4DFmode:
21694 76 : if (pattern84 (x3,
21695 : E_V4DFmode) != 0
21696 76 : || !insn_condition_100 (operands, insn))
21697 13 : return -1;
21698 : return 5626; /* avx512vl_scalefv4df */
21699 :
21700 71 : case E_V2DFmode:
21701 71 : if (pattern84 (x3,
21702 : E_V2DFmode) != 0
21703 71 : || !insn_condition_100 (operands, insn))
21704 8 : return -1;
21705 : return 5630; /* avx512vl_scalefv2df */
21706 :
21707 : default:
21708 : return -1;
21709 : }
21710 : }
21711 :
21712 : int
21713 737 : recog_265 (rtx x1 ATTRIBUTE_UNUSED,
21714 : rtx_insn *insn ATTRIBUTE_UNUSED,
21715 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21716 : {
21717 737 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21718 737 : rtx x2, x3, x4, x5;
21719 737 : int res ATTRIBUTE_UNUSED;
21720 737 : x2 = XEXP (x1, 0);
21721 737 : operands[0] = x2;
21722 737 : x3 = XEXP (x1, 1);
21723 737 : x4 = XVECEXP (x3, 0, 0);
21724 737 : operands[1] = x4;
21725 737 : x5 = XVECEXP (x3, 0, 1);
21726 737 : operands[2] = x5;
21727 737 : switch (GET_MODE (operands[0]))
21728 : {
21729 97 : case E_V32QImode:
21730 97 : if (pattern192 (x3,
21731 : E_V32QImode) != 0
21732 97 : || !insn_condition_1540 (operands, insn))
21733 10 : return -1;
21734 : return 7297; /* avx2_psignv32qi3 */
21735 :
21736 118 : case E_V16QImode:
21737 118 : if (pattern192 (x3,
21738 : E_V16QImode) != 0
21739 118 : || !insn_condition_117 (operands, insn))
21740 10 : return -1;
21741 : return 7298; /* ssse3_psignv16qi3 */
21742 :
21743 101 : case E_V16HImode:
21744 101 : if (pattern192 (x3,
21745 : E_V16HImode) != 0
21746 101 : || !insn_condition_1540 (operands, insn))
21747 13 : return -1;
21748 : return 7299; /* avx2_psignv16hi3 */
21749 :
21750 116 : case E_V8HImode:
21751 116 : if (pattern192 (x3,
21752 : E_V8HImode) != 0
21753 116 : || !insn_condition_117 (operands, insn))
21754 8 : return -1;
21755 : return 7300; /* ssse3_psignv8hi3 */
21756 :
21757 102 : case E_V8SImode:
21758 102 : if (pattern192 (x3,
21759 : E_V8SImode) != 0
21760 102 : || !insn_condition_1540 (operands, insn))
21761 11 : return -1;
21762 : return 7301; /* avx2_psignv8si3 */
21763 :
21764 119 : case E_V4SImode:
21765 119 : if (pattern192 (x3,
21766 : E_V4SImode) != 0
21767 119 : || !insn_condition_117 (operands, insn))
21768 13 : return -1;
21769 : return 7302; /* ssse3_psignv4si3 */
21770 :
21771 : default:
21772 : return -1;
21773 : }
21774 : }
21775 :
21776 : int
21777 39614 : recog_270 (rtx x1 ATTRIBUTE_UNUSED,
21778 : rtx_insn *insn ATTRIBUTE_UNUSED,
21779 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21780 : {
21781 39614 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21782 39614 : rtx x2, x3, x4, x5, x6, x7, x8;
21783 39614 : int res ATTRIBUTE_UNUSED;
21784 39614 : x2 = XEXP (x1, 0);
21785 39614 : operands[0] = x2;
21786 39614 : x3 = XEXP (x1, 1);
21787 39614 : x4 = XVECEXP (x3, 0, 2);
21788 39614 : switch (GET_CODE (x4))
21789 : {
21790 1730 : case LT:
21791 1730 : x5 = XVECEXP (x3, 0, 0);
21792 1730 : operands[1] = x5;
21793 1730 : switch (pattern696 (x3))
21794 : {
21795 168 : case 0:
21796 168 : if (insn_condition_1552 (operands, insn))
21797 : return 3214; /* *minmaxv8sf3_2 */
21798 : break;
21799 :
21800 547 : case 1:
21801 547 : if (insn_condition_1553 (operands, insn))
21802 : return 3215; /* *minmaxv4sf3_2 */
21803 : break;
21804 :
21805 119 : case 2:
21806 119 : if (insn_condition_1552 (operands, insn))
21807 : return 3216; /* *minmaxv4df3_2 */
21808 : break;
21809 :
21810 100 : case 3:
21811 100 : if (insn_condition_1554 (operands, insn))
21812 : return 3217; /* *minmaxv2df3_2 */
21813 : break;
21814 :
21815 21 : case 4:
21816 21 : if (insn_condition_1109 (operands, insn))
21817 : return 7355; /* *avx_blendvps256_lt */
21818 : break;
21819 :
21820 32 : case 5:
21821 32 : if (insn_condition_92 (operands, insn))
21822 : return 7356; /* *sse4_1_blendvps_lt */
21823 : break;
21824 :
21825 19 : case 6:
21826 19 : if (insn_condition_1109 (operands, insn))
21827 : return 7357; /* *avx_blendvpd256_lt */
21828 : break;
21829 :
21830 25 : case 7:
21831 25 : if (insn_condition_990 (operands, insn))
21832 : return 7358; /* *sse4_1_blendvpd_lt */
21833 : break;
21834 :
21835 19 : case 8:
21836 19 : if (insn_condition_1555 (operands, insn))
21837 : return 7402; /* *avx2_pblendvb_lt */
21838 : break;
21839 :
21840 70 : case 9:
21841 70 : if (insn_condition_92 (operands, insn))
21842 : return 7403; /* *sse4_1_pblendvb_lt */
21843 : break;
21844 :
21845 : default:
21846 : break;
21847 : }
21848 825 : x6 = XEXP (x4, 0);
21849 825 : if (GET_CODE (x6) != SUBREG)
21850 : return -1;
21851 85 : switch (pattern698 (x3))
21852 : {
21853 2 : case 0:
21854 2 : if (!insn_condition_1556 (operands, insn))
21855 0 : return -1;
21856 : return 7406; /* *avx2_pblendvb_lt_subreg_not */
21857 :
21858 2 : case 1:
21859 2 : if (!insn_condition_1557 (operands, insn))
21860 0 : return -1;
21861 : return 7407; /* *sse4_1_pblendvb_lt_subreg_not */
21862 :
21863 : default:
21864 : return -1;
21865 : }
21866 :
21867 33011 : case REG:
21868 33011 : case SUBREG:
21869 33011 : operands[3] = x4;
21870 33011 : x5 = XVECEXP (x3, 0, 0);
21871 33011 : operands[1] = x5;
21872 33011 : x7 = XVECEXP (x3, 0, 1);
21873 33011 : operands[2] = x7;
21874 33011 : switch (GET_MODE (operands[0]))
21875 : {
21876 1284 : case E_V8SFmode:
21877 1284 : if (pattern1072 (x3,
21878 : E_V8SFmode) == 0
21879 1284 : && insn_condition_1109 (operands, insn))
21880 : return 7349; /* avx_blendvps256 */
21881 : break;
21882 :
21883 2908 : case E_V4SFmode:
21884 2908 : if (pattern1072 (x3,
21885 : E_V4SFmode) == 0
21886 2908 : && insn_condition_92 (operands, insn))
21887 : return 7350; /* sse4_1_blendvps */
21888 : break;
21889 :
21890 2780 : case E_V4DFmode:
21891 2780 : if (pattern1072 (x3,
21892 : E_V4DFmode) == 0
21893 2780 : && insn_condition_1109 (operands, insn))
21894 : return 7351; /* avx_blendvpd256 */
21895 : break;
21896 :
21897 949 : case E_V2DFmode:
21898 949 : if (pattern1072 (x3,
21899 : E_V2DFmode) == 0
21900 949 : && insn_condition_990 (operands, insn))
21901 : return 7352; /* sse4_1_blendvpd */
21902 : break;
21903 :
21904 : default:
21905 : break;
21906 : }
21907 27833 : operands[1] = x5;
21908 27833 : operands[2] = x7;
21909 27833 : if (GET_CODE (x4) == SUBREG
21910 27833 : && known_eq (SUBREG_BYTE (x4), 0))
21911 : {
21912 20017 : x6 = XEXP (x4, 0);
21913 20017 : switch (GET_CODE (x6))
21914 : {
21915 317 : case LT:
21916 317 : x8 = XEXP (x6, 0);
21917 317 : operands[3] = x8;
21918 317 : switch (pattern1262 (x3))
21919 : {
21920 61 : case 0:
21921 61 : if (insn_condition_92 (operands, insn))
21922 : return 7363; /* *sse4_1_blendvps_ltint */
21923 : break;
21924 :
21925 34 : case 1:
21926 34 : if (insn_condition_92 (operands, insn))
21927 : return 7364; /* *sse4_1_blendvpd_ltint */
21928 : break;
21929 :
21930 17 : case 2:
21931 17 : if (insn_condition_1109 (operands, insn))
21932 : return 7365; /* *avx_blendvps256_ltint */
21933 : break;
21934 :
21935 18 : case 3:
21936 18 : if (insn_condition_1109 (operands, insn))
21937 : return 7366; /* *avx_blendvpd256_ltint */
21938 : break;
21939 :
21940 : default:
21941 : break;
21942 : }
21943 187 : if (GET_CODE (x8) == SUBREG)
21944 : {
21945 24 : switch (pattern1263 (x3))
21946 : {
21947 12 : case 0:
21948 12 : if (insn_condition_1558 (operands, insn))
21949 : return 7371; /* *sse4_1_blendvps_not_ltint */
21950 : break;
21951 :
21952 0 : case 1:
21953 0 : if (insn_condition_1558 (operands, insn))
21954 : return 7372; /* *sse4_1_blendvpd_not_ltint */
21955 : break;
21956 :
21957 0 : case 2:
21958 0 : if (insn_condition_1559 (operands, insn))
21959 : return 7373; /* *avx_blendvps256_not_ltint */
21960 : break;
21961 :
21962 0 : case 3:
21963 0 : if (insn_condition_1559 (operands, insn))
21964 : return 7374; /* *avx_blendvpd256_not_ltint */
21965 : break;
21966 :
21967 : default:
21968 : break;
21969 : }
21970 : }
21971 : break;
21972 :
21973 1199 : case GT:
21974 1199 : x8 = XEXP (x6, 0);
21975 1199 : operands[3] = x8;
21976 1199 : switch (pattern1264 (x3))
21977 : {
21978 0 : case 0:
21979 0 : if (insn_condition_92 (operands, insn))
21980 : return 7367; /* *sse4_1_blendvps_gtint */
21981 : break;
21982 :
21983 0 : case 1:
21984 0 : if (insn_condition_92 (operands, insn))
21985 : return 7368; /* *sse4_1_blendvpd_gtint */
21986 : break;
21987 :
21988 0 : case 2:
21989 0 : if (insn_condition_1109 (operands, insn))
21990 : return 7369; /* *avx_blendvps256_gtint */
21991 : break;
21992 :
21993 0 : case 3:
21994 0 : if (insn_condition_1109 (operands, insn))
21995 : return 7370; /* *avx_blendvpd256_gtint */
21996 : break;
21997 :
21998 : default:
21999 : break;
22000 : }
22001 1199 : if (GET_CODE (x8) == SUBREG)
22002 : {
22003 20 : switch (pattern1265 (x3))
22004 : {
22005 0 : case 0:
22006 0 : if (insn_condition_1558 (operands, insn))
22007 : return 7375; /* *sse4_1_blendvps_not_gtint */
22008 : break;
22009 :
22010 0 : case 1:
22011 0 : if (insn_condition_1558 (operands, insn))
22012 : return 7376; /* *sse4_1_blendvpd_not_gtint */
22013 : break;
22014 :
22015 0 : case 2:
22016 0 : if (insn_condition_1559 (operands, insn))
22017 : return 7377; /* *avx_blendvps256_not_gtint */
22018 : break;
22019 :
22020 0 : case 3:
22021 0 : if (insn_condition_1559 (operands, insn))
22022 : return 7378; /* *avx_blendvpd256_not_gtint */
22023 : break;
22024 :
22025 : default:
22026 : break;
22027 : }
22028 : }
22029 : break;
22030 :
22031 : default:
22032 : break;
22033 : }
22034 : }
22035 27691 : operands[3] = x4;
22036 27691 : switch (GET_MODE (operands[0]))
22037 : {
22038 6908 : case E_V32QImode:
22039 6908 : if (pattern1072 (x3,
22040 : E_V32QImode) != 0
22041 6908 : || !insn_condition_1555 (operands, insn))
22042 3250 : return -1;
22043 : return 7400; /* avx2_pblendvb */
22044 :
22045 14407 : case E_V16QImode:
22046 14407 : if (pattern1072 (x3,
22047 : E_V16QImode) != 0
22048 14407 : || !insn_condition_92 (operands, insn))
22049 7786 : return -1;
22050 : return 7401; /* sse4_1_pblendvb */
22051 :
22052 : default:
22053 : return -1;
22054 : }
22055 :
22056 720 : case GT:
22057 720 : x5 = XVECEXP (x3, 0, 0);
22058 720 : operands[1] = x5;
22059 720 : switch (pattern701 (x3))
22060 : {
22061 0 : case 0:
22062 0 : if (insn_condition_1109 (operands, insn))
22063 : return 7359; /* *avx_blendvps256_gt */
22064 : break;
22065 :
22066 0 : case 1:
22067 0 : if (insn_condition_92 (operands, insn))
22068 : return 7360; /* *sse4_1_blendvps_gt */
22069 : break;
22070 :
22071 0 : case 2:
22072 0 : if (insn_condition_1109 (operands, insn))
22073 : return 7361; /* *avx_blendvpd256_gt */
22074 : break;
22075 :
22076 0 : case 3:
22077 0 : if (insn_condition_990 (operands, insn))
22078 : return 7362; /* *sse4_1_blendvpd_gt */
22079 : break;
22080 :
22081 0 : case 4:
22082 0 : if (insn_condition_1555 (operands, insn))
22083 : return 7404; /* *avx2_pblendvb_gt */
22084 : break;
22085 :
22086 0 : case 5:
22087 0 : if (insn_condition_92 (operands, insn))
22088 : return 7405; /* *sse4_1_pblendvb_gt */
22089 : break;
22090 :
22091 : default:
22092 : break;
22093 : }
22094 720 : x6 = XEXP (x4, 0);
22095 720 : if (GET_CODE (x6) != SUBREG)
22096 : return -1;
22097 38 : switch (pattern703 (x3))
22098 : {
22099 0 : case 0:
22100 0 : if (!insn_condition_1556 (operands, insn))
22101 0 : return -1;
22102 : return 7408; /* *avx2_pblendvb_gt_subreg_not */
22103 :
22104 0 : case 1:
22105 0 : if (!insn_condition_1557 (operands, insn))
22106 0 : return -1;
22107 : return 7409; /* *sse4_1_pblendvb_gt_subreg_not */
22108 :
22109 : default:
22110 : return -1;
22111 : }
22112 :
22113 : default:
22114 : return -1;
22115 : }
22116 : }
22117 :
22118 : int
22119 364 : recog_276 (rtx x1 ATTRIBUTE_UNUSED,
22120 : rtx_insn *insn ATTRIBUTE_UNUSED,
22121 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22122 : {
22123 364 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22124 364 : rtx x2, x3, x4, x5, x6;
22125 364 : int res ATTRIBUTE_UNUSED;
22126 364 : x2 = XEXP (x1, 0);
22127 364 : operands[0] = x2;
22128 364 : x3 = XEXP (x1, 1);
22129 364 : x4 = XVECEXP (x3, 0, 0);
22130 364 : operands[1] = x4;
22131 364 : x5 = XVECEXP (x3, 0, 1);
22132 364 : operands[2] = x5;
22133 364 : x6 = XVECEXP (x3, 0, 2);
22134 364 : operands[3] = x6;
22135 364 : if (!const_0_to_15_operand (operands[3], E_SImode))
22136 : return -1;
22137 364 : switch (GET_MODE (operands[0]))
22138 : {
22139 28 : case E_V16SFmode:
22140 28 : if (pattern192 (x3,
22141 : E_V16SFmode) != 0
22142 28 : || !insn_condition_1339 (operands, insn))
22143 9 : return -1;
22144 : return 8653; /* avx512dq_rangepv16sf */
22145 :
22146 75 : case E_V8SFmode:
22147 75 : if (pattern192 (x3,
22148 : E_V8SFmode) != 0
22149 75 : || !insn_condition_1342 (operands, insn))
22150 9 : return -1;
22151 : return 8657; /* avx512dq_rangepv8sf */
22152 :
22153 73 : case E_V4SFmode:
22154 73 : if (pattern192 (x3,
22155 : E_V4SFmode) != 0
22156 73 : || !insn_condition_1342 (operands, insn))
22157 7 : return -1;
22158 : return 8659; /* avx512dq_rangepv4sf */
22159 :
22160 34 : case E_V8DFmode:
22161 34 : if (pattern192 (x3,
22162 : E_V8DFmode) != 0
22163 34 : || !insn_condition_1339 (operands, insn))
22164 13 : return -1;
22165 : return 8661; /* avx512dq_rangepv8df */
22166 :
22167 81 : case E_V4DFmode:
22168 81 : if (pattern192 (x3,
22169 : E_V4DFmode) != 0
22170 81 : || !insn_condition_1342 (operands, insn))
22171 13 : return -1;
22172 : return 8665; /* avx512dq_rangepv4df */
22173 :
22174 73 : case E_V2DFmode:
22175 73 : if (pattern192 (x3,
22176 : E_V2DFmode) != 0
22177 73 : || !insn_condition_1342 (operands, insn))
22178 7 : return -1;
22179 : return 8667; /* avx512dq_rangepv2df */
22180 :
22181 : default:
22182 : return -1;
22183 : }
22184 : }
22185 :
22186 : int
22187 429 : recog_277 (rtx x1 ATTRIBUTE_UNUSED,
22188 : rtx_insn *insn ATTRIBUTE_UNUSED,
22189 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22190 : {
22191 429 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22192 429 : rtx x2, x3, x4, x5, x6;
22193 429 : int res ATTRIBUTE_UNUSED;
22194 429 : x2 = XEXP (x1, 0);
22195 429 : operands[0] = x2;
22196 429 : x3 = XEXP (x1, 1);
22197 429 : x4 = XVECEXP (x3, 0, 0);
22198 429 : operands[1] = x4;
22199 429 : x5 = XVECEXP (x3, 0, 1);
22200 429 : operands[2] = x5;
22201 429 : x6 = XVECEXP (x3, 0, 2);
22202 429 : operands[3] = x6;
22203 429 : if (!const_0_to_255_operand (operands[3], E_SImode))
22204 : return -1;
22205 429 : switch (GET_MODE (operands[0]))
22206 : {
22207 70 : case E_V16SImode:
22208 70 : if (pattern84 (x3,
22209 : E_V16SImode) != 0
22210 70 : || !insn_condition_27 (operands, insn))
22211 8 : return -1;
22212 : return 5748; /* *avx512f_alignv16si */
22213 :
22214 70 : case E_V8SImode:
22215 70 : if (pattern84 (x3,
22216 : E_V8SImode) != 0
22217 70 : || !insn_condition_100 (operands, insn))
22218 8 : return -1;
22219 : return 5750; /* *avx512vl_alignv8si */
22220 :
22221 67 : case E_V4SImode:
22222 67 : if (pattern84 (x3,
22223 : E_V4SImode) != 0
22224 67 : || !insn_condition_100 (operands, insn))
22225 6 : return -1;
22226 : return 5752; /* *avx512vl_alignv4si */
22227 :
22228 75 : case E_V8DImode:
22229 75 : if (pattern84 (x3,
22230 : E_V8DImode) != 0
22231 75 : || !insn_condition_27 (operands, insn))
22232 13 : return -1;
22233 : return 5754; /* *avx512f_alignv8di */
22234 :
22235 75 : case E_V4DImode:
22236 75 : if (pattern84 (x3,
22237 : E_V4DImode) != 0
22238 75 : || !insn_condition_100 (operands, insn))
22239 13 : return -1;
22240 : return 5756; /* *avx512vl_alignv4di */
22241 :
22242 72 : case E_V2DImode:
22243 72 : if (pattern84 (x3,
22244 : E_V2DImode) != 0
22245 72 : || !insn_condition_100 (operands, insn))
22246 11 : return -1;
22247 : return 5758; /* *avx512vl_alignv2di */
22248 :
22249 : default:
22250 : return -1;
22251 : }
22252 : }
22253 :
22254 : int
22255 888 : recog_282 (rtx x1 ATTRIBUTE_UNUSED,
22256 : rtx_insn *insn ATTRIBUTE_UNUSED,
22257 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22258 : {
22259 888 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22260 888 : rtx x2, x3, x4, x5, x6;
22261 888 : int res ATTRIBUTE_UNUSED;
22262 888 : x2 = XEXP (x1, 0);
22263 888 : operands[0] = x2;
22264 888 : x3 = XEXP (x1, 1);
22265 888 : x4 = XVECEXP (x3, 0, 0);
22266 888 : operands[1] = x4;
22267 888 : x5 = XVECEXP (x3, 0, 1);
22268 888 : operands[2] = x5;
22269 888 : x6 = XVECEXP (x3, 0, 2);
22270 888 : operands[3] = x6;
22271 888 : if (!const_int_operand (operands[3], E_SImode))
22272 : return -1;
22273 888 : switch (GET_MODE (operands[0]))
22274 : {
22275 232 : case E_V16QImode:
22276 232 : if (pattern84 (x3,
22277 : E_V16QImode) != 0
22278 232 : || !insn_condition_24 (operands, insn))
22279 0 : return -1;
22280 : return 7749; /* xop_pcom_tfv16qi3 */
22281 :
22282 232 : case E_V8HImode:
22283 232 : if (pattern84 (x3,
22284 : E_V8HImode) != 0
22285 232 : || !insn_condition_24 (operands, insn))
22286 0 : return -1;
22287 : return 7750; /* xop_pcom_tfv8hi3 */
22288 :
22289 232 : case E_V4SImode:
22290 232 : if (pattern84 (x3,
22291 : E_V4SImode) != 0
22292 232 : || !insn_condition_24 (operands, insn))
22293 0 : return -1;
22294 : return 7751; /* xop_pcom_tfv4si3 */
22295 :
22296 192 : case E_V2DImode:
22297 192 : if (pattern84 (x3,
22298 : E_V2DImode) != 0
22299 192 : || !insn_condition_24 (operands, insn))
22300 0 : return -1;
22301 : return 7752; /* xop_pcom_tfv2di3 */
22302 :
22303 : default:
22304 : return -1;
22305 : }
22306 : }
22307 :
22308 : int
22309 58892 : recog_287 (rtx x1 ATTRIBUTE_UNUSED,
22310 : rtx_insn *insn ATTRIBUTE_UNUSED,
22311 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22312 : {
22313 58892 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22314 58892 : rtx x2, x3, x4, x5, x6;
22315 58892 : int res ATTRIBUTE_UNUSED;
22316 58892 : x2 = XEXP (x1, 0);
22317 58892 : operands[0] = x2;
22318 58892 : x3 = XEXP (x1, 1);
22319 58892 : x4 = XVECEXP (x3, 0, 0);
22320 58892 : operands[1] = x4;
22321 58892 : x5 = XVECEXP (x3, 0, 1);
22322 58892 : operands[2] = x5;
22323 58892 : x6 = XVECEXP (x3, 0, 2);
22324 58892 : operands[3] = x6;
22325 58892 : if (!cmpps_imm_operand (operands[3], E_SImode))
22326 : return -1;
22327 58892 : switch (GET_MODE (operands[0]))
22328 : {
22329 634 : case E_V8SFmode:
22330 634 : if (pattern84 (x3,
22331 : E_V8SFmode) != 0
22332 634 : || !insn_condition_887 (operands, insn))
22333 198 : return -1;
22334 : return 3390; /* avx_cmpv8sf3 */
22335 :
22336 692 : case E_V4SFmode:
22337 692 : if (pattern84 (x3,
22338 : E_V4SFmode) != 0
22339 692 : || !insn_condition_148 (operands, insn))
22340 177 : return -1;
22341 : return 3391; /* avx_cmpv4sf3 */
22342 :
22343 767 : case E_V4DFmode:
22344 767 : if (pattern84 (x3,
22345 : E_V4DFmode) != 0
22346 767 : || !insn_condition_887 (operands, insn))
22347 260 : return -1;
22348 : return 3392; /* avx_cmpv4df3 */
22349 :
22350 750 : case E_V2DFmode:
22351 750 : if (pattern84 (x3,
22352 : E_V2DFmode) != 0
22353 750 : || !insn_condition_236 (operands, insn))
22354 170 : return -1;
22355 : return 3393; /* avx_cmpv2df3 */
22356 :
22357 : default:
22358 : return -1;
22359 : }
22360 : }
22361 :
22362 : int
22363 8873 : recog_291 (rtx x1 ATTRIBUTE_UNUSED,
22364 : rtx_insn *insn ATTRIBUTE_UNUSED,
22365 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22366 : {
22367 8873 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22368 8873 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
22369 8873 : rtx x10, x11, x12, x13, x14, x15, x16;
22370 8873 : int res ATTRIBUTE_UNUSED;
22371 8873 : x2 = XEXP (x1, 1);
22372 8873 : x3 = XEXP (x2, 0);
22373 8873 : x4 = XEXP (x3, 0);
22374 8873 : switch (XVECLEN (x4, 0))
22375 : {
22376 5295 : case 1:
22377 5295 : x5 = XVECEXP (x4, 0, 0);
22378 5295 : operands[1] = x5;
22379 5295 : switch (XINT (x4, 1))
22380 : {
22381 218 : case 43:
22382 218 : switch (pattern959 (x2))
22383 : {
22384 132 : case 0:
22385 132 : if (!insn_condition_532 (operands, insn))
22386 0 : return -1;
22387 : return 5194; /* sse2_cvtpd2dq_mask */
22388 :
22389 60 : case 1:
22390 60 : if (!insn_condition_532 (operands, insn))
22391 0 : return -1;
22392 : return 5195; /* *sse2_cvtpd2dq_mask_1 */
22393 :
22394 : default:
22395 : return -1;
22396 : }
22397 :
22398 246 : case 155:
22399 246 : switch (pattern959 (x2))
22400 : {
22401 160 : case 0:
22402 160 : if (!insn_condition_532 (operands, insn))
22403 0 : return -1;
22404 : return 5205; /* fixuns_notruncv2dfv2si2_mask */
22405 :
22406 60 : case 1:
22407 60 : if (!insn_condition_532 (operands, insn))
22408 0 : return -1;
22409 : return 5206; /* *fixuns_notruncv2dfv2si2_mask_1 */
22410 :
22411 : default:
22412 : return -1;
22413 : }
22414 :
22415 289 : case 172:
22416 289 : if (GET_MODE (x4) != E_V2SImode)
22417 : return -1;
22418 289 : x6 = XEXP (x3, 1);
22419 289 : if (GET_CODE (x6) != VEC_SELECT
22420 233 : || GET_MODE (x6) != E_V2SImode)
22421 : return -1;
22422 233 : x7 = XEXP (x6, 1);
22423 233 : if (GET_CODE (x7) != PARALLEL
22424 233 : || XVECLEN (x7, 0) != 2)
22425 : return -1;
22426 233 : x8 = XVECEXP (x7, 0, 0);
22427 233 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
22428 : return -1;
22429 233 : x9 = XVECEXP (x7, 0, 1);
22430 233 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
22431 : return -1;
22432 233 : x10 = XEXP (x2, 1);
22433 233 : if (GET_CODE (x10) != CONST_VECTOR
22434 233 : || XVECLEN (x10, 0) != 2
22435 233 : || GET_MODE (x10) != E_V2SImode)
22436 : return -1;
22437 233 : x11 = XVECEXP (x10, 0, 0);
22438 233 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
22439 : return -1;
22440 233 : x12 = XVECEXP (x10, 0, 1);
22441 233 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
22442 233 : || !register_operand (operands[0], E_V4SImode)
22443 233 : || GET_MODE (x2) != E_V4SImode
22444 233 : || GET_MODE (x3) != E_V2SImode
22445 466 : || !nonimmediate_operand (operands[1], E_V2DFmode))
22446 : return -1;
22447 217 : x13 = XEXP (x6, 0);
22448 217 : operands[2] = x13;
22449 217 : if (!nonimm_or_0_operand (operands[2], E_V4SImode))
22450 : return -1;
22451 213 : x14 = XEXP (x3, 2);
22452 213 : operands[3] = x14;
22453 213 : if (!insn_condition_532 (operands, insn))
22454 0 : return -1;
22455 : return 5225; /* unspec_fixuns_truncv2dfv2si2_mask */
22456 :
22457 301 : case 252:
22458 301 : if (pattern960 (x2) != 0
22459 301 : || !insn_condition_1072 (operands, insn))
22460 70 : return -1;
22461 : return 9192; /* *vcvtph2bf8v8hf_mask */
22462 :
22463 301 : case 253:
22464 301 : if (pattern960 (x2) != 0
22465 301 : || !insn_condition_1072 (operands, insn))
22466 70 : return -1;
22467 : return 9193; /* *vcvtph2bf8sv8hf_mask */
22468 :
22469 314 : case 254:
22470 314 : if (pattern960 (x2) != 0
22471 314 : || !insn_condition_1072 (operands, insn))
22472 75 : return -1;
22473 : return 9194; /* *vcvtph2hf8v8hf_mask */
22474 :
22475 314 : case 255:
22476 314 : if (pattern960 (x2) != 0
22477 314 : || !insn_condition_1072 (operands, insn))
22478 75 : return -1;
22479 : return 9195; /* *vcvtph2hf8sv8hf_mask */
22480 :
22481 480 : case 282:
22482 480 : switch (pattern961 (x2))
22483 : {
22484 190 : case 0:
22485 190 : if (!insn_condition_156 (operands, insn))
22486 0 : return -1;
22487 : return 9701; /* *vcvtps2bf8v4sf_mask */
22488 :
22489 190 : case 1:
22490 190 : if (!insn_condition_156 (operands, insn))
22491 0 : return -1;
22492 : return 9707; /* *vcvtps2bf8v8sf_mask */
22493 :
22494 : default:
22495 : return -1;
22496 : }
22497 :
22498 480 : case 283:
22499 480 : switch (pattern961 (x2))
22500 : {
22501 190 : case 0:
22502 190 : if (!insn_condition_156 (operands, insn))
22503 0 : return -1;
22504 : return 9702; /* *vcvtps2bf8sv4sf_mask */
22505 :
22506 190 : case 1:
22507 190 : if (!insn_condition_156 (operands, insn))
22508 0 : return -1;
22509 : return 9708; /* *vcvtps2bf8sv8sf_mask */
22510 :
22511 : default:
22512 : return -1;
22513 : }
22514 :
22515 480 : case 284:
22516 480 : switch (pattern961 (x2))
22517 : {
22518 190 : case 0:
22519 190 : if (!insn_condition_156 (operands, insn))
22520 0 : return -1;
22521 : return 9703; /* *vcvtps2hf8v4sf_mask */
22522 :
22523 190 : case 1:
22524 190 : if (!insn_condition_156 (operands, insn))
22525 0 : return -1;
22526 : return 9709; /* *vcvtps2hf8v8sf_mask */
22527 :
22528 : default:
22529 : return -1;
22530 : }
22531 :
22532 480 : case 285:
22533 480 : switch (pattern961 (x2))
22534 : {
22535 190 : case 0:
22536 190 : if (!insn_condition_156 (operands, insn))
22537 0 : return -1;
22538 : return 9704; /* *vcvtps2hf8sv4sf_mask */
22539 :
22540 190 : case 1:
22541 190 : if (!insn_condition_156 (operands, insn))
22542 0 : return -1;
22543 : return 9710; /* *vcvtps2hf8sv8sf_mask */
22544 :
22545 : default:
22546 : return -1;
22547 : }
22548 :
22549 480 : case 286:
22550 480 : switch (pattern961 (x2))
22551 : {
22552 190 : case 0:
22553 190 : if (!insn_condition_156 (operands, insn))
22554 0 : return -1;
22555 : return 9705; /* *vcvtrops2hf8v4sf_mask */
22556 :
22557 190 : case 1:
22558 190 : if (!insn_condition_156 (operands, insn))
22559 0 : return -1;
22560 : return 9711; /* *vcvtrops2hf8v8sf_mask */
22561 :
22562 : default:
22563 : return -1;
22564 : }
22565 :
22566 480 : case 287:
22567 480 : switch (pattern961 (x2))
22568 : {
22569 190 : case 0:
22570 190 : if (!insn_condition_156 (operands, insn))
22571 0 : return -1;
22572 : return 9706; /* *vcvtrops2hf8sv4sf_mask */
22573 :
22574 190 : case 1:
22575 190 : if (!insn_condition_156 (operands, insn))
22576 0 : return -1;
22577 : return 9712; /* *vcvtrops2hf8sv8sf_mask */
22578 :
22579 : default:
22580 : return -1;
22581 : }
22582 :
22583 432 : case 302:
22584 432 : if (pattern706 (x2) != 0)
22585 : return -1;
22586 332 : x6 = XEXP (x3, 1);
22587 332 : x13 = XEXP (x6, 0);
22588 332 : operands[2] = x13;
22589 332 : if (!nonimm_or_0_operand (operands[2], E_V16QImode))
22590 : return -1;
22591 332 : x14 = XEXP (x3, 2);
22592 332 : operands[3] = x14;
22593 332 : x10 = XEXP (x2, 1);
22594 332 : operands[4] = x10;
22595 332 : x7 = XEXP (x6, 1);
22596 332 : switch (XVECLEN (x7, 0))
22597 : {
22598 166 : case 4:
22599 166 : if (pattern1256 (x7,
22600 : 3,
22601 : 2,
22602 : 1,
22603 : 0) != 0
22604 166 : || GET_MODE (x3) != E_V4QImode
22605 166 : || GET_MODE (x4) != E_V4QImode
22606 166 : || !register_operand (operands[1], E_V4SImode)
22607 166 : || GET_MODE (x6) != E_V4QImode
22608 166 : || !const0_operand (operands[4], E_V12QImode)
22609 332 : || !insn_condition_156 (operands, insn))
22610 0 : return -1;
22611 : return 9799; /* *avx10v2aux_sym_truncatev4siv4qi2_mask */
22612 :
22613 166 : case 8:
22614 166 : x8 = XVECEXP (x7, 0, 0);
22615 166 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
22616 : return -1;
22617 166 : x9 = XVECEXP (x7, 0, 1);
22618 166 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
22619 : return -1;
22620 166 : x15 = XVECEXP (x7, 0, 2);
22621 166 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 2]
22622 166 : || pattern1514 (x7,
22623 : 7,
22624 : 6,
22625 : 5,
22626 : 4,
22627 : 3) != 0
22628 166 : || GET_MODE (x3) != E_V8QImode
22629 166 : || GET_MODE (x4) != E_V8QImode
22630 166 : || !register_operand (operands[1], E_V8SImode)
22631 166 : || GET_MODE (x6) != E_V8QImode
22632 166 : || !const0_operand (operands[4], E_V8QImode)
22633 332 : || !insn_condition_156 (operands, insn))
22634 0 : return -1;
22635 : return 9800; /* *avx10v2aux_sym_truncatev8siv8qi2_mask */
22636 :
22637 : default:
22638 : return -1;
22639 : }
22640 :
22641 : default:
22642 : return -1;
22643 : }
22644 :
22645 3578 : case 2:
22646 3578 : if (pattern706 (x2) != 0)
22647 : return -1;
22648 2672 : x5 = XVECEXP (x4, 0, 0);
22649 2672 : operands[1] = x5;
22650 2672 : x16 = XVECEXP (x4, 0, 1);
22651 2672 : operands[2] = x16;
22652 2672 : x6 = XEXP (x3, 1);
22653 2672 : x13 = XEXP (x6, 0);
22654 2672 : operands[3] = x13;
22655 2672 : if (!nonimm_or_0_operand (operands[3], E_V16QImode))
22656 : return -1;
22657 2672 : x14 = XEXP (x3, 2);
22658 2672 : operands[4] = x14;
22659 2672 : x10 = XEXP (x2, 1);
22660 2672 : operands[5] = x10;
22661 2672 : switch (XINT (x4, 1))
22662 : {
22663 261 : case 244:
22664 261 : if (pattern1674 (x3) != 0
22665 261 : || !insn_condition_1072 (operands, insn))
22666 16 : return -1;
22667 : return 9168; /* *vcvtbiasph2bf8v8hf_mask */
22668 :
22669 261 : case 245:
22670 261 : if (pattern1674 (x3) != 0
22671 261 : || !insn_condition_1072 (operands, insn))
22672 16 : return -1;
22673 : return 9169; /* *vcvtbiasph2bf8sv8hf_mask */
22674 :
22675 267 : case 246:
22676 267 : if (pattern1674 (x3) != 0
22677 267 : || !insn_condition_1072 (operands, insn))
22678 16 : return -1;
22679 : return 9170; /* *vcvtbiasph2hf8v8hf_mask */
22680 :
22681 267 : case 247:
22682 267 : if (pattern1674 (x3) != 0
22683 267 : || !insn_condition_1072 (operands, insn))
22684 16 : return -1;
22685 : return 9171; /* *vcvtbiasph2hf8sv8hf_mask */
22686 :
22687 404 : case 288:
22688 404 : switch (pattern1675 (x3))
22689 : {
22690 202 : case 0:
22691 202 : if (!insn_condition_156 (operands, insn))
22692 0 : return -1;
22693 : return 9733; /* *vcvtbiasps2bf8v4sf_mask */
22694 :
22695 202 : case 1:
22696 202 : if (!insn_condition_156 (operands, insn))
22697 0 : return -1;
22698 : return 9737; /* *vcvtbiasps2bf8v8sf_mask */
22699 :
22700 : default:
22701 : return -1;
22702 : }
22703 :
22704 404 : case 289:
22705 404 : switch (pattern1675 (x3))
22706 : {
22707 202 : case 0:
22708 202 : if (!insn_condition_156 (operands, insn))
22709 0 : return -1;
22710 : return 9734; /* *vcvtbiasps2bf8sv4sf_mask */
22711 :
22712 202 : case 1:
22713 202 : if (!insn_condition_156 (operands, insn))
22714 0 : return -1;
22715 : return 9738; /* *vcvtbiasps2bf8sv8sf_mask */
22716 :
22717 : default:
22718 : return -1;
22719 : }
22720 :
22721 404 : case 290:
22722 404 : switch (pattern1675 (x3))
22723 : {
22724 202 : case 0:
22725 202 : if (!insn_condition_156 (operands, insn))
22726 0 : return -1;
22727 : return 9735; /* *vcvtbiasps2hf8v4sf_mask */
22728 :
22729 202 : case 1:
22730 202 : if (!insn_condition_156 (operands, insn))
22731 0 : return -1;
22732 : return 9739; /* *vcvtbiasps2hf8v8sf_mask */
22733 :
22734 : default:
22735 : return -1;
22736 : }
22737 :
22738 404 : case 291:
22739 404 : switch (pattern1675 (x3))
22740 : {
22741 202 : case 0:
22742 202 : if (!insn_condition_156 (operands, insn))
22743 0 : return -1;
22744 : return 9736; /* *vcvtbiasps2hf8sv4sf_mask */
22745 :
22746 202 : case 1:
22747 202 : if (!insn_condition_156 (operands, insn))
22748 0 : return -1;
22749 : return 9740; /* *vcvtbiasps2hf8sv8sf_mask */
22750 :
22751 : default:
22752 : return -1;
22753 : }
22754 :
22755 : default:
22756 : return -1;
22757 : }
22758 :
22759 : default:
22760 : return -1;
22761 : }
22762 : }
22763 :
22764 : int
22765 3211 : recog_295 (rtx x1 ATTRIBUTE_UNUSED,
22766 : rtx_insn *insn ATTRIBUTE_UNUSED,
22767 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22768 : {
22769 3211 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22770 3211 : rtx x2, x3, x4, x5, x6;
22771 3211 : int res ATTRIBUTE_UNUSED;
22772 3211 : x2 = XEXP (x1, 1);
22773 3211 : x3 = XEXP (x2, 0);
22774 3211 : switch (XVECLEN (x3, 0))
22775 : {
22776 1555 : case 1:
22777 1555 : x4 = XVECEXP (x3, 0, 0);
22778 1555 : operands[1] = x4;
22779 1555 : switch (XINT (x3, 1))
22780 : {
22781 284 : case 43:
22782 284 : if (GET_MODE (x3) == E_V4SImode
22783 3 : && pattern830 (x2,
22784 : E_V4SImode,
22785 : E_V4DFmode,
22786 : E_V8SImode) == 0
22787 284 : && insn_condition_122 (operands, insn))
22788 : return 5192; /* *avx_cvtpd2dq256_2 */
22789 284 : if (GET_MODE (x3) != E_V2SImode)
22790 : return -1;
22791 143 : x5 = XEXP (x2, 1);
22792 143 : if (GET_CODE (x5) != CONST_VECTOR
22793 143 : || pattern542 (x5,
22794 : E_V2SImode,
22795 : 2) != 0
22796 143 : || !register_operand (operands[0], E_V4SImode)
22797 143 : || GET_MODE (x2) != E_V4SImode
22798 143 : || !vector_operand (operands[1], E_V2DFmode)
22799 277 : || !insn_condition_141 (operands, insn))
22800 9 : return -1;
22801 : return 5193; /* sse2_cvtpd2dq */
22802 :
22803 66 : case 155:
22804 66 : if (pattern707 (x2) != 0
22805 66 : || !insn_condition_532 (operands, insn))
22806 11 : return -1;
22807 : return 5204; /* fixuns_notruncv2dfv2si2 */
22808 :
22809 65 : case 172:
22810 65 : if (pattern707 (x2) != 0
22811 65 : || !insn_condition_532 (operands, insn))
22812 11 : return -1;
22813 : return 5223; /* *unspec_fixuns_truncv2dfv2si2 */
22814 :
22815 73 : case 252:
22816 73 : if (GET_MODE (x3) != E_V8QImode
22817 73 : || pattern830 (x2,
22818 : E_V8QImode,
22819 : E_V8HFmode,
22820 : E_V16QImode) != 0
22821 134 : || !insn_condition_1072 (operands, insn))
22822 12 : return -1;
22823 : return 9188; /* *vcvtph2bf8v8hf */
22824 :
22825 73 : case 253:
22826 73 : if (GET_MODE (x3) != E_V8QImode
22827 73 : || pattern830 (x2,
22828 : E_V8QImode,
22829 : E_V8HFmode,
22830 : E_V16QImode) != 0
22831 134 : || !insn_condition_1072 (operands, insn))
22832 12 : return -1;
22833 : return 9189; /* *vcvtph2bf8sv8hf */
22834 :
22835 78 : case 254:
22836 78 : if (GET_MODE (x3) != E_V8QImode
22837 78 : || pattern830 (x2,
22838 : E_V8QImode,
22839 : E_V8HFmode,
22840 : E_V16QImode) != 0
22841 143 : || !insn_condition_1072 (operands, insn))
22842 13 : return -1;
22843 : return 9190; /* *vcvtph2hf8v8hf */
22844 :
22845 78 : case 255:
22846 78 : if (GET_MODE (x3) != E_V8QImode
22847 78 : || pattern830 (x2,
22848 : E_V8QImode,
22849 : E_V8HFmode,
22850 : E_V16QImode) != 0
22851 143 : || !insn_condition_1072 (operands, insn))
22852 13 : return -1;
22853 : return 9191; /* *vcvtph2hf8sv8hf */
22854 :
22855 98 : case 282:
22856 98 : switch (pattern708 (x2))
22857 : {
22858 47 : case 0:
22859 47 : if (!insn_condition_156 (operands, insn))
22860 0 : return -1;
22861 : return 9689; /* *vcvtps2bf8v4sf */
22862 :
22863 47 : case 1:
22864 47 : if (!insn_condition_156 (operands, insn))
22865 0 : return -1;
22866 : return 9695; /* *vcvtps2bf8v8sf */
22867 :
22868 : default:
22869 : return -1;
22870 : }
22871 :
22872 98 : case 283:
22873 98 : switch (pattern708 (x2))
22874 : {
22875 47 : case 0:
22876 47 : if (!insn_condition_156 (operands, insn))
22877 0 : return -1;
22878 : return 9690; /* *vcvtps2bf8sv4sf */
22879 :
22880 47 : case 1:
22881 47 : if (!insn_condition_156 (operands, insn))
22882 0 : return -1;
22883 : return 9696; /* *vcvtps2bf8sv8sf */
22884 :
22885 : default:
22886 : return -1;
22887 : }
22888 :
22889 98 : case 284:
22890 98 : switch (pattern708 (x2))
22891 : {
22892 47 : case 0:
22893 47 : if (!insn_condition_156 (operands, insn))
22894 0 : return -1;
22895 : return 9691; /* *vcvtps2hf8v4sf */
22896 :
22897 47 : case 1:
22898 47 : if (!insn_condition_156 (operands, insn))
22899 0 : return -1;
22900 : return 9697; /* *vcvtps2hf8v8sf */
22901 :
22902 : default:
22903 : return -1;
22904 : }
22905 :
22906 98 : case 285:
22907 98 : switch (pattern708 (x2))
22908 : {
22909 47 : case 0:
22910 47 : if (!insn_condition_156 (operands, insn))
22911 0 : return -1;
22912 : return 9692; /* *vcvtps2hf8sv4sf */
22913 :
22914 47 : case 1:
22915 47 : if (!insn_condition_156 (operands, insn))
22916 0 : return -1;
22917 : return 9698; /* *vcvtps2hf8sv8sf */
22918 :
22919 : default:
22920 : return -1;
22921 : }
22922 :
22923 98 : case 286:
22924 98 : switch (pattern708 (x2))
22925 : {
22926 47 : case 0:
22927 47 : if (!insn_condition_156 (operands, insn))
22928 0 : return -1;
22929 : return 9693; /* *vcvtrops2hf8v4sf */
22930 :
22931 47 : case 1:
22932 47 : if (!insn_condition_156 (operands, insn))
22933 0 : return -1;
22934 : return 9699; /* *vcvtrops2hf8v8sf */
22935 :
22936 : default:
22937 : return -1;
22938 : }
22939 :
22940 98 : case 287:
22941 98 : switch (pattern708 (x2))
22942 : {
22943 47 : case 0:
22944 47 : if (!insn_condition_156 (operands, insn))
22945 0 : return -1;
22946 : return 9694; /* *vcvtrops2hf8sv4sf */
22947 :
22948 47 : case 1:
22949 47 : if (!insn_condition_156 (operands, insn))
22950 0 : return -1;
22951 : return 9700; /* *vcvtrops2hf8sv8sf */
22952 :
22953 : default:
22954 : return -1;
22955 : }
22956 :
22957 58 : case 294:
22958 58 : if (pattern709 (x2) != 0
22959 58 : || !insn_condition_156 (operands, insn))
22960 0 : return -1;
22961 : return 9761; /* *vcvtbf82bf4sv16qi */
22962 :
22963 58 : case 295:
22964 58 : if (pattern709 (x2) != 0
22965 58 : || !insn_condition_156 (operands, insn))
22966 0 : return -1;
22967 : return 9762; /* *vcvthf82bf4sv16qi */
22968 :
22969 94 : case 302:
22970 94 : if (!register_operand (operands[0], E_V16QImode)
22971 94 : || GET_MODE (x2) != E_V16QImode)
22972 : return -1;
22973 94 : x5 = XEXP (x2, 1);
22974 94 : operands[2] = x5;
22975 94 : switch (GET_MODE (x3))
22976 : {
22977 47 : case E_V4QImode:
22978 47 : if (!register_operand (operands[1], E_V4SImode)
22979 47 : || !const0_operand (operands[2], E_V12QImode)
22980 94 : || !insn_condition_156 (operands, insn))
22981 0 : return -1;
22982 : return 9797; /* *avx10v2aux_sym_truncatev4siv4qi2 */
22983 :
22984 47 : case E_V8QImode:
22985 47 : if (!register_operand (operands[1], E_V8SImode)
22986 47 : || !const0_operand (operands[2], E_V8QImode)
22987 94 : || !insn_condition_156 (operands, insn))
22988 0 : return -1;
22989 : return 9798; /* *avx10v2aux_sym_truncatev8siv8qi2 */
22990 :
22991 : default:
22992 : return -1;
22993 : }
22994 :
22995 : default:
22996 : return -1;
22997 : }
22998 :
22999 1601 : case 2:
23000 1601 : x4 = XVECEXP (x3, 0, 0);
23001 1601 : operands[1] = x4;
23002 1601 : x6 = XVECEXP (x3, 0, 1);
23003 1601 : operands[2] = x6;
23004 1601 : x5 = XEXP (x2, 1);
23005 1601 : operands[3] = x5;
23006 1601 : switch (XINT (x3, 1))
23007 : {
23008 613 : case 149:
23009 613 : if (GET_MODE (x3) != E_V4HImode
23010 613 : || !register_operand (operands[0], E_V8HImode)
23011 613 : || GET_MODE (x2) != E_V8HImode
23012 613 : || !register_operand (operands[1], E_V4SFmode)
23013 411 : || !const_0_to_255_operand (operands[2], E_SImode)
23014 411 : || !const0_operand (operands[3], E_V4HImode)
23015 613 : || !insn_condition_1678 (operands, insn))
23016 202 : return -1;
23017 : return 8352; /* *vcvtps2ph */
23018 :
23019 98 : case 244:
23020 98 : if (pattern962 (x2) != 0
23021 98 : || !insn_condition_1072 (operands, insn))
23022 10 : return -1;
23023 : return 9164; /* *vcvtbiasph2bf8v8hf */
23024 :
23025 98 : case 245:
23026 98 : if (pattern962 (x2) != 0
23027 98 : || !insn_condition_1072 (operands, insn))
23028 10 : return -1;
23029 : return 9165; /* *vcvtbiasph2bf8sv8hf */
23030 :
23031 102 : case 246:
23032 102 : if (pattern962 (x2) != 0
23033 102 : || !insn_condition_1072 (operands, insn))
23034 11 : return -1;
23035 : return 9166; /* *vcvtbiasph2hf8v8hf */
23036 :
23037 102 : case 247:
23038 102 : if (pattern962 (x2) != 0
23039 102 : || !insn_condition_1072 (operands, insn))
23040 11 : return -1;
23041 : return 9167; /* *vcvtbiasph2hf8sv8hf */
23042 :
23043 106 : case 288:
23044 106 : switch (pattern963 (x2))
23045 : {
23046 53 : case 0:
23047 53 : if (!insn_condition_156 (operands, insn))
23048 0 : return -1;
23049 : return 9725; /* *vcvtbiasps2bf8v4sf */
23050 :
23051 53 : case 1:
23052 53 : if (!insn_condition_156 (operands, insn))
23053 0 : return -1;
23054 : return 9729; /* *vcvtbiasps2bf8v8sf */
23055 :
23056 : default:
23057 : return -1;
23058 : }
23059 :
23060 106 : case 289:
23061 106 : switch (pattern963 (x2))
23062 : {
23063 53 : case 0:
23064 53 : if (!insn_condition_156 (operands, insn))
23065 0 : return -1;
23066 : return 9726; /* *vcvtbiasps2bf8sv4sf */
23067 :
23068 53 : case 1:
23069 53 : if (!insn_condition_156 (operands, insn))
23070 0 : return -1;
23071 : return 9730; /* *vcvtbiasps2bf8sv8sf */
23072 :
23073 : default:
23074 : return -1;
23075 : }
23076 :
23077 106 : case 290:
23078 106 : switch (pattern963 (x2))
23079 : {
23080 53 : case 0:
23081 53 : if (!insn_condition_156 (operands, insn))
23082 0 : return -1;
23083 : return 9727; /* *vcvtbiasps2hf8v4sf */
23084 :
23085 53 : case 1:
23086 53 : if (!insn_condition_156 (operands, insn))
23087 0 : return -1;
23088 : return 9731; /* *vcvtbiasps2hf8v8sf */
23089 :
23090 : default:
23091 : return -1;
23092 : }
23093 :
23094 106 : case 291:
23095 106 : switch (pattern963 (x2))
23096 : {
23097 53 : case 0:
23098 53 : if (!insn_condition_156 (operands, insn))
23099 0 : return -1;
23100 : return 9728; /* *vcvtbiasps2hf8sv4sf */
23101 :
23102 53 : case 1:
23103 53 : if (!insn_condition_156 (operands, insn))
23104 0 : return -1;
23105 : return 9732; /* *vcvtbiasps2hf8sv8sf */
23106 :
23107 : default:
23108 : return -1;
23109 : }
23110 :
23111 : default:
23112 : return -1;
23113 : }
23114 :
23115 : default:
23116 : return -1;
23117 : }
23118 : }
23119 :
23120 : int
23121 2241978 : recog_297 (rtx x1 ATTRIBUTE_UNUSED,
23122 : rtx_insn *insn ATTRIBUTE_UNUSED,
23123 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23124 : {
23125 2241978 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23126 2241978 : rtx x2, x3, x4;
23127 2241978 : int res ATTRIBUTE_UNUSED;
23128 2241978 : x2 = XEXP (x1, 1);
23129 2241978 : operands[3] = x2;
23130 2241978 : x3 = XEXP (x2, 0);
23131 2241978 : operands[1] = x3;
23132 2241978 : x4 = XEXP (x2, 1);
23133 2241978 : operands[2] = x4;
23134 2241978 : switch (GET_MODE (operands[0]))
23135 : {
23136 13688 : case E_V8SFmode:
23137 13688 : if (pattern835 (
23138 : E_V8SFmode) != 0)
23139 : return -1;
23140 9268 : if (insn_condition_1679 (operands, insn))
23141 : return 3424; /* *avx_maskcmpv8sf3_comm */
23142 943 : if (!insn_condition_887 (operands, insn))
23143 0 : return -1;
23144 : return 3432; /* avx_maskcmpv8sf3 */
23145 :
23146 32583 : case E_V4SFmode:
23147 32583 : if (pattern835 (
23148 : E_V4SFmode) != 0)
23149 : return -1;
23150 23147 : if (insn_condition_1680 (operands, insn))
23151 : return 3425; /* *sse_maskcmpv4sf3_comm */
23152 12116 : if (!insn_condition_148 (operands, insn))
23153 0 : return -1;
23154 : return 3433; /* sse_maskcmpv4sf3 */
23155 :
23156 1627 : case E_V4DFmode:
23157 1627 : if (pattern835 (
23158 : E_V4DFmode) != 0)
23159 : return -1;
23160 1061 : if (insn_condition_1679 (operands, insn))
23161 : return 3426; /* *avx_maskcmpv4df3_comm */
23162 752 : if (!insn_condition_887 (operands, insn))
23163 0 : return -1;
23164 : return 3434; /* avx_maskcmpv4df3 */
23165 :
23166 86045 : case E_V2DFmode:
23167 86045 : if (pattern835 (
23168 : E_V2DFmode) != 0)
23169 : return -1;
23170 54741 : if (insn_condition_1681 (operands, insn))
23171 : return 3427; /* *sse2_maskcmpv2df3_comm */
23172 12123 : if (!insn_condition_236 (operands, insn))
23173 0 : return -1;
23174 : return 3435; /* sse2_maskcmpv2df3 */
23175 :
23176 22135 : case E_V8SImode:
23177 22135 : if (pattern836 (
23178 : E_V8SFmode,
23179 : E_V8SImode) != 0
23180 22135 : || !insn_condition_1679 (operands, insn))
23181 18843 : return -1;
23182 : return 3428; /* *avx_imaskcmpv8sf3_comm */
23183 :
23184 304429 : case E_V4SImode:
23185 304429 : if (pattern836 (
23186 : E_V4SFmode,
23187 : E_V4SImode) != 0
23188 304429 : || !insn_condition_1680 (operands, insn))
23189 301434 : return -1;
23190 : return 3429; /* *sse_imaskcmpv4sf3_comm */
23191 :
23192 11101 : case E_V4DImode:
23193 11101 : if (pattern836 (
23194 : E_V4DFmode,
23195 : E_V4DImode) != 0
23196 11101 : || !insn_condition_1679 (operands, insn))
23197 11019 : return -1;
23198 : return 3430; /* *avx_imaskcmpv4df3_comm */
23199 :
23200 31831 : case E_V2DImode:
23201 31831 : if (pattern836 (
23202 : E_V2DFmode,
23203 : E_V2DImode) != 0
23204 31831 : || !insn_condition_1681 (operands, insn))
23205 19726 : return -1;
23206 : return 3431; /* *sse2_imaskcmpv2df3_comm */
23207 :
23208 : default:
23209 : return -1;
23210 : }
23211 : }
23212 :
23213 : int
23214 159941 : recog_299 (rtx x1 ATTRIBUTE_UNUSED,
23215 : rtx_insn *insn ATTRIBUTE_UNUSED,
23216 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23217 : {
23218 159941 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23219 159941 : rtx x2, x3, x4, x5;
23220 159941 : int res ATTRIBUTE_UNUSED;
23221 159941 : x2 = XEXP (x1, 1);
23222 159941 : x3 = XEXP (x2, 0);
23223 159941 : operands[1] = x3;
23224 159941 : x4 = XEXP (x2, 2);
23225 159941 : switch (GET_CODE (x4))
23226 : {
23227 128908 : case REG:
23228 128908 : case SUBREG:
23229 128908 : case MEM:
23230 128908 : case VEC_DUPLICATE:
23231 128908 : operands[3] = x4;
23232 128908 : switch (GET_MODE (operands[0]))
23233 : {
23234 42483 : case E_V4SFmode:
23235 42483 : if (!register_operand (operands[0], E_V4SFmode)
23236 42483 : || GET_MODE (x2) != E_V4SFmode)
23237 : return -1;
23238 42057 : if (nonimmediate_operand (operands[1], E_V4SFmode)
23239 41869 : && nonimmediate_operand (operands[2], E_V4SFmode)
23240 41797 : && nonimmediate_operand (operands[3], E_V4SFmode)
23241 42057 : && insn_condition_559 (operands, insn))
23242 : return 3984; /* *fma_fmadd_v4sf */
23243 404 : if (!bcst_vector_operand (operands[1], E_V4SFmode)
23244 216 : || !bcst_vector_operand (operands[2], E_V4SFmode)
23245 144 : || !bcst_vector_operand (operands[3], E_V4SFmode)
23246 404 : || !insn_condition_1549 (operands, insn))
23247 359 : return -1;
23248 : return 4004; /* *fma_fmadd_v4sf */
23249 :
23250 33867 : case E_V2DFmode:
23251 33867 : if (!register_operand (operands[0], E_V2DFmode)
23252 33867 : || GET_MODE (x2) != E_V2DFmode)
23253 : return -1;
23254 33470 : if (nonimmediate_operand (operands[1], E_V2DFmode)
23255 33348 : && nonimmediate_operand (operands[2], E_V2DFmode)
23256 33275 : && nonimmediate_operand (operands[3], E_V2DFmode)
23257 33470 : && insn_condition_559 (operands, insn))
23258 : return 3985; /* *fma_fmadd_v2df */
23259 261 : if (!bcst_vector_operand (operands[1], E_V2DFmode)
23260 139 : || !bcst_vector_operand (operands[2], E_V2DFmode)
23261 66 : || !bcst_vector_operand (operands[3], E_V2DFmode)
23262 261 : || !insn_condition_1549 (operands, insn))
23263 205 : return -1;
23264 : return 4013; /* *fma_fmadd_v2df */
23265 :
23266 11981 : case E_V8SFmode:
23267 11981 : if (!register_operand (operands[0], E_V8SFmode)
23268 11981 : || GET_MODE (x2) != E_V8SFmode)
23269 : return -1;
23270 11650 : if (nonimmediate_operand (operands[1], E_V8SFmode)
23271 11633 : && nonimmediate_operand (operands[2], E_V8SFmode)
23272 11612 : && nonimmediate_operand (operands[3], E_V8SFmode)
23273 11650 : && insn_condition_559 (operands, insn))
23274 : return 3986; /* *fma_fmadd_v8sf */
23275 196 : if (!bcst_vector_operand (operands[1], E_V8SFmode)
23276 179 : || !bcst_vector_operand (operands[2], E_V8SFmode)
23277 158 : || !bcst_vector_operand (operands[3], E_V8SFmode)
23278 196 : || !insn_condition_1549 (operands, insn))
23279 43 : return -1;
23280 : return 4002; /* *fma_fmadd_v8sf */
23281 :
23282 12121 : case E_V4DFmode:
23283 12121 : if (!register_operand (operands[0], E_V4DFmode)
23284 12121 : || GET_MODE (x2) != E_V4DFmode)
23285 : return -1;
23286 11763 : if (nonimmediate_operand (operands[1], E_V4DFmode)
23287 11735 : && nonimmediate_operand (operands[2], E_V4DFmode)
23288 11715 : && nonimmediate_operand (operands[3], E_V4DFmode)
23289 11763 : && insn_condition_559 (operands, insn))
23290 : return 3987; /* *fma_fmadd_v4df */
23291 92 : if (!bcst_vector_operand (operands[1], E_V4DFmode)
23292 64 : || !bcst_vector_operand (operands[2], E_V4DFmode)
23293 44 : || !bcst_vector_operand (operands[3], E_V4DFmode)
23294 92 : || !insn_condition_1549 (operands, insn))
23295 52 : return -1;
23296 : return 4011; /* *fma_fmadd_v4df */
23297 :
23298 36 : case E_V32HFmode:
23299 36 : if (pattern912 (x2,
23300 : E_V32HFmode) != 0
23301 36 : || !insn_condition_561 (operands, insn))
23302 4 : return -1;
23303 : return 3988; /* *fma_fmadd_v32hf */
23304 :
23305 139 : case E_V16HFmode:
23306 139 : if (pattern912 (x2,
23307 : E_V16HFmode) != 0
23308 139 : || !insn_condition_1551 (operands, insn))
23309 1 : return -1;
23310 : return 3992; /* *fma_fmadd_v16hf */
23311 :
23312 142 : case E_V8HFmode:
23313 142 : if (pattern912 (x2,
23314 : E_V8HFmode) != 0
23315 142 : || !insn_condition_1551 (operands, insn))
23316 15 : return -1;
23317 : return 3994; /* *fma_fmadd_v8hf */
23318 :
23319 10131 : case E_V16SFmode:
23320 10131 : if (pattern912 (x2,
23321 : E_V16SFmode) != 0
23322 10131 : || !insn_condition_560 (operands, insn))
23323 280 : return -1;
23324 : return 3998; /* *fma_fmadd_v16sf */
23325 :
23326 10097 : case E_V8DFmode:
23327 10097 : if (pattern912 (x2,
23328 : E_V8DFmode) != 0
23329 10097 : || !insn_condition_560 (operands, insn))
23330 294 : return -1;
23331 : return 4007; /* *fma_fmadd_v8df */
23332 :
23333 75 : case E_V32BFmode:
23334 75 : if (pattern965 (x2,
23335 : E_V32BFmode) != 0
23336 75 : || !insn_condition_41 (operands, insn))
23337 6 : return -1;
23338 : return 9323; /* avx10_2_fmaddbf16_v32bf */
23339 :
23340 75 : case E_V16BFmode:
23341 75 : if (pattern965 (x2,
23342 : E_V16BFmode) != 0
23343 75 : || !insn_condition_41 (operands, insn))
23344 6 : return -1;
23345 : return 9325; /* avx10_2_fmaddbf16_v16bf */
23346 :
23347 91 : case E_V8BFmode:
23348 91 : if (pattern965 (x2,
23349 : E_V8BFmode) != 0
23350 91 : || !insn_condition_41 (operands, insn))
23351 6 : return -1;
23352 : return 9327; /* avx10_2_fmaddbf16_v8bf */
23353 :
23354 : default:
23355 : return -1;
23356 : }
23357 :
23358 7234 : case NEG:
23359 7234 : x5 = XEXP (x4, 0);
23360 7234 : operands[3] = x5;
23361 7234 : switch (GET_MODE (operands[0]))
23362 : {
23363 859 : case E_V4SFmode:
23364 859 : if (!register_operand (operands[0], E_V4SFmode)
23365 810 : || GET_MODE (x2) != E_V4SFmode
23366 1669 : || GET_MODE (x4) != E_V4SFmode)
23367 : return -1;
23368 810 : if (nonimmediate_operand (operands[1], E_V4SFmode)
23369 807 : && nonimmediate_operand (operands[2], E_V4SFmode)
23370 800 : && nonimmediate_operand (operands[3], E_V4SFmode)
23371 810 : && insn_condition_559 (operands, insn))
23372 : return 4047; /* *fma_fmsub_v4sf */
23373 24 : if (!bcst_vector_operand (operands[1], E_V4SFmode)
23374 21 : || !bcst_vector_operand (operands[2], E_V4SFmode)
23375 14 : || !bcst_vector_operand (operands[3], E_V4SFmode)
23376 24 : || !insn_condition_1549 (operands, insn))
23377 17 : return -1;
23378 : return 4067; /* *fma_fmsub_v4sf */
23379 :
23380 750 : case E_V2DFmode:
23381 750 : if (!register_operand (operands[0], E_V2DFmode)
23382 700 : || GET_MODE (x2) != E_V2DFmode
23383 1450 : || GET_MODE (x4) != E_V2DFmode)
23384 : return -1;
23385 700 : if (nonimmediate_operand (operands[1], E_V2DFmode)
23386 698 : && nonimmediate_operand (operands[2], E_V2DFmode)
23387 698 : && nonimmediate_operand (operands[3], E_V2DFmode)
23388 700 : && insn_condition_559 (operands, insn))
23389 : return 4048; /* *fma_fmsub_v2df */
23390 2 : if (!bcst_vector_operand (operands[1], E_V2DFmode)
23391 0 : || !bcst_vector_operand (operands[2], E_V2DFmode)
23392 0 : || !bcst_vector_operand (operands[3], E_V2DFmode)
23393 2 : || !insn_condition_1549 (operands, insn))
23394 2 : return -1;
23395 : return 4076; /* *fma_fmsub_v2df */
23396 :
23397 1642 : case E_V8SFmode:
23398 1642 : if (!register_operand (operands[0], E_V8SFmode)
23399 1487 : || GET_MODE (x2) != E_V8SFmode
23400 3129 : || GET_MODE (x4) != E_V8SFmode)
23401 : return -1;
23402 1487 : if (nonimmediate_operand (operands[1], E_V8SFmode)
23403 1487 : && nonimmediate_operand (operands[2], E_V8SFmode)
23404 1487 : && nonimmediate_operand (operands[3], E_V8SFmode)
23405 1487 : && insn_condition_559 (operands, insn))
23406 : return 4049; /* *fma_fmsub_v8sf */
23407 3 : if (!bcst_vector_operand (operands[1], E_V8SFmode)
23408 3 : || !bcst_vector_operand (operands[2], E_V8SFmode)
23409 3 : || !bcst_vector_operand (operands[3], E_V8SFmode)
23410 3 : || !insn_condition_1549 (operands, insn))
23411 1 : return -1;
23412 : return 4065; /* *fma_fmsub_v8sf */
23413 :
23414 1751 : case E_V4DFmode:
23415 1751 : if (!register_operand (operands[0], E_V4DFmode)
23416 1598 : || GET_MODE (x2) != E_V4DFmode
23417 3349 : || GET_MODE (x4) != E_V4DFmode)
23418 : return -1;
23419 1598 : if (nonimmediate_operand (operands[1], E_V4DFmode)
23420 1585 : && nonimmediate_operand (operands[2], E_V4DFmode)
23421 1585 : && nonimmediate_operand (operands[3], E_V4DFmode)
23422 1598 : && insn_condition_559 (operands, insn))
23423 : return 4050; /* *fma_fmsub_v4df */
23424 94 : if (!bcst_vector_operand (operands[1], E_V4DFmode)
23425 92 : || !bcst_vector_operand (operands[2], E_V4DFmode)
23426 92 : || !bcst_vector_operand (operands[3], E_V4DFmode)
23427 94 : || !insn_condition_1549 (operands, insn))
23428 2 : return -1;
23429 : return 4074; /* *fma_fmsub_v4df */
23430 :
23431 34 : case E_V32HFmode:
23432 34 : if (pattern913 (x2,
23433 : E_V32HFmode) != 0
23434 34 : || !insn_condition_561 (operands, insn))
23435 4 : return -1;
23436 : return 4051; /* *fma_fmsub_v32hf */
23437 :
23438 72 : case E_V16HFmode:
23439 72 : if (pattern913 (x2,
23440 : E_V16HFmode) != 0
23441 72 : || !insn_condition_1551 (operands, insn))
23442 1 : return -1;
23443 : return 4055; /* *fma_fmsub_v16hf */
23444 :
23445 99 : case E_V8HFmode:
23446 99 : if (pattern913 (x2,
23447 : E_V8HFmode) != 0
23448 99 : || !insn_condition_1551 (operands, insn))
23449 10 : return -1;
23450 : return 4057; /* *fma_fmsub_v8hf */
23451 :
23452 106 : case E_V16SFmode:
23453 106 : if (pattern913 (x2,
23454 : E_V16SFmode) != 0
23455 106 : || !insn_condition_560 (operands, insn))
23456 19 : return -1;
23457 : return 4061; /* *fma_fmsub_v16sf */
23458 :
23459 41 : case E_V8DFmode:
23460 41 : if (pattern913 (x2,
23461 : E_V8DFmode) != 0
23462 41 : || !insn_condition_560 (operands, insn))
23463 14 : return -1;
23464 : return 4070; /* *fma_fmsub_v8df */
23465 :
23466 72 : case E_V32BFmode:
23467 72 : if (pattern966 (x2,
23468 : E_V32BFmode) != 0
23469 72 : || !insn_condition_41 (operands, insn))
23470 4 : return -1;
23471 : return 9347; /* avx10_2_fmsubbf16_v32bf */
23472 :
23473 72 : case E_V16BFmode:
23474 72 : if (pattern966 (x2,
23475 : E_V16BFmode) != 0
23476 72 : || !insn_condition_41 (operands, insn))
23477 4 : return -1;
23478 : return 9349; /* avx10_2_fmsubbf16_v16bf */
23479 :
23480 88 : case E_V8BFmode:
23481 88 : if (pattern966 (x2,
23482 : E_V8BFmode) != 0
23483 88 : || !insn_condition_41 (operands, insn))
23484 4 : return -1;
23485 : return 9351; /* avx10_2_fmsubbf16_v8bf */
23486 :
23487 : default:
23488 : return -1;
23489 : }
23490 :
23491 : default:
23492 : return -1;
23493 : }
23494 : }
23495 :
23496 : int
23497 147689 : recog_311 (rtx x1 ATTRIBUTE_UNUSED,
23498 : rtx_insn *insn ATTRIBUTE_UNUSED,
23499 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23500 : {
23501 147689 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23502 147689 : rtx x2, x3, x4, x5;
23503 147689 : int res ATTRIBUTE_UNUSED;
23504 147689 : x2 = XEXP (x1, 1);
23505 147689 : x3 = XEXP (x2, 1);
23506 147689 : x4 = XVECEXP (x3, 0, 0);
23507 147689 : if (GET_CODE (x4) != CONST_INT)
23508 : return -1;
23509 147689 : operands[2] = x4;
23510 147689 : if (const_0_to_7_operand (operands[2], E_VOIDmode))
23511 : {
23512 147689 : x5 = XVECEXP (x3, 0, 1);
23513 147689 : operands[3] = x5;
23514 147689 : if (const_0_to_7_operand (operands[3], E_VOIDmode))
23515 : {
23516 147687 : switch (GET_MODE (operands[0]))
23517 : {
23518 94469 : case E_V2DFmode:
23519 94469 : if (nonimmediate_operand (operands[0], E_V2DFmode)
23520 94445 : && GET_MODE (x2) == E_V2DFmode
23521 94445 : && register_operand (operands[1], E_V8DFmode)
23522 94519 : && insn_condition_1708 (operands, insn))
23523 : return 5508; /* *avx512dq_vextractf64x2_1 */
23524 : break;
23525 :
23526 31333 : case E_V2DImode:
23527 31333 : if (nonimmediate_operand (operands[0], E_V2DImode)
23528 31325 : && GET_MODE (x2) == E_V2DImode
23529 31325 : && register_operand (operands[1], E_V8DImode)
23530 31383 : && insn_condition_1708 (operands, insn))
23531 : return 5509; /* *avx512dq_vextracti64x2_1 */
23532 : break;
23533 :
23534 : default:
23535 : break;
23536 : }
23537 : }
23538 : }
23539 147589 : x5 = XVECEXP (x3, 0, 1);
23540 147589 : if (GET_CODE (x5) != CONST_INT)
23541 : return -1;
23542 147589 : switch (XWINT (x4, 0))
23543 : {
23544 65969 : case 0L:
23545 65969 : if (XWINT (x5, 0) != 1L)
23546 : return -1;
23547 43404 : switch (GET_MODE (operands[0]))
23548 : {
23549 9214 : case E_V2DImode:
23550 9214 : if (!nonimmediate_operand (operands[0], E_V2DImode)
23551 9214 : || GET_MODE (x2) != E_V2DImode
23552 9214 : || !nonimmediate_operand (operands[1], E_V4DImode)
23553 18127 : || !insn_condition_1709 (operands, insn))
23554 302 : return -1;
23555 : return 5532; /* vec_extract_lo_v4di */
23556 :
23557 33374 : case E_V2DFmode:
23558 33374 : if (!nonimmediate_operand (operands[0], E_V2DFmode)
23559 33368 : || GET_MODE (x2) != E_V2DFmode
23560 33368 : || !nonimmediate_operand (operands[1], E_V4DFmode)
23561 66730 : || !insn_condition_1709 (operands, insn))
23562 19 : return -1;
23563 : return 5533; /* vec_extract_lo_v4df */
23564 :
23565 : default:
23566 : return -1;
23567 : }
23568 :
23569 52618 : case 2L:
23570 52618 : if (XWINT (x5, 0) != 3L)
23571 : return -1;
23572 52614 : switch (GET_MODE (operands[0]))
23573 : {
23574 13674 : case E_V2DImode:
23575 13674 : if (!nonimmediate_operand (operands[0], E_V2DImode)
23576 13670 : || GET_MODE (x2) != E_V2DImode
23577 13670 : || !register_operand (operands[1], E_V4DImode)
23578 26595 : || !insn_condition_122 (operands, insn))
23579 753 : return -1;
23580 : return 5536; /* vec_extract_hi_v4di */
23581 :
23582 38936 : case E_V2DFmode:
23583 38936 : if (!nonimmediate_operand (operands[0], E_V2DFmode)
23584 38922 : || GET_MODE (x2) != E_V2DFmode
23585 38922 : || !register_operand (operands[1], E_V4DFmode)
23586 77310 : || !insn_condition_122 (operands, insn))
23587 562 : return -1;
23588 : return 5537; /* vec_extract_hi_v4df */
23589 :
23590 : default:
23591 : return -1;
23592 : }
23593 :
23594 : default:
23595 : return -1;
23596 : }
23597 : }
23598 :
23599 : int
23600 428375 : recog_312 (rtx x1 ATTRIBUTE_UNUSED,
23601 : rtx_insn *insn ATTRIBUTE_UNUSED,
23602 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23603 : {
23604 428375 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23605 428375 : rtx x2, x3, x4, x5, x6;
23606 428375 : int res ATTRIBUTE_UNUSED;
23607 428375 : x2 = XEXP (x1, 1);
23608 428375 : x3 = XEXP (x2, 1);
23609 428375 : x4 = XVECEXP (x3, 0, 1);
23610 428375 : operands[3] = x4;
23611 428375 : x5 = XVECEXP (x3, 0, 2);
23612 428375 : operands[4] = x5;
23613 428375 : x6 = XVECEXP (x3, 0, 3);
23614 428375 : operands[5] = x6;
23615 428375 : switch (GET_MODE (operands[0]))
23616 : {
23617 50627 : case E_V4SFmode:
23618 50627 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
23619 50597 : || GET_MODE (x2) != E_V4SFmode
23620 50597 : || pattern1527 (
23621 : E_V16SFmode) != 0
23622 50784 : || !insn_condition_1710 (operands, insn))
23623 50470 : return -1;
23624 : return 5512; /* *avx512f_vextractf32x4_1 */
23625 :
23626 323394 : case E_V4SImode:
23627 323394 : if (GET_MODE (x2) != E_V4SImode)
23628 : return -1;
23629 323394 : if (nonimmediate_operand (operands[0], E_V4SImode)
23630 323389 : && pattern1527 (
23631 : E_V16SImode) == 0
23632 323568 : && insn_condition_1710 (operands, insn))
23633 : return 5513; /* *avx512f_vextracti32x4_1 */
23634 323220 : if (!register_operand (operands[0], E_V4SImode)
23635 307326 : || !vector_operand (operands[1], E_V4SImode)
23636 230141 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
23637 230141 : || !const_0_to_3_operand (operands[3], E_VOIDmode)
23638 230141 : || !const_0_to_3_operand (operands[4], E_VOIDmode)
23639 230141 : || !const_0_to_3_operand (operands[5], E_VOIDmode)
23640 553361 : || !insn_condition_1343 (operands, insn))
23641 93081 : return -1;
23642 : return 7107; /* sse2_pshufd_1 */
23643 :
23644 : default:
23645 : return -1;
23646 : }
23647 : }
23648 :
23649 : int
23650 79183 : recog_314 (rtx x1 ATTRIBUTE_UNUSED,
23651 : rtx_insn *insn ATTRIBUTE_UNUSED,
23652 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23653 : {
23654 79183 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23655 79183 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23656 79183 : rtx x10, x11;
23657 79183 : int res ATTRIBUTE_UNUSED;
23658 79183 : x2 = XEXP (x1, 1);
23659 79183 : x3 = XEXP (x2, 1);
23660 79183 : if (pattern971 (x3) != 0)
23661 : return -1;
23662 79183 : x4 = XVECEXP (x3, 0, 0);
23663 79183 : switch (XWINT (x4, 0))
23664 : {
23665 21720 : case 8L:
23666 21720 : x5 = XVECEXP (x3, 0, 1);
23667 21720 : if (XWINT (x5, 0) != 9L)
23668 : return -1;
23669 21720 : x6 = XVECEXP (x3, 0, 2);
23670 21720 : if (XWINT (x6, 0) != 10L)
23671 : return -1;
23672 21720 : x7 = XVECEXP (x3, 0, 3);
23673 21720 : if (XWINT (x7, 0) != 11L)
23674 : return -1;
23675 21720 : x8 = XVECEXP (x3, 0, 4);
23676 21720 : if (XWINT (x8, 0) != 12L)
23677 : return -1;
23678 21720 : x9 = XVECEXP (x3, 0, 5);
23679 21720 : if (XWINT (x9, 0) != 13L)
23680 : return -1;
23681 21720 : x10 = XVECEXP (x3, 0, 6);
23682 21720 : if (XWINT (x10, 0) != 14L)
23683 : return -1;
23684 21720 : x11 = XVECEXP (x3, 0, 7);
23685 21720 : if (XWINT (x11, 0) != 15L)
23686 : return -1;
23687 21720 : switch (GET_MODE (operands[0]))
23688 : {
23689 7830 : case E_V8SFmode:
23690 7830 : if (!nonimmediate_operand (operands[0], E_V8SFmode)
23691 7826 : || GET_MODE (x2) != E_V8SFmode
23692 7826 : || !register_operand (operands[1], E_V16SFmode)
23693 14790 : || !insn_condition_27 (operands, insn))
23694 870 : return -1;
23695 : return 5524; /* vec_extract_hi_v16sf */
23696 :
23697 5613 : case E_V8SImode:
23698 5613 : if (!nonimmediate_operand (operands[0], E_V8SImode)
23699 5613 : || GET_MODE (x2) != E_V8SImode
23700 5613 : || !register_operand (operands[1], E_V16SImode)
23701 11191 : || !insn_condition_27 (operands, insn))
23702 35 : return -1;
23703 : return 5525; /* vec_extract_hi_v16si */
23704 :
23705 7253 : case E_V8HImode:
23706 7253 : if (!nonimmediate_operand (operands[0], E_V8HImode)
23707 7253 : || GET_MODE (x2) != E_V8HImode
23708 7253 : || !register_operand (operands[1], E_V16HImode)
23709 14356 : || !insn_condition_122 (operands, insn))
23710 150 : return -1;
23711 : return 5555; /* vec_extract_hi_v16hi */
23712 :
23713 436 : case E_V8HFmode:
23714 436 : if (!nonimmediate_operand (operands[0], E_V8HFmode)
23715 436 : || GET_MODE (x2) != E_V8HFmode
23716 436 : || !register_operand (operands[1], E_V16HFmode)
23717 847 : || !insn_condition_122 (operands, insn))
23718 25 : return -1;
23719 : return 5556; /* vec_extract_hi_v16hf */
23720 :
23721 588 : case E_V8BFmode:
23722 588 : if (!nonimmediate_operand (operands[0], E_V8BFmode)
23723 588 : || GET_MODE (x2) != E_V8BFmode
23724 588 : || !register_operand (operands[1], E_V16BFmode)
23725 1162 : || !insn_condition_122 (operands, insn))
23726 14 : return -1;
23727 : return 5557; /* vec_extract_hi_v16bf */
23728 :
23729 : default:
23730 : return -1;
23731 : }
23732 :
23733 31145 : case 0L:
23734 31145 : x5 = XVECEXP (x3, 0, 1);
23735 31145 : if (XWINT (x5, 0) != 1L)
23736 : return -1;
23737 21113 : x6 = XVECEXP (x3, 0, 2);
23738 21113 : if (XWINT (x6, 0) != 2L)
23739 : return -1;
23740 20580 : x7 = XVECEXP (x3, 0, 3);
23741 20580 : if (XWINT (x7, 0) != 3L)
23742 : return -1;
23743 20571 : x8 = XVECEXP (x3, 0, 4);
23744 20571 : if (XWINT (x8, 0) != 4L)
23745 : return -1;
23746 19618 : x9 = XVECEXP (x3, 0, 5);
23747 19618 : if (XWINT (x9, 0) != 5L)
23748 : return -1;
23749 18852 : x10 = XVECEXP (x3, 0, 6);
23750 18852 : if (XWINT (x10, 0) != 6L)
23751 : return -1;
23752 18729 : x11 = XVECEXP (x3, 0, 7);
23753 18729 : if (XWINT (x11, 0) != 7L)
23754 : return -1;
23755 18729 : switch (pattern1583 (x2))
23756 : {
23757 5601 : case 0:
23758 5601 : if (!insn_condition_1712 (operands, insn))
23759 0 : return -1;
23760 : return 5528; /* vec_extract_lo_v16sf */
23761 :
23762 5366 : case 1:
23763 5366 : if (!insn_condition_1712 (operands, insn))
23764 0 : return -1;
23765 : return 5529; /* vec_extract_lo_v16si */
23766 :
23767 6250 : case 2:
23768 6250 : if (!insn_condition_1713 (operands, insn))
23769 0 : return -1;
23770 : return 5552; /* vec_extract_lo_v16hi */
23771 :
23772 570 : case 3:
23773 570 : if (!insn_condition_1713 (operands, insn))
23774 0 : return -1;
23775 : return 5553; /* vec_extract_lo_v16hf */
23776 :
23777 576 : case 4:
23778 576 : if (!insn_condition_1713 (operands, insn))
23779 0 : return -1;
23780 : return 5554; /* vec_extract_lo_v16bf */
23781 :
23782 : default:
23783 : return -1;
23784 : }
23785 :
23786 : default:
23787 : return -1;
23788 : }
23789 : }
23790 :
23791 : int
23792 12232 : recog_320 (rtx x1 ATTRIBUTE_UNUSED,
23793 : rtx_insn *insn ATTRIBUTE_UNUSED,
23794 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23795 : {
23796 12232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23797 12232 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23798 12232 : rtx x10, x11;
23799 12232 : int res ATTRIBUTE_UNUSED;
23800 12232 : x2 = XEXP (x1, 1);
23801 12232 : x3 = XEXP (x2, 1);
23802 12232 : x4 = XVECEXP (x3, 0, 4);
23803 12232 : if (GET_CODE (x4) != CONST_INT)
23804 : return -1;
23805 12232 : operands[6] = x4;
23806 12232 : res = recog_319 (x1, insn, pnum_clobbers);
23807 12232 : if (res >= 0)
23808 : return res;
23809 11696 : if (XWINT (x4, 0) != 4L)
23810 : return -1;
23811 3334 : x5 = XVECEXP (x3, 0, 5);
23812 3334 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
23813 : return -1;
23814 2797 : x6 = XVECEXP (x3, 0, 6);
23815 2797 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
23816 : return -1;
23817 2788 : x7 = XVECEXP (x3, 0, 7);
23818 2788 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
23819 2786 : || pattern1459 (x3) != 0
23820 2725 : || !register_operand (operands[0], E_V16HImode)
23821 102 : || GET_MODE (x2) != E_V16HImode
23822 102 : || !nonimmediate_operand (operands[1], E_V16HImode)
23823 2890 : || pattern783 (x3) != 0)
23824 : return -1;
23825 99 : x8 = XVECEXP (x3, 0, 8);
23826 99 : operands[6] = x8;
23827 99 : if (!const_8_to_11_operand (operands[6], E_VOIDmode))
23828 : return -1;
23829 99 : x9 = XVECEXP (x3, 0, 9);
23830 99 : operands[7] = x9;
23831 99 : if (!const_8_to_11_operand (operands[7], E_VOIDmode))
23832 : return -1;
23833 99 : x10 = XVECEXP (x3, 0, 10);
23834 99 : operands[8] = x10;
23835 99 : if (!const_8_to_11_operand (operands[8], E_VOIDmode))
23836 : return -1;
23837 99 : x11 = XVECEXP (x3, 0, 11);
23838 99 : operands[9] = x11;
23839 99 : if (!const_8_to_11_operand (operands[9], E_VOIDmode)
23840 99 : || !insn_condition_1718 (operands, insn))
23841 0 : return -1;
23842 : return 7111; /* avx2_pshuflw_1 */
23843 : }
23844 :
23845 : int
23846 771147 : recog_324 (rtx x1 ATTRIBUTE_UNUSED,
23847 : rtx_insn *insn ATTRIBUTE_UNUSED,
23848 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23849 : {
23850 771147 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23851 771147 : rtx x2, x3, x4, x5, x6, x7, x8;
23852 771147 : int res ATTRIBUTE_UNUSED;
23853 771147 : x2 = XEXP (x1, 1);
23854 771147 : x3 = XEXP (x2, 1);
23855 771147 : switch (XVECLEN (x3, 0))
23856 : {
23857 147689 : case 2:
23858 147689 : res = recog_311 (x1, insn, pnum_clobbers);
23859 147689 : if (res >= 0)
23860 : return res;
23861 : break;
23862 :
23863 428375 : case 4:
23864 428375 : res = recog_313 (x1, insn, pnum_clobbers);
23865 428375 : if (res >= 0)
23866 : return res;
23867 : break;
23868 :
23869 79183 : case 8:
23870 79183 : res = recog_317 (x1, insn, pnum_clobbers);
23871 79183 : if (res >= 0)
23872 : return res;
23873 : break;
23874 :
23875 18478 : case 16:
23876 18478 : res = recog_321 (x1, insn, pnum_clobbers);
23877 18478 : if (res >= 0)
23878 : return res;
23879 : break;
23880 :
23881 2466 : case 32:
23882 2466 : res = recog_322 (x1, insn, pnum_clobbers);
23883 2466 : if (res >= 0)
23884 : return res;
23885 : break;
23886 :
23887 : default:
23888 : break;
23889 : }
23890 288854 : if (XVECLEN (x3, 0) >= 1)
23891 : {
23892 288854 : operands[2] = x3;
23893 288854 : res = recog_323 (x1, insn, pnum_clobbers);
23894 288854 : if (res >= 0)
23895 : return res;
23896 : }
23897 244377 : switch (XVECLEN (x3, 0))
23898 : {
23899 93579 : case 4:
23900 93579 : x4 = XVECEXP (x3, 0, 0);
23901 93579 : operands[2] = x4;
23902 93579 : if (pattern783 (x3) != 0)
23903 : return -1;
23904 91211 : switch (GET_MODE (operands[0]))
23905 : {
23906 8903 : case E_V4DImode:
23907 8903 : if (!register_operand (operands[0], E_V4DImode)
23908 8871 : || GET_MODE (x2) != E_V4DImode
23909 8871 : || !nonimmediate_operand (operands[1], E_V4DImode)
23910 15078 : || !insn_condition_1521 (operands, insn))
23911 2796 : return -1;
23912 : return 7857; /* avx2_permv4di_1 */
23913 :
23914 7827 : case E_V4DFmode:
23915 7827 : if (!register_operand (operands[0], E_V4DFmode)
23916 7727 : || GET_MODE (x2) != E_V4DFmode
23917 7727 : || !nonimmediate_operand (operands[1], E_V4DFmode)
23918 15530 : || !insn_condition_1521 (operands, insn))
23919 321 : return -1;
23920 : return 7859; /* avx2_permv4df_1 */
23921 :
23922 : default:
23923 : return -1;
23924 : }
23925 :
23926 17506 : case 8:
23927 17506 : x4 = XVECEXP (x3, 0, 0);
23928 17506 : operands[2] = x4;
23929 17506 : if (pattern783 (x3) != 0)
23930 : return -1;
23931 9759 : x5 = XVECEXP (x3, 0, 4);
23932 9759 : operands[6] = x5;
23933 9759 : if (!const_4_to_7_operand (operands[6], E_VOIDmode))
23934 : return -1;
23935 8053 : x6 = XVECEXP (x3, 0, 5);
23936 8053 : operands[7] = x6;
23937 8053 : if (!const_4_to_7_operand (operands[7], E_VOIDmode))
23938 : return -1;
23939 7789 : x7 = XVECEXP (x3, 0, 6);
23940 7789 : operands[8] = x7;
23941 7789 : if (!const_4_to_7_operand (operands[8], E_VOIDmode))
23942 : return -1;
23943 7757 : x8 = XVECEXP (x3, 0, 7);
23944 7757 : operands[9] = x8;
23945 7757 : if (!const_4_to_7_operand (operands[9], E_VOIDmode))
23946 : return -1;
23947 7757 : switch (GET_MODE (operands[0]))
23948 : {
23949 68 : case E_V8DFmode:
23950 68 : if (!register_operand (operands[0], E_V8DFmode)
23951 62 : || GET_MODE (x2) != E_V8DFmode
23952 62 : || !nonimmediate_operand (operands[1], E_V8DFmode)
23953 130 : || !insn_condition_1734 (operands, insn))
23954 6 : return -1;
23955 : return 7861; /* avx512f_permv8df_1 */
23956 :
23957 74 : case E_V8DImode:
23958 74 : if (!register_operand (operands[0], E_V8DImode)
23959 70 : || GET_MODE (x2) != E_V8DImode
23960 70 : || !nonimmediate_operand (operands[1], E_V8DImode)
23961 144 : || !insn_condition_1734 (operands, insn))
23962 4 : return -1;
23963 : return 7863; /* avx512f_permv8di_1 */
23964 :
23965 : default:
23966 : return -1;
23967 : }
23968 :
23969 : default:
23970 : return -1;
23971 : }
23972 : }
23973 :
23974 : int
23975 55 : recog_328 (rtx x1 ATTRIBUTE_UNUSED,
23976 : rtx_insn *insn ATTRIBUTE_UNUSED,
23977 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23978 : {
23979 55 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23980 55 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23981 55 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
23982 55 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
23983 55 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
23984 55 : int res ATTRIBUTE_UNUSED;
23985 55 : x2 = XEXP (x1, 1);
23986 55 : x3 = XEXP (x2, 0);
23987 55 : x4 = XEXP (x3, 0);
23988 55 : x5 = XEXP (x4, 1);
23989 55 : if (GET_CODE (x5) != CONST_VECTOR
23990 55 : || XVECLEN (x5, 0) != 32
23991 110 : || pattern1405 (x5,
23992 : E_V32HImode) != 0)
23993 : return -1;
23994 55 : x6 = XVECEXP (x5, 0, 8);
23995 55 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
23996 : return -1;
23997 55 : x7 = XVECEXP (x5, 0, 9);
23998 55 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
23999 : return -1;
24000 55 : x8 = XVECEXP (x5, 0, 10);
24001 55 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24002 : return -1;
24003 55 : x9 = XVECEXP (x5, 0, 11);
24004 55 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24005 : return -1;
24006 55 : x10 = XVECEXP (x5, 0, 12);
24007 55 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24008 : return -1;
24009 55 : x11 = XVECEXP (x5, 0, 13);
24010 55 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24011 : return -1;
24012 55 : x12 = XVECEXP (x5, 0, 14);
24013 55 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24014 : return -1;
24015 55 : x13 = XVECEXP (x5, 0, 15);
24016 55 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24017 : return -1;
24018 55 : x14 = XVECEXP (x5, 0, 16);
24019 55 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24020 : return -1;
24021 55 : x15 = XVECEXP (x5, 0, 17);
24022 55 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24023 : return -1;
24024 55 : x16 = XVECEXP (x5, 0, 18);
24025 55 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24026 : return -1;
24027 55 : x17 = XVECEXP (x5, 0, 19);
24028 55 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24029 : return -1;
24030 55 : x18 = XVECEXP (x5, 0, 20);
24031 55 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24032 : return -1;
24033 55 : x19 = XVECEXP (x5, 0, 21);
24034 55 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24035 : return -1;
24036 55 : x20 = XVECEXP (x5, 0, 22);
24037 55 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24038 : return -1;
24039 55 : x21 = XVECEXP (x5, 0, 23);
24040 55 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24041 : return -1;
24042 55 : x22 = XVECEXP (x5, 0, 24);
24043 55 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24044 : return -1;
24045 55 : x23 = XVECEXP (x5, 0, 25);
24046 55 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24047 : return -1;
24048 55 : x24 = XVECEXP (x5, 0, 26);
24049 55 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24050 : return -1;
24051 55 : x25 = XVECEXP (x5, 0, 27);
24052 55 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24053 : return -1;
24054 55 : x26 = XVECEXP (x5, 0, 28);
24055 55 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24056 : return -1;
24057 55 : x27 = XVECEXP (x5, 0, 29);
24058 55 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24059 : return -1;
24060 55 : x28 = XVECEXP (x5, 0, 30);
24061 55 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24062 : return -1;
24063 55 : x29 = XVECEXP (x5, 0, 31);
24064 55 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
24065 55 : || !register_operand (operands[0], E_V32HImode)
24066 55 : || GET_MODE (x2) != E_V32HImode
24067 55 : || GET_MODE (x3) != E_V32SImode
24068 110 : || pattern1556 (x4,
24069 : E_V32SImode) != 0)
24070 : return -1;
24071 55 : x30 = XEXP (x4, 0);
24072 55 : x31 = XEXP (x30, 0);
24073 55 : x32 = XEXP (x31, 1);
24074 55 : if (GET_MODE (x32) != E_V32SImode)
24075 : return -1;
24076 55 : x33 = XEXP (x32, 0);
24077 55 : operands[2] = x33;
24078 55 : if (!nonimmediate_operand (operands[2], E_V32HImode)
24079 55 : || !insn_condition_12 (operands, insn))
24080 0 : return -1;
24081 : return 7278; /* avx512bw_umulhrswv32hi3 */
24082 : }
24083 :
24084 : int
24085 1957506 : recog_331 (rtx x1 ATTRIBUTE_UNUSED,
24086 : rtx_insn *insn ATTRIBUTE_UNUSED,
24087 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24088 : {
24089 1957506 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24090 1957506 : rtx x2, x3, x4, x5, x6;
24091 1957506 : int res ATTRIBUTE_UNUSED;
24092 1957506 : x2 = XEXP (x1, 1);
24093 1957506 : switch (XVECLEN (x2, 0))
24094 : {
24095 1068259 : case 1:
24096 1068259 : x3 = XEXP (x1, 0);
24097 1068259 : operands[0] = x3;
24098 1068259 : switch (XINT (x2, 1))
24099 : {
24100 53 : case 176:
24101 53 : return recog_233 (x1, insn, pnum_clobbers);
24102 :
24103 0 : case 117:
24104 0 : if (pnum_clobbers == NULL
24105 0 : || GET_MODE (x2) != E_V4SImode
24106 0 : || !register_operand (operands[0], E_V4SImode))
24107 : return -1;
24108 0 : x4 = XVECEXP (x2, 0, 0);
24109 0 : operands[1] = x4;
24110 0 : if (!nonimmediate_operand (operands[1], E_DImode)
24111 0 : || !insn_condition_1817 (operands, insn))
24112 : return -1;
24113 0 : *pnum_clobbers = 1;
24114 0 : return 2724; /* movdi_to_sse */
24115 :
24116 174 : case 118:
24117 174 : x4 = XVECEXP (x2, 0, 0);
24118 174 : operands[1] = x4;
24119 174 : switch (GET_MODE (operands[0]))
24120 : {
24121 60 : case E_V32QImode:
24122 60 : if (!register_operand (operands[0], E_V32QImode)
24123 60 : || GET_MODE (x2) != E_V32QImode
24124 60 : || !memory_operand (operands[1], E_V32QImode)
24125 60 : || !insn_condition_1275 (operands, insn))
24126 1 : return -1;
24127 : return 2725; /* avx_lddqu256 */
24128 :
24129 114 : case E_V16QImode:
24130 114 : if (!register_operand (operands[0], E_V16QImode)
24131 101 : || GET_MODE (x2) != E_V16QImode
24132 101 : || !memory_operand (operands[1], E_V16QImode)
24133 213 : || !insn_condition_1276 (operands, insn))
24134 15 : return -1;
24135 : return 2726; /* sse3_lddqu */
24136 :
24137 : default:
24138 : return -1;
24139 : }
24140 :
24141 717 : case 116:
24142 717 : return recog_223 (x1, insn, pnum_clobbers);
24143 :
24144 1277 : case 51:
24145 1277 : return recog_231 (x1, insn, pnum_clobbers);
24146 :
24147 374 : case 160:
24148 374 : switch (pattern356 (x2))
24149 : {
24150 58 : case 0:
24151 58 : if (!insn_condition_27 (operands, insn))
24152 0 : return -1;
24153 : return 3063; /* *rcp14v16sf */
24154 :
24155 58 : case 1:
24156 58 : if (!insn_condition_100 (operands, insn))
24157 0 : return -1;
24158 : return 3065; /* *rcp14v8sf */
24159 :
24160 57 : case 2:
24161 57 : if (!insn_condition_100 (operands, insn))
24162 0 : return -1;
24163 : return 3067; /* *rcp14v4sf */
24164 :
24165 58 : case 3:
24166 58 : if (!insn_condition_27 (operands, insn))
24167 0 : return -1;
24168 : return 3069; /* *rcp14v8df */
24169 :
24170 58 : case 4:
24171 58 : if (!insn_condition_100 (operands, insn))
24172 0 : return -1;
24173 : return 3071; /* *rcp14v4df */
24174 :
24175 57 : case 5:
24176 57 : if (!insn_condition_100 (operands, insn))
24177 0 : return -1;
24178 : return 3073; /* *rcp14v2df */
24179 :
24180 : default:
24181 : return -1;
24182 : }
24183 :
24184 1265 : case 52:
24185 1265 : return recog_230 (x1, insn, pnum_clobbers);
24186 :
24187 378 : case 161:
24188 378 : switch (pattern356 (x2))
24189 : {
24190 57 : case 0:
24191 57 : if (!insn_condition_27 (operands, insn))
24192 0 : return -1;
24193 : return 3135; /* *rsqrt14v16sf */
24194 :
24195 57 : case 1:
24196 57 : if (!insn_condition_100 (operands, insn))
24197 0 : return -1;
24198 : return 3137; /* *rsqrt14v8sf */
24199 :
24200 57 : case 2:
24201 57 : if (!insn_condition_100 (operands, insn))
24202 0 : return -1;
24203 : return 3139; /* *rsqrt14v4sf */
24204 :
24205 59 : case 3:
24206 59 : if (!insn_condition_27 (operands, insn))
24207 0 : return -1;
24208 : return 3141; /* *rsqrt14v8df */
24209 :
24210 57 : case 4:
24211 57 : if (!insn_condition_100 (operands, insn))
24212 0 : return -1;
24213 : return 3143; /* *rsqrt14v4df */
24214 :
24215 59 : case 5:
24216 59 : if (!insn_condition_100 (operands, insn))
24217 0 : return -1;
24218 : return 3145; /* *rsqrt14v2df */
24219 :
24220 : default:
24221 : return -1;
24222 : }
24223 :
24224 1009 : case 155:
24225 1009 : return recog_228 (x1, insn, pnum_clobbers);
24226 :
24227 1405 : case 43:
24228 1405 : return recog_224 (x1, insn, pnum_clobbers);
24229 :
24230 1199 : case 171:
24231 1199 : return recog_229 (x1, insn, pnum_clobbers);
24232 :
24233 1020 : case 172:
24234 1020 : return recog_227 (x1, insn, pnum_clobbers);
24235 :
24236 1453 : case 164:
24237 1453 : return recog_226 (x1, insn, pnum_clobbers);
24238 :
24239 222 : case 126:
24240 222 : x4 = XVECEXP (x2, 0, 0);
24241 222 : operands[1] = x4;
24242 222 : switch (GET_MODE (operands[0]))
24243 : {
24244 78 : case E_V8DImode:
24245 78 : if (!register_operand (operands[0], E_V8DImode)
24246 71 : || GET_MODE (x2) != E_V8DImode
24247 71 : || !memory_operand (operands[1], E_V8DImode)
24248 78 : || !insn_condition_1818 (operands, insn))
24249 16 : return -1;
24250 : return 7383; /* avx512f_movntdqa */
24251 :
24252 66 : case E_V4DImode:
24253 66 : if (!register_operand (operands[0], E_V4DImode)
24254 64 : || GET_MODE (x2) != E_V4DImode
24255 64 : || !memory_operand (operands[1], E_V4DImode)
24256 66 : || !insn_condition_1555 (operands, insn))
24257 6 : return -1;
24258 : return 7384; /* avx2_movntdqa */
24259 :
24260 78 : case E_V2DImode:
24261 78 : if (!register_operand (operands[0], E_V2DImode)
24262 76 : || GET_MODE (x2) != E_V2DImode
24263 76 : || !memory_operand (operands[1], E_V2DImode)
24264 154 : || !insn_condition_92 (operands, insn))
24265 2 : return -1;
24266 : return 7385; /* sse4_1_movntdqa */
24267 :
24268 : default:
24269 : return -1;
24270 : }
24271 :
24272 132 : case 128:
24273 132 : if (GET_MODE (x2) != E_V8HImode
24274 132 : || !register_operand (operands[0], E_V8HImode))
24275 : return -1;
24276 128 : x4 = XVECEXP (x2, 0, 0);
24277 128 : operands[1] = x4;
24278 128 : if (!vector_operand (operands[1], E_V8HImode)
24279 128 : || !insn_condition_92 (operands, insn))
24280 8 : return -1;
24281 : return 7418; /* sse4_1_phminposuw */
24282 :
24283 196 : case 135:
24284 196 : return recog_234 (x1, insn, pnum_clobbers);
24285 :
24286 444 : case 133:
24287 444 : x4 = XVECEXP (x2, 0, 0);
24288 444 : switch (GET_CODE (x4))
24289 : {
24290 444 : case NE:
24291 444 : case EQ:
24292 444 : case GEU:
24293 444 : case GTU:
24294 444 : case LEU:
24295 444 : case LTU:
24296 444 : operands[1] = x4;
24297 444 : x5 = XEXP (x4, 0);
24298 444 : operands[2] = x5;
24299 444 : x6 = XEXP (x4, 1);
24300 444 : operands[3] = x6;
24301 444 : switch (GET_MODE (operands[0]))
24302 : {
24303 116 : case E_V16QImode:
24304 116 : if (pattern1060 (x2,
24305 : E_V16QImode) != 0
24306 116 : || !insn_condition_24 (operands, insn))
24307 0 : return -1;
24308 : return 7745; /* xop_maskcmp_uns2v16qi3 */
24309 :
24310 116 : case E_V8HImode:
24311 116 : if (pattern1060 (x2,
24312 : E_V8HImode) != 0
24313 116 : || !insn_condition_24 (operands, insn))
24314 0 : return -1;
24315 : return 7746; /* xop_maskcmp_uns2v8hi3 */
24316 :
24317 116 : case E_V4SImode:
24318 116 : if (pattern1060 (x2,
24319 : E_V4SImode) != 0
24320 116 : || !insn_condition_24 (operands, insn))
24321 0 : return -1;
24322 : return 7747; /* xop_maskcmp_uns2v4si3 */
24323 :
24324 96 : case E_V2DImode:
24325 96 : if (pattern1060 (x2,
24326 : E_V2DImode) != 0
24327 96 : || !insn_condition_24 (operands, insn))
24328 0 : return -1;
24329 : return 7748; /* xop_maskcmp_uns2v2di3 */
24330 :
24331 : default:
24332 : return -1;
24333 : }
24334 :
24335 : default:
24336 : return -1;
24337 : }
24338 :
24339 626 : case 140:
24340 626 : if (GET_MODE (x2) != E_V2DImode
24341 626 : || !register_operand (operands[0], E_V2DImode))
24342 : return -1;
24343 587 : x4 = XVECEXP (x2, 0, 0);
24344 587 : operands[1] = x4;
24345 587 : if (!vector_operand (operands[1], E_V2DImode)
24346 587 : || !insn_condition_1633 (operands, insn))
24347 0 : return -1;
24348 : return 7761; /* aesimc */
24349 :
24350 4901 : case 148:
24351 4901 : return recog_239 (x1, insn, pnum_clobbers);
24352 :
24353 320 : case 167:
24354 320 : return recog_232 (x1, insn, pnum_clobbers);
24355 :
24356 127 : case 252:
24357 127 : switch (pattern358 (x2))
24358 : {
24359 59 : case 0:
24360 59 : if (!insn_condition_1072 (operands, insn))
24361 0 : return -1;
24362 : return 9196; /* vcvtph2bf8v16hf */
24363 :
24364 60 : case 1:
24365 60 : if (!insn_condition_1072 (operands, insn))
24366 0 : return -1;
24367 : return 9204; /* vcvtph2bf8v32hf */
24368 :
24369 : default:
24370 : return -1;
24371 : }
24372 :
24373 127 : case 253:
24374 127 : switch (pattern358 (x2))
24375 : {
24376 59 : case 0:
24377 59 : if (!insn_condition_1072 (operands, insn))
24378 0 : return -1;
24379 : return 9198; /* vcvtph2bf8sv16hf */
24380 :
24381 60 : case 1:
24382 60 : if (!insn_condition_1072 (operands, insn))
24383 0 : return -1;
24384 : return 9206; /* vcvtph2bf8sv32hf */
24385 :
24386 : default:
24387 : return -1;
24388 : }
24389 :
24390 132 : case 254:
24391 132 : switch (pattern358 (x2))
24392 : {
24393 61 : case 0:
24394 61 : if (!insn_condition_1072 (operands, insn))
24395 0 : return -1;
24396 : return 9200; /* vcvtph2hf8v16hf */
24397 :
24398 61 : case 1:
24399 61 : if (!insn_condition_1072 (operands, insn))
24400 0 : return -1;
24401 : return 9208; /* vcvtph2hf8v32hf */
24402 :
24403 : default:
24404 : return -1;
24405 : }
24406 :
24407 132 : case 255:
24408 132 : switch (pattern358 (x2))
24409 : {
24410 61 : case 0:
24411 61 : if (!insn_condition_1072 (operands, insn))
24412 0 : return -1;
24413 : return 9202; /* vcvtph2hf8sv16hf */
24414 :
24415 61 : case 1:
24416 61 : if (!insn_condition_1072 (operands, insn))
24417 0 : return -1;
24418 : return 9210; /* vcvtph2hf8sv32hf */
24419 :
24420 : default:
24421 : return -1;
24422 : }
24423 :
24424 231 : case 256:
24425 231 : return recog_238 (x1, insn, pnum_clobbers);
24426 :
24427 186 : case 262:
24428 186 : switch (pattern359 (x2,
24429 : E_V32BFmode,
24430 : E_V16BFmode,
24431 : E_V8BFmode))
24432 : {
24433 58 : case 0:
24434 58 : if (!insn_condition_41 (operands, insn))
24435 0 : return -1;
24436 : return 9425; /* avx10_2_cvtbf162ibsv32bf */
24437 :
24438 58 : case 1:
24439 58 : if (!insn_condition_41 (operands, insn))
24440 0 : return -1;
24441 : return 9433; /* avx10_2_cvtbf162ibsv16bf */
24442 :
24443 58 : case 2:
24444 58 : if (!insn_condition_41 (operands, insn))
24445 0 : return -1;
24446 : return 9441; /* avx10_2_cvtbf162ibsv8bf */
24447 :
24448 : default:
24449 : return -1;
24450 : }
24451 :
24452 186 : case 263:
24453 186 : switch (pattern359 (x2,
24454 : E_V32BFmode,
24455 : E_V16BFmode,
24456 : E_V8BFmode))
24457 : {
24458 58 : case 0:
24459 58 : if (!insn_condition_41 (operands, insn))
24460 0 : return -1;
24461 : return 9427; /* avx10_2_cvtbf162iubsv32bf */
24462 :
24463 58 : case 1:
24464 58 : if (!insn_condition_41 (operands, insn))
24465 0 : return -1;
24466 : return 9435; /* avx10_2_cvtbf162iubsv16bf */
24467 :
24468 58 : case 2:
24469 58 : if (!insn_condition_41 (operands, insn))
24470 0 : return -1;
24471 : return 9443; /* avx10_2_cvtbf162iubsv8bf */
24472 :
24473 : default:
24474 : return -1;
24475 : }
24476 :
24477 186 : case 268:
24478 186 : switch (pattern359 (x2,
24479 : E_V32BFmode,
24480 : E_V16BFmode,
24481 : E_V8BFmode))
24482 : {
24483 58 : case 0:
24484 58 : if (!insn_condition_41 (operands, insn))
24485 0 : return -1;
24486 : return 9429; /* avx10_2_cvttbf162ibsv32bf */
24487 :
24488 58 : case 1:
24489 58 : if (!insn_condition_41 (operands, insn))
24490 0 : return -1;
24491 : return 9437; /* avx10_2_cvttbf162ibsv16bf */
24492 :
24493 58 : case 2:
24494 58 : if (!insn_condition_41 (operands, insn))
24495 0 : return -1;
24496 : return 9445; /* avx10_2_cvttbf162ibsv8bf */
24497 :
24498 : default:
24499 : return -1;
24500 : }
24501 :
24502 186 : case 269:
24503 186 : switch (pattern359 (x2,
24504 : E_V32BFmode,
24505 : E_V16BFmode,
24506 : E_V8BFmode))
24507 : {
24508 58 : case 0:
24509 58 : if (!insn_condition_41 (operands, insn))
24510 0 : return -1;
24511 : return 9431; /* avx10_2_cvttbf162iubsv32bf */
24512 :
24513 58 : case 1:
24514 58 : if (!insn_condition_41 (operands, insn))
24515 0 : return -1;
24516 : return 9439; /* avx10_2_cvttbf162iubsv16bf */
24517 :
24518 58 : case 2:
24519 58 : if (!insn_condition_41 (operands, insn))
24520 0 : return -1;
24521 : return 9447; /* avx10_2_cvttbf162iubsv8bf */
24522 :
24523 : default:
24524 : return -1;
24525 : }
24526 :
24527 187 : case 264:
24528 187 : switch (pattern359 (x2,
24529 : E_V32HFmode,
24530 : E_V16HFmode,
24531 : E_V8HFmode))
24532 : {
24533 62 : case 0:
24534 62 : if (!insn_condition_1359 (operands, insn))
24535 0 : return -1;
24536 : return 9449; /* avx10_2_cvtph2ibsv32hf */
24537 :
24538 56 : case 1:
24539 56 : if (!insn_condition_1819 (operands, insn))
24540 0 : return -1;
24541 : return 9457; /* avx10_2_cvtph2ibsv16hf */
24542 :
24543 56 : case 2:
24544 56 : if (!insn_condition_1819 (operands, insn))
24545 0 : return -1;
24546 : return 9461; /* avx10_2_cvtph2ibsv8hf */
24547 :
24548 : default:
24549 : return -1;
24550 : }
24551 :
24552 187 : case 265:
24553 187 : switch (pattern359 (x2,
24554 : E_V32HFmode,
24555 : E_V16HFmode,
24556 : E_V8HFmode))
24557 : {
24558 62 : case 0:
24559 62 : if (!insn_condition_1359 (operands, insn))
24560 0 : return -1;
24561 : return 9453; /* avx10_2_cvtph2iubsv32hf */
24562 :
24563 56 : case 1:
24564 56 : if (!insn_condition_1819 (operands, insn))
24565 0 : return -1;
24566 : return 9459; /* avx10_2_cvtph2iubsv16hf */
24567 :
24568 56 : case 2:
24569 56 : if (!insn_condition_1819 (operands, insn))
24570 0 : return -1;
24571 : return 9463; /* avx10_2_cvtph2iubsv8hf */
24572 :
24573 : default:
24574 : return -1;
24575 : }
24576 :
24577 187 : case 270:
24578 187 : switch (pattern359 (x2,
24579 : E_V32HFmode,
24580 : E_V16HFmode,
24581 : E_V8HFmode))
24582 : {
24583 62 : case 0:
24584 62 : if (!insn_condition_1359 (operands, insn))
24585 0 : return -1;
24586 : return 9465; /* avx10_2_cvttph2ibsv32hf */
24587 :
24588 56 : case 1:
24589 56 : if (!insn_condition_1819 (operands, insn))
24590 0 : return -1;
24591 : return 9473; /* avx10_2_cvttph2ibsv16hf */
24592 :
24593 56 : case 2:
24594 56 : if (!insn_condition_1819 (operands, insn))
24595 0 : return -1;
24596 : return 9477; /* avx10_2_cvttph2ibsv8hf */
24597 :
24598 : default:
24599 : return -1;
24600 : }
24601 :
24602 187 : case 271:
24603 187 : switch (pattern359 (x2,
24604 : E_V32HFmode,
24605 : E_V16HFmode,
24606 : E_V8HFmode))
24607 : {
24608 62 : case 0:
24609 62 : if (!insn_condition_1359 (operands, insn))
24610 0 : return -1;
24611 : return 9469; /* avx10_2_cvttph2iubsv32hf */
24612 :
24613 56 : case 1:
24614 56 : if (!insn_condition_1819 (operands, insn))
24615 0 : return -1;
24616 : return 9475; /* avx10_2_cvttph2iubsv16hf */
24617 :
24618 56 : case 2:
24619 56 : if (!insn_condition_1819 (operands, insn))
24620 0 : return -1;
24621 : return 9479; /* avx10_2_cvttph2iubsv8hf */
24622 :
24623 : default:
24624 : return -1;
24625 : }
24626 :
24627 187 : case 266:
24628 187 : switch (pattern360 (x2))
24629 : {
24630 62 : case 0:
24631 62 : if (!insn_condition_1359 (operands, insn))
24632 0 : return -1;
24633 : return 9481; /* avx10_2_cvtps2ibsv16sf */
24634 :
24635 56 : case 1:
24636 56 : if (!insn_condition_1819 (operands, insn))
24637 0 : return -1;
24638 : return 9489; /* avx10_2_cvtps2ibsv8sf */
24639 :
24640 56 : case 2:
24641 56 : if (!insn_condition_1819 (operands, insn))
24642 0 : return -1;
24643 : return 9493; /* avx10_2_cvtps2ibsv4sf */
24644 :
24645 : default:
24646 : return -1;
24647 : }
24648 :
24649 187 : case 267:
24650 187 : switch (pattern360 (x2))
24651 : {
24652 62 : case 0:
24653 62 : if (!insn_condition_1359 (operands, insn))
24654 0 : return -1;
24655 : return 9485; /* avx10_2_cvtps2iubsv16sf */
24656 :
24657 56 : case 1:
24658 56 : if (!insn_condition_1819 (operands, insn))
24659 0 : return -1;
24660 : return 9491; /* avx10_2_cvtps2iubsv8sf */
24661 :
24662 56 : case 2:
24663 56 : if (!insn_condition_1819 (operands, insn))
24664 0 : return -1;
24665 : return 9495; /* avx10_2_cvtps2iubsv4sf */
24666 :
24667 : default:
24668 : return -1;
24669 : }
24670 :
24671 187 : case 272:
24672 187 : switch (pattern360 (x2))
24673 : {
24674 62 : case 0:
24675 62 : if (!insn_condition_1359 (operands, insn))
24676 0 : return -1;
24677 : return 9497; /* avx10_2_cvttps2ibsv16sf */
24678 :
24679 56 : case 1:
24680 56 : if (!insn_condition_1819 (operands, insn))
24681 0 : return -1;
24682 : return 9505; /* avx10_2_cvttps2ibsv8sf */
24683 :
24684 56 : case 2:
24685 56 : if (!insn_condition_1819 (operands, insn))
24686 0 : return -1;
24687 : return 9509; /* avx10_2_cvttps2ibsv4sf */
24688 :
24689 : default:
24690 : return -1;
24691 : }
24692 :
24693 187 : case 273:
24694 187 : switch (pattern360 (x2))
24695 : {
24696 62 : case 0:
24697 62 : if (!insn_condition_1359 (operands, insn))
24698 0 : return -1;
24699 : return 9501; /* avx10_2_cvttps2iubsv16sf */
24700 :
24701 56 : case 1:
24702 56 : if (!insn_condition_1819 (operands, insn))
24703 0 : return -1;
24704 : return 9507; /* avx10_2_cvttps2iubsv8sf */
24705 :
24706 56 : case 2:
24707 56 : if (!insn_condition_1819 (operands, insn))
24708 0 : return -1;
24709 : return 9511; /* avx10_2_cvttps2iubsv4sf */
24710 :
24711 : default:
24712 : return -1;
24713 : }
24714 :
24715 817 : case 274:
24716 817 : return recog_237 (x1, insn, pnum_clobbers);
24717 :
24718 788 : case 275:
24719 788 : return recog_236 (x1, insn, pnum_clobbers);
24720 :
24721 471 : case 281:
24722 471 : return recog_225 (x1, insn, pnum_clobbers);
24723 :
24724 172 : case 280:
24725 172 : x4 = XVECEXP (x2, 0, 0);
24726 172 : operands[1] = x4;
24727 172 : switch (pattern520 (x2))
24728 : {
24729 47 : case 0:
24730 47 : if (!insn_condition_1081 (operands, insn))
24731 0 : return -1;
24732 : return 9686; /* avx512bmm_vbitrevb_v64qi */
24733 :
24734 67 : case 1:
24735 67 : if (!insn_condition_1082 (operands, insn))
24736 0 : return -1;
24737 : return 9687; /* avx512bmm_vbitrevb_v16qi */
24738 :
24739 47 : case 2:
24740 47 : if (!insn_condition_1082 (operands, insn))
24741 0 : return -1;
24742 : return 9688; /* avx512bmm_vbitrevb_v32qi */
24743 :
24744 : default:
24745 : return -1;
24746 : }
24747 :
24748 48 : case 282:
24749 48 : if (GET_MODE (x2) != E_V16QImode
24750 48 : || !register_operand (operands[0], E_V16QImode))
24751 : return -1;
24752 48 : x4 = XVECEXP (x2, 0, 0);
24753 48 : operands[1] = x4;
24754 48 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
24755 48 : || !insn_condition_156 (operands, insn))
24756 1 : return -1;
24757 : return 9713; /* vcvtps2bf8v16sf */
24758 :
24759 48 : case 283:
24760 48 : if (GET_MODE (x2) != E_V16QImode
24761 48 : || !register_operand (operands[0], E_V16QImode))
24762 : return -1;
24763 48 : x4 = XVECEXP (x2, 0, 0);
24764 48 : operands[1] = x4;
24765 48 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
24766 48 : || !insn_condition_156 (operands, insn))
24767 1 : return -1;
24768 : return 9715; /* vcvtps2bf8sv16sf */
24769 :
24770 48 : case 284:
24771 48 : if (GET_MODE (x2) != E_V16QImode
24772 48 : || !register_operand (operands[0], E_V16QImode))
24773 : return -1;
24774 48 : x4 = XVECEXP (x2, 0, 0);
24775 48 : operands[1] = x4;
24776 48 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
24777 48 : || !insn_condition_156 (operands, insn))
24778 1 : return -1;
24779 : return 9717; /* vcvtps2hf8v16sf */
24780 :
24781 48 : case 285:
24782 48 : if (GET_MODE (x2) != E_V16QImode
24783 48 : || !register_operand (operands[0], E_V16QImode))
24784 : return -1;
24785 48 : x4 = XVECEXP (x2, 0, 0);
24786 48 : operands[1] = x4;
24787 48 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
24788 48 : || !insn_condition_156 (operands, insn))
24789 1 : return -1;
24790 : return 9719; /* vcvtps2hf8sv16sf */
24791 :
24792 48 : case 286:
24793 48 : if (GET_MODE (x2) != E_V16QImode
24794 48 : || !register_operand (operands[0], E_V16QImode))
24795 : return -1;
24796 48 : x4 = XVECEXP (x2, 0, 0);
24797 48 : operands[1] = x4;
24798 48 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
24799 48 : || !insn_condition_156 (operands, insn))
24800 1 : return -1;
24801 : return 9721; /* vcvtrops2hf8v16sf */
24802 :
24803 48 : case 287:
24804 48 : if (GET_MODE (x2) != E_V16QImode
24805 48 : || !register_operand (operands[0], E_V16QImode))
24806 : return -1;
24807 48 : x4 = XVECEXP (x2, 0, 0);
24808 48 : operands[1] = x4;
24809 48 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
24810 48 : || !insn_condition_156 (operands, insn))
24811 1 : return -1;
24812 : return 9723; /* vcvtrops2hf8sv16sf */
24813 :
24814 153 : case 292:
24815 153 : switch (pattern362 (x2))
24816 : {
24817 47 : case 0:
24818 47 : if (!insn_condition_156 (operands, insn))
24819 0 : return -1;
24820 : return 9749; /* vcvtbf82psv16sf */
24821 :
24822 47 : case 1:
24823 47 : if (!insn_condition_1356 (operands, insn))
24824 0 : return -1;
24825 : return 9753; /* vcvtbf82psv8sf */
24826 :
24827 47 : case 2:
24828 47 : if (!insn_condition_1356 (operands, insn))
24829 0 : return -1;
24830 : return 9757; /* vcvtbf82psv4sf */
24831 :
24832 : default:
24833 : return -1;
24834 : }
24835 :
24836 153 : case 293:
24837 153 : switch (pattern362 (x2))
24838 : {
24839 47 : case 0:
24840 47 : if (!insn_condition_156 (operands, insn))
24841 0 : return -1;
24842 : return 9751; /* vcvthf82psv16sf */
24843 :
24844 47 : case 1:
24845 47 : if (!insn_condition_1356 (operands, insn))
24846 0 : return -1;
24847 : return 9755; /* vcvthf82psv8sf */
24848 :
24849 47 : case 2:
24850 47 : if (!insn_condition_1356 (operands, insn))
24851 0 : return -1;
24852 : return 9759; /* vcvthf82psv4sf */
24853 :
24854 : default:
24855 : return -1;
24856 : }
24857 :
24858 116 : case 294:
24859 116 : switch (pattern363 (x2))
24860 : {
24861 58 : case 0:
24862 58 : if (!insn_condition_1820 (operands, insn))
24863 0 : return -1;
24864 : return 9763; /* vcvtbf82bf4sv64qi */
24865 :
24866 58 : case 1:
24867 58 : if (!insn_condition_1821 (operands, insn))
24868 0 : return -1;
24869 : return 9765; /* vcvtbf82bf4sv32qi */
24870 :
24871 : default:
24872 : return -1;
24873 : }
24874 :
24875 116 : case 295:
24876 116 : switch (pattern363 (x2))
24877 : {
24878 58 : case 0:
24879 58 : if (!insn_condition_1820 (operands, insn))
24880 0 : return -1;
24881 : return 9764; /* vcvthf82bf4sv64qi */
24882 :
24883 58 : case 1:
24884 58 : if (!insn_condition_1821 (operands, insn))
24885 0 : return -1;
24886 : return 9766; /* vcvthf82bf4sv32qi */
24887 :
24888 : default:
24889 : return -1;
24890 : }
24891 :
24892 141 : case 296:
24893 141 : return recog_235 (x1, insn, pnum_clobbers);
24894 :
24895 174 : case 297:
24896 174 : switch (pattern364 (x2))
24897 : {
24898 58 : case 0:
24899 58 : if (!insn_condition_156 (operands, insn))
24900 0 : return -1;
24901 : return 9773; /* vcvtbf82bf6sv64qi */
24902 :
24903 58 : case 1:
24904 58 : if (!insn_condition_1356 (operands, insn))
24905 0 : return -1;
24906 : return 9775; /* vcvtbf82bf6sv16qi */
24907 :
24908 58 : case 2:
24909 58 : if (!insn_condition_1356 (operands, insn))
24910 0 : return -1;
24911 : return 9777; /* vcvtbf82bf6sv32qi */
24912 :
24913 : default:
24914 : return -1;
24915 : }
24916 :
24917 174 : case 298:
24918 174 : switch (pattern364 (x2))
24919 : {
24920 58 : case 0:
24921 58 : if (!insn_condition_156 (operands, insn))
24922 0 : return -1;
24923 : return 9774; /* vcvthf82hf6sv64qi */
24924 :
24925 58 : case 1:
24926 58 : if (!insn_condition_1356 (operands, insn))
24927 0 : return -1;
24928 : return 9776; /* vcvthf82hf6sv16qi */
24929 :
24930 58 : case 2:
24931 58 : if (!insn_condition_1356 (operands, insn))
24932 0 : return -1;
24933 : return 9778; /* vcvthf82hf6sv32qi */
24934 :
24935 : default:
24936 : return -1;
24937 : }
24938 :
24939 141 : case 299:
24940 141 : switch (pattern364 (x2))
24941 : {
24942 47 : case 0:
24943 47 : if (!insn_condition_156 (operands, insn))
24944 0 : return -1;
24945 : return 9779; /* vcvtbf62hf8v64qi */
24946 :
24947 47 : case 1:
24948 47 : if (!insn_condition_1356 (operands, insn))
24949 0 : return -1;
24950 : return 9783; /* vcvtbf62hf8v16qi */
24951 :
24952 47 : case 2:
24953 47 : if (!insn_condition_1356 (operands, insn))
24954 0 : return -1;
24955 : return 9787; /* vcvtbf62hf8v32qi */
24956 :
24957 : default:
24958 : return -1;
24959 : }
24960 :
24961 141 : case 300:
24962 141 : switch (pattern364 (x2))
24963 : {
24964 47 : case 0:
24965 47 : if (!insn_condition_156 (operands, insn))
24966 0 : return -1;
24967 : return 9781; /* vcvthf62hf8v64qi */
24968 :
24969 47 : case 1:
24970 47 : if (!insn_condition_1356 (operands, insn))
24971 0 : return -1;
24972 : return 9785; /* vcvthf62hf8v16qi */
24973 :
24974 47 : case 2:
24975 47 : if (!insn_condition_1356 (operands, insn))
24976 0 : return -1;
24977 : return 9789; /* vcvthf62hf8v32qi */
24978 :
24979 : default:
24980 : return -1;
24981 : }
24982 :
24983 47 : case 302:
24984 47 : if (GET_MODE (x2) != E_V16QImode
24985 47 : || !nonimmediate_operand (operands[0], E_V16QImode))
24986 : return -1;
24987 47 : x4 = XVECEXP (x2, 0, 0);
24988 47 : operands[1] = x4;
24989 47 : if (!register_operand (operands[1], E_V16SImode)
24990 47 : || !insn_condition_156 (operands, insn))
24991 0 : return -1;
24992 : return 9801; /* *avx10v2aux_sym_truncatev16siv16qi2 */
24993 :
24994 50 : case 303:
24995 50 : if (GET_MODE (x2) != E_V16SImode
24996 50 : || !vector_operand (operands[0], E_V16SImode))
24997 : return -1;
24998 50 : x4 = XVECEXP (x2, 0, 0);
24999 50 : operands[1] = x4;
25000 50 : if (!bsr0_operand (operands[1], E_V32SImode)
25001 50 : || !insn_condition_510 (operands, insn))
25002 2 : return -1;
25003 : return 9814; /* bsrmovh_store */
25004 :
25005 50 : case 304:
25006 50 : if (GET_MODE (x2) != E_V16SImode
25007 50 : || !vector_operand (operands[0], E_V16SImode))
25008 : return -1;
25009 50 : x4 = XVECEXP (x2, 0, 0);
25010 50 : operands[1] = x4;
25011 50 : if (!bsr0_operand (operands[1], E_V32SImode)
25012 50 : || !insn_condition_510 (operands, insn))
25013 2 : return -1;
25014 : return 9815; /* bsrmovl_store */
25015 :
25016 : default:
25017 : return -1;
25018 : }
25019 :
25020 572361 : case 2:
25021 572361 : return recog_289 (x1, insn, pnum_clobbers);
25022 :
25023 304863 : case 3:
25024 304863 : return recog_290 (x1, insn, pnum_clobbers);
25025 :
25026 11781 : case 4:
25027 11781 : return recog_288 (x1, insn, pnum_clobbers);
25028 :
25029 : default:
25030 : return -1;
25031 : }
25032 : }
25033 :
25034 : int
25035 848921875 : recog_337 (rtx x1 ATTRIBUTE_UNUSED,
25036 : rtx_insn *insn ATTRIBUTE_UNUSED,
25037 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25038 : {
25039 848921875 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25040 848921875 : rtx x2;
25041 848921875 : int res ATTRIBUTE_UNUSED;
25042 848921875 : x2 = XEXP (x1, 1);
25043 848921875 : operands[1] = x2;
25044 848921875 : switch (GET_MODE (operands[0]))
25045 : {
25046 360845 : case E_V64QImode:
25047 360845 : if (nonimmediate_operand (operands[0], E_V64QImode)
25048 360220 : && nonimmediate_or_sse_const_operand (operands[1], E_V64QImode)
25049 689204 : && insn_condition_1885 (operands, insn))
25050 : return 2555; /* movv64qi_internal */
25051 53327 : if (!register_operand (operands[0], E_V64QImode)
25052 28522 : || !ternlog_operand (operands[1], E_V64QImode)
25053 53350 : || !insn_condition_1881 (operands, insn))
25054 53304 : return -1;
25055 : return 5670; /* *avx512bw_vpternlogv64qi_0 */
25056 :
25057 432885 : case E_V32QImode:
25058 432885 : if (nonimmediate_operand (operands[0], E_V32QImode)
25059 431783 : && nonimmediate_or_sse_const_operand (operands[1], E_V32QImode)
25060 760952 : && insn_condition_1886 (operands, insn))
25061 : return 2556; /* movv32qi_internal */
25062 117059 : if (!register_operand (operands[0], E_V32QImode)
25063 99701 : || !ternlog_operand (operands[1], E_V32QImode)
25064 117530 : || !insn_condition_1882 (operands, insn))
25065 116874 : return -1;
25066 : return 5671; /* *avx512vl_vpternlogv32qi_0 */
25067 :
25068 9578302 : case E_V16QImode:
25069 9578302 : if (nonimmediate_operand (operands[0], E_V16QImode)
25070 9502259 : && nonimmediate_or_sse_const_operand (operands[1], E_V16QImode)
25071 17841738 : && insn_condition_1887 (operands, insn))
25072 : return 2557; /* movv16qi_internal */
25073 2096768 : if (!register_operand (operands[0], E_V16QImode)
25074 1176256 : || !ternlog_operand (operands[1], E_V16QImode)
25075 2124593 : || !insn_condition_1883 (operands, insn))
25076 2096147 : return -1;
25077 : return 5672; /* *avx512vl_vpternlogv16qi_0 */
25078 :
25079 275060 : case E_V32HImode:
25080 275060 : if (nonimmediate_operand (operands[0], E_V32HImode)
25081 274452 : && nonimmediate_or_sse_const_operand (operands[1], E_V32HImode)
25082 500573 : && insn_condition_1888 (operands, insn))
25083 : return 2558; /* movv32hi_internal */
25084 50186 : if (!register_operand (operands[0], E_V32HImode)
25085 45259 : || !ternlog_operand (operands[1], E_V32HImode)
25086 50193 : || !insn_condition_1881 (operands, insn))
25087 50179 : return -1;
25088 : return 5673; /* *avx512bw_vpternlogv32hi_0 */
25089 :
25090 416872 : case E_V16HImode:
25091 416872 : if (nonimmediate_operand (operands[0], E_V16HImode)
25092 415810 : && nonimmediate_or_sse_const_operand (operands[1], E_V16HImode)
25093 708507 : && insn_condition_1889 (operands, insn))
25094 : return 2559; /* movv16hi_internal */
25095 126673 : if (!register_operand (operands[0], E_V16HImode)
25096 118941 : || !ternlog_operand (operands[1], E_V16HImode)
25097 126890 : || !insn_condition_1882 (operands, insn))
25098 126543 : return -1;
25099 : return 5674; /* *avx512vl_vpternlogv16hi_0 */
25100 :
25101 6235518 : case E_V8HImode:
25102 6235518 : if (nonimmediate_operand (operands[0], E_V8HImode)
25103 6161948 : && nonimmediate_or_sse_const_operand (operands[1], E_V8HImode)
25104 11167022 : && insn_condition_1890 (operands, insn))
25105 : return 2560; /* movv8hi_internal */
25106 1323912 : if (!register_operand (operands[0], E_V8HImode)
25107 1194951 : || !ternlog_operand (operands[1], E_V8HImode)
25108 1328193 : || !insn_condition_1883 (operands, insn))
25109 1323408 : return -1;
25110 : return 5675; /* *avx512vl_vpternlogv8hi_0 */
25111 :
25112 467775 : case E_V16SImode:
25113 467775 : if (nonimmediate_operand (operands[0], E_V16SImode)
25114 466568 : && nonimmediate_or_sse_const_operand (operands[1], E_V16SImode)
25115 765786 : && insn_condition_1891 (operands, insn))
25116 : return 2561; /* movv16si_internal */
25117 172171 : if (!register_operand (operands[0], E_V16SImode)
25118 162307 : || !ternlog_operand (operands[1], E_V16SImode)
25119 179816 : || !insn_condition_1881 (operands, insn))
25120 164532 : return -1;
25121 : return 5676; /* *avx512f_vpternlogv16si_0 */
25122 :
25123 782208 : case E_V8SImode:
25124 782208 : if (nonimmediate_operand (operands[0], E_V8SImode)
25125 780868 : && nonimmediate_or_sse_const_operand (operands[1], E_V8SImode)
25126 1174155 : && insn_condition_1892 (operands, insn))
25127 : return 2562; /* movv8si_internal */
25128 393421 : if (!register_operand (operands[0], E_V8SImode)
25129 381264 : || !ternlog_operand (operands[1], E_V8SImode)
25130 408704 : || !insn_condition_1882 (operands, insn))
25131 385450 : return -1;
25132 : return 5677; /* *avx512vl_vpternlogv8si_0 */
25133 :
25134 12312474 : case E_V4SImode:
25135 12312474 : if (nonimmediate_operand (operands[0], E_V4SImode)
25136 12235896 : && nonimmediate_or_sse_const_operand (operands[1], E_V4SImode)
25137 19805776 : && insn_condition_1893 (operands, insn))
25138 : return 2563; /* movv4si_internal */
25139 5009827 : if (!register_operand (operands[0], E_V4SImode)
25140 4527452 : || !ternlog_operand (operands[1], E_V4SImode)
25141 5063161 : || !insn_condition_1883 (operands, insn))
25142 5002190 : return -1;
25143 : return 5678; /* *avx512vl_vpternlogv4si_0 */
25144 :
25145 547140 : case E_V8DImode:
25146 547140 : if (nonimmediate_operand (operands[0], E_V8DImode)
25147 545482 : && nonimmediate_or_sse_const_operand (operands[1], E_V8DImode)
25148 995063 : && insn_condition_1894 (operands, insn))
25149 : return 2564; /* movv8di_internal */
25150 114266 : if (!register_operand (operands[0], E_V8DImode)
25151 102280 : || !ternlog_operand (operands[1], E_V8DImode)
25152 114378 : || !insn_condition_1881 (operands, insn))
25153 114162 : return -1;
25154 : return 5679; /* *avx512f_vpternlogv8di_0 */
25155 :
25156 726528 : case E_V4DImode:
25157 726528 : if (nonimmediate_operand (operands[0], E_V4DImode)
25158 724766 : && nonimmediate_or_sse_const_operand (operands[1], E_V4DImode)
25159 1255095 : && insn_condition_1895 (operands, insn))
25160 : return 2565; /* movv4di_internal */
25161 215164 : if (!register_operand (operands[0], E_V4DImode)
25162 199890 : || !ternlog_operand (operands[1], E_V4DImode)
25163 215925 : || !insn_condition_1882 (operands, insn))
25164 214956 : return -1;
25165 : return 5680; /* *avx512vl_vpternlogv4di_0 */
25166 :
25167 19811407 : case E_V2DImode:
25168 19811407 : if (nonimmediate_operand (operands[0], E_V2DImode)
25169 19727355 : && nonimmediate_or_sse_const_operand (operands[1], E_V2DImode)
25170 33574372 : && insn_condition_1896 (operands, insn))
25171 : return 2566; /* movv2di_internal */
25172 7089153 : if (!register_operand (operands[0], E_V2DImode)
25173 5277578 : || !ternlog_operand (operands[1], E_V2DImode)
25174 7110597 : || !insn_condition_1883 (operands, insn))
25175 7089111 : return -1;
25176 : return 5681; /* *avx512vl_vpternlogv2di_0 */
25177 :
25178 191207 : case E_V4TImode:
25179 191207 : if (!nonimmediate_operand (operands[0], E_V4TImode)
25180 190607 : || !nonimmediate_or_sse_const_operand (operands[1], E_V4TImode)
25181 381473 : || !insn_condition_1897 (operands, insn))
25182 956 : return -1;
25183 : return 2567; /* movv4ti_internal */
25184 :
25185 229339 : case E_V2TImode:
25186 229339 : if (!nonimmediate_operand (operands[0], E_V2TImode)
25187 228279 : || !nonimmediate_or_sse_const_operand (operands[1], E_V2TImode)
25188 455918 : || !insn_condition_1898 (operands, insn))
25189 2842 : return -1;
25190 : return 2568; /* movv2ti_internal */
25191 :
25192 12124805 : case E_V1TImode:
25193 12124805 : if (!nonimmediate_operand (operands[0], E_V1TImode)
25194 12047815 : || !nonimmediate_or_sse_const_operand (operands[1], E_V1TImode)
25195 23552773 : || !insn_condition_1899 (operands, insn))
25196 2468984 : return -1;
25197 : return 2569; /* movv1ti_internal */
25198 :
25199 308627 : case E_V32HFmode:
25200 308627 : if (!nonimmediate_operand (operands[0], E_V32HFmode)
25201 307767 : || !nonimmediate_or_sse_const_operand (operands[1], E_V32HFmode)
25202 588097 : || !insn_condition_1900 (operands, insn))
25203 30451 : return -1;
25204 : return 2570; /* movv32hf_internal */
25205 :
25206 316114 : case E_V16HFmode:
25207 316114 : if (!nonimmediate_operand (operands[0], E_V16HFmode)
25208 314896 : || !nonimmediate_or_sse_const_operand (operands[1], E_V16HFmode)
25209 604889 : || !insn_condition_1901 (operands, insn))
25210 28811 : return -1;
25211 : return 2571; /* movv16hf_internal */
25212 :
25213 4697740 : case E_V8HFmode:
25214 4697740 : if (!nonimmediate_operand (operands[0], E_V8HFmode)
25215 4623980 : || !nonimmediate_or_sse_const_operand (operands[1], E_V8HFmode)
25216 9230717 : || !insn_condition_1902 (operands, insn))
25217 166119 : return -1;
25218 : return 2572; /* movv8hf_internal */
25219 :
25220 230883 : case E_V32BFmode:
25221 230883 : if (!nonimmediate_operand (operands[0], E_V32BFmode)
25222 230114 : || !nonimmediate_or_sse_const_operand (operands[1], E_V32BFmode)
25223 452071 : || !insn_condition_1903 (operands, insn))
25224 9804 : return -1;
25225 : return 2573; /* movv32bf_internal */
25226 :
25227 271394 : case E_V16BFmode:
25228 271394 : if (!nonimmediate_operand (operands[0], E_V16BFmode)
25229 270171 : || !nonimmediate_or_sse_const_operand (operands[1], E_V16BFmode)
25230 527116 : || !insn_condition_1904 (operands, insn))
25231 15817 : return -1;
25232 : return 2574; /* movv16bf_internal */
25233 :
25234 4554886 : case E_V8BFmode:
25235 4554886 : if (!nonimmediate_operand (operands[0], E_V8BFmode)
25236 4481159 : || !nonimmediate_or_sse_const_operand (operands[1], E_V8BFmode)
25237 8993349 : || !insn_condition_1905 (operands, insn))
25238 116566 : return -1;
25239 : return 2575; /* movv8bf_internal */
25240 :
25241 459850 : case E_V16SFmode:
25242 459850 : if (!nonimmediate_operand (operands[0], E_V16SFmode)
25243 458455 : || !nonimmediate_or_sse_const_operand (operands[1], E_V16SFmode)
25244 824624 : || !insn_condition_1906 (operands, insn))
25245 102422 : return -1;
25246 : return 2576; /* movv16sf_internal */
25247 :
25248 695374 : case E_V8SFmode:
25249 695374 : if (!nonimmediate_operand (operands[0], E_V8SFmode)
25250 694048 : || !nonimmediate_or_sse_const_operand (operands[1], E_V8SFmode)
25251 1109970 : || !insn_condition_1907 (operands, insn))
25252 283691 : return -1;
25253 : return 2577; /* movv8sf_internal */
25254 :
25255 8687184 : case E_V4SFmode:
25256 8687184 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
25257 8612957 : || !nonimmediate_or_sse_const_operand (operands[1], E_V4SFmode)
25258 15230640 : || !insn_condition_1908 (operands, insn))
25259 2173237 : return -1;
25260 : return 2578; /* movv4sf_internal */
25261 :
25262 372589 : case E_V8DFmode:
25263 372589 : if (!nonimmediate_operand (operands[0], E_V8DFmode)
25264 371131 : || !nonimmediate_or_sse_const_operand (operands[1], E_V8DFmode)
25265 668678 : || !insn_condition_1909 (operands, insn))
25266 77123 : return -1;
25267 : return 2579; /* movv8df_internal */
25268 :
25269 661769 : case E_V4DFmode:
25270 661769 : if (!nonimmediate_operand (operands[0], E_V4DFmode)
25271 660492 : || !nonimmediate_or_sse_const_operand (operands[1], E_V4DFmode)
25272 1058147 : || !insn_condition_1910 (operands, insn))
25273 269468 : return -1;
25274 : return 2580; /* movv4df_internal */
25275 :
25276 7312250 : case E_V2DFmode:
25277 7312250 : if (!nonimmediate_operand (operands[0], E_V2DFmode)
25278 7237735 : || !nonimmediate_or_sse_const_operand (operands[1], E_V2DFmode)
25279 12855111 : || !insn_condition_1911 (operands, insn))
25280 1809431 : return -1;
25281 : return 2581; /* movv2df_internal */
25282 :
25283 : default:
25284 : return -1;
25285 : }
25286 : }
25287 :
25288 : int
25289 226787 : recog_344 (rtx x1 ATTRIBUTE_UNUSED,
25290 : rtx_insn *insn ATTRIBUTE_UNUSED,
25291 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25292 : {
25293 226787 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25294 226787 : rtx x2, x3, x4, x5, x6, x7, x8;
25295 226787 : int res ATTRIBUTE_UNUSED;
25296 226787 : x2 = XEXP (x1, 0);
25297 226787 : operands[0] = x2;
25298 226787 : x3 = XEXP (x1, 1);
25299 226787 : x4 = XEXP (x3, 0);
25300 226787 : switch (GET_CODE (x4))
25301 : {
25302 84189 : case REG:
25303 84189 : case SUBREG:
25304 84189 : case MEM:
25305 84189 : operands[1] = x4;
25306 84189 : switch (GET_MODE (operands[0]))
25307 : {
25308 381 : case E_V8HFmode:
25309 381 : switch (pattern547 (x3))
25310 : {
25311 124 : case 0:
25312 124 : if (!insn_condition_1340 (operands, insn))
25313 0 : return -1;
25314 : return 4630; /* avx512fp16_vcvtw2ph_v8hi */
25315 :
25316 189 : case 1:
25317 189 : if (!insn_condition_1340 (operands, insn))
25318 0 : return -1;
25319 : return 4654; /* avx512fp16_vcvtdq2ph_v8si */
25320 :
25321 29 : case 2:
25322 29 : if (!insn_condition_40 (operands, insn))
25323 0 : return -1;
25324 : return 4670; /* avx512fp16_vcvtqq2ph_v8di */
25325 :
25326 : default:
25327 : return -1;
25328 : }
25329 :
25330 144 : case E_V16HFmode:
25331 144 : switch (pattern548 (x3))
25332 : {
25333 76 : case 0:
25334 76 : if (!insn_condition_1340 (operands, insn))
25335 0 : return -1;
25336 : return 4638; /* avx512fp16_vcvtw2ph_v16hi */
25337 :
25338 49 : case 1:
25339 49 : if (!insn_condition_40 (operands, insn))
25340 0 : return -1;
25341 : return 4662; /* avx512fp16_vcvtdq2ph_v16si */
25342 :
25343 : default:
25344 : return -1;
25345 : }
25346 :
25347 57 : case E_V32HFmode:
25348 57 : if (!register_operand (operands[0], E_V32HFmode)
25349 48 : || GET_MODE (x3) != E_V32HFmode
25350 48 : || !vector_operand (operands[1], E_V32HImode)
25351 101 : || !insn_condition_40 (operands, insn))
25352 13 : return -1;
25353 : return 4646; /* avx512fp16_vcvtw2ph_v32hi */
25354 :
25355 178 : case E_V16SFmode:
25356 178 : if (!register_operand (operands[0], E_V16SFmode)
25357 173 : || GET_MODE (x3) != E_V16SFmode
25358 173 : || !vector_operand (operands[1], E_V16SImode)
25359 178 : || !insn_condition_1919 (operands, insn))
25360 9 : return -1;
25361 : return 4983; /* floatv16siv16sf2 */
25362 :
25363 748 : case E_V8SFmode:
25364 748 : if (!register_operand (operands[0], E_V8SFmode)
25365 748 : || GET_MODE (x3) != E_V8SFmode)
25366 : return -1;
25367 710 : switch (GET_MODE (operands[1]))
25368 : {
25369 623 : case E_V8SImode:
25370 623 : if (!vector_operand (operands[1], E_V8SImode)
25371 623 : || !insn_condition_1920 (operands, insn))
25372 6 : return -1;
25373 : return 4987; /* floatv8siv8sf2 */
25374 :
25375 85 : case E_V8DImode:
25376 85 : if (!nonimmediate_operand (operands[1], E_V8DImode)
25377 85 : || !insn_condition_1339 (operands, insn))
25378 1 : return -1;
25379 : return 5158; /* floatv8div8sf2 */
25380 :
25381 : default:
25382 : return -1;
25383 : }
25384 :
25385 35351 : case E_V4SFmode:
25386 35351 : if (!register_operand (operands[0], E_V4SFmode)
25387 35351 : || GET_MODE (x3) != E_V4SFmode)
25388 : return -1;
25389 31956 : switch (GET_MODE (operands[1]))
25390 : {
25391 31826 : case E_V4SImode:
25392 31826 : if (!vector_operand (operands[1], E_V4SImode)
25393 31826 : || !insn_condition_1622 (operands, insn))
25394 1260 : return -1;
25395 : return 4989; /* floatv4siv4sf2 */
25396 :
25397 126 : case E_V4DImode:
25398 126 : if (!nonimmediate_operand (operands[1], E_V4DImode)
25399 126 : || !insn_condition_1342 (operands, insn))
25400 1 : return -1;
25401 : return 5166; /* floatv4div4sf2 */
25402 :
25403 : default:
25404 : return -1;
25405 : }
25406 :
25407 1391 : case E_V2DFmode:
25408 1391 : switch (pattern549 (x3))
25409 : {
25410 989 : case 0:
25411 989 : if (!insn_condition_141 (operands, insn))
25412 0 : return -1;
25413 : return 5063; /* sse2_cvtpi2pd */
25414 :
25415 129 : case 1:
25416 129 : if (!insn_condition_79 (operands, insn))
25417 0 : return -1;
25418 : return 5150; /* floatv2div2df2 */
25419 :
25420 : default:
25421 : return -1;
25422 : }
25423 :
25424 259 : case E_V8DFmode:
25425 259 : switch (pattern550 (x3,
25426 : E_V8DFmode))
25427 : {
25428 172 : case 0:
25429 172 : if (!insn_condition_1537 (operands, insn))
25430 0 : return -1;
25431 : return 5130; /* floatv8siv8df2 */
25432 :
25433 56 : case 1:
25434 56 : if (!insn_condition_78 (operands, insn))
25435 0 : return -1;
25436 : return 5134; /* floatv8div8df2 */
25437 :
25438 : default:
25439 : return -1;
25440 : }
25441 :
25442 616 : case E_V4DFmode:
25443 616 : switch (pattern551 (x3,
25444 : E_V4DFmode))
25445 : {
25446 476 : case 0:
25447 476 : if (!insn_condition_1344 (operands, insn))
25448 0 : return -1;
25449 : return 5132; /* floatv4siv4df2 */
25450 :
25451 78 : case 1:
25452 78 : if (!insn_condition_79 (operands, insn))
25453 0 : return -1;
25454 : return 5142; /* floatv4div4df2 */
25455 :
25456 : default:
25457 : return -1;
25458 : }
25459 :
25460 : default:
25461 : return -1;
25462 : }
25463 :
25464 28377 : case VEC_SELECT:
25465 28377 : x5 = XEXP (x4, 1);
25466 28377 : if (GET_CODE (x5) != PARALLEL)
25467 : return -1;
25468 28377 : x6 = XEXP (x4, 0);
25469 28377 : operands[1] = x6;
25470 28377 : switch (XVECLEN (x5, 0))
25471 : {
25472 174 : case 8:
25473 174 : if (pattern711 (x5) != 0
25474 123 : || pattern969 (x3,
25475 : E_V16SImode,
25476 : E_V8SImode,
25477 : E_V8DFmode) != 0
25478 272 : || !insn_condition_27 (operands, insn))
25479 76 : return -1;
25480 : return 5182; /* avx512f_cvtdq2pd512_2 */
25481 :
25482 964 : case 4:
25483 964 : if (pattern712 (x5,
25484 : 3,
25485 : 2,
25486 : 1) != 0
25487 514 : || pattern969 (x3,
25488 : E_V8SImode,
25489 : E_V4SImode,
25490 : E_V4DFmode) != 0
25491 1321 : || !insn_condition_122 (operands, insn))
25492 607 : return -1;
25493 : return 5183; /* avx_cvtdq2pd256_2 */
25494 :
25495 27036 : case 2:
25496 27036 : x7 = XVECEXP (x5, 0, 0);
25497 27036 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
25498 : return -1;
25499 27012 : x8 = XVECEXP (x5, 0, 1);
25500 27012 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
25501 26988 : || pattern969 (x3,
25502 : E_V4SImode,
25503 : E_V2SImode,
25504 : E_V2DFmode) != 0
25505 43797 : || !insn_condition_1343 (operands, insn))
25506 10227 : return -1;
25507 : return 5184; /* sse2_cvtdq2pd */
25508 :
25509 : default:
25510 : return -1;
25511 : }
25512 :
25513 : default:
25514 : return -1;
25515 : }
25516 : }
25517 :
25518 : int
25519 2083 : recog_349 (rtx x1 ATTRIBUTE_UNUSED,
25520 : rtx_insn *insn ATTRIBUTE_UNUSED,
25521 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25522 : {
25523 2083 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25524 2083 : rtx x2, x3, x4, x5, x6, x7, x8;
25525 2083 : int res ATTRIBUTE_UNUSED;
25526 2083 : x2 = XEXP (x1, 0);
25527 2083 : operands[0] = x2;
25528 2083 : x3 = XEXP (x1, 1);
25529 2083 : x4 = XEXP (x3, 0);
25530 2083 : switch (GET_CODE (x4))
25531 : {
25532 1920 : case REG:
25533 1920 : case SUBREG:
25534 1920 : case MEM:
25535 1920 : operands[1] = x4;
25536 1920 : switch (GET_MODE (operands[0]))
25537 : {
25538 186 : case E_V8HFmode:
25539 186 : switch (pattern547 (x3))
25540 : {
25541 72 : case 0:
25542 72 : if (!insn_condition_1340 (operands, insn))
25543 0 : return -1;
25544 : return 4634; /* avx512fp16_vcvtuw2ph_v8hi */
25545 :
25546 60 : case 1:
25547 60 : if (!insn_condition_1340 (operands, insn))
25548 0 : return -1;
25549 : return 4658; /* avx512fp16_vcvtudq2ph_v8si */
25550 :
25551 29 : case 2:
25552 29 : if (!insn_condition_40 (operands, insn))
25553 0 : return -1;
25554 : return 4674; /* avx512fp16_vcvtuqq2ph_v8di */
25555 :
25556 : default:
25557 : return -1;
25558 : }
25559 :
25560 107 : case E_V16HFmode:
25561 107 : switch (pattern548 (x3))
25562 : {
25563 62 : case 0:
25564 62 : if (!insn_condition_1340 (operands, insn))
25565 0 : return -1;
25566 : return 4642; /* avx512fp16_vcvtuw2ph_v16hi */
25567 :
25568 30 : case 1:
25569 30 : if (!insn_condition_40 (operands, insn))
25570 0 : return -1;
25571 : return 4666; /* avx512fp16_vcvtudq2ph_v16si */
25572 :
25573 : default:
25574 : return -1;
25575 : }
25576 :
25577 39 : case E_V32HFmode:
25578 39 : if (!register_operand (operands[0], E_V32HFmode)
25579 30 : || GET_MODE (x3) != E_V32HFmode
25580 30 : || !vector_operand (operands[1], E_V32HImode)
25581 69 : || !insn_condition_40 (operands, insn))
25582 9 : return -1;
25583 : return 4650; /* avx512fp16_vcvtuw2ph_v32hi */
25584 :
25585 28 : case E_V16SFmode:
25586 28 : if (!register_operand (operands[0], E_V16SFmode)
25587 23 : || GET_MODE (x3) != E_V16SFmode
25588 23 : || !nonimmediate_operand (operands[1], E_V16SImode)
25589 51 : || !insn_condition_27 (operands, insn))
25590 5 : return -1;
25591 : return 4991; /* *floatunsv16siv16sf2 */
25592 :
25593 129 : case E_V8SFmode:
25594 129 : switch (pattern550 (x3,
25595 : E_V8SFmode))
25596 : {
25597 73 : case 0:
25598 73 : if (!insn_condition_100 (operands, insn))
25599 0 : return -1;
25600 : return 4995; /* *floatunsv8siv8sf2 */
25601 :
25602 46 : case 1:
25603 46 : if (!insn_condition_1339 (operands, insn))
25604 0 : return -1;
25605 : return 5162; /* floatunsv8div8sf2 */
25606 :
25607 : default:
25608 : return -1;
25609 : }
25610 :
25611 194 : case E_V4SFmode:
25612 194 : switch (pattern551 (x3,
25613 : E_V4SFmode))
25614 : {
25615 99 : case 0:
25616 99 : if (!insn_condition_100 (operands, insn))
25617 0 : return -1;
25618 : return 4999; /* *floatunsv4siv4sf2 */
25619 :
25620 87 : case 1:
25621 87 : if (!insn_condition_1342 (operands, insn))
25622 0 : return -1;
25623 : return 5168; /* floatunsv4div4sf2 */
25624 :
25625 : default:
25626 : return -1;
25627 : }
25628 :
25629 77 : case E_V2DFmode:
25630 77 : switch (pattern549 (x3))
25631 : {
25632 6 : case 0:
25633 6 : if (!insn_condition_152 (operands, insn))
25634 0 : return -1;
25635 : return 5064; /* floatunsv2siv2df2 */
25636 :
25637 63 : case 1:
25638 63 : if (!insn_condition_79 (operands, insn))
25639 0 : return -1;
25640 : return 5154; /* floatunsv2div2df2 */
25641 :
25642 : default:
25643 : return -1;
25644 : }
25645 :
25646 134 : case E_V8DFmode:
25647 134 : if (!register_operand (operands[0], E_V8DFmode)
25648 134 : || GET_MODE (x3) != E_V8DFmode)
25649 : return -1;
25650 119 : switch (GET_MODE (operands[1]))
25651 : {
25652 57 : case E_V8DImode:
25653 57 : if (!nonimmediate_operand (operands[1], E_V8DImode)
25654 57 : || !insn_condition_78 (operands, insn))
25655 1 : return -1;
25656 : return 5138; /* floatunsv8div8df2 */
25657 :
25658 62 : case E_V8SImode:
25659 62 : if (!nonimmediate_operand (operands[1], E_V8SImode)
25660 62 : || !insn_condition_27 (operands, insn))
25661 0 : return -1;
25662 : return 5176; /* floatunsv8siv8df2 */
25663 :
25664 : default:
25665 : return -1;
25666 : }
25667 :
25668 156 : case E_V4DFmode:
25669 156 : if (!register_operand (operands[0], E_V4DFmode)
25670 156 : || GET_MODE (x3) != E_V4DFmode)
25671 : return -1;
25672 143 : switch (GET_MODE (operands[1]))
25673 : {
25674 79 : case E_V4DImode:
25675 79 : if (!nonimmediate_operand (operands[1], E_V4DImode)
25676 79 : || !insn_condition_79 (operands, insn))
25677 1 : return -1;
25678 : return 5146; /* floatunsv4div4df2 */
25679 :
25680 64 : case E_V4SImode:
25681 64 : if (!nonimmediate_operand (operands[1], E_V4SImode)
25682 64 : || !insn_condition_100 (operands, insn))
25683 0 : return -1;
25684 : return 5178; /* floatunsv4siv4df2 */
25685 :
25686 : default:
25687 : return -1;
25688 : }
25689 :
25690 : default:
25691 : return -1;
25692 : }
25693 :
25694 49 : case VEC_SELECT:
25695 49 : if (GET_MODE (x4) != E_V2SImode)
25696 : return -1;
25697 49 : x5 = XEXP (x4, 1);
25698 49 : if (GET_CODE (x5) != PARALLEL
25699 49 : || XVECLEN (x5, 0) != 2)
25700 : return -1;
25701 49 : x6 = XVECEXP (x5, 0, 0);
25702 49 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
25703 : return -1;
25704 49 : x7 = XVECEXP (x5, 0, 1);
25705 49 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
25706 49 : || !register_operand (operands[0], E_V2DFmode)
25707 96 : || GET_MODE (x3) != E_V2DFmode)
25708 : return -1;
25709 47 : x8 = XEXP (x4, 0);
25710 47 : operands[1] = x8;
25711 47 : if (!nonimmediate_operand (operands[1], E_V4SImode)
25712 47 : || !insn_condition_532 (operands, insn))
25713 0 : return -1;
25714 : return 5180; /* *floatunsv2siv2df2 */
25715 :
25716 : default:
25717 : return -1;
25718 : }
25719 : }
25720 :
25721 : int
25722 379119 : recog_356 (rtx x1 ATTRIBUTE_UNUSED,
25723 : rtx_insn *insn ATTRIBUTE_UNUSED,
25724 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25725 : {
25726 379119 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25727 379119 : rtx x2, x3, x4;
25728 379119 : int res ATTRIBUTE_UNUSED;
25729 379119 : switch (pattern35 (x1))
25730 : {
25731 1522 : case 0:
25732 1522 : if (!insn_condition_1697 (operands, insn))
25733 0 : return -1;
25734 : return 7419; /* avx2_sign_extendv16qiv16hi2 */
25735 :
25736 759 : case 1:
25737 759 : if (!insn_condition_12 (operands, insn))
25738 0 : return -1;
25739 : return 7427; /* avx512bw_sign_extendv32qiv32hi2 */
25740 :
25741 72 : case 2:
25742 72 : if (!insn_condition_1625 (operands, insn))
25743 0 : return -1;
25744 : return 7439; /* *sse4_1_sign_extendv8qiv8hi2_1 */
25745 :
25746 79 : case 3:
25747 79 : if (!insn_condition_27 (operands, insn))
25748 0 : return -1;
25749 : return 7451; /* *avx512f_sign_extendv16qiv16si2 */
25750 :
25751 777 : case 4:
25752 777 : if (!insn_condition_27 (operands, insn))
25753 2 : return -1;
25754 : return 7481; /* avx512f_sign_extendv16hiv16si2 */
25755 :
25756 6 : case 5:
25757 6 : if (!insn_condition_1521 (operands, insn))
25758 0 : return -1;
25759 : return 7459; /* *avx2_sign_extendv8qiv8si2_1 */
25760 :
25761 2938 : case 6:
25762 2938 : if (!insn_condition_1521 (operands, insn))
25763 92 : return -1;
25764 : return 7489; /* avx2_sign_extendv8hiv8si2 */
25765 :
25766 22 : case 7:
25767 22 : if (!insn_condition_1943 (operands, insn))
25768 0 : return -1;
25769 : return 7471; /* *sse4_1_sign_extendv4qiv4si2_1 */
25770 :
25771 21 : case 8:
25772 21 : if (!insn_condition_1943 (operands, insn))
25773 10 : return -1;
25774 : return 7501; /* *sse4_1_sign_extendv4hiv4si2_1 */
25775 :
25776 6 : case 9:
25777 6 : if (!insn_condition_27 (operands, insn))
25778 0 : return -1;
25779 : return 7517; /* *avx512f_sign_extendv8qiv8di2_1 */
25780 :
25781 74 : case 10:
25782 74 : if (!insn_condition_27 (operands, insn))
25783 0 : return -1;
25784 : return 7548; /* avx512f_sign_extendv8hiv8di2 */
25785 :
25786 911 : case 11:
25787 911 : if (!insn_condition_27 (operands, insn))
25788 0 : return -1;
25789 : return 7576; /* avx512f_sign_extendv8siv8di2 */
25790 :
25791 6 : case 12:
25792 6 : if (!insn_condition_1521 (operands, insn))
25793 0 : return -1;
25794 : return 7529; /* *avx2_sign_extendv4qiv4di2_1 */
25795 :
25796 169 : case 13:
25797 169 : if (!insn_condition_1521 (operands, insn))
25798 0 : return -1;
25799 : return 7556; /* *avx2_sign_extendv4hiv4di2_1 */
25800 :
25801 2898 : case 14:
25802 2898 : if (!insn_condition_1521 (operands, insn))
25803 0 : return -1;
25804 : return 7582; /* avx2_sign_extendv4siv4di2 */
25805 :
25806 6 : case 15:
25807 6 : if (!insn_condition_1943 (operands, insn))
25808 0 : return -1;
25809 : return 7541; /* *sse4_1_sign_extendv2qiv2di2_1 */
25810 :
25811 6 : case 16:
25812 6 : if (!insn_condition_1943 (operands, insn))
25813 0 : return -1;
25814 : return 7568; /* *sse4_1_sign_extendv2hiv2di2_1 */
25815 :
25816 7 : case 17:
25817 7 : if (!insn_condition_1943 (operands, insn))
25818 0 : return -1;
25819 : return 7592; /* *sse4_1_sign_extendv2siv2di2_1 */
25820 :
25821 31315 : case 18:
25822 31315 : x2 = XEXP (x1, 1);
25823 31315 : x3 = XEXP (x2, 0);
25824 31315 : x4 = XEXP (x3, 0);
25825 31315 : operands[1] = x4;
25826 31315 : switch (pattern564 (x2))
25827 : {
25828 2777 : case 0:
25829 2777 : if (insn_condition_1625 (operands, insn))
25830 : return 7435; /* sse4_1_sign_extendv8qiv8hi2 */
25831 : break;
25832 :
25833 100 : case 1:
25834 100 : if (insn_condition_1521 (operands, insn))
25835 : return 7455; /* avx2_sign_extendv8qiv8si2 */
25836 : break;
25837 :
25838 68 : case 2:
25839 68 : if (insn_condition_27 (operands, insn))
25840 : return 7513; /* avx512f_sign_extendv8qiv8di2 */
25841 : break;
25842 :
25843 181 : case 3:
25844 181 : if (insn_condition_1943 (operands, insn))
25845 : return 7467; /* sse4_1_sign_extendv4qiv4si2 */
25846 : break;
25847 :
25848 5270 : case 4:
25849 5270 : if (insn_condition_1943 (operands, insn))
25850 : return 7497; /* sse4_1_sign_extendv4hiv4si2 */
25851 : break;
25852 :
25853 92 : case 5:
25854 92 : if (insn_condition_1521 (operands, insn))
25855 : return 7525; /* avx2_sign_extendv4qiv4di2 */
25856 : break;
25857 :
25858 99 : case 6:
25859 99 : if (insn_condition_1521 (operands, insn))
25860 : return 7552; /* avx2_sign_extendv4hiv4di2 */
25861 : break;
25862 :
25863 105 : case 7:
25864 105 : if (insn_condition_1943 (operands, insn))
25865 : return 7537; /* sse4_1_sign_extendv2qiv2di2 */
25866 : break;
25867 :
25868 92 : case 8:
25869 92 : if (insn_condition_1943 (operands, insn))
25870 : return 7564; /* sse4_1_sign_extendv2hiv2di2 */
25871 : break;
25872 :
25873 3950 : case 9:
25874 3950 : if (insn_condition_1943 (operands, insn))
25875 : return 7588; /* sse4_1_sign_extendv2siv2di2 */
25876 : break;
25877 :
25878 : default:
25879 : break;
25880 : }
25881 18581 : if (GET_CODE (x4) != SUBREG
25882 18581 : || maybe_ne (SUBREG_BYTE (x4), 0))
25883 : return -1;
25884 4193 : switch (pattern721 (x2))
25885 : {
25886 0 : case 0:
25887 0 : if (!insn_condition_93 (operands, insn))
25888 0 : return -1;
25889 : return 7443; /* *sse4_1_sign_extendv8qiv8hi2_2 */
25890 :
25891 0 : case 1:
25892 0 : if (!insn_condition_1944 (operands, insn))
25893 0 : return -1;
25894 : return 7463; /* *avx2_sign_extendv8qiv8si2_2 */
25895 :
25896 0 : case 2:
25897 0 : if (!insn_condition_864 (operands, insn))
25898 0 : return -1;
25899 : return 7521; /* *avx512f_sign_extendv8qiv8di2_2 */
25900 :
25901 1 : case 3:
25902 1 : if (!insn_condition_93 (operands, insn))
25903 0 : return -1;
25904 : return 7505; /* *sse4_1_sign_extendv4hiv4si2_2 */
25905 :
25906 1 : case 4:
25907 1 : if (!insn_condition_1944 (operands, insn))
25908 0 : return -1;
25909 : return 7560; /* *avx2_sign_extendv4hiv4di2_2 */
25910 :
25911 1 : case 5:
25912 1 : if (!insn_condition_93 (operands, insn))
25913 0 : return -1;
25914 : return 7596; /* *sse4_1_sign_extendv2siv2di2_2 */
25915 :
25916 0 : case 6:
25917 0 : if (!insn_condition_1945 (operands, insn))
25918 0 : return -1;
25919 : return 7475; /* *sse4_1_sign_extendv4qiv4si2_2 */
25920 :
25921 0 : case 7:
25922 0 : if (!insn_condition_1944 (operands, insn))
25923 0 : return -1;
25924 : return 7533; /* *avx2_sign_extendv4qiv4di2_2 */
25925 :
25926 0 : case 8:
25927 0 : if (!insn_condition_93 (operands, insn))
25928 0 : return -1;
25929 : return 7572; /* *sse4_1_sign_extendv2hiv2di2_2 */
25930 :
25931 : default:
25932 : return -1;
25933 : }
25934 :
25935 : default:
25936 : return -1;
25937 : }
25938 : }
25939 :
25940 : int
25941 27380 : recog_366 (rtx x1 ATTRIBUTE_UNUSED,
25942 : rtx_insn *insn ATTRIBUTE_UNUSED,
25943 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25944 : {
25945 27380 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25946 27380 : rtx x2, x3, x4;
25947 27380 : int res ATTRIBUTE_UNUSED;
25948 27380 : x2 = XEXP (x1, 0);
25949 27380 : operands[0] = x2;
25950 27380 : x3 = XEXP (x1, 1);
25951 27380 : x4 = XEXP (x3, 0);
25952 27380 : operands[1] = x4;
25953 27380 : switch (GET_MODE (operands[0]))
25954 : {
25955 5219 : case E_XFmode:
25956 5219 : if (!register_operand (operands[0], E_XFmode)
25957 5191 : || GET_MODE (x3) != E_XFmode
25958 5191 : || !register_operand (operands[1], E_XFmode)
25959 9534 : || !insn_condition_147 (operands, insn))
25960 904 : return -1;
25961 : return 1847; /* sqrtxf2 */
25962 :
25963 117 : case E_HFmode:
25964 117 : if (!register_operand (operands[0], E_HFmode)
25965 117 : || GET_MODE (x3) != E_HFmode
25966 117 : || !nonimmediate_operand (operands[1], E_HFmode)
25967 234 : || !insn_condition_40 (operands, insn))
25968 0 : return -1;
25969 : return 1850; /* sqrthf2 */
25970 :
25971 6648 : case E_SFmode:
25972 6648 : if (!register_operand (operands[0], E_SFmode)
25973 6551 : || GET_MODE (x3) != E_SFmode
25974 6551 : || !nonimmediate_operand (operands[1], E_SFmode)
25975 6648 : || !insn_condition_111 (operands, insn))
25976 629 : return -1;
25977 : return 1851; /* *sqrtsf2_sse */
25978 :
25979 13710 : case E_DFmode:
25980 13710 : if (!register_operand (operands[0], E_DFmode)
25981 13654 : || GET_MODE (x3) != E_DFmode
25982 13654 : || !nonimmediate_operand (operands[1], E_DFmode)
25983 13710 : || !insn_condition_112 (operands, insn))
25984 1766 : return -1;
25985 : return 1852; /* *sqrtdf2_sse */
25986 :
25987 : default:
25988 : return -1;
25989 : }
25990 : }
25991 :
25992 : int
25993 129850 : recog_368 (rtx x1 ATTRIBUTE_UNUSED,
25994 : rtx_insn *insn ATTRIBUTE_UNUSED,
25995 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25996 : {
25997 129850 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25998 129850 : rtx x2, x3;
25999 129850 : int res ATTRIBUTE_UNUSED;
26000 129850 : switch (pattern8 (x1, pnum_clobbers))
26001 : {
26002 6 : case 0:
26003 6 : if (!insn_condition_398 (operands, insn))
26004 : return -1;
26005 6 : *pnum_clobbers = 1;
26006 6 : return 1975; /* *uminti3_doubleword */
26007 :
26008 566 : case 1:
26009 566 : if (!insn_condition_399 (operands, insn))
26010 : return -1;
26011 566 : *pnum_clobbers = 1;
26012 566 : return 1979; /* *uminqi3_1 */
26013 :
26014 44 : case 2:
26015 44 : if (!insn_condition_400 (operands, insn))
26016 : return -1;
26017 44 : *pnum_clobbers = 1;
26018 44 : return 1983; /* *uminhi3_1 */
26019 :
26020 42 : case 3:
26021 42 : if (!insn_condition_115 (operands, insn))
26022 0 : return -1;
26023 : return 2341; /* uminv4hi3 */
26024 :
26025 66 : case 4:
26026 66 : if (!insn_condition_115 (operands, insn))
26027 0 : return -1;
26028 : return 2343; /* uminv2si3 */
26029 :
26030 147 : case 5:
26031 147 : if (!insn_condition_1993 (operands, insn))
26032 0 : return -1;
26033 : return 2345; /* *mmx_uminv8qi3 */
26034 :
26035 80 : case 6:
26036 80 : if (!insn_condition_141 (operands, insn))
26037 0 : return -1;
26038 : return 2347; /* uminv4qi3 */
26039 :
26040 23 : case 7:
26041 23 : if (!insn_condition_141 (operands, insn))
26042 0 : return -1;
26043 : return 2349; /* uminv2qi3 */
26044 :
26045 5 : case 8:
26046 5 : if (!insn_condition_92 (operands, insn))
26047 0 : return -1;
26048 : return 2351; /* uminv2hi3 */
26049 :
26050 0 : case 9:
26051 0 : x2 = XEXP (x1, 1);
26052 0 : x3 = XEXP (x2, 1);
26053 0 : if (rtx_equal_p (x3, operands[1])
26054 0 : && insn_condition_1994 (operands, insn))
26055 : {
26056 0 : *pnum_clobbers = 1;
26057 0 : return 1994; /* *plus_within_uminhi3_1 */
26058 : }
26059 0 : if (!rtx_equal_p (x3, operands[2])
26060 0 : || !insn_condition_1994 (operands, insn))
26061 : return -1;
26062 0 : *pnum_clobbers = 1;
26063 0 : return 1995; /* *plus_within_uminhi3_2 */
26064 :
26065 0 : case 10:
26066 0 : if (!insn_condition_1994 (operands, insn))
26067 : return -1;
26068 0 : *pnum_clobbers = 1;
26069 0 : return 2005; /* *minus_within_uminhi3 */
26070 :
26071 : default:
26072 : return -1;
26073 : }
26074 : }
26075 :
26076 : int
26077 102933 : recog_375 (rtx x1 ATTRIBUTE_UNUSED,
26078 : rtx_insn *insn ATTRIBUTE_UNUSED,
26079 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26080 : {
26081 102933 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26082 102933 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
26083 102933 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
26084 102933 : rtx x18;
26085 102933 : int res ATTRIBUTE_UNUSED;
26086 102933 : x2 = XVECEXP (x1, 0, 0);
26087 102933 : x3 = XEXP (x2, 1);
26088 102933 : switch (XINT (x3, 1))
26089 : {
26090 67425 : case 36:
26091 67425 : if (GET_MODE (x3) != E_CCGZmode)
26092 : return -1;
26093 67425 : x4 = XVECEXP (x3, 0, 2);
26094 67425 : if (GET_CODE (x4) != LTU)
26095 : return -1;
26096 62724 : x5 = XEXP (x4, 0);
26097 62724 : if (GET_CODE (x5) != REG
26098 61195 : || REGNO (x5) != 17
26099 118487 : || GET_MODE (x5) != E_CCmode)
26100 : return -1;
26101 55760 : x6 = XEXP (x4, 1);
26102 55760 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
26103 : return -1;
26104 55760 : x7 = XEXP (x2, 0);
26105 55760 : if (GET_CODE (x7) != REG
26106 55760 : || REGNO (x7) != 17
26107 111520 : || GET_MODE (x7) != E_CCGZmode)
26108 : return -1;
26109 55760 : x8 = XVECEXP (x1, 0, 1);
26110 55760 : if (GET_CODE (x8) != CLOBBER)
26111 : return -1;
26112 52281 : x9 = XVECEXP (x3, 0, 0);
26113 52281 : operands[1] = x9;
26114 52281 : x10 = XVECEXP (x3, 0, 1);
26115 52281 : operands[2] = x10;
26116 52281 : x11 = XEXP (x8, 0);
26117 52281 : operands[0] = x11;
26118 52281 : switch (GET_MODE (operands[1]))
26119 : {
26120 31119 : case E_SImode:
26121 31119 : if (pattern1740 (x4,
26122 : E_SImode) != 0
26123 31119 : || !insn_condition_51 (operands, insn))
26124 1018 : return -1;
26125 : return 550; /* subsi3_carry_ccgz */
26126 :
26127 9778 : case E_DImode:
26128 9778 : if (pattern1740 (x4,
26129 : E_DImode) != 0
26130 9778 : || !insn_condition_52 (operands, insn))
26131 43 : return -1;
26132 : return 551; /* subdi3_carry_ccgz */
26133 :
26134 : default:
26135 : return -1;
26136 : }
26137 :
26138 660 : case 21:
26139 660 : x4 = XVECEXP (x3, 0, 2);
26140 660 : if (GET_CODE (x4) != REG
26141 660 : || REGNO (x4) != 7
26142 1320 : || pattern377 (x1) != 0)
26143 : return -1;
26144 645 : x9 = XVECEXP (x3, 0, 0);
26145 645 : operands[1] = x9;
26146 645 : if (!tls_symbolic_operand (operands[1], E_VOIDmode))
26147 : return -1;
26148 645 : x10 = XVECEXP (x3, 0, 1);
26149 645 : operands[2] = x10;
26150 645 : switch (GET_MODE (operands[0]))
26151 : {
26152 114 : case E_SImode:
26153 114 : if (pattern1608 (x3,
26154 : E_SImode) != 0
26155 114 : || !insn_condition_607 (operands, insn))
26156 30 : return -1;
26157 : return 1808; /* *tls_dynamic_gnu2_call_64_si */
26158 :
26159 531 : case E_DImode:
26160 531 : if (pattern1608 (x3,
26161 : E_DImode) != 0
26162 531 : || !insn_condition_608 (operands, insn))
26163 118 : return -1;
26164 : return 1809; /* *tls_dynamic_gnu2_call_64_di */
26165 :
26166 : default:
26167 : return -1;
26168 : }
26169 :
26170 138 : case 49:
26171 138 : if (GET_MODE (x3) != E_V8QImode)
26172 : return -1;
26173 138 : x8 = XVECEXP (x1, 0, 1);
26174 138 : if (GET_CODE (x8) != CLOBBER)
26175 : return -1;
26176 126 : x7 = XEXP (x2, 0);
26177 126 : operands[0] = x7;
26178 126 : if (pattern975 (x1) != 0
26179 126 : || !insn_condition_121 (operands, insn))
26180 39 : return -1;
26181 : return 7296; /* *ssse3_pshufbv8qi3 */
26182 :
26183 326 : case 131:
26184 326 : if (pattern575 (x1,
26185 : 131,
26186 : 3) != 0)
26187 : return -1;
26188 272 : x9 = XVECEXP (x3, 0, 0);
26189 272 : operands[1] = x9;
26190 272 : if (!register_operand (operands[1], E_V16QImode))
26191 : return -1;
26192 268 : x10 = XVECEXP (x3, 0, 1);
26193 268 : operands[2] = x10;
26194 268 : if (!nonimmediate_operand (operands[2], E_V16QImode))
26195 : return -1;
26196 268 : x4 = XVECEXP (x3, 0, 2);
26197 268 : operands[3] = x4;
26198 268 : if (!const_0_to_255_operand (operands[3], E_SImode))
26199 : return -1;
26200 268 : x8 = XVECEXP (x1, 0, 1);
26201 268 : x12 = XEXP (x8, 1);
26202 268 : x13 = XVECEXP (x12, 0, 0);
26203 268 : if (!rtx_equal_p (x13, operands[1]))
26204 : return -1;
26205 268 : x14 = XVECEXP (x12, 0, 1);
26206 268 : if (!rtx_equal_p (x14, operands[2]))
26207 : return -1;
26208 268 : x15 = XVECEXP (x12, 0, 2);
26209 268 : if (!rtx_equal_p (x15, operands[3]))
26210 : return -1;
26211 268 : switch (pattern1838 (x3))
26212 : {
26213 123 : case 0:
26214 123 : if (!insn_condition_169 (operands, insn))
26215 0 : return -1;
26216 : return 7658; /* sse4_2_pcmpistri */
26217 :
26218 145 : case 1:
26219 145 : if (!insn_condition_169 (operands, insn))
26220 0 : return -1;
26221 : return 7659; /* sse4_2_pcmpistrm */
26222 :
26223 : default:
26224 : return -1;
26225 : }
26226 :
26227 8588 : case 152:
26228 8588 : x4 = XVECEXP (x3, 0, 2);
26229 8588 : if (GET_CODE (x4) != MEM)
26230 : return -1;
26231 8588 : x5 = XEXP (x4, 0);
26232 8588 : if (GET_CODE (x5) != UNSPEC
26233 8588 : || XVECLEN (x5, 0) != 3
26234 8588 : || XINT (x5, 1) != 153)
26235 : return -1;
26236 8588 : x8 = XVECEXP (x1, 0, 1);
26237 8588 : if (GET_CODE (x8) != CLOBBER)
26238 : return -1;
26239 8366 : x7 = XEXP (x2, 0);
26240 8366 : operands[0] = x7;
26241 8366 : x16 = XVECEXP (x5, 0, 2);
26242 8366 : if (!const1248_operand (x16, E_SImode))
26243 : return -1;
26244 8366 : x9 = XVECEXP (x3, 0, 0);
26245 8366 : switch (GET_CODE (x9))
26246 : {
26247 3680 : case REG:
26248 3680 : case SUBREG:
26249 3680 : operands[1] = x9;
26250 3680 : x10 = XVECEXP (x3, 0, 1);
26251 3680 : operands[7] = x10;
26252 3680 : operands[6] = x4;
26253 3680 : x17 = XVECEXP (x5, 0, 0);
26254 3680 : operands[4] = x17;
26255 3680 : x18 = XVECEXP (x5, 0, 1);
26256 3680 : operands[3] = x18;
26257 3680 : operands[5] = x16;
26258 3680 : x11 = XEXP (x8, 0);
26259 3680 : operands[2] = x11;
26260 3680 : switch (GET_MODE (operands[0]))
26261 : {
26262 316 : case E_V16SImode:
26263 316 : if (!register_operand (operands[0], E_V16SImode)
26264 315 : || GET_MODE (x3) != E_V16SImode
26265 631 : || !vsib_mem_operator (operands[6], E_SImode))
26266 : return -1;
26267 315 : switch (GET_MODE (operands[1]))
26268 : {
26269 134 : case E_V16SImode:
26270 134 : if (!register_operand (operands[1], E_V16SImode))
26271 : return -1;
26272 134 : switch (pattern1895 (x5,
26273 : E_HImode,
26274 : E_V16SImode))
26275 : {
26276 0 : case 0:
26277 0 : if (!insn_condition_1513 (operands, insn))
26278 0 : return -1;
26279 : return 8437; /* *avx512f_gathersiv16si */
26280 :
26281 122 : case 1:
26282 122 : if (!insn_condition_1514 (operands, insn))
26283 0 : return -1;
26284 : return 8438; /* *avx512f_gathersiv16si */
26285 :
26286 : default:
26287 : return -1;
26288 : }
26289 :
26290 181 : case E_V8SImode:
26291 181 : if (!register_operand (operands[1], E_V8SImode))
26292 : return -1;
26293 181 : switch (pattern1895 (x5,
26294 : E_QImode,
26295 : E_V8DImode))
26296 : {
26297 0 : case 0:
26298 0 : if (!insn_condition_1513 (operands, insn))
26299 0 : return -1;
26300 : return 8485; /* *avx512f_gatherdiv16si */
26301 :
26302 166 : case 1:
26303 166 : if (!insn_condition_1514 (operands, insn))
26304 0 : return -1;
26305 : return 8486; /* *avx512f_gatherdiv16si */
26306 :
26307 : default:
26308 : return -1;
26309 : }
26310 :
26311 : default:
26312 : return -1;
26313 : }
26314 :
26315 311 : case E_V16SFmode:
26316 311 : if (!register_operand (operands[0], E_V16SFmode)
26317 310 : || GET_MODE (x3) != E_V16SFmode
26318 621 : || !vsib_mem_operator (operands[6], E_SFmode))
26319 : return -1;
26320 310 : switch (GET_MODE (operands[1]))
26321 : {
26322 127 : case E_V16SFmode:
26323 127 : if (!register_operand (operands[1], E_V16SFmode))
26324 : return -1;
26325 127 : switch (pattern1895 (x5,
26326 : E_HImode,
26327 : E_V16SImode))
26328 : {
26329 0 : case 0:
26330 0 : if (!insn_condition_1513 (operands, insn))
26331 0 : return -1;
26332 : return 8439; /* *avx512f_gathersiv16sf */
26333 :
26334 116 : case 1:
26335 116 : if (!insn_condition_1514 (operands, insn))
26336 0 : return -1;
26337 : return 8440; /* *avx512f_gathersiv16sf */
26338 :
26339 : default:
26340 : return -1;
26341 : }
26342 :
26343 183 : case E_V8SFmode:
26344 183 : if (!register_operand (operands[1], E_V8SFmode))
26345 : return -1;
26346 183 : switch (pattern1895 (x5,
26347 : E_QImode,
26348 : E_V8DImode))
26349 : {
26350 0 : case 0:
26351 0 : if (!insn_condition_1513 (operands, insn))
26352 0 : return -1;
26353 : return 8487; /* *avx512f_gatherdiv16sf */
26354 :
26355 168 : case 1:
26356 168 : if (!insn_condition_1514 (operands, insn))
26357 0 : return -1;
26358 : return 8488; /* *avx512f_gatherdiv16sf */
26359 :
26360 : default:
26361 : return -1;
26362 : }
26363 :
26364 : default:
26365 : return -1;
26366 : }
26367 :
26368 328 : case E_V8DImode:
26369 328 : switch (pattern1808 (x3,
26370 : E_DImode,
26371 : E_V8DImode))
26372 : {
26373 0 : case 0:
26374 0 : if (!insn_condition_1513 (operands, insn))
26375 0 : return -1;
26376 : return 8441; /* *avx512f_gathersiv8di */
26377 :
26378 0 : case 1:
26379 0 : if (!insn_condition_1513 (operands, insn))
26380 0 : return -1;
26381 : return 8489; /* *avx512f_gatherdiv8di */
26382 :
26383 160 : case 2:
26384 160 : if (!insn_condition_1514 (operands, insn))
26385 0 : return -1;
26386 : return 8442; /* *avx512f_gathersiv8di */
26387 :
26388 127 : case 3:
26389 127 : if (!insn_condition_1514 (operands, insn))
26390 0 : return -1;
26391 : return 8490; /* *avx512f_gatherdiv8di */
26392 :
26393 : default:
26394 : return -1;
26395 : }
26396 :
26397 304 : case E_V8DFmode:
26398 304 : switch (pattern1808 (x3,
26399 : E_DFmode,
26400 : E_V8DFmode))
26401 : {
26402 0 : case 0:
26403 0 : if (!insn_condition_1513 (operands, insn))
26404 0 : return -1;
26405 : return 8443; /* *avx512f_gathersiv8df */
26406 :
26407 0 : case 1:
26408 0 : if (!insn_condition_1513 (operands, insn))
26409 0 : return -1;
26410 : return 8491; /* *avx512f_gatherdiv8df */
26411 :
26412 139 : case 2:
26413 139 : if (!insn_condition_1514 (operands, insn))
26414 0 : return -1;
26415 : return 8444; /* *avx512f_gathersiv8df */
26416 :
26417 129 : case 3:
26418 129 : if (!insn_condition_1514 (operands, insn))
26419 0 : return -1;
26420 : return 8492; /* *avx512f_gatherdiv8df */
26421 :
26422 : default:
26423 : return -1;
26424 : }
26425 :
26426 310 : case E_V8SImode:
26427 310 : if (pattern1809 (x3,
26428 : E_SImode,
26429 : E_V8SImode) != 0)
26430 : return -1;
26431 310 : switch (GET_MODE (operands[1]))
26432 : {
26433 112 : case E_V8SImode:
26434 112 : if (!register_operand (operands[1], E_V8SImode))
26435 : return -1;
26436 112 : switch (pattern1905 (x5,
26437 : E_V8SImode))
26438 : {
26439 0 : case 0:
26440 0 : if (!insn_condition_1543 (operands, insn))
26441 0 : return -1;
26442 : return 8445; /* *avx512f_gathersiv8si */
26443 :
26444 110 : case 1:
26445 110 : if (!insn_condition_1544 (operands, insn))
26446 0 : return -1;
26447 : return 8446; /* *avx512f_gathersiv8si */
26448 :
26449 : default:
26450 : return -1;
26451 : }
26452 :
26453 198 : case E_V4SImode:
26454 198 : if (!register_operand (operands[1], E_V4SImode))
26455 : return -1;
26456 198 : switch (pattern1905 (x5,
26457 : E_V4DImode))
26458 : {
26459 0 : case 0:
26460 0 : if (!insn_condition_1543 (operands, insn))
26461 0 : return -1;
26462 : return 8493; /* *avx512f_gatherdiv8si */
26463 :
26464 186 : case 1:
26465 186 : if (!insn_condition_1544 (operands, insn))
26466 0 : return -1;
26467 : return 8494; /* *avx512f_gatherdiv8si */
26468 :
26469 : default:
26470 : return -1;
26471 : }
26472 :
26473 : default:
26474 : return -1;
26475 : }
26476 :
26477 270 : case E_V8SFmode:
26478 270 : if (pattern1809 (x3,
26479 : E_SFmode,
26480 : E_V8SFmode) != 0)
26481 : return -1;
26482 270 : switch (GET_MODE (operands[1]))
26483 : {
26484 104 : case E_V8SFmode:
26485 104 : if (!register_operand (operands[1], E_V8SFmode))
26486 : return -1;
26487 104 : switch (pattern1905 (x5,
26488 : E_V8SImode))
26489 : {
26490 0 : case 0:
26491 0 : if (!insn_condition_1543 (operands, insn))
26492 0 : return -1;
26493 : return 8447; /* *avx512f_gathersiv8sf */
26494 :
26495 102 : case 1:
26496 102 : if (!insn_condition_1544 (operands, insn))
26497 0 : return -1;
26498 : return 8448; /* *avx512f_gathersiv8sf */
26499 :
26500 : default:
26501 : return -1;
26502 : }
26503 :
26504 166 : case E_V4SFmode:
26505 166 : if (!register_operand (operands[1], E_V4SFmode))
26506 : return -1;
26507 166 : switch (pattern1905 (x5,
26508 : E_V4DImode))
26509 : {
26510 0 : case 0:
26511 0 : if (!insn_condition_1543 (operands, insn))
26512 0 : return -1;
26513 : return 8495; /* *avx512f_gatherdiv8sf */
26514 :
26515 160 : case 1:
26516 160 : if (!insn_condition_1544 (operands, insn))
26517 0 : return -1;
26518 : return 8496; /* *avx512f_gatherdiv8sf */
26519 :
26520 : default:
26521 : return -1;
26522 : }
26523 :
26524 : default:
26525 : return -1;
26526 : }
26527 :
26528 276 : case E_V4DImode:
26529 276 : switch (pattern1811 (x3,
26530 : E_DImode,
26531 : E_V4DImode))
26532 : {
26533 0 : case 0:
26534 0 : if (!insn_condition_1543 (operands, insn))
26535 0 : return -1;
26536 : return 8449; /* *avx512f_gathersiv4di */
26537 :
26538 0 : case 1:
26539 0 : if (!insn_condition_1543 (operands, insn))
26540 0 : return -1;
26541 : return 8497; /* *avx512f_gatherdiv4di */
26542 :
26543 144 : case 2:
26544 144 : if (!insn_condition_1544 (operands, insn))
26545 0 : return -1;
26546 : return 8450; /* *avx512f_gathersiv4di */
26547 :
26548 111 : case 3:
26549 111 : if (!insn_condition_1544 (operands, insn))
26550 0 : return -1;
26551 : return 8498; /* *avx512f_gatherdiv4di */
26552 :
26553 : default:
26554 : return -1;
26555 : }
26556 :
26557 250 : case E_V4DFmode:
26558 250 : switch (pattern1811 (x3,
26559 : E_DFmode,
26560 : E_V4DFmode))
26561 : {
26562 0 : case 0:
26563 0 : if (!insn_condition_1543 (operands, insn))
26564 0 : return -1;
26565 : return 8451; /* *avx512f_gathersiv4df */
26566 :
26567 0 : case 1:
26568 0 : if (!insn_condition_1543 (operands, insn))
26569 0 : return -1;
26570 : return 8499; /* *avx512f_gatherdiv4df */
26571 :
26572 122 : case 2:
26573 122 : if (!insn_condition_1544 (operands, insn))
26574 0 : return -1;
26575 : return 8452; /* *avx512f_gathersiv4df */
26576 :
26577 111 : case 3:
26578 111 : if (!insn_condition_1544 (operands, insn))
26579 0 : return -1;
26580 : return 8500; /* *avx512f_gatherdiv4df */
26581 :
26582 : default:
26583 : return -1;
26584 : }
26585 :
26586 372 : case E_V4SImode:
26587 372 : switch (pattern1813 (x3,
26588 : E_SImode,
26589 : E_V4SImode))
26590 : {
26591 0 : case 0:
26592 0 : if (!insn_condition_1543 (operands, insn))
26593 0 : return -1;
26594 : return 8453; /* *avx512f_gathersiv4si */
26595 :
26596 0 : case 1:
26597 0 : if (!insn_condition_1543 (operands, insn))
26598 0 : return -1;
26599 : return 8501; /* *avx512f_gatherdiv4si */
26600 :
26601 126 : case 2:
26602 126 : if (!insn_condition_1544 (operands, insn))
26603 0 : return -1;
26604 : return 8454; /* *avx512f_gathersiv4si */
26605 :
26606 226 : case 3:
26607 226 : if (!insn_condition_1544 (operands, insn))
26608 0 : return -1;
26609 : return 8502; /* *avx512f_gatherdiv4si */
26610 :
26611 : default:
26612 : return -1;
26613 : }
26614 :
26615 324 : case E_V4SFmode:
26616 324 : switch (pattern1813 (x3,
26617 : E_SFmode,
26618 : E_V4SFmode))
26619 : {
26620 0 : case 0:
26621 0 : if (!insn_condition_1543 (operands, insn))
26622 0 : return -1;
26623 : return 8455; /* *avx512f_gathersiv4sf */
26624 :
26625 0 : case 1:
26626 0 : if (!insn_condition_1543 (operands, insn))
26627 0 : return -1;
26628 : return 8503; /* *avx512f_gatherdiv4sf */
26629 :
26630 118 : case 2:
26631 118 : if (!insn_condition_1544 (operands, insn))
26632 0 : return -1;
26633 : return 8456; /* *avx512f_gathersiv4sf */
26634 :
26635 192 : case 3:
26636 192 : if (!insn_condition_1544 (operands, insn))
26637 0 : return -1;
26638 : return 8504; /* *avx512f_gatherdiv4sf */
26639 :
26640 : default:
26641 : return -1;
26642 : }
26643 :
26644 321 : case E_V2DImode:
26645 321 : switch (pattern1813 (x3,
26646 : E_DImode,
26647 : E_V2DImode))
26648 : {
26649 0 : case 0:
26650 0 : if (!insn_condition_1543 (operands, insn))
26651 0 : return -1;
26652 : return 8457; /* *avx512f_gathersiv2di */
26653 :
26654 0 : case 1:
26655 0 : if (!insn_condition_1543 (operands, insn))
26656 0 : return -1;
26657 : return 8505; /* *avx512f_gatherdiv2di */
26658 :
26659 184 : case 2:
26660 184 : if (!insn_condition_1544 (operands, insn))
26661 0 : return -1;
26662 : return 8458; /* *avx512f_gathersiv2di */
26663 :
26664 120 : case 3:
26665 120 : if (!insn_condition_1544 (operands, insn))
26666 0 : return -1;
26667 : return 8506; /* *avx512f_gatherdiv2di */
26668 :
26669 : default:
26670 : return -1;
26671 : }
26672 :
26673 298 : case E_V2DFmode:
26674 298 : switch (pattern1813 (x3,
26675 : E_DFmode,
26676 : E_V2DFmode))
26677 : {
26678 0 : case 0:
26679 0 : if (!insn_condition_1543 (operands, insn))
26680 0 : return -1;
26681 : return 8459; /* *avx512f_gathersiv2df */
26682 :
26683 0 : case 1:
26684 0 : if (!insn_condition_1543 (operands, insn))
26685 0 : return -1;
26686 : return 8507; /* *avx512f_gatherdiv2df */
26687 :
26688 162 : case 2:
26689 162 : if (!insn_condition_1544 (operands, insn))
26690 0 : return -1;
26691 : return 8460; /* *avx512f_gathersiv2df */
26692 :
26693 120 : case 3:
26694 120 : if (!insn_condition_1544 (operands, insn))
26695 0 : return -1;
26696 : return 8508; /* *avx512f_gatherdiv2df */
26697 :
26698 : default:
26699 : return -1;
26700 : }
26701 :
26702 : default:
26703 : return -1;
26704 : }
26705 :
26706 3513 : case PC:
26707 3513 : x10 = XVECEXP (x3, 0, 1);
26708 3513 : operands[6] = x10;
26709 3513 : operands[5] = x4;
26710 3513 : x17 = XVECEXP (x5, 0, 0);
26711 3513 : operands[3] = x17;
26712 3513 : x18 = XVECEXP (x5, 0, 1);
26713 3513 : operands[2] = x18;
26714 3513 : operands[4] = x16;
26715 3513 : x11 = XEXP (x8, 0);
26716 3513 : operands[1] = x11;
26717 3513 : switch (GET_MODE (operands[0]))
26718 : {
26719 607 : case E_V16SImode:
26720 607 : switch (pattern1778 (x3,
26721 : E_SImode,
26722 : E_V16SImode))
26723 : {
26724 0 : case 0:
26725 0 : if (!insn_condition_1513 (operands, insn))
26726 0 : return -1;
26727 : return 8461; /* *avx512f_gathersiv16si_2 */
26728 :
26729 128 : case 1:
26730 128 : if (!insn_condition_1514 (operands, insn))
26731 0 : return -1;
26732 : return 8462; /* *avx512f_gathersiv16si_2 */
26733 :
26734 0 : case 2:
26735 0 : if (!insn_condition_1513 (operands, insn))
26736 0 : return -1;
26737 : return 8509; /* *avx512f_gatherdiv16si_2 */
26738 :
26739 211 : case 3:
26740 211 : if (!insn_condition_1514 (operands, insn))
26741 0 : return -1;
26742 : return 8510; /* *avx512f_gatherdiv16si_2 */
26743 :
26744 : default:
26745 : return -1;
26746 : }
26747 :
26748 798 : case E_V16SFmode:
26749 798 : switch (pattern1778 (x3,
26750 : E_SFmode,
26751 : E_V16SFmode))
26752 : {
26753 0 : case 0:
26754 0 : if (!insn_condition_1513 (operands, insn))
26755 0 : return -1;
26756 : return 8463; /* *avx512f_gathersiv16sf_2 */
26757 :
26758 191 : case 1:
26759 191 : if (!insn_condition_1514 (operands, insn))
26760 0 : return -1;
26761 : return 8464; /* *avx512f_gathersiv16sf_2 */
26762 :
26763 0 : case 2:
26764 0 : if (!insn_condition_1513 (operands, insn))
26765 0 : return -1;
26766 : return 8511; /* *avx512f_gatherdiv16sf_2 */
26767 :
26768 245 : case 3:
26769 245 : if (!insn_condition_1514 (operands, insn))
26770 0 : return -1;
26771 : return 8512; /* *avx512f_gatherdiv16sf_2 */
26772 :
26773 : default:
26774 : return -1;
26775 : }
26776 :
26777 697 : case E_V8DImode:
26778 697 : switch (pattern1780 (x3,
26779 : E_DImode,
26780 : E_V8DImode))
26781 : {
26782 0 : case 0:
26783 0 : if (!insn_condition_1513 (operands, insn))
26784 0 : return -1;
26785 : return 8465; /* *avx512f_gathersiv8di_2 */
26786 :
26787 0 : case 1:
26788 0 : if (!insn_condition_1513 (operands, insn))
26789 0 : return -1;
26790 : return 8513; /* *avx512f_gatherdiv8di_2 */
26791 :
26792 177 : case 2:
26793 177 : if (!insn_condition_1514 (operands, insn))
26794 0 : return -1;
26795 : return 8466; /* *avx512f_gathersiv8di_2 */
26796 :
26797 201 : case 3:
26798 201 : if (!insn_condition_1514 (operands, insn))
26799 0 : return -1;
26800 : return 8514; /* *avx512f_gatherdiv8di_2 */
26801 :
26802 : default:
26803 : return -1;
26804 : }
26805 :
26806 746 : case E_V8DFmode:
26807 746 : switch (pattern1780 (x3,
26808 : E_DFmode,
26809 : E_V8DFmode))
26810 : {
26811 0 : case 0:
26812 0 : if (!insn_condition_1513 (operands, insn))
26813 0 : return -1;
26814 : return 8467; /* *avx512f_gathersiv8df_2 */
26815 :
26816 0 : case 1:
26817 0 : if (!insn_condition_1513 (operands, insn))
26818 0 : return -1;
26819 : return 8515; /* *avx512f_gatherdiv8df_2 */
26820 :
26821 215 : case 2:
26822 215 : if (!insn_condition_1514 (operands, insn))
26823 0 : return -1;
26824 : return 8468; /* *avx512f_gathersiv8df_2 */
26825 :
26826 183 : case 3:
26827 183 : if (!insn_condition_1514 (operands, insn))
26828 0 : return -1;
26829 : return 8516; /* *avx512f_gatherdiv8df_2 */
26830 :
26831 : default:
26832 : return -1;
26833 : }
26834 :
26835 89 : case E_V8SImode:
26836 89 : switch (pattern1782 (x3,
26837 : E_SImode,
26838 : E_V8SImode))
26839 : {
26840 0 : case 0:
26841 0 : if (!insn_condition_1543 (operands, insn))
26842 0 : return -1;
26843 : return 8469; /* *avx512f_gathersiv8si_2 */
26844 :
26845 0 : case 1:
26846 0 : if (!insn_condition_1543 (operands, insn))
26847 0 : return -1;
26848 : return 8517; /* *avx512f_gatherdiv8si_2 */
26849 :
26850 17 : case 2:
26851 17 : if (!insn_condition_1544 (operands, insn))
26852 0 : return -1;
26853 : return 8470; /* *avx512f_gathersiv8si_2 */
26854 :
26855 41 : case 3:
26856 41 : if (!insn_condition_1544 (operands, insn))
26857 0 : return -1;
26858 : return 8518; /* *avx512f_gatherdiv8si_2 */
26859 :
26860 : default:
26861 : return -1;
26862 : }
26863 :
26864 88 : case E_V8SFmode:
26865 88 : switch (pattern1782 (x3,
26866 : E_SFmode,
26867 : E_V8SFmode))
26868 : {
26869 0 : case 0:
26870 0 : if (!insn_condition_1543 (operands, insn))
26871 0 : return -1;
26872 : return 8471; /* *avx512f_gathersiv8sf_2 */
26873 :
26874 0 : case 1:
26875 0 : if (!insn_condition_1543 (operands, insn))
26876 0 : return -1;
26877 : return 8519; /* *avx512f_gatherdiv8sf_2 */
26878 :
26879 17 : case 2:
26880 17 : if (!insn_condition_1544 (operands, insn))
26881 0 : return -1;
26882 : return 8472; /* *avx512f_gathersiv8sf_2 */
26883 :
26884 41 : case 3:
26885 41 : if (!insn_condition_1544 (operands, insn))
26886 0 : return -1;
26887 : return 8520; /* *avx512f_gatherdiv8sf_2 */
26888 :
26889 : default:
26890 : return -1;
26891 : }
26892 :
26893 69 : case E_V4DImode:
26894 69 : switch (pattern1784 (x3,
26895 : E_DImode,
26896 : E_V4DImode))
26897 : {
26898 0 : case 0:
26899 0 : if (!insn_condition_1543 (operands, insn))
26900 0 : return -1;
26901 : return 8473; /* *avx512f_gathersiv4di_2 */
26902 :
26903 0 : case 1:
26904 0 : if (!insn_condition_1543 (operands, insn))
26905 0 : return -1;
26906 : return 8521; /* *avx512f_gatherdiv4di_2 */
26907 :
26908 17 : case 2:
26909 17 : if (!insn_condition_1544 (operands, insn))
26910 0 : return -1;
26911 : return 8474; /* *avx512f_gathersiv4di_2 */
26912 :
26913 29 : case 3:
26914 29 : if (!insn_condition_1544 (operands, insn))
26915 0 : return -1;
26916 : return 8522; /* *avx512f_gatherdiv4di_2 */
26917 :
26918 : default:
26919 : return -1;
26920 : }
26921 :
26922 111 : case E_V4DFmode:
26923 111 : switch (pattern1784 (x3,
26924 : E_DFmode,
26925 : E_V4DFmode))
26926 : {
26927 0 : case 0:
26928 0 : if (!insn_condition_1543 (operands, insn))
26929 0 : return -1;
26930 : return 8475; /* *avx512f_gathersiv4df_2 */
26931 :
26932 0 : case 1:
26933 0 : if (!insn_condition_1543 (operands, insn))
26934 0 : return -1;
26935 : return 8523; /* *avx512f_gatherdiv4df_2 */
26936 :
26937 17 : case 2:
26938 17 : if (!insn_condition_1544 (operands, insn))
26939 0 : return -1;
26940 : return 8476; /* *avx512f_gathersiv4df_2 */
26941 :
26942 48 : case 3:
26943 48 : if (!insn_condition_1544 (operands, insn))
26944 0 : return -1;
26945 : return 8524; /* *avx512f_gatherdiv4df_2 */
26946 :
26947 : default:
26948 : return -1;
26949 : }
26950 :
26951 88 : case E_V4SImode:
26952 88 : switch (pattern1786 (x3,
26953 : E_SImode,
26954 : E_V4SImode))
26955 : {
26956 0 : case 0:
26957 0 : if (!insn_condition_1543 (operands, insn))
26958 0 : return -1;
26959 : return 8477; /* *avx512f_gathersiv4si_2 */
26960 :
26961 0 : case 1:
26962 0 : if (!insn_condition_1543 (operands, insn))
26963 0 : return -1;
26964 : return 8525; /* *avx512f_gatherdiv4si_2 */
26965 :
26966 17 : case 2:
26967 17 : if (!insn_condition_1544 (operands, insn))
26968 0 : return -1;
26969 : return 8478; /* *avx512f_gathersiv4si_2 */
26970 :
26971 41 : case 3:
26972 41 : if (!insn_condition_1544 (operands, insn))
26973 0 : return -1;
26974 : return 8526; /* *avx512f_gatherdiv4si_2 */
26975 :
26976 : default:
26977 : return -1;
26978 : }
26979 :
26980 86 : case E_V4SFmode:
26981 86 : switch (pattern1786 (x3,
26982 : E_SFmode,
26983 : E_V4SFmode))
26984 : {
26985 0 : case 0:
26986 0 : if (!insn_condition_1543 (operands, insn))
26987 0 : return -1;
26988 : return 8479; /* *avx512f_gathersiv4sf_2 */
26989 :
26990 0 : case 1:
26991 0 : if (!insn_condition_1543 (operands, insn))
26992 0 : return -1;
26993 : return 8527; /* *avx512f_gatherdiv4sf_2 */
26994 :
26995 17 : case 2:
26996 17 : if (!insn_condition_1544 (operands, insn))
26997 0 : return -1;
26998 : return 8480; /* *avx512f_gathersiv4sf_2 */
26999 :
27000 41 : case 3:
27001 41 : if (!insn_condition_1544 (operands, insn))
27002 0 : return -1;
27003 : return 8528; /* *avx512f_gatherdiv4sf_2 */
27004 :
27005 : default:
27006 : return -1;
27007 : }
27008 :
27009 67 : case E_V2DImode:
27010 67 : switch (pattern1786 (x3,
27011 : E_DImode,
27012 : E_V2DImode))
27013 : {
27014 0 : case 0:
27015 0 : if (!insn_condition_1543 (operands, insn))
27016 0 : return -1;
27017 : return 8481; /* *avx512f_gathersiv2di_2 */
27018 :
27019 0 : case 1:
27020 0 : if (!insn_condition_1543 (operands, insn))
27021 0 : return -1;
27022 : return 8529; /* *avx512f_gatherdiv2di_2 */
27023 :
27024 17 : case 2:
27025 17 : if (!insn_condition_1544 (operands, insn))
27026 0 : return -1;
27027 : return 8482; /* *avx512f_gathersiv2di_2 */
27028 :
27029 29 : case 3:
27030 29 : if (!insn_condition_1544 (operands, insn))
27031 0 : return -1;
27032 : return 8530; /* *avx512f_gatherdiv2di_2 */
27033 :
27034 : default:
27035 : return -1;
27036 : }
27037 :
27038 67 : case E_V2DFmode:
27039 67 : switch (pattern1786 (x3,
27040 : E_DFmode,
27041 : E_V2DFmode))
27042 : {
27043 0 : case 0:
27044 0 : if (!insn_condition_1543 (operands, insn))
27045 0 : return -1;
27046 : return 8483; /* *avx512f_gathersiv2df_2 */
27047 :
27048 0 : case 1:
27049 0 : if (!insn_condition_1543 (operands, insn))
27050 0 : return -1;
27051 : return 8531; /* *avx512f_gatherdiv2df_2 */
27052 :
27053 17 : case 2:
27054 17 : if (!insn_condition_1544 (operands, insn))
27055 0 : return -1;
27056 : return 8484; /* *avx512f_gathersiv2df_2 */
27057 :
27058 29 : case 3:
27059 29 : if (!insn_condition_1544 (operands, insn))
27060 0 : return -1;
27061 : return 8532; /* *avx512f_gatherdiv2df_2 */
27062 :
27063 : default:
27064 : return -1;
27065 : }
27066 :
27067 : default:
27068 : return -1;
27069 : }
27070 :
27071 : default:
27072 : return -1;
27073 : }
27074 :
27075 : default:
27076 : return -1;
27077 : }
27078 : }
27079 :
27080 : int
27081 231454 : recog_393 (rtx x1 ATTRIBUTE_UNUSED,
27082 : rtx_insn *insn ATTRIBUTE_UNUSED,
27083 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27084 : {
27085 231454 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27086 231454 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27087 231454 : rtx x10, x11;
27088 231454 : int res ATTRIBUTE_UNUSED;
27089 231454 : x2 = XVECEXP (x1, 0, 0);
27090 231454 : x3 = XEXP (x2, 1);
27091 231454 : x4 = XEXP (x3, 1);
27092 231454 : x5 = XEXP (x4, 0);
27093 231454 : x6 = XEXP (x5, 0);
27094 231454 : if (GET_CODE (x6) != REG
27095 231448 : || REGNO (x6) != 17
27096 462902 : || GET_MODE (x6) != E_CCmode)
27097 : return -1;
27098 177709 : x7 = XVECEXP (x1, 0, 1);
27099 177709 : if (GET_CODE (x7) != CLOBBER)
27100 : return -1;
27101 169025 : x8 = XEXP (x7, 0);
27102 169025 : operands[0] = x8;
27103 169025 : x9 = XEXP (x4, 1);
27104 169025 : switch (GET_CODE (x9))
27105 : {
27106 168233 : case ZERO_EXTEND:
27107 168233 : x10 = XEXP (x9, 0);
27108 168233 : operands[2] = x10;
27109 168233 : x11 = XEXP (x3, 0);
27110 168233 : switch (GET_MODE (x11))
27111 : {
27112 94395 : case E_DImode:
27113 94395 : if (pattern1824 (x4,
27114 : E_SImode,
27115 : E_DImode) != 0
27116 94395 : || !insn_condition_51 (operands, insn))
27117 1528 : return -1;
27118 : return 546; /* subsi3_carry_ccc */
27119 :
27120 73838 : case E_TImode:
27121 73838 : if (pattern1824 (x4,
27122 : E_DImode,
27123 : E_TImode) != 0
27124 73838 : || !insn_condition_52 (operands, insn))
27125 86 : return -1;
27126 : return 547; /* subdi3_carry_ccc */
27127 :
27128 : default:
27129 : return -1;
27130 : }
27131 :
27132 792 : case CONST_INT:
27133 792 : case CONST_WIDE_INT:
27134 792 : operands[2] = x9;
27135 792 : x11 = XEXP (x3, 0);
27136 792 : switch (GET_MODE (x11))
27137 : {
27138 0 : case E_DImode:
27139 0 : if (pattern1825 (x4,
27140 : E_SImode,
27141 : E_DImode) != 0
27142 0 : || !insn_condition_51 (operands, insn))
27143 0 : return -1;
27144 : return 548; /* *subsi3_carry_ccc_1 */
27145 :
27146 792 : case E_TImode:
27147 792 : if (pattern1825 (x4,
27148 : E_DImode,
27149 : E_TImode) != 0
27150 792 : || !insn_condition_52 (operands, insn))
27151 720 : return -1;
27152 : return 549; /* *subdi3_carry_ccc_1 */
27153 :
27154 : default:
27155 : return -1;
27156 : }
27157 :
27158 : default:
27159 : return -1;
27160 : }
27161 : }
27162 :
27163 : int
27164 2528096 : recog_396 (rtx x1 ATTRIBUTE_UNUSED,
27165 : rtx_insn *insn ATTRIBUTE_UNUSED,
27166 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27167 : {
27168 2528096 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27169 2528096 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27170 2528096 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
27171 2528096 : rtx x18, x19;
27172 2528096 : int res ATTRIBUTE_UNUSED;
27173 2528096 : x2 = XVECEXP (x1, 0, 0);
27174 2528096 : x3 = XEXP (x2, 0);
27175 2528096 : if (GET_CODE (x3) != REG
27176 2528096 : || REGNO (x3) != 17)
27177 : return -1;
27178 2528096 : x4 = XEXP (x2, 1);
27179 2528096 : x5 = XEXP (x4, 0);
27180 2528096 : x6 = XEXP (x5, 0);
27181 2528096 : switch (GET_CODE (x6))
27182 : {
27183 2293817 : case REG:
27184 2293817 : case SUBREG:
27185 2293817 : case MEM:
27186 2293817 : operands[1] = x6;
27187 2293817 : x7 = XEXP (x5, 1);
27188 2293817 : operands[2] = x7;
27189 2293817 : x8 = XEXP (x4, 1);
27190 2293817 : switch (GET_CODE (x8))
27191 : {
27192 785688 : case CONST_INT:
27193 785688 : res = recog_390 (x1, insn, pnum_clobbers);
27194 785688 : if (res >= 0)
27195 : return res;
27196 : break;
27197 :
27198 1430939 : case REG:
27199 1430939 : case SUBREG:
27200 1430939 : case MEM:
27201 1430939 : res = recog_391 (x1, insn, pnum_clobbers);
27202 1430939 : if (res >= 0)
27203 : return res;
27204 : break;
27205 :
27206 : default:
27207 : break;
27208 : }
27209 1961172 : if (GET_MODE (x3) != E_CCCmode
27210 20173 : || GET_MODE (x4) != E_CCCmode)
27211 : return -1;
27212 20173 : x9 = XVECEXP (x1, 0, 1);
27213 20173 : switch (GET_CODE (x9))
27214 : {
27215 107 : case CLOBBER:
27216 107 : x10 = XEXP (x9, 0);
27217 107 : operands[0] = x10;
27218 107 : if (!rtx_equal_p (x8, operands[2]))
27219 : return -1;
27220 1 : switch (pattern1362 (x5))
27221 : {
27222 0 : case 0:
27223 0 : if (!insn_condition_48 (operands, insn))
27224 : return -1;
27225 : return 572; /* *addqi3_cconly_overflow_2 */
27226 :
27227 0 : case 1:
27228 0 : if (!insn_condition_48 (operands, insn))
27229 : return -1;
27230 : return 573; /* *addhi3_cconly_overflow_2 */
27231 :
27232 0 : case 2:
27233 2167380 : if (!insn_condition_48 (operands, insn))
27234 : return -1;
27235 : return 574; /* *addsi3_cconly_overflow_2 */
27236 :
27237 1 : case 3:
27238 1 : if (!insn_condition_49 (operands, insn))
27239 : return -1;
27240 : return 575; /* *adddi3_cconly_overflow_2 */
27241 :
27242 : default:
27243 : return -1;
27244 : }
27245 :
27246 20066 : case SET:
27247 20066 : x10 = XEXP (x9, 0);
27248 20066 : operands[0] = x10;
27249 20066 : x11 = XEXP (x9, 1);
27250 20066 : switch (GET_CODE (x11))
27251 : {
27252 19355 : case PLUS:
27253 19355 : x12 = XEXP (x11, 0);
27254 19355 : if (!rtx_equal_p (x12, operands[1]))
27255 : return -1;
27256 18623 : x13 = XEXP (x11, 1);
27257 18623 : if (!rtx_equal_p (x13, operands[2]))
27258 : return -1;
27259 17465 : switch (GET_MODE (x5))
27260 : {
27261 495 : case E_QImode:
27262 495 : if (pattern1682 (x1,
27263 : E_QImode) != 0
27264 495 : || !insn_condition_449 (operands, insn))
27265 : return -1;
27266 : return 576; /* *addqi3_cc_overflow_2 */
27267 :
27268 15 : case E_HImode:
27269 15 : if (pattern1682 (x1,
27270 : E_HImode) != 0
27271 15 : || !insn_condition_450 (operands, insn))
27272 : return -1;
27273 : return 577; /* *addhi3_cc_overflow_2 */
27274 :
27275 1383 : case E_SImode:
27276 1383 : if (!nonimmediate_operand (operands[1], E_SImode)
27277 1368 : || !x86_64_general_operand (operands[2], E_SImode)
27278 1354 : || !nonimmediate_operand (operands[0], E_SImode)
27279 1354 : || GET_MODE (x11) != E_SImode
27280 1354 : || !rtx_equal_p (x8, operands[2])
27281 2607 : || !insn_condition_595 (operands, insn))
27282 : return -1;
27283 : return 578; /* *addsi3_cc_overflow_2 */
27284 :
27285 15491 : case E_DImode:
27286 15491 : if (!nonimmediate_operand (operands[1], E_DImode)
27287 15490 : || !nonimmediate_operand (operands[0], E_DImode)
27288 30981 : || GET_MODE (x11) != E_DImode)
27289 : return -1;
27290 15490 : if (x86_64_general_operand (operands[2], E_DImode)
27291 13666 : && rtx_equal_p (x8, operands[2])
27292 16319 : && insn_condition_596 (operands, insn))
27293 : return 579; /* *adddi3_cc_overflow_2 */
27294 14686 : if (!x86_64_hilo_general_operand (operands[2], E_DImode)
27295 12862 : || !rtx_equal_p (x8, operands[1])
27296 27494 : || !insn_condition_586 (operands, insn))
27297 : return -1;
27298 : return 581; /* *adddi3_doubleword_cc_overflow_1 */
27299 :
27300 : default:
27301 : return -1;
27302 : }
27303 :
27304 8 : case ZERO_EXTEND:
27305 8 : if (GET_MODE (x11) != E_DImode)
27306 : return -1;
27307 0 : x12 = XEXP (x11, 0);
27308 0 : if (GET_CODE (x12) != PLUS
27309 0 : || GET_MODE (x12) != E_SImode
27310 0 : || GET_MODE (x5) != E_SImode
27311 0 : || !nonimmediate_operand (operands[1], E_SImode)
27312 0 : || !x86_64_general_operand (operands[2], E_SImode)
27313 0 : || !register_operand (operands[0], E_DImode)
27314 0 : || !rtx_equal_p (x8, operands[2]))
27315 : return -1;
27316 0 : x14 = XEXP (x12, 0);
27317 0 : if (!rtx_equal_p (x14, operands[1]))
27318 : return -1;
27319 0 : x15 = XEXP (x12, 1);
27320 0 : if (!rtx_equal_p (x15, operands[2])
27321 0 : || !insn_condition_696 (operands, insn))
27322 : return -1;
27323 : return 580; /* *addsi3_zext_cc_overflow_2 */
27324 :
27325 : default:
27326 : return -1;
27327 : }
27328 :
27329 : default:
27330 : return -1;
27331 : }
27332 :
27333 35568 : case PLUS:
27334 35568 : x16 = XEXP (x6, 0);
27335 35568 : switch (GET_CODE (x16))
27336 : {
27337 3974 : case LTU:
27338 3974 : case UNLT:
27339 3974 : operands[4] = x16;
27340 3974 : x17 = XEXP (x16, 1);
27341 3974 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27342 : return -1;
27343 3928 : x8 = XEXP (x4, 1);
27344 3928 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27345 : return -1;
27346 3626 : x9 = XVECEXP (x1, 0, 1);
27347 3626 : if (GET_CODE (x9) != SET)
27348 : return -1;
27349 3626 : x11 = XEXP (x9, 1);
27350 3626 : if (pattern1361 (x11) != 0)
27351 : return -1;
27352 3626 : x18 = XEXP (x16, 0);
27353 3626 : operands[3] = x18;
27354 3626 : if (!flags_reg_operand (operands[3], E_VOIDmode))
27355 : return -1;
27356 3626 : x19 = XEXP (x6, 1);
27357 3626 : operands[1] = x19;
27358 3626 : x7 = XEXP (x5, 1);
27359 3626 : operands[2] = x7;
27360 3626 : x10 = XEXP (x9, 0);
27361 3626 : operands[0] = x10;
27362 3626 : x12 = XEXP (x11, 0);
27363 3626 : x15 = XEXP (x12, 1);
27364 3626 : if (!rtx_equal_p (x15, operands[1]))
27365 : return -1;
27366 3598 : x13 = XEXP (x11, 1);
27367 3598 : if (!rtx_equal_p (x13, operands[2]))
27368 : return -1;
27369 3598 : switch (GET_MODE (x5))
27370 : {
27371 0 : case E_QImode:
27372 0 : if (pattern1863 (x1,
27373 : E_QImode) != 0
27374 0 : || !insn_condition_2107 (operands, insn))
27375 : return -1;
27376 : return 462; /* *addqi3_carry_2 */
27377 :
27378 0 : case E_HImode:
27379 0 : if (pattern1863 (x1,
27380 : E_HImode) != 0
27381 0 : || !insn_condition_2108 (operands, insn))
27382 : return -1;
27383 : return 463; /* *addhi3_carry_2 */
27384 :
27385 242 : case E_SImode:
27386 242 : if (pattern1865 (x1,
27387 : E_SImode) != 0
27388 242 : || !insn_condition_2109 (operands, insn))
27389 : return -1;
27390 : return 464; /* *addsi3_carry_2 */
27391 :
27392 3356 : case E_DImode:
27393 3356 : if (pattern1865 (x1,
27394 : E_DImode) != 0
27395 3356 : || !insn_condition_2110 (operands, insn))
27396 : return -1;
27397 : return 465; /* *adddi3_carry_2 */
27398 :
27399 : default:
27400 : return -1;
27401 : }
27402 :
27403 : default:
27404 : return -1;
27405 : }
27406 :
27407 25785 : case LTU:
27408 25785 : case UNLT:
27409 25785 : if (pattern856 (x1) != 0)
27410 : return -1;
27411 60 : x9 = XVECEXP (x1, 0, 1);
27412 60 : x11 = XEXP (x9, 1);
27413 60 : x12 = XEXP (x11, 0);
27414 60 : switch (GET_CODE (x12))
27415 : {
27416 36 : case LTU:
27417 36 : case UNLT:
27418 36 : switch (pattern1466 (x1))
27419 : {
27420 0 : case 0:
27421 0 : if (pattern1788 (x11,
27422 : E_QImode) != 0
27423 0 : || !insn_condition_2125 (operands, insn))
27424 : return -1;
27425 : return 470; /* *addqi3_carry_0_cc */
27426 :
27427 0 : case 1:
27428 0 : if (pattern1788 (x11,
27429 : E_HImode) != 0
27430 0 : || !insn_condition_2125 (operands, insn))
27431 : return -1;
27432 : return 471; /* *addhi3_carry_0_cc */
27433 :
27434 4 : case 2:
27435 4 : if (pattern1788 (x11,
27436 : E_SImode) != 0
27437 4 : || !insn_condition_2125 (operands, insn))
27438 : return -1;
27439 : return 472; /* *addsi3_carry_0_cc */
27440 :
27441 32 : case 3:
27442 32 : if (pattern1788 (x11,
27443 : E_DImode) != 0
27444 32 : || !insn_condition_2126 (operands, insn))
27445 : return -1;
27446 : return 473; /* *adddi3_carry_0_cc */
27447 :
27448 : default:
27449 : return -1;
27450 : }
27451 :
27452 : default:
27453 : return -1;
27454 : }
27455 :
27456 16 : case GE:
27457 16 : case GEU:
27458 16 : if (pattern856 (x1) != 0)
27459 : return -1;
27460 5 : x9 = XVECEXP (x1, 0, 1);
27461 5 : x11 = XEXP (x9, 1);
27462 5 : x12 = XEXP (x11, 0);
27463 5 : switch (GET_CODE (x12))
27464 : {
27465 5 : case GE:
27466 5 : case GEU:
27467 5 : switch (pattern1466 (x1))
27468 : {
27469 2 : case 0:
27470 2 : if (pattern1789 (x11,
27471 : E_QImode) != 0
27472 2 : || !insn_condition_2125 (operands, insn))
27473 : return -1;
27474 : return 478; /* *addqi3_carry_0r_cc */
27475 :
27476 0 : case 1:
27477 0 : if (pattern1789 (x11,
27478 : E_HImode) != 0
27479 0 : || !insn_condition_2125 (operands, insn))
27480 : return -1;
27481 : return 479; /* *addhi3_carry_0r_cc */
27482 :
27483 3 : case 2:
27484 3 : if (pattern1789 (x11,
27485 : E_SImode) != 0
27486 3 : || !insn_condition_2125 (operands, insn))
27487 : return -1;
27488 : return 480; /* *addsi3_carry_0r_cc */
27489 :
27490 0 : case 3:
27491 0 : if (pattern1789 (x11,
27492 : E_DImode) != 0
27493 0 : || !insn_condition_2126 (operands, insn))
27494 : return -1;
27495 : return 481; /* *adddi3_carry_0r_cc */
27496 :
27497 : default:
27498 : return -1;
27499 : }
27500 :
27501 : default:
27502 : return -1;
27503 : }
27504 :
27505 13192 : case UNSPEC_VOLATILE:
27506 13192 : if (XVECLEN (x6, 0) != 2
27507 13192 : || XINT (x6, 1) != 126)
27508 : return -1;
27509 13192 : x8 = XEXP (x4, 1);
27510 13192 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27511 : return -1;
27512 13192 : x9 = XVECEXP (x1, 0, 1);
27513 13192 : if (GET_CODE (x9) != SET)
27514 : return -1;
27515 13192 : switch (pattern1271 (x1,
27516 : PLUS))
27517 : {
27518 : case 0:
27519 : return 9905; /* atomic_add_fetch_cmp_0qi_1 */
27520 :
27521 640 : case 1:
27522 640 : return 9906; /* atomic_add_fetch_cmp_0hi_1 */
27523 :
27524 9039 : case 2:
27525 9039 : return 9907; /* atomic_add_fetch_cmp_0si_1 */
27526 :
27527 938 : case 3:
27528 938 : if (!insn_condition_52 (operands, insn))
27529 : return -1;
27530 : return 9908; /* atomic_add_fetch_cmp_0di_1 */
27531 :
27532 : default:
27533 : return -1;
27534 : }
27535 :
27536 : default:
27537 : return -1;
27538 : }
27539 : }
27540 :
27541 : int
27542 5936757 : recog_404 (rtx x1 ATTRIBUTE_UNUSED,
27543 : rtx_insn *insn ATTRIBUTE_UNUSED,
27544 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27545 : {
27546 5936757 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27547 5936757 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27548 5936757 : int res ATTRIBUTE_UNUSED;
27549 5936757 : x2 = XVECEXP (x1, 0, 0);
27550 5936757 : x3 = XEXP (x2, 1);
27551 5936757 : x4 = XEXP (x3, 1);
27552 5936757 : switch (GET_CODE (x4))
27553 : {
27554 5559742 : case CONST_INT:
27555 5559742 : case CONST_WIDE_INT:
27556 5559742 : case CONST_POLY_INT:
27557 5559742 : case CONST_FIXED:
27558 5559742 : case CONST_DOUBLE:
27559 5559742 : case CONST_VECTOR:
27560 5559742 : case CONST:
27561 5559742 : case REG:
27562 5559742 : case SUBREG:
27563 5559742 : case MEM:
27564 5559742 : case LABEL_REF:
27565 5559742 : case SYMBOL_REF:
27566 5559742 : case HIGH:
27567 5559742 : operands[2] = x4;
27568 5559742 : res = recog_403 (x1, insn, pnum_clobbers);
27569 5559742 : if (res >= 0)
27570 : return res;
27571 972830 : if (GET_CODE (x4) != SUBREG
27572 103358 : || maybe_ne (SUBREG_BYTE (x4), 0)
27573 1076182 : || GET_MODE (x4) != E_QImode)
27574 : return -1;
27575 6578 : x5 = XEXP (x4, 0);
27576 6578 : switch (GET_CODE (x5))
27577 : {
27578 831 : case ASHIFTRT:
27579 831 : case LSHIFTRT:
27580 831 : case SIGN_EXTRACT:
27581 831 : case ZERO_EXTRACT:
27582 831 : operands[3] = x5;
27583 831 : x6 = XVECEXP (x1, 0, 1);
27584 831 : if (pattern286 (x6,
27585 : E_CCmode,
27586 : 17) != 0
27587 126 : || GET_MODE (x3) != E_QImode
27588 957 : || !nonimmediate_operand (operands[1], E_QImode))
27589 : return -1;
27590 91 : x7 = XEXP (x5, 0);
27591 91 : operands[2] = x7;
27592 91 : if (!int248_register_operand (operands[2], E_VOIDmode))
27593 : return -1;
27594 89 : x8 = XEXP (x2, 0);
27595 89 : switch (GET_CODE (x8))
27596 : {
27597 6 : case STRICT_LOW_PART:
27598 6 : x9 = XEXP (x8, 0);
27599 6 : operands[0] = x9;
27600 6 : if (!register_operand (operands[0], E_QImode))
27601 : return -1;
27602 6 : switch (pattern1827 ())
27603 : {
27604 2 : case 0:
27605 2 : if (!insn_condition_194 (operands, insn))
27606 : return -1;
27607 : return 410; /* *subqi_exthi_1_slp */
27608 :
27609 2 : case 1:
27610 2 : if (!insn_condition_194 (operands, insn))
27611 : return -1;
27612 : return 411; /* *subqi_extsi_1_slp */
27613 :
27614 2 : case 2:
27615 2 : if (!insn_condition_195 (operands, insn))
27616 : return -1;
27617 : return 412; /* *subqi_extdi_1_slp */
27618 :
27619 : default:
27620 : return -1;
27621 : }
27622 :
27623 83 : case REG:
27624 83 : case SUBREG:
27625 83 : case MEM:
27626 83 : operands[0] = x8;
27627 83 : if (!nonimmediate_operand (operands[0], E_QImode))
27628 : return -1;
27629 83 : switch (pattern1827 ())
27630 : {
27631 : case 0:
27632 : return 421; /* *subqi_exthi_0 */
27633 :
27634 12 : case 1:
27635 12 : return 422; /* *subqi_extsi_0 */
27636 :
27637 5 : case 2:
27638 5 : if (!insn_condition_52 (operands, insn))
27639 : return -1;
27640 : return 423; /* *subqi_extdi_0 */
27641 :
27642 : default:
27643 : return -1;
27644 : }
27645 :
27646 : default:
27647 : return -1;
27648 : }
27649 :
27650 : default:
27651 : return -1;
27652 : }
27653 :
27654 27175 : case ZERO_EXTEND:
27655 27175 : x6 = XVECEXP (x1, 0, 1);
27656 27175 : if (pattern384 (x6) != 0)
27657 : return -1;
27658 25476 : switch (pattern1204 (x2))
27659 : {
27660 7608 : case 0:
27661 7608 : if (!insn_condition_592 (operands, insn))
27662 : return -1;
27663 : return 387; /* *subdi3_doubleword_zext */
27664 :
27665 977 : case 1:
27666 977 : if (!insn_condition_448 (operands, insn))
27667 : return -1;
27668 : return 388; /* *subti3_doubleword_zext */
27669 :
27670 : default:
27671 : return -1;
27672 : }
27673 :
27674 13644 : case LTU:
27675 13644 : case UNLT:
27676 13644 : switch (pattern728 (x1))
27677 : {
27678 11816 : case 0:
27679 11816 : if (pattern1613 (x3,
27680 : E_QImode) != 0
27681 11816 : || !insn_condition_456 (operands, insn))
27682 : return -1;
27683 : return 512; /* *subqi3_carry_0 */
27684 :
27685 12 : case 1:
27686 12 : if (pattern1613 (x3,
27687 : E_HImode) != 0
27688 12 : || !insn_condition_456 (operands, insn))
27689 : return -1;
27690 : return 513; /* *subhi3_carry_0 */
27691 :
27692 1173 : case 2:
27693 1173 : if (pattern1613 (x3,
27694 : E_SImode) != 0
27695 1173 : || !insn_condition_456 (operands, insn))
27696 : return -1;
27697 : return 514; /* *subsi3_carry_0 */
27698 :
27699 397 : case 3:
27700 397 : if (pattern1613 (x3,
27701 : E_DImode) != 0
27702 397 : || !insn_condition_601 (operands, insn))
27703 : return -1;
27704 : return 515; /* *subdi3_carry_0 */
27705 :
27706 : default:
27707 : return -1;
27708 : }
27709 :
27710 1652 : case GE:
27711 1652 : case GEU:
27712 1652 : switch (pattern728 (x1))
27713 : {
27714 56 : case 0:
27715 56 : if (pattern1614 (x3,
27716 : E_QImode) != 0
27717 56 : || !insn_condition_456 (operands, insn))
27718 : return -1;
27719 : return 520; /* *subqi3_carry_0r */
27720 :
27721 4 : case 1:
27722 4 : if (pattern1614 (x3,
27723 : E_HImode) != 0
27724 4 : || !insn_condition_456 (operands, insn))
27725 : return -1;
27726 : return 521; /* *subhi3_carry_0r */
27727 :
27728 61 : case 2:
27729 61 : if (pattern1614 (x3,
27730 : E_SImode) != 0
27731 61 : || !insn_condition_456 (operands, insn))
27732 : return -1;
27733 : return 522; /* *subsi3_carry_0r */
27734 :
27735 79 : case 3:
27736 79 : if (pattern1614 (x3,
27737 : E_DImode) != 0
27738 79 : || !insn_condition_601 (operands, insn))
27739 : return -1;
27740 : return 523; /* *subdi3_carry_0r */
27741 :
27742 : default:
27743 : return -1;
27744 : }
27745 :
27746 788 : case EQ:
27747 788 : switch (pattern732 (x1))
27748 : {
27749 171 : case 0:
27750 171 : if (!insn_condition_472 (operands, insn))
27751 : return -1;
27752 : return 611; /* *subqi3_eq_0 */
27753 :
27754 0 : case 1:
27755 0 : if (!insn_condition_473 (operands, insn))
27756 : return -1;
27757 : return 612; /* *subhi3_eq_0 */
27758 :
27759 87 : case 2:
27760 87 : if (!insn_condition_772 (operands, insn))
27761 : return -1;
27762 : return 613; /* *subsi3_eq_0 */
27763 :
27764 82 : case 3:
27765 82 : if (!insn_condition_773 (operands, insn))
27766 : return -1;
27767 : return 614; /* *subdi3_eq_0 */
27768 :
27769 : default:
27770 : return -1;
27771 : }
27772 :
27773 8910 : case NE:
27774 8910 : switch (pattern732 (x1))
27775 : {
27776 6 : case 0:
27777 6 : if (!insn_condition_472 (operands, insn))
27778 : return -1;
27779 : return 615; /* *subqi3_ne_0 */
27780 :
27781 8 : case 1:
27782 8 : if (!insn_condition_473 (operands, insn))
27783 : return -1;
27784 : return 616; /* *subhi3_ne_0 */
27785 :
27786 244 : case 2:
27787 244 : if (!insn_condition_772 (operands, insn))
27788 : return -1;
27789 : return 617; /* *subsi3_ne_0 */
27790 :
27791 5524 : case 3:
27792 5524 : if (!insn_condition_773 (operands, insn))
27793 : return -1;
27794 : return 618; /* *subdi3_ne_0 */
27795 :
27796 : default:
27797 : return -1;
27798 : }
27799 :
27800 : default:
27801 : return -1;
27802 : }
27803 : }
27804 :
27805 : int
27806 24186 : recog_409 (rtx x1 ATTRIBUTE_UNUSED,
27807 : rtx_insn *insn ATTRIBUTE_UNUSED,
27808 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27809 : {
27810 24186 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27811 24186 : rtx x2, x3, x4, x5, x6, x7;
27812 24186 : int res ATTRIBUTE_UNUSED;
27813 24186 : x2 = XVECEXP (x1, 0, 0);
27814 24186 : x3 = XEXP (x2, 1);
27815 24186 : x4 = XEXP (x3, 0);
27816 24186 : x5 = XEXP (x4, 0);
27817 24186 : switch (GET_CODE (x5))
27818 : {
27819 5780 : case ASHIFTRT:
27820 5780 : case LSHIFTRT:
27821 5780 : case SIGN_EXTRACT:
27822 5780 : case ZERO_EXTRACT:
27823 5780 : operands[3] = x5;
27824 5780 : x6 = XEXP (x5, 0);
27825 5780 : operands[2] = x6;
27826 5780 : switch (pattern1568 (x2))
27827 : {
27828 3 : case 0:
27829 3 : if (insn_condition_194 (operands, insn))
27830 : return 764; /* *iorqi_exthi_1_slp */
27831 : break;
27832 :
27833 2 : case 1:
27834 2 : if (insn_condition_194 (operands, insn))
27835 : return 767; /* *iorqi_extsi_1_slp */
27836 : break;
27837 :
27838 2 : case 2:
27839 2 : if (insn_condition_195 (operands, insn))
27840 : return 770; /* *iorqi_extdi_1_slp */
27841 : break;
27842 :
27843 : case 3:
27844 : return 788; /* *iorqi_exthi_0 */
27845 :
27846 30 : case 4:
27847 30 : return 791; /* *iorqi_extsi_0 */
27848 :
27849 23 : case 5:
27850 23 : if (insn_condition_52 (operands, insn))
27851 : return 794; /* *iorqi_extdi_0 */
27852 : break;
27853 :
27854 : default:
27855 : break;
27856 : }
27857 5682 : x7 = XEXP (x3, 1);
27858 5682 : if (GET_CODE (x7) != SUBREG)
27859 : return -1;
27860 762 : switch (pattern1572 (x2))
27861 : {
27862 1 : case 0:
27863 1 : if (!insn_condition_194 (operands, insn))
27864 : return -1;
27865 : return 773; /* *iorqi_exthi_2_slp */
27866 :
27867 1 : case 1:
27868 1 : if (!insn_condition_194 (operands, insn))
27869 : return -1;
27870 : return 776; /* *iorqi_extsi_2_slp */
27871 :
27872 1 : case 2:
27873 1 : if (!insn_condition_195 (operands, insn))
27874 : return -1;
27875 : return 779; /* *iorqi_extdi_2_slp */
27876 :
27877 : case 3:
27878 : return 797; /* *iorqi_ext2hi_0 */
27879 :
27880 7 : case 4:
27881 7 : return 800; /* *iorqi_ext2si_0 */
27882 :
27883 6 : case 5:
27884 6 : if (!insn_condition_52 (operands, insn))
27885 : return -1;
27886 : return 803; /* *iorqi_ext2di_0 */
27887 :
27888 : default:
27889 : return -1;
27890 : }
27891 :
27892 : default:
27893 : return -1;
27894 : }
27895 : }
27896 :
27897 : int
27898 4784129 : recog_412 (rtx x1 ATTRIBUTE_UNUSED,
27899 : rtx_insn *insn ATTRIBUTE_UNUSED,
27900 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27901 : {
27902 4784129 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27903 4784129 : rtx x2, x3, x4, x5;
27904 4784129 : int res ATTRIBUTE_UNUSED;
27905 4784129 : switch (pattern580 (x1))
27906 : {
27907 4654052 : case 0:
27908 4654052 : x2 = XVECEXP (x1, 0, 1);
27909 4654052 : x3 = XEXP (x2, 0);
27910 4654052 : if (GET_CODE (x3) != REG
27911 4654052 : || REGNO (x3) != 17
27912 9308104 : || GET_MODE (x3) != E_CCmode)
27913 : return -1;
27914 4654052 : switch (GET_MODE (operands[0]))
27915 : {
27916 1523138 : case E_DImode:
27917 1523138 : if (!nonimmediate_operand (operands[0], E_DImode))
27918 : return -1;
27919 1522923 : x4 = XVECEXP (x1, 0, 0);
27920 1522923 : x5 = XEXP (x4, 1);
27921 1522923 : if (GET_MODE (x5) != E_DImode
27922 1522923 : || !nonimmediate_operand (operands[1], E_DImode))
27923 : return -1;
27924 1515163 : if (x86_64_hilo_general_operand (operands[2], E_DImode)
27925 1515163 : && insn_condition_790 (operands, insn))
27926 : return 735; /* *anddi3_doubleword */
27927 1371463 : if (x86_64_szext_general_operand (operands[2], E_DImode)
27928 1371463 : && insn_condition_792 (operands, insn))
27929 : return 738; /* *anddi_1 */
27930 163041 : if (!const_int_operand (operands[2], E_DImode)
27931 163041 : || !insn_condition_793 (operands, insn))
27932 157071 : return -1;
27933 : return 739; /* *anddi_1_btr */
27934 :
27935 46920 : case E_TImode:
27936 46920 : x4 = XVECEXP (x1, 0, 0);
27937 46920 : x5 = XEXP (x4, 1);
27938 46920 : if (pattern586 (x5,
27939 : E_TImode) != 0
27940 46920 : || !insn_condition_324 (operands, insn))
27941 7007 : return -1;
27942 : return 736; /* *andti3_doubleword */
27943 :
27944 271883 : case E_HImode:
27945 271883 : x4 = XVECEXP (x1, 0, 0);
27946 271883 : x5 = XEXP (x4, 1);
27947 271883 : if (pattern587 (x5,
27948 : E_HImode) != 0
27949 271883 : || !insn_condition_326 (operands, insn))
27950 18318 : return -1;
27951 : return 752; /* *andhi_1 */
27952 :
27953 1565061 : case E_SImode:
27954 1565061 : x4 = XVECEXP (x1, 0, 0);
27955 1565061 : x5 = XEXP (x4, 1);
27956 1565061 : if (pattern588 (x5) != 0
27957 1565061 : || !insn_condition_795 (operands, insn))
27958 90058 : return -1;
27959 : return 754; /* *andsi_1 */
27960 :
27961 1245310 : case E_QImode:
27962 1245310 : x4 = XVECEXP (x1, 0, 0);
27963 1245310 : x5 = XEXP (x4, 1);
27964 1245310 : if (pattern587 (x5,
27965 : E_QImode) != 0
27966 1245310 : || !insn_condition_328 (operands, insn))
27967 81933 : return -1;
27968 : return 756; /* *andqi_1 */
27969 :
27970 438 : case E_V4QImode:
27971 438 : x4 = XVECEXP (x1, 0, 0);
27972 438 : x5 = XEXP (x4, 1);
27973 438 : if (pattern589 (x5,
27974 : E_V4QImode) != 0
27975 876 : || !insn_condition_332 (operands, insn))
27976 10 : return -1;
27977 : return 2443; /* *andv4qi3 */
27978 :
27979 772 : case E_V2QImode:
27980 772 : x4 = XVECEXP (x1, 0, 0);
27981 772 : x5 = XEXP (x4, 1);
27982 772 : if (pattern589 (x5,
27983 : E_V2QImode) != 0
27984 1544 : || !insn_condition_333 (operands, insn))
27985 5 : return -1;
27986 : return 2446; /* *andv2qi3 */
27987 :
27988 530 : case E_V2HImode:
27989 530 : x4 = XVECEXP (x1, 0, 0);
27990 530 : x5 = XEXP (x4, 1);
27991 530 : if (pattern589 (x5,
27992 : E_V2HImode) != 0
27993 1060 : || !insn_condition_334 (operands, insn))
27994 22 : return -1;
27995 : return 2449; /* *andv2hi3 */
27996 :
27997 : default:
27998 : return -1;
27999 : }
28000 :
28001 9501 : case 1:
28002 9501 : switch (pattern591 (x1))
28003 : {
28004 4214 : case 0:
28005 4214 : if (!insn_condition_27 (operands, insn))
28006 0 : return -1;
28007 : return 2747; /* kandqi */
28008 :
28009 458 : case 1:
28010 458 : if (!insn_condition_27 (operands, insn))
28011 0 : return -1;
28012 : return 2750; /* kandhi */
28013 :
28014 63 : case 2:
28015 63 : if (!insn_condition_120 (operands, insn))
28016 0 : return -1;
28017 : return 2753; /* kandsi */
28018 :
28019 64 : case 3:
28020 64 : if (!insn_condition_120 (operands, insn))
28021 0 : return -1;
28022 : return 2756; /* kanddi */
28023 :
28024 : default:
28025 : return -1;
28026 : }
28027 :
28028 361 : case 2:
28029 361 : if (!insn_condition_194 (operands, insn))
28030 0 : return -1;
28031 : return 757; /* *andqi_1_slp */
28032 :
28033 3 : case 3:
28034 3 : if (!insn_condition_194 (operands, insn))
28035 0 : return -1;
28036 : return 760; /* *andhi_1_slp */
28037 :
28038 : default:
28039 : return -1;
28040 : }
28041 : }
28042 :
28043 : int
28044 5620573 : recog_414 (rtx x1 ATTRIBUTE_UNUSED,
28045 : rtx_insn *insn ATTRIBUTE_UNUSED,
28046 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28047 : {
28048 5620573 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28049 5620573 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28050 5620573 : rtx x10, x11;
28051 5620573 : int res ATTRIBUTE_UNUSED;
28052 5620573 : x2 = XVECEXP (x1, 0, 0);
28053 5620573 : x3 = XEXP (x2, 1);
28054 5620573 : x4 = XEXP (x3, 0);
28055 5620573 : switch (GET_CODE (x4))
28056 : {
28057 4784129 : case REG:
28058 4784129 : case SUBREG:
28059 4784129 : case MEM:
28060 4784129 : operands[1] = x4;
28061 4784129 : res = recog_412 (x1, insn, pnum_clobbers);
28062 4784129 : if (res >= 0)
28063 : return res;
28064 487313 : if (GET_CODE (x4) != SUBREG
28065 487313 : || maybe_ne (SUBREG_BYTE (x4), 0))
28066 : return -1;
28067 112614 : x5 = XEXP (x4, 0);
28068 112614 : switch (GET_CODE (x5))
28069 : {
28070 41621 : case ASHIFTRT:
28071 41621 : case LSHIFTRT:
28072 41621 : case SIGN_EXTRACT:
28073 41621 : case ZERO_EXTRACT:
28074 41621 : operands[3] = x5;
28075 41621 : x6 = XVECEXP (x1, 0, 1);
28076 41621 : if (pattern286 (x6,
28077 : E_CCmode,
28078 : 17) != 0
28079 22176 : || GET_MODE (x3) != E_QImode
28080 53250 : || GET_MODE (x4) != E_QImode)
28081 : return -1;
28082 11629 : x7 = XEXP (x5, 0);
28083 11629 : operands[2] = x7;
28084 11629 : switch (pattern1568 (x2))
28085 : {
28086 2 : case 0:
28087 2 : if (insn_condition_194 (operands, insn))
28088 : return 763; /* *andqi_exthi_1_slp */
28089 : break;
28090 :
28091 2 : case 1:
28092 2 : if (insn_condition_194 (operands, insn))
28093 : return 766; /* *andqi_extsi_1_slp */
28094 : break;
28095 :
28096 2 : case 2:
28097 2 : if (insn_condition_195 (operands, insn))
28098 : return 769; /* *andqi_extdi_1_slp */
28099 : break;
28100 :
28101 : case 3:
28102 : return 787; /* *andqi_exthi_0 */
28103 :
28104 87 : case 4:
28105 87 : return 790; /* *andqi_extsi_0 */
28106 :
28107 12 : case 5:
28108 12 : if (insn_condition_52 (operands, insn))
28109 : return 793; /* *andqi_extdi_0 */
28110 : break;
28111 :
28112 : default:
28113 : break;
28114 : }
28115 11518 : x8 = XEXP (x3, 1);
28116 11518 : if (GET_CODE (x8) != SUBREG)
28117 : return -1;
28118 259 : switch (pattern1572 (x2))
28119 : {
28120 1 : case 0:
28121 1 : if (!insn_condition_194 (operands, insn))
28122 : return -1;
28123 : return 772; /* *andqi_exthi_2_slp */
28124 :
28125 1 : case 1:
28126 1 : if (!insn_condition_194 (operands, insn))
28127 : return -1;
28128 : return 775; /* *andqi_extsi_2_slp */
28129 :
28130 1 : case 2:
28131 1 : if (!insn_condition_195 (operands, insn))
28132 : return -1;
28133 : return 778; /* *andqi_extdi_2_slp */
28134 :
28135 : case 3:
28136 : return 796; /* *andqi_ext2hi_0 */
28137 :
28138 7 : case 4:
28139 7 : return 799; /* *andqi_ext2si_0 */
28140 :
28141 6 : case 5:
28142 6 : if (!insn_condition_52 (operands, insn))
28143 : return -1;
28144 : return 802; /* *andqi_ext2di_0 */
28145 :
28146 : default:
28147 : return -1;
28148 : }
28149 :
28150 92 : case ROTATE:
28151 92 : if (GET_MODE (x5) != E_SImode)
28152 : return -1;
28153 92 : x7 = XEXP (x5, 0);
28154 92 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + -2])
28155 : return -1;
28156 58 : x6 = XVECEXP (x1, 0, 1);
28157 58 : if (pattern401 (x6) != 0)
28158 : return -1;
28159 42 : switch (pattern1473 (x2))
28160 : {
28161 13 : case 0:
28162 13 : if (!insn_condition_198 (operands, insn))
28163 : return -1;
28164 : return 1541; /* *btrqi_1 */
28165 :
28166 8 : case 1:
28167 8 : if (!insn_condition_198 (operands, insn))
28168 : return -1;
28169 : return 1542; /* *btrhi_1 */
28170 :
28171 : default:
28172 : return -1;
28173 : }
28174 :
28175 70 : case CTZ:
28176 70 : switch (pattern860 (x1, pnum_clobbers))
28177 : {
28178 0 : case 0:
28179 0 : if (!insn_condition_796 (operands, insn))
28180 : return -1;
28181 : return 1648; /* *ctzsi2_zext */
28182 :
28183 0 : case 1:
28184 0 : if (!insn_condition_796 (operands, insn))
28185 : return -1;
28186 0 : *pnum_clobbers = 1;
28187 0 : return 1649; /* *ctzsi2_zext_falsedep */
28188 :
28189 : default:
28190 : return -1;
28191 : }
28192 :
28193 0 : case CLZ:
28194 0 : if (GET_MODE (x5) != E_SImode)
28195 : return -1;
28196 0 : x8 = XEXP (x3, 1);
28197 0 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
28198 : return -1;
28199 0 : x9 = XEXP (x2, 0);
28200 0 : operands[0] = x9;
28201 0 : if (!register_operand (operands[0], E_DImode)
28202 0 : || GET_MODE (x3) != E_DImode
28203 0 : || GET_MODE (x4) != E_DImode)
28204 : return -1;
28205 0 : x7 = XEXP (x5, 0);
28206 0 : operands[1] = x7;
28207 0 : x6 = XVECEXP (x1, 0, 1);
28208 0 : switch (pattern859 (x6, pnum_clobbers,
28209 : E_DImode))
28210 : {
28211 0 : case 0:
28212 0 : if (!nonimmediate_operand (operands[1], E_SImode)
28213 0 : || !insn_condition_726 (operands, insn))
28214 : return -1;
28215 : return 1678; /* *clzsi2_lzcnt_zext */
28216 :
28217 0 : case 1:
28218 0 : switch (GET_MODE (operands[1]))
28219 : {
28220 0 : case E_SImode:
28221 0 : if (!nonimmediate_operand (operands[1], E_SImode)
28222 0 : || !insn_condition_892 (operands, insn))
28223 : return -1;
28224 0 : *pnum_clobbers = 1;
28225 0 : return 1679; /* *clzsi2_lzcnt_zext_falsedep */
28226 :
28227 0 : case E_DImode:
28228 0 : if (!nonimmediate_operand (operands[1], E_DImode)
28229 0 : || !insn_condition_933 (operands, insn))
28230 : return -1;
28231 0 : *pnum_clobbers = 1;
28232 0 : return 1680; /* *clzsi2_lzcnt_zext_falsedep */
28233 :
28234 : default:
28235 : return -1;
28236 : }
28237 :
28238 : default:
28239 : return -1;
28240 : }
28241 :
28242 55 : case POPCOUNT:
28243 55 : switch (pattern860 (x1, pnum_clobbers))
28244 : {
28245 0 : case 0:
28246 0 : if (!insn_condition_727 (operands, insn))
28247 : return -1;
28248 : return 1770; /* *popcountsi2_zext */
28249 :
28250 0 : case 1:
28251 0 : if (!insn_condition_727 (operands, insn))
28252 : return -1;
28253 0 : *pnum_clobbers = 1;
28254 0 : return 1771; /* *popcountsi2_zext_falsedep */
28255 :
28256 : default:
28257 : return -1;
28258 : }
28259 :
28260 : default:
28261 : return -1;
28262 : }
28263 :
28264 80548 : case NOT:
28265 80548 : x9 = XEXP (x2, 0);
28266 80548 : operands[0] = x9;
28267 80548 : x5 = XEXP (x4, 0);
28268 80548 : switch (GET_CODE (x5))
28269 : {
28270 61015 : case REG:
28271 61015 : case SUBREG:
28272 61015 : operands[1] = x5;
28273 61015 : res = recog_413 (x1, insn, pnum_clobbers);
28274 61015 : if (res >= 0)
28275 : return res;
28276 52152 : if (GET_CODE (x5) != SUBREG
28277 11833 : || maybe_ne (SUBREG_BYTE (x5), 0)
28278 63985 : || GET_MODE (x5) != E_QImode)
28279 : return -1;
28280 10125 : x7 = XEXP (x5, 0);
28281 10125 : if (GET_CODE (x7) != LSHIFTRT)
28282 : return -1;
28283 72 : x8 = XEXP (x3, 1);
28284 72 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
28285 : return -1;
28286 68 : x6 = XVECEXP (x1, 0, 1);
28287 68 : if (pattern286 (x6,
28288 : E_CCmode,
28289 : 17) != 0)
28290 : return -1;
28291 41 : switch (pattern1575 (x3))
28292 : {
28293 15 : case 0:
28294 15 : if (!insn_condition_198 (operands, insn))
28295 : return -1;
28296 : return 1566; /* *btsi_setncqi */
28297 :
28298 8 : case 1:
28299 8 : if (!insn_condition_343 (operands, insn))
28300 : return -1;
28301 : return 1567; /* *btdi_setncqi */
28302 :
28303 : default:
28304 : return -1;
28305 : }
28306 :
28307 91 : case LSHIFTRT:
28308 91 : x8 = XEXP (x3, 1);
28309 91 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
28310 : return -1;
28311 37 : x6 = XVECEXP (x1, 0, 1);
28312 37 : if (pattern286 (x6,
28313 : E_CCmode,
28314 : 17) != 0)
28315 : return -1;
28316 37 : switch (pattern1279 (x3))
28317 : {
28318 17 : case 0:
28319 17 : if (!insn_condition_198 (operands, insn))
28320 : return -1;
28321 : return 1568; /* *btsi_setncsi */
28322 :
28323 6 : case 1:
28324 6 : if (!insn_condition_343 (operands, insn))
28325 : return -1;
28326 : return 1569; /* *btdi_setncdi */
28327 :
28328 : default:
28329 : return -1;
28330 : }
28331 :
28332 2361 : case ASHIFT:
28333 2361 : x7 = XEXP (x5, 0);
28334 2361 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
28335 : return -1;
28336 604 : x6 = XVECEXP (x1, 0, 1);
28337 604 : if (pattern286 (x6,
28338 : E_CCmode,
28339 : 17) != 0)
28340 : return -1;
28341 528 : switch (pattern1281 (x3))
28342 : {
28343 256 : case 0:
28344 256 : if (!insn_condition_800 (operands, insn))
28345 : return -1;
28346 : return 1734; /* *bmi2_bzhi_si3_3 */
28347 :
28348 175 : case 1:
28349 175 : if (!insn_condition_801 (operands, insn))
28350 : return -1;
28351 : return 1735; /* *bmi2_bzhi_di3_3 */
28352 :
28353 : default:
28354 : return -1;
28355 : }
28356 :
28357 : default:
28358 : return -1;
28359 : }
28360 :
28361 1102 : case ROTATE:
28362 1102 : x5 = XEXP (x4, 0);
28363 1102 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + -2]
28364 1102 : || pattern373 (x1) != 0)
28365 : return -1;
28366 276 : switch (pattern1205 (x3))
28367 : {
28368 251 : case 0:
28369 251 : x10 = XEXP (x4, 1);
28370 251 : operands[2] = x10;
28371 251 : if (register_operand (operands[2], E_QImode))
28372 : {
28373 186 : switch (pattern985 (x3))
28374 : {
28375 73 : case 0:
28376 73 : if (insn_condition_750 (operands, insn))
28377 : return 1535; /* *btrsi */
28378 : break;
28379 :
28380 30 : case 1:
28381 30 : if (insn_condition_751 (operands, insn))
28382 : return 1536; /* *btrdi */
28383 : break;
28384 :
28385 : default:
28386 : break;
28387 : }
28388 : }
28389 149 : if (GET_CODE (x10) != SUBREG)
28390 : return -1;
28391 144 : switch (pattern1371 (x3))
28392 : {
28393 3 : case 0:
28394 3 : if (!insn_condition_62 (operands, insn))
28395 : return -1;
28396 : return 1537; /* *btrsi_mask */
28397 :
28398 3 : case 1:
28399 3 : if (!insn_condition_63 (operands, insn))
28400 : return -1;
28401 : return 1538; /* *btrdi_mask */
28402 :
28403 : default:
28404 : return -1;
28405 : }
28406 :
28407 1 : case 1:
28408 1 : if (!insn_condition_62 (operands, insn))
28409 : return -1;
28410 : return 1539; /* *btrsi_mask_1 */
28411 :
28412 0 : case 2:
28413 0 : if (!insn_condition_63 (operands, insn))
28414 : return -1;
28415 : return 1540; /* *btrdi_mask_1 */
28416 :
28417 : default:
28418 : return -1;
28419 : }
28420 :
28421 25789 : case NEG:
28422 25789 : x6 = XVECEXP (x1, 0, 1);
28423 25789 : if (pattern401 (x6) != 0)
28424 : return -1;
28425 21638 : switch (pattern990 (x2))
28426 : {
28427 160 : case 0:
28428 160 : if (!insn_condition_56 (operands, insn))
28429 : return -1;
28430 : return 1708; /* *bmi_blsi_si */
28431 :
28432 271 : case 1:
28433 271 : if (!insn_condition_57 (operands, insn))
28434 : return -1;
28435 : return 1709; /* *bmi_blsi_di */
28436 :
28437 : default:
28438 : return -1;
28439 : }
28440 :
28441 246233 : case PLUS:
28442 246233 : x10 = XEXP (x4, 1);
28443 246233 : if (GET_CODE (x10) != CONST_INT
28444 246233 : || pattern373 (x1) != 0)
28445 : return -1;
28446 148383 : x5 = XEXP (x4, 0);
28447 148383 : switch (GET_CODE (x5))
28448 : {
28449 126067 : case REG:
28450 126067 : case SUBREG:
28451 126067 : case MEM:
28452 126067 : operands[1] = x5;
28453 126067 : switch (XWINT (x10, 0))
28454 : {
28455 11419 : case -1L:
28456 11419 : switch (pattern1370 (x3))
28457 : {
28458 1140 : case 0:
28459 1140 : if (!insn_condition_56 (operands, insn))
28460 : return -1;
28461 : return 1720; /* *bmi_blsr_si */
28462 :
28463 902 : case 1:
28464 902 : if (!insn_condition_57 (operands, insn))
28465 : return -1;
28466 : return 1721; /* *bmi_blsr_di */
28467 :
28468 20 : case 2:
28469 20 : if (!insn_condition_758 (operands, insn))
28470 : return -1;
28471 : return 1760; /* *tbm_tzmsk_si */
28472 :
28473 20 : case 3:
28474 20 : if (!insn_condition_759 (operands, insn))
28475 : return -1;
28476 : return 1761; /* *tbm_tzmsk_di */
28477 :
28478 : default:
28479 : return -1;
28480 : }
28481 :
28482 20471 : case 1L:
28483 20471 : switch (pattern1370 (x3))
28484 : {
28485 110 : case 0:
28486 110 : if (!insn_condition_758 (operands, insn))
28487 : return -1;
28488 : return 1744; /* *tbm_blcfill_si */
28489 :
28490 290 : case 1:
28491 290 : if (!insn_condition_759 (operands, insn))
28492 : return -1;
28493 : return 1745; /* *tbm_blcfill_di */
28494 :
28495 20 : case 2:
28496 20 : if (!insn_condition_758 (operands, insn))
28497 : return -1;
28498 : return 1748; /* *tbm_blcic_si */
28499 :
28500 84 : case 3:
28501 84 : if (!insn_condition_759 (operands, insn))
28502 : return -1;
28503 : return 1749; /* *tbm_blcic_di */
28504 :
28505 : default:
28506 : return -1;
28507 : }
28508 :
28509 : default:
28510 : return -1;
28511 : }
28512 :
28513 2549 : case ASHIFT:
28514 2549 : x7 = XEXP (x5, 0);
28515 2549 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
28516 21 : || XWINT (x10, 0) != -1L)
28517 : return -1;
28518 20 : switch (pattern1281 (x3))
28519 : {
28520 16 : case 0:
28521 16 : if (!insn_condition_800 (operands, insn))
28522 : return -1;
28523 : return 1732; /* *bmi2_bzhi_si3_2 */
28524 :
28525 4 : case 1:
28526 4 : if (!insn_condition_801 (operands, insn))
28527 : return -1;
28528 : return 1733; /* *bmi2_bzhi_di3_2 */
28529 :
28530 : default:
28531 : return -1;
28532 : }
28533 :
28534 : default:
28535 : return -1;
28536 : }
28537 :
28538 2635 : case ZERO_EXTEND:
28539 2635 : if (GET_MODE (x4) != E_DImode)
28540 : return -1;
28541 1044 : x5 = XEXP (x4, 0);
28542 1044 : if (GET_CODE (x5) != PLUS
28543 39 : || pattern734 (x5) != 0
28544 1044 : || pattern594 (x1) != 0)
28545 : return -1;
28546 0 : x7 = XEXP (x5, 0);
28547 0 : x11 = XEXP (x7, 1);
28548 0 : operands[2] = x11;
28549 0 : if (!register_operand (operands[2], E_QImode))
28550 : return -1;
28551 0 : x8 = XEXP (x3, 1);
28552 0 : operands[1] = x8;
28553 0 : if (!nonimmediate_operand (operands[1], E_DImode)
28554 1314134 : || !insn_condition_612 (operands, insn))
28555 : return -1;
28556 : return 1737; /* *bmi2_bzhi_zero_extendsidi_5 */
28557 :
28558 : default:
28559 : return -1;
28560 : }
28561 : }
28562 :
28563 : int
28564 6663591 : recog_427 (rtx x1 ATTRIBUTE_UNUSED,
28565 : rtx_insn *insn ATTRIBUTE_UNUSED,
28566 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28567 : {
28568 6663591 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28569 6663591 : rtx x2, x3, x4, x5, x6, x7, x8;
28570 6663591 : int res ATTRIBUTE_UNUSED;
28571 6663591 : x2 = XVECEXP (x1, 0, 0);
28572 6663591 : x3 = XEXP (x2, 1);
28573 6663591 : x4 = XEXP (x3, 0);
28574 6663591 : switch (GET_CODE (x4))
28575 : {
28576 5728595 : case CONST_INT:
28577 5728595 : case REG:
28578 5728595 : case SUBREG:
28579 5728595 : case MEM:
28580 5728595 : switch (pattern413 (x1))
28581 : {
28582 5695244 : case 0:
28583 5695244 : x5 = XEXP (x2, 0);
28584 5695244 : operands[0] = x5;
28585 5695244 : switch (pattern863 (x1))
28586 : {
28587 4414 : case 0:
28588 4414 : if (insn_condition_826 (operands, insn))
28589 : return 1088; /* *ashldi3_doubleword_mask */
28590 : break;
28591 :
28592 77 : case 1:
28593 77 : if (insn_condition_201 (operands, insn))
28594 : return 1089; /* *ashlti3_doubleword_mask */
28595 : break;
28596 :
28597 1021 : case 2:
28598 1021 : if (insn_condition_119 (operands, insn))
28599 : return 2776; /* kashiftqi */
28600 : break;
28601 :
28602 2948 : case 3:
28603 2948 : if (insn_condition_27 (operands, insn))
28604 : return 2778; /* kashifthi */
28605 : break;
28606 :
28607 83 : case 4:
28608 83 : if (insn_condition_120 (operands, insn))
28609 : return 2780; /* kashiftsi */
28610 : break;
28611 :
28612 83 : case 5:
28613 83 : if (insn_condition_120 (operands, insn))
28614 : return 2782; /* kashiftdi */
28615 : break;
28616 :
28617 : default:
28618 : break;
28619 : }
28620 5690983 : x6 = XEXP (x3, 1);
28621 5690983 : operands[2] = x6;
28622 5690983 : switch (pattern864 (x1))
28623 : {
28624 5580370 : case 0:
28625 5580370 : operands[0] = x5;
28626 5580370 : switch (GET_MODE (operands[0]))
28627 : {
28628 3842568 : case E_DImode:
28629 3842568 : if (GET_MODE (x3) == E_DImode)
28630 : {
28631 3842568 : if (register_operand (operands[0], E_DImode)
28632 3836962 : && reg_or_pm1_operand (operands[1], E_DImode)
28633 7615986 : && insn_condition_51 (operands, insn))
28634 : return 1092; /* ashldi3_doubleword */
28635 3792264 : if (nonimmediate_operand (operands[0], E_DImode)
28636 3792211 : && nonimmediate_operand (operands[1], E_DImode)
28637 7463931 : && insn_condition_823 (operands, insn))
28638 : return 1175; /* *ashldi3_1 */
28639 : }
28640 : break;
28641 :
28642 57640 : case E_TImode:
28643 57640 : if (register_operand (operands[0], E_TImode)
28644 57611 : && GET_MODE (x3) == E_TImode
28645 57611 : && reg_or_pm1_operand (operands[1], E_TImode)
28646 114649 : && insn_condition_52 (operands, insn))
28647 : return 1093; /* ashlti3_doubleword */
28648 : break;
28649 :
28650 1509900 : case E_SImode:
28651 1509900 : if (nonimmediate_operand (operands[0], E_SImode)
28652 1509793 : && GET_MODE (x3) == E_SImode
28653 1509793 : && nonimmediate_operand (operands[1], E_SImode)
28654 2893516 : && insn_condition_825 (operands, insn))
28655 : return 1173; /* *ashlsi3_1 */
28656 : break;
28657 :
28658 67485 : case E_HImode:
28659 67485 : if (nonimmediate_operand (operands[0], E_HImode)
28660 67485 : && GET_MODE (x3) == E_HImode
28661 67485 : && nonimmediate_operand (operands[1], E_HImode)
28662 132012 : && insn_condition_402 (operands, insn))
28663 : return 1189; /* *ashlhi3_1 */
28664 : break;
28665 :
28666 102747 : case E_QImode:
28667 102747 : if (nonimmediate_operand (operands[0], E_QImode)
28668 102233 : && GET_MODE (x3) == E_QImode
28669 102233 : && nonimmediate_operand (operands[1], E_QImode)
28670 199435 : && insn_condition_404 (operands, insn))
28671 : return 1191; /* *ashlqi3_1 */
28672 : break;
28673 :
28674 30 : case E_V2QImode:
28675 30 : if (register_operand (operands[0], E_V2QImode)
28676 30 : && GET_MODE (x3) == E_V2QImode
28677 30 : && register_operand (operands[1], E_V2QImode)
28678 30 : && insn_condition_206 (operands, insn))
28679 : return 2374; /* ashlv2qi3 */
28680 : break;
28681 :
28682 : default:
28683 : break;
28684 : }
28685 : break;
28686 :
28687 62 : case 1:
28688 62 : x7 = XEXP (x5, 0);
28689 62 : operands[0] = x7;
28690 62 : switch (pattern415 (x3))
28691 : {
28692 23 : case 0:
28693 23 : if (insn_condition_194 (operands, insn))
28694 : return 1192; /* *ashlqi3_1_slp */
28695 : break;
28696 :
28697 0 : case 1:
28698 0 : if (insn_condition_194 (operands, insn))
28699 : return 1193; /* *ashlhi3_1_slp */
28700 : break;
28701 :
28702 : default:
28703 : break;
28704 : }
28705 : break;
28706 :
28707 : default:
28708 : break;
28709 : }
28710 455262 : if (GET_CODE (x6) != SUBREG
28711 244623 : || maybe_ne (SUBREG_BYTE (x6), 0)
28712 699885 : || GET_MODE (x6) != E_QImode)
28713 : return -1;
28714 244617 : x8 = XVECEXP (x1, 0, 1);
28715 244617 : if (pattern401 (x8) != 0)
28716 : return -1;
28717 238371 : switch (pattern1479 (x2))
28718 : {
28719 14371 : case 0:
28720 14371 : if (!insn_condition_827 (operands, insn))
28721 3502 : return -1;
28722 : return 1376; /* *ashlsi3_mask */
28723 :
28724 4370 : case 1:
28725 4370 : if (!insn_condition_828 (operands, insn))
28726 248 : return -1;
28727 : return 1379; /* *ashldi3_mask */
28728 :
28729 0 : case 2:
28730 0 : if (!insn_condition_829 (operands, insn))
28731 0 : return -1;
28732 : return 1388; /* *ashlsi3_add */
28733 :
28734 0 : case 3:
28735 0 : if (!insn_condition_830 (operands, insn))
28736 0 : return -1;
28737 : return 1391; /* *ashldi3_add */
28738 :
28739 0 : case 4:
28740 0 : if (!insn_condition_831 (operands, insn))
28741 0 : return -1;
28742 : return 1400; /* *ashlsi3_sub */
28743 :
28744 0 : case 5:
28745 0 : if (!insn_condition_832 (operands, insn))
28746 0 : return -1;
28747 : return 1403; /* *ashldi3_sub */
28748 :
28749 : default:
28750 : return -1;
28751 : }
28752 :
28753 2717 : case 1:
28754 2717 : if (register_operand (operands[0], E_DImode)
28755 2717 : && register_operand (operands[1], E_DImode)
28756 4385 : && insn_condition_826 (operands, insn))
28757 : return 1090; /* *ashldi3_doubleword_mask_1 */
28758 2717 : if (!nonimmediate_operand (operands[0], E_DImode)
28759 2717 : || !nonimmediate_operand (operands[1], E_DImode)
28760 4385 : || !insn_condition_828 (operands, insn))
28761 1071 : return -1;
28762 : return 1385; /* *ashldi3_mask_1 */
28763 :
28764 1 : case 2:
28765 1 : if (!insn_condition_201 (operands, insn))
28766 0 : return -1;
28767 : return 1091; /* *ashlti3_doubleword_mask_1 */
28768 :
28769 548 : case 3:
28770 548 : if (!insn_condition_827 (operands, insn))
28771 28 : return -1;
28772 : return 1382; /* *ashlsi3_mask_1 */
28773 :
28774 3470 : case 4:
28775 3470 : if (!insn_condition_829 (operands, insn))
28776 3299 : return -1;
28777 : return 1394; /* *ashlsi3_add_1 */
28778 :
28779 5775 : case 5:
28780 5775 : if (!insn_condition_830 (operands, insn))
28781 5664 : return -1;
28782 : return 1397; /* *ashldi3_add_1 */
28783 :
28784 248 : case 6:
28785 248 : if (!insn_condition_831 (operands, insn))
28786 150 : return -1;
28787 : return 1406; /* *ashlsi3_sub_1 */
28788 :
28789 689 : case 7:
28790 689 : if (!insn_condition_832 (operands, insn))
28791 318 : return -1;
28792 : return 1409; /* *ashldi3_sub_1 */
28793 :
28794 : default:
28795 : return -1;
28796 : }
28797 :
28798 96293 : case SIGN_EXTEND:
28799 96293 : switch (pattern421 (x1))
28800 : {
28801 65939 : case 0:
28802 65939 : if (!insn_condition_833 (operands, insn))
28803 65754 : return -1;
28804 : return 1094; /* *ashldi3_doubleword_highpart */
28805 :
28806 260 : case 1:
28807 260 : if (!insn_condition_405 (operands, insn))
28808 249 : return -1;
28809 : return 1096; /* *ashlti3_doubleword_highpart */
28810 :
28811 : default:
28812 : return -1;
28813 : }
28814 :
28815 95083 : case ZERO_EXTEND:
28816 95083 : switch (pattern421 (x1))
28817 : {
28818 44105 : case 0:
28819 44105 : if (!insn_condition_833 (operands, insn))
28820 43174 : return -1;
28821 : return 1095; /* *ashldi3_doubleword_highpart */
28822 :
28823 2899 : case 1:
28824 2899 : if (!insn_condition_405 (operands, insn))
28825 1527 : return -1;
28826 : return 1097; /* *ashlti3_doubleword_highpart */
28827 :
28828 : default:
28829 : return -1;
28830 : }
28831 :
28832 : default:
28833 : return -1;
28834 : }
28835 : }
28836 :
28837 : int
28838 777 : recog_437 (rtx x1 ATTRIBUTE_UNUSED,
28839 : rtx_insn *insn ATTRIBUTE_UNUSED,
28840 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28841 : {
28842 777 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28843 777 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28844 777 : int res ATTRIBUTE_UNUSED;
28845 777 : x2 = XVECEXP (x1, 0, 0);
28846 777 : x3 = XEXP (x2, 0);
28847 777 : operands[0] = x3;
28848 777 : x4 = XEXP (x2, 1);
28849 777 : operands[1] = x4;
28850 777 : x5 = XVECEXP (x1, 0, 1);
28851 777 : x6 = XVECEXP (x5, 0, 0);
28852 777 : operands[2] = x6;
28853 777 : switch (GET_MODE (operands[0]))
28854 : {
28855 66 : case E_V64QImode:
28856 66 : if (register_operand (operands[0], E_V64QImode)
28857 66 : && int_float_vector_all_ones_operand (operands[1], E_V64QImode)
28858 66 : && register_operand (operands[2], E_V64QImode)
28859 132 : && insn_condition_2213 (operands, insn))
28860 : return 2582; /* *vmovv64qi_constm1_pternlog_false_dep */
28861 : break;
28862 :
28863 14 : case E_V32QImode:
28864 14 : if (register_operand (operands[0], E_V32QImode)
28865 14 : && int_float_vector_all_ones_operand (operands[1], E_V32QImode)
28866 14 : && register_operand (operands[2], E_V32QImode)
28867 14 : && insn_condition_2214 (operands, insn))
28868 : return 2583; /* *vmovv32qi_constm1_pternlog_false_dep */
28869 : break;
28870 :
28871 1 : case E_V16QImode:
28872 1 : if (register_operand (operands[0], E_V16QImode)
28873 1 : && int_float_vector_all_ones_operand (operands[1], E_V16QImode)
28874 1 : && register_operand (operands[2], E_V16QImode)
28875 2 : && insn_condition_2215 (operands, insn))
28876 : return 2584; /* *vmovv16qi_constm1_pternlog_false_dep */
28877 : break;
28878 :
28879 19 : case E_V32HImode:
28880 19 : if (register_operand (operands[0], E_V32HImode)
28881 19 : && int_float_vector_all_ones_operand (operands[1], E_V32HImode)
28882 19 : && register_operand (operands[2], E_V32HImode)
28883 38 : && insn_condition_2213 (operands, insn))
28884 : return 2585; /* *vmovv32hi_constm1_pternlog_false_dep */
28885 : break;
28886 :
28887 0 : case E_V16HImode:
28888 0 : if (register_operand (operands[0], E_V16HImode)
28889 0 : && int_float_vector_all_ones_operand (operands[1], E_V16HImode)
28890 0 : && register_operand (operands[2], E_V16HImode)
28891 0 : && insn_condition_2214 (operands, insn))
28892 : return 2586; /* *vmovv16hi_constm1_pternlog_false_dep */
28893 : break;
28894 :
28895 0 : case E_V8HImode:
28896 0 : if (register_operand (operands[0], E_V8HImode)
28897 0 : && int_float_vector_all_ones_operand (operands[1], E_V8HImode)
28898 0 : && register_operand (operands[2], E_V8HImode)
28899 0 : && insn_condition_2215 (operands, insn))
28900 : return 2587; /* *vmovv8hi_constm1_pternlog_false_dep */
28901 : break;
28902 :
28903 592 : case E_V16SImode:
28904 592 : if (register_operand (operands[0], E_V16SImode)
28905 592 : && int_float_vector_all_ones_operand (operands[1], E_V16SImode)
28906 557 : && register_operand (operands[2], E_V16SImode)
28907 1149 : && insn_condition_2213 (operands, insn))
28908 : return 2588; /* *vmovv16si_constm1_pternlog_false_dep */
28909 : break;
28910 :
28911 1 : case E_V8SImode:
28912 1 : if (register_operand (operands[0], E_V8SImode)
28913 1 : && int_float_vector_all_ones_operand (operands[1], E_V8SImode)
28914 0 : && register_operand (operands[2], E_V8SImode)
28915 1 : && insn_condition_2214 (operands, insn))
28916 : return 2589; /* *vmovv8si_constm1_pternlog_false_dep */
28917 : break;
28918 :
28919 9 : case E_V4SImode:
28920 9 : if (register_operand (operands[0], E_V4SImode)
28921 9 : && int_float_vector_all_ones_operand (operands[1], E_V4SImode)
28922 0 : && register_operand (operands[2], E_V4SImode)
28923 9 : && insn_condition_2215 (operands, insn))
28924 : return 2590; /* *vmovv4si_constm1_pternlog_false_dep */
28925 : break;
28926 :
28927 68 : case E_V8DImode:
28928 68 : if (register_operand (operands[0], E_V8DImode)
28929 68 : && int_float_vector_all_ones_operand (operands[1], E_V8DImode)
28930 36 : && register_operand (operands[2], E_V8DImode)
28931 104 : && insn_condition_2213 (operands, insn))
28932 : return 2591; /* *vmovv8di_constm1_pternlog_false_dep */
28933 : break;
28934 :
28935 1 : case E_V4DImode:
28936 1 : if (register_operand (operands[0], E_V4DImode)
28937 1 : && int_float_vector_all_ones_operand (operands[1], E_V4DImode)
28938 0 : && register_operand (operands[2], E_V4DImode)
28939 1 : && insn_condition_2214 (operands, insn))
28940 : return 2592; /* *vmovv4di_constm1_pternlog_false_dep */
28941 : break;
28942 :
28943 6 : case E_V2DImode:
28944 6 : if (register_operand (operands[0], E_V2DImode)
28945 6 : && int_float_vector_all_ones_operand (operands[1], E_V2DImode)
28946 0 : && register_operand (operands[2], E_V2DImode)
28947 6 : && insn_condition_2215 (operands, insn))
28948 : return 2593; /* *vmovv2di_constm1_pternlog_false_dep */
28949 : break;
28950 :
28951 0 : case E_V4TImode:
28952 0 : if (register_operand (operands[0], E_V4TImode)
28953 0 : && int_float_vector_all_ones_operand (operands[1], E_V4TImode)
28954 0 : && register_operand (operands[2], E_V4TImode)
28955 0 : && insn_condition_2213 (operands, insn))
28956 : return 2594; /* *vmovv4ti_constm1_pternlog_false_dep */
28957 : break;
28958 :
28959 0 : case E_V2TImode:
28960 0 : if (register_operand (operands[0], E_V2TImode)
28961 0 : && int_float_vector_all_ones_operand (operands[1], E_V2TImode)
28962 0 : && register_operand (operands[2], E_V2TImode)
28963 0 : && insn_condition_2214 (operands, insn))
28964 : return 2595; /* *vmovv2ti_constm1_pternlog_false_dep */
28965 : break;
28966 :
28967 0 : case E_V1TImode:
28968 0 : if (register_operand (operands[0], E_V1TImode)
28969 0 : && int_float_vector_all_ones_operand (operands[1], E_V1TImode)
28970 0 : && register_operand (operands[2], E_V1TImode)
28971 0 : && insn_condition_2215 (operands, insn))
28972 : return 2596; /* *vmovv1ti_constm1_pternlog_false_dep */
28973 : break;
28974 :
28975 0 : case E_V32HFmode:
28976 0 : if (register_operand (operands[0], E_V32HFmode)
28977 0 : && int_float_vector_all_ones_operand (operands[1], E_V32HFmode)
28978 0 : && register_operand (operands[2], E_V32HFmode)
28979 0 : && insn_condition_2213 (operands, insn))
28980 : return 2597; /* *vmovv32hf_constm1_pternlog_false_dep */
28981 : break;
28982 :
28983 0 : case E_V16HFmode:
28984 0 : if (register_operand (operands[0], E_V16HFmode)
28985 0 : && int_float_vector_all_ones_operand (operands[1], E_V16HFmode)
28986 0 : && register_operand (operands[2], E_V16HFmode)
28987 0 : && insn_condition_2214 (operands, insn))
28988 : return 2598; /* *vmovv16hf_constm1_pternlog_false_dep */
28989 : break;
28990 :
28991 0 : case E_V8HFmode:
28992 0 : if (register_operand (operands[0], E_V8HFmode)
28993 0 : && int_float_vector_all_ones_operand (operands[1], E_V8HFmode)
28994 0 : && register_operand (operands[2], E_V8HFmode)
28995 0 : && insn_condition_2215 (operands, insn))
28996 : return 2599; /* *vmovv8hf_constm1_pternlog_false_dep */
28997 : break;
28998 :
28999 0 : case E_V32BFmode:
29000 0 : if (register_operand (operands[0], E_V32BFmode)
29001 0 : && int_float_vector_all_ones_operand (operands[1], E_V32BFmode)
29002 0 : && register_operand (operands[2], E_V32BFmode)
29003 0 : && insn_condition_2213 (operands, insn))
29004 : return 2600; /* *vmovv32bf_constm1_pternlog_false_dep */
29005 : break;
29006 :
29007 0 : case E_V16BFmode:
29008 0 : if (register_operand (operands[0], E_V16BFmode)
29009 0 : && int_float_vector_all_ones_operand (operands[1], E_V16BFmode)
29010 0 : && register_operand (operands[2], E_V16BFmode)
29011 0 : && insn_condition_2214 (operands, insn))
29012 : return 2601; /* *vmovv16bf_constm1_pternlog_false_dep */
29013 : break;
29014 :
29015 0 : case E_V8BFmode:
29016 0 : if (register_operand (operands[0], E_V8BFmode)
29017 0 : && int_float_vector_all_ones_operand (operands[1], E_V8BFmode)
29018 0 : && register_operand (operands[2], E_V8BFmode)
29019 0 : && insn_condition_2215 (operands, insn))
29020 : return 2602; /* *vmovv8bf_constm1_pternlog_false_dep */
29021 : break;
29022 :
29023 0 : case E_V16SFmode:
29024 0 : if (register_operand (operands[0], E_V16SFmode)
29025 0 : && int_float_vector_all_ones_operand (operands[1], E_V16SFmode)
29026 0 : && register_operand (operands[2], E_V16SFmode)
29027 0 : && insn_condition_2213 (operands, insn))
29028 : return 2603; /* *vmovv16sf_constm1_pternlog_false_dep */
29029 : break;
29030 :
29031 0 : case E_V8SFmode:
29032 0 : if (register_operand (operands[0], E_V8SFmode)
29033 0 : && int_float_vector_all_ones_operand (operands[1], E_V8SFmode)
29034 0 : && register_operand (operands[2], E_V8SFmode)
29035 0 : && insn_condition_2214 (operands, insn))
29036 : return 2604; /* *vmovv8sf_constm1_pternlog_false_dep */
29037 : break;
29038 :
29039 0 : case E_V4SFmode:
29040 0 : if (register_operand (operands[0], E_V4SFmode)
29041 0 : && int_float_vector_all_ones_operand (operands[1], E_V4SFmode)
29042 0 : && register_operand (operands[2], E_V4SFmode)
29043 0 : && insn_condition_2215 (operands, insn))
29044 : return 2605; /* *vmovv4sf_constm1_pternlog_false_dep */
29045 : break;
29046 :
29047 0 : case E_V8DFmode:
29048 0 : if (register_operand (operands[0], E_V8DFmode)
29049 0 : && int_float_vector_all_ones_operand (operands[1], E_V8DFmode)
29050 0 : && register_operand (operands[2], E_V8DFmode)
29051 0 : && insn_condition_2213 (operands, insn))
29052 : return 2606; /* *vmovv8df_constm1_pternlog_false_dep */
29053 : break;
29054 :
29055 0 : case E_V4DFmode:
29056 0 : if (register_operand (operands[0], E_V4DFmode)
29057 0 : && int_float_vector_all_ones_operand (operands[1], E_V4DFmode)
29058 0 : && register_operand (operands[2], E_V4DFmode)
29059 0 : && insn_condition_2214 (operands, insn))
29060 : return 2607; /* *vmovv4df_constm1_pternlog_false_dep */
29061 : break;
29062 :
29063 0 : case E_V2DFmode:
29064 0 : if (register_operand (operands[0], E_V2DFmode)
29065 0 : && int_float_vector_all_ones_operand (operands[1], E_V2DFmode)
29066 0 : && register_operand (operands[2], E_V2DFmode)
29067 0 : && insn_condition_2215 (operands, insn))
29068 : return 2608; /* *vmovv2df_constm1_pternlog_false_dep */
29069 : break;
29070 :
29071 : default:
29072 : break;
29073 : }
29074 84 : switch (GET_CODE (x4))
29075 : {
29076 81 : case VEC_MERGE:
29077 81 : x7 = XEXP (x4, 0);
29078 81 : operands[2] = x7;
29079 81 : x8 = XEXP (x4, 1);
29080 81 : operands[3] = x8;
29081 81 : x9 = XEXP (x4, 2);
29082 81 : operands[1] = x9;
29083 81 : operands[4] = x6;
29084 81 : switch (GET_MODE (operands[0]))
29085 : {
29086 35 : case E_V16SImode:
29087 35 : if (pattern1376 (x4,
29088 : E_V16SImode,
29089 : E_HImode) != 0
29090 35 : || !insn_condition_2216 (operands, insn))
29091 0 : return -1;
29092 : return 5393; /* *avx512f_cvtmask2dv16si_pternlog_false_dep */
29093 :
29094 1 : case E_V8SImode:
29095 1 : if (pattern1376 (x4,
29096 : E_V8SImode,
29097 : E_QImode) != 0
29098 1 : || !insn_condition_2217 (operands, insn))
29099 0 : return -1;
29100 : return 5394; /* *avx512vl_cvtmask2dv8si_pternlog_false_dep */
29101 :
29102 9 : case E_V4SImode:
29103 9 : if (pattern1376 (x4,
29104 : E_V4SImode,
29105 : E_QImode) != 0
29106 9 : || !insn_condition_2217 (operands, insn))
29107 0 : return -1;
29108 : return 5395; /* *avx512vl_cvtmask2dv4si_pternlog_false_dep */
29109 :
29110 30 : case E_V8DImode:
29111 30 : if (pattern1376 (x4,
29112 : E_V8DImode,
29113 : E_QImode) != 0
29114 30 : || !insn_condition_2216 (operands, insn))
29115 0 : return -1;
29116 : return 5396; /* *avx512f_cvtmask2qv8di_pternlog_false_dep */
29117 :
29118 0 : case E_V4DImode:
29119 0 : if (pattern1376 (x4,
29120 : E_V4DImode,
29121 : E_QImode) != 0
29122 0 : || !insn_condition_2217 (operands, insn))
29123 0 : return -1;
29124 : return 5397; /* *avx512vl_cvtmask2qv4di_pternlog_false_dep */
29125 :
29126 6 : case E_V2DImode:
29127 6 : if (pattern1376 (x4,
29128 : E_V2DImode,
29129 : E_QImode) != 0
29130 6 : || !insn_condition_2217 (operands, insn))
29131 0 : return -1;
29132 : return 5398; /* *avx512vl_cvtmask2qv2di_pternlog_false_dep */
29133 :
29134 : default:
29135 : return -1;
29136 : }
29137 :
29138 3 : case XOR:
29139 3 : x7 = XEXP (x4, 0);
29140 3 : operands[1] = x7;
29141 3 : x8 = XEXP (x4, 1);
29142 3 : operands[2] = x8;
29143 3 : operands[3] = x6;
29144 3 : switch (GET_MODE (operands[0]))
29145 : {
29146 0 : case E_V16SImode:
29147 0 : if (pattern1287 (x4,
29148 : E_V16SImode) != 0
29149 0 : || !insn_condition_27 (operands, insn))
29150 0 : return -1;
29151 : return 6687; /* *one_cmplv16si2_pternlog_false_dep */
29152 :
29153 2 : case E_V8DImode:
29154 2 : if (pattern1287 (x4,
29155 : E_V8DImode) != 0
29156 2 : || !insn_condition_27 (operands, insn))
29157 0 : return -1;
29158 : return 6688; /* *one_cmplv8di2_pternlog_false_dep */
29159 :
29160 0 : case E_V64QImode:
29161 0 : if (pattern1287 (x4,
29162 : E_V64QImode) != 0
29163 0 : || !insn_condition_120 (operands, insn))
29164 0 : return -1;
29165 : return 6689; /* *one_cmplv64qi2_pternlog_false_dep */
29166 :
29167 0 : case E_V32QImode:
29168 0 : if (pattern1287 (x4,
29169 : E_V32QImode) != 0
29170 0 : || !insn_condition_1187 (operands, insn))
29171 0 : return -1;
29172 : return 6690; /* *one_cmplv32qi2_pternlog_false_dep */
29173 :
29174 0 : case E_V16QImode:
29175 0 : if (pattern1287 (x4,
29176 : E_V16QImode) != 0
29177 0 : || !insn_condition_27 (operands, insn))
29178 0 : return -1;
29179 : return 6691; /* *one_cmplv16qi2_pternlog_false_dep */
29180 :
29181 0 : case E_V32HImode:
29182 0 : if (pattern1287 (x4,
29183 : E_V32HImode) != 0
29184 0 : || !insn_condition_120 (operands, insn))
29185 0 : return -1;
29186 : return 6692; /* *one_cmplv32hi2_pternlog_false_dep */
29187 :
29188 0 : case E_V16HImode:
29189 0 : if (pattern1287 (x4,
29190 : E_V16HImode) != 0
29191 0 : || !insn_condition_1187 (operands, insn))
29192 0 : return -1;
29193 : return 6693; /* *one_cmplv16hi2_pternlog_false_dep */
29194 :
29195 0 : case E_V8HImode:
29196 0 : if (pattern1287 (x4,
29197 : E_V8HImode) != 0
29198 0 : || !insn_condition_27 (operands, insn))
29199 0 : return -1;
29200 : return 6694; /* *one_cmplv8hi2_pternlog_false_dep */
29201 :
29202 0 : case E_V8SImode:
29203 0 : if (pattern1287 (x4,
29204 : E_V8SImode) != 0
29205 0 : || !insn_condition_1187 (operands, insn))
29206 0 : return -1;
29207 : return 6695; /* *one_cmplv8si2_pternlog_false_dep */
29208 :
29209 0 : case E_V4SImode:
29210 0 : if (pattern1287 (x4,
29211 : E_V4SImode) != 0
29212 0 : || !insn_condition_27 (operands, insn))
29213 0 : return -1;
29214 : return 6696; /* *one_cmplv4si2_pternlog_false_dep */
29215 :
29216 1 : case E_V4DImode:
29217 1 : if (pattern1287 (x4,
29218 : E_V4DImode) != 0
29219 1 : || !insn_condition_1187 (operands, insn))
29220 0 : return -1;
29221 : return 6697; /* *one_cmplv4di2_pternlog_false_dep */
29222 :
29223 0 : case E_V2DImode:
29224 0 : if (pattern1287 (x4,
29225 : E_V2DImode) != 0
29226 0 : || !insn_condition_27 (operands, insn))
29227 0 : return -1;
29228 : return 6698; /* *one_cmplv2di2_pternlog_false_dep */
29229 :
29230 : default:
29231 : return -1;
29232 : }
29233 :
29234 : default:
29235 : return -1;
29236 : }
29237 : }
29238 :
29239 : int
29240 8713493 : recog_447 (rtx x1 ATTRIBUTE_UNUSED,
29241 : rtx_insn *insn ATTRIBUTE_UNUSED,
29242 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29243 : {
29244 8713493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29245 8713493 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29246 8713493 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
29247 8713493 : rtx x18, x19, x20, x21, x22, x23;
29248 8713493 : int res ATTRIBUTE_UNUSED;
29249 8713493 : x2 = XVECEXP (x1, 0, 0);
29250 8713493 : x3 = XEXP (x2, 1);
29251 8713493 : switch (GET_CODE (x3))
29252 : {
29253 52248 : case UNSPEC:
29254 52248 : return recog_440 (x1, insn, pnum_clobbers);
29255 :
29256 64224 : case SIGN_EXTEND:
29257 64224 : x4 = XVECEXP (x1, 0, 2);
29258 64224 : if (GET_CODE (x4) != CLOBBER)
29259 : return -1;
29260 51877 : x5 = XEXP (x2, 0);
29261 51877 : operands[0] = x5;
29262 51877 : x6 = XEXP (x3, 0);
29263 51877 : switch (GET_CODE (x6))
29264 : {
29265 44837 : case REG:
29266 44837 : case SUBREG:
29267 44837 : operands[1] = x6;
29268 44837 : x7 = XVECEXP (x1, 0, 1);
29269 44837 : if (pattern286 (x7,
29270 : E_CCmode,
29271 : 17) != 0)
29272 : return -1;
29273 44835 : x8 = XEXP (x4, 0);
29274 44835 : operands[2] = x8;
29275 44835 : switch (GET_MODE (operands[0]))
29276 : {
29277 32969 : case E_DImode:
29278 32969 : if (pattern1483 (x3,
29279 : E_SImode,
29280 : E_DImode) != 0
29281 32969 : || !insn_condition_51 (operands, insn))
29282 : return -1;
29283 : return 190; /* extendsidi2_1 */
29284 :
29285 11866 : case E_TImode:
29286 11866 : if (pattern1483 (x3,
29287 : E_DImode,
29288 : E_TImode) != 0
29289 11866 : || !insn_condition_52 (operands, insn))
29290 : return -1;
29291 : return 191; /* extendditi2 */
29292 :
29293 : default:
29294 : return -1;
29295 : }
29296 :
29297 2 : case CTZ:
29298 2 : if (GET_MODE (x6) != E_SImode
29299 2 : || pattern870 (x1) != 0
29300 2 : || !register_operand (operands[0], E_DImode)
29301 4 : || GET_MODE (x3) != E_DImode)
29302 : return -1;
29303 2 : x9 = XEXP (x6, 0);
29304 2 : operands[1] = x9;
29305 2 : if (!nonimmediate_operand (operands[1], E_SImode))
29306 : return -1;
29307 2 : x7 = XVECEXP (x1, 0, 1);
29308 2 : x10 = XVECEXP (x7, 0, 0);
29309 2 : operands[2] = x10;
29310 2 : if (!register_operand (operands[2], E_DImode)
29311 2 : || !insn_condition_52 (operands, insn))
29312 : return -1;
29313 : return 1652; /* *ctzsidi2_sext_falsedep */
29314 :
29315 : default:
29316 : return -1;
29317 : }
29318 :
29319 9444 : case FIX:
29320 9444 : x7 = XVECEXP (x1, 0, 1);
29321 9444 : if (GET_CODE (x7) != USE)
29322 : return -1;
29323 9157 : x4 = XVECEXP (x1, 0, 2);
29324 9157 : if (GET_CODE (x4) != USE)
29325 : return -1;
29326 9157 : x5 = XEXP (x2, 0);
29327 9157 : operands[0] = x5;
29328 9157 : x6 = XEXP (x3, 0);
29329 9157 : operands[1] = x6;
29330 9157 : if (!register_operand (operands[1], E_VOIDmode))
29331 : return -1;
29332 8723 : switch (pattern868 (x1, pnum_clobbers))
29333 : {
29334 0 : case 0:
29335 0 : if (!insn_condition_2241 (operands, insn))
29336 : return -1;
29337 0 : *pnum_clobbers = 1;
29338 0 : return 240; /* fix_truncdi_i387 */
29339 :
29340 4897 : case 1:
29341 4897 : if (!insn_condition_2242 (operands, insn))
29342 : return -1;
29343 : return 241; /* fix_trunchi_i387 */
29344 :
29345 3826 : case 2:
29346 3826 : if (!insn_condition_2242 (operands, insn))
29347 : return -1;
29348 : return 242; /* fix_truncsi_i387 */
29349 :
29350 : default:
29351 : return -1;
29352 : }
29353 :
29354 522 : case UNSIGNED_FLOAT:
29355 522 : x7 = XVECEXP (x1, 0, 1);
29356 522 : if (GET_CODE (x7) != CLOBBER)
29357 : return -1;
29358 522 : x4 = XVECEXP (x1, 0, 2);
29359 522 : if (GET_CODE (x4) != CLOBBER)
29360 : return -1;
29361 522 : switch (pattern596 (x1))
29362 : {
29363 64 : case 0:
29364 64 : if (!insn_condition_2103 (operands, insn))
29365 : return -1;
29366 : return 266; /* floatunssisf2_i387_with_xmm */
29367 :
29368 211 : case 1:
29369 211 : if (!insn_condition_2104 (operands, insn))
29370 : return -1;
29371 : return 267; /* floatunssidf2_i387_with_xmm */
29372 :
29373 215 : case 2:
29374 215 : if (!insn_condition_2105 (operands, insn))
29375 : return -1;
29376 : return 268; /* floatunssixf2_i387_with_xmm */
29377 :
29378 : default:
29379 : return -1;
29380 : }
29381 :
29382 115132 : case EQ:
29383 115132 : if (GET_MODE (x3) != E_CCOmode)
29384 : return -1;
29385 109232 : x6 = XEXP (x3, 0);
29386 109232 : if (GET_CODE (x6) != MULT)
29387 : return -1;
29388 103621 : x9 = XEXP (x6, 0);
29389 103621 : if (GET_CODE (x9) != ZERO_EXTEND)
29390 : return -1;
29391 100968 : x11 = XEXP (x6, 1);
29392 100968 : if (GET_CODE (x11) != ZERO_EXTEND)
29393 : return -1;
29394 68675 : x12 = XEXP (x3, 1);
29395 68675 : if (GET_CODE (x12) != ZERO_EXTEND)
29396 : return -1;
29397 68539 : x13 = XEXP (x12, 0);
29398 68539 : if (GET_CODE (x13) != MULT)
29399 : return -1;
29400 68539 : x5 = XEXP (x2, 0);
29401 68539 : if (GET_CODE (x5) != REG
29402 68539 : || REGNO (x5) != 17
29403 137078 : || GET_MODE (x5) != E_CCOmode)
29404 : return -1;
29405 68539 : x7 = XVECEXP (x1, 0, 1);
29406 68539 : if (GET_CODE (x7) != SET)
29407 : return -1;
29408 68539 : x14 = XEXP (x7, 1);
29409 68539 : if (GET_CODE (x14) != MULT)
29410 : return -1;
29411 67718 : x4 = XVECEXP (x1, 0, 2);
29412 67718 : if (GET_CODE (x4) != CLOBBER)
29413 : return -1;
29414 67664 : x15 = XEXP (x9, 0);
29415 67664 : operands[1] = x15;
29416 67664 : x16 = XEXP (x11, 0);
29417 67664 : operands[2] = x16;
29418 67664 : x17 = XEXP (x7, 0);
29419 67664 : operands[0] = x17;
29420 67664 : x8 = XEXP (x4, 0);
29421 67664 : operands[3] = x8;
29422 67664 : x18 = XEXP (x13, 0);
29423 67664 : if (!rtx_equal_p (x18, operands[1]))
29424 : return -1;
29425 67617 : x19 = XEXP (x13, 1);
29426 67617 : if (!rtx_equal_p (x19, operands[2]))
29427 : return -1;
29428 67617 : x20 = XEXP (x14, 0);
29429 67617 : if (!rtx_equal_p (x20, operands[1]))
29430 : return -1;
29431 67617 : x21 = XEXP (x14, 1);
29432 67617 : if (!rtx_equal_p (x21, operands[2]))
29433 : return -1;
29434 63201 : switch (GET_MODE (x6))
29435 : {
29436 8556 : case E_SImode:
29437 8556 : if (pattern1872 (x1,
29438 : E_HImode,
29439 : E_SImode) != 0
29440 8556 : || !insn_condition_48 (operands, insn))
29441 : return -1;
29442 : return 639; /* *umulvhi4 */
29443 :
29444 18175 : case E_DImode:
29445 18175 : if (pattern1872 (x1,
29446 : E_SImode,
29447 : E_DImode) != 0
29448 18175 : || !insn_condition_48 (operands, insn))
29449 : return -1;
29450 : return 640; /* *umulvsi4 */
29451 :
29452 36470 : case E_TImode:
29453 36470 : if (pattern1872 (x1,
29454 : E_DImode,
29455 : E_TImode) != 0
29456 36470 : || !insn_condition_49 (operands, insn))
29457 : return -1;
29458 : return 641; /* *umulvdi4 */
29459 :
29460 : default:
29461 : return -1;
29462 : }
29463 :
29464 240378 : case UMUL_HIGHPART:
29465 240378 : switch (pattern262 (x1))
29466 : {
29467 17476 : case 0:
29468 17476 : if (!insn_condition_51 (operands, insn))
29469 : return -1;
29470 : return 658; /* umulsi3_highpart */
29471 :
29472 121072 : case 1:
29473 121072 : if (!insn_condition_52 (operands, insn))
29474 : return -1;
29475 : return 659; /* umuldi3_highpart */
29476 :
29477 : default:
29478 : return -1;
29479 : }
29480 :
29481 106657 : case SMUL_HIGHPART:
29482 106657 : switch (pattern262 (x1))
29483 : {
29484 4376 : case 0:
29485 4376 : if (!insn_condition_51 (operands, insn))
29486 : return -1;
29487 : return 660; /* smulsi3_highpart */
29488 :
29489 53513 : case 1:
29490 53513 : if (!insn_condition_52 (operands, insn))
29491 : return -1;
29492 : return 661; /* smuldi3_highpart */
29493 :
29494 : default:
29495 : return -1;
29496 : }
29497 :
29498 28072 : case ZERO_EXTEND:
29499 28072 : return recog_441 (x1, insn, pnum_clobbers);
29500 :
29501 38 : case TRUNCATE:
29502 38 : x6 = XEXP (x3, 0);
29503 38 : if (GET_CODE (x6) != LSHIFTRT)
29504 : return -1;
29505 4 : x9 = XEXP (x6, 0);
29506 4 : if (GET_CODE (x9) != MULT)
29507 : return -1;
29508 4 : x11 = XEXP (x6, 1);
29509 4 : if (GET_CODE (x11) != CONST_INT)
29510 : return -1;
29511 4 : x7 = XVECEXP (x1, 0, 1);
29512 4 : if (GET_CODE (x7) != CLOBBER
29513 4 : || pattern875 (x1) != 0)
29514 : return -1;
29515 0 : x17 = XEXP (x7, 0);
29516 0 : operands[3] = x17;
29517 0 : x15 = XEXP (x9, 0);
29518 0 : switch (GET_CODE (x15))
29519 : {
29520 0 : case ZERO_EXTEND:
29521 0 : switch (pattern1540 (x3,
29522 : ZERO_EXTEND))
29523 : {
29524 0 : case 0:
29525 0 : if (!insn_condition_52 (operands, insn))
29526 : return -1;
29527 : return 665; /* *umuldi3_highpart_1 */
29528 :
29529 : case 1:
29530 : return 669; /* *umulsi3_highpart_1 */
29531 :
29532 : default:
29533 : return -1;
29534 : }
29535 :
29536 0 : case SIGN_EXTEND:
29537 0 : switch (pattern1540 (x3,
29538 : SIGN_EXTEND))
29539 : {
29540 0 : case 0:
29541 0 : if (!insn_condition_52 (operands, insn))
29542 : return -1;
29543 : return 666; /* *smuldi3_highpart_1 */
29544 :
29545 : case 1:
29546 : return 670; /* *smulsi3_highpart_1 */
29547 :
29548 : default:
29549 : return -1;
29550 : }
29551 :
29552 : default:
29553 : return -1;
29554 : }
29555 :
29556 927952 : case DIV:
29557 927952 : switch (pattern263 (x1))
29558 : {
29559 806950 : case 0:
29560 806950 : switch (pattern1377 (x1, pnum_clobbers))
29561 : {
29562 6 : case 0:
29563 6 : *pnum_clobbers = 1;
29564 6 : return 671; /* divmodsi4_1 */
29565 :
29566 3 : case 1:
29567 3 : if (!insn_condition_52 (operands, insn))
29568 : return -1;
29569 3 : *pnum_clobbers = 1;
29570 3 : return 672; /* divmoddi4_1 */
29571 :
29572 2828 : case 2:
29573 2828 : if (!insn_condition_2218 (operands, insn))
29574 : return -1;
29575 : return 679; /* *divmodhi4 */
29576 :
29577 : case 3:
29578 : return 680; /* *divmodsi4 */
29579 :
29580 631428 : case 4:
29581 631428 : if (!insn_condition_52 (operands, insn))
29582 : return -1;
29583 : return 681; /* *divmoddi4 */
29584 :
29585 0 : case 5:
29586 0 : if (insn_condition_2243 (operands, insn))
29587 : return 693; /* *divmodhi4_noext_nf */
29588 0 : if (pnum_clobbers == NULL
29589 0 : || !insn_condition_2218 (operands, insn))
29590 : return -1;
29591 0 : *pnum_clobbers = 1;
29592 0 : return 699; /* *divmodhi4_noext */
29593 :
29594 0 : case 6:
29595 0 : if (insn_condition_584 (operands, insn))
29596 : return 695; /* *divmodsi4_noext_nf */
29597 0 : if (pnum_clobbers == NULL)
29598 : return -1;
29599 0 : *pnum_clobbers = 1;
29600 0 : return 701; /* *divmodsi4_noext */
29601 :
29602 0 : case 7:
29603 0 : if (insn_condition_485 (operands, insn))
29604 : return 697; /* *divmoddi4_noext_nf */
29605 0 : if (pnum_clobbers == NULL
29606 0 : || !insn_condition_52 (operands, insn))
29607 : return -1;
29608 0 : *pnum_clobbers = 1;
29609 0 : return 703; /* *divmoddi4_noext */
29610 :
29611 : default:
29612 : return -1;
29613 : }
29614 :
29615 31045 : case 1:
29616 31045 : if (!const_int_operand (operands[2], E_SImode))
29617 : return -1;
29618 30640 : x4 = XVECEXP (x1, 0, 2);
29619 30640 : if (pattern993 (x4,
29620 : E_CCmode,
29621 : 17) != 0
29622 29841 : || pattern1535 (x1) != 0
29623 55973 : || !insn_condition_2219 (operands, insn))
29624 : return -1;
29625 : return 709; /* *divmodsi4_const */
29626 :
29627 : default:
29628 : return -1;
29629 : }
29630 :
29631 728935 : case UDIV:
29632 728935 : switch (pattern264 (x1))
29633 : {
29634 520887 : case 0:
29635 520887 : switch (pattern1377 (x1, pnum_clobbers))
29636 : {
29637 6 : case 0:
29638 6 : *pnum_clobbers = 1;
29639 6 : return 673; /* udivmodsi4_1 */
29640 :
29641 3 : case 1:
29642 3 : if (!insn_condition_52 (operands, insn))
29643 : return -1;
29644 3 : *pnum_clobbers = 1;
29645 3 : return 674; /* udivmoddi4_1 */
29646 :
29647 1828 : case 2:
29648 1828 : if (!insn_condition_2218 (operands, insn))
29649 : return -1;
29650 : return 682; /* *udivmodhi4 */
29651 :
29652 : case 3:
29653 : return 683; /* *udivmodsi4 */
29654 :
29655 381725 : case 4:
29656 381725 : if (!insn_condition_52 (operands, insn))
29657 : return -1;
29658 : return 684; /* *udivmoddi4 */
29659 :
29660 0 : case 5:
29661 0 : if (insn_condition_2243 (operands, insn))
29662 : return 694; /* *udivmodhi4_noext_nf */
29663 0 : if (pnum_clobbers == NULL
29664 0 : || !insn_condition_2218 (operands, insn))
29665 : return -1;
29666 0 : *pnum_clobbers = 1;
29667 0 : return 700; /* *udivmodhi4_noext */
29668 :
29669 0 : case 6:
29670 0 : if (insn_condition_584 (operands, insn))
29671 : return 696; /* *udivmodsi4_noext_nf */
29672 0 : if (pnum_clobbers == NULL)
29673 : return -1;
29674 0 : *pnum_clobbers = 1;
29675 0 : return 702; /* *udivmodsi4_noext */
29676 :
29677 0 : case 7:
29678 0 : if (insn_condition_485 (operands, insn))
29679 : return 698; /* *udivmoddi4_noext_nf */
29680 0 : if (pnum_clobbers == NULL
29681 0 : || !insn_condition_52 (operands, insn))
29682 : return -1;
29683 0 : *pnum_clobbers = 1;
29684 0 : return 704; /* *udivmoddi4_noext */
29685 :
29686 : default:
29687 : return -1;
29688 : }
29689 :
29690 67976 : case 1:
29691 67976 : x4 = XVECEXP (x1, 0, 2);
29692 67976 : if (pattern993 (x4,
29693 : E_CCmode,
29694 : 17) != 0)
29695 : return -1;
29696 67873 : switch (GET_MODE (operands[0]))
29697 : {
29698 6916 : case E_SImode:
29699 6916 : if (pattern1536 (x1,
29700 : E_SImode) != 0
29701 6916 : || !insn_condition_2220 (operands, insn))
29702 : return -1;
29703 : return 685; /* *udivmodsi4_pow2 */
29704 :
29705 60381 : case E_DImode:
29706 60381 : if (pattern1536 (x1,
29707 : E_DImode) != 0
29708 60381 : || !insn_condition_2221 (operands, insn))
29709 : return -1;
29710 : return 686; /* *udivmoddi4_pow2 */
29711 :
29712 : default:
29713 : return -1;
29714 : }
29715 :
29716 : default:
29717 : return -1;
29718 : }
29719 :
29720 298693 : case ABS:
29721 298693 : switch (pattern266 (x1))
29722 : {
29723 1355 : case 0:
29724 1355 : if (!insn_condition_40 (operands, insn))
29725 : return -1;
29726 : return 1052; /* *abshf2_1 */
29727 :
29728 99350 : case 1:
29729 99350 : if (!insn_condition_2199 (operands, insn))
29730 : return -1;
29731 : return 1054; /* *abssf2_1 */
29732 :
29733 107010 : case 2:
29734 107010 : if (!insn_condition_2200 (operands, insn))
29735 : return -1;
29736 : return 1056; /* *absdf2_1 */
29737 :
29738 : default:
29739 : return -1;
29740 : }
29741 :
29742 68118 : case NEG:
29743 68118 : switch (pattern266 (x1))
29744 : {
29745 550 : case 0:
29746 550 : if (!insn_condition_40 (operands, insn))
29747 : return -1;
29748 : return 1053; /* *neghf2_1 */
29749 :
29750 13670 : case 1:
29751 13670 : if (!insn_condition_2199 (operands, insn))
29752 : return -1;
29753 : return 1055; /* *negsf2_1 */
29754 :
29755 27502 : case 2:
29756 27502 : if (!insn_condition_2200 (operands, insn))
29757 : return -1;
29758 : return 1057; /* *negdf2_1 */
29759 :
29760 : default:
29761 : return -1;
29762 : }
29763 :
29764 1616 : case ROTATE:
29765 1616 : switch (pattern268 (x1))
29766 : {
29767 351 : case 0:
29768 351 : if (!insn_condition_51 (operands, insn))
29769 : return -1;
29770 : return 1464; /* ix86_rotldi3_doubleword */
29771 :
29772 0 : case 1:
29773 0 : if (!insn_condition_52 (operands, insn))
29774 : return -1;
29775 : return 1465; /* ix86_rotlti3_doubleword */
29776 :
29777 : default:
29778 : return -1;
29779 : }
29780 :
29781 947 : case ROTATERT:
29782 947 : switch (pattern268 (x1))
29783 : {
29784 373 : case 0:
29785 373 : if (!insn_condition_51 (operands, insn))
29786 : return -1;
29787 : return 1466; /* ix86_rotrdi3_doubleword */
29788 :
29789 44 : case 1:
29790 44 : if (!insn_condition_52 (operands, insn))
29791 : return -1;
29792 : return 1467; /* ix86_rotrti3_doubleword */
29793 :
29794 : default:
29795 : return -1;
29796 : }
29797 :
29798 14930 : case CALL:
29799 14930 : return recog_444 (x1, insn, pnum_clobbers);
29800 :
29801 2842668 : case PLUS:
29802 2842668 : return recog_445 (x1, insn, pnum_clobbers);
29803 :
29804 0 : case FFS:
29805 0 : if (GET_MODE (x3) != E_SImode)
29806 : return -1;
29807 0 : x7 = XVECEXP (x1, 0, 1);
29808 0 : if (GET_CODE (x7) != CLOBBER)
29809 : return -1;
29810 0 : x4 = XVECEXP (x1, 0, 2);
29811 0 : if (GET_CODE (x4) != CLOBBER
29812 0 : || pattern749 (x1) != 0
29813 0 : || !insn_condition_2244 (operands, insn))
29814 : return -1;
29815 : return 1637; /* ffssi2_no_cmove */
29816 :
29817 625486 : case COMPARE:
29818 625486 : return recog_443 (x1, insn, pnum_clobbers);
29819 :
29820 1222 : case CTZ:
29821 1222 : switch (pattern272 (x1))
29822 : {
29823 : case 0:
29824 : return 1646; /* *ctzsi2_falsedep */
29825 :
29826 334 : case 1:
29827 334 : if (!insn_condition_52 (operands, insn))
29828 : return -1;
29829 : return 1647; /* *ctzdi2_falsedep */
29830 :
29831 : default:
29832 : return -1;
29833 : }
29834 :
29835 229013 : case AND:
29836 229013 : if (GET_MODE (x3) != E_DImode)
29837 : return -1;
29838 126727 : x6 = XEXP (x3, 0);
29839 126727 : if (GET_CODE (x6) != SUBREG
29840 4073 : || maybe_ne (SUBREG_BYTE (x6), 0)
29841 130800 : || GET_MODE (x6) != E_DImode)
29842 : return -1;
29843 4073 : x12 = XEXP (x3, 1);
29844 4073 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
29845 : return -1;
29846 114 : x7 = XVECEXP (x1, 0, 1);
29847 114 : if (GET_CODE (x7) != UNSPEC
29848 12 : || XVECLEN (x7, 0) != 1
29849 12 : || XINT (x7, 1) != 35
29850 12 : || pattern875 (x1) != 0
29851 126 : || !register_operand (operands[0], E_DImode))
29852 : return -1;
29853 12 : x9 = XEXP (x6, 0);
29854 12 : if (GET_MODE (x9) != E_SImode)
29855 : return -1;
29856 12 : x10 = XVECEXP (x7, 0, 0);
29857 12 : operands[2] = x10;
29858 12 : if (!register_operand (operands[2], E_DImode))
29859 : return -1;
29860 12 : switch (GET_CODE (x9))
29861 : {
29862 4 : case CTZ:
29863 4 : x15 = XEXP (x9, 0);
29864 4 : operands[1] = x15;
29865 4 : if (!nonimmediate_operand (operands[1], E_SImode)
29866 4 : || !insn_condition_796 (operands, insn))
29867 : return -1;
29868 : return 1649; /* *ctzsi2_zext_falsedep */
29869 :
29870 4 : case CLZ:
29871 4 : x15 = XEXP (x9, 0);
29872 4 : operands[1] = x15;
29873 4 : switch (GET_MODE (operands[1]))
29874 : {
29875 4 : case E_SImode:
29876 4 : if (!nonimmediate_operand (operands[1], E_SImode)
29877 4 : || !insn_condition_892 (operands, insn))
29878 : return -1;
29879 : return 1679; /* *clzsi2_lzcnt_zext_falsedep */
29880 :
29881 0 : case E_DImode:
29882 0 : if (!nonimmediate_operand (operands[1], E_DImode)
29883 0 : || !insn_condition_933 (operands, insn))
29884 : return -1;
29885 : return 1680; /* *clzsi2_lzcnt_zext_falsedep */
29886 :
29887 : default:
29888 : return -1;
29889 : }
29890 :
29891 4 : case POPCOUNT:
29892 4 : x15 = XEXP (x9, 0);
29893 4 : operands[1] = x15;
29894 4 : if (!nonimmediate_operand (operands[1], E_SImode)
29895 4 : || !insn_condition_727 (operands, insn))
29896 : return -1;
29897 : return 1771; /* *popcountsi2_zext_falsedep */
29898 :
29899 : default:
29900 : return -1;
29901 : }
29902 :
29903 214434 : case MINUS:
29904 214434 : x4 = XVECEXP (x1, 0, 2);
29905 214434 : if (GET_CODE (x4) != CLOBBER)
29906 : return -1;
29907 1664 : x5 = XEXP (x2, 0);
29908 1664 : operands[0] = x5;
29909 1664 : x6 = XEXP (x3, 0);
29910 1664 : switch (GET_CODE (x6))
29911 : {
29912 1488 : case CONST_INT:
29913 1488 : x12 = XEXP (x3, 1);
29914 1488 : if (GET_CODE (x12) != CLZ
29915 1488 : || pattern870 (x1) != 0)
29916 : return -1;
29917 1488 : x13 = XEXP (x12, 0);
29918 1488 : operands[1] = x13;
29919 1488 : x7 = XVECEXP (x1, 0, 1);
29920 1488 : x10 = XVECEXP (x7, 0, 0);
29921 1488 : operands[2] = x10;
29922 1488 : switch (XWINT (x6, 0))
29923 : {
29924 855 : case 63L:
29925 855 : if (pattern1624 (x3,
29926 : E_DImode) != 0
29927 855 : || !insn_condition_699 (operands, insn))
29928 : return -1;
29929 : return 1657; /* *bsr_rex64_1_falsedep */
29930 :
29931 633 : case 31L:
29932 633 : if (pattern1624 (x3,
29933 : E_SImode) != 0
29934 633 : || !insn_condition_774 (operands, insn))
29935 : return -1;
29936 : return 1663; /* *bsr_1_falsedep */
29937 :
29938 : default:
29939 : return -1;
29940 : }
29941 :
29942 45 : case REG:
29943 45 : case SUBREG:
29944 45 : operands[1] = x6;
29945 45 : if (pattern876 (x1) != 0)
29946 : return -1;
29947 45 : x12 = XEXP (x3, 1);
29948 45 : operands[2] = x12;
29949 45 : switch (GET_MODE (operands[0]))
29950 : {
29951 0 : case E_SImode:
29952 0 : if (pattern590 (x3,
29953 : E_SImode) != 0
29954 0 : || !insn_condition_951 (operands, insn))
29955 : return -1;
29956 : return 2014; /* pro_epilogue_adjust_stack_sub_si */
29957 :
29958 45 : case E_DImode:
29959 45 : if (pattern590 (x3,
29960 : E_DImode) != 0
29961 45 : || !insn_condition_952 (operands, insn))
29962 : return -1;
29963 : return 2015; /* pro_epilogue_adjust_stack_sub_di */
29964 :
29965 : default:
29966 : return -1;
29967 : }
29968 :
29969 : default:
29970 : return -1;
29971 : }
29972 :
29973 23 : case CLZ:
29974 23 : switch (pattern272 (x1))
29975 : {
29976 9 : case 0:
29977 9 : if (!insn_condition_892 (operands, insn))
29978 : return -1;
29979 : return 1676; /* *clzsi2_lzcnt_falsedep */
29980 :
29981 4 : case 1:
29982 4 : if (!insn_condition_933 (operands, insn))
29983 : return -1;
29984 : return 1677; /* *clzdi2_lzcnt_falsedep */
29985 :
29986 : default:
29987 : return -1;
29988 : }
29989 :
29990 17919 : case XOR:
29991 17919 : x6 = XEXP (x3, 0);
29992 17919 : if (GET_CODE (x6) != PLUS)
29993 : return -1;
29994 2163 : x11 = XEXP (x6, 1);
29995 2163 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
29996 : return -1;
29997 171 : x7 = XVECEXP (x1, 0, 1);
29998 171 : if (pattern286 (x7,
29999 : E_CCmode,
30000 : 17) != 0)
30001 : return -1;
30002 144 : x4 = XVECEXP (x1, 0, 2);
30003 144 : if (GET_CODE (x4) != UNSPEC
30004 1 : || XVECLEN (x4, 0) != 1
30005 1 : || XINT (x4, 1) != 35)
30006 : return -1;
30007 1 : x5 = XEXP (x2, 0);
30008 1 : operands[0] = x5;
30009 1 : x9 = XEXP (x6, 0);
30010 1 : operands[1] = x9;
30011 1 : x22 = XVECEXP (x4, 0, 0);
30012 1 : operands[2] = x22;
30013 1 : x12 = XEXP (x3, 1);
30014 1 : if (!rtx_equal_p (x12, operands[1]))
30015 : return -1;
30016 1 : switch (GET_MODE (operands[0]))
30017 : {
30018 1 : case E_SImode:
30019 1 : if (pattern1686 (x3,
30020 : E_SImode) != 0
30021 1 : || !insn_condition_56 (operands, insn))
30022 : return -1;
30023 : return 1718; /* *bmi_blsmsk_si_falsedep */
30024 :
30025 0 : case E_DImode:
30026 0 : if (pattern1686 (x3,
30027 : E_DImode) != 0
30028 0 : || !insn_condition_57 (operands, insn))
30029 : return -1;
30030 : return 1719; /* *bmi_blsmsk_di_falsedep */
30031 :
30032 : default:
30033 : return -1;
30034 : }
30035 :
30036 65 : case POPCOUNT:
30037 65 : switch (pattern272 (x1))
30038 : {
30039 32 : case 0:
30040 32 : if (!insn_condition_935 (operands, insn))
30041 : return -1;
30042 : return 1768; /* *popcountsi2_falsedep */
30043 :
30044 27 : case 1:
30045 2573451 : if (!insn_condition_937 (operands, insn))
30046 : return -1;
30047 : return 1769; /* *popcountdi2_falsedep */
30048 :
30049 : default:
30050 : return -1;
30051 : }
30052 :
30053 87856 : case MEM:
30054 87856 : return recog_446 (x1, insn, pnum_clobbers);
30055 :
30056 50898 : case REG:
30057 50898 : case SUBREG:
30058 50898 : operands[2] = x3;
30059 50898 : if (pattern273 (x1) != 0)
30060 : return -1;
30061 1982 : x4 = XVECEXP (x1, 0, 2);
30062 1982 : if (pattern423 (x4,
30063 : 33) != 0)
30064 : return -1;
30065 0 : x5 = XEXP (x2, 0);
30066 0 : x23 = XEXP (x5, 0);
30067 0 : operands[1] = x23;
30068 0 : x7 = XVECEXP (x1, 0, 1);
30069 0 : x17 = XEXP (x7, 0);
30070 0 : operands[0] = x17;
30071 0 : x14 = XEXP (x7, 1);
30072 0 : x20 = XEXP (x14, 0);
30073 0 : if (!rtx_equal_p (x20, operands[1]))
30074 : return -1;
30075 0 : x21 = XEXP (x14, 1);
30076 0 : switch (XWINT (x21, 0))
30077 : {
30078 0 : case 8L:
30079 0 : switch (pattern1625 (x1,
30080 : E_DImode))
30081 : {
30082 0 : case 0:
30083 0 : if (!insn_condition_2245 (operands, insn))
30084 : return -1;
30085 : return 1914; /* *strsetdi_rex_1 */
30086 :
30087 0 : case 1:
30088 0 : if (!insn_condition_2246 (operands, insn))
30089 : return -1;
30090 : return 1915; /* *strsetdi_rex_1 */
30091 :
30092 : default:
30093 : return -1;
30094 : }
30095 :
30096 0 : case 4L:
30097 0 : switch (pattern1625 (x1,
30098 : E_SImode))
30099 : {
30100 0 : case 0:
30101 0 : if (!insn_condition_2247 (operands, insn))
30102 : return -1;
30103 : return 1916; /* *strsetsi_1 */
30104 :
30105 0 : case 1:
30106 0 : if (!insn_condition_2248 (operands, insn))
30107 : return -1;
30108 : return 1917; /* *strsetsi_1 */
30109 :
30110 : default:
30111 : return -1;
30112 : }
30113 :
30114 0 : case 2L:
30115 0 : switch (pattern1625 (x1,
30116 : E_HImode))
30117 : {
30118 0 : case 0:
30119 0 : if (!insn_condition_2247 (operands, insn))
30120 : return -1;
30121 : return 1918; /* *strsethi_1 */
30122 :
30123 0 : case 1:
30124 0 : if (!insn_condition_2248 (operands, insn))
30125 : return -1;
30126 : return 1919; /* *strsethi_1 */
30127 :
30128 : default:
30129 : return -1;
30130 : }
30131 :
30132 0 : case 1L:
30133 0 : switch (pattern1625 (x1,
30134 : E_QImode))
30135 : {
30136 0 : case 0:
30137 0 : if (!insn_condition_2247 (operands, insn))
30138 : return -1;
30139 : return 1920; /* *strsetqi_1 */
30140 :
30141 0 : case 1:
30142 0 : if (!insn_condition_2248 (operands, insn))
30143 : return -1;
30144 : return 1921; /* *strsetqi_1 */
30145 :
30146 : default:
30147 : return -1;
30148 : }
30149 :
30150 : default:
30151 : return -1;
30152 : }
30153 :
30154 595669 : case UNSPEC_VOLATILE:
30155 595669 : return recog_442 (x1, insn, pnum_clobbers);
30156 :
30157 : default:
30158 : return -1;
30159 : }
30160 : }
30161 :
30162 : rtx_insn *
30163 143854 : split_8 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30164 : {
30165 143854 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30166 143854 : rtx_insn *res ATTRIBUTE_UNUSED;
30167 143854 : switch (pattern74 (x1))
30168 : {
30169 0 : case 0:
30170 0 : if (!insn_condition_2353 (operands, insn))
30171 : return NULL;
30172 0 : return gen_split_32 (insn, operands);
30173 :
30174 0 : case 1:
30175 0 : if (!insn_condition_2354 (operands, insn))
30176 : return NULL;
30177 0 : return gen_split_35 (insn, operands);
30178 :
30179 0 : case 2:
30180 0 : if (!insn_condition_2355 (operands, insn))
30181 : return NULL;
30182 0 : return gen_split_38 (insn, operands);
30183 :
30184 0 : case 3:
30185 0 : if (!insn_condition_2387 (operands, insn))
30186 : return NULL;
30187 0 : return gen_split_169 (insn, operands);
30188 :
30189 0 : case 4:
30190 0 : if (!insn_condition_2387 (operands, insn))
30191 : return NULL;
30192 0 : return gen_split_171 (insn, operands);
30193 :
30194 0 : case 5:
30195 0 : if (!insn_condition_2388 (operands, insn))
30196 : return NULL;
30197 0 : return gen_split_173 (insn, operands);
30198 :
30199 0 : case 6:
30200 0 : if (register_operand (operands[0], E_DImode)
30201 0 : && register_no_SP_operand (operands[1], E_DImode)
30202 0 : && const_0_to_3_operand (operands[2], E_VOIDmode)
30203 0 : && const_int_operand (operands[3], E_VOIDmode)
30204 0 : && insn_condition_2389 (operands, insn))
30205 0 : return gen_split_175 (insn, operands);
30206 0 : if (!nonimmediate_operand (operands[0], E_DImode)
30207 0 : || !register_operand (operands[1], E_DImode)
30208 0 : || !const_int_operand (operands[2], E_QImode)
30209 0 : || !const_scalar_int_operand (operands[3], E_DImode)
30210 0 : || !insn_condition_2359 (operands, insn))
30211 : return NULL;
30212 0 : return gen_split_482 (insn, operands);
30213 :
30214 0 : case 7:
30215 0 : if (!insn_condition_2360 (operands, insn))
30216 : return NULL;
30217 0 : return gen_split_485 (insn, operands);
30218 :
30219 0 : case 8:
30220 0 : if (!insn_condition_2361 (operands, insn))
30221 : return NULL;
30222 0 : return gen_split_446 (insn, operands);
30223 :
30224 0 : case 9:
30225 0 : if (!insn_condition_2362 (operands, insn))
30226 : return NULL;
30227 0 : return gen_split_449 (insn, operands);
30228 :
30229 6 : case 10:
30230 6 : if (!insn_condition_2363 (operands, insn))
30231 : return NULL;
30232 0 : return gen_split_578 (insn, operands);
30233 :
30234 9 : case 11:
30235 9 : if (!insn_condition_2364 (operands, insn))
30236 : return NULL;
30237 0 : return gen_split_590 (insn, operands);
30238 :
30239 0 : case 12:
30240 0 : if (!insn_condition_2361 (operands, insn))
30241 : return NULL;
30242 0 : return gen_split_458 (insn, operands);
30243 :
30244 0 : case 13:
30245 0 : if (!insn_condition_2362 (operands, insn))
30246 : return NULL;
30247 0 : return gen_split_464 (insn, operands);
30248 :
30249 1 : case 14:
30250 1 : if (!insn_condition_2365 (operands, insn))
30251 : return NULL;
30252 0 : return gen_split_488 (insn, operands);
30253 :
30254 0 : case 15:
30255 0 : if (!insn_condition_2366 (operands, insn))
30256 : return NULL;
30257 0 : return gen_split_494 (insn, operands);
30258 :
30259 0 : case 16:
30260 0 : if (!insn_condition_2361 (operands, insn))
30261 : return NULL;
30262 0 : return gen_split_461 (insn, operands);
30263 :
30264 0 : case 17:
30265 0 : if (!insn_condition_2362 (operands, insn))
30266 : return NULL;
30267 0 : return gen_split_467 (insn, operands);
30268 :
30269 0 : case 18:
30270 0 : if (!insn_condition_2365 (operands, insn))
30271 : return NULL;
30272 0 : return gen_split_491 (insn, operands);
30273 :
30274 0 : case 19:
30275 0 : if (!insn_condition_2366 (operands, insn))
30276 : return NULL;
30277 0 : return gen_split_497 (insn, operands);
30278 :
30279 0 : case 20:
30280 0 : if (!insn_condition_2367 (operands, insn))
30281 : return NULL;
30282 0 : return gen_split_452 (insn, operands);
30283 :
30284 0 : case 21:
30285 0 : if (!insn_condition_2368 (operands, insn))
30286 : return NULL;
30287 0 : return gen_split_455 (insn, operands);
30288 :
30289 0 : case 22:
30290 0 : if (!insn_condition_2367 (operands, insn))
30291 : return NULL;
30292 0 : return gen_split_470 (insn, operands);
30293 :
30294 0 : case 23:
30295 0 : if (!insn_condition_2368 (operands, insn))
30296 : return NULL;
30297 0 : return gen_split_476 (insn, operands);
30298 :
30299 0 : case 24:
30300 0 : if (!insn_condition_2367 (operands, insn))
30301 : return NULL;
30302 0 : return gen_split_473 (insn, operands);
30303 :
30304 0 : case 25:
30305 0 : if (!insn_condition_2368 (operands, insn))
30306 : return NULL;
30307 0 : return gen_split_479 (insn, operands);
30308 :
30309 0 : case 26:
30310 0 : if (!insn_condition_2369 (operands, insn))
30311 : return NULL;
30312 0 : return gen_split_500 (insn, operands);
30313 :
30314 0 : case 27:
30315 0 : if (!insn_condition_2370 (operands, insn))
30316 : return NULL;
30317 0 : return gen_split_503 (insn, operands);
30318 :
30319 0 : case 28:
30320 0 : if (!insn_condition_2363 (operands, insn))
30321 : return NULL;
30322 0 : return gen_split_641 (insn, operands);
30323 :
30324 29 : case 29:
30325 29 : if (!insn_condition_2364 (operands, insn))
30326 : return NULL;
30327 0 : return gen_split_653 (insn, operands);
30328 :
30329 : default:
30330 : return NULL;
30331 : }
30332 : }
30333 :
30334 : rtx_insn *
30335 465710 : split_12 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30336 : {
30337 465710 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30338 465710 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
30339 465710 : rtx x10, x11;
30340 465710 : rtx_insn *res ATTRIBUTE_UNUSED;
30341 465710 : x2 = XEXP (x1, 0);
30342 465710 : operands[0] = x2;
30343 465710 : x3 = XEXP (x1, 1);
30344 465710 : x4 = XEXP (x3, 0);
30345 465710 : operands[2] = x4;
30346 465710 : x5 = XEXP (x3, 1);
30347 465710 : switch (GET_CODE (x5))
30348 : {
30349 6640 : case XOR:
30350 6640 : x6 = XEXP (x5, 1);
30351 6640 : if (GET_CODE (x6) != CONST_INT)
30352 : return NULL;
30353 6536 : x7 = XEXP (x5, 0);
30354 6536 : switch (GET_CODE (x7))
30355 : {
30356 4353 : case MINUS:
30357 4353 : if (GET_MODE (x7) != E_SImode)
30358 : return NULL;
30359 4353 : x8 = XEXP (x7, 0);
30360 4353 : if (GET_CODE (x8) != CONST_INT
30361 4353 : || !register_operand (operands[0], E_SImode)
30362 4353 : || GET_MODE (x3) != E_SImode
30363 4353 : || !const_int_operand (operands[2], E_SImode)
30364 6462 : || GET_MODE (x5) != E_SImode)
30365 : return NULL;
30366 2109 : x9 = XEXP (x7, 1);
30367 2109 : if (GET_MODE (x9) != E_SImode)
30368 : return NULL;
30369 2109 : switch (XWINT (x8, 0))
30370 : {
30371 1371 : case 63L:
30372 1371 : if (GET_CODE (x9) != SUBREG
30373 1371 : || maybe_ne (SUBREG_BYTE (x9), 0))
30374 : return NULL;
30375 1371 : x10 = XEXP (x9, 0);
30376 1371 : if (GET_CODE (x10) != CLZ
30377 1371 : || GET_MODE (x10) != E_DImode
30378 1371 : || XWINT (x6, 0) != 63L)
30379 : return NULL;
30380 1371 : x11 = XEXP (x10, 0);
30381 1371 : operands[1] = x11;
30382 1371 : if (!nonimmediate_operand (operands[1], E_DImode)
30383 1371 : || !insn_condition_712 (operands, insn))
30384 : return NULL;
30385 1371 : return gen_split_932 (insn, operands);
30386 :
30387 738 : case 31L:
30388 738 : if (GET_CODE (x9) != CLZ
30389 738 : || XWINT (x6, 0) != 31L)
30390 : return NULL;
30391 738 : x10 = XEXP (x9, 0);
30392 738 : operands[1] = x10;
30393 738 : if (!nonimmediate_operand (operands[1], E_SImode)
30394 738 : || !insn_condition_2391 (operands, insn))
30395 : return NULL;
30396 738 : return gen_split_933 (insn, operands);
30397 :
30398 : default:
30399 : return NULL;
30400 : }
30401 :
30402 16 : case SIGN_EXTEND:
30403 16 : if (pattern879 (x3) != 0
30404 16 : || !insn_condition_2392 (operands, insn))
30405 : return NULL;
30406 8 : return gen_split_934 (insn, operands);
30407 :
30408 40 : case ZERO_EXTEND:
30409 40 : if (pattern879 (x3) != 0
30410 40 : || !insn_condition_2392 (operands, insn))
30411 : return NULL;
30412 30 : return gen_split_935 (insn, operands);
30413 :
30414 : default:
30415 : return NULL;
30416 : }
30417 :
30418 2864 : case SIGN_EXTEND:
30419 2864 : if (pattern605 (x3) != 0
30420 2864 : || !insn_condition_2393 (operands, insn))
30421 : return NULL;
30422 0 : return gen_split_936 (insn, operands);
30423 :
30424 4061 : case ZERO_EXTEND:
30425 4061 : if (pattern605 (x3) != 0
30426 4061 : || !insn_condition_2393 (operands, insn))
30427 : return NULL;
30428 4 : return gen_split_937 (insn, operands);
30429 :
30430 : default:
30431 : return NULL;
30432 : }
30433 : }
30434 :
30435 : rtx_insn *
30436 63156 : split_18 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30437 : {
30438 63156 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30439 63156 : rtx x2, x3, x4, x5, x6, x7, x8;
30440 63156 : rtx_insn *res ATTRIBUTE_UNUSED;
30441 63156 : x2 = XVECEXP (x1, 0, 0);
30442 63156 : x3 = XEXP (x2, 1);
30443 63156 : x4 = XEXP (x3, 0);
30444 63156 : x5 = XEXP (x4, 0);
30445 63156 : switch (GET_CODE (x5))
30446 : {
30447 51724 : case REG:
30448 51724 : case SUBREG:
30449 51724 : operands[1] = x5;
30450 51724 : if (!register_operand (operands[1], E_SImode))
30451 : return NULL;
30452 14473 : x6 = XEXP (x2, 0);
30453 14473 : operands[0] = x6;
30454 14473 : if (!register_operand (operands[0], E_DImode)
30455 5907 : || GET_MODE (x3) != E_DImode
30456 20380 : || GET_MODE (x4) != E_DImode)
30457 : return NULL;
30458 5907 : x7 = XEXP (x3, 1);
30459 5907 : operands[2] = x7;
30460 5907 : if (!x86_64_zext_immediate_operand (operands[2], E_DImode)
30461 5907 : || !insn_condition_52 (operands, insn))
30462 : return NULL;
30463 5906 : return gen_split_300 (insn, operands);
30464 :
30465 1070 : case ASHIFTRT:
30466 1070 : case LSHIFTRT:
30467 1070 : case SIGN_EXTRACT:
30468 1070 : case ZERO_EXTRACT:
30469 1070 : operands[3] = x5;
30470 1070 : if (GET_MODE (x3) != E_QImode
30471 287 : || GET_MODE (x4) != E_QImode)
30472 : return NULL;
30473 287 : x8 = XEXP (x5, 0);
30474 287 : if (!int248_register_operand (x8, E_VOIDmode))
30475 : return NULL;
30476 137 : operands[2] = x8;
30477 137 : switch (pattern1687 (x2))
30478 : {
30479 5 : case 0:
30480 5 : if (insn_condition_2440 (operands, insn))
30481 0 : return gen_split_307 (insn, operands);
30482 : break;
30483 :
30484 5 : case 1:
30485 5 : if (insn_condition_2440 (operands, insn))
30486 0 : return gen_split_310 (insn, operands);
30487 : break;
30488 :
30489 5 : case 2:
30490 5 : if (insn_condition_2441 (operands, insn))
30491 0 : return gen_split_313 (insn, operands);
30492 : break;
30493 :
30494 : default:
30495 : break;
30496 : }
30497 137 : operands[1] = x8;
30498 137 : switch (pattern1688 (x2))
30499 : {
30500 2 : case 0:
30501 2 : if (!insn_condition_2358 (operands, insn))
30502 : return NULL;
30503 1 : return gen_split_316 (insn, operands);
30504 :
30505 2 : case 1:
30506 2 : if (!insn_condition_2358 (operands, insn))
30507 : return NULL;
30508 1 : return gen_split_319 (insn, operands);
30509 :
30510 2 : case 2:
30511 2 : if (!insn_condition_2452 (operands, insn))
30512 : return NULL;
30513 1 : return gen_split_322 (insn, operands);
30514 :
30515 2 : case 3:
30516 2 : if (!insn_condition_2453 (operands, insn))
30517 : return NULL;
30518 1 : return gen_split_336 (insn, operands);
30519 :
30520 2 : case 4:
30521 2 : if (!insn_condition_2453 (operands, insn))
30522 : return NULL;
30523 1 : return gen_split_339 (insn, operands);
30524 :
30525 2 : case 5:
30526 2 : if (!insn_condition_2384 (operands, insn))
30527 : return NULL;
30528 1 : return gen_split_342 (insn, operands);
30529 :
30530 : default:
30531 : return NULL;
30532 : }
30533 :
30534 27 : case ROTATE:
30535 27 : if (GET_MODE (x5) != E_SImode)
30536 : return NULL;
30537 27 : x8 = XEXP (x5, 0);
30538 27 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + -2])
30539 : return NULL;
30540 17 : switch (pattern1473 (x2))
30541 : {
30542 9 : case 0:
30543 9 : if (!insn_condition_2454 (operands, insn))
30544 : return NULL;
30545 9 : return gen_split_854 (insn, operands);
30546 :
30547 4 : case 1:
30548 4 : if (!insn_condition_2454 (operands, insn))
30549 : return NULL;
30550 4 : return gen_split_855 (insn, operands);
30551 :
30552 : default:
30553 : return NULL;
30554 : }
30555 :
30556 : default:
30557 : return NULL;
30558 : }
30559 : }
30560 :
30561 : rtx_insn *
30562 701487 : split_22 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30563 : {
30564 701487 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30565 701487 : rtx x2, x3, x4, x5;
30566 701487 : rtx_insn *res ATTRIBUTE_UNUSED;
30567 701487 : x2 = XVECEXP (x1, 0, 0);
30568 701487 : switch (pattern992 (x2))
30569 : {
30570 656712 : case 0:
30571 656712 : x3 = XEXP (x2, 0);
30572 656712 : operands[0] = x3;
30573 656712 : x4 = XEXP (x2, 1);
30574 656712 : x5 = XEXP (x4, 1);
30575 656712 : if (GET_CODE (x5) == SUBREG)
30576 : {
30577 6873 : switch (pattern1477 (x4))
30578 : {
30579 5 : case 0:
30580 5 : if (insn_condition_2459 (operands, insn))
30581 0 : return gen_split_620 (insn, operands);
30582 : break;
30583 :
30584 10 : case 1:
30585 10 : if (insn_condition_2460 (operands, insn))
30586 10 : return gen_split_622 (insn, operands);
30587 : break;
30588 :
30589 : default:
30590 : break;
30591 : }
30592 : }
30593 656702 : if (GET_MODE (x4) == E_SImode
30594 656702 : && nonimmediate_operand (operands[1], E_SImode))
30595 : {
30596 158806 : if (register_operand (operands[0], E_SImode))
30597 : {
30598 158609 : operands[2] = x5;
30599 158609 : if (register_operand (operands[2], E_QImode)
30600 158609 : && insn_condition_2419 (operands, insn))
30601 37 : return gen_split_669 (insn, operands);
30602 : }
30603 158769 : if (GET_CODE (x5) == SUBREG)
30604 : {
30605 5316 : switch (pattern1581 (x5))
30606 : {
30607 68 : case 0:
30608 68 : if (insn_condition_2469 (operands, insn))
30609 68 : return gen_split_686 (insn, operands);
30610 : break;
30611 :
30612 0 : case 1:
30613 0 : if (insn_condition_2470 (operands, insn))
30614 0 : return gen_split_698 (insn, operands);
30615 : break;
30616 :
30617 0 : case 2:
30618 0 : if (insn_condition_2471 (operands, insn))
30619 0 : return gen_split_710 (insn, operands);
30620 : break;
30621 :
30622 : default:
30623 : break;
30624 : }
30625 : }
30626 : }
30627 656597 : operands[2] = x5;
30628 656597 : switch (pattern1381 (x2))
30629 : {
30630 411325 : case 0:
30631 411325 : if (register_operand (operands[1], E_DImode)
30632 411242 : && nonmemory_operand (operands[2], E_QImode)
30633 411325 : && insn_condition_2464 (operands, insn))
30634 139 : return gen_split_628 (insn, operands);
30635 411186 : if (nonimmediate_operand (operands[1], E_DImode)
30636 411136 : && register_operand (operands[2], E_QImode)
30637 411186 : && insn_condition_2420 (operands, insn))
30638 51 : return gen_split_671 (insn, operands);
30639 : break;
30640 :
30641 10195 : case 1:
30642 10195 : if (insn_condition_2465 (operands, insn))
30643 4762 : return gen_split_630 (insn, operands);
30644 : break;
30645 :
30646 83 : case 2:
30647 83 : if (insn_condition_2416 (operands, insn))
30648 1 : return gen_split_675 (insn, operands);
30649 : break;
30650 :
30651 3 : case 3:
30652 3 : if (insn_condition_2416 (operands, insn))
30653 0 : return gen_split_677 (insn, operands);
30654 : break;
30655 :
30656 : default:
30657 : break;
30658 : }
30659 651644 : if (GET_CODE (x5) != SUBREG)
30660 : return NULL;
30661 6795 : switch (pattern1285 (x2,
30662 : E_DImode))
30663 : {
30664 5 : case 0:
30665 5 : if (!insn_condition_2472 (operands, insn))
30666 : return NULL;
30667 5 : return gen_split_689 (insn, operands);
30668 :
30669 0 : case 1:
30670 0 : if (!insn_condition_2473 (operands, insn))
30671 : return NULL;
30672 0 : return gen_split_701 (insn, operands);
30673 :
30674 0 : case 2:
30675 0 : if (!insn_condition_2474 (operands, insn))
30676 : return NULL;
30677 0 : return gen_split_713 (insn, operands);
30678 :
30679 : default:
30680 : return NULL;
30681 : }
30682 :
30683 1 : case 1:
30684 1 : if (register_operand (operands[0], E_DImode)
30685 1 : && register_operand (operands[1], E_DImode)
30686 2 : && insn_condition_2459 (operands, insn))
30687 0 : return gen_split_624 (insn, operands);
30688 1 : if (!nonimmediate_operand (operands[0], E_DImode)
30689 1 : || !nonimmediate_operand (operands[1], E_DImode)
30690 2 : || !insn_condition_2472 (operands, insn))
30691 : return NULL;
30692 1 : return gen_split_695 (insn, operands);
30693 :
30694 1 : case 2:
30695 1 : if (!insn_condition_2460 (operands, insn))
30696 : return NULL;
30697 1 : return gen_split_626 (insn, operands);
30698 :
30699 1 : case 3:
30700 1 : if (!insn_condition_2469 (operands, insn))
30701 : return NULL;
30702 1 : return gen_split_692 (insn, operands);
30703 :
30704 2 : case 4:
30705 2 : if (!insn_condition_2470 (operands, insn))
30706 : return NULL;
30707 2 : return gen_split_704 (insn, operands);
30708 :
30709 10 : case 5:
30710 10 : if (!insn_condition_2473 (operands, insn))
30711 : return NULL;
30712 4 : return gen_split_707 (insn, operands);
30713 :
30714 26 : case 6:
30715 26 : if (!insn_condition_2471 (operands, insn))
30716 : return NULL;
30717 6 : return gen_split_716 (insn, operands);
30718 :
30719 11 : case 7:
30720 11 : if (!insn_condition_2474 (operands, insn))
30721 : return NULL;
30722 6 : return gen_split_719 (insn, operands);
30723 :
30724 0 : case 8:
30725 0 : if (!insn_condition_2475 (operands, insn))
30726 : return NULL;
30727 0 : return gen_split_720 (insn, operands);
30728 :
30729 5336 : case 9:
30730 5336 : if (!insn_condition_2476 (operands, insn))
30731 : return NULL;
30732 2668 : return gen_split_721 (insn, operands);
30733 :
30734 : default:
30735 : return NULL;
30736 : }
30737 : }
30738 :
30739 : rtx_insn *
30740 1793633 : split_26 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30741 : {
30742 1793633 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30743 1793633 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
30744 1793633 : rtx x10;
30745 1793633 : rtx_insn *res ATTRIBUTE_UNUSED;
30746 1793633 : x2 = XVECEXP (x1, 0, 1);
30747 1793633 : if (pattern286 (x2,
30748 : E_CCmode,
30749 : 17) != 0)
30750 : return NULL;
30751 1566542 : x3 = XVECEXP (x1, 0, 0);
30752 1566542 : x4 = XEXP (x3, 1);
30753 1566542 : x5 = XEXP (x4, 0);
30754 1566542 : switch (GET_CODE (x5))
30755 : {
30756 1444224 : case CONST_INT:
30757 1444224 : case CONST_WIDE_INT:
30758 1444224 : case CONST_POLY_INT:
30759 1444224 : case CONST_FIXED:
30760 1444224 : case CONST_DOUBLE:
30761 1444224 : case CONST_VECTOR:
30762 1444224 : case CONST:
30763 1444224 : case REG:
30764 1444224 : case SUBREG:
30765 1444224 : case MEM:
30766 1444224 : case LABEL_REF:
30767 1444224 : case SYMBOL_REF:
30768 1444224 : case HIGH:
30769 1444224 : operands[1] = x5;
30770 1444224 : switch (pattern1216 (x3))
30771 : {
30772 1443454 : case 0:
30773 1443454 : switch (GET_MODE (operands[0]))
30774 : {
30775 528576 : case E_DImode:
30776 528576 : if (nonimmediate_operand (operands[0], E_DImode)
30777 528555 : && GET_MODE (x4) == E_DImode
30778 1057131 : && nonimmediate_operand (operands[1], E_DImode))
30779 : {
30780 528060 : if (x86_64_hilo_general_operand (operands[2], E_DImode)
30781 528060 : && insn_condition_2514 (operands, insn))
30782 11294 : return gen_split_297 (insn, operands);
30783 516766 : if (const_int_operand (operands[2], E_DImode)
30784 516766 : && insn_condition_2515 (operands, insn))
30785 688 : return gen_split_299 (insn, operands);
30786 : }
30787 : break;
30788 :
30789 14699 : case E_TImode:
30790 14699 : if (pattern586 (x4,
30791 : E_TImode) == 0
30792 14699 : && insn_condition_2516 (operands, insn))
30793 7346 : return gen_split_298 (insn, operands);
30794 : break;
30795 :
30796 80414 : case E_HImode:
30797 80414 : if (pattern1400 (x4,
30798 : E_HImode) == 0
30799 80414 : && insn_condition_2517 (operands, insn))
30800 0 : return gen_split_325 (insn, operands);
30801 : break;
30802 :
30803 562514 : case E_SImode:
30804 562514 : if (pattern1400 (x4,
30805 : E_SImode) == 0
30806 562514 : && insn_condition_2517 (operands, insn))
30807 4 : return gen_split_326 (insn, operands);
30808 : break;
30809 :
30810 : default:
30811 : break;
30812 : }
30813 : break;
30814 :
30815 728 : case 1:
30816 728 : if (insn_condition_2437 (operands, insn))
30817 10 : return gen_split_301 (insn, operands);
30818 : break;
30819 :
30820 21 : case 2:
30821 21 : if (insn_condition_2437 (operands, insn))
30822 3 : return gen_split_304 (insn, operands);
30823 : break;
30824 :
30825 : default:
30826 : break;
30827 : }
30828 1424879 : x6 = XEXP (x4, 1);
30829 1424879 : if (GET_CODE (x6) == CONST_INT)
30830 : {
30831 1098195 : res = split_17 (x1, insn);
30832 1098195 : if (res != NULL_RTX)
30833 : return res;
30834 : }
30835 1421065 : if (GET_CODE (x5) == SUBREG
30836 1421065 : && known_eq (SUBREG_BYTE (x5), 0))
30837 : {
30838 63156 : res = split_18 (x1, insn);
30839 63156 : if (res != NULL_RTX)
30840 : return res;
30841 : }
30842 1415140 : if (GET_CODE (x6) != CONST_INT)
30843 : return NULL;
30844 1088475 : operands[2] = x6;
30845 1088475 : if (const_int_operand (operands[2], E_DImode))
30846 : {
30847 1088475 : x7 = XEXP (x3, 0);
30848 1088475 : operands[0] = x7;
30849 1088475 : if (register_operand (operands[0], E_DImode)
30850 1088475 : && GET_MODE (x4) == E_DImode)
30851 : {
30852 284239 : operands[1] = x5;
30853 284239 : if (nonimmediate_operand (operands[1], E_DImode)
30854 284239 : && insn_condition_2518 (operands, insn))
30855 28 : return gen_split_327 (insn, operands);
30856 : }
30857 : }
30858 1088447 : x7 = XEXP (x3, 0);
30859 1088447 : operands[0] = x7;
30860 1088447 : if (GET_MODE (x4) != E_DImode)
30861 : return NULL;
30862 284618 : if (rtx_equal_p (x5, operands[0]))
30863 : {
30864 186973 : switch (XWINT (x6, 0))
30865 : {
30866 419 : case -65536L:
30867 419 : if (register_operand (operands[0], E_DImode)
30868 419 : && insn_condition_2519 (operands, insn))
30869 419 : return gen_split_329 (insn, operands);
30870 : break;
30871 :
30872 268 : case -256L:
30873 268 : if (any_QIreg_operand (operands[0], E_DImode)
30874 268 : && insn_condition_2520 (operands, insn))
30875 268 : return gen_split_332 (insn, operands);
30876 : break;
30877 :
30878 4 : case -65281L:
30879 4 : if (QIreg_operand (operands[0], E_DImode)
30880 4 : && insn_condition_2520 (operands, insn))
30881 4 : return gen_split_335 (insn, operands);
30882 : break;
30883 :
30884 : default:
30885 : break;
30886 : }
30887 : }
30888 283927 : operands[1] = x5;
30889 283927 : if (register_operand (operands[1], E_DImode)
30890 283927 : && QIreg_operand (operands[0], E_DImode))
30891 : {
30892 105308 : operands[2] = x6;
30893 105308 : if (const_int_operand (operands[2], E_DImode)
30894 105308 : && insn_condition_2521 (operands, insn))
30895 42 : return gen_split_383 (insn, operands);
30896 : }
30897 283885 : if (general_operand (operands[1], E_DImode)
30898 283885 : && any_QIreg_operand (operands[0], E_DImode))
30899 : {
30900 184561 : operands[2] = x6;
30901 184561 : if (const_int_operand (operands[2], E_DImode)
30902 184561 : && insn_condition_2522 (operands, insn))
30903 8 : return gen_split_386 (insn, operands);
30904 : }
30905 283877 : if (GET_CODE (x5) != SUBREG
30906 6680 : || maybe_ne (SUBREG_BYTE (x5), 0)
30907 6646 : || GET_MODE (x5) != E_DImode
30908 6646 : || XWINT (x6, 0) != 63L
30909 284255 : || !register_operand (operands[0], E_DImode))
30910 : return NULL;
30911 378 : x8 = XEXP (x5, 0);
30912 378 : if (GET_MODE (x8) != E_SImode)
30913 : return NULL;
30914 72 : switch (GET_CODE (x8))
30915 : {
30916 24 : case CTZ:
30917 24 : x9 = XEXP (x8, 0);
30918 24 : operands[1] = x9;
30919 24 : if (!nonimmediate_operand (operands[1], E_SImode)
30920 24 : || !insn_condition_2523 (operands, insn))
30921 : return NULL;
30922 4 : return gen_split_919 (insn, operands);
30923 :
30924 24 : case CLZ:
30925 24 : x9 = XEXP (x8, 0);
30926 24 : operands[1] = x9;
30927 24 : if (!nonimmediate_operand (operands[1], E_SImode)
30928 24 : || !insn_condition_2524 (operands, insn))
30929 : return NULL;
30930 4 : return gen_split_942 (insn, operands);
30931 :
30932 24 : case POPCOUNT:
30933 24 : x9 = XEXP (x8, 0);
30934 24 : operands[1] = x9;
30935 24 : if (!nonimmediate_operand (operands[1], E_SImode)
30936 24 : || !insn_condition_2525 (operands, insn))
30937 : return NULL;
30938 4 : return gen_split_966 (insn, operands);
30939 :
30940 : default:
30941 : return NULL;
30942 : }
30943 :
30944 6816 : case NOT:
30945 6816 : x7 = XEXP (x3, 0);
30946 6816 : operands[0] = x7;
30947 6816 : x8 = XEXP (x5, 0);
30948 6816 : switch (GET_CODE (x8))
30949 : {
30950 3681 : case REG:
30951 3681 : case SUBREG:
30952 3681 : operands[1] = x8;
30953 3681 : x6 = XEXP (x4, 1);
30954 3681 : operands[2] = x6;
30955 3681 : switch (GET_MODE (operands[0]))
30956 : {
30957 1108 : case E_DImode:
30958 1108 : if (pattern1474 (x4,
30959 : E_DImode) == 0)
30960 : {
30961 932 : if (insn_condition_2526 (operands, insn))
30962 0 : return gen_split_387 (insn, operands);
30963 932 : if (insn_condition_2527 (operands, insn))
30964 859 : return gen_split_389 (insn, operands);
30965 : }
30966 : break;
30967 :
30968 33 : case E_TImode:
30969 33 : if (pattern1474 (x4,
30970 : E_TImode) == 0)
30971 : {
30972 33 : if (insn_condition_2528 (operands, insn))
30973 1 : return gen_split_388 (insn, operands);
30974 32 : if (insn_condition_2529 (operands, insn))
30975 31 : return gen_split_390 (insn, operands);
30976 : }
30977 : break;
30978 :
30979 1031 : case E_SImode:
30980 1031 : if (pattern1474 (x4,
30981 : E_SImode) == 0
30982 1031 : && insn_condition_2530 (operands, insn))
30983 0 : return gen_split_391 (insn, operands);
30984 : break;
30985 :
30986 : default:
30987 : break;
30988 : }
30989 2790 : if (GET_CODE (x8) != SUBREG
30990 1440 : || maybe_ne (SUBREG_BYTE (x8), 0)
30991 4230 : || GET_MODE (x8) != E_QImode)
30992 : return NULL;
30993 1109 : x9 = XEXP (x8, 0);
30994 1109 : if (GET_CODE (x9) != LSHIFTRT
30995 17 : || x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
30996 : return NULL;
30997 17 : switch (pattern1575 (x4))
30998 : {
30999 8 : case 0:
31000 8 : if (!insn_condition_2454 (operands, insn))
31001 : return NULL;
31002 8 : return gen_split_882 (insn, operands);
31003 :
31004 3 : case 1:
31005 3 : if (!insn_condition_2456 (operands, insn))
31006 : return NULL;
31007 3 : return gen_split_883 (insn, operands);
31008 :
31009 : default:
31010 : return NULL;
31011 : }
31012 :
31013 59 : case LSHIFTRT:
31014 59 : x6 = XEXP (x4, 1);
31015 59 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
31016 : return NULL;
31017 21 : switch (pattern1279 (x4))
31018 : {
31019 13 : case 0:
31020 13 : if (!insn_condition_2454 (operands, insn))
31021 : return NULL;
31022 13 : return gen_split_884 (insn, operands);
31023 :
31024 4 : case 1:
31025 4 : if (!insn_condition_2456 (operands, insn))
31026 : return NULL;
31027 4 : return gen_split_885 (insn, operands);
31028 :
31029 : default:
31030 : return NULL;
31031 : }
31032 :
31033 : default:
31034 : return NULL;
31035 : }
31036 :
31037 426 : case ROTATE:
31038 426 : x8 = XEXP (x5, 0);
31039 426 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + -2])
31040 : return NULL;
31041 370 : x7 = XEXP (x3, 0);
31042 370 : operands[0] = x7;
31043 370 : switch (pattern1101 (x4))
31044 : {
31045 3 : case 0:
31046 3 : if (!insn_condition_2351 (operands, insn))
31047 : return NULL;
31048 3 : return gen_split_850 (insn, operands);
31049 :
31050 3 : case 1:
31051 3 : if (!insn_condition_2352 (operands, insn))
31052 : return NULL;
31053 3 : return gen_split_851 (insn, operands);
31054 :
31055 1 : case 2:
31056 1 : if (!insn_condition_2351 (operands, insn))
31057 : return NULL;
31058 1 : return gen_split_852 (insn, operands);
31059 :
31060 0 : case 3:
31061 0 : if (!insn_condition_2352 (operands, insn))
31062 : return NULL;
31063 0 : return gen_split_853 (insn, operands);
31064 :
31065 : default:
31066 : return NULL;
31067 : }
31068 :
31069 1038 : case NEG:
31070 1038 : switch (pattern990 (x3))
31071 : {
31072 71 : case 0:
31073 71 : if (!insn_condition_2531 (operands, insn))
31074 : return NULL;
31075 1 : return gen_split_952 (insn, operands);
31076 :
31077 66 : case 1:
31078 66 : if (!insn_condition_2532 (operands, insn))
31079 : return NULL;
31080 0 : return gen_split_953 (insn, operands);
31081 :
31082 : default:
31083 : return NULL;
31084 : }
31085 :
31086 38691 : case PLUS:
31087 38691 : x10 = XEXP (x5, 1);
31088 38691 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
31089 : return NULL;
31090 867 : switch (pattern990 (x3))
31091 : {
31092 78 : case 0:
31093 78 : if (!insn_condition_2531 (operands, insn))
31094 : return NULL;
31095 1 : return gen_split_958 (insn, operands);
31096 :
31097 73 : case 1:
31098 73 : if (!insn_condition_2532 (operands, insn))
31099 : return NULL;
31100 0 : return gen_split_959 (insn, operands);
31101 :
31102 : default:
31103 : return NULL;
31104 : }
31105 :
31106 : default:
31107 : return NULL;
31108 : }
31109 : }
31110 :
31111 : rtx_insn *
31112 86626 : split_29 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31113 : {
31114 86626 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31115 86626 : rtx x2, x3, x4, x5, x6, x7;
31116 86626 : rtx_insn *res ATTRIBUTE_UNUSED;
31117 86626 : x2 = XVECEXP (x1, 0, 0);
31118 86626 : x3 = XEXP (x2, 1);
31119 86626 : if (maybe_ne (SUBREG_BYTE (x3), 0))
31120 : return NULL;
31121 84836 : x4 = XVECEXP (x1, 0, 1);
31122 84836 : if (pattern286 (x4,
31123 : E_CCmode,
31124 : 17) != 0)
31125 : return NULL;
31126 12772 : switch (pattern1084 (x2))
31127 : {
31128 401 : case 0:
31129 401 : x5 = XEXP (x3, 0);
31130 401 : x6 = XEXP (x5, 1);
31131 401 : operands[2] = x6;
31132 401 : if (general_operand (operands[2], E_QImode))
31133 : {
31134 26 : switch (pattern1082 (x2))
31135 : {
31136 3 : case 0:
31137 3 : if (insn_condition_2545 (operands, insn))
31138 0 : return gen_split_145 (insn, operands);
31139 : break;
31140 :
31141 17 : case 1:
31142 17 : if (insn_condition_2545 (operands, insn))
31143 2 : return gen_split_146 (insn, operands);
31144 : break;
31145 :
31146 6 : case 2:
31147 6 : if (insn_condition_2546 (operands, insn))
31148 0 : return gen_split_147 (insn, operands);
31149 : break;
31150 :
31151 : default:
31152 : break;
31153 : }
31154 : }
31155 399 : if (GET_CODE (x6) != SUBREG)
31156 : return NULL;
31157 375 : switch (pattern1856 (x2))
31158 : {
31159 327 : case 0:
31160 327 : if (!insn_condition_2547 (operands, insn))
31161 : return NULL;
31162 0 : return gen_split_148 (insn, operands);
31163 :
31164 38 : case 1:
31165 38 : if (!insn_condition_2547 (operands, insn))
31166 : return NULL;
31167 8 : return gen_split_150 (insn, operands);
31168 :
31169 3 : case 2:
31170 3 : if (!insn_condition_2548 (operands, insn))
31171 : return NULL;
31172 0 : return gen_split_152 (insn, operands);
31173 :
31174 : default:
31175 : return NULL;
31176 : }
31177 :
31178 89 : case 1:
31179 89 : x5 = XEXP (x3, 0);
31180 89 : x6 = XEXP (x5, 1);
31181 89 : if (GET_CODE (x6) == SUBREG)
31182 : {
31183 72 : switch (pattern1856 (x2))
31184 : {
31185 59 : case 0:
31186 59 : if (insn_condition_2549 (operands, insn))
31187 2 : return gen_split_149 (insn, operands);
31188 : break;
31189 :
31190 10 : case 1:
31191 10 : if (insn_condition_2549 (operands, insn))
31192 1 : return gen_split_151 (insn, operands);
31193 : break;
31194 :
31195 3 : case 2:
31196 3 : if (insn_condition_2550 (operands, insn))
31197 0 : return gen_split_153 (insn, operands);
31198 : break;
31199 :
31200 : default:
31201 : break;
31202 : }
31203 : }
31204 86 : operands[2] = x6;
31205 86 : if (!general_operand (operands[2], E_QImode))
31206 : return NULL;
31207 17 : switch (pattern1082 (x2))
31208 : {
31209 3 : case 0:
31210 3 : if (!insn_condition_2417 (operands, insn))
31211 : return NULL;
31212 0 : return gen_split_191 (insn, operands);
31213 :
31214 11 : case 1:
31215 11 : if (!insn_condition_2417 (operands, insn))
31216 : return NULL;
31217 2 : return gen_split_192 (insn, operands);
31218 :
31219 3 : case 2:
31220 3 : if (!insn_condition_2418 (operands, insn))
31221 : return NULL;
31222 0 : return gen_split_193 (insn, operands);
31223 :
31224 : default:
31225 : return NULL;
31226 : }
31227 :
31228 4087 : case 2:
31229 4087 : x5 = XEXP (x3, 0);
31230 4087 : x6 = XEXP (x5, 1);
31231 4087 : operands[2] = x6;
31232 4087 : if (general_operand (operands[2], E_QImode))
31233 : {
31234 4087 : switch (pattern1082 (x2))
31235 : {
31236 4064 : case 0:
31237 4064 : if (insn_condition_2417 (operands, insn))
31238 0 : return gen_split_345 (insn, operands);
31239 : break;
31240 :
31241 17 : case 1:
31242 17 : if (insn_condition_2417 (operands, insn))
31243 2 : return gen_split_348 (insn, operands);
31244 : break;
31245 :
31246 6 : case 2:
31247 6 : if (insn_condition_2418 (operands, insn))
31248 0 : return gen_split_351 (insn, operands);
31249 : break;
31250 :
31251 : default:
31252 : break;
31253 : }
31254 : }
31255 4085 : if (GET_CODE (x6) != SUBREG)
31256 : return NULL;
31257 0 : switch (pattern1856 (x2))
31258 : {
31259 0 : case 0:
31260 0 : if (!insn_condition_2551 (operands, insn))
31261 : return NULL;
31262 0 : return gen_split_363 (insn, operands);
31263 :
31264 0 : case 1:
31265 0 : if (!insn_condition_2551 (operands, insn))
31266 : return NULL;
31267 0 : return gen_split_366 (insn, operands);
31268 :
31269 0 : case 2:
31270 0 : if (!insn_condition_2552 (operands, insn))
31271 : return NULL;
31272 0 : return gen_split_369 (insn, operands);
31273 :
31274 : default:
31275 : return NULL;
31276 : }
31277 :
31278 6506 : case 3:
31279 6506 : x5 = XEXP (x3, 0);
31280 6506 : x6 = XEXP (x5, 1);
31281 6506 : operands[2] = x6;
31282 6506 : if (general_operand (operands[2], E_QImode))
31283 : {
31284 6506 : switch (pattern1082 (x2))
31285 : {
31286 6480 : case 0:
31287 6480 : if (insn_condition_2417 (operands, insn))
31288 0 : return gen_split_346 (insn, operands);
31289 : break;
31290 :
31291 20 : case 1:
31292 20 : if (insn_condition_2417 (operands, insn))
31293 2 : return gen_split_349 (insn, operands);
31294 : break;
31295 :
31296 6 : case 2:
31297 6 : if (insn_condition_2418 (operands, insn))
31298 0 : return gen_split_352 (insn, operands);
31299 : break;
31300 :
31301 : default:
31302 : break;
31303 : }
31304 : }
31305 6504 : if (GET_CODE (x6) != SUBREG)
31306 : return NULL;
31307 0 : switch (pattern1856 (x2))
31308 : {
31309 0 : case 0:
31310 0 : if (!insn_condition_2551 (operands, insn))
31311 : return NULL;
31312 0 : return gen_split_364 (insn, operands);
31313 :
31314 0 : case 1:
31315 0 : if (!insn_condition_2551 (operands, insn))
31316 : return NULL;
31317 0 : return gen_split_367 (insn, operands);
31318 :
31319 0 : case 2:
31320 0 : if (!insn_condition_2552 (operands, insn))
31321 : return NULL;
31322 0 : return gen_split_370 (insn, operands);
31323 :
31324 : default:
31325 : return NULL;
31326 : }
31327 :
31328 504 : case 4:
31329 504 : x5 = XEXP (x3, 0);
31330 504 : x6 = XEXP (x5, 1);
31331 504 : operands[2] = x6;
31332 504 : if (general_operand (operands[2], E_QImode))
31333 : {
31334 487 : switch (pattern1082 (x2))
31335 : {
31336 464 : case 0:
31337 464 : if (insn_condition_2417 (operands, insn))
31338 0 : return gen_split_347 (insn, operands);
31339 : break;
31340 :
31341 17 : case 1:
31342 17 : if (insn_condition_2417 (operands, insn))
31343 2 : return gen_split_350 (insn, operands);
31344 : break;
31345 :
31346 6 : case 2:
31347 6 : if (insn_condition_2418 (operands, insn))
31348 0 : return gen_split_353 (insn, operands);
31349 : break;
31350 :
31351 : default:
31352 : break;
31353 : }
31354 : }
31355 502 : if (GET_CODE (x6) != SUBREG)
31356 : return NULL;
31357 17 : switch (pattern1856 (x2))
31358 : {
31359 17 : case 0:
31360 17 : if (!insn_condition_2551 (operands, insn))
31361 : return NULL;
31362 0 : return gen_split_365 (insn, operands);
31363 :
31364 0 : case 1:
31365 0 : if (!insn_condition_2551 (operands, insn))
31366 : return NULL;
31367 0 : return gen_split_368 (insn, operands);
31368 :
31369 0 : case 2:
31370 0 : if (!insn_condition_2552 (operands, insn))
31371 : return NULL;
31372 0 : return gen_split_371 (insn, operands);
31373 :
31374 : default:
31375 : return NULL;
31376 : }
31377 :
31378 18 : case 5:
31379 18 : if (!insn_condition_2417 (operands, insn))
31380 : return NULL;
31381 0 : return gen_split_508 (insn, operands);
31382 :
31383 4 : case 6:
31384 4 : if (!insn_condition_2417 (operands, insn))
31385 : return NULL;
31386 1 : return gen_split_509 (insn, operands);
31387 :
31388 0 : case 7:
31389 0 : if (!insn_condition_2418 (operands, insn))
31390 : return NULL;
31391 0 : return gen_split_510 (insn, operands);
31392 :
31393 12 : case 8:
31394 12 : if (!insn_condition_2417 (operands, insn))
31395 : return NULL;
31396 0 : return gen_split_616 (insn, operands);
31397 :
31398 0 : case 9:
31399 0 : if (!insn_condition_2417 (operands, insn))
31400 : return NULL;
31401 0 : return gen_split_617 (insn, operands);
31402 :
31403 0 : case 10:
31404 0 : if (!insn_condition_2418 (operands, insn))
31405 : return NULL;
31406 0 : return gen_split_618 (insn, operands);
31407 :
31408 533 : case 11:
31409 533 : x7 = XEXP (x2, 0);
31410 533 : operands[0] = x7;
31411 533 : switch (pattern1269 (x3))
31412 : {
31413 140 : case 0:
31414 140 : if (insn_condition_2553 (operands, insn))
31415 70 : return gen_split_635 (insn, operands);
31416 : break;
31417 :
31418 288 : case 1:
31419 288 : if (insn_condition_2554 (operands, insn))
31420 144 : return gen_split_637 (insn, operands);
31421 : break;
31422 :
31423 : default:
31424 : break;
31425 : }
31426 319 : x5 = XEXP (x3, 0);
31427 319 : if (GET_MODE (x5) != E_QImode)
31428 : return NULL;
31429 82 : switch (pattern1083 (x2))
31430 : {
31431 82 : case 0:
31432 82 : if (!insn_condition_2417 (operands, insn))
31433 : return NULL;
31434 1 : return gen_split_678 (insn, operands);
31435 :
31436 0 : case 1:
31437 0 : if (!insn_condition_2417 (operands, insn))
31438 : return NULL;
31439 0 : return gen_split_680 (insn, operands);
31440 :
31441 0 : case 2:
31442 0 : if (!insn_condition_2418 (operands, insn))
31443 : return NULL;
31444 0 : return gen_split_682 (insn, operands);
31445 :
31446 : default:
31447 : return NULL;
31448 : }
31449 :
31450 76 : case 12:
31451 76 : x7 = XEXP (x2, 0);
31452 76 : operands[0] = x7;
31453 76 : switch (pattern1269 (x3))
31454 : {
31455 0 : case 0:
31456 0 : if (insn_condition_2553 (operands, insn))
31457 0 : return gen_split_636 (insn, operands);
31458 : break;
31459 :
31460 0 : case 1:
31461 0 : if (insn_condition_2554 (operands, insn))
31462 0 : return gen_split_638 (insn, operands);
31463 : break;
31464 :
31465 : default:
31466 : break;
31467 : }
31468 76 : x5 = XEXP (x3, 0);
31469 76 : if (GET_MODE (x5) != E_QImode)
31470 : return NULL;
31471 76 : switch (pattern1083 (x2))
31472 : {
31473 76 : case 0:
31474 76 : if (!insn_condition_2417 (operands, insn))
31475 : return NULL;
31476 0 : return gen_split_679 (insn, operands);
31477 :
31478 0 : case 1:
31479 0 : if (!insn_condition_2417 (operands, insn))
31480 : return NULL;
31481 0 : return gen_split_681 (insn, operands);
31482 :
31483 0 : case 2:
31484 0 : if (!insn_condition_2418 (operands, insn))
31485 : return NULL;
31486 0 : return gen_split_683 (insn, operands);
31487 :
31488 : default:
31489 : return NULL;
31490 : }
31491 :
31492 : default:
31493 : return NULL;
31494 : }
31495 : }
31496 :
31497 : rtx_insn *
31498 39423547 : split_39 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31499 : {
31500 39423547 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31501 39423547 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
31502 39423547 : rtx x10, x11;
31503 39423547 : rtx_insn *res ATTRIBUTE_UNUSED;
31504 39423547 : switch (XVECLEN (x1, 0))
31505 : {
31506 36700817 : case 2:
31507 36700817 : return split_38 (x1, insn);
31508 :
31509 2344332 : case 3:
31510 2344332 : return split_37 (x1, insn);
31511 :
31512 191763 : case 4:
31513 191763 : x2 = XVECEXP (x1, 0, 0);
31514 191763 : if (GET_CODE (x2) != SET)
31515 : return NULL;
31516 180755 : x3 = XVECEXP (x1, 0, 3);
31517 180755 : if (GET_CODE (x3) != CLOBBER)
31518 : return NULL;
31519 180755 : x4 = XEXP (x2, 1);
31520 180755 : switch (GET_CODE (x4))
31521 : {
31522 0 : case UNSIGNED_FIX:
31523 0 : switch (pattern426 (x1))
31524 : {
31525 0 : case 0:
31526 0 : if (!insn_condition_2661 (operands, insn))
31527 : return NULL;
31528 0 : return gen_split_82 (insn, operands);
31529 :
31530 0 : case 1:
31531 0 : if (!insn_condition_2661 (operands, insn))
31532 : return NULL;
31533 0 : return gen_split_83 (insn, operands);
31534 :
31535 : default:
31536 : return NULL;
31537 : }
31538 :
31539 1364 : case FLOAT:
31540 1364 : switch (pattern428 (x1))
31541 : {
31542 10 : case 0:
31543 10 : if (!insn_condition_2662 (operands, insn))
31544 : return NULL;
31545 5 : return gen_split_92 (insn, operands);
31546 :
31547 490 : case 1:
31548 490 : if (!insn_condition_2663 (operands, insn))
31549 : return NULL;
31550 245 : return gen_split_93 (insn, operands);
31551 :
31552 864 : case 2:
31553 864 : if (!insn_condition_2664 (operands, insn))
31554 : return NULL;
31555 432 : return gen_split_94 (insn, operands);
31556 :
31557 : default:
31558 : return NULL;
31559 : }
31560 :
31561 98459 : case DIV:
31562 98459 : switch (pattern615 (x1,
31563 : MOD))
31564 : {
31565 16 : case 0:
31566 16 : if (!insn_condition_170 (operands, insn))
31567 : return NULL;
31568 8 : return gen_split_262 (insn, operands);
31569 :
31570 8 : case 1:
31571 8 : if (!insn_condition_174 (operands, insn))
31572 : return NULL;
31573 4 : return gen_split_263 (insn, operands);
31574 :
31575 : default:
31576 : return NULL;
31577 : }
31578 :
31579 66829 : case UDIV:
31580 66829 : switch (pattern615 (x1,
31581 : UMOD))
31582 : {
31583 12 : case 0:
31584 12 : if (!insn_condition_170 (operands, insn))
31585 : return NULL;
31586 6 : return gen_split_264 (insn, operands);
31587 :
31588 6 : case 1:
31589 6 : if (!insn_condition_174 (operands, insn))
31590 : return NULL;
31591 3 : return gen_split_265 (insn, operands);
31592 :
31593 : default:
31594 : return NULL;
31595 : }
31596 :
31597 431 : case ZERO_EXTEND:
31598 431 : if (GET_MODE (x4) != E_DImode)
31599 : return NULL;
31600 431 : x5 = XVECEXP (x1, 0, 1);
31601 431 : if (GET_CODE (x5) != SET)
31602 : return NULL;
31603 431 : x6 = XVECEXP (x1, 0, 2);
31604 431 : if (pattern423 (x6,
31605 : 29) != 0)
31606 : return NULL;
31607 12 : x7 = XEXP (x3, 0);
31608 12 : if (GET_CODE (x7) != REG
31609 12 : || REGNO (x7) != 17
31610 24 : || GET_MODE (x7) != E_CCmode)
31611 : return NULL;
31612 12 : x8 = XEXP (x2, 0);
31613 12 : if (!register_operand (x8, E_DImode))
31614 : return NULL;
31615 12 : x9 = XEXP (x4, 0);
31616 12 : if (GET_MODE (x9) != E_SImode)
31617 : return NULL;
31618 12 : x10 = XEXP (x5, 0);
31619 12 : if (!register_operand (x10, E_SImode))
31620 : return NULL;
31621 12 : x11 = XEXP (x5, 1);
31622 12 : if (GET_MODE (x11) != E_SImode)
31623 : return NULL;
31624 12 : switch (GET_CODE (x9))
31625 : {
31626 4 : case DIV:
31627 4 : if (pattern1748 (x1,
31628 : MOD) != 0
31629 4 : || !insn_condition_2384 (operands, insn))
31630 : return NULL;
31631 2 : return gen_split_266 (insn, operands);
31632 :
31633 4 : case UDIV:
31634 4 : if (pattern1748 (x1,
31635 : UMOD) != 0
31636 4 : || !insn_condition_2384 (operands, insn))
31637 : return NULL;
31638 2 : return gen_split_267 (insn, operands);
31639 :
31640 2 : case MOD:
31641 2 : if (pattern1749 (x1,
31642 : DIV) != 0
31643 2 : || !insn_condition_2384 (operands, insn))
31644 : return NULL;
31645 1 : return gen_split_268 (insn, operands);
31646 :
31647 2 : case UMOD:
31648 2 : if (pattern1749 (x1,
31649 : UDIV) != 0
31650 2 : || !insn_condition_2384 (operands, insn))
31651 : return NULL;
31652 1 : return gen_split_269 (insn, operands);
31653 :
31654 : default:
31655 : return NULL;
31656 : }
31657 :
31658 48 : case PLUS:
31659 48 : if (pattern434 (x1) != 0)
31660 : return NULL;
31661 48 : return gen_split_971 (insn, operands);
31662 :
31663 : default:
31664 : return NULL;
31665 : }
31666 :
31667 : default:
31668 : return NULL;
31669 : }
31670 : }
31671 :
31672 : rtx_insn *
31673 37861 : split_43 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31674 : {
31675 37861 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31676 37861 : rtx x2, x3, x4, x5, x6;
31677 37861 : rtx_insn *res ATTRIBUTE_UNUSED;
31678 37861 : x2 = XEXP (x1, 0);
31679 37861 : operands[0] = x2;
31680 37861 : x3 = XEXP (x1, 1);
31681 37861 : x4 = XEXP (x3, 0);
31682 37861 : switch (GET_CODE (x4))
31683 : {
31684 53 : case LEU:
31685 53 : x5 = XEXP (x4, 0);
31686 53 : operands[1] = x5;
31687 53 : if (!int_nonimmediate_operand (operands[1], E_VOIDmode))
31688 : return NULL;
31689 52 : x6 = XEXP (x4, 1);
31690 52 : operands[2] = x6;
31691 52 : if (!const_int_operand (operands[2], E_VOIDmode))
31692 : return NULL;
31693 52 : switch (GET_MODE (operands[0]))
31694 : {
31695 5 : case E_SImode:
31696 5 : if (!register_operand (operands[0], E_SImode)
31697 5 : || GET_MODE (x3) != E_SImode
31698 5 : || GET_MODE (x4) != E_SImode
31699 10 : || !insn_condition_2759 (operands, insn))
31700 : return NULL;
31701 5 : return gen_split_992 (insn, operands);
31702 :
31703 47 : case E_DImode:
31704 47 : if (!register_operand (operands[0], E_DImode)
31705 47 : || GET_MODE (x3) != E_DImode
31706 47 : || GET_MODE (x4) != E_DImode
31707 94 : || !insn_condition_2760 (operands, insn))
31708 : return NULL;
31709 43 : return gen_split_993 (insn, operands);
31710 :
31711 : default:
31712 : return NULL;
31713 : }
31714 :
31715 4796 : case EQ:
31716 4796 : switch (pattern444 (x3))
31717 : {
31718 70 : case 0:
31719 70 : return gen_split_994 (insn, operands);
31720 :
31721 70 : case 1:
31722 70 : return gen_split_995 (insn, operands);
31723 :
31724 1754 : case 2:
31725 1754 : return gen_split_996 (insn, operands);
31726 :
31727 47 : case 3:
31728 47 : if (!insn_condition_52 (operands, insn))
31729 : return NULL;
31730 47 : return gen_split_997 (insn, operands);
31731 :
31732 : default:
31733 : return NULL;
31734 : }
31735 :
31736 2068 : case NE:
31737 2068 : switch (pattern444 (x3))
31738 : {
31739 208 : case 0:
31740 208 : return gen_split_998 (insn, operands);
31741 :
31742 96 : case 1:
31743 96 : return gen_split_999 (insn, operands);
31744 :
31745 649 : case 2:
31746 649 : return gen_split_1000 (insn, operands);
31747 :
31748 325 : case 3:
31749 325 : if (!insn_condition_52 (operands, insn))
31750 : return NULL;
31751 325 : return gen_split_1001 (insn, operands);
31752 :
31753 : default:
31754 : return NULL;
31755 : }
31756 :
31757 : default:
31758 : return NULL;
31759 : }
31760 : }
31761 :
31762 : rtx_insn *
31763 19897726 : split_44 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31764 : {
31765 19897726 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31766 19897726 : rtx x2, x3, x4, x5, x6, x7, x8;
31767 19897726 : rtx_insn *res ATTRIBUTE_UNUSED;
31768 19897726 : x2 = XEXP (x1, 1);
31769 19897726 : x3 = XEXP (x2, 0);
31770 19897726 : x4 = XEXP (x3, 0);
31771 19897726 : if (GET_CODE (x4) != REG
31772 19897726 : || REGNO (x4) != 17)
31773 : return NULL;
31774 19006104 : x5 = XEXP (x3, 1);
31775 19006104 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31776 : return NULL;
31777 19006104 : x6 = XEXP (x1, 0);
31778 19006104 : operands[0] = x6;
31779 19006104 : x7 = XEXP (x2, 1);
31780 19006104 : operands[2] = x7;
31781 19006104 : x8 = XEXP (x2, 2);
31782 19006104 : operands[3] = x8;
31783 19006104 : switch (GET_MODE (operands[0]))
31784 : {
31785 7527 : case E_HImode:
31786 7527 : if (!register_operand (operands[0], E_HImode)
31787 7403 : || GET_MODE (x2) != E_HImode
31788 14930 : || !ix86_comparison_operator (operands[1], E_VOIDmode))
31789 : return NULL;
31790 7403 : if (nonimmediate_operand (operands[2], E_HImode)
31791 6419 : && nonimmediate_operand (operands[3], E_HImode)
31792 13809 : && insn_condition_2761 (operands, insn))
31793 0 : return gen_split_1002 (insn, operands);
31794 7403 : if (!register_operand (operands[2], E_HImode)
31795 6045 : || !register_operand (operands[3], E_HImode)
31796 11535 : || !insn_condition_2762 (operands, insn))
31797 : return NULL;
31798 2032 : return gen_split_1006 (insn, operands);
31799 :
31800 381781 : case E_SImode:
31801 381781 : if (pattern1237 (x2,
31802 : E_SImode) != 0
31803 381781 : || !insn_condition_2761 (operands, insn))
31804 : return NULL;
31805 0 : return gen_split_1003 (insn, operands);
31806 :
31807 621096 : case E_DImode:
31808 621096 : if (pattern1237 (x2,
31809 : E_DImode) != 0
31810 621096 : || !insn_condition_2763 (operands, insn))
31811 : return NULL;
31812 0 : return gen_split_1004 (insn, operands);
31813 :
31814 152083 : case E_QImode:
31815 152083 : if (pattern1238 (x2) != 0
31816 152083 : || !insn_condition_2762 (operands, insn))
31817 : return NULL;
31818 71428 : return gen_split_1005 (insn, operands);
31819 :
31820 1983 : case E_DFmode:
31821 1983 : if (GET_MODE (x2) != E_DFmode
31822 1983 : || !nonimmediate_operand (operands[2], E_DFmode)
31823 3913 : || !nonimmediate_operand (operands[3], E_DFmode))
31824 : return NULL;
31825 1930 : if (general_reg_operand (operands[0], E_DFmode)
31826 670 : && fcmov_comparison_operator (operands[1], E_VOIDmode)
31827 1930 : && insn_condition_2335 (operands, insn))
31828 0 : return gen_split_1007 (insn, operands);
31829 1930 : if (!register_operand (operands[0], E_DFmode)
31830 1930 : || !ix86_comparison_operator (operands[1], E_VOIDmode)
31831 3860 : || !insn_condition_2764 (operands, insn))
31832 : return NULL;
31833 0 : return gen_split_1009 (insn, operands);
31834 :
31835 732 : case E_SFmode:
31836 732 : if (pattern1237 (x2,
31837 : E_SFmode) != 0
31838 732 : || !insn_condition_2764 (operands, insn))
31839 : return NULL;
31840 0 : return gen_split_1008 (insn, operands);
31841 :
31842 : default:
31843 : return NULL;
31844 : }
31845 : }
31846 :
31847 : rtx_insn *
31848 1986411 : split_46 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31849 : {
31850 1986411 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31851 1986411 : rtx x2, x3, x4, x5, x6, x7, x8;
31852 1986411 : rtx_insn *res ATTRIBUTE_UNUSED;
31853 1986411 : x2 = XEXP (x1, 1);
31854 1986411 : switch (XVECLEN (x2, 0))
31855 : {
31856 98657 : case 3:
31857 98657 : x3 = XEXP (x1, 0);
31858 98657 : operands[0] = x3;
31859 98657 : switch (XINT (x2, 1))
31860 : {
31861 12745 : case 48:
31862 12745 : x4 = XVECEXP (x2, 0, 0);
31863 12745 : operands[1] = x4;
31864 12745 : x5 = XVECEXP (x2, 0, 1);
31865 12745 : operands[2] = x5;
31866 12745 : x6 = XVECEXP (x2, 0, 2);
31867 12745 : switch (GET_CODE (x6))
31868 : {
31869 745 : case LT:
31870 745 : switch (pattern769 (x2))
31871 : {
31872 3 : case 0:
31873 3 : if (insn_condition_2765 (operands, insn))
31874 3 : return gen_split_1010 (insn, operands);
31875 0 : if (!insn_condition_2766 (operands, insn))
31876 : return NULL;
31877 0 : return gen_split_1012 (insn, operands);
31878 :
31879 0 : case 1:
31880 0 : if (insn_condition_2767 (operands, insn))
31881 0 : return gen_split_1011 (insn, operands);
31882 0 : if (!insn_condition_2768 (operands, insn))
31883 : return NULL;
31884 0 : return gen_split_1013 (insn, operands);
31885 :
31886 : default:
31887 : return NULL;
31888 : }
31889 :
31890 381 : case EQ:
31891 381 : switch (pattern771 (x2))
31892 : {
31893 0 : case 0:
31894 0 : if (!insn_condition_2769 (operands, insn))
31895 : return NULL;
31896 0 : return gen_split_1151 (insn, operands);
31897 :
31898 6 : case 1:
31899 6 : if (!insn_condition_2770 (operands, insn))
31900 : return NULL;
31901 6 : return gen_split_1154 (insn, operands);
31902 :
31903 12 : case 2:
31904 12 : if (!insn_condition_2770 (operands, insn))
31905 : return NULL;
31906 12 : return gen_split_1155 (insn, operands);
31907 :
31908 0 : case 3:
31909 0 : if (!insn_condition_2770 (operands, insn))
31910 : return NULL;
31911 0 : return gen_split_1156 (insn, operands);
31912 :
31913 : default:
31914 : return NULL;
31915 : }
31916 :
31917 5542 : case SUBREG:
31918 5542 : switch (pattern895 (x2))
31919 : {
31920 3 : case 0:
31921 3 : if (!insn_condition_2769 (operands, insn))
31922 : return NULL;
31923 3 : return gen_split_1152 (insn, operands);
31924 :
31925 0 : case 1:
31926 0 : if (!insn_condition_2769 (operands, insn))
31927 : return NULL;
31928 0 : return gen_split_1153 (insn, operands);
31929 :
31930 15 : case 2:
31931 15 : if (!insn_condition_2770 (operands, insn))
31932 : return NULL;
31933 15 : return gen_split_1157 (insn, operands);
31934 :
31935 : default:
31936 : return NULL;
31937 : }
31938 :
31939 : default:
31940 : return NULL;
31941 : }
31942 :
31943 29286 : case 56:
31944 29286 : switch (pattern620 (x2))
31945 : {
31946 776 : case 0:
31947 776 : if (!insn_condition_2771 (operands, insn))
31948 : return NULL;
31949 6 : return gen_split_1537 (insn, operands);
31950 :
31951 544 : case 1:
31952 544 : if (!insn_condition_2772 (operands, insn))
31953 : return NULL;
31954 0 : return gen_split_1539 (insn, operands);
31955 :
31956 1000 : case 2:
31957 1000 : if (!insn_condition_2771 (operands, insn))
31958 : return NULL;
31959 7 : return gen_split_1543 (insn, operands);
31960 :
31961 519 : case 3:
31962 519 : if (!insn_condition_2772 (operands, insn))
31963 : return NULL;
31964 0 : return gen_split_1541 (insn, operands);
31965 :
31966 943 : case 4:
31967 943 : if (!insn_condition_2772 (operands, insn))
31968 : return NULL;
31969 0 : return gen_split_1545 (insn, operands);
31970 :
31971 9614 : case 5:
31972 9614 : if (!insn_condition_2773 (operands, insn))
31973 : return NULL;
31974 12 : return gen_split_1549 (insn, operands);
31975 :
31976 807 : case 6:
31977 807 : if (!insn_condition_2772 (operands, insn))
31978 : return NULL;
31979 0 : return gen_split_1547 (insn, operands);
31980 :
31981 1017 : case 7:
31982 1017 : if (!insn_condition_2774 (operands, insn))
31983 : return NULL;
31984 1 : return gen_split_1551 (insn, operands);
31985 :
31986 704 : case 8:
31987 704 : if (!insn_condition_2774 (operands, insn))
31988 : return NULL;
31989 0 : return gen_split_1553 (insn, operands);
31990 :
31991 1885 : case 9:
31992 1885 : if (!insn_condition_2773 (operands, insn))
31993 : return NULL;
31994 6 : return gen_split_1555 (insn, operands);
31995 :
31996 3276 : case 10:
31997 3276 : if (!insn_condition_2774 (operands, insn))
31998 : return NULL;
31999 6 : return gen_split_1557 (insn, operands);
32000 :
32001 1040 : case 11:
32002 1040 : if (!insn_condition_2774 (operands, insn))
32003 : return NULL;
32004 14 : return gen_split_1559 (insn, operands);
32005 :
32006 2 : case 12:
32007 2 : if (!insn_condition_2775 (operands, insn))
32008 : return NULL;
32009 2 : return gen_split_1603 (insn, operands);
32010 :
32011 2 : case 13:
32012 2 : if (!insn_condition_2776 (operands, insn))
32013 : return NULL;
32014 2 : return gen_split_1605 (insn, operands);
32015 :
32016 2 : case 14:
32017 2 : if (!insn_condition_2777 (operands, insn))
32018 : return NULL;
32019 2 : return gen_split_1611 (insn, operands);
32020 :
32021 2 : case 15:
32022 2 : if (!insn_condition_2778 (operands, insn))
32023 : return NULL;
32024 2 : return gen_split_1607 (insn, operands);
32025 :
32026 2 : case 16:
32027 2 : if (!insn_condition_2779 (operands, insn))
32028 : return NULL;
32029 2 : return gen_split_1609 (insn, operands);
32030 :
32031 2 : case 17:
32032 2 : if (!insn_condition_2780 (operands, insn))
32033 : return NULL;
32034 2 : return gen_split_1613 (insn, operands);
32035 :
32036 : default:
32037 : return NULL;
32038 : }
32039 :
32040 3505 : case 156:
32041 3505 : switch (pattern620 (x2))
32042 : {
32043 303 : case 0:
32044 303 : if (!insn_condition_2771 (operands, insn))
32045 : return NULL;
32046 0 : return gen_split_1538 (insn, operands);
32047 :
32048 252 : case 1:
32049 252 : if (!insn_condition_2772 (operands, insn))
32050 : return NULL;
32051 0 : return gen_split_1540 (insn, operands);
32052 :
32053 333 : case 2:
32054 333 : if (!insn_condition_2771 (operands, insn))
32055 : return NULL;
32056 0 : return gen_split_1544 (insn, operands);
32057 :
32058 222 : case 3:
32059 222 : if (!insn_condition_2772 (operands, insn))
32060 : return NULL;
32061 0 : return gen_split_1542 (insn, operands);
32062 :
32063 366 : case 4:
32064 366 : if (!insn_condition_2772 (operands, insn))
32065 : return NULL;
32066 0 : return gen_split_1546 (insn, operands);
32067 :
32068 312 : case 5:
32069 312 : if (!insn_condition_2773 (operands, insn))
32070 : return NULL;
32071 0 : return gen_split_1550 (insn, operands);
32072 :
32073 444 : case 6:
32074 444 : if (!insn_condition_2772 (operands, insn))
32075 : return NULL;
32076 0 : return gen_split_1548 (insn, operands);
32077 :
32078 294 : case 7:
32079 294 : if (!insn_condition_2774 (operands, insn))
32080 : return NULL;
32081 0 : return gen_split_1552 (insn, operands);
32082 :
32083 207 : case 8:
32084 207 : if (!insn_condition_2774 (operands, insn))
32085 : return NULL;
32086 0 : return gen_split_1554 (insn, operands);
32087 :
32088 291 : case 9:
32089 291 : if (!insn_condition_2773 (operands, insn))
32090 : return NULL;
32091 0 : return gen_split_1556 (insn, operands);
32092 :
32093 213 : case 10:
32094 213 : if (!insn_condition_2774 (operands, insn))
32095 : return NULL;
32096 0 : return gen_split_1558 (insn, operands);
32097 :
32098 179 : case 11:
32099 179 : if (!insn_condition_2774 (operands, insn))
32100 : return NULL;
32101 8 : return gen_split_1560 (insn, operands);
32102 :
32103 4 : case 12:
32104 4 : if (!insn_condition_2781 (operands, insn))
32105 : return NULL;
32106 4 : return gen_split_1604 (insn, operands);
32107 :
32108 4 : case 13:
32109 4 : if (!insn_condition_2782 (operands, insn))
32110 : return NULL;
32111 4 : return gen_split_1606 (insn, operands);
32112 :
32113 4 : case 14:
32114 4 : if (!insn_condition_2783 (operands, insn))
32115 : return NULL;
32116 4 : return gen_split_1612 (insn, operands);
32117 :
32118 4 : case 15:
32119 4 : if (!insn_condition_2784 (operands, insn))
32120 : return NULL;
32121 4 : return gen_split_1608 (insn, operands);
32122 :
32123 4 : case 16:
32124 4 : if (!insn_condition_2785 (operands, insn))
32125 : return NULL;
32126 4 : return gen_split_1610 (insn, operands);
32127 :
32128 4 : case 17:
32129 4 : if (!insn_condition_2786 (operands, insn))
32130 : return NULL;
32131 4 : return gen_split_1614 (insn, operands);
32132 :
32133 : default:
32134 : return NULL;
32135 : }
32136 :
32137 10104 : case 120:
32138 10104 : if (pattern338 (x2) != 0
32139 10104 : || !insn_condition_2787 (operands, insn))
32140 : return NULL;
32141 48 : return gen_split_2124 (insn, operands);
32142 :
32143 : default:
32144 : return NULL;
32145 : }
32146 :
32147 228379 : case 2:
32148 228379 : switch (XINT (x2, 1))
32149 : {
32150 34080 : case 54:
32151 34080 : switch (pattern88 (x1))
32152 : {
32153 1376 : case 0:
32154 1376 : if (!insn_condition_2788 (operands, insn))
32155 : return NULL;
32156 688 : return gen_split_1192 (insn, operands);
32157 :
32158 184 : case 1:
32159 184 : if (!insn_condition_2789 (operands, insn))
32160 : return NULL;
32161 92 : return gen_split_1194 (insn, operands);
32162 :
32163 : default:
32164 : return NULL;
32165 : }
32166 :
32167 84054 : case 129:
32168 84054 : x3 = XEXP (x1, 0);
32169 84054 : if (GET_CODE (x3) != REG
32170 84054 : || REGNO (x3) != 17)
32171 : return NULL;
32172 84054 : x4 = XVECEXP (x2, 0, 0);
32173 84054 : switch (GET_CODE (x4))
32174 : {
32175 7 : case AND:
32176 7 : switch (pattern631 (x1))
32177 : {
32178 0 : case 0:
32179 0 : if (!insn_condition_2790 (operands, insn))
32180 : return NULL;
32181 0 : return gen_split_2232 (insn, operands);
32182 :
32183 0 : case 1:
32184 0 : if (!insn_condition_2790 (operands, insn))
32185 : return NULL;
32186 0 : return gen_split_2233 (insn, operands);
32187 :
32188 0 : case 2:
32189 0 : if (!insn_condition_2790 (operands, insn))
32190 : return NULL;
32191 0 : return gen_split_2234 (insn, operands);
32192 :
32193 2 : case 3:
32194 2 : if (!insn_condition_2790 (operands, insn))
32195 : return NULL;
32196 2 : return gen_split_2235 (insn, operands);
32197 :
32198 1 : case 4:
32199 1 : if (!insn_condition_2790 (operands, insn))
32200 : return NULL;
32201 1 : return gen_split_2236 (insn, operands);
32202 :
32203 0 : case 5:
32204 0 : if (!insn_condition_2790 (operands, insn))
32205 : return NULL;
32206 0 : return gen_split_2237 (insn, operands);
32207 :
32208 0 : case 6:
32209 0 : if (!insn_condition_2790 (operands, insn))
32210 : return NULL;
32211 0 : return gen_split_2238 (insn, operands);
32212 :
32213 0 : case 7:
32214 0 : if (!insn_condition_2791 (operands, insn))
32215 : return NULL;
32216 0 : return gen_split_2239 (insn, operands);
32217 :
32218 0 : case 8:
32219 0 : if (!insn_condition_2791 (operands, insn))
32220 : return NULL;
32221 0 : return gen_split_2240 (insn, operands);
32222 :
32223 0 : case 9:
32224 0 : if (!insn_condition_2791 (operands, insn))
32225 : return NULL;
32226 0 : return gen_split_2241 (insn, operands);
32227 :
32228 0 : case 10:
32229 0 : if (!insn_condition_2791 (operands, insn))
32230 : return NULL;
32231 0 : return gen_split_2242 (insn, operands);
32232 :
32233 0 : case 11:
32234 0 : if (!insn_condition_2791 (operands, insn))
32235 : return NULL;
32236 0 : return gen_split_2243 (insn, operands);
32237 :
32238 0 : case 12:
32239 0 : if (!insn_condition_2791 (operands, insn))
32240 : return NULL;
32241 0 : return gen_split_2244 (insn, operands);
32242 :
32243 0 : case 13:
32244 0 : if (!insn_condition_2791 (operands, insn))
32245 : return NULL;
32246 0 : return gen_split_2245 (insn, operands);
32247 :
32248 : default:
32249 : return NULL;
32250 : }
32251 :
32252 83781 : case REG:
32253 83781 : case SUBREG:
32254 83781 : operands[0] = x4;
32255 83781 : if (GET_MODE (x3) != E_CCCmode
32256 133 : || GET_MODE (x2) != E_CCCmode)
32257 : return NULL;
32258 133 : x5 = XVECEXP (x2, 0, 1);
32259 133 : operands[1] = x5;
32260 133 : switch (GET_MODE (operands[0]))
32261 : {
32262 0 : case E_V16QImode:
32263 0 : if (!register_operand (operands[0], E_V16QImode)
32264 0 : || !register_operand (operands[1], E_V16QImode)
32265 0 : || !insn_condition_2792 (operands, insn))
32266 : return NULL;
32267 0 : return gen_split_2246 (insn, operands);
32268 :
32269 0 : case E_V8HImode:
32270 0 : if (!register_operand (operands[0], E_V8HImode)
32271 0 : || !register_operand (operands[1], E_V8HImode)
32272 0 : || !insn_condition_2792 (operands, insn))
32273 : return NULL;
32274 0 : return gen_split_2247 (insn, operands);
32275 :
32276 0 : case E_V4SImode:
32277 0 : if (!register_operand (operands[0], E_V4SImode)
32278 0 : || !register_operand (operands[1], E_V4SImode)
32279 0 : || !insn_condition_2792 (operands, insn))
32280 : return NULL;
32281 0 : return gen_split_2248 (insn, operands);
32282 :
32283 71 : case E_V2DImode:
32284 71 : if (!register_operand (operands[0], E_V2DImode)
32285 71 : || !register_operand (operands[1], E_V2DImode)
32286 131 : || !insn_condition_2792 (operands, insn))
32287 : return NULL;
32288 0 : return gen_split_2249 (insn, operands);
32289 :
32290 0 : case E_V1TImode:
32291 0 : if (!register_operand (operands[0], E_V1TImode)
32292 0 : || !register_operand (operands[1], E_V1TImode)
32293 0 : || !insn_condition_2792 (operands, insn))
32294 : return NULL;
32295 0 : return gen_split_2250 (insn, operands);
32296 :
32297 0 : case E_V4SFmode:
32298 0 : if (!register_operand (operands[0], E_V4SFmode)
32299 0 : || !register_operand (operands[1], E_V4SFmode)
32300 0 : || !insn_condition_2792 (operands, insn))
32301 : return NULL;
32302 0 : return gen_split_2251 (insn, operands);
32303 :
32304 0 : case E_V2DFmode:
32305 0 : if (!register_operand (operands[0], E_V2DFmode)
32306 0 : || !register_operand (operands[1], E_V2DFmode)
32307 0 : || !insn_condition_2792 (operands, insn))
32308 : return NULL;
32309 0 : return gen_split_2252 (insn, operands);
32310 :
32311 0 : case E_V32QImode:
32312 0 : if (!register_operand (operands[0], E_V32QImode)
32313 0 : || !register_operand (operands[1], E_V32QImode)
32314 0 : || !insn_condition_2793 (operands, insn))
32315 : return NULL;
32316 0 : return gen_split_2253 (insn, operands);
32317 :
32318 0 : case E_V16HImode:
32319 0 : if (!register_operand (operands[0], E_V16HImode)
32320 0 : || !register_operand (operands[1], E_V16HImode)
32321 0 : || !insn_condition_2793 (operands, insn))
32322 : return NULL;
32323 0 : return gen_split_2254 (insn, operands);
32324 :
32325 0 : case E_V8SImode:
32326 0 : if (!register_operand (operands[0], E_V8SImode)
32327 0 : || !register_operand (operands[1], E_V8SImode)
32328 0 : || !insn_condition_2793 (operands, insn))
32329 : return NULL;
32330 0 : return gen_split_2255 (insn, operands);
32331 :
32332 62 : case E_V4DImode:
32333 62 : if (!register_operand (operands[0], E_V4DImode)
32334 62 : || !register_operand (operands[1], E_V4DImode)
32335 106 : || !insn_condition_2793 (operands, insn))
32336 : return NULL;
32337 0 : return gen_split_2256 (insn, operands);
32338 :
32339 0 : case E_V2TImode:
32340 0 : if (!register_operand (operands[0], E_V2TImode)
32341 0 : || !register_operand (operands[1], E_V2TImode)
32342 0 : || !insn_condition_2793 (operands, insn))
32343 : return NULL;
32344 0 : return gen_split_2257 (insn, operands);
32345 :
32346 0 : case E_V8SFmode:
32347 0 : if (!register_operand (operands[0], E_V8SFmode)
32348 0 : || !register_operand (operands[1], E_V8SFmode)
32349 0 : || !insn_condition_2793 (operands, insn))
32350 : return NULL;
32351 0 : return gen_split_2258 (insn, operands);
32352 :
32353 0 : case E_V4DFmode:
32354 0 : if (!register_operand (operands[0], E_V4DFmode)
32355 0 : || !register_operand (operands[1], E_V4DFmode)
32356 0 : || !insn_condition_2793 (operands, insn))
32357 : return NULL;
32358 0 : return gen_split_2259 (insn, operands);
32359 :
32360 : default:
32361 : return NULL;
32362 : }
32363 :
32364 114 : case EQ:
32365 114 : switch (pattern633 (x1))
32366 : {
32367 2 : case 0:
32368 2 : if (!insn_condition_2791 (operands, insn))
32369 : return NULL;
32370 2 : return gen_split_2344 (insn, operands);
32371 :
32372 0 : case 1:
32373 0 : if (!insn_condition_2790 (operands, insn))
32374 : return NULL;
32375 0 : return gen_split_2345 (insn, operands);
32376 :
32377 0 : case 2:
32378 0 : if (!insn_condition_2791 (operands, insn))
32379 : return NULL;
32380 0 : return gen_split_2346 (insn, operands);
32381 :
32382 0 : case 3:
32383 0 : if (!insn_condition_2790 (operands, insn))
32384 : return NULL;
32385 0 : return gen_split_2347 (insn, operands);
32386 :
32387 1 : case 4:
32388 1 : if (!insn_condition_2791 (operands, insn))
32389 : return NULL;
32390 1 : return gen_split_2348 (insn, operands);
32391 :
32392 2 : case 5:
32393 2 : if (!insn_condition_2790 (operands, insn))
32394 : return NULL;
32395 2 : return gen_split_2349 (insn, operands);
32396 :
32397 3 : case 6:
32398 3 : if (!insn_condition_2791 (operands, insn))
32399 : return NULL;
32400 3 : return gen_split_2350 (insn, operands);
32401 :
32402 0 : case 7:
32403 0 : if (!insn_condition_2790 (operands, insn))
32404 : return NULL;
32405 0 : return gen_split_2351 (insn, operands);
32406 :
32407 : default:
32408 : return NULL;
32409 : }
32410 :
32411 : default:
32412 : return NULL;
32413 : }
32414 :
32415 : default:
32416 : return NULL;
32417 : }
32418 :
32419 1651547 : case 1:
32420 1651547 : x3 = XEXP (x1, 0);
32421 1651547 : operands[0] = x3;
32422 1651547 : switch (XINT (x2, 1))
32423 : {
32424 16210 : case 46:
32425 16210 : if (GET_MODE (x2) != E_SImode
32426 16210 : || !register_operand (operands[0], E_SImode))
32427 : return NULL;
32428 16209 : x4 = XVECEXP (x2, 0, 0);
32429 16209 : switch (GET_CODE (x4))
32430 : {
32431 15838 : case REG:
32432 15838 : case SUBREG:
32433 15838 : operands[1] = x4;
32434 15838 : if (register_operand (operands[1], E_V8QImode)
32435 15838 : && insn_condition_2794 (operands, insn))
32436 22 : return gen_split_1217 (insn, operands);
32437 15816 : if (GET_CODE (x4) != SUBREG
32438 15816 : || maybe_ne (SUBREG_BYTE (x4), 0))
32439 : return NULL;
32440 4909 : x7 = XEXP (x4, 0);
32441 4909 : switch (GET_CODE (x7))
32442 : {
32443 0 : case VEC_MERGE:
32444 0 : switch (pattern1140 (x4))
32445 : {
32446 0 : case 0:
32447 0 : if (!insn_condition_2757 (operands, insn))
32448 : return NULL;
32449 0 : return gen_split_2060 (insn, operands);
32450 :
32451 0 : case 1:
32452 0 : if (!insn_condition_2575 (operands, insn))
32453 : return NULL;
32454 0 : return gen_split_2061 (insn, operands);
32455 :
32456 0 : case 2:
32457 0 : if (!insn_condition_2757 (operands, insn))
32458 : return NULL;
32459 0 : return gen_split_2062 (insn, operands);
32460 :
32461 0 : case 3:
32462 0 : if (!insn_condition_2758 (operands, insn))
32463 : return NULL;
32464 0 : return gen_split_2063 (insn, operands);
32465 :
32466 : default:
32467 : return NULL;
32468 : }
32469 :
32470 20 : case ASHIFTRT:
32471 20 : switch (pattern1141 (x4))
32472 : {
32473 6 : case 0:
32474 6 : if (!insn_condition_2757 (operands, insn))
32475 : return NULL;
32476 3 : return gen_split_2080 (insn, operands);
32477 :
32478 8 : case 1:
32479 8 : if (!insn_condition_2575 (operands, insn))
32480 : return NULL;
32481 4 : return gen_split_2081 (insn, operands);
32482 :
32483 0 : case 2:
32484 0 : if (!insn_condition_2757 (operands, insn))
32485 : return NULL;
32486 0 : return gen_split_2082 (insn, operands);
32487 :
32488 6 : case 3:
32489 6 : if (!insn_condition_2758 (operands, insn))
32490 : return NULL;
32491 3 : return gen_split_2083 (insn, operands);
32492 :
32493 : default:
32494 : return NULL;
32495 : }
32496 :
32497 402 : case NOT:
32498 402 : x8 = XEXP (x7, 0);
32499 402 : operands[1] = x8;
32500 402 : if (!register_operand (operands[1], E_VOIDmode))
32501 : return NULL;
32502 286 : switch (GET_MODE (x4))
32503 : {
32504 2 : case E_V32QImode:
32505 2 : if (!insn_condition_2795 (operands, insn))
32506 : return NULL;
32507 2 : return gen_split_2096 (insn, operands);
32508 :
32509 22 : case E_V16QImode:
32510 22 : if (!insn_condition_2796 (operands, insn))
32511 : return NULL;
32512 22 : return gen_split_2097 (insn, operands);
32513 :
32514 : default:
32515 : return NULL;
32516 : }
32517 :
32518 : default:
32519 : return NULL;
32520 : }
32521 :
32522 96 : case LT:
32523 96 : switch (pattern798 (x4))
32524 : {
32525 0 : case 0:
32526 0 : if (!insn_condition_2757 (operands, insn))
32527 : return NULL;
32528 0 : return gen_split_2056 (insn, operands);
32529 :
32530 0 : case 1:
32531 0 : if (!insn_condition_2575 (operands, insn))
32532 : return NULL;
32533 0 : return gen_split_2057 (insn, operands);
32534 :
32535 6 : case 2:
32536 6 : if (!insn_condition_2757 (operands, insn))
32537 : return NULL;
32538 3 : return gen_split_2058 (insn, operands);
32539 :
32540 0 : case 3:
32541 0 : if (!insn_condition_2758 (operands, insn))
32542 : return NULL;
32543 0 : return gen_split_2059 (insn, operands);
32544 :
32545 5 : case 4:
32546 5 : if (!insn_condition_2797 (operands, insn))
32547 : return NULL;
32548 5 : return gen_split_2098 (insn, operands);
32549 :
32550 7 : case 5:
32551 7 : if (!insn_condition_2798 (operands, insn))
32552 : return NULL;
32553 7 : return gen_split_2099 (insn, operands);
32554 :
32555 : default:
32556 : return NULL;
32557 : }
32558 :
32559 12 : case NOT:
32560 12 : x7 = XEXP (x4, 0);
32561 12 : operands[1] = x7;
32562 12 : switch (GET_MODE (x4))
32563 : {
32564 2 : case E_V32QImode:
32565 2 : if (!register_operand (operands[1], E_V32QImode)
32566 2 : || !insn_condition_888 (operands, insn))
32567 : return NULL;
32568 2 : return gen_split_2094 (insn, operands);
32569 :
32570 10 : case E_V16QImode:
32571 10 : if (!register_operand (operands[1], E_V16QImode)
32572 10 : || !insn_condition_141 (operands, insn))
32573 : return NULL;
32574 10 : return gen_split_2095 (insn, operands);
32575 :
32576 : default:
32577 : return NULL;
32578 : }
32579 :
32580 0 : case VEC_MERGE:
32581 0 : switch (pattern800 (x4))
32582 : {
32583 0 : case 0:
32584 0 : if (!insn_condition_2797 (operands, insn))
32585 : return NULL;
32586 0 : return gen_split_2100 (insn, operands);
32587 :
32588 0 : case 1:
32589 0 : if (!insn_condition_2798 (operands, insn))
32590 : return NULL;
32591 0 : return gen_split_2101 (insn, operands);
32592 :
32593 0 : case 2:
32594 0 : if (!insn_condition_2770 (operands, insn))
32595 : return NULL;
32596 0 : return gen_split_2109 (insn, operands);
32597 :
32598 0 : case 3:
32599 0 : if (!insn_condition_2770 (operands, insn))
32600 : return NULL;
32601 0 : return gen_split_2110 (insn, operands);
32602 :
32603 : default:
32604 : return NULL;
32605 : }
32606 :
32607 : default:
32608 : return NULL;
32609 : }
32610 :
32611 837 : case 171:
32612 837 : if (GET_MODE (x2) != E_V2SImode
32613 837 : || !register_operand (operands[0], E_V2SImode))
32614 : return NULL;
32615 77 : x4 = XVECEXP (x2, 0, 0);
32616 77 : operands[1] = x4;
32617 77 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
32618 77 : || !insn_condition_2799 (operands, insn))
32619 : return NULL;
32620 23 : return gen_split_1647 (insn, operands);
32621 :
32622 1896 : case 314:
32623 1896 : if (GET_MODE (x2) != E_TImode
32624 1896 : || !register_operand (operands[0], E_TImode))
32625 : return NULL;
32626 48 : x4 = XVECEXP (x2, 0, 0);
32627 48 : operands[1] = x4;
32628 48 : if (!memory_operand (operands[1], E_TImode)
32629 48 : || !insn_condition_2800 (operands, insn))
32630 : return NULL;
32631 24 : return gen_split_2493 (insn, operands);
32632 :
32633 82 : case 315:
32634 82 : if (GET_MODE (x2) != E_TImode
32635 82 : || !memory_operand (operands[0], E_TImode))
32636 : return NULL;
32637 38 : x4 = XVECEXP (x2, 0, 0);
32638 38 : operands[1] = x4;
32639 38 : if (!nonimmediate_operand (operands[1], E_V1TImode)
32640 38 : || !insn_condition_2800 (operands, insn))
32641 : return NULL;
32642 19 : return gen_split_2494 (insn, operands);
32643 :
32644 : default:
32645 : return NULL;
32646 : }
32647 :
32648 : default:
32649 : return NULL;
32650 : }
32651 : }
32652 :
32653 : rtx_insn *
32654 143309 : split_65 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32655 : {
32656 143309 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32657 143309 : rtx x2, x3, x4, x5, x6, x7, x8;
32658 143309 : rtx_insn *res ATTRIBUTE_UNUSED;
32659 143309 : x2 = XEXP (x1, 1);
32660 143309 : x3 = XEXP (x2, 0);
32661 143309 : switch (GET_CODE (x3))
32662 : {
32663 90965 : case REG:
32664 90965 : case SUBREG:
32665 90965 : case MEM:
32666 90965 : case VEC_DUPLICATE:
32667 90965 : operands[1] = x3;
32668 90965 : x4 = XEXP (x2, 1);
32669 90965 : operands[2] = x4;
32670 90965 : switch (GET_MODE (operands[0]))
32671 : {
32672 197 : case E_V16SImode:
32673 197 : if (pattern849 (x2,
32674 : E_V16SImode) == 0
32675 197 : && insn_condition_2924 (operands, insn))
32676 0 : return gen_split_1977 (insn, operands);
32677 : break;
32678 :
32679 55 : case E_V8DImode:
32680 55 : if (pattern849 (x2,
32681 : E_V8DImode) == 0
32682 55 : && insn_condition_2925 (operands, insn))
32683 2 : return gen_split_1978 (insn, operands);
32684 : break;
32685 :
32686 19 : case E_V64QImode:
32687 19 : if (pattern849 (x2,
32688 : E_V64QImode) == 0
32689 19 : && insn_condition_2926 (operands, insn))
32690 0 : return gen_split_1979 (insn, operands);
32691 : break;
32692 :
32693 6297 : case E_V32QImode:
32694 6297 : if (pattern849 (x2,
32695 : E_V32QImode) == 0
32696 6297 : && insn_condition_2927 (operands, insn))
32697 0 : return gen_split_1980 (insn, operands);
32698 : break;
32699 :
32700 42182 : case E_V16QImode:
32701 42182 : if (pattern849 (x2,
32702 : E_V16QImode) == 0
32703 42182 : && insn_condition_2928 (operands, insn))
32704 0 : return gen_split_1981 (insn, operands);
32705 : break;
32706 :
32707 31 : case E_V32HImode:
32708 31 : if (pattern849 (x2,
32709 : E_V32HImode) == 0
32710 31 : && insn_condition_2929 (operands, insn))
32711 0 : return gen_split_1982 (insn, operands);
32712 : break;
32713 :
32714 27 : case E_V16HImode:
32715 27 : if (pattern849 (x2,
32716 : E_V16HImode) == 0
32717 27 : && insn_condition_2930 (operands, insn))
32718 0 : return gen_split_1983 (insn, operands);
32719 : break;
32720 :
32721 582 : case E_V8HImode:
32722 582 : if (pattern849 (x2,
32723 : E_V8HImode) == 0
32724 582 : && insn_condition_2931 (operands, insn))
32725 0 : return gen_split_1984 (insn, operands);
32726 : break;
32727 :
32728 429 : case E_V8SImode:
32729 429 : if (pattern849 (x2,
32730 : E_V8SImode) == 0
32731 429 : && insn_condition_2932 (operands, insn))
32732 0 : return gen_split_1985 (insn, operands);
32733 : break;
32734 :
32735 9687 : case E_V4SImode:
32736 9687 : if (pattern849 (x2,
32737 : E_V4SImode) == 0
32738 9687 : && insn_condition_2933 (operands, insn))
32739 0 : return gen_split_1986 (insn, operands);
32740 : break;
32741 :
32742 401 : case E_V4DImode:
32743 401 : if (pattern849 (x2,
32744 : E_V4DImode) == 0
32745 401 : && insn_condition_2934 (operands, insn))
32746 1 : return gen_split_1987 (insn, operands);
32747 : break;
32748 :
32749 8913 : case E_V2DImode:
32750 8913 : if (pattern849 (x2,
32751 : E_V2DImode) == 0
32752 8913 : && insn_condition_2935 (operands, insn))
32753 0 : return gen_split_1988 (insn, operands);
32754 : break;
32755 :
32756 : default:
32757 : break;
32758 : }
32759 90962 : if (GET_CODE (x3) != VEC_DUPLICATE)
32760 : return NULL;
32761 46 : switch (pattern625 (x2))
32762 : {
32763 1 : case 0:
32764 1 : if (!insn_condition_2936 (operands, insn))
32765 : return NULL;
32766 1 : return gen_split_2021 (insn, operands);
32767 :
32768 1 : case 1:
32769 1 : if (!insn_condition_2936 (operands, insn))
32770 : return NULL;
32771 1 : return gen_split_2022 (insn, operands);
32772 :
32773 1 : case 2:
32774 1 : if (!insn_condition_2937 (operands, insn))
32775 : return NULL;
32776 1 : return gen_split_2023 (insn, operands);
32777 :
32778 0 : case 3:
32779 0 : if (!insn_condition_2938 (operands, insn))
32780 : return NULL;
32781 0 : return gen_split_2024 (insn, operands);
32782 :
32783 0 : case 4:
32784 0 : if (!insn_condition_2939 (operands, insn))
32785 : return NULL;
32786 0 : return gen_split_2025 (insn, operands);
32787 :
32788 1 : case 5:
32789 1 : if (!insn_condition_2937 (operands, insn))
32790 : return NULL;
32791 1 : return gen_split_2026 (insn, operands);
32792 :
32793 0 : case 6:
32794 0 : if (!insn_condition_2938 (operands, insn))
32795 : return NULL;
32796 0 : return gen_split_2027 (insn, operands);
32797 :
32798 0 : case 7:
32799 0 : if (!insn_condition_2939 (operands, insn))
32800 : return NULL;
32801 0 : return gen_split_2028 (insn, operands);
32802 :
32803 0 : case 8:
32804 0 : if (!insn_condition_2938 (operands, insn))
32805 : return NULL;
32806 0 : return gen_split_2029 (insn, operands);
32807 :
32808 0 : case 9:
32809 0 : if (!insn_condition_2939 (operands, insn))
32810 : return NULL;
32811 0 : return gen_split_2030 (insn, operands);
32812 :
32813 0 : case 10:
32814 0 : if (!insn_condition_2938 (operands, insn))
32815 : return NULL;
32816 0 : return gen_split_2031 (insn, operands);
32817 :
32818 0 : case 11:
32819 0 : if (!insn_condition_2939 (operands, insn))
32820 : return NULL;
32821 0 : return gen_split_2032 (insn, operands);
32822 :
32823 : default:
32824 : return NULL;
32825 : }
32826 :
32827 8861 : case AND:
32828 8861 : x5 = XEXP (x3, 0);
32829 8861 : if (GET_CODE (x5) != XOR)
32830 : return NULL;
32831 789 : x6 = XEXP (x5, 0);
32832 789 : operands[1] = x6;
32833 789 : x7 = XEXP (x5, 1);
32834 789 : operands[2] = x7;
32835 789 : x8 = XEXP (x3, 1);
32836 789 : operands[3] = x8;
32837 789 : switch (GET_MODE (operands[0]))
32838 : {
32839 0 : case E_V32QImode:
32840 0 : if (pattern1227 (x2,
32841 : E_V32QImode) != 0)
32842 : return NULL;
32843 0 : x4 = XEXP (x2, 1);
32844 0 : if (rtx_equal_p (x4, operands[1])
32845 0 : && insn_condition_24 (operands, insn))
32846 0 : return gen_split_2354 (insn, operands);
32847 0 : if (!rtx_equal_p (x4, operands[2])
32848 0 : || !insn_condition_24 (operands, insn))
32849 : return NULL;
32850 0 : return gen_split_2370 (insn, operands);
32851 :
32852 0 : case E_V16QImode:
32853 0 : if (pattern1227 (x2,
32854 : E_V16QImode) != 0)
32855 : return NULL;
32856 0 : x4 = XEXP (x2, 1);
32857 0 : if (rtx_equal_p (x4, operands[1])
32858 0 : && insn_condition_24 (operands, insn))
32859 0 : return gen_split_2355 (insn, operands);
32860 0 : if (!rtx_equal_p (x4, operands[2])
32861 0 : || !insn_condition_24 (operands, insn))
32862 : return NULL;
32863 0 : return gen_split_2371 (insn, operands);
32864 :
32865 0 : case E_V16HImode:
32866 0 : if (pattern1227 (x2,
32867 : E_V16HImode) != 0)
32868 : return NULL;
32869 0 : x4 = XEXP (x2, 1);
32870 0 : if (rtx_equal_p (x4, operands[1])
32871 0 : && insn_condition_24 (operands, insn))
32872 0 : return gen_split_2356 (insn, operands);
32873 0 : if (!rtx_equal_p (x4, operands[2])
32874 0 : || !insn_condition_24 (operands, insn))
32875 : return NULL;
32876 0 : return gen_split_2372 (insn, operands);
32877 :
32878 1 : case E_V8HImode:
32879 1 : if (pattern1227 (x2,
32880 : E_V8HImode) != 0)
32881 : return NULL;
32882 1 : x4 = XEXP (x2, 1);
32883 1 : if (rtx_equal_p (x4, operands[1])
32884 1 : && insn_condition_24 (operands, insn))
32885 0 : return gen_split_2357 (insn, operands);
32886 1 : if (!rtx_equal_p (x4, operands[2])
32887 1 : || !insn_condition_24 (operands, insn))
32888 : return NULL;
32889 0 : return gen_split_2373 (insn, operands);
32890 :
32891 3 : case E_V8SImode:
32892 3 : if (pattern1227 (x2,
32893 : E_V8SImode) != 0)
32894 : return NULL;
32895 3 : x4 = XEXP (x2, 1);
32896 3 : if (rtx_equal_p (x4, operands[1])
32897 3 : && insn_condition_24 (operands, insn))
32898 0 : return gen_split_2358 (insn, operands);
32899 3 : if (!rtx_equal_p (x4, operands[2])
32900 3 : || !insn_condition_24 (operands, insn))
32901 : return NULL;
32902 0 : return gen_split_2374 (insn, operands);
32903 :
32904 151 : case E_V4SImode:
32905 151 : if (pattern1227 (x2,
32906 : E_V4SImode) != 0)
32907 : return NULL;
32908 31 : x4 = XEXP (x2, 1);
32909 31 : if (rtx_equal_p (x4, operands[1])
32910 31 : && insn_condition_24 (operands, insn))
32911 0 : return gen_split_2359 (insn, operands);
32912 31 : if (!rtx_equal_p (x4, operands[2])
32913 31 : || !insn_condition_24 (operands, insn))
32914 : return NULL;
32915 1 : return gen_split_2375 (insn, operands);
32916 :
32917 2 : case E_V4DImode:
32918 2 : if (pattern1227 (x2,
32919 : E_V4DImode) != 0)
32920 : return NULL;
32921 2 : x4 = XEXP (x2, 1);
32922 2 : if (rtx_equal_p (x4, operands[1])
32923 2 : && insn_condition_24 (operands, insn))
32924 0 : return gen_split_2360 (insn, operands);
32925 2 : if (!rtx_equal_p (x4, operands[2])
32926 2 : || !insn_condition_24 (operands, insn))
32927 : return NULL;
32928 0 : return gen_split_2376 (insn, operands);
32929 :
32930 0 : case E_V2DImode:
32931 0 : if (pattern1227 (x2,
32932 : E_V2DImode) != 0)
32933 : return NULL;
32934 0 : x4 = XEXP (x2, 1);
32935 0 : if (rtx_equal_p (x4, operands[1])
32936 0 : && insn_condition_24 (operands, insn))
32937 0 : return gen_split_2361 (insn, operands);
32938 0 : if (!rtx_equal_p (x4, operands[2])
32939 0 : || !insn_condition_24 (operands, insn))
32940 : return NULL;
32941 0 : return gen_split_2377 (insn, operands);
32942 :
32943 0 : case E_V2TImode:
32944 0 : if (pattern1227 (x2,
32945 : E_V2TImode) != 0)
32946 : return NULL;
32947 0 : x4 = XEXP (x2, 1);
32948 0 : if (rtx_equal_p (x4, operands[1])
32949 0 : && insn_condition_24 (operands, insn))
32950 0 : return gen_split_2362 (insn, operands);
32951 0 : if (!rtx_equal_p (x4, operands[2])
32952 0 : || !insn_condition_24 (operands, insn))
32953 : return NULL;
32954 0 : return gen_split_2378 (insn, operands);
32955 :
32956 0 : case E_V1TImode:
32957 0 : if (pattern1227 (x2,
32958 : E_V1TImode) != 0)
32959 : return NULL;
32960 0 : x4 = XEXP (x2, 1);
32961 0 : if (rtx_equal_p (x4, operands[1])
32962 0 : && insn_condition_24 (operands, insn))
32963 0 : return gen_split_2363 (insn, operands);
32964 0 : if (!rtx_equal_p (x4, operands[2])
32965 0 : || !insn_condition_24 (operands, insn))
32966 : return NULL;
32967 0 : return gen_split_2379 (insn, operands);
32968 :
32969 : default:
32970 : return NULL;
32971 : }
32972 :
32973 : default:
32974 : return NULL;
32975 : }
32976 : }
32977 :
32978 : rtx_insn *
32979 201259038 : split_74 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32980 : {
32981 201259038 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32982 201259038 : rtx_insn *res ATTRIBUTE_UNUSED;
32983 201259038 : switch (GET_MODE (operands[0]))
32984 : {
32985 40970 : case E_V64QImode:
32986 40970 : if (!register_operand (operands[0], E_V64QImode))
32987 : return NULL;
32988 22436 : if (int_float_vector_all_ones_operand (operands[1], E_V64QImode)
32989 22436 : && insn_condition_3009 (operands, insn))
32990 66 : return gen_split_1218 (insn, operands);
32991 22370 : if (!ternlog_operand (operands[1], E_V64QImode)
32992 22370 : || !insn_condition_3010 (operands, insn))
32993 : return NULL;
32994 5 : return gen_split_1764 (insn, operands);
32995 :
32996 49986 : case E_V32QImode:
32997 49986 : if (!register_operand (operands[0], E_V32QImode))
32998 : return NULL;
32999 37427 : if (int_float_vector_all_ones_operand (operands[1], E_V32QImode)
33000 37427 : && insn_condition_3011 (operands, insn))
33001 14 : return gen_split_1219 (insn, operands);
33002 37413 : if (!ternlog_operand (operands[1], E_V32QImode)
33003 37413 : || !insn_condition_3012 (operands, insn))
33004 : return NULL;
33005 29 : return gen_split_1765 (insn, operands);
33006 :
33007 1097224 : case E_V16QImode:
33008 1097224 : if (!register_operand (operands[0], E_V16QImode))
33009 : return NULL;
33010 584064 : if (int_float_vector_all_ones_operand (operands[1], E_V16QImode)
33011 584064 : && insn_condition_3013 (operands, insn))
33012 1 : return gen_split_1220 (insn, operands);
33013 584063 : if (!ternlog_operand (operands[1], E_V16QImode)
33014 584063 : || !insn_condition_3014 (operands, insn))
33015 : return NULL;
33016 92 : return gen_split_1766 (insn, operands);
33017 :
33018 21538 : case E_V32HImode:
33019 21538 : if (!register_operand (operands[0], E_V32HImode))
33020 : return NULL;
33021 18140 : if (int_float_vector_all_ones_operand (operands[1], E_V32HImode)
33022 18140 : && insn_condition_3009 (operands, insn))
33023 19 : return gen_split_1221 (insn, operands);
33024 18121 : if (!ternlog_operand (operands[1], E_V32HImode)
33025 18121 : || !insn_condition_3010 (operands, insn))
33026 : return NULL;
33027 2 : return gen_split_1767 (insn, operands);
33028 :
33029 43807 : case E_V16HImode:
33030 43807 : if (!register_operand (operands[0], E_V16HImode))
33031 : return NULL;
33032 38593 : if (int_float_vector_all_ones_operand (operands[1], E_V16HImode)
33033 38593 : && insn_condition_3011 (operands, insn))
33034 0 : return gen_split_1222 (insn, operands);
33035 38593 : if (!ternlog_operand (operands[1], E_V16HImode)
33036 38593 : || !insn_condition_3012 (operands, insn))
33037 : return NULL;
33038 12 : return gen_split_1768 (insn, operands);
33039 :
33040 378058 : case E_V8HImode:
33041 378058 : if (!register_operand (operands[0], E_V8HImode))
33042 : return NULL;
33043 343702 : if (int_float_vector_all_ones_operand (operands[1], E_V8HImode)
33044 343702 : && insn_condition_3013 (operands, insn))
33045 0 : return gen_split_1223 (insn, operands);
33046 343702 : if (!ternlog_operand (operands[1], E_V8HImode)
33047 343702 : || !insn_condition_3014 (operands, insn))
33048 : return NULL;
33049 45 : return gen_split_1769 (insn, operands);
33050 :
33051 63653 : case E_V16SImode:
33052 63653 : if (!register_operand (operands[0], E_V16SImode))
33053 : return NULL;
33054 56733 : if (int_float_vector_all_ones_operand (operands[1], E_V16SImode)
33055 56733 : && insn_condition_3009 (operands, insn))
33056 557 : return gen_split_1224 (insn, operands);
33057 56176 : if (!ternlog_operand (operands[1], E_V16SImode)
33058 56176 : || !insn_condition_3010 (operands, insn))
33059 : return NULL;
33060 686 : return gen_split_1770 (insn, operands);
33061 :
33062 103647 : case E_V8SImode:
33063 103647 : if (!register_operand (operands[0], E_V8SImode))
33064 : return NULL;
33065 92569 : if (int_float_vector_all_ones_operand (operands[1], E_V8SImode)
33066 92569 : && insn_condition_3011 (operands, insn))
33067 0 : return gen_split_1225 (insn, operands);
33068 92569 : if (!ternlog_operand (operands[1], E_V8SImode)
33069 92569 : || !insn_condition_3012 (operands, insn))
33070 : return NULL;
33071 716 : return gen_split_1771 (insn, operands);
33072 :
33073 1883035 : case E_V4SImode:
33074 1883035 : if (!register_operand (operands[0], E_V4SImode))
33075 : return NULL;
33076 1480732 : if (int_float_vector_all_ones_operand (operands[1], E_V4SImode)
33077 1480732 : && insn_condition_3013 (operands, insn))
33078 0 : return gen_split_1226 (insn, operands);
33079 1480732 : if (!ternlog_operand (operands[1], E_V4SImode)
33080 1480732 : || !insn_condition_3014 (operands, insn))
33081 : return NULL;
33082 683 : return gen_split_1772 (insn, operands);
33083 :
33084 97523 : case E_V8DImode:
33085 97523 : if (!register_operand (operands[0], E_V8DImode))
33086 : return NULL;
33087 72901 : if (int_float_vector_all_ones_operand (operands[1], E_V8DImode)
33088 72901 : && insn_condition_3009 (operands, insn))
33089 36 : return gen_split_1227 (insn, operands);
33090 72865 : if (!ternlog_operand (operands[1], E_V8DImode)
33091 72865 : || !insn_condition_3010 (operands, insn))
33092 : return NULL;
33093 7 : return gen_split_1773 (insn, operands);
33094 :
33095 127171 : case E_V4DImode:
33096 127171 : if (!register_operand (operands[0], E_V4DImode))
33097 : return NULL;
33098 98212 : if (int_float_vector_all_ones_operand (operands[1], E_V4DImode)
33099 98212 : && insn_condition_3011 (operands, insn))
33100 0 : return gen_split_1228 (insn, operands);
33101 98212 : if (!ternlog_operand (operands[1], E_V4DImode)
33102 98212 : || !insn_condition_3012 (operands, insn))
33103 : return NULL;
33104 20 : return gen_split_1774 (insn, operands);
33105 :
33106 3709001 : case E_V2DImode:
33107 3709001 : if (!register_operand (operands[0], E_V2DImode))
33108 : return NULL;
33109 2291406 : if (int_float_vector_all_ones_operand (operands[1], E_V2DImode)
33110 2291406 : && insn_condition_3013 (operands, insn))
33111 0 : return gen_split_1229 (insn, operands);
33112 2291406 : if (!ternlog_operand (operands[1], E_V2DImode)
33113 2291406 : || !insn_condition_3014 (operands, insn))
33114 : return NULL;
33115 0 : return gen_split_1775 (insn, operands);
33116 :
33117 351 : case E_V4TImode:
33118 351 : if (!register_operand (operands[0], E_V4TImode)
33119 228 : || !int_float_vector_all_ones_operand (operands[1], E_V4TImode)
33120 351 : || !insn_condition_3009 (operands, insn))
33121 : return NULL;
33122 0 : return gen_split_1230 (insn, operands);
33123 :
33124 1072 : case E_V2TImode:
33125 1072 : if (!register_operand (operands[0], E_V2TImode)
33126 623 : || !int_float_vector_all_ones_operand (operands[1], E_V2TImode)
33127 1072 : || !insn_condition_3011 (operands, insn))
33128 : return NULL;
33129 0 : return gen_split_1231 (insn, operands);
33130 :
33131 3129827 : case E_V1TImode:
33132 3129827 : if (!register_operand (operands[0], E_V1TImode)
33133 1608048 : || !int_float_vector_all_ones_operand (operands[1], E_V1TImode)
33134 3130269 : || !insn_condition_3013 (operands, insn))
33135 : return NULL;
33136 0 : return gen_split_1232 (insn, operands);
33137 :
33138 33496 : case E_V32HFmode:
33139 33496 : if (!register_operand (operands[0], E_V32HFmode)
33140 24085 : || !int_float_vector_all_ones_operand (operands[1], E_V32HFmode)
33141 33496 : || !insn_condition_3009 (operands, insn))
33142 : return NULL;
33143 0 : return gen_split_1233 (insn, operands);
33144 :
33145 28585 : case E_V16HFmode:
33146 28585 : if (!register_operand (operands[0], E_V16HFmode)
33147 20274 : || !int_float_vector_all_ones_operand (operands[1], E_V16HFmode)
33148 28585 : || !insn_condition_3011 (operands, insn))
33149 : return NULL;
33150 0 : return gen_split_1234 (insn, operands);
33151 :
33152 76925 : case E_V8HFmode:
33153 76925 : if (!register_operand (operands[0], E_V8HFmode)
33154 63563 : || !int_float_vector_all_ones_operand (operands[1], E_V8HFmode)
33155 76925 : || !insn_condition_3013 (operands, insn))
33156 : return NULL;
33157 0 : return gen_split_1235 (insn, operands);
33158 :
33159 13172 : case E_V32BFmode:
33160 13172 : if (!register_operand (operands[0], E_V32BFmode)
33161 8140 : || !int_float_vector_all_ones_operand (operands[1], E_V32BFmode)
33162 13172 : || !insn_condition_3009 (operands, insn))
33163 : return NULL;
33164 0 : return gen_split_1236 (insn, operands);
33165 :
33166 14071 : case E_V16BFmode:
33167 14071 : if (!register_operand (operands[0], E_V16BFmode)
33168 9139 : || !int_float_vector_all_ones_operand (operands[1], E_V16BFmode)
33169 14071 : || !insn_condition_3011 (operands, insn))
33170 : return NULL;
33171 0 : return gen_split_1237 (insn, operands);
33172 :
33173 19905 : case E_V8BFmode:
33174 19905 : if (!register_operand (operands[0], E_V8BFmode)
33175 14828 : || !int_float_vector_all_ones_operand (operands[1], E_V8BFmode)
33176 19905 : || !insn_condition_3013 (operands, insn))
33177 : return NULL;
33178 0 : return gen_split_1238 (insn, operands);
33179 :
33180 72510 : case E_V16SFmode:
33181 72510 : if (!register_operand (operands[0], E_V16SFmode)
33182 52649 : || !int_float_vector_all_ones_operand (operands[1], E_V16SFmode)
33183 72510 : || !insn_condition_3009 (operands, insn))
33184 : return NULL;
33185 0 : return gen_split_1239 (insn, operands);
33186 :
33187 102608 : case E_V8SFmode:
33188 102608 : if (!register_operand (operands[0], E_V8SFmode)
33189 81803 : || !int_float_vector_all_ones_operand (operands[1], E_V8SFmode)
33190 102624 : || !insn_condition_3011 (operands, insn))
33191 : return NULL;
33192 0 : return gen_split_1240 (insn, operands);
33193 :
33194 1840516 : case E_V4SFmode:
33195 1840516 : if (!register_operand (operands[0], E_V4SFmode))
33196 : return NULL;
33197 1115370 : if (int_float_vector_all_ones_operand (operands[1], E_V4SFmode)
33198 1115370 : && insn_condition_3013 (operands, insn))
33199 0 : return gen_split_1241 (insn, operands);
33200 1115370 : if (!zero_extended_scalar_load_operand (operands[1], E_V4SFmode)
33201 1115370 : || !insn_condition_2848 (operands, insn))
33202 : return NULL;
33203 9939 : return gen_split_1276 (insn, operands);
33204 :
33205 47425 : case E_V8DFmode:
33206 47425 : if (!register_operand (operands[0], E_V8DFmode)
33207 39099 : || !int_float_vector_all_ones_operand (operands[1], E_V8DFmode)
33208 47425 : || !insn_condition_3009 (operands, insn))
33209 : return NULL;
33210 0 : return gen_split_1242 (insn, operands);
33211 :
33212 105566 : case E_V4DFmode:
33213 105566 : if (!register_operand (operands[0], E_V4DFmode)
33214 88060 : || !int_float_vector_all_ones_operand (operands[1], E_V4DFmode)
33215 105618 : || !insn_condition_3011 (operands, insn))
33216 : return NULL;
33217 0 : return gen_split_1243 (insn, operands);
33218 :
33219 950421 : case E_V2DFmode:
33220 950421 : if (!register_operand (operands[0], E_V2DFmode))
33221 : return NULL;
33222 853411 : if (int_float_vector_all_ones_operand (operands[1], E_V2DFmode)
33223 853411 : && insn_condition_3013 (operands, insn))
33224 0 : return gen_split_1244 (insn, operands);
33225 853411 : if (!zero_extended_scalar_load_operand (operands[1], E_V2DFmode)
33226 853411 : || !insn_condition_2666 (operands, insn))
33227 : return NULL;
33228 14418 : return gen_split_1277 (insn, operands);
33229 :
33230 : default:
33231 : return NULL;
33232 : }
33233 : }
33234 :
33235 : rtx_insn *
33236 416710654 : split_insns (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33237 : {
33238 416710654 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33239 416710654 : rtx x2, x3;
33240 416710654 : rtx_insn *res ATTRIBUTE_UNUSED;
33241 416710654 : recog_data.insn = NULL;
33242 416710654 : switch (GET_CODE (x1))
33243 : {
33244 89 : case EH_RETURN:
33245 89 : if (!insn_condition_3073 (operands, insn))
33246 : return NULL;
33247 31 : return gen_split_913 (insn, operands);
33248 :
33249 245108348 : case PARALLEL:
33250 245108348 : case UNSPEC:
33251 245108348 : case UNSPEC_VOLATILE:
33252 245108348 : case SET:
33253 245108348 : switch (GET_CODE (x1))
33254 : {
33255 204486406 : case SET:
33256 204486406 : res = split_14 (x1, insn);
33257 204486406 : if (res != NULL_RTX)
33258 : return res;
33259 : break;
33260 :
33261 39423547 : case PARALLEL:
33262 39423547 : res = split_39 (x1, insn);
33263 39423547 : if (res != NULL_RTX)
33264 : return res;
33265 : break;
33266 :
33267 : default:
33268 : break;
33269 : }
33270 239701054 : operands[0] = x1;
33271 239701054 : if (tls_address_pattern (operands[0], E_VOIDmode)
33272 239701054 : && insn_condition_3074 (operands, insn))
33273 18499 : return gen_split_981 (insn, operands);
33274 239682555 : switch (GET_CODE (x1))
33275 : {
33276 36853079 : case PARALLEL:
33277 36853079 : return split_79 (x1, insn);
33278 :
33279 201631081 : case SET:
33280 201631081 : x2 = XEXP (x1, 1);
33281 201631081 : switch (GET_CODE (x2))
33282 : {
33283 37861 : case NEG:
33284 37861 : res = split_43 (x1, insn);
33285 37861 : if (res != NULL_RTX)
33286 : return res;
33287 : break;
33288 :
33289 19898036 : case IF_THEN_ELSE:
33290 19898036 : res = split_45 (x1, insn);
33291 19898036 : if (res != NULL_RTX)
33292 : return res;
33293 : break;
33294 :
33295 1986411 : case UNSPEC:
33296 1986411 : res = split_46 (x1, insn);
33297 1986411 : if (res != NULL_RTX)
33298 : return res;
33299 : break;
33300 :
33301 17712099 : case COMPARE:
33302 17712099 : res = split_47 (x1, insn);
33303 17712099 : if (res != NULL_RTX)
33304 : return res;
33305 : break;
33306 :
33307 146236 : case NOT:
33308 146236 : res = split_48 (x1, insn);
33309 146236 : if (res != NULL_RTX)
33310 : return res;
33311 : break;
33312 :
33313 95063806 : case REG:
33314 95063806 : case SUBREG:
33315 95063806 : case MEM:
33316 95063806 : res = split_49 (x1, insn);
33317 95063806 : if (res != NULL_RTX)
33318 : return res;
33319 : break;
33320 :
33321 22529778 : case CONST_INT:
33322 22529778 : case CONST_DOUBLE:
33323 22529778 : case CONST_VECTOR:
33324 22529778 : operands[1] = x2;
33325 22529778 : x3 = XEXP (x1, 0);
33326 22529778 : operands[0] = x3;
33327 22529778 : switch (GET_MODE (operands[0]))
33328 : {
33329 1826 : case E_V8QImode:
33330 1826 : if (nonimmediate_gr_operand (operands[0], E_V8QImode)
33331 668 : && const0_operand (operands[1], E_V8QImode)
33332 1826 : && insn_condition_2335 (operands, insn))
33333 90 : return gen_split_1069 (insn, operands);
33334 1736 : if (memory_operand (operands[0], E_V8QImode)
33335 567 : && x86_64_const_vector_operand (operands[1], E_V8QImode)
33336 1736 : && insn_condition_3075 (operands, insn))
33337 276 : return gen_split_1105 (insn, operands);
33338 : break;
33339 :
33340 553 : case E_V4HImode:
33341 553 : if (nonimmediate_gr_operand (operands[0], E_V4HImode)
33342 149 : && const0_operand (operands[1], E_V4HImode)
33343 553 : && insn_condition_2335 (operands, insn))
33344 12 : return gen_split_1070 (insn, operands);
33345 541 : if (memory_operand (operands[0], E_V4HImode)
33346 127 : && x86_64_const_vector_operand (operands[1], E_V4HImode)
33347 541 : && insn_condition_3076 (operands, insn))
33348 63 : return gen_split_1106 (insn, operands);
33349 : break;
33350 :
33351 59961 : case E_V2SImode:
33352 59961 : if (nonimmediate_gr_operand (operands[0], E_V2SImode)
33353 56541 : && const0_operand (operands[1], E_V2SImode)
33354 59961 : && insn_condition_2335 (operands, insn))
33355 17044 : return gen_split_1071 (insn, operands);
33356 42917 : if (memory_operand (operands[0], E_V2SImode)
33357 39444 : && x86_64_const_vector_operand (operands[1], E_V2SImode)
33358 42917 : && insn_condition_3077 (operands, insn))
33359 11719 : return gen_split_1109 (insn, operands);
33360 : break;
33361 :
33362 38 : case E_V1DImode:
33363 38 : if (nonimmediate_gr_operand (operands[0], E_V1DImode)
33364 26 : && const0_operand (operands[1], E_V1DImode)
33365 38 : && insn_condition_2335 (operands, insn))
33366 0 : return gen_split_1072 (insn, operands);
33367 38 : if (memory_operand (operands[0], E_V1DImode)
33368 24 : && x86_64_const_vector_operand (operands[1], E_V1DImode)
33369 38 : && insn_condition_3078 (operands, insn))
33370 12 : return gen_split_1111 (insn, operands);
33371 : break;
33372 :
33373 2059 : case E_V2SFmode:
33374 2059 : if (nonimmediate_gr_operand (operands[0], E_V2SFmode)
33375 1729 : && const0_operand (operands[1], E_V2SFmode)
33376 2059 : && insn_condition_2335 (operands, insn))
33377 0 : return gen_split_1073 (insn, operands);
33378 2059 : if (memory_operand (operands[0], E_V2SFmode)
33379 1711 : && x86_64_const_vector_operand (operands[1], E_V2SFmode)
33380 2059 : && insn_condition_3079 (operands, insn))
33381 863 : return gen_split_1110 (insn, operands);
33382 : break;
33383 :
33384 6 : case E_V4HFmode:
33385 6 : if (nonimmediate_gr_operand (operands[0], E_V4HFmode)
33386 0 : && const0_operand (operands[1], E_V4HFmode)
33387 6 : && insn_condition_2335 (operands, insn))
33388 0 : return gen_split_1074 (insn, operands);
33389 6 : if (memory_operand (operands[0], E_V4HFmode)
33390 0 : && x86_64_const_vector_operand (operands[1], E_V4HFmode)
33391 6 : && insn_condition_3080 (operands, insn))
33392 0 : return gen_split_1107 (insn, operands);
33393 : break;
33394 :
33395 0 : case E_V4BFmode:
33396 0 : if (nonimmediate_gr_operand (operands[0], E_V4BFmode)
33397 0 : && const0_operand (operands[1], E_V4BFmode)
33398 0 : && insn_condition_2335 (operands, insn))
33399 0 : return gen_split_1075 (insn, operands);
33400 0 : if (memory_operand (operands[0], E_V4BFmode)
33401 0 : && x86_64_const_vector_operand (operands[1], E_V4BFmode)
33402 0 : && insn_condition_3081 (operands, insn))
33403 0 : return gen_split_1108 (insn, operands);
33404 : break;
33405 :
33406 10027 : case E_V2QImode:
33407 10027 : if (memory_operand (operands[0], E_V2QImode)
33408 9306 : && x86_64_const_vector_operand (operands[1], E_V2QImode)
33409 10027 : && insn_condition_3082 (operands, insn))
33410 0 : return gen_split_1099 (insn, operands);
33411 : break;
33412 :
33413 9937 : case E_V4QImode:
33414 9937 : if (memory_operand (operands[0], E_V4QImode)
33415 9542 : && x86_64_const_vector_operand (operands[1], E_V4QImode)
33416 9937 : && insn_condition_3083 (operands, insn))
33417 5308 : return gen_split_1100 (insn, operands);
33418 : break;
33419 :
33420 5342 : case E_V2HImode:
33421 5342 : if (memory_operand (operands[0], E_V2HImode)
33422 5106 : && x86_64_const_vector_operand (operands[1], E_V2HImode)
33423 5342 : && insn_condition_3084 (operands, insn))
33424 2807 : return gen_split_1101 (insn, operands);
33425 : break;
33426 :
33427 63 : case E_V1SImode:
33428 63 : if (memory_operand (operands[0], E_V1SImode)
33429 30 : && x86_64_const_vector_operand (operands[1], E_V1SImode)
33430 63 : && insn_condition_3085 (operands, insn))
33431 15 : return gen_split_1102 (insn, operands);
33432 : break;
33433 :
33434 117 : case E_V2HFmode:
33435 117 : if (memory_operand (operands[0], E_V2HFmode)
33436 110 : && x86_64_const_vector_operand (operands[1], E_V2HFmode)
33437 117 : && insn_condition_3086 (operands, insn))
33438 66 : return gen_split_1103 (insn, operands);
33439 : break;
33440 :
33441 6 : case E_V2BFmode:
33442 6 : if (memory_operand (operands[0], E_V2BFmode)
33443 6 : && x86_64_const_vector_operand (operands[1], E_V2BFmode)
33444 6 : && insn_condition_3087 (operands, insn))
33445 3 : return gen_split_1104 (insn, operands);
33446 : break;
33447 :
33448 : default:
33449 : break;
33450 : }
33451 : break;
33452 :
33453 9683253 : case PLUS:
33454 9683253 : res = split_50 (x1, insn);
33455 9683253 : if (res != NULL_RTX)
33456 : return res;
33457 : break;
33458 :
33459 463559 : case MINUS:
33460 463559 : res = split_51 (x1, insn);
33461 463559 : if (res != NULL_RTX)
33462 : return res;
33463 : break;
33464 :
33465 1119474 : case VEC_SELECT:
33466 1119474 : res = split_53 (x1, insn);
33467 1119474 : if (res != NULL_RTX)
33468 : return res;
33469 : break;
33470 :
33471 32369 : case LT:
33472 32369 : x3 = XEXP (x1, 0);
33473 32369 : operands[0] = x3;
33474 32369 : switch (pattern277 (x2))
33475 : {
33476 374 : case 0:
33477 374 : if (insn_condition_2769 (operands, insn))
33478 374 : return gen_split_1141 (insn, operands);
33479 : break;
33480 :
33481 294 : case 1:
33482 294 : if (insn_condition_2769 (operands, insn))
33483 294 : return gen_split_1142 (insn, operands);
33484 : break;
33485 :
33486 75 : case 2:
33487 75 : if (insn_condition_2770 (operands, insn))
33488 75 : return gen_split_1146 (insn, operands);
33489 : break;
33490 :
33491 : default:
33492 : break;
33493 : }
33494 : break;
33495 :
33496 498827 : case AND:
33497 498827 : res = split_54 (x1, insn);
33498 498827 : if (res != NULL_RTX)
33499 : return res;
33500 : break;
33501 :
33502 976391 : case VEC_CONCAT:
33503 976391 : res = split_55 (x1, insn);
33504 976391 : if (res != NULL_RTX)
33505 : return res;
33506 : break;
33507 :
33508 581771 : case VEC_MERGE:
33509 581771 : res = split_56 (x1, insn);
33510 581771 : if (res != NULL_RTX)
33511 : return res;
33512 : break;
33513 :
33514 1587380 : case ZERO_EXTEND:
33515 1587380 : res = split_57 (x1, insn);
33516 1587380 : if (res != NULL_RTX)
33517 : return res;
33518 : break;
33519 :
33520 622915 : case IOR:
33521 622915 : x3 = XEXP (x1, 0);
33522 622915 : operands[0] = x3;
33523 622915 : switch (pattern279 (x2))
33524 : {
33525 0 : case 0:
33526 0 : if (insn_condition_2667 (operands, insn))
33527 0 : return gen_split_1279 (insn, operands);
33528 : break;
33529 :
33530 0 : case 1:
33531 0 : if (insn_condition_2667 (operands, insn))
33532 0 : return gen_split_1282 (insn, operands);
33533 : break;
33534 :
33535 0 : case 2:
33536 0 : if (insn_condition_2668 (operands, insn))
33537 0 : return gen_split_1285 (insn, operands);
33538 : break;
33539 :
33540 0 : case 3:
33541 0 : if (insn_condition_2668 (operands, insn))
33542 0 : return gen_split_1288 (insn, operands);
33543 : break;
33544 :
33545 : default:
33546 : break;
33547 : }
33548 : break;
33549 :
33550 143854 : case XOR:
33551 143854 : x3 = XEXP (x1, 0);
33552 143854 : operands[0] = x3;
33553 143854 : switch (pattern279 (x2))
33554 : {
33555 0 : case 0:
33556 0 : if (insn_condition_2667 (operands, insn))
33557 0 : return gen_split_1280 (insn, operands);
33558 : break;
33559 :
33560 0 : case 1:
33561 0 : if (insn_condition_2667 (operands, insn))
33562 0 : return gen_split_1283 (insn, operands);
33563 : break;
33564 :
33565 0 : case 2:
33566 0 : if (insn_condition_2668 (operands, insn))
33567 0 : return gen_split_1286 (insn, operands);
33568 : break;
33569 :
33570 0 : case 3:
33571 0 : if (insn_condition_2668 (operands, insn))
33572 0 : return gen_split_1289 (insn, operands);
33573 : break;
33574 :
33575 : default:
33576 : break;
33577 : }
33578 : break;
33579 :
33580 234990 : case ASHIFT:
33581 234990 : switch (pattern75 (x1))
33582 : {
33583 0 : case 0:
33584 0 : if (insn_condition_2667 (operands, insn))
33585 0 : return gen_split_1311 (insn, operands);
33586 : break;
33587 :
33588 0 : case 1:
33589 0 : if (insn_condition_2667 (operands, insn))
33590 0 : return gen_split_1313 (insn, operands);
33591 : break;
33592 :
33593 0 : case 2:
33594 0 : if (insn_condition_2668 (operands, insn))
33595 0 : return gen_split_1315 (insn, operands);
33596 : break;
33597 :
33598 0 : case 3:
33599 0 : if (insn_condition_2668 (operands, insn))
33600 0 : return gen_split_1317 (insn, operands);
33601 : break;
33602 :
33603 : default:
33604 : break;
33605 : }
33606 : break;
33607 :
33608 304920 : case LSHIFTRT:
33609 304920 : switch (pattern75 (x1))
33610 : {
33611 0 : case 0:
33612 0 : if (insn_condition_2667 (operands, insn))
33613 0 : return gen_split_1312 (insn, operands);
33614 : break;
33615 :
33616 0 : case 1:
33617 0 : if (insn_condition_2667 (operands, insn))
33618 0 : return gen_split_1314 (insn, operands);
33619 : break;
33620 :
33621 0 : case 2:
33622 0 : if (insn_condition_2668 (operands, insn))
33623 0 : return gen_split_1316 (insn, operands);
33624 : break;
33625 :
33626 0 : case 3:
33627 0 : if (insn_condition_2668 (operands, insn))
33628 0 : return gen_split_1318 (insn, operands);
33629 : break;
33630 :
33631 : default:
33632 : break;
33633 : }
33634 : break;
33635 :
33636 1437815 : case SIGN_EXTEND:
33637 1437815 : res = split_58 (x1, insn);
33638 1437815 : if (res != NULL_RTX)
33639 : return res;
33640 : break;
33641 :
33642 785 : case SS_PLUS:
33643 785 : if (pattern77 (x1) == 0
33644 785 : && insn_condition_2844 (operands, insn))
33645 15 : return gen_split_2118 (insn, operands);
33646 : break;
33647 :
33648 499 : case SS_MINUS:
33649 499 : if (pattern77 (x1) == 0
33650 499 : && insn_condition_2844 (operands, insn))
33651 15 : return gen_split_2120 (insn, operands);
33652 : break;
33653 :
33654 608634 : case NE:
33655 608634 : case EQ:
33656 608634 : res = split_59 (x1, insn);
33657 608634 : if (res != NULL_RTX)
33658 : return res;
33659 : break;
33660 :
33661 : default:
33662 : break;
33663 : }
33664 201259038 : x3 = XEXP (x1, 0);
33665 201259038 : operands[0] = x3;
33666 201259038 : return split_78 (x1, insn);
33667 :
33668 : default:
33669 : return NULL;
33670 : }
33671 :
33672 : default:
33673 : return NULL;
33674 : }
33675 : }
33676 :
33677 : rtx_insn *
33678 32872471 : peephole2_9 (rtx x1 ATTRIBUTE_UNUSED,
33679 : rtx_insn *insn ATTRIBUTE_UNUSED,
33680 : int *pmatch_len_ ATTRIBUTE_UNUSED)
33681 : {
33682 32872471 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33683 32872471 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
33684 32872471 : rtx_insn *res ATTRIBUTE_UNUSED;
33685 32872471 : x2 = XEXP (x1, 1);
33686 32872471 : switch (GET_CODE (x2))
33687 : {
33688 10073757 : case CONST_INT:
33689 10073757 : case CONST_WIDE_INT:
33690 10073757 : case CONST_POLY_INT:
33691 10073757 : case CONST_FIXED:
33692 10073757 : case CONST_DOUBLE:
33693 10073757 : case CONST_VECTOR:
33694 10073757 : case CONST:
33695 10073757 : case LABEL_REF:
33696 10073757 : case SYMBOL_REF:
33697 10073757 : case HIGH:
33698 10073757 : res = peephole2_6 (x1, insn, pmatch_len_);
33699 10073757 : if (res != NULL_RTX)
33700 : return res;
33701 : break;
33702 :
33703 13197024 : case REG:
33704 13197024 : res = peephole2_7 (x1, insn, pmatch_len_);
33705 13197024 : if (res != NULL_RTX)
33706 : return res;
33707 : break;
33708 :
33709 9601690 : case SUBREG:
33710 9601690 : case MEM:
33711 9601690 : res = peephole2_8 (x1, insn, pmatch_len_);
33712 9601690 : if (res != NULL_RTX)
33713 : return res;
33714 : break;
33715 :
33716 : default:
33717 : break;
33718 : }
33719 32817232 : if (peep2_current_count < 2)
33720 : return NULL;
33721 27627765 : x3 = PATTERN (peep2_next_insn (1));
33722 27627765 : if (GET_CODE (x3) != SET)
33723 : return NULL;
33724 23093229 : x4 = XEXP (x1, 0);
33725 23093229 : switch (GET_MODE (x4))
33726 : {
33727 190466 : case E_HImode:
33728 190466 : if (peep2_current_count >= 3
33729 190466 : && peep2_current_count >= 4)
33730 : {
33731 132918 : operands[2] = x4;
33732 132918 : if (general_reg_operand (operands[2], E_HImode))
33733 : {
33734 69417 : operands[3] = x2;
33735 69417 : if (general_gr_operand (operands[3], E_HImode))
33736 : {
33737 68859 : x5 = XEXP (x3, 0);
33738 68859 : operands[0] = x5;
33739 68859 : if (general_reg_operand (operands[0], E_HImode))
33740 : {
33741 13357 : x6 = XEXP (x3, 1);
33742 13357 : if (pattern1001 (x6,
33743 : E_HImode) == 0
33744 13357 : && insn_condition_3142 (operands, insn))
33745 : {
33746 0 : *pmatch_len_ = 3;
33747 0 : res = gen_peephole2_229 (insn, operands);
33748 0 : if (res != NULL_RTX)
33749 : return res;
33750 : }
33751 : }
33752 : }
33753 : }
33754 : }
33755 190466 : operands[0] = x4;
33756 190466 : operands[1] = x2;
33757 190466 : if (x86_64_general_operand (operands[1], E_HImode)
33758 190466 : && general_reg_operand (operands[0], E_HImode))
33759 : {
33760 100269 : x5 = XEXP (x3, 0);
33761 100269 : operands[2] = x5;
33762 100269 : if (general_reg_operand (operands[2], E_HImode))
33763 : {
33764 14246 : x6 = XEXP (x3, 1);
33765 14246 : if (rtx_equal_p (x6, operands[0])
33766 15745 : && insn_condition_3143 (operands, insn))
33767 : {
33768 169 : *pmatch_len_ = 1;
33769 169 : res = gen_peephole2_253 (insn, operands);
33770 169 : if (res != NULL_RTX)
33771 : return res;
33772 : }
33773 : }
33774 : }
33775 190297 : if (peep2_current_count < 3
33776 190297 : || pattern886 (x3,
33777 : E_HImode) != 0)
33778 : return NULL;
33779 2 : switch (GET_MODE (operands[4]))
33780 : {
33781 0 : case E_HImode:
33782 0 : x7 = PATTERN (peep2_next_insn (2));
33783 0 : x8 = XVECEXP (x7, 0, 0);
33784 0 : x9 = XEXP (x8, 1);
33785 0 : if (pattern1938 (x9,
33786 : E_HImode) != 0
33787 0 : || !insn_condition_3144 (operands, insn))
33788 : return NULL;
33789 0 : *pmatch_len_ = 4;
33790 0 : return gen_peephole2_359 (insn, operands);
33791 :
33792 2 : case E_SImode:
33793 2 : x7 = PATTERN (peep2_next_insn (2));
33794 2 : x8 = XVECEXP (x7, 0, 0);
33795 2 : x9 = XEXP (x8, 1);
33796 2 : if (pattern1939 (x9,
33797 : E_HImode) != 0
33798 2 : || !insn_condition_3145 (operands, insn))
33799 : return NULL;
33800 2 : *pmatch_len_ = 4;
33801 2 : return gen_peephole2_363 (insn, operands);
33802 :
33803 : default:
33804 : return NULL;
33805 : }
33806 :
33807 889727 : case E_QImode:
33808 889727 : operands[0] = x4;
33809 889727 : operands[1] = x2;
33810 889727 : if (x86_64_general_operand (operands[1], E_QImode)
33811 889727 : && general_reg_operand (operands[0], E_QImode))
33812 : {
33813 514108 : x5 = XEXP (x3, 0);
33814 514108 : operands[2] = x5;
33815 514108 : if (general_reg_operand (operands[2], E_QImode))
33816 : {
33817 32457 : x6 = XEXP (x3, 1);
33818 32457 : if (rtx_equal_p (x6, operands[0])
33819 36691 : && insn_condition_3143 (operands, insn))
33820 : {
33821 593 : *pmatch_len_ = 1;
33822 593 : res = gen_peephole2_252 (insn, operands);
33823 593 : if (res != NULL_RTX)
33824 : return res;
33825 : }
33826 : }
33827 : }
33828 889134 : if (peep2_current_count < 3
33829 889134 : || pattern886 (x3,
33830 : E_QImode) != 0)
33831 : return NULL;
33832 20 : switch (GET_MODE (operands[4]))
33833 : {
33834 0 : case E_QImode:
33835 0 : x7 = PATTERN (peep2_next_insn (2));
33836 0 : x8 = XVECEXP (x7, 0, 0);
33837 0 : x9 = XEXP (x8, 1);
33838 0 : if (pattern1938 (x9,
33839 : E_QImode) != 0
33840 0 : || !insn_condition_3146 (operands, insn))
33841 : return NULL;
33842 0 : *pmatch_len_ = 4;
33843 0 : return gen_peephole2_358 (insn, operands);
33844 :
33845 20 : case E_SImode:
33846 20 : x7 = PATTERN (peep2_next_insn (2));
33847 20 : x8 = XVECEXP (x7, 0, 0);
33848 20 : x9 = XEXP (x8, 1);
33849 20 : if (pattern1939 (x9,
33850 : E_QImode) != 0
33851 20 : || !insn_condition_3147 (operands, insn))
33852 : return NULL;
33853 8 : *pmatch_len_ = 4;
33854 8 : return gen_peephole2_362 (insn, operands);
33855 :
33856 : default:
33857 : return NULL;
33858 : }
33859 :
33860 : default:
33861 : return NULL;
33862 : }
33863 : }
33864 :
33865 : rtx_insn *
33866 10403506 : peephole2_12 (rtx x1 ATTRIBUTE_UNUSED,
33867 : rtx_insn *insn ATTRIBUTE_UNUSED,
33868 : int *pmatch_len_ ATTRIBUTE_UNUSED)
33869 : {
33870 10403506 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33871 10403506 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
33872 10403506 : rtx x10, x11, x12, x13, x14;
33873 10403506 : rtx_insn *res ATTRIBUTE_UNUSED;
33874 10403506 : x2 = XEXP (x1, 1);
33875 10403506 : operands[1] = x2;
33876 10403506 : if (register_operand (operands[0], E_SImode))
33877 : {
33878 6288724 : res = peephole2_11 (x1, insn, pmatch_len_);
33879 6288724 : if (res != NULL_RTX)
33880 : return res;
33881 : }
33882 10400909 : if (peep2_current_count < 2
33883 10400909 : || peep2_current_count < 3
33884 10400909 : || !general_reg_operand (operands[0], E_SImode))
33885 : return NULL;
33886 5071693 : x3 = PATTERN (peep2_next_insn (1));
33887 5071693 : if (GET_CODE (x3) == PARALLEL
33888 787179 : && XVECLEN (x3, 0) == 2)
33889 : {
33890 754572 : x4 = XVECEXP (x3, 0, 0);
33891 754572 : if (GET_CODE (x4) == SET)
33892 : {
33893 750756 : if (memory_operand (operands[1], E_SImode))
33894 : {
33895 226182 : switch (pattern1234 (x3,
33896 : E_SImode,
33897 : E_DImode))
33898 : {
33899 3 : case 0:
33900 3 : if (insn_condition_3130 (operands, insn))
33901 : {
33902 3 : *pmatch_len_ = 2;
33903 3 : res = gen_peephole2_82 (insn, operands);
33904 3 : if (res != NULL_RTX)
33905 : return res;
33906 : }
33907 : break;
33908 :
33909 0 : case 1:
33910 0 : if (insn_condition_3131 (operands, insn))
33911 : {
33912 0 : *pmatch_len_ = 2;
33913 0 : res = gen_peephole2_86 (insn, operands);
33914 0 : if (res != NULL_RTX)
33915 : return res;
33916 : }
33917 : break;
33918 :
33919 7 : case 2:
33920 7 : if (insn_condition_3130 (operands, insn))
33921 : {
33922 6 : *pmatch_len_ = 2;
33923 6 : res = gen_peephole2_102 (insn, operands);
33924 6 : if (res != NULL_RTX)
33925 : return res;
33926 : }
33927 : break;
33928 :
33929 0 : case 3:
33930 0 : x5 = PATTERN (peep2_next_insn (2));
33931 0 : x6 = XEXP (x5, 0);
33932 0 : if (rtx_equal_p (x6, operands[1])
33933 0 : && insn_condition_3131 (operands, insn))
33934 : {
33935 0 : *pmatch_len_ = 2;
33936 0 : res = gen_peephole2_104 (insn, operands);
33937 0 : if (res != NULL_RTX)
33938 : return res;
33939 : }
33940 0 : if (rtx_equal_p (x6, operands[2])
33941 0 : && insn_condition_3131 (operands, insn))
33942 : {
33943 0 : *pmatch_len_ = 2;
33944 0 : res = gen_peephole2_106 (insn, operands);
33945 0 : if (res != NULL_RTX)
33946 : return res;
33947 : }
33948 : break;
33949 :
33950 7 : case 4:
33951 7 : if (insn_condition_3130 (operands, insn))
33952 : {
33953 7 : *pmatch_len_ = 2;
33954 7 : res = gen_peephole2_118 (insn, operands);
33955 7 : if (res != NULL_RTX)
33956 : return res;
33957 : }
33958 : break;
33959 :
33960 0 : case 5:
33961 0 : if (insn_condition_3131 (operands, insn))
33962 : {
33963 0 : *pmatch_len_ = 2;
33964 0 : res = gen_peephole2_120 (insn, operands);
33965 0 : if (res != NULL_RTX)
33966 : return res;
33967 : }
33968 : break;
33969 :
33970 0 : case 6:
33971 0 : if (insn_condition_3130 (operands, insn))
33972 : {
33973 0 : *pmatch_len_ = 2;
33974 0 : res = gen_peephole2_132 (insn, operands);
33975 0 : if (res != NULL_RTX)
33976 : return res;
33977 : }
33978 : break;
33979 :
33980 0 : case 7:
33981 0 : if (insn_condition_3130 (operands, insn))
33982 : {
33983 0 : *pmatch_len_ = 2;
33984 0 : res = gen_peephole2_94 (insn, operands);
33985 0 : if (res != NULL_RTX)
33986 : return res;
33987 : }
33988 : break;
33989 :
33990 0 : case 8:
33991 0 : if (insn_condition_3132 (operands, insn))
33992 : {
33993 0 : *pmatch_len_ = 3;
33994 0 : res = gen_peephole2_98 (insn, operands);
33995 0 : if (res != NULL_RTX)
33996 : return res;
33997 : }
33998 : break;
33999 :
34000 2 : case 9:
34001 2 : if (insn_condition_3130 (operands, insn))
34002 : {
34003 2 : *pmatch_len_ = 2;
34004 2 : res = gen_peephole2_112 (insn, operands);
34005 2 : if (res != NULL_RTX)
34006 : return res;
34007 : }
34008 : break;
34009 :
34010 0 : case 10:
34011 0 : if (insn_condition_3132 (operands, insn))
34012 : {
34013 0 : *pmatch_len_ = 3;
34014 0 : res = gen_peephole2_116 (insn, operands);
34015 0 : if (res != NULL_RTX)
34016 : return res;
34017 : }
34018 : break;
34019 :
34020 : default:
34021 : break;
34022 : }
34023 : }
34024 750738 : if (peep2_current_count >= 4
34025 695119 : && pattern1236 (x3,
34026 : E_SImode) == 0
34027 750855 : && insn_condition_3155 (operands, insn))
34028 : {
34029 117 : *pmatch_len_ = 3;
34030 117 : res = gen_peephole2_173 (insn, operands);
34031 117 : if (res != NULL_RTX)
34032 : return res;
34033 : }
34034 750621 : if (general_reg_operand (operands[1], E_SImode))
34035 : {
34036 236614 : x7 = XEXP (x4, 1);
34037 236614 : if (GET_CODE (x7) == NEG
34038 4763 : && GET_MODE (x7) == E_SImode
34039 241377 : && pattern1387 (x3) == 0)
34040 : {
34041 4654 : x5 = PATTERN (peep2_next_insn (2));
34042 4654 : if (GET_CODE (x5) == SET
34043 4654 : && pattern1388 (x5) == 0)
34044 : {
34045 35 : *pmatch_len_ = 2;
34046 35 : res = gen_peephole2_179 (insn, operands);
34047 35 : if (res != NULL_RTX)
34048 : return res;
34049 : }
34050 : }
34051 : }
34052 : }
34053 : }
34054 5071523 : if (!immediate_operand (operands[1], E_SImode))
34055 : return NULL;
34056 997444 : switch (pattern889 (x3,
34057 : E_DImode,
34058 : E_SImode))
34059 : {
34060 168 : case 0:
34061 168 : if (!insn_condition_3156 (operands, insn))
34062 : return NULL;
34063 101 : *pmatch_len_ = 2;
34064 101 : return gen_peephole2_136 (insn, operands);
34065 :
34066 0 : case 1:
34067 0 : if (!insn_condition_3157 (operands, insn))
34068 : return NULL;
34069 0 : *pmatch_len_ = 2;
34070 0 : return gen_peephole2_138 (insn, operands);
34071 :
34072 562 : case 2:
34073 562 : x5 = PATTERN (peep2_next_insn (2));
34074 562 : x8 = XVECEXP (x5, 0, 1);
34075 562 : x9 = XEXP (x8, 0);
34076 562 : if (!rtx_equal_p (x9, operands[2]))
34077 : return NULL;
34078 561 : x10 = XVECEXP (x5, 0, 0);
34079 561 : x11 = XEXP (x10, 1);
34080 561 : switch (GET_CODE (x11))
34081 : {
34082 173 : case SMUL_HIGHPART:
34083 173 : if (pattern1848 (x11) != 0
34084 173 : || !insn_condition_3158 (operands, insn))
34085 : return NULL;
34086 160 : *pmatch_len_ = 2;
34087 160 : return gen_peephole2_140 (insn, operands);
34088 :
34089 388 : case UMUL_HIGHPART:
34090 388 : if (pattern1848 (x11) != 0
34091 388 : || !insn_condition_3158 (operands, insn))
34092 : return NULL;
34093 315 : *pmatch_len_ = 2;
34094 315 : return gen_peephole2_141 (insn, operands);
34095 :
34096 0 : case ZERO_EXTEND:
34097 0 : if (GET_MODE (x11) != E_DImode
34098 0 : || !general_reg_operand (operands[4], E_DImode))
34099 : return NULL;
34100 0 : x12 = XEXP (x11, 0);
34101 0 : if (GET_MODE (x12) != E_SImode)
34102 : return NULL;
34103 0 : switch (GET_CODE (x12))
34104 : {
34105 0 : case SMUL_HIGHPART:
34106 0 : x13 = XEXP (x12, 0);
34107 0 : if (!rtx_equal_p (x13, operands[2]))
34108 : return NULL;
34109 0 : x14 = XEXP (x12, 1);
34110 0 : if (!rtx_equal_p (x14, operands[0])
34111 0 : || !insn_condition_3159 (operands, insn))
34112 : return NULL;
34113 0 : *pmatch_len_ = 2;
34114 0 : return gen_peephole2_144 (insn, operands);
34115 :
34116 0 : case UMUL_HIGHPART:
34117 0 : x13 = XEXP (x12, 0);
34118 0 : if (!rtx_equal_p (x13, operands[2]))
34119 : return NULL;
34120 0 : x14 = XEXP (x12, 1);
34121 0 : if (!rtx_equal_p (x14, operands[0])
34122 0 : || !insn_condition_3159 (operands, insn))
34123 : return NULL;
34124 0 : *pmatch_len_ = 2;
34125 0 : return gen_peephole2_145 (insn, operands);
34126 :
34127 : default:
34128 : return NULL;
34129 : }
34130 :
34131 : default:
34132 : return NULL;
34133 : }
34134 :
34135 : default:
34136 : return NULL;
34137 : }
34138 : }
34139 :
34140 : rtx_insn *
34141 39976150 : peephole2_24 (rtx x1 ATTRIBUTE_UNUSED,
34142 : rtx_insn *insn ATTRIBUTE_UNUSED,
34143 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34144 : {
34145 39976150 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34146 39976150 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34147 39976150 : rtx x10;
34148 39976150 : rtx_insn *res ATTRIBUTE_UNUSED;
34149 39976150 : x2 = XEXP (x1, 1);
34150 39976150 : operands[1] = x2;
34151 39976150 : if (memory_operand (operands[1], E_SImode)
34152 39976150 : && register_operand (operands[0], E_SImode))
34153 : {
34154 2048139 : res = peephole2_23 (x1, insn, pmatch_len_);
34155 2048139 : if (res != NULL_RTX)
34156 : return res;
34157 : }
34158 39976150 : if (peep2_current_count < 3
34159 39976150 : || peep2_current_count < 4
34160 25985372 : || !general_reg_operand (operands[1], E_SImode)
34161 42320091 : || !general_reg_operand (operands[0], E_SImode))
34162 : return NULL;
34163 532675 : x3 = PATTERN (peep2_next_insn (1));
34164 532675 : if (GET_CODE (x3) != PARALLEL
34165 219464 : || XVECLEN (x3, 0) != 2)
34166 : return NULL;
34167 216534 : x4 = XVECEXP (x3, 0, 0);
34168 216534 : if (GET_CODE (x4) != SET)
34169 : return NULL;
34170 214843 : x5 = XEXP (x4, 0);
34171 214843 : if (GET_CODE (x5) != REG
34172 214843 : || REGNO (x5) != 17)
34173 : return NULL;
34174 10405 : x6 = XVECEXP (x3, 0, 1);
34175 10405 : if (GET_CODE (x6) != SET)
34176 : return NULL;
34177 8566 : x7 = XEXP (x4, 1);
34178 8566 : operands[5] = x7;
34179 8566 : x8 = XEXP (x6, 1);
34180 8566 : operands[6] = x8;
34181 8566 : x9 = XEXP (x6, 0);
34182 8566 : if (!rtx_equal_p (x9, operands[0]))
34183 : return NULL;
34184 4583 : x10 = PATTERN (peep2_next_insn (2));
34185 4583 : if (GET_CODE (x10) != SET
34186 3377 : || pattern1390 (x10,
34187 : E_SImode) != 0
34188 4607 : || !insn_condition_3121 (operands, insn))
34189 : return NULL;
34190 12 : *pmatch_len_ = 3;
34191 12 : return gen_peephole2_227 (insn, operands);
34192 : }
34193 :
34194 : rtx_insn *
34195 317806 : peephole2_28 (rtx x1 ATTRIBUTE_UNUSED,
34196 : rtx_insn *insn ATTRIBUTE_UNUSED,
34197 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34198 : {
34199 317806 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34200 317806 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34201 317806 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34202 317806 : rtx x18, x19, x20, x21;
34203 317806 : rtx_insn *res ATTRIBUTE_UNUSED;
34204 317806 : if (peep2_current_count < 2)
34205 : return NULL;
34206 312376 : x2 = XEXP (x1, 0);
34207 312376 : operands[0] = x2;
34208 312376 : x3 = XEXP (x1, 1);
34209 312376 : x4 = XEXP (x3, 0);
34210 312376 : operands[1] = x4;
34211 312376 : if (!general_reg_operand (operands[1], E_QImode))
34212 : return NULL;
34213 62975 : x5 = PATTERN (peep2_next_insn (1));
34214 62975 : if (GET_CODE (x5) != PARALLEL
34215 19938 : || XVECLEN (x5, 0) != 2)
34216 : return NULL;
34217 19936 : x6 = XVECEXP (x5, 0, 0);
34218 19936 : if (GET_CODE (x6) != SET)
34219 : return NULL;
34220 19935 : x7 = XVECEXP (x5, 0, 1);
34221 19935 : if (GET_CODE (x7) != CLOBBER)
34222 : return NULL;
34223 14285 : switch (GET_MODE (operands[0]))
34224 : {
34225 1813 : case E_HImode:
34226 1813 : if (!register_operand (operands[0], E_HImode)
34227 1813 : || GET_MODE (x3) != E_HImode)
34228 : return NULL;
34229 1813 : x8 = XEXP (x6, 1);
34230 1813 : if (GET_CODE (x8) != UNSPEC
34231 0 : || XVECLEN (x8, 0) != 1
34232 0 : || XINT (x8, 1) != 25
34233 0 : || GET_MODE (x8) != E_CCmode)
34234 : return NULL;
34235 0 : x9 = XEXP (x6, 0);
34236 0 : if (GET_CODE (x9) != REG
34237 0 : || REGNO (x9) != 17
34238 0 : || GET_MODE (x9) != E_CCmode)
34239 : return NULL;
34240 0 : x10 = XVECEXP (x8, 0, 0);
34241 0 : if (!rtx_equal_p (x10, operands[0]))
34242 : return NULL;
34243 0 : x11 = XEXP (x7, 0);
34244 0 : if (!rtx_equal_p (x11, operands[0]))
34245 : return NULL;
34246 0 : *pmatch_len_ = 1;
34247 0 : return gen_peephole2_216 (insn, operands);
34248 :
34249 8268 : case E_SImode:
34250 8268 : if (peep2_current_count < 3
34251 8268 : || peep2_current_count < 4
34252 6730 : || !register_operand (operands[0], E_SImode)
34253 14998 : || GET_MODE (x3) != E_SImode)
34254 : return NULL;
34255 6730 : x8 = XEXP (x6, 1);
34256 6730 : if (GET_CODE (x8) != POPCOUNT
34257 9 : || GET_MODE (x8) != E_SImode)
34258 : return NULL;
34259 9 : x11 = XEXP (x7, 0);
34260 9 : if (GET_CODE (x11) != REG
34261 9 : || REGNO (x11) != 17
34262 18 : || GET_MODE (x11) != E_CCmode)
34263 : return NULL;
34264 9 : x9 = XEXP (x6, 0);
34265 9 : operands[2] = x9;
34266 9 : if (!register_operand (operands[2], E_SImode))
34267 : return NULL;
34268 9 : x12 = XEXP (x8, 0);
34269 9 : if (!rtx_equal_p (x12, operands[0]))
34270 : return NULL;
34271 9 : x13 = PATTERN (peep2_next_insn (2));
34272 9 : if (GET_CODE (x13) != SET
34273 9 : || pattern1820 (x13) != 0)
34274 : return NULL;
34275 2 : x14 = XEXP (x13, 1);
34276 2 : x15 = XEXP (x14, 0);
34277 2 : x16 = XEXP (x15, 0);
34278 2 : operands[3] = x16;
34279 2 : if (!register_operand (operands[3], E_QImode))
34280 : return NULL;
34281 2 : x17 = PATTERN (peep2_next_insn (3));
34282 2 : if (GET_CODE (x17) != SET)
34283 : return NULL;
34284 2 : x18 = XEXP (x17, 1);
34285 2 : if (GET_CODE (x18) != IF_THEN_ELSE)
34286 : return NULL;
34287 2 : x19 = XEXP (x18, 0);
34288 2 : if (!bt_comparison_operator (x19, E_VOIDmode))
34289 : return NULL;
34290 2 : operands[4] = x19;
34291 2 : if (pattern1940 (x17) != 0)
34292 : return NULL;
34293 2 : x20 = XEXP (x18, 1);
34294 2 : x21 = XEXP (x20, 0);
34295 2 : operands[5] = x21;
34296 2 : if (!insn_condition_3216 (operands, insn))
34297 : return NULL;
34298 2 : *pmatch_len_ = 3;
34299 2 : return gen_peephole2_217 (insn, operands);
34300 :
34301 : default:
34302 : return NULL;
34303 : }
34304 : }
34305 :
34306 : rtx_insn *
34307 1260 : peephole2_34 (rtx x1 ATTRIBUTE_UNUSED,
34308 : rtx_insn *insn ATTRIBUTE_UNUSED,
34309 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34310 : {
34311 1260 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34312 1260 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34313 1260 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34314 1260 : rtx x18;
34315 1260 : rtx_insn *res ATTRIBUTE_UNUSED;
34316 1260 : x2 = XEXP (x1, 1);
34317 1260 : operands[1] = x2;
34318 1260 : if (!general_operand (operands[1], E_QImode))
34319 : return NULL;
34320 1260 : x3 = PATTERN (peep2_next_insn (1));
34321 1260 : x4 = XVECEXP (x3, 0, 1);
34322 1260 : if (GET_CODE (x4) != SET)
34323 : return NULL;
34324 1260 : x5 = XEXP (x4, 1);
34325 1260 : if (GET_CODE (x5) != UNSPEC_VOLATILE
34326 1260 : || XVECLEN (x5, 0) != 1
34327 1260 : || XINT (x5, 1) != 125
34328 1260 : || GET_MODE (x5) != E_QImode)
34329 : return NULL;
34330 1260 : x6 = XVECEXP (x5, 0, 0);
34331 1260 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34332 : return NULL;
34333 1260 : x7 = XVECEXP (x3, 0, 2);
34334 1260 : if (GET_CODE (x7) != SET)
34335 : return NULL;
34336 1260 : x8 = XEXP (x7, 1);
34337 1260 : if (GET_CODE (x8) != UNSPEC_VOLATILE
34338 1260 : || XVECLEN (x8, 0) != 1
34339 1260 : || XINT (x8, 1) != 125
34340 1260 : || GET_MODE (x8) != E_CCZmode)
34341 : return NULL;
34342 1260 : x9 = XVECEXP (x8, 0, 0);
34343 1260 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34344 : return NULL;
34345 1260 : x10 = XEXP (x7, 0);
34346 1260 : if (GET_CODE (x10) != REG
34347 1260 : || REGNO (x10) != 17
34348 2520 : || GET_MODE (x10) != E_CCZmode)
34349 : return NULL;
34350 1260 : x11 = XVECEXP (x3, 0, 0);
34351 1260 : x12 = XEXP (x11, 1);
34352 1260 : x13 = XVECEXP (x12, 0, 0);
34353 1260 : operands[2] = x13;
34354 1260 : if (!memory_operand (operands[2], E_QImode))
34355 : return NULL;
34356 1260 : x14 = XVECEXP (x12, 0, 2);
34357 1260 : operands[3] = x14;
34358 1260 : if (!register_operand (operands[3], E_QImode)
34359 1260 : || pattern1754 (x3) != 0)
34360 : return NULL;
34361 1062 : x15 = PATTERN (peep2_next_insn (2));
34362 1062 : if (pattern1584 (x15) != 0)
34363 : return NULL;
34364 46 : x16 = XEXP (x15, 1);
34365 46 : x17 = XEXP (x16, 0);
34366 46 : operands[5] = x17;
34367 46 : if (!register_operand (operands[5], E_QImode))
34368 : return NULL;
34369 46 : x18 = XEXP (x16, 1);
34370 46 : operands[6] = x18;
34371 46 : if (!general_operand (operands[6], E_QImode)
34372 46 : || !insn_condition_3229 (operands, insn))
34373 : return NULL;
34374 46 : *pmatch_len_ = 2;
34375 46 : return gen_peephole2_438 (insn, operands);
34376 : }
34377 :
34378 : rtx_insn *
34379 1479602 : peephole2_40 (rtx x1 ATTRIBUTE_UNUSED,
34380 : rtx_insn *insn ATTRIBUTE_UNUSED,
34381 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34382 : {
34383 1479602 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34384 1479602 : rtx x2, x3, x4, x5, x6, x7, x8;
34385 1479602 : rtx_insn *res ATTRIBUTE_UNUSED;
34386 1479602 : x2 = XVECEXP (x1, 0, 1);
34387 1479602 : if (pattern286 (x2,
34388 : E_CCmode,
34389 : 17) != 0)
34390 : return NULL;
34391 1479602 : x3 = XVECEXP (x1, 0, 0);
34392 1479602 : x4 = XEXP (x3, 1);
34393 1479602 : switch (XWINT (x4, 0))
34394 : {
34395 1450261 : case 0L:
34396 1450261 : res = peephole2_39 (x1, insn, pmatch_len_);
34397 1450261 : if (res != NULL_RTX)
34398 : return res;
34399 : break;
34400 :
34401 1344 : case 1L:
34402 1344 : x5 = XEXP (x3, 0);
34403 1344 : if (GET_CODE (x5) == ZERO_EXTRACT
34404 1344 : && pattern1110 (x5) == 0
34405 1344 : && insn_condition_3266 (operands, insn))
34406 : {
34407 0 : *pmatch_len_ = 0;
34408 0 : res = gen_peephole2_191 (insn, operands);
34409 0 : if (res != NULL_RTX)
34410 : return res;
34411 : }
34412 : break;
34413 :
34414 : default:
34415 : break;
34416 : }
34417 1479036 : if (peep2_current_count < 2
34418 1479036 : || peep2_current_count < 3)
34419 : return NULL;
34420 986810 : x5 = XEXP (x3, 0);
34421 986810 : operands[0] = x5;
34422 986810 : x6 = PATTERN (peep2_next_insn (1));
34423 986810 : if (pattern454 (x6,
34424 : UNSPEC_VOLATILE,
34425 : 3) != 0)
34426 : return NULL;
34427 985 : x7 = XVECEXP (x6, 0, 1);
34428 985 : if (GET_CODE (x7) != SET)
34429 : return NULL;
34430 985 : x8 = PATTERN (peep2_next_insn (2));
34431 985 : if (pattern1584 (x8) != 0)
34432 : return NULL;
34433 63 : switch (GET_MODE (operands[0]))
34434 : {
34435 36 : case E_SImode:
34436 36 : if (!register_operand (operands[0], E_SImode))
34437 : return NULL;
34438 36 : operands[1] = x4;
34439 36 : switch (pattern1877 (x6,
34440 : E_SImode))
34441 : {
34442 0 : case 0:
34443 0 : if (insn_condition_3103 (operands, insn))
34444 : {
34445 0 : *pmatch_len_ = 2;
34446 0 : res = gen_peephole2_442 (insn, operands);
34447 0 : if (res != NULL_RTX)
34448 : return res;
34449 : }
34450 : break;
34451 :
34452 1 : case 1:
34453 1 : if (insn_condition_3103 (operands, insn))
34454 : {
34455 1 : *pmatch_len_ = 2;
34456 1 : res = gen_peephole2_444 (insn, operands);
34457 1 : if (res != NULL_RTX)
34458 : return res;
34459 : }
34460 : break;
34461 :
34462 4 : case 2:
34463 4 : if (insn_condition_3103 (operands, insn))
34464 : {
34465 4 : *pmatch_len_ = 2;
34466 4 : res = gen_peephole2_446 (insn, operands);
34467 4 : if (res != NULL_RTX)
34468 : return res;
34469 : }
34470 : break;
34471 :
34472 0 : case 3:
34473 0 : if (insn_condition_3098 (operands, insn))
34474 : {
34475 0 : *pmatch_len_ = 2;
34476 0 : res = gen_peephole2_448 (insn, operands);
34477 0 : if (res != NULL_RTX)
34478 : return res;
34479 : }
34480 : break;
34481 :
34482 : default:
34483 : break;
34484 : }
34485 31 : operands[2] = x4;
34486 31 : if (pattern1829 (x6,
34487 : E_SImode) != 0
34488 31 : || !insn_condition_3230 (operands, insn))
34489 : return NULL;
34490 0 : *pmatch_len_ = 2;
34491 0 : return gen_peephole2_456 (insn, operands);
34492 :
34493 27 : case E_DImode:
34494 27 : if (!register_operand (operands[0], E_DImode))
34495 : return NULL;
34496 27 : operands[1] = x4;
34497 27 : switch (pattern1877 (x6,
34498 : E_DImode))
34499 : {
34500 0 : case 0:
34501 0 : if (insn_condition_3098 (operands, insn))
34502 : {
34503 0 : *pmatch_len_ = 2;
34504 0 : res = gen_peephole2_443 (insn, operands);
34505 0 : if (res != NULL_RTX)
34506 : return res;
34507 : }
34508 : break;
34509 :
34510 1 : case 1:
34511 1 : if (insn_condition_3098 (operands, insn))
34512 : {
34513 1 : *pmatch_len_ = 2;
34514 1 : res = gen_peephole2_445 (insn, operands);
34515 1 : if (res != NULL_RTX)
34516 : return res;
34517 : }
34518 : break;
34519 :
34520 0 : case 2:
34521 0 : if (insn_condition_3098 (operands, insn))
34522 : {
34523 0 : *pmatch_len_ = 2;
34524 0 : res = gen_peephole2_447 (insn, operands);
34525 0 : if (res != NULL_RTX)
34526 : return res;
34527 : }
34528 : break;
34529 :
34530 4 : case 3:
34531 4 : if (insn_condition_3098 (operands, insn))
34532 : {
34533 4 : *pmatch_len_ = 2;
34534 4 : res = gen_peephole2_449 (insn, operands);
34535 4 : if (res != NULL_RTX)
34536 : return res;
34537 : }
34538 : break;
34539 :
34540 : default:
34541 : break;
34542 : }
34543 22 : operands[2] = x4;
34544 22 : if (pattern1829 (x6,
34545 : E_DImode) != 0
34546 22 : || !insn_condition_3233 (operands, insn))
34547 : return NULL;
34548 0 : *pmatch_len_ = 2;
34549 0 : return gen_peephole2_457 (insn, operands);
34550 :
34551 0 : case E_QImode:
34552 0 : if (pattern1830 (x4,
34553 : E_QImode) != 0
34554 0 : || !insn_condition_3230 (operands, insn))
34555 : return NULL;
34556 0 : *pmatch_len_ = 2;
34557 0 : return gen_peephole2_454 (insn, operands);
34558 :
34559 0 : case E_HImode:
34560 0 : if (pattern1830 (x4,
34561 : E_HImode) != 0
34562 0 : || !insn_condition_3230 (operands, insn))
34563 : return NULL;
34564 0 : *pmatch_len_ = 2;
34565 0 : return gen_peephole2_455 (insn, operands);
34566 :
34567 : default:
34568 : return NULL;
34569 : }
34570 : }
34571 :
34572 : rtx_insn *
34573 38520 : peephole2_45 (rtx x1 ATTRIBUTE_UNUSED,
34574 : rtx_insn *insn ATTRIBUTE_UNUSED,
34575 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34576 : {
34577 38520 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34578 38520 : rtx x2, x3, x4, x5, x6;
34579 38520 : rtx_insn *res ATTRIBUTE_UNUSED;
34580 38520 : if (peep2_current_count < 2
34581 38520 : || pattern287 (x1) != 0)
34582 : return NULL;
34583 38007 : x2 = PATTERN (peep2_next_insn (1));
34584 38007 : if (GET_CODE (x2) != SET)
34585 : return NULL;
34586 28346 : x3 = XEXP (x2, 1);
34587 28346 : if (GET_CODE (x3) != COMPARE
34588 2540 : || GET_MODE (x3) != E_CCZmode
34589 29548 : || pattern1490 (x2,
34590 : 0) != 0)
34591 : return NULL;
34592 733 : x4 = XEXP (x3, 0);
34593 733 : if (!rtx_equal_p (x4, operands[1]))
34594 : return NULL;
34595 1 : switch (GET_MODE (operands[0]))
34596 : {
34597 0 : case E_QImode:
34598 0 : if (!general_reg_operand (operands[0], E_QImode))
34599 : return NULL;
34600 0 : x5 = XVECEXP (x1, 0, 0);
34601 0 : x6 = XEXP (x5, 1);
34602 0 : if (GET_MODE (x6) != E_QImode
34603 0 : || !general_reg_operand (operands[1], E_QImode)
34604 0 : || !insn_condition_296 (operands, insn))
34605 : return NULL;
34606 0 : *pmatch_len_ = 1;
34607 0 : return gen_peephole2_181 (insn, operands);
34608 :
34609 0 : case E_HImode:
34610 0 : if (!general_reg_operand (operands[0], E_HImode))
34611 : return NULL;
34612 0 : x5 = XVECEXP (x1, 0, 0);
34613 0 : x6 = XEXP (x5, 1);
34614 0 : if (GET_MODE (x6) != E_HImode
34615 0 : || !general_reg_operand (operands[1], E_HImode)
34616 0 : || !insn_condition_296 (operands, insn))
34617 : return NULL;
34618 0 : *pmatch_len_ = 1;
34619 0 : return gen_peephole2_182 (insn, operands);
34620 :
34621 1 : case E_SImode:
34622 1 : if (!general_reg_operand (operands[0], E_SImode))
34623 : return NULL;
34624 1 : x5 = XVECEXP (x1, 0, 0);
34625 1 : x6 = XEXP (x5, 1);
34626 1 : if (GET_MODE (x6) != E_SImode
34627 1 : || !general_reg_operand (operands[1], E_SImode)
34628 2 : || !insn_condition_296 (operands, insn))
34629 : return NULL;
34630 1 : *pmatch_len_ = 1;
34631 1 : return gen_peephole2_183 (insn, operands);
34632 :
34633 0 : case E_DImode:
34634 0 : if (!general_reg_operand (operands[0], E_DImode))
34635 : return NULL;
34636 0 : x5 = XVECEXP (x1, 0, 0);
34637 0 : x6 = XEXP (x5, 1);
34638 0 : if (GET_MODE (x6) != E_DImode
34639 0 : || !general_reg_operand (operands[1], E_DImode)
34640 0 : || !insn_condition_3284 (operands, insn))
34641 : return NULL;
34642 0 : *pmatch_len_ = 1;
34643 0 : return gen_peephole2_184 (insn, operands);
34644 :
34645 : default:
34646 : return NULL;
34647 : }
34648 : }
34649 :
34650 : rtx_insn *
34651 2849471 : peephole2_48 (rtx x1 ATTRIBUTE_UNUSED,
34652 : rtx_insn *insn ATTRIBUTE_UNUSED,
34653 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34654 : {
34655 2849471 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34656 2849471 : rtx x2, x3, x4, x5, x6, x7, x8;
34657 2849471 : rtx_insn *res ATTRIBUTE_UNUSED;
34658 2849471 : x2 = XVECEXP (x1, 0, 1);
34659 2849471 : x3 = XEXP (x2, 0);
34660 2849471 : if (GET_CODE (x3) != MEM
34661 88260 : || GET_MODE (x3) != E_BLKmode)
34662 : return NULL;
34663 88260 : x4 = XEXP (x3, 0);
34664 88260 : if (GET_CODE (x4) != SCRATCH)
34665 : return NULL;
34666 88260 : x5 = XVECEXP (x1, 0, 0);
34667 88260 : x6 = XEXP (x5, 1);
34668 88260 : x7 = XEXP (x6, 1);
34669 88260 : operands[1] = x7;
34670 88260 : x8 = XEXP (x6, 0);
34671 88260 : if (!rtx_equal_p (x8, operands[0]))
34672 : return NULL;
34673 88260 : switch (GET_MODE (operands[0]))
34674 : {
34675 8552 : case E_SImode:
34676 8552 : if (!register_operand (operands[0], E_SImode)
34677 8552 : || GET_MODE (x6) != E_SImode
34678 8552 : || !x86_64_nonmemory_operand (operands[1], E_SImode)
34679 17104 : || !insn_condition_3288 (operands, insn))
34680 : return NULL;
34681 8552 : *pmatch_len_ = 0;
34682 8552 : return gen_peephole2_256 (insn, operands);
34683 :
34684 79708 : case E_DImode:
34685 79708 : if (!register_operand (operands[0], E_DImode)
34686 79708 : || GET_MODE (x6) != E_DImode
34687 79708 : || !x86_64_nonmemory_operand (operands[1], E_DImode)
34688 159416 : || !insn_condition_3289 (operands, insn))
34689 : return NULL;
34690 79707 : *pmatch_len_ = 0;
34691 79707 : return gen_peephole2_257 (insn, operands);
34692 :
34693 : default:
34694 : return NULL;
34695 : }
34696 : }
34697 :
34698 : rtx_insn *
34699 3338210 : peephole2_50 (rtx x1 ATTRIBUTE_UNUSED,
34700 : rtx_insn *insn ATTRIBUTE_UNUSED,
34701 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34702 : {
34703 3338210 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34704 3338210 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34705 3338210 : rtx x10, x11, x12, x13, x14;
34706 3338210 : rtx_insn *res ATTRIBUTE_UNUSED;
34707 3338210 : if (peep2_current_count < 3)
34708 : return NULL;
34709 3089872 : x2 = XVECEXP (x1, 0, 0);
34710 3089872 : x3 = XEXP (x2, 1);
34711 3089872 : operands[2] = x3;
34712 3089872 : x4 = XEXP (x2, 0);
34713 3089872 : operands[0] = x4;
34714 3089872 : x5 = XEXP (x3, 1);
34715 3089872 : operands[1] = x5;
34716 3089872 : x6 = XEXP (x3, 0);
34717 3089872 : if (!rtx_equal_p (x6, operands[0]))
34718 : return NULL;
34719 3032684 : x7 = PATTERN (peep2_next_insn (1));
34720 3032684 : if (GET_CODE (x7) != SET)
34721 : return NULL;
34722 2386978 : x8 = XEXP (x7, 1);
34723 2386978 : if (!rtx_equal_p (x8, operands[0]))
34724 : return NULL;
34725 235524 : x9 = XEXP (x7, 0);
34726 235524 : if (!rtx_equal_p (x9, operands[1]))
34727 : return NULL;
34728 8813 : x10 = PATTERN (peep2_next_insn (2));
34729 8813 : if (GET_CODE (x10) != SET)
34730 : return NULL;
34731 3601 : x11 = XEXP (x10, 1);
34732 3601 : if (GET_CODE (x11) != COMPARE)
34733 : return NULL;
34734 270 : x12 = XEXP (x11, 1);
34735 270 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34736 : return NULL;
34737 96 : x13 = XEXP (x10, 0);
34738 96 : if (GET_CODE (x13) != REG
34739 96 : || REGNO (x13) != 17)
34740 : return NULL;
34741 96 : x14 = XEXP (x11, 0);
34742 96 : if (!rtx_equal_p (x14, operands[0]))
34743 : return NULL;
34744 0 : switch (GET_MODE (operands[0]))
34745 : {
34746 0 : case E_QImode:
34747 0 : if (!register_operand (operands[0], E_QImode)
34748 0 : || !plusminuslogic_operator (operands[2], E_QImode)
34749 0 : || !memory_operand (operands[1], E_QImode)
34750 0 : || !insn_condition_3294 (operands, insn))
34751 : return NULL;
34752 0 : *pmatch_len_ = 2;
34753 0 : return gen_peephole2_334 (insn, operands);
34754 :
34755 0 : case E_HImode:
34756 0 : if (!register_operand (operands[0], E_HImode)
34757 0 : || !plusminuslogic_operator (operands[2], E_HImode)
34758 0 : || !memory_operand (operands[1], E_HImode)
34759 0 : || !insn_condition_3294 (operands, insn))
34760 : return NULL;
34761 0 : *pmatch_len_ = 2;
34762 0 : return gen_peephole2_335 (insn, operands);
34763 :
34764 0 : case E_SImode:
34765 0 : if (!register_operand (operands[0], E_SImode)
34766 0 : || !plusminuslogic_operator (operands[2], E_SImode)
34767 0 : || !memory_operand (operands[1], E_SImode)
34768 0 : || !insn_condition_3294 (operands, insn))
34769 : return NULL;
34770 0 : *pmatch_len_ = 2;
34771 0 : return gen_peephole2_336 (insn, operands);
34772 :
34773 0 : case E_DImode:
34774 0 : if (!register_operand (operands[0], E_DImode)
34775 0 : || !plusminuslogic_operator (operands[2], E_DImode)
34776 0 : || !memory_operand (operands[1], E_DImode)
34777 0 : || !insn_condition_3295 (operands, insn))
34778 : return NULL;
34779 0 : *pmatch_len_ = 2;
34780 0 : return gen_peephole2_337 (insn, operands);
34781 :
34782 : default:
34783 : return NULL;
34784 : }
34785 : }
34786 :
34787 : rtx_insn *
34788 63278782 : peephole2_insns (rtx x1 ATTRIBUTE_UNUSED,
34789 : rtx_insn *insn ATTRIBUTE_UNUSED,
34790 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34791 : {
34792 63278782 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34793 63278782 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34794 63278782 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34795 63278782 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
34796 63278782 : rtx x26, x27;
34797 63278782 : rtx_insn *res ATTRIBUTE_UNUSED;
34798 63278782 : recog_data.insn = NULL;
34799 63278782 : switch (GET_CODE (x1))
34800 : {
34801 50609197 : case SET:
34802 50609197 : x2 = XEXP (x1, 1);
34803 50609197 : switch (GET_CODE (x2))
34804 : {
34805 341990 : case UNSPEC:
34806 341990 : if (XVECLEN (x2, 0) == 1
34807 280170 : && XINT (x2, 1) == 38
34808 7 : && pattern80 (x1,
34809 : E_CCCmode) == 0
34810 341990 : && insn_condition_3088 (operands, insn))
34811 : {
34812 0 : *pmatch_len_ = 0;
34813 0 : res = gen_peephole2_1 (insn, operands);
34814 0 : if (res != NULL_RTX)
34815 : return res;
34816 : }
34817 : break;
34818 :
34819 5048636 : case COMPARE:
34820 5048636 : res = peephole2_1 (x1, insn, pmatch_len_);
34821 5048636 : if (res != NULL_RTX)
34822 : return res;
34823 : break;
34824 :
34825 91410 : case FLOAT_EXTEND:
34826 91410 : if (GET_MODE (x2) == E_DFmode)
34827 : {
34828 73528 : x3 = XEXP (x1, 0);
34829 73528 : operands[0] = x3;
34830 73528 : if (sse_reg_operand (operands[0], E_DFmode))
34831 : {
34832 72267 : x4 = XEXP (x2, 0);
34833 72267 : operands[1] = x4;
34834 72267 : if (memory_operand (operands[1], E_SFmode)
34835 72267 : && insn_condition_3327 (operands, insn))
34836 : {
34837 0 : *pmatch_len_ = 0;
34838 0 : res = gen_peephole2_60 (insn, operands);
34839 0 : if (res != NULL_RTX)
34840 : return res;
34841 : }
34842 : }
34843 : }
34844 : break;
34845 :
34846 10278 : case FLOAT_TRUNCATE:
34847 10278 : if (GET_MODE (x2) == E_SFmode)
34848 : {
34849 2673 : x3 = XEXP (x1, 0);
34850 2673 : operands[0] = x3;
34851 2673 : if (sse_reg_operand (operands[0], E_SFmode))
34852 : {
34853 2133 : x4 = XEXP (x2, 0);
34854 2133 : operands[1] = x4;
34855 2133 : if (memory_operand (operands[1], E_DFmode)
34856 2133 : && insn_condition_3327 (operands, insn))
34857 : {
34858 0 : *pmatch_len_ = 0;
34859 0 : res = gen_peephole2_61 (insn, operands);
34860 0 : if (res != NULL_RTX)
34861 : return res;
34862 : }
34863 : }
34864 : }
34865 : break;
34866 :
34867 27690 : case FIX:
34868 27690 : res = peephole2_2 (x1, insn, pmatch_len_);
34869 27690 : if (res != NULL_RTX)
34870 : return res;
34871 : break;
34872 :
34873 120347 : case NE:
34874 120347 : case EQ:
34875 120347 : res = peephole2_3 (x1, insn, pmatch_len_);
34876 120347 : if (res != NULL_RTX)
34877 : return res;
34878 : break;
34879 :
34880 32872471 : case CONST_INT:
34881 32872471 : case CONST_WIDE_INT:
34882 32872471 : case CONST_POLY_INT:
34883 32872471 : case CONST_FIXED:
34884 32872471 : case CONST_DOUBLE:
34885 32872471 : case CONST_VECTOR:
34886 32872471 : case CONST:
34887 32872471 : case REG:
34888 32872471 : case SUBREG:
34889 32872471 : case MEM:
34890 32872471 : case LABEL_REF:
34891 32872471 : case SYMBOL_REF:
34892 32872471 : case HIGH:
34893 32872471 : res = peephole2_9 (x1, insn, pmatch_len_);
34894 32872471 : if (res != NULL_RTX)
34895 : return res;
34896 : break;
34897 :
34898 185095 : case VEC_SELECT:
34899 185095 : res = peephole2_10 (x1, insn, pmatch_len_);
34900 185095 : if (res != NULL_RTX)
34901 : return res;
34902 : break;
34903 :
34904 : default:
34905 : break;
34906 : }
34907 50552368 : x3 = XEXP (x1, 0);
34908 50552368 : switch (GET_MODE (x3))
34909 : {
34910 10403506 : case E_SImode:
34911 10403506 : res = peephole2_14 (x1, insn, pmatch_len_);
34912 10403506 : if (res != NULL_RTX)
34913 : return res;
34914 : break;
34915 :
34916 19178099 : case E_DImode:
34917 19178099 : res = peephole2_18 (x1, insn, pmatch_len_);
34918 19178099 : if (res != NULL_RTX)
34919 : return res;
34920 : break;
34921 :
34922 : default:
34923 : break;
34924 : }
34925 50508685 : if (peep2_current_count >= 2)
34926 : {
34927 40039522 : res = peephole2_22 (x1, insn, pmatch_len_);
34928 40039522 : if (res != NULL_RTX)
34929 : return res;
34930 : }
34931 50445313 : operands[0] = x3;
34932 50445313 : res = peephole2_27 (x1, insn, pmatch_len_);
34933 50445313 : if (res != NULL_RTX)
34934 : return res;
34935 50419985 : switch (GET_CODE (x2))
34936 : {
34937 317806 : case ZERO_EXTEND:
34938 317806 : res = peephole2_28 (x1, insn, pmatch_len_);
34939 317806 : if (res != NULL_RTX)
34940 : return res;
34941 : break;
34942 :
34943 5121072 : case IF_THEN_ELSE:
34944 5121072 : res = peephole2_29 (x1, insn, pmatch_len_);
34945 5121072 : if (res != NULL_RTX)
34946 : return res;
34947 : break;
34948 :
34949 10011208 : case CONST_INT:
34950 10011208 : case CONST_WIDE_INT:
34951 10011208 : case CONST_POLY_INT:
34952 10011208 : case CONST_FIXED:
34953 10011208 : case CONST_DOUBLE:
34954 10011208 : case CONST_VECTOR:
34955 10011208 : case CONST:
34956 10011208 : case LABEL_REF:
34957 10011208 : case SYMBOL_REF:
34958 10011208 : case HIGH:
34959 10011208 : if (x2 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
34960 : {
34961 2155579 : res = peephole2_31 (x1, insn, pmatch_len_);
34962 2155579 : if (res != NULL_RTX)
34963 : return res;
34964 : }
34965 9959070 : operands[1] = x2;
34966 9959070 : if (immediate_operand (operands[1], E_SImode))
34967 : {
34968 7361598 : operands[0] = x3;
34969 7361598 : if (memory_operand (operands[0], E_SImode)
34970 7361598 : && insn_condition_3328 (operands, insn))
34971 : {
34972 0 : *pmatch_len_ = 0;
34973 0 : res = gen_peephole2_286 (insn, operands);
34974 0 : if (res != NULL_RTX)
34975 : return res;
34976 : }
34977 : }
34978 : break;
34979 :
34980 : default:
34981 : break;
34982 : }
34983 50367845 : if (GET_CODE (x3) == REG)
34984 : {
34985 32129111 : res = peephole2_33 (x1, insn, pmatch_len_);
34986 32129111 : if (res != NULL_RTX)
34987 : return res;
34988 : }
34989 48999331 : if (peep2_current_count >= 2)
34990 : {
34991 38688676 : res = peephole2_35 (x1, insn, pmatch_len_);
34992 38688676 : if (res != NULL_RTX)
34993 : return res;
34994 : }
34995 48999285 : operands[0] = x3;
34996 48999285 : return peephole2_37 (x1, insn, pmatch_len_);
34997 :
34998 8104244 : case PARALLEL:
34999 8104244 : switch (XVECLEN (x1, 0))
35000 : {
35001 6819761 : case 2:
35002 6819761 : return peephole2_51 (x1, insn, pmatch_len_);
35003 :
35004 1715 : case 6:
35005 1715 : if (peep2_current_count < 2
35006 : || peep2_current_count < 3
35007 1715 : || peep2_current_count < 4
35008 1664 : || pattern36 (x1) != 0
35009 1715 : || !register_operand (operands[4], E_VOIDmode))
35010 : return NULL;
35011 0 : x5 = XVECEXP (x1, 0, 0);
35012 0 : x6 = XEXP (x5, 1);
35013 0 : x7 = XEXP (x6, 1);
35014 0 : x8 = XEXP (x7, 0);
35015 0 : operands[5] = x8;
35016 0 : if (!register_operand (operands[5], E_VOIDmode))
35017 : return NULL;
35018 0 : x9 = XVECEXP (x1, 0, 1);
35019 0 : x10 = XEXP (x9, 0);
35020 0 : operands[6] = x10;
35021 0 : if (!register_operand (operands[6], E_VOIDmode))
35022 : return NULL;
35023 0 : x11 = XVECEXP (x1, 0, 2);
35024 0 : x12 = XEXP (x11, 0);
35025 0 : operands[3] = x12;
35026 0 : if (!immediate_operand (operands[3], E_SImode))
35027 : return NULL;
35028 0 : x13 = XVECEXP (x1, 0, 3);
35029 0 : x14 = XEXP (x13, 0);
35030 0 : operands[0] = x14;
35031 0 : if (!register_operand (operands[0], E_VOIDmode))
35032 : return NULL;
35033 0 : x15 = XVECEXP (x1, 0, 4);
35034 0 : x16 = XEXP (x15, 0);
35035 0 : operands[1] = x16;
35036 0 : if (!register_operand (operands[1], E_VOIDmode))
35037 : return NULL;
35038 0 : x17 = XVECEXP (x1, 0, 5);
35039 0 : x18 = XEXP (x17, 0);
35040 0 : operands[2] = x18;
35041 0 : if (!register_operand (operands[2], E_VOIDmode))
35042 : return NULL;
35043 0 : x19 = PATTERN (peep2_next_insn (1));
35044 0 : if (pattern1929 (x19) != 0
35045 0 : || !insn_condition_3329 (operands, insn))
35046 : return NULL;
35047 0 : *pmatch_len_ = 3;
35048 0 : return gen_peephole2_220 (insn, operands);
35049 :
35050 38378 : case 5:
35051 38378 : if (peep2_current_count < 2
35052 : || peep2_current_count < 3
35053 38378 : || peep2_current_count < 4)
35054 : return NULL;
35055 17855 : x5 = XVECEXP (x1, 0, 0);
35056 17855 : if (GET_CODE (x5) != SET)
35057 : return NULL;
35058 15055 : x6 = XEXP (x5, 1);
35059 15055 : if (GET_CODE (x6) != IF_THEN_ELSE
35060 218 : || pattern274 (x1) != 0
35061 15273 : || !register_operand (operands[6], E_VOIDmode))
35062 : return NULL;
35063 218 : x7 = XEXP (x6, 1);
35064 218 : x8 = XEXP (x7, 0);
35065 218 : x20 = XEXP (x8, 0);
35066 218 : operands[4] = x20;
35067 218 : if (!register_operand (operands[4], E_VOIDmode))
35068 : return NULL;
35069 218 : x21 = XEXP (x7, 1);
35070 218 : x22 = XEXP (x21, 0);
35071 218 : operands[5] = x22;
35072 218 : if (!register_operand (operands[5], E_VOIDmode))
35073 : return NULL;
35074 218 : x9 = XVECEXP (x1, 0, 1);
35075 218 : x10 = XEXP (x9, 0);
35076 218 : operands[3] = x10;
35077 218 : if (!immediate_operand (operands[3], E_SImode))
35078 : return NULL;
35079 218 : x11 = XVECEXP (x1, 0, 2);
35080 218 : x12 = XEXP (x11, 0);
35081 218 : operands[0] = x12;
35082 218 : if (!register_operand (operands[0], E_VOIDmode))
35083 : return NULL;
35084 218 : x13 = XVECEXP (x1, 0, 3);
35085 218 : x14 = XEXP (x13, 0);
35086 218 : operands[1] = x14;
35087 218 : if (!register_operand (operands[1], E_VOIDmode))
35088 : return NULL;
35089 218 : x15 = XVECEXP (x1, 0, 4);
35090 218 : x16 = XEXP (x15, 0);
35091 218 : operands[2] = x16;
35092 218 : if (!register_operand (operands[2], E_VOIDmode))
35093 : return NULL;
35094 218 : x19 = PATTERN (peep2_next_insn (1));
35095 218 : if (pattern1929 (x19) != 0
35096 218 : || !insn_condition_3329 (operands, insn))
35097 : return NULL;
35098 0 : *pmatch_len_ = 3;
35099 0 : return gen_peephole2_221 (insn, operands);
35100 :
35101 1153757 : case 3:
35102 1153757 : x5 = XVECEXP (x1, 0, 0);
35103 1153757 : if (GET_CODE (x5) != SET)
35104 : return NULL;
35105 1143735 : x11 = XVECEXP (x1, 0, 2);
35106 1143735 : if (GET_CODE (x11) != CLOBBER)
35107 : return NULL;
35108 1121953 : x6 = XEXP (x5, 1);
35109 1121953 : switch (GET_CODE (x6))
35110 : {
35111 286 : case UNSPEC:
35112 286 : if (peep2_current_count < 2
35113 272 : || XVECLEN (x6, 0) != 1
35114 196 : || XINT (x6, 1) != 88)
35115 : return NULL;
35116 196 : x9 = XVECEXP (x1, 0, 1);
35117 196 : if (GET_CODE (x9) != SET)
35118 : return NULL;
35119 196 : x23 = XEXP (x9, 1);
35120 196 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
35121 : return NULL;
35122 196 : x12 = XEXP (x11, 0);
35123 196 : if (GET_CODE (x12) != REG
35124 196 : || REGNO (x12) != 17
35125 392 : || GET_MODE (x12) != E_CCmode)
35126 : return NULL;
35127 196 : x24 = XEXP (x5, 0);
35128 196 : operands[0] = x24;
35129 196 : x25 = XVECEXP (x6, 0, 0);
35130 196 : operands[1] = x25;
35131 196 : x10 = XEXP (x9, 0);
35132 196 : operands[2] = x10;
35133 196 : if (!general_reg_operand (operands[2], E_VOIDmode))
35134 : return NULL;
35135 196 : x19 = PATTERN (peep2_next_insn (1));
35136 196 : if (GET_CODE (x19) != SET)
35137 : return NULL;
35138 168 : x26 = XEXP (x19, 0);
35139 168 : operands[3] = x26;
35140 168 : switch (GET_MODE (operands[0]))
35141 : {
35142 1 : case E_SImode:
35143 1 : if (!memory_operand (operands[0], E_SImode)
35144 1 : || GET_MODE (x6) != E_SImode
35145 2 : || !memory_operand (operands[1], E_SImode))
35146 : return NULL;
35147 1 : x27 = XEXP (x19, 1);
35148 1 : operands[4] = x27;
35149 1 : if (const0_operand (operands[4], E_VOIDmode)
35150 0 : && general_reg_operand (operands[3], E_VOIDmode)
35151 1 : && insn_condition_3330 (operands, insn))
35152 : {
35153 0 : *pmatch_len_ = 1;
35154 0 : res = gen_peephole2_258 (insn, operands);
35155 0 : if (res != NULL_RTX)
35156 : return res;
35157 : }
35158 1 : if (general_gr_operand (operands[4], E_SImode)
35159 0 : && general_reg_operand (operands[3], E_SImode)
35160 1 : && insn_condition_3331 (operands, insn))
35161 : {
35162 0 : *pmatch_len_ = 1;
35163 0 : res = gen_peephole2_260 (insn, operands);
35164 0 : if (res != NULL_RTX)
35165 : return res;
35166 : }
35167 1 : if (general_gr_operand (operands[4], E_DImode)
35168 0 : && general_reg_operand (operands[3], E_DImode)
35169 1 : && insn_condition_3332 (operands, insn))
35170 : {
35171 0 : *pmatch_len_ = 1;
35172 0 : res = gen_peephole2_261 (insn, operands);
35173 0 : if (res != NULL_RTX)
35174 : return res;
35175 : }
35176 1 : if (address_no_seg_operand (operands[4], E_SImode)
35177 1 : && general_reg_operand (operands[3], E_SImode)
35178 2 : && insn_condition_3331 (operands, insn))
35179 : {
35180 1 : *pmatch_len_ = 1;
35181 1 : res = gen_peephole2_268 (insn, operands);
35182 1 : if (res != NULL_RTX)
35183 : return res;
35184 : }
35185 0 : if (address_no_seg_operand (operands[4], E_DImode)
35186 0 : && general_reg_operand (operands[3], E_DImode)
35187 0 : && insn_condition_3332 (operands, insn))
35188 : {
35189 0 : *pmatch_len_ = 1;
35190 0 : res = gen_peephole2_269 (insn, operands);
35191 0 : if (res != NULL_RTX)
35192 : return res;
35193 : }
35194 0 : if (!general_reg_operand (operands[3], E_DImode))
35195 : return NULL;
35196 0 : switch (pattern1849 (x27))
35197 : {
35198 0 : case 0:
35199 0 : if (!insn_condition_3333 (operands, insn))
35200 : return NULL;
35201 0 : *pmatch_len_ = 1;
35202 0 : return gen_peephole2_272 (insn, operands);
35203 :
35204 0 : case 1:
35205 0 : if (!insn_condition_3333 (operands, insn))
35206 : return NULL;
35207 0 : *pmatch_len_ = 1;
35208 0 : return gen_peephole2_273 (insn, operands);
35209 :
35210 : default:
35211 : return NULL;
35212 : }
35213 :
35214 167 : case E_DImode:
35215 167 : if (!memory_operand (operands[0], E_DImode)
35216 167 : || GET_MODE (x6) != E_DImode
35217 334 : || !memory_operand (operands[1], E_DImode))
35218 : return NULL;
35219 167 : x27 = XEXP (x19, 1);
35220 167 : operands[4] = x27;
35221 167 : if (const0_operand (operands[4], E_VOIDmode)
35222 24 : && general_reg_operand (operands[3], E_VOIDmode)
35223 186 : && insn_condition_3334 (operands, insn))
35224 : {
35225 19 : *pmatch_len_ = 1;
35226 19 : res = gen_peephole2_259 (insn, operands);
35227 19 : if (res != NULL_RTX)
35228 : return res;
35229 : }
35230 148 : if (general_gr_operand (operands[4], E_SImode)
35231 22 : && general_reg_operand (operands[3], E_SImode)
35232 148 : && insn_condition_3335 (operands, insn))
35233 : {
35234 0 : *pmatch_len_ = 1;
35235 0 : res = gen_peephole2_262 (insn, operands);
35236 0 : if (res != NULL_RTX)
35237 : return res;
35238 : }
35239 148 : if (general_gr_operand (operands[4], E_DImode)
35240 51 : && general_reg_operand (operands[3], E_DImode)
35241 196 : && insn_condition_3336 (operands, insn))
35242 : {
35243 48 : *pmatch_len_ = 1;
35244 48 : res = gen_peephole2_263 (insn, operands);
35245 48 : if (res != NULL_RTX)
35246 : return res;
35247 : }
35248 100 : if (address_no_seg_operand (operands[4], E_SImode)
35249 2 : && general_reg_operand (operands[3], E_SImode)
35250 100 : && insn_condition_3335 (operands, insn))
35251 : {
35252 0 : *pmatch_len_ = 1;
35253 0 : res = gen_peephole2_270 (insn, operands);
35254 0 : if (res != NULL_RTX)
35255 : return res;
35256 : }
35257 100 : if (address_no_seg_operand (operands[4], E_DImode)
35258 66 : && general_reg_operand (operands[3], E_DImode)
35259 163 : && insn_condition_3336 (operands, insn))
35260 : {
35261 62 : *pmatch_len_ = 1;
35262 62 : res = gen_peephole2_271 (insn, operands);
35263 62 : if (res != NULL_RTX)
35264 : return res;
35265 : }
35266 38 : if (!general_reg_operand (operands[3], E_DImode))
35267 : return NULL;
35268 17 : switch (pattern1849 (x27))
35269 : {
35270 16 : case 0:
35271 16 : if (!insn_condition_3337 (operands, insn))
35272 : return NULL;
35273 3 : *pmatch_len_ = 1;
35274 3 : return gen_peephole2_274 (insn, operands);
35275 :
35276 0 : case 1:
35277 0 : if (!insn_condition_3337 (operands, insn))
35278 : return NULL;
35279 0 : *pmatch_len_ = 1;
35280 0 : return gen_peephole2_275 (insn, operands);
35281 :
35282 : default:
35283 : return NULL;
35284 : }
35285 :
35286 : default:
35287 : return NULL;
35288 : }
35289 :
35290 1083173 : case PLUS:
35291 1083173 : if (pattern455 (x5) != 0
35292 1083173 : || pattern876 (x1) != 0)
35293 : return NULL;
35294 1046719 : switch (pattern1491 (x5))
35295 : {
35296 201897 : case 0:
35297 201897 : if (insn_condition_3297 (operands, insn))
35298 : {
35299 33 : *pmatch_len_ = 0;
35300 33 : res = gen_peephole2_382 (insn, operands);
35301 33 : if (res != NULL_RTX)
35302 : return res;
35303 : }
35304 201864 : if (insn_condition_3298 (operands, insn))
35305 : {
35306 0 : *pmatch_len_ = 0;
35307 0 : res = gen_peephole2_383 (insn, operands);
35308 0 : if (res != NULL_RTX)
35309 : return res;
35310 : }
35311 201864 : if (insn_condition_3299 (operands, insn))
35312 : {
35313 1327 : *pmatch_len_ = 0;
35314 1327 : res = gen_peephole2_386 (insn, operands);
35315 1327 : if (res != NULL_RTX)
35316 : return res;
35317 : }
35318 200537 : if (insn_condition_3300 (operands, insn))
35319 : {
35320 0 : *pmatch_len_ = 0;
35321 0 : res = gen_peephole2_387 (insn, operands);
35322 0 : if (res != NULL_RTX)
35323 : return res;
35324 : }
35325 200537 : if (insn_condition_3338 (operands, insn))
35326 : {
35327 2 : *pmatch_len_ = 0;
35328 2 : res = gen_peephole2_398 (insn, operands);
35329 2 : if (res != NULL_RTX)
35330 : return res;
35331 : }
35332 200535 : if (insn_condition_3339 (operands, insn))
35333 : {
35334 0 : *pmatch_len_ = 0;
35335 0 : res = gen_peephole2_399 (insn, operands);
35336 0 : if (res != NULL_RTX)
35337 : return res;
35338 : }
35339 200535 : if (insn_condition_3340 (operands, insn))
35340 : {
35341 2 : *pmatch_len_ = 0;
35342 2 : res = gen_peephole2_402 (insn, operands);
35343 2 : if (res != NULL_RTX)
35344 : return res;
35345 : }
35346 200533 : if (insn_condition_3341 (operands, insn))
35347 : {
35348 0 : *pmatch_len_ = 0;
35349 0 : res = gen_peephole2_403 (insn, operands);
35350 0 : if (res != NULL_RTX)
35351 : return res;
35352 : }
35353 200533 : if (insn_condition_3305 (operands, insn))
35354 : {
35355 0 : *pmatch_len_ = 0;
35356 0 : res = gen_peephole2_406 (insn, operands);
35357 0 : if (res != NULL_RTX)
35358 : return res;
35359 : }
35360 200533 : if (!insn_condition_3306 (operands, insn))
35361 : return NULL;
35362 0 : *pmatch_len_ = 0;
35363 0 : return gen_peephole2_407 (insn, operands);
35364 :
35365 844696 : case 1:
35366 844696 : if (insn_condition_3307 (operands, insn))
35367 : {
35368 0 : *pmatch_len_ = 0;
35369 0 : res = gen_peephole2_384 (insn, operands);
35370 0 : if (res != NULL_RTX)
35371 : return res;
35372 : }
35373 844696 : if (insn_condition_3308 (operands, insn))
35374 : {
35375 33233 : *pmatch_len_ = 0;
35376 33233 : res = gen_peephole2_385 (insn, operands);
35377 33233 : if (res != NULL_RTX)
35378 : return res;
35379 : }
35380 811471 : if (insn_condition_3309 (operands, insn))
35381 : {
35382 0 : *pmatch_len_ = 0;
35383 0 : res = gen_peephole2_388 (insn, operands);
35384 0 : if (res != NULL_RTX)
35385 : return res;
35386 : }
35387 811471 : if (insn_condition_3310 (operands, insn))
35388 : {
35389 815 : *pmatch_len_ = 0;
35390 815 : res = gen_peephole2_389 (insn, operands);
35391 815 : if (res != NULL_RTX)
35392 : return res;
35393 : }
35394 810656 : if (insn_condition_3342 (operands, insn))
35395 : {
35396 0 : *pmatch_len_ = 0;
35397 0 : res = gen_peephole2_400 (insn, operands);
35398 0 : if (res != NULL_RTX)
35399 : return res;
35400 : }
35401 810656 : if (insn_condition_3343 (operands, insn))
35402 : {
35403 13528 : *pmatch_len_ = 0;
35404 13528 : res = gen_peephole2_401 (insn, operands);
35405 13528 : if (res != NULL_RTX)
35406 : return res;
35407 : }
35408 797130 : if (insn_condition_3344 (operands, insn))
35409 : {
35410 0 : *pmatch_len_ = 0;
35411 0 : res = gen_peephole2_404 (insn, operands);
35412 0 : if (res != NULL_RTX)
35413 : return res;
35414 : }
35415 797130 : if (insn_condition_3345 (operands, insn))
35416 : {
35417 697 : *pmatch_len_ = 0;
35418 697 : res = gen_peephole2_405 (insn, operands);
35419 697 : if (res != NULL_RTX)
35420 : return res;
35421 : }
35422 796433 : if (insn_condition_3315 (operands, insn))
35423 : {
35424 0 : *pmatch_len_ = 0;
35425 0 : res = gen_peephole2_408 (insn, operands);
35426 0 : if (res != NULL_RTX)
35427 : return res;
35428 : }
35429 796433 : if (!insn_condition_3316 (operands, insn))
35430 : return NULL;
35431 0 : *pmatch_len_ = 0;
35432 0 : return gen_peephole2_409 (insn, operands);
35433 :
35434 : default:
35435 : return NULL;
35436 : }
35437 :
35438 : default:
35439 : return NULL;
35440 : }
35441 :
35442 : default:
35443 : return NULL;
35444 : }
35445 :
35446 : default:
35447 : return NULL;
35448 : }
35449 : }
|