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 38101 : pattern0 (rtx x1)
57 : {
58 38101 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
59 38101 : int res ATTRIBUTE_UNUSED;
60 38101 : switch (GET_MODE (operands[0]))
61 : {
62 3885 : case E_QImode:
63 3885 : if (!nonimmediate_operand (operands[0], E_QImode)
64 3371 : || GET_MODE (x1) != E_QImode
65 7256 : || !nonimmediate_operand (operands[1], E_QImode))
66 850 : return -1;
67 : return 0;
68 :
69 2720 : case E_HImode:
70 2720 : if (!nonimmediate_operand (operands[0], E_HImode)
71 2720 : || GET_MODE (x1) != E_HImode
72 5440 : || !nonimmediate_operand (operands[1], E_HImode))
73 59 : return -1;
74 : return 1;
75 :
76 : default:
77 : return -1;
78 : }
79 : }
80 :
81 : int
82 327 : pattern10 (rtx x1)
83 : {
84 327 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
85 327 : int res ATTRIBUTE_UNUSED;
86 327 : if (!memory_operand (operands[0], E_V8QImode)
87 327 : || GET_MODE (x1) != E_V8QImode)
88 : return -1;
89 49 : switch (GET_MODE (operands[1]))
90 : {
91 45 : case E_V8HImode:
92 45 : if (!register_operand (operands[1], E_V8HImode))
93 0 : return -1;
94 : return 0;
95 :
96 2 : case E_V8SImode:
97 2 : if (!register_operand (operands[1], E_V8SImode))
98 0 : return -1;
99 : return 1;
100 :
101 2 : case E_V8DImode:
102 2 : if (!register_operand (operands[1], E_V8DImode))
103 0 : return -1;
104 : return 2;
105 :
106 : default:
107 : return -1;
108 : }
109 : }
110 :
111 : int
112 69738 : pattern14 (rtx x1)
113 : {
114 69738 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
115 69738 : int res ATTRIBUTE_UNUSED;
116 69738 : switch (GET_MODE (operands[0]))
117 : {
118 39805 : case E_SImode:
119 39805 : if (!nonimmediate_operand (operands[0], E_SImode)
120 39762 : || GET_MODE (x1) != E_SImode
121 79567 : || !nonimmediate_operand (operands[1], E_SImode))
122 12788 : return -1;
123 : return 0;
124 :
125 24552 : case E_DImode:
126 24552 : if (!nonimmediate_operand (operands[0], E_DImode)
127 24530 : || GET_MODE (x1) != E_DImode
128 49082 : || !nonimmediate_operand (operands[1], E_DImode))
129 7160 : return -1;
130 : return 1;
131 :
132 : default:
133 : return -1;
134 : }
135 : }
136 :
137 : int
138 16752 : pattern17 (rtx x1, int *pnum_clobbers)
139 : {
140 16752 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
141 16752 : rtx x2;
142 16752 : int res ATTRIBUTE_UNUSED;
143 16752 : if (pnum_clobbers == NULL)
144 : return -1;
145 16752 : x2 = XEXP (x1, 1);
146 16752 : if (GET_MODE (x2) != E_QImode)
147 : return -1;
148 16722 : return pattern16 (x1); /* [-1, 1] */
149 : }
150 :
151 : int
152 252321 : pattern22 (rtx x1, int *pnum_clobbers)
153 : {
154 252321 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
155 252321 : rtx x2, x3, x4, x5, x6, x7;
156 252321 : int res ATTRIBUTE_UNUSED;
157 252321 : if (pnum_clobbers == NULL)
158 : return -1;
159 249544 : x2 = XEXP (x1, 0);
160 249544 : operands[0] = x2;
161 249544 : x3 = XEXP (x1, 1);
162 249544 : x4 = XEXP (x3, 0);
163 249544 : switch (GET_CODE (x4))
164 : {
165 106299 : case REG:
166 106299 : case SUBREG:
167 106299 : return pattern19 (x3); /* [-1, 1] */
168 :
169 24040 : case PLUS:
170 24040 : x5 = XEXP (x4, 0);
171 24040 : operands[1] = x5;
172 24040 : x6 = XEXP (x4, 1);
173 24040 : operands[2] = x6;
174 24040 : switch (GET_MODE (operands[0]))
175 : {
176 4822 : case E_SImode:
177 4822 : if (!register_operand (operands[0], E_SImode)
178 4822 : || pattern21 (x3,
179 : E_SImode) != 0)
180 85 : return -1;
181 : return 2;
182 :
183 19174 : case E_DImode:
184 19174 : if (!register_operand (operands[0], E_DImode)
185 19174 : || pattern21 (x3,
186 : E_DImode) != 0)
187 3611 : return -1;
188 : return 3;
189 :
190 : default:
191 : return -1;
192 : }
193 :
194 9325 : case MINUS:
195 9325 : x5 = XEXP (x4, 0);
196 9325 : operands[1] = x5;
197 9325 : x6 = XEXP (x4, 1);
198 9325 : operands[2] = x6;
199 9325 : x7 = XEXP (x3, 1);
200 9325 : if (!rtx_equal_p (x7, operands[1]))
201 : return -1;
202 0 : switch (GET_MODE (operands[0]))
203 : {
204 0 : case E_SImode:
205 0 : if (!register_operand (operands[0], E_SImode)
206 0 : || pattern21 (x3,
207 : E_SImode) != 0)
208 0 : return -1;
209 : return 4;
210 :
211 0 : case E_DImode:
212 0 : if (!register_operand (operands[0], E_DImode)
213 0 : || pattern21 (x3,
214 : E_DImode) != 0)
215 0 : return -1;
216 : return 5;
217 :
218 : default:
219 : return -1;
220 : }
221 :
222 : default:
223 : return -1;
224 : }
225 : }
226 :
227 : int
228 20376 : pattern33 (rtx x1)
229 : {
230 20376 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
231 20376 : rtx x2, x3, x4, x5;
232 20376 : int res ATTRIBUTE_UNUSED;
233 20376 : x2 = XEXP (x1, 0);
234 20376 : operands[0] = x2;
235 20376 : x3 = XEXP (x1, 1);
236 20376 : x4 = XEXP (x3, 0);
237 20376 : operands[1] = x4;
238 20376 : x5 = XEXP (x3, 1);
239 20376 : operands[2] = x5;
240 20376 : switch (GET_CODE (operands[2]))
241 : {
242 14866 : case CONST_INT:
243 14866 : switch (GET_MODE (operands[0]))
244 : {
245 248 : case E_V1TImode:
246 248 : return pattern31 (x3); /* [-1, 0] */
247 :
248 142 : case E_V16SImode:
249 142 : if (pattern32 (x3,
250 : E_V16SImode) != 0)
251 16 : return -1;
252 : return 1;
253 :
254 186 : case E_V8SImode:
255 186 : if (pattern32 (x3,
256 : E_V8SImode) != 0)
257 18 : return -1;
258 : return 2;
259 :
260 712 : case E_V4SImode:
261 712 : if (!register_operand (operands[0], E_V4SImode)
262 632 : || GET_MODE (x3) != E_V4SImode
263 1344 : || !nonimmediate_operand (operands[1], E_V4SImode))
264 105 : return -1;
265 : return 3;
266 :
267 132 : case E_V8DImode:
268 132 : if (pattern32 (x3,
269 : E_V8DImode) != 0)
270 14 : return -1;
271 : return 4;
272 :
273 132 : case E_V4DImode:
274 132 : if (pattern32 (x3,
275 : E_V4DImode) != 0)
276 14 : return -1;
277 : return 5;
278 :
279 378 : case E_V2DImode:
280 378 : if (!register_operand (operands[0], E_V2DImode)
281 343 : || GET_MODE (x3) != E_V2DImode
282 721 : || !nonimmediate_operand (operands[1], E_V2DImode))
283 35 : return -1;
284 : return 6;
285 :
286 532 : case E_V16QImode:
287 532 : if (!register_operand (operands[0], E_V16QImode)
288 439 : || GET_MODE (x3) != E_V16QImode
289 439 : || !nonimmediate_operand (operands[1], E_V16QImode)
290 971 : || !const_0_to_7_operand (operands[2], E_SImode))
291 93 : return -1;
292 : return 7;
293 :
294 188 : case E_V8HImode:
295 188 : if (!register_operand (operands[0], E_V8HImode)
296 157 : || GET_MODE (x3) != E_V8HImode
297 157 : || !nonimmediate_operand (operands[1], E_V8HImode)
298 345 : || !const_0_to_15_operand (operands[2], E_SImode))
299 31 : return -1;
300 : return 8;
301 :
302 : default:
303 : return -1;
304 : }
305 :
306 5321 : case REG:
307 5321 : case SUBREG:
308 5321 : case MEM:
309 5321 : switch (GET_MODE (operands[0]))
310 : {
311 154 : case E_V16SImode:
312 154 : if (pattern12 (x3,
313 : E_V16SImode) != 0)
314 26 : return -1;
315 : return 9;
316 :
317 154 : case E_V8SImode:
318 154 : if (pattern12 (x3,
319 : E_V8SImode) != 0)
320 26 : return -1;
321 : return 10;
322 :
323 137 : case E_V4SImode:
324 137 : if (pattern12 (x3,
325 : E_V4SImode) != 0)
326 17 : return -1;
327 : return 11;
328 :
329 148 : case E_V8DImode:
330 148 : if (pattern12 (x3,
331 : E_V8DImode) != 0)
332 26 : return -1;
333 : return 12;
334 :
335 148 : case E_V4DImode:
336 148 : if (pattern12 (x3,
337 : E_V4DImode) != 0)
338 26 : return -1;
339 : return 13;
340 :
341 120 : case E_V2DImode:
342 120 : if (pattern12 (x3,
343 : E_V2DImode) != 0)
344 12 : return -1;
345 : return 14;
346 :
347 : default:
348 : return -1;
349 : }
350 :
351 : default:
352 : return -1;
353 : }
354 : }
355 :
356 : int
357 81220 : pattern40 (rtx x1)
358 : {
359 81220 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
360 81220 : rtx x2, x3, x4, x5, x6;
361 81220 : int res ATTRIBUTE_UNUSED;
362 81220 : x2 = XEXP (x1, 1);
363 81220 : x3 = XEXP (x2, 0);
364 81220 : if (GET_MODE (x3) != E_TImode)
365 : return -1;
366 10078 : x4 = XEXP (x1, 0);
367 10078 : operands[0] = x4;
368 10078 : if (!nonimmediate_operand (operands[0], E_TImode)
369 10078 : || GET_MODE (x2) != E_TImode)
370 : return -1;
371 10078 : x5 = XEXP (x3, 0);
372 10078 : operands[1] = x5;
373 10078 : if (!nonimmediate_operand (operands[1], E_DImode))
374 : return -1;
375 7168 : x6 = XEXP (x2, 1);
376 7168 : switch (GET_CODE (x6))
377 : {
378 0 : case ASHIFT:
379 0 : if (GET_MODE (x6) != E_TImode)
380 : return -1;
381 0 : return pattern39 (x6,
382 : E_TImode,
383 0 : E_DImode); /* [-1, 2] */
384 :
385 3857 : case CONST_INT:
386 3857 : case CONST_WIDE_INT:
387 3857 : operands[2] = x6;
388 3857 : if (!const_scalar_int_operand (operands[2], E_TImode))
389 0 : return -1;
390 : return 3;
391 :
392 : default:
393 : return -1;
394 : }
395 : }
396 :
397 : int
398 1797738 : pattern43 (rtx x1)
399 : {
400 1797738 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
401 1797738 : rtx x2, x3, x4, x5, x6;
402 1797738 : int res ATTRIBUTE_UNUSED;
403 1797738 : x2 = XEXP (x1, 0);
404 1797738 : operands[0] = x2;
405 1797738 : x3 = XEXP (x1, 1);
406 1797738 : x4 = XEXP (x3, 0);
407 1797738 : x5 = XEXP (x4, 1);
408 1797738 : operands[2] = x5;
409 1797738 : x6 = XEXP (x4, 0);
410 1797738 : switch (GET_CODE (x6))
411 : {
412 1365494 : case REG:
413 1365494 : case SUBREG:
414 1365494 : operands[1] = x6;
415 1365494 : return 0;
416 :
417 49924 : case SIGN_EXTEND:
418 49924 : res = pattern42 (x3);
419 49924 : if (res >= 0)
420 1 : return res + 1; /* [1, 2] */
421 : return -1;
422 :
423 11991 : case ZERO_EXTEND:
424 11991 : res = pattern42 (x3);
425 11991 : if (res >= 0)
426 824 : return res + 3; /* [3, 4] */
427 : return -1;
428 :
429 : default:
430 : return -1;
431 : }
432 : }
433 :
434 : int
435 11533 : pattern49 (rtx x1)
436 : {
437 11533 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
438 11533 : rtx x2, x3;
439 11533 : int res ATTRIBUTE_UNUSED;
440 11533 : x2 = XEXP (x1, 0);
441 11533 : operands[1] = x2;
442 11533 : x3 = XEXP (x1, 1);
443 11533 : operands[2] = x3;
444 11533 : switch (GET_MODE (operands[0]))
445 : {
446 1484 : case E_V8QImode:
447 1484 : return pattern6 (x1,
448 1484 : E_V8QImode); /* [-1, 0] */
449 :
450 1078 : case E_V4HImode:
451 1078 : if (pattern6 (x1,
452 : E_V4HImode) != 0)
453 166 : return -1;
454 : return 1;
455 :
456 181 : case E_V4QImode:
457 181 : if (pattern5 (x1,
458 : E_V4QImode) != 0)
459 11 : return -1;
460 : return 2;
461 :
462 220 : case E_V2QImode:
463 220 : if (pattern5 (x1,
464 : E_V2QImode) != 0)
465 0 : return -1;
466 : return 3;
467 :
468 236 : case E_V2HImode:
469 236 : if (pattern5 (x1,
470 : E_V2HImode) != 0)
471 11 : return -1;
472 : return 4;
473 :
474 : default:
475 : return -1;
476 : }
477 : }
478 :
479 : int
480 5429 : pattern55 (rtx x1)
481 : {
482 5429 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
483 5429 : rtx x2;
484 5429 : int res ATTRIBUTE_UNUSED;
485 5429 : x2 = XEXP (x1, 0);
486 5429 : operands[1] = x2;
487 5429 : switch (GET_MODE (operands[0]))
488 : {
489 2495 : case E_V16QImode:
490 2495 : if (!nonimmediate_operand (operands[0], E_V16QImode)
491 2495 : || GET_MODE (x1) != E_V16QImode)
492 : return -1;
493 2495 : switch (GET_MODE (operands[1]))
494 : {
495 236 : case E_V16SImode:
496 236 : if (!register_operand (operands[1], E_V16SImode))
497 4 : return -1;
498 : return 0;
499 :
500 2259 : case E_V16HImode:
501 2259 : if (!register_operand (operands[1], E_V16HImode))
502 4 : return -1;
503 : return 1;
504 :
505 : default:
506 : return -1;
507 : }
508 :
509 217 : case E_V16HImode:
510 217 : if (!nonimmediate_operand (operands[0], E_V16HImode)
511 217 : || GET_MODE (x1) != E_V16HImode
512 434 : || !register_operand (operands[1], E_V16SImode))
513 2 : return -1;
514 : return 2;
515 :
516 218 : case E_V8SImode:
517 218 : if (!nonimmediate_operand (operands[0], E_V8SImode)
518 218 : || GET_MODE (x1) != E_V8SImode
519 436 : || !register_operand (operands[1], E_V8DImode))
520 6 : return -1;
521 : return 3;
522 :
523 423 : case E_V8HImode:
524 423 : if (!nonimmediate_operand (operands[0], E_V8HImode)
525 423 : || GET_MODE (x1) != E_V8HImode)
526 : return -1;
527 423 : switch (GET_MODE (operands[1]))
528 : {
529 208 : case E_V8DImode:
530 208 : if (!register_operand (operands[1], E_V8DImode))
531 6 : return -1;
532 : return 4;
533 :
534 215 : case E_V8SImode:
535 215 : if (!register_operand (operands[1], E_V8SImode))
536 2 : return -1;
537 : return 5;
538 :
539 : default:
540 : return -1;
541 : }
542 :
543 1275 : case E_V32QImode:
544 1275 : if (!nonimmediate_operand (operands[0], E_V32QImode)
545 1275 : || GET_MODE (x1) != E_V32QImode
546 2550 : || !register_operand (operands[1], E_V32HImode))
547 2 : return -1;
548 : return 6;
549 :
550 209 : case E_V4SImode:
551 209 : if (!nonimmediate_operand (operands[0], E_V4SImode)
552 209 : || GET_MODE (x1) != E_V4SImode
553 418 : || !register_operand (operands[1], E_V4DImode))
554 6 : return -1;
555 : return 7;
556 :
557 : default:
558 : return -1;
559 : }
560 : }
561 :
562 : int
563 0 : pattern70 (rtx x1)
564 : {
565 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
566 0 : rtx x2, x3, x4;
567 0 : int res ATTRIBUTE_UNUSED;
568 0 : x2 = XEXP (x1, 1);
569 0 : x3 = XEXP (x2, 0);
570 0 : x4 = XEXP (x3, 0);
571 0 : operands[2] = x4;
572 0 : switch (GET_MODE (operands[0]))
573 : {
574 0 : case E_DImode:
575 0 : return pattern69 (x1,
576 : E_SImode,
577 0 : E_DImode); /* [-1, 0] */
578 :
579 0 : case E_TImode:
580 0 : if (pattern69 (x1,
581 : E_DImode,
582 : E_TImode) != 0)
583 0 : return -1;
584 : return 1;
585 :
586 : default:
587 : return -1;
588 : }
589 : }
590 :
591 : int
592 873650 : pattern74 (rtx x1)
593 : {
594 873650 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
595 873650 : rtx x2, x3, x4, x5, x6, x7;
596 873650 : int res ATTRIBUTE_UNUSED;
597 873650 : x2 = XEXP (x1, 0);
598 873650 : operands[0] = x2;
599 873650 : x3 = XEXP (x1, 1);
600 873650 : x4 = XEXP (x3, 0);
601 873650 : switch (GET_CODE (x4))
602 : {
603 256082 : case AND:
604 256082 : return pattern58 (x3); /* [-1, 2] */
605 :
606 178207 : case ASHIFT:
607 178207 : x5 = XEXP (x4, 1);
608 178207 : operands[2] = x5;
609 178207 : x6 = XEXP (x4, 0);
610 178207 : switch (GET_CODE (x6))
611 : {
612 44760 : case REG:
613 44760 : case SUBREG:
614 44760 : case MEM:
615 44760 : x7 = XEXP (x3, 1);
616 44760 : switch (GET_CODE (x7))
617 : {
618 3399 : case CONST_INT:
619 3399 : case CONST_WIDE_INT:
620 3399 : operands[3] = x7;
621 3399 : operands[1] = x6;
622 3399 : switch (GET_MODE (operands[0]))
623 : {
624 11 : case E_QImode:
625 11 : if (pattern59 (x3,
626 : E_QImode) != 0)
627 3 : return -1;
628 : return 3;
629 :
630 7 : case E_HImode:
631 7 : if (pattern59 (x3,
632 : E_HImode) != 0)
633 7 : return -1;
634 : return 4;
635 :
636 3022 : case E_SImode:
637 3022 : if (pattern59 (x3,
638 : E_SImode) != 0)
639 1544 : return -1;
640 : return 5;
641 :
642 352 : case E_DImode:
643 352 : if (GET_MODE (x3) != E_DImode
644 352 : || GET_MODE (x4) != E_DImode)
645 0 : return -1;
646 : return 6;
647 :
648 7 : case E_TImode:
649 7 : if (pattern60 (x3,
650 : E_TImode) != 0)
651 0 : return -1;
652 : return 7;
653 :
654 : default:
655 : return -1;
656 : }
657 :
658 24969 : case ZERO_EXTEND:
659 24969 : res = pattern62 (x3);
660 24969 : if (res >= 0)
661 3361 : return res + 8; /* [8, 9] */
662 : return -1;
663 :
664 2236 : case LSHIFTRT:
665 2236 : operands[4] = x6;
666 2236 : res = pattern64 (x3);
667 2236 : if (res >= 0)
668 117 : return res + 10; /* [10, 11] */
669 : return -1;
670 :
671 : default:
672 : return -1;
673 : }
674 :
675 171 : case SIGN_EXTEND:
676 171 : res = pattern67 (x3);
677 171 : if (res >= 0)
678 50 : return res + 12; /* [12, 15] */
679 : return -1;
680 :
681 108396 : case ZERO_EXTEND:
682 108396 : res = pattern67 (x3);
683 108396 : if (res >= 0)
684 100213 : return res + 16; /* [16, 19] */
685 : return -1;
686 :
687 : default:
688 : return -1;
689 : }
690 :
691 3333 : case ZERO_EXTEND:
692 3333 : res = pattern72 (x3);
693 3333 : if (res >= 0)
694 1561 : return res + 20; /* [20, 27] */
695 : return -1;
696 :
697 11216 : case LSHIFTRT:
698 11216 : res = pattern73 (x3);
699 11216 : if (res >= 0)
700 228 : return res + 28; /* [28, 29] */
701 : return -1;
702 :
703 : default:
704 : return -1;
705 : }
706 : }
707 :
708 : int
709 1498 : pattern96 (rtx x1, int *pnum_clobbers)
710 : {
711 1498 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
712 1498 : rtx x2, x3, x4;
713 1498 : int res ATTRIBUTE_UNUSED;
714 1498 : if (pnum_clobbers == NULL)
715 : return -1;
716 1498 : x2 = XEXP (x1, 0);
717 1498 : x3 = XEXP (x2, 0);
718 1498 : operands[0] = x3;
719 1498 : switch (GET_MODE (operands[0]))
720 : {
721 234 : case E_QImode:
722 234 : x4 = XEXP (x1, 1);
723 234 : return pattern95 (x4,
724 234 : E_QImode); /* [-1, 0] */
725 :
726 1264 : case E_HImode:
727 1264 : x4 = XEXP (x1, 1);
728 1264 : if (pattern95 (x4,
729 : E_HImode) != 0)
730 266 : return -1;
731 : return 1;
732 :
733 : default:
734 : return -1;
735 : }
736 : }
737 :
738 : int
739 1462621 : pattern100 (rtx x1, int *pnum_clobbers)
740 : {
741 1462621 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
742 1462621 : rtx x2, x3, x4;
743 1462621 : int res ATTRIBUTE_UNUSED;
744 1462621 : x2 = XEXP (x1, 1);
745 1462621 : x3 = XEXP (x2, 1);
746 1462621 : operands[2] = x3;
747 1462621 : x4 = XEXP (x1, 0);
748 1462621 : switch (GET_CODE (x4))
749 : {
750 843 : case STRICT_LOW_PART:
751 843 : return pattern96 (x1, pnum_clobbers); /* [-1, 1] */
752 :
753 1461778 : case REG:
754 1461778 : case SUBREG:
755 1461778 : case MEM:
756 1461778 : operands[0] = x4;
757 1461778 : switch (GET_MODE (operands[0]))
758 : {
759 5439 : case E_TImode:
760 5439 : if (pattern97 (x2, pnum_clobbers) != 0)
761 499 : return -1;
762 : return 2;
763 :
764 37527 : case E_HImode:
765 37527 : if (pattern98 (x2,
766 : E_HImode) != 0)
767 6675 : return -1;
768 : return 3;
769 :
770 416 : case E_V2SFmode:
771 416 : if (pattern5 (x2,
772 : E_V2SFmode) != 0)
773 48 : return -1;
774 : return 4;
775 :
776 1 : case E_V2BFmode:
777 1 : if (pattern5 (x2,
778 : E_V2BFmode) != 0)
779 0 : return -1;
780 : return 5;
781 :
782 1 : case E_V4BFmode:
783 1 : if (pattern5 (x2,
784 : E_V4BFmode) != 0)
785 0 : return -1;
786 : return 6;
787 :
788 34 : case E_V2HFmode:
789 34 : if (pattern5 (x2,
790 : E_V2HFmode) != 0)
791 20 : return -1;
792 : return 7;
793 :
794 33 : case E_V4HFmode:
795 33 : if (pattern5 (x2,
796 : E_V4HFmode) != 0)
797 20 : return -1;
798 : return 8;
799 :
800 3520 : case E_V8QImode:
801 3520 : if (pattern6 (x2,
802 : E_V8QImode) != 0)
803 1247 : return -1;
804 : return 9;
805 :
806 1834 : case E_V4HImode:
807 1834 : if (pattern6 (x2,
808 : E_V4HImode) != 0)
809 409 : return -1;
810 : return 10;
811 :
812 9474 : case E_V2SImode:
813 9474 : if (pattern6 (x2,
814 : E_V2SImode) != 0)
815 2268 : return -1;
816 : return 11;
817 :
818 527 : case E_V4QImode:
819 527 : if (pattern99 (x2, pnum_clobbers,
820 : E_V4QImode) != 0)
821 41 : return -1;
822 : return 12;
823 :
824 368 : case E_V2QImode:
825 368 : if (pattern99 (x2, pnum_clobbers,
826 : E_V2QImode) != 0)
827 0 : return -1;
828 : return 13;
829 :
830 237 : case E_V2HImode:
831 237 : if (pattern99 (x2, pnum_clobbers,
832 : E_V2HImode) != 0)
833 0 : return -1;
834 : return 14;
835 :
836 0 : case E_BFmode:
837 0 : if (pattern5 (x2,
838 : E_BFmode) != 0)
839 0 : return -1;
840 : return 15;
841 :
842 12 : case E_HFmode:
843 12 : if (pattern5 (x2,
844 : E_HFmode) != 0)
845 6 : return -1;
846 : return 16;
847 :
848 5646 : case E_SFmode:
849 5646 : if (pattern5 (x2,
850 : E_SFmode) != 0)
851 150 : return -1;
852 : return 17;
853 :
854 5569 : case E_DFmode:
855 5569 : if (pattern5 (x2,
856 : E_DFmode) != 0)
857 164 : return -1;
858 : return 18;
859 :
860 2022 : case E_TFmode:
861 2022 : if (pattern26 (x2,
862 : E_TFmode) != 0)
863 181 : return -1;
864 : return 19;
865 :
866 : default:
867 : return -1;
868 : }
869 :
870 : default:
871 : return -1;
872 : }
873 : }
874 :
875 : int
876 1713 : pattern121 (rtx x1, machine_mode i1)
877 : {
878 1713 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
879 1713 : rtx x2, x3, x4, x5, x6, x7;
880 1713 : int res ATTRIBUTE_UNUSED;
881 1713 : if (GET_MODE (x1) != i1)
882 : return -1;
883 425 : x2 = XEXP (x1, 0);
884 425 : if (GET_CODE (x2) != VEC_SELECT
885 284 : || GET_MODE (x2) != i1)
886 : return -1;
887 284 : x3 = XEXP (x2, 1);
888 284 : if (GET_CODE (x3) != PARALLEL
889 284 : || XVECLEN (x3, 0) != 1)
890 : return -1;
891 284 : x4 = XVECEXP (x3, 0, 0);
892 284 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
893 : return -1;
894 284 : x5 = XEXP (x1, 1);
895 284 : if (GET_CODE (x5) != VEC_SELECT
896 284 : || GET_MODE (x5) != i1)
897 : return -1;
898 284 : x6 = XEXP (x5, 1);
899 284 : if (GET_CODE (x6) != PARALLEL
900 284 : || XVECLEN (x6, 0) != 1)
901 : return -1;
902 284 : x7 = XVECEXP (x6, 0, 0);
903 284 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
904 0 : return -1;
905 : return 0;
906 : }
907 :
908 : int
909 12182 : pattern128 (rtx x1, int *pnum_clobbers)
910 : {
911 12182 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
912 12182 : rtx x2, x3, x4, x5;
913 12182 : int res ATTRIBUTE_UNUSED;
914 12182 : if (pnum_clobbers == NULL)
915 : return -1;
916 12182 : x2 = XEXP (x1, 0);
917 12182 : operands[2] = x2;
918 12182 : x3 = XEXP (x2, 0);
919 12182 : if (GET_CODE (x3) != REG
920 12182 : || REGNO (x3) != 17)
921 : return -1;
922 8139 : x4 = XEXP (x2, 1);
923 8139 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
924 : return -1;
925 8139 : x5 = XEXP (x1, 1);
926 8139 : operands[1] = x5;
927 8139 : switch (GET_MODE (operands[0]))
928 : {
929 : case E_SImode:
930 : return 0;
931 :
932 4190 : case E_DImode:
933 4190 : return 1;
934 :
935 : default:
936 : return -1;
937 : }
938 : }
939 :
940 : int
941 50427 : pattern132 (rtx x1, int *pnum_clobbers)
942 : {
943 50427 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
944 50427 : rtx x2;
945 50427 : int res ATTRIBUTE_UNUSED;
946 50427 : switch (GET_MODE (operands[0]))
947 : {
948 11210 : case E_SImode:
949 11210 : if (!register_operand (operands[0], E_SImode)
950 11210 : || GET_MODE (x1) != E_SImode)
951 : return -1;
952 11039 : x2 = XEXP (x1, 0);
953 11039 : switch (GET_MODE (x2))
954 : {
955 8281 : case E_QImode:
956 8281 : if (!nonimmediate_operand (operands[1], E_QImode)
957 8281 : || !x86_64_general_operand (operands[2], E_QImode))
958 315 : return -1;
959 : return 0;
960 :
961 2758 : case E_HImode:
962 2758 : if (!nonimmediate_operand (operands[1], E_HImode)
963 2758 : || !x86_64_general_operand (operands[2], E_HImode))
964 145 : return -1;
965 : return 1;
966 :
967 : default:
968 : return -1;
969 : }
970 :
971 35302 : case E_DImode:
972 35302 : if (!register_operand (operands[0], E_DImode)
973 35302 : || GET_MODE (x1) != E_DImode)
974 : return -1;
975 35133 : x2 = XEXP (x1, 0);
976 35133 : switch (GET_MODE (x2))
977 : {
978 2713 : case E_QImode:
979 2713 : if (!nonimmediate_operand (operands[1], E_QImode)
980 2713 : || !x86_64_general_operand (operands[2], E_QImode))
981 242 : return -1;
982 : return 2;
983 :
984 616 : case E_HImode:
985 616 : if (!nonimmediate_operand (operands[1], E_HImode)
986 616 : || !x86_64_general_operand (operands[2], E_HImode))
987 124 : return -1;
988 : return 3;
989 :
990 31804 : case E_SImode:
991 31804 : if (pnum_clobbers == NULL
992 31020 : || !nonimmediate_operand (operands[1], E_SImode)
993 60346 : || !x86_64_general_operand (operands[2], E_SImode))
994 4082 : return -1;
995 : return 4;
996 :
997 : default:
998 : return -1;
999 : }
1000 :
1001 : default:
1002 : return -1;
1003 : }
1004 : }
1005 :
1006 : int
1007 658 : pattern144 (rtx x1)
1008 : {
1009 658 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1010 658 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1011 658 : rtx x10, x11, x12;
1012 658 : int res ATTRIBUTE_UNUSED;
1013 658 : x2 = XEXP (x1, 0);
1014 658 : x3 = XEXP (x2, 1);
1015 658 : if (GET_MODE (x3) != E_QImode)
1016 : return -1;
1017 644 : x4 = XEXP (x3, 1);
1018 644 : if (GET_CODE (x4) != CONST_INT)
1019 : return -1;
1020 644 : x5 = XEXP (x1, 1);
1021 644 : if (GET_CODE (x5) != SUBREG
1022 644 : || maybe_ne (SUBREG_BYTE (x5), 0))
1023 : return -1;
1024 383 : x6 = XEXP (x5, 0);
1025 383 : if (GET_CODE (x6) != LSHIFTRT)
1026 : return -1;
1027 383 : x7 = XEXP (x6, 0);
1028 383 : if (GET_CODE (x7) != ZERO_EXTEND)
1029 : return -1;
1030 383 : x8 = XEXP (x6, 1);
1031 383 : if (GET_CODE (x8) != MINUS
1032 383 : || GET_MODE (x8) != E_QImode)
1033 : return -1;
1034 383 : x9 = XEXP (x8, 0);
1035 383 : if (GET_CODE (x9) != CONST_INT)
1036 : return -1;
1037 383 : x10 = XEXP (x8, 1);
1038 383 : if (GET_CODE (x10) != AND
1039 383 : || GET_MODE (x10) != E_QImode)
1040 : return -1;
1041 383 : x11 = XEXP (x10, 1);
1042 383 : if (GET_CODE (x11) != CONST_INT)
1043 : return -1;
1044 383 : x12 = XEXP (x3, 0);
1045 383 : if (!nonmemory_operand (x12, E_QImode))
1046 : return -1;
1047 383 : switch (XWINT (x4, 0))
1048 : {
1049 377 : case 63L:
1050 377 : return pattern143 (x1); /* [-1, 0] */
1051 :
1052 5 : case 31L:
1053 5 : if (XWINT (x9, 0) != 32L
1054 5 : || XWINT (x11, 0) != 31L
1055 5 : || !nonimmediate_operand (operands[0], E_SImode)
1056 10 : || pattern142 (x1,
1057 : E_SImode,
1058 : E_DImode) != 0)
1059 5 : return -1;
1060 : return 1;
1061 :
1062 : default:
1063 : return -1;
1064 : }
1065 : }
1066 :
1067 : int
1068 2626 : pattern154 (rtx x1)
1069 : {
1070 2626 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1071 2626 : rtx x2, x3, x4;
1072 2626 : int res ATTRIBUTE_UNUSED;
1073 2626 : x2 = XEXP (x1, 1);
1074 2626 : x3 = XEXP (x2, 0);
1075 2626 : operands[2] = x3;
1076 2626 : if (!register_operand (operands[2], E_QImode))
1077 : return -1;
1078 1671 : x4 = XEXP (x2, 1);
1079 1671 : operands[3] = x4;
1080 1671 : if (!const_int_operand (operands[3], E_QImode))
1081 : return -1;
1082 1671 : switch (GET_MODE (operands[0]))
1083 : {
1084 1253 : case E_DImode:
1085 1253 : if (GET_MODE (x1) != E_DImode)
1086 0 : return -1;
1087 : return 0;
1088 :
1089 300 : case E_SImode:
1090 300 : if (!nonimmediate_operand (operands[0], E_SImode)
1091 300 : || GET_MODE (x1) != E_SImode
1092 600 : || !nonimmediate_operand (operands[1], E_SImode))
1093 262 : return -1;
1094 : return 1;
1095 :
1096 : default:
1097 : return -1;
1098 : }
1099 : }
1100 :
1101 : int
1102 2974 : pattern161 (rtx x1)
1103 : {
1104 2974 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1105 2974 : rtx x2, x3, x4;
1106 2974 : int res ATTRIBUTE_UNUSED;
1107 2974 : x2 = XEXP (x1, 0);
1108 2974 : operands[0] = x2;
1109 2974 : x3 = XEXP (x1, 1);
1110 2974 : x4 = XVECEXP (x3, 0, 0);
1111 2974 : operands[1] = x4;
1112 2974 : switch (GET_MODE (operands[0]))
1113 : {
1114 415 : case E_SImode:
1115 415 : return pattern160 (x3,
1116 415 : E_SImode); /* [-1, 2] */
1117 :
1118 400 : case E_DImode:
1119 400 : res = pattern160 (x3,
1120 : E_DImode);
1121 400 : if (res >= 0)
1122 370 : return res + 3; /* [3, 5] */
1123 : return -1;
1124 :
1125 : default:
1126 : return -1;
1127 : }
1128 : }
1129 :
1130 : int
1131 1863 : pattern163 (rtx x1)
1132 : {
1133 1863 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1134 1863 : rtx x2, x3, x4, x5, x6, x7;
1135 1863 : int res ATTRIBUTE_UNUSED;
1136 1863 : x2 = XEXP (x1, 1);
1137 1863 : x3 = XVECEXP (x2, 0, 0);
1138 1863 : if (GET_CODE (x3) != VEC_SELECT)
1139 : return -1;
1140 326 : x4 = XEXP (x3, 1);
1141 326 : if (GET_CODE (x4) != PARALLEL
1142 326 : || XVECLEN (x4, 0) != 1)
1143 : return -1;
1144 326 : x5 = XVECEXP (x4, 0, 0);
1145 326 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1146 : return -1;
1147 326 : x6 = XEXP (x1, 0);
1148 326 : operands[0] = x6;
1149 326 : x7 = XEXP (x3, 0);
1150 326 : operands[1] = x7;
1151 326 : switch (GET_MODE (operands[0]))
1152 : {
1153 194 : case E_SImode:
1154 194 : return pattern162 (x2,
1155 194 : E_SImode); /* [-1, 1] */
1156 :
1157 132 : case E_DImode:
1158 132 : res = pattern162 (x2,
1159 : E_DImode);
1160 132 : if (res >= 0)
1161 98 : return res + 2; /* [2, 3] */
1162 : return -1;
1163 :
1164 : default:
1165 : return -1;
1166 : }
1167 : }
1168 :
1169 : int
1170 6610 : pattern170 (rtx x1, machine_mode i1, machine_mode i2)
1171 : {
1172 6610 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1173 6610 : rtx x2;
1174 6610 : int res ATTRIBUTE_UNUSED;
1175 6610 : if (!register_operand (operands[0], i1)
1176 6610 : || GET_MODE (x1) != i1)
1177 : return -1;
1178 6342 : x2 = XEXP (x1, 0);
1179 6342 : if (GET_MODE (x2) != i1
1180 6342 : || !register_operand (operands[1], i1)
1181 6178 : || !nonimmediate_operand (operands[2], i1)
1182 6178 : || !nonimm_or_0_operand (operands[3], i1)
1183 12402 : || !register_operand (operands[4], i2))
1184 442 : return -1;
1185 : return 0;
1186 : }
1187 :
1188 : int
1189 1774 : pattern177 (rtx x1, machine_mode i1)
1190 : {
1191 1774 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1192 1774 : rtx x2;
1193 1774 : int res ATTRIBUTE_UNUSED;
1194 1774 : if (!register_operand (operands[0], i1)
1195 1774 : || GET_MODE (x1) != i1)
1196 : return -1;
1197 1678 : x2 = XEXP (x1, 0);
1198 1678 : if (GET_MODE (x2) != i1
1199 1678 : || !nonimm_or_0_operand (operands[2], i1))
1200 39 : return -1;
1201 : return 0;
1202 : }
1203 :
1204 : int
1205 5520 : pattern181 (rtx x1)
1206 : {
1207 5520 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1208 5520 : rtx x2, x3, x4, x5, x6;
1209 5520 : int res ATTRIBUTE_UNUSED;
1210 5520 : x2 = XEXP (x1, 0);
1211 5520 : x3 = XEXP (x2, 0);
1212 5520 : operands[1] = x3;
1213 5520 : x4 = XEXP (x2, 1);
1214 5520 : operands[2] = x4;
1215 5520 : x5 = XEXP (x1, 1);
1216 5520 : operands[3] = x5;
1217 5520 : x6 = XEXP (x1, 2);
1218 5520 : operands[4] = x6;
1219 5520 : switch (GET_MODE (operands[0]))
1220 : {
1221 1072 : case E_V64QImode:
1222 1072 : return pattern167 (x1,
1223 : E_V64QImode,
1224 1072 : E_DImode); /* [-1, 0] */
1225 :
1226 976 : case E_V32QImode:
1227 976 : if (pattern167 (x1,
1228 : E_V32QImode,
1229 : E_SImode) != 0)
1230 244 : return -1;
1231 : return 1;
1232 :
1233 716 : case E_V16QImode:
1234 716 : if (pattern167 (x1,
1235 : E_V16QImode,
1236 : E_HImode) != 0)
1237 16 : return -1;
1238 : return 2;
1239 :
1240 1069 : case E_V32HImode:
1241 1069 : if (pattern167 (x1,
1242 : E_V32HImode,
1243 : E_SImode) != 0)
1244 244 : return -1;
1245 : return 3;
1246 :
1247 974 : case E_V16HImode:
1248 974 : if (pattern167 (x1,
1249 : E_V16HImode,
1250 : E_HImode) != 0)
1251 244 : return -1;
1252 : return 4;
1253 :
1254 713 : case E_V8HImode:
1255 713 : if (pattern167 (x1,
1256 : E_V8HImode,
1257 : E_QImode) != 0)
1258 15 : return -1;
1259 : return 5;
1260 :
1261 : default:
1262 : return -1;
1263 : }
1264 : }
1265 :
1266 : int
1267 2556 : pattern183 (rtx x1, machine_mode i1, machine_mode i2)
1268 : {
1269 2556 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1270 2556 : rtx x2;
1271 2556 : int res ATTRIBUTE_UNUSED;
1272 2556 : if (!register_operand (operands[0], i1)
1273 2556 : || GET_MODE (x1) != i1)
1274 : return -1;
1275 2426 : x2 = XEXP (x1, 0);
1276 2426 : if (GET_MODE (x2) != i1
1277 2426 : || !nonimmediate_operand (operands[1], i1)
1278 2426 : || !nonimm_or_0_operand (operands[3], i1)
1279 4776 : || !register_operand (operands[4], i2))
1280 236 : return -1;
1281 : return 0;
1282 : }
1283 :
1284 : int
1285 7049 : pattern185 (rtx x1)
1286 : {
1287 7049 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1288 7049 : rtx x2, x3, x4, x5, x6;
1289 7049 : int res ATTRIBUTE_UNUSED;
1290 7049 : x2 = XEXP (x1, 0);
1291 7049 : x3 = XEXP (x2, 0);
1292 7049 : operands[1] = x3;
1293 7049 : x4 = XEXP (x2, 1);
1294 7049 : operands[2] = x4;
1295 7049 : x5 = XEXP (x1, 1);
1296 7049 : operands[3] = x5;
1297 7049 : x6 = XEXP (x1, 2);
1298 7049 : operands[4] = x6;
1299 7049 : switch (GET_MODE (operands[0]))
1300 : {
1301 539 : case E_V16SImode:
1302 539 : return pattern168 (x1,
1303 : E_V16SImode,
1304 539 : E_HImode); /* [-1, 0] */
1305 :
1306 648 : case E_V8SImode:
1307 648 : if (pattern168 (x1,
1308 : E_V8SImode,
1309 : E_QImode) != 0)
1310 224 : return -1;
1311 : return 1;
1312 :
1313 356 : case E_V4SImode:
1314 356 : if (pattern169 (x1,
1315 : E_QImode,
1316 : E_V4SImode) != 0)
1317 8 : return -1;
1318 : return 2;
1319 :
1320 1006 : case E_V8DImode:
1321 1006 : if (pattern168 (x1,
1322 : E_V8DImode,
1323 : E_QImode) != 0)
1324 160 : return -1;
1325 : return 3;
1326 :
1327 770 : case E_V4DImode:
1328 770 : if (pattern168 (x1,
1329 : E_V4DImode,
1330 : E_QImode) != 0)
1331 256 : return -1;
1332 : return 4;
1333 :
1334 459 : case E_V2DImode:
1335 459 : if (pattern168 (x1,
1336 : E_V2DImode,
1337 : E_QImode) != 0)
1338 23 : return -1;
1339 : return 5;
1340 :
1341 536 : case E_V64QImode:
1342 536 : if (pattern168 (x1,
1343 : E_V64QImode,
1344 : E_DImode) != 0)
1345 130 : return -1;
1346 : return 6;
1347 :
1348 366 : case E_V16QImode:
1349 366 : if (pattern168 (x1,
1350 : E_V16QImode,
1351 : E_HImode) != 0)
1352 16 : return -1;
1353 : return 7;
1354 :
1355 705 : case E_V32QImode:
1356 705 : if (pattern168 (x1,
1357 : E_V32QImode,
1358 : E_SImode) != 0)
1359 266 : return -1;
1360 : return 8;
1361 :
1362 530 : case E_V32HImode:
1363 530 : if (pattern168 (x1,
1364 : E_V32HImode,
1365 : E_SImode) != 0)
1366 122 : return -1;
1367 : return 9;
1368 :
1369 776 : case E_V16HImode:
1370 776 : if (pattern168 (x1,
1371 : E_V16HImode,
1372 : E_HImode) != 0)
1373 296 : return -1;
1374 : return 10;
1375 :
1376 358 : case E_V8HImode:
1377 358 : if (pattern169 (x1,
1378 : E_QImode,
1379 : E_V8HImode) != 0)
1380 8 : return -1;
1381 : return 11;
1382 :
1383 : default:
1384 : return -1;
1385 : }
1386 : }
1387 :
1388 : int
1389 95454 : pattern192 (rtx x1, machine_mode i1)
1390 : {
1391 95454 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1392 95454 : int res ATTRIBUTE_UNUSED;
1393 95454 : if (!register_operand (operands[0], i1)
1394 93721 : || GET_MODE (x1) != i1
1395 93721 : || !register_operand (operands[1], i1)
1396 166325 : || !vector_operand (operands[2], i1))
1397 27642 : return -1;
1398 : return 0;
1399 : }
1400 :
1401 : int
1402 618 : pattern195 (rtx x1)
1403 : {
1404 618 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1405 618 : rtx x2, x3, x4, x5;
1406 618 : int res ATTRIBUTE_UNUSED;
1407 618 : x2 = XEXP (x1, 0);
1408 618 : operands[0] = x2;
1409 618 : x3 = XEXP (x1, 1);
1410 618 : x4 = XVECEXP (x3, 0, 0);
1411 618 : operands[1] = x4;
1412 618 : x5 = XVECEXP (x3, 0, 1);
1413 618 : operands[2] = x5;
1414 618 : switch (GET_MODE (operands[0]))
1415 : {
1416 152 : case E_V32HFmode:
1417 152 : return pattern194 (x3,
1418 152 : E_V32HFmode); /* [-1, 0] */
1419 :
1420 222 : case E_V16HFmode:
1421 222 : if (pattern194 (x3,
1422 : E_V16HFmode) != 0)
1423 26 : return -1;
1424 : return 1;
1425 :
1426 244 : case E_V8HFmode:
1427 244 : if (pattern194 (x3,
1428 : E_V8HFmode) != 0)
1429 34 : return -1;
1430 : return 2;
1431 :
1432 : default:
1433 : return -1;
1434 : }
1435 : }
1436 :
1437 : int
1438 167 : pattern198 (rtx x1, machine_mode i1, machine_mode i2)
1439 : {
1440 167 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1441 167 : rtx x2, x3, x4, x5;
1442 167 : int res ATTRIBUTE_UNUSED;
1443 167 : x2 = XEXP (x1, 1);
1444 167 : if (GET_MODE (x2) != i2)
1445 : return -1;
1446 167 : x3 = XEXP (x1, 0);
1447 167 : operands[0] = x3;
1448 167 : if (!register_operand (operands[0], i2))
1449 : return -1;
1450 162 : x4 = XVECEXP (x2, 0, 0);
1451 162 : operands[1] = x4;
1452 162 : if (!register_operand (operands[1], i2))
1453 : return -1;
1454 150 : x5 = XVECEXP (x2, 0, 1);
1455 150 : operands[2] = x5;
1456 150 : if (!register_operand (operands[2], i1))
1457 10 : return -1;
1458 : return 0;
1459 : }
1460 :
1461 : int
1462 556 : pattern202 (rtx x1)
1463 : {
1464 556 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1465 556 : rtx x2, x3, x4, x5;
1466 556 : int res ATTRIBUTE_UNUSED;
1467 556 : x2 = XEXP (x1, 0);
1468 556 : operands[0] = x2;
1469 556 : x3 = XEXP (x1, 1);
1470 556 : x4 = XVECEXP (x3, 0, 0);
1471 556 : operands[1] = x4;
1472 556 : x5 = XVECEXP (x3, 0, 1);
1473 556 : operands[2] = x5;
1474 556 : switch (GET_MODE (operands[0]))
1475 : {
1476 300 : case E_V32QImode:
1477 300 : return pattern192 (x3,
1478 300 : E_V32QImode); /* [-1, 0] */
1479 :
1480 0 : case E_V16QImode:
1481 0 : if (pattern192 (x3,
1482 : E_V16QImode) != 0)
1483 0 : return -1;
1484 : return 1;
1485 :
1486 256 : case E_V64QImode:
1487 256 : if (pattern192 (x3,
1488 : E_V64QImode) != 0)
1489 0 : return -1;
1490 : return 2;
1491 :
1492 : default:
1493 : return -1;
1494 : }
1495 : }
1496 :
1497 : int
1498 616 : pattern207 (rtx x1)
1499 : {
1500 616 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1501 616 : rtx x2, x3, x4, x5;
1502 616 : int res ATTRIBUTE_UNUSED;
1503 616 : x2 = XEXP (x1, 0);
1504 616 : operands[0] = x2;
1505 616 : x3 = XEXP (x1, 1);
1506 616 : x4 = XVECEXP (x3, 0, 0);
1507 616 : operands[1] = x4;
1508 616 : x5 = XVECEXP (x3, 0, 1);
1509 616 : operands[2] = x5;
1510 616 : if (!const_0_to_255_operand (operands[2], E_SImode))
1511 : return -1;
1512 616 : switch (GET_MODE (operands[0]))
1513 : {
1514 206 : case E_V32BFmode:
1515 206 : if (!register_operand (operands[0], E_V32BFmode)
1516 188 : || GET_MODE (x3) != E_V32BFmode
1517 394 : || !nonimmediate_operand (operands[1], E_V32BFmode))
1518 33 : return -1;
1519 : return 0;
1520 :
1521 206 : case E_V16BFmode:
1522 206 : if (!register_operand (operands[0], E_V16BFmode)
1523 188 : || GET_MODE (x3) != E_V16BFmode
1524 394 : || !nonimmediate_operand (operands[1], E_V16BFmode))
1525 33 : return -1;
1526 : return 1;
1527 :
1528 204 : case E_V8BFmode:
1529 204 : if (!register_operand (operands[0], E_V8BFmode)
1530 186 : || GET_MODE (x3) != E_V8BFmode
1531 390 : || !nonimmediate_operand (operands[1], E_V8BFmode))
1532 33 : return -1;
1533 : return 2;
1534 :
1535 : default:
1536 : return -1;
1537 : }
1538 : }
1539 :
1540 : int
1541 5063 : pattern215 (rtx x1)
1542 : {
1543 5063 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1544 5063 : rtx x2, x3, x4, x5, x6;
1545 5063 : int res ATTRIBUTE_UNUSED;
1546 5063 : x2 = XEXP (x1, 0);
1547 5063 : operands[0] = x2;
1548 5063 : x3 = XEXP (x1, 1);
1549 5063 : x4 = XVECEXP (x3, 0, 0);
1550 5063 : operands[1] = x4;
1551 5063 : x5 = XVECEXP (x3, 0, 1);
1552 5063 : operands[2] = x5;
1553 5063 : x6 = XVECEXP (x3, 0, 2);
1554 5063 : operands[3] = x6;
1555 5063 : if (!const_0_to_255_operand (operands[3], E_VOIDmode))
1556 : return -1;
1557 5063 : switch (GET_MODE (operands[0]))
1558 : {
1559 1629 : case E_V64QImode:
1560 1629 : return pattern192 (x3,
1561 1629 : E_V64QImode); /* [-1, 0] */
1562 :
1563 659 : case E_V32QImode:
1564 659 : if (pattern192 (x3,
1565 : E_V32QImode) != 0)
1566 154 : return -1;
1567 : return 1;
1568 :
1569 2775 : case E_V16QImode:
1570 2775 : if (pattern192 (x3,
1571 : E_V16QImode) != 0)
1572 843 : return -1;
1573 : return 2;
1574 :
1575 : default:
1576 : return -1;
1577 : }
1578 : }
1579 :
1580 : int
1581 280 : pattern220 (rtx x1)
1582 : {
1583 280 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1584 280 : rtx x2, x3, x4, x5, x6;
1585 280 : int res ATTRIBUTE_UNUSED;
1586 280 : x2 = XEXP (x1, 0);
1587 280 : operands[0] = x2;
1588 280 : x3 = XEXP (x1, 1);
1589 280 : x4 = XVECEXP (x3, 0, 0);
1590 280 : operands[1] = x4;
1591 280 : x5 = XVECEXP (x3, 0, 1);
1592 280 : operands[2] = x5;
1593 280 : x6 = XVECEXP (x3, 0, 2);
1594 280 : operands[3] = x6;
1595 280 : switch (GET_MODE (operands[0]))
1596 : {
1597 140 : case E_V32HImode:
1598 140 : return pattern213 (x3,
1599 140 : E_V32HImode); /* [-1, 0] */
1600 :
1601 140 : case E_V16HImode:
1602 140 : if (pattern213 (x3,
1603 : E_V16HImode) != 0)
1604 0 : return -1;
1605 : return 1;
1606 :
1607 : default:
1608 : return -1;
1609 : }
1610 : }
1611 :
1612 : int
1613 474 : pattern223 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
1614 : {
1615 474 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1616 474 : rtx x2;
1617 474 : int res ATTRIBUTE_UNUSED;
1618 474 : if (!register_operand (operands[0], i3)
1619 474 : || GET_MODE (x1) != i3)
1620 : return -1;
1621 454 : x2 = XEXP (x1, 0);
1622 454 : if (GET_MODE (x2) != i1
1623 454 : || !nonimmediate_operand (operands[1], i2)
1624 813 : || !const0_operand (operands[2], i1))
1625 95 : return -1;
1626 : return 0;
1627 : }
1628 :
1629 : int
1630 409755 : pattern227 (rtx x1, machine_mode i1)
1631 : {
1632 409755 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1633 409755 : int res ATTRIBUTE_UNUSED;
1634 409755 : if (!register_operand (operands[0], i1)
1635 392089 : || GET_MODE (x1) != i1
1636 392089 : || !nonimmediate_operand (operands[1], i1)
1637 784311 : || !const1_operand (operands[2], i1))
1638 402395 : return -1;
1639 : return 0;
1640 : }
1641 :
1642 : int
1643 14 : pattern229 (rtx x1, machine_mode i1)
1644 : {
1645 14 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1646 14 : rtx x2;
1647 14 : int res ATTRIBUTE_UNUSED;
1648 14 : if (!register_operand (operands[0], i1)
1649 14 : || GET_MODE (x1) != i1)
1650 : return -1;
1651 8 : x2 = XEXP (x1, 0);
1652 8 : if (GET_MODE (x2) != i1
1653 8 : || !vector_operand (operands[1], i1)
1654 8 : || !vector_operand (operands[2], i1)
1655 16 : || !vector_operand (operands[3], i1))
1656 2 : return -1;
1657 : return 0;
1658 : }
1659 :
1660 : int
1661 372 : pattern233 (rtx x1)
1662 : {
1663 372 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1664 372 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1665 372 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
1666 372 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
1667 372 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
1668 372 : rtx x34, x35, x36, x37;
1669 372 : int res ATTRIBUTE_UNUSED;
1670 372 : x2 = XEXP (x1, 0);
1671 372 : x3 = XEXP (x2, 1);
1672 372 : x4 = XVECEXP (x3, 0, 0);
1673 372 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1674 : return -1;
1675 372 : x5 = XVECEXP (x3, 0, 1);
1676 372 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1677 : return -1;
1678 372 : x6 = XVECEXP (x3, 0, 2);
1679 372 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1680 : return -1;
1681 372 : x7 = XVECEXP (x3, 0, 3);
1682 372 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
1683 : return -1;
1684 372 : x8 = XVECEXP (x3, 0, 4);
1685 372 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 16])
1686 : return -1;
1687 372 : x9 = XVECEXP (x3, 0, 5);
1688 372 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 18])
1689 : return -1;
1690 372 : x10 = XVECEXP (x3, 0, 6);
1691 372 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 20])
1692 : return -1;
1693 372 : x11 = XVECEXP (x3, 0, 7);
1694 372 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 22])
1695 : return -1;
1696 372 : x12 = XVECEXP (x3, 0, 8);
1697 372 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
1698 : return -1;
1699 372 : x13 = XVECEXP (x3, 0, 9);
1700 372 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
1701 : return -1;
1702 372 : x14 = XVECEXP (x3, 0, 10);
1703 372 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
1704 : return -1;
1705 372 : x15 = XVECEXP (x3, 0, 11);
1706 372 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
1707 : return -1;
1708 372 : x16 = XVECEXP (x3, 0, 12);
1709 372 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 24])
1710 : return -1;
1711 372 : x17 = XVECEXP (x3, 0, 13);
1712 372 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 26])
1713 : return -1;
1714 372 : x18 = XVECEXP (x3, 0, 14);
1715 372 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 28])
1716 : return -1;
1717 372 : x19 = XVECEXP (x3, 0, 15);
1718 372 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 30])
1719 : return -1;
1720 372 : x20 = XEXP (x1, 1);
1721 372 : x21 = XEXP (x20, 1);
1722 372 : if (XVECLEN (x21, 0) != 16)
1723 : return -1;
1724 372 : x22 = XVECEXP (x21, 0, 0);
1725 372 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
1726 : return -1;
1727 372 : x23 = XVECEXP (x21, 0, 1);
1728 372 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
1729 : return -1;
1730 372 : x24 = XVECEXP (x21, 0, 2);
1731 372 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
1732 : return -1;
1733 372 : x25 = XVECEXP (x21, 0, 3);
1734 372 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
1735 : return -1;
1736 372 : x26 = XVECEXP (x21, 0, 4);
1737 372 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 17])
1738 : return -1;
1739 372 : x27 = XVECEXP (x21, 0, 5);
1740 372 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 19])
1741 : return -1;
1742 372 : x28 = XVECEXP (x21, 0, 6);
1743 372 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 21])
1744 : return -1;
1745 372 : x29 = XVECEXP (x21, 0, 7);
1746 372 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 23])
1747 : return -1;
1748 372 : x30 = XVECEXP (x21, 0, 8);
1749 372 : if (x30 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
1750 : return -1;
1751 372 : x31 = XVECEXP (x21, 0, 9);
1752 372 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
1753 : return -1;
1754 372 : x32 = XVECEXP (x21, 0, 10);
1755 372 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
1756 : return -1;
1757 372 : x33 = XVECEXP (x21, 0, 11);
1758 372 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 15])
1759 : return -1;
1760 372 : x34 = XVECEXP (x21, 0, 12);
1761 372 : if (x34 != const_int_rtx[MAX_SAVED_CONST_INT + 25])
1762 : return -1;
1763 372 : x35 = XVECEXP (x21, 0, 13);
1764 372 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 27])
1765 : return -1;
1766 372 : x36 = XVECEXP (x21, 0, 14);
1767 372 : if (x36 != const_int_rtx[MAX_SAVED_CONST_INT + 29])
1768 : return -1;
1769 372 : x37 = XVECEXP (x21, 0, 15);
1770 372 : if (x37 != const_int_rtx[MAX_SAVED_CONST_INT + 31]
1771 372 : || pattern232 (x1,
1772 : E_V32HImode,
1773 : E_V16HImode) != 0)
1774 24 : return -1;
1775 : return 0;
1776 : }
1777 :
1778 : int
1779 430 : pattern243 (rtx x1)
1780 : {
1781 430 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1782 430 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1783 430 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
1784 430 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
1785 430 : rtx x26, x27;
1786 430 : int res ATTRIBUTE_UNUSED;
1787 430 : x2 = XEXP (x1, 0);
1788 430 : x3 = XEXP (x2, 0);
1789 430 : if (GET_CODE (x3) != VEC_CONCAT)
1790 : return -1;
1791 430 : x4 = XEXP (x2, 1);
1792 430 : if (GET_CODE (x4) != PARALLEL)
1793 : return -1;
1794 430 : x5 = XEXP (x1, 1);
1795 430 : if (GET_CODE (x5) != VEC_SELECT)
1796 : return -1;
1797 430 : x6 = XEXP (x5, 0);
1798 430 : if (GET_CODE (x6) != VEC_CONCAT)
1799 : return -1;
1800 430 : x7 = XEXP (x5, 1);
1801 430 : if (GET_CODE (x7) != PARALLEL)
1802 : return -1;
1803 430 : x8 = XEXP (x3, 0);
1804 430 : operands[1] = x8;
1805 430 : x9 = XEXP (x3, 1);
1806 430 : operands[2] = x9;
1807 430 : x10 = XEXP (x6, 0);
1808 430 : if (!rtx_equal_p (x10, operands[1]))
1809 : return -1;
1810 430 : x11 = XEXP (x6, 1);
1811 430 : if (!rtx_equal_p (x11, operands[2]))
1812 : return -1;
1813 430 : switch (XVECLEN (x4, 0))
1814 : {
1815 189 : case 16:
1816 189 : return pattern233 (x1); /* [-1, 0] */
1817 :
1818 233 : case 8:
1819 233 : x12 = XVECEXP (x4, 0, 0);
1820 233 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1821 : return -1;
1822 233 : x13 = XVECEXP (x4, 0, 1);
1823 233 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
1824 : return -1;
1825 233 : x14 = XVECEXP (x4, 0, 2);
1826 233 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
1827 : return -1;
1828 233 : x15 = XVECEXP (x4, 0, 3);
1829 233 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
1830 : return -1;
1831 233 : x16 = XVECEXP (x4, 0, 4);
1832 233 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
1833 : return -1;
1834 233 : x17 = XVECEXP (x4, 0, 5);
1835 233 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
1836 : return -1;
1837 233 : x18 = XVECEXP (x4, 0, 6);
1838 233 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
1839 : return -1;
1840 233 : x19 = XVECEXP (x4, 0, 7);
1841 233 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 14]
1842 233 : || XVECLEN (x7, 0) != 8)
1843 : return -1;
1844 233 : x20 = XVECEXP (x7, 0, 0);
1845 233 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
1846 : return -1;
1847 233 : x21 = XVECEXP (x7, 0, 1);
1848 233 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
1849 : return -1;
1850 233 : x22 = XVECEXP (x7, 0, 2);
1851 233 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
1852 : return -1;
1853 233 : x23 = XVECEXP (x7, 0, 3);
1854 233 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
1855 : return -1;
1856 233 : x24 = XVECEXP (x7, 0, 4);
1857 233 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
1858 : return -1;
1859 233 : x25 = XVECEXP (x7, 0, 5);
1860 233 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
1861 : return -1;
1862 233 : x26 = XVECEXP (x7, 0, 6);
1863 233 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 13])
1864 : return -1;
1865 233 : x27 = XVECEXP (x7, 0, 7);
1866 233 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 15]
1867 233 : || pattern234 (x1,
1868 : E_V16HImode,
1869 : E_V8HImode) != 0)
1870 16 : return -1;
1871 : return 1;
1872 :
1873 : default:
1874 : return -1;
1875 : }
1876 : }
1877 :
1878 : int
1879 100273 : pattern259 (rtx x1)
1880 : {
1881 100273 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1882 100273 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1883 100273 : rtx x10, x11;
1884 100273 : int res ATTRIBUTE_UNUSED;
1885 100273 : x2 = XVECEXP (x1, 0, 0);
1886 100273 : x3 = XEXP (x2, 1);
1887 100273 : if (GET_MODE (x3) != E_V4SFmode)
1888 : return -1;
1889 7594 : x4 = XEXP (x3, 0);
1890 7594 : if (GET_CODE (x4) != VEC_DUPLICATE
1891 2848 : || GET_MODE (x4) != E_V4SFmode)
1892 : return -1;
1893 2848 : x5 = XEXP (x4, 0);
1894 2848 : if (GET_CODE (x5) != FLOAT
1895 1417 : || GET_MODE (x5) != E_V2SFmode)
1896 : return -1;
1897 1293 : x6 = XEXP (x3, 2);
1898 1293 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
1899 : return -1;
1900 1293 : x7 = XVECEXP (x1, 0, 1);
1901 1293 : if (GET_CODE (x7) != CLOBBER)
1902 : return -1;
1903 1195 : x8 = XEXP (x2, 0);
1904 1195 : operands[0] = x8;
1905 1195 : if (!register_operand (operands[0], E_V4SFmode))
1906 : return -1;
1907 1192 : x9 = XEXP (x5, 0);
1908 1192 : operands[2] = x9;
1909 1192 : if (!register_mmxmem_operand (operands[2], E_V2SImode))
1910 : return -1;
1911 969 : x10 = XEXP (x3, 1);
1912 969 : operands[1] = x10;
1913 969 : if (!register_operand (operands[1], E_V4SFmode))
1914 : return -1;
1915 798 : x11 = XEXP (x7, 0);
1916 798 : operands[3] = x11;
1917 798 : if (!scratch_operand (operands[3], E_V4SFmode))
1918 0 : return -1;
1919 : return 0;
1920 : }
1921 :
1922 : int
1923 973 : pattern267 (rtx x1)
1924 : {
1925 973 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1926 973 : rtx x2, x3, x4, x5, x6, x7, x8;
1927 973 : int res ATTRIBUTE_UNUSED;
1928 973 : x2 = XVECEXP (x1, 0, 0);
1929 973 : x3 = XEXP (x2, 0);
1930 973 : operands[0] = x3;
1931 973 : x4 = XEXP (x2, 1);
1932 973 : x5 = XEXP (x4, 0);
1933 973 : operands[1] = x5;
1934 973 : x6 = XEXP (x4, 1);
1935 973 : operands[2] = x6;
1936 973 : x7 = XVECEXP (x1, 0, 2);
1937 973 : x8 = XEXP (x7, 0);
1938 973 : operands[3] = x8;
1939 973 : switch (GET_MODE (operands[0]))
1940 : {
1941 888 : case E_DImode:
1942 888 : if (!register_operand (operands[0], E_DImode)
1943 868 : || GET_MODE (x4) != E_DImode
1944 868 : || !register_operand (operands[1], E_DImode)
1945 724 : || !const_1_to_31_operand (operands[2], E_QImode)
1946 1612 : || !scratch_operand (operands[3], E_SImode))
1947 164 : return -1;
1948 : return 0;
1949 :
1950 85 : case E_TImode:
1951 85 : if (!register_operand (operands[0], E_TImode)
1952 85 : || GET_MODE (x4) != E_TImode
1953 85 : || !register_operand (operands[1], E_TImode)
1954 66 : || !const_1_to_63_operand (operands[2], E_QImode)
1955 151 : || !scratch_operand (operands[3], E_DImode))
1956 19 : return -1;
1957 : return 1;
1958 :
1959 : default:
1960 : return -1;
1961 : }
1962 : }
1963 :
1964 : int
1965 300401 : pattern278 (rtx x1, machine_mode i1)
1966 : {
1967 300401 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1968 300401 : int res ATTRIBUTE_UNUSED;
1969 300401 : if (!mask_reg_operand (operands[0], i1)
1970 0 : || GET_MODE (x1) != i1
1971 0 : || !mask_reg_operand (operands[1], i1)
1972 300401 : || !mask_reg_operand (operands[2], i1))
1973 300401 : return -1;
1974 : return 0;
1975 : }
1976 :
1977 : int
1978 94 : pattern281 (rtx x1, machine_mode i1)
1979 : {
1980 94 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1981 94 : int res ATTRIBUTE_UNUSED;
1982 94 : if (!register_operand (operands[0], i1)
1983 94 : || GET_MODE (x1) != i1
1984 94 : || !nonimmediate_operand (operands[1], i1)
1985 97 : || !const_vector_duplicate_operand (operands[2], i1))
1986 91 : return -1;
1987 : return 0;
1988 : }
1989 :
1990 : int
1991 4208 : pattern283 (rtx x1)
1992 : {
1993 4208 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1994 4208 : rtx x2, x3;
1995 4208 : int res ATTRIBUTE_UNUSED;
1996 4208 : if (GET_MODE (x1) != E_V1TImode
1997 4208 : || !register_operand (operands[0], E_V1TImode))
1998 : return -1;
1999 31 : x2 = XEXP (x1, 0);
2000 31 : operands[1] = x2;
2001 31 : if (!register_operand (operands[1], E_V1TImode))
2002 : return -1;
2003 31 : x3 = XEXP (x1, 1);
2004 31 : operands[2] = x3;
2005 31 : if (!const_0_to_255_operand (operands[2], E_SImode))
2006 0 : return -1;
2007 : return 0;
2008 : }
2009 :
2010 : int
2011 388830 : pattern288 (rtx x1)
2012 : {
2013 388830 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2014 388830 : int res ATTRIBUTE_UNUSED;
2015 388830 : switch (GET_MODE (operands[0]))
2016 : {
2017 254524 : case E_DImode:
2018 254524 : if (!register_operand (operands[0], E_DImode)
2019 253981 : || GET_MODE (x1) != E_DImode
2020 508505 : || !register_operand (operands[1], E_DImode))
2021 2205 : return -1;
2022 : return 0;
2023 :
2024 4664 : case E_TImode:
2025 4664 : if (!register_operand (operands[0], E_TImode)
2026 4663 : || GET_MODE (x1) != E_TImode
2027 9327 : || !register_operand (operands[1], E_TImode))
2028 31 : return -1;
2029 : return 1;
2030 :
2031 : default:
2032 : return -1;
2033 : }
2034 : }
2035 :
2036 : int
2037 3198 : pattern293 (rtx x1)
2038 : {
2039 3198 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2040 3198 : rtx x2, x3, x4;
2041 3198 : int res ATTRIBUTE_UNUSED;
2042 3198 : x2 = XEXP (x1, 1);
2043 3198 : x3 = XVECEXP (x2, 0, 1);
2044 3198 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2045 : return -1;
2046 3198 : x4 = XEXP (x1, 0);
2047 3198 : if (GET_CODE (x4) != REG
2048 3198 : || REGNO (x4) != 17
2049 6396 : || GET_MODE (x4) != E_CCCmode)
2050 0 : return -1;
2051 : return 0;
2052 : }
2053 :
2054 : int
2055 307631 : pattern299 ()
2056 : {
2057 307631 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2058 307631 : int res ATTRIBUTE_UNUSED;
2059 307631 : switch (GET_MODE (operands[1]))
2060 : {
2061 177 : case E_HFmode:
2062 177 : if (!nonimmediate_operand (operands[1], E_HFmode))
2063 23 : return -1;
2064 : return 0;
2065 :
2066 82514 : case E_SFmode:
2067 82514 : if (!nonimmediate_operand (operands[1], E_SFmode))
2068 6561 : return -1;
2069 : return 1;
2070 :
2071 215799 : case E_DFmode:
2072 215799 : if (!nonimmediate_operand (operands[1], E_DFmode))
2073 23730 : return -1;
2074 : return 2;
2075 :
2076 : default:
2077 : return -1;
2078 : }
2079 : }
2080 :
2081 : int
2082 39856 : pattern305 (rtx x1, int *pnum_clobbers)
2083 : {
2084 39856 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2085 39856 : rtx x2, x3, x4, x5;
2086 39856 : int res ATTRIBUTE_UNUSED;
2087 39856 : x2 = XEXP (x1, 1);
2088 39856 : switch (GET_CODE (x2))
2089 : {
2090 9923 : case SUBREG:
2091 9923 : if (pnum_clobbers == NULL
2092 9921 : || maybe_ne (SUBREG_BYTE (x2), 0)
2093 19844 : || GET_MODE (x2) != E_QImode)
2094 : return -1;
2095 9597 : x3 = XEXP (x2, 0);
2096 9597 : switch (GET_CODE (x3))
2097 : {
2098 1530 : case AND:
2099 1530 : x4 = XEXP (x3, 0);
2100 1530 : operands[2] = x4;
2101 1530 : if (!int248_register_operand (operands[2], E_VOIDmode))
2102 : return -1;
2103 775 : return pattern304 (x1); /* [-1, 1] */
2104 :
2105 0 : case PLUS:
2106 0 : x4 = XEXP (x3, 0);
2107 0 : operands[2] = x4;
2108 0 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
2109 : return -1;
2110 0 : res = pattern304 (x1);
2111 0 : if (res >= 0)
2112 0 : return res + 2; /* [2, 3] */
2113 : return -1;
2114 :
2115 0 : case MINUS:
2116 0 : x4 = XEXP (x3, 0);
2117 0 : operands[3] = x4;
2118 0 : if (!const_int_operand (operands[3], E_VOIDmode))
2119 : return -1;
2120 0 : x5 = XEXP (x3, 1);
2121 0 : operands[2] = x5;
2122 0 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
2123 : return -1;
2124 0 : res = pattern0 (x1);
2125 0 : if (res >= 0)
2126 0 : return res + 4; /* [4, 5] */
2127 : return -1;
2128 :
2129 : default:
2130 : return -1;
2131 : }
2132 :
2133 : case CONST_INT:
2134 : return 6;
2135 :
2136 : default:
2137 : return -1;
2138 : }
2139 : }
2140 :
2141 : int
2142 13802 : pattern319 (rtx x1, int *pnum_clobbers)
2143 : {
2144 13802 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2145 13802 : rtx x2;
2146 13802 : int res ATTRIBUTE_UNUSED;
2147 13802 : switch (GET_MODE (operands[0]))
2148 : {
2149 761 : case E_SImode:
2150 761 : return pattern318 (x1); /* [-1, 1] */
2151 :
2152 12783 : case E_DImode:
2153 12783 : if (!register_operand (operands[0], E_DImode)
2154 12783 : || GET_MODE (x1) != E_DImode)
2155 : return -1;
2156 12768 : x2 = XEXP (x1, 0);
2157 12768 : switch (GET_MODE (x2))
2158 : {
2159 6393 : case E_QImode:
2160 6393 : if (!nonimmediate_operand (operands[1], E_QImode))
2161 596 : return -1;
2162 : return 2;
2163 :
2164 53 : case E_HImode:
2165 53 : if (!nonimmediate_operand (operands[1], E_HImode))
2166 7 : return -1;
2167 : return 3;
2168 :
2169 6322 : case E_SImode:
2170 6322 : if (pnum_clobbers == NULL
2171 6322 : || !nonimmediate_operand (operands[1], E_SImode))
2172 1487 : return -1;
2173 : return 4;
2174 :
2175 : default:
2176 : return -1;
2177 : }
2178 :
2179 : default:
2180 : return -1;
2181 : }
2182 : }
2183 :
2184 : int
2185 48945 : pattern325 (rtx x1, machine_mode i1, machine_mode i2)
2186 : {
2187 48945 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2188 48945 : rtx x2;
2189 48945 : int res ATTRIBUTE_UNUSED;
2190 48945 : if (!register_operand (operands[0], i2)
2191 48945 : || GET_MODE (x1) != i2)
2192 : return -1;
2193 47748 : x2 = XEXP (x1, 0);
2194 47748 : if (GET_MODE (x2) != i1
2195 47748 : || !register_operand (operands[1], i1))
2196 1406 : return -1;
2197 : return 0;
2198 : }
2199 :
2200 : int
2201 17 : pattern328 (rtx x1)
2202 : {
2203 17 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2204 17 : rtx x2;
2205 17 : int res ATTRIBUTE_UNUSED;
2206 17 : if (!memory_operand (operands[0], E_DImode)
2207 17 : || GET_MODE (x1) != E_DImode)
2208 : return -1;
2209 9 : x2 = XEXP (x1, 0);
2210 9 : switch (GET_MODE (x2))
2211 : {
2212 6 : case E_V8QImode:
2213 6 : return pattern124 (); /* [-1, 2] */
2214 :
2215 3 : case E_V4HImode:
2216 3 : switch (GET_MODE (operands[1]))
2217 : {
2218 0 : case E_V4SImode:
2219 0 : if (!register_operand (operands[1], E_V4SImode))
2220 0 : return -1;
2221 : return 3;
2222 :
2223 3 : case E_V4DImode:
2224 3 : if (!register_operand (operands[1], E_V4DImode))
2225 1 : return -1;
2226 : return 4;
2227 :
2228 : default:
2229 : return -1;
2230 : }
2231 :
2232 0 : case E_V2SImode:
2233 0 : if (!register_operand (operands[1], E_V2DImode))
2234 0 : return -1;
2235 : return 5;
2236 :
2237 : default:
2238 : return -1;
2239 : }
2240 : }
2241 :
2242 : int
2243 72088 : pattern337 (rtx x1)
2244 : {
2245 72088 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2246 72088 : rtx x2, x3, x4, x5, x6;
2247 72088 : int res ATTRIBUTE_UNUSED;
2248 72088 : x2 = XVECEXP (x1, 0, 0);
2249 72088 : switch (GET_CODE (x2))
2250 : {
2251 59537 : case CONST_INT:
2252 59537 : case CONST_WIDE_INT:
2253 59537 : case CONST_POLY_INT:
2254 59537 : case CONST_FIXED:
2255 59537 : case CONST_DOUBLE:
2256 59537 : case CONST_VECTOR:
2257 59537 : case CONST:
2258 59537 : case REG:
2259 59537 : case SUBREG:
2260 59537 : case MEM:
2261 59537 : case LABEL_REF:
2262 59537 : case SYMBOL_REF:
2263 59537 : case HIGH:
2264 59537 : operands[1] = x2;
2265 59537 : x3 = XVECEXP (x1, 0, 2);
2266 59537 : if (GET_CODE (x3) != CONST_INT)
2267 0 : return -1;
2268 : return 0;
2269 :
2270 108 : case US_MINUS:
2271 108 : x4 = XEXP (x2, 0);
2272 108 : operands[1] = x4;
2273 108 : x5 = XEXP (x2, 1);
2274 108 : operands[2] = x5;
2275 108 : x6 = XVECEXP (x1, 0, 1);
2276 108 : operands[3] = x6;
2277 108 : x3 = XVECEXP (x1, 0, 2);
2278 108 : operands[4] = x3;
2279 108 : if (!const_0_to_7_operand (operands[4], E_SImode))
2280 : return -1;
2281 108 : switch (GET_MODE (operands[0]))
2282 : {
2283 22 : case E_DImode:
2284 22 : if (pattern93 (x1,
2285 : E_V64QImode,
2286 : E_DImode) != 0)
2287 14 : return -1;
2288 : return 1;
2289 :
2290 44 : case E_SImode:
2291 44 : res = pattern336 (x1);
2292 44 : if (res >= 0)
2293 16 : return res + 2; /* [2, 3] */
2294 : return -1;
2295 :
2296 : default:
2297 : return -1;
2298 : }
2299 :
2300 : default:
2301 : return -1;
2302 : }
2303 : }
2304 :
2305 : int
2306 1222 : pattern346 (rtx x1)
2307 : {
2308 1222 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2309 1222 : rtx x2, x3, x4, x5, x6;
2310 1222 : int res ATTRIBUTE_UNUSED;
2311 1222 : x2 = XEXP (x1, 2);
2312 1222 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
2313 : return -1;
2314 1203 : x3 = XEXP (x1, 0);
2315 1203 : x4 = XEXP (x3, 0);
2316 1203 : x5 = XEXP (x4, 0);
2317 1203 : operands[1] = x5;
2318 1203 : x6 = XEXP (x1, 1);
2319 1203 : operands[2] = x6;
2320 1203 : switch (GET_MODE (operands[0]))
2321 : {
2322 3 : case E_V16SImode:
2323 3 : return pattern344 (x1,
2324 3 : E_V16SImode); /* [-1, 0] */
2325 :
2326 3 : case E_V8SImode:
2327 3 : if (pattern344 (x1,
2328 : E_V8SImode) != 0)
2329 0 : return -1;
2330 : return 1;
2331 :
2332 1086 : case E_V4SImode:
2333 1086 : if (pattern344 (x1,
2334 : E_V4SImode) != 0)
2335 642 : return -1;
2336 : return 2;
2337 :
2338 4 : case E_V8DImode:
2339 4 : res = pattern345 (x1,
2340 : E_V8DImode);
2341 4 : if (res >= 0)
2342 4 : return res + 3; /* [3, 4] */
2343 : return -1;
2344 :
2345 4 : case E_V4DImode:
2346 4 : res = pattern345 (x1,
2347 : E_V4DImode);
2348 4 : if (res >= 0)
2349 4 : return res + 5; /* [5, 6] */
2350 : return -1;
2351 :
2352 0 : case E_V2DImode:
2353 0 : res = pattern345 (x1,
2354 : E_V2DImode);
2355 0 : if (res >= 0)
2356 0 : return res + 7; /* [7, 8] */
2357 : return -1;
2358 :
2359 : default:
2360 : return -1;
2361 : }
2362 : }
2363 :
2364 : int
2365 157726 : pattern354 (rtx x1)
2366 : {
2367 157726 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2368 157726 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2369 157726 : rtx x10;
2370 157726 : int res ATTRIBUTE_UNUSED;
2371 157726 : x2 = XEXP (x1, 1);
2372 157726 : operands[2] = x2;
2373 157726 : x3 = XEXP (x1, 2);
2374 157726 : if (GET_MODE (x3) != E_QImode)
2375 : return -1;
2376 18894 : switch (GET_CODE (x3))
2377 : {
2378 5648 : case UNSPEC:
2379 5648 : if (XVECLEN (x3, 0) != 3
2380 5648 : || XINT (x3, 1) != 56)
2381 : return -1;
2382 5236 : x4 = XVECEXP (x3, 0, 0);
2383 5236 : operands[3] = x4;
2384 5236 : x5 = XVECEXP (x3, 0, 1);
2385 5236 : operands[4] = x5;
2386 5236 : x6 = XVECEXP (x3, 0, 2);
2387 5236 : operands[5] = x6;
2388 5236 : if (!const_0_to_31_operand (operands[5], E_SImode))
2389 : return -1;
2390 5236 : switch (GET_MODE (operands[0]))
2391 : {
2392 115 : case E_V8SFmode:
2393 115 : return pattern352 (x1,
2394 115 : E_V8SFmode); /* [-1, 0] */
2395 :
2396 181 : case E_V4SFmode:
2397 181 : if (pattern352 (x1,
2398 : E_V4SFmode) != 0)
2399 175 : return -1;
2400 : return 1;
2401 :
2402 155 : case E_V4DFmode:
2403 155 : if (pattern352 (x1,
2404 : E_V4DFmode) != 0)
2405 149 : return -1;
2406 : return 2;
2407 :
2408 121 : case E_V2DFmode:
2409 121 : if (pattern352 (x1,
2410 : E_V2DFmode) != 0)
2411 115 : return -1;
2412 : return 3;
2413 :
2414 : default:
2415 : return -1;
2416 : }
2417 :
2418 9 : case NOT:
2419 9 : x7 = XEXP (x3, 0);
2420 9 : if (GET_CODE (x7) != UNSPEC
2421 0 : || XVECLEN (x7, 0) != 3
2422 0 : || XINT (x7, 1) != 56
2423 0 : || GET_MODE (x7) != E_QImode)
2424 : return -1;
2425 0 : x8 = XVECEXP (x7, 0, 0);
2426 0 : operands[3] = x8;
2427 0 : x9 = XVECEXP (x7, 0, 1);
2428 0 : operands[4] = x9;
2429 0 : x10 = XVECEXP (x7, 0, 2);
2430 0 : operands[5] = x10;
2431 0 : if (!const_0_to_31_operand (operands[5], E_SImode))
2432 : return -1;
2433 0 : switch (GET_MODE (operands[0]))
2434 : {
2435 0 : case E_V8SFmode:
2436 0 : if (pattern353 (x1,
2437 : E_V8SFmode) != 0)
2438 0 : return -1;
2439 : return 4;
2440 :
2441 0 : case E_V4SFmode:
2442 0 : if (pattern353 (x1,
2443 : E_V4SFmode) != 0)
2444 0 : return -1;
2445 : return 5;
2446 :
2447 0 : case E_V4DFmode:
2448 0 : if (pattern353 (x1,
2449 : E_V4DFmode) != 0)
2450 0 : return -1;
2451 : return 6;
2452 :
2453 0 : case E_V2DFmode:
2454 0 : if (pattern353 (x1,
2455 : E_V2DFmode) != 0)
2456 0 : return -1;
2457 : return 7;
2458 :
2459 : default:
2460 : return -1;
2461 : }
2462 :
2463 : default:
2464 : return -1;
2465 : }
2466 : }
2467 :
2468 : int
2469 748 : pattern360 (rtx x1)
2470 : {
2471 748 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2472 748 : rtx x2;
2473 748 : int res ATTRIBUTE_UNUSED;
2474 748 : x2 = XVECEXP (x1, 0, 0);
2475 748 : operands[1] = x2;
2476 748 : switch (GET_MODE (operands[0]))
2477 : {
2478 272 : case E_V16SImode:
2479 272 : if (!register_operand (operands[0], E_V16SImode)
2480 256 : || GET_MODE (x1) != E_V16SImode
2481 528 : || !vector_operand (operands[1], E_V16SFmode))
2482 24 : return -1;
2483 : return 0;
2484 :
2485 244 : case E_V8SImode:
2486 244 : if (!register_operand (operands[0], E_V8SImode)
2487 228 : || GET_MODE (x1) != E_V8SImode
2488 472 : || !vector_operand (operands[1], E_V8SFmode))
2489 20 : return -1;
2490 : return 1;
2491 :
2492 232 : case E_V4SImode:
2493 232 : if (!register_operand (operands[0], E_V4SImode)
2494 228 : || GET_MODE (x1) != E_V4SImode
2495 460 : || !vector_operand (operands[1], E_V4SFmode))
2496 8 : return -1;
2497 : return 2;
2498 :
2499 : default:
2500 : return -1;
2501 : }
2502 : }
2503 :
2504 : int
2505 232 : pattern363 (rtx x1)
2506 : {
2507 232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2508 232 : rtx x2;
2509 232 : int res ATTRIBUTE_UNUSED;
2510 232 : x2 = XVECEXP (x1, 0, 0);
2511 232 : operands[1] = x2;
2512 232 : switch (GET_MODE (operands[0]))
2513 : {
2514 116 : case E_V32QImode:
2515 116 : if (!nonimmediate_operand (operands[0], E_V32QImode)
2516 116 : || GET_MODE (x1) != E_V32QImode
2517 232 : || !register_operand (operands[1], E_V64QImode))
2518 0 : return -1;
2519 : return 0;
2520 :
2521 116 : case E_V16QImode:
2522 116 : if (!nonimmediate_operand (operands[0], E_V16QImode)
2523 116 : || GET_MODE (x1) != E_V16QImode
2524 232 : || !register_operand (operands[1], E_V32QImode))
2525 0 : return -1;
2526 : return 1;
2527 :
2528 : default:
2529 : return -1;
2530 : }
2531 : }
2532 :
2533 : int
2534 1151 : pattern365 (rtx x1, rtx_code i1)
2535 : {
2536 1151 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2537 1151 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2538 1151 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
2539 1151 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
2540 1151 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
2541 1151 : rtx x34, x35, x36, x37, x38, x39;
2542 1151 : int res ATTRIBUTE_UNUSED;
2543 1151 : x2 = XEXP (x1, 0);
2544 1151 : x3 = XEXP (x2, 0);
2545 1151 : x4 = XEXP (x3, 0);
2546 1151 : if (GET_CODE (x4) != VEC_SELECT)
2547 : return -1;
2548 1092 : x5 = XEXP (x4, 1);
2549 1092 : if (GET_CODE (x5) != PARALLEL
2550 1092 : || XVECLEN (x5, 0) != 1)
2551 : return -1;
2552 1092 : x6 = XVECEXP (x5, 0, 0);
2553 1092 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2554 : return -1;
2555 1092 : x7 = XEXP (x3, 1);
2556 1092 : if (GET_CODE (x7) != VEC_SELECT)
2557 : return -1;
2558 1092 : x8 = XEXP (x7, 1);
2559 1092 : if (GET_CODE (x8) != PARALLEL
2560 1092 : || XVECLEN (x8, 0) != 1)
2561 : return -1;
2562 1092 : x9 = XVECEXP (x8, 0, 0);
2563 1092 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
2564 : return -1;
2565 1092 : x10 = XEXP (x2, 1);
2566 1092 : if (GET_CODE (x10) != i1)
2567 : return -1;
2568 1066 : x11 = XEXP (x10, 0);
2569 1066 : if (GET_CODE (x11) != VEC_SELECT)
2570 : return -1;
2571 1066 : x12 = XEXP (x11, 1);
2572 1066 : if (GET_CODE (x12) != PARALLEL
2573 1066 : || XVECLEN (x12, 0) != 1)
2574 : return -1;
2575 1066 : x13 = XVECEXP (x12, 0, 0);
2576 1066 : if (GET_CODE (x13) != CONST_INT)
2577 : return -1;
2578 1066 : x14 = XEXP (x10, 1);
2579 1066 : if (GET_CODE (x14) != VEC_SELECT)
2580 : return -1;
2581 1066 : x15 = XEXP (x14, 1);
2582 1066 : if (GET_CODE (x15) != PARALLEL
2583 1066 : || XVECLEN (x15, 0) != 1)
2584 : return -1;
2585 1066 : x16 = XVECEXP (x15, 0, 0);
2586 1066 : if (GET_CODE (x16) != CONST_INT)
2587 : return -1;
2588 1066 : x17 = XEXP (x1, 1);
2589 1066 : if (GET_CODE (x17) != VEC_CONCAT)
2590 : return -1;
2591 1066 : x18 = XEXP (x17, 0);
2592 1066 : if (GET_CODE (x18) != i1)
2593 : return -1;
2594 1066 : x19 = XEXP (x18, 0);
2595 1066 : if (GET_CODE (x19) != VEC_SELECT)
2596 : return -1;
2597 1066 : x20 = XEXP (x19, 1);
2598 1066 : if (GET_CODE (x20) != PARALLEL
2599 1066 : || XVECLEN (x20, 0) != 1)
2600 : return -1;
2601 1066 : x21 = XVECEXP (x20, 0, 0);
2602 1066 : if (GET_CODE (x21) != CONST_INT)
2603 : return -1;
2604 1066 : x22 = XEXP (x18, 1);
2605 1066 : if (GET_CODE (x22) != VEC_SELECT)
2606 : return -1;
2607 1066 : x23 = XEXP (x22, 1);
2608 1066 : if (GET_CODE (x23) != PARALLEL
2609 1066 : || XVECLEN (x23, 0) != 1)
2610 : return -1;
2611 1066 : x24 = XVECEXP (x23, 0, 0);
2612 1066 : if (GET_CODE (x24) != CONST_INT)
2613 : return -1;
2614 1066 : x25 = XEXP (x17, 1);
2615 1066 : if (GET_CODE (x25) != i1)
2616 : return -1;
2617 1066 : x26 = XEXP (x25, 0);
2618 1066 : if (GET_CODE (x26) != VEC_SELECT)
2619 : return -1;
2620 1066 : x27 = XEXP (x26, 1);
2621 1066 : if (GET_CODE (x27) != PARALLEL
2622 1066 : || XVECLEN (x27, 0) != 1)
2623 : return -1;
2624 1066 : x28 = XVECEXP (x27, 0, 0);
2625 1066 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2626 : return -1;
2627 1066 : x29 = XEXP (x25, 1);
2628 1066 : if (GET_CODE (x29) != VEC_SELECT)
2629 : return -1;
2630 1066 : x30 = XEXP (x29, 1);
2631 1066 : if (GET_CODE (x30) != PARALLEL
2632 1066 : || XVECLEN (x30, 0) != 1)
2633 : return -1;
2634 1066 : x31 = XVECEXP (x30, 0, 0);
2635 1066 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
2636 : return -1;
2637 1066 : x32 = XEXP (x4, 0);
2638 1066 : operands[1] = x32;
2639 1066 : x33 = XEXP (x7, 0);
2640 1066 : if (!rtx_equal_p (x33, operands[1]))
2641 : return -1;
2642 1066 : switch (XWINT (x13, 0))
2643 : {
2644 208 : case 0L:
2645 208 : if (XWINT (x16, 0) != 1L
2646 208 : || XWINT (x21, 0) != 2L
2647 208 : || XWINT (x24, 0) != 3L
2648 208 : || !register_operand (operands[0], E_V4DFmode)
2649 204 : || GET_MODE (x1) != E_V4DFmode
2650 204 : || GET_MODE (x2) != E_V2DFmode
2651 204 : || GET_MODE (x3) != E_DFmode
2652 204 : || GET_MODE (x4) != E_DFmode
2653 204 : || !register_operand (operands[1], E_V4DFmode)
2654 180 : || GET_MODE (x7) != E_DFmode
2655 180 : || GET_MODE (x10) != E_DFmode
2656 388 : || GET_MODE (x11) != E_DFmode)
2657 : return -1;
2658 180 : x34 = XEXP (x11, 0);
2659 180 : operands[2] = x34;
2660 180 : if (!nonimmediate_operand (operands[2], E_V4DFmode)
2661 156 : || GET_MODE (x14) != E_DFmode
2662 156 : || GET_MODE (x17) != E_V2DFmode
2663 156 : || GET_MODE (x18) != E_DFmode
2664 156 : || GET_MODE (x19) != E_DFmode
2665 156 : || GET_MODE (x22) != E_DFmode
2666 156 : || GET_MODE (x25) != E_DFmode
2667 156 : || GET_MODE (x26) != E_DFmode
2668 336 : || GET_MODE (x29) != E_DFmode)
2669 : return -1;
2670 156 : x35 = XEXP (x14, 0);
2671 156 : if (!rtx_equal_p (x35, operands[2]))
2672 : return -1;
2673 156 : x36 = XEXP (x19, 0);
2674 156 : if (!rtx_equal_p (x36, operands[1]))
2675 : return -1;
2676 156 : x37 = XEXP (x22, 0);
2677 156 : if (!rtx_equal_p (x37, operands[1]))
2678 : return -1;
2679 156 : x38 = XEXP (x26, 0);
2680 156 : if (!rtx_equal_p (x38, operands[2]))
2681 : return -1;
2682 156 : x39 = XEXP (x29, 0);
2683 156 : if (!rtx_equal_p (x39, operands[2]))
2684 0 : return -1;
2685 : return 0;
2686 :
2687 858 : case 2L:
2688 858 : if (XWINT (x16, 0) != 3L
2689 858 : || XWINT (x21, 0) != 0L
2690 858 : || XWINT (x24, 0) != 1L
2691 858 : || !register_operand (operands[0], E_V4SFmode)
2692 858 : || GET_MODE (x1) != E_V4SFmode
2693 858 : || GET_MODE (x2) != E_V2SFmode
2694 858 : || GET_MODE (x3) != E_SFmode
2695 858 : || GET_MODE (x4) != E_SFmode
2696 858 : || !register_operand (operands[1], E_V4SFmode)
2697 674 : || GET_MODE (x7) != E_SFmode
2698 674 : || GET_MODE (x10) != E_SFmode
2699 674 : || GET_MODE (x11) != E_SFmode
2700 674 : || GET_MODE (x14) != E_SFmode
2701 674 : || GET_MODE (x17) != E_V2SFmode
2702 674 : || GET_MODE (x18) != E_SFmode
2703 1532 : || GET_MODE (x19) != E_SFmode)
2704 : return -1;
2705 674 : x36 = XEXP (x19, 0);
2706 674 : operands[2] = x36;
2707 674 : if (!vector_operand (operands[2], E_V4SFmode)
2708 674 : || GET_MODE (x22) != E_SFmode
2709 674 : || GET_MODE (x25) != E_SFmode
2710 674 : || GET_MODE (x26) != E_SFmode
2711 1348 : || GET_MODE (x29) != E_SFmode)
2712 : return -1;
2713 674 : x34 = XEXP (x11, 0);
2714 674 : if (!rtx_equal_p (x34, operands[1]))
2715 : return -1;
2716 674 : x35 = XEXP (x14, 0);
2717 674 : if (!rtx_equal_p (x35, operands[1]))
2718 : return -1;
2719 674 : x37 = XEXP (x22, 0);
2720 674 : if (!rtx_equal_p (x37, operands[2]))
2721 : return -1;
2722 674 : x38 = XEXP (x26, 0);
2723 674 : if (!rtx_equal_p (x38, operands[2]))
2724 : return -1;
2725 674 : x39 = XEXP (x29, 0);
2726 674 : if (!rtx_equal_p (x39, operands[2]))
2727 0 : return -1;
2728 : return 1;
2729 :
2730 : default:
2731 : return -1;
2732 : }
2733 : }
2734 :
2735 : int
2736 206745 : pattern398 (rtx x1)
2737 : {
2738 206745 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2739 206745 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2740 206745 : rtx x10;
2741 206745 : int res ATTRIBUTE_UNUSED;
2742 206745 : x2 = XVECEXP (x1, 0, 0);
2743 206745 : x3 = XEXP (x2, 1);
2744 206745 : x4 = XEXP (x3, 1);
2745 206745 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2746 : return -1;
2747 57083 : x5 = XEXP (x2, 0);
2748 57083 : if (GET_CODE (x5) != REG
2749 57083 : || REGNO (x5) != 17)
2750 : return -1;
2751 57083 : x6 = XEXP (x3, 0);
2752 57083 : x7 = XEXP (x6, 0);
2753 57083 : operands[1] = x7;
2754 57083 : x8 = XEXP (x6, 1);
2755 57083 : operands[2] = x8;
2756 57083 : x9 = XVECEXP (x1, 0, 1);
2757 57083 : switch (GET_CODE (x9))
2758 : {
2759 50453 : case SET:
2760 50453 : x10 = XEXP (x9, 0);
2761 50453 : operands[0] = x10;
2762 50453 : return 0;
2763 :
2764 6630 : case CLOBBER:
2765 6630 : x10 = XEXP (x9, 0);
2766 6630 : operands[0] = x10;
2767 6630 : switch (GET_MODE (x6))
2768 : {
2769 139 : case E_QImode:
2770 139 : if (!nonimmediate_operand (operands[1], E_QImode)
2771 136 : || !const_1_to_31_operand (operands[2], E_QImode)
2772 275 : || !scratch_operand (operands[0], E_QImode))
2773 3 : return -1;
2774 : return 1;
2775 :
2776 241 : case E_HImode:
2777 241 : if (!nonimmediate_operand (operands[1], E_HImode)
2778 224 : || !const_1_to_31_operand (operands[2], E_QImode)
2779 465 : || !scratch_operand (operands[0], E_HImode))
2780 20 : return -1;
2781 : return 2;
2782 :
2783 160 : case E_SImode:
2784 160 : if (!nonimmediate_operand (operands[1], E_SImode)
2785 120 : || !const_1_to_31_operand (operands[2], E_QImode)
2786 280 : || !scratch_operand (operands[0], E_SImode))
2787 48 : return -1;
2788 : return 3;
2789 :
2790 6090 : case E_DImode:
2791 6090 : if (!nonimmediate_operand (operands[1], E_DImode)
2792 4259 : || !const_1_to_63_operand (operands[2], E_QImode)
2793 10349 : || !scratch_operand (operands[0], E_DImode))
2794 1834 : return -1;
2795 : return 4;
2796 :
2797 : default:
2798 : return -1;
2799 : }
2800 :
2801 : default:
2802 : return -1;
2803 : }
2804 : }
2805 :
2806 : int
2807 21797 : pattern411 (rtx x1)
2808 : {
2809 21797 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2810 21797 : rtx x2, x3, x4, x5, x6;
2811 21797 : int res ATTRIBUTE_UNUSED;
2812 21797 : x2 = XEXP (x1, 0);
2813 21797 : operands[0] = x2;
2814 21797 : x3 = XEXP (x1, 1);
2815 21797 : x4 = XEXP (x3, 1);
2816 21797 : x5 = XEXP (x4, 0);
2817 21797 : operands[2] = x5;
2818 21797 : if (!register_operand (operands[2], E_QImode))
2819 : return -1;
2820 18851 : x6 = XEXP (x4, 1);
2821 18851 : operands[3] = x6;
2822 18851 : if (!const_int_operand (operands[3], E_QImode))
2823 : return -1;
2824 18101 : return pattern410 (x3); /* [-1, 1] */
2825 : }
2826 :
2827 : int
2828 9156853 : pattern413 (rtx x1)
2829 : {
2830 9156853 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2831 9156853 : rtx x2, x3, x4, x5, x6, x7;
2832 9156853 : int res ATTRIBUTE_UNUSED;
2833 9156853 : x2 = XVECEXP (x1, 0, 0);
2834 9156853 : x3 = XEXP (x2, 1);
2835 9156853 : x4 = XEXP (x3, 0);
2836 9156853 : operands[1] = x4;
2837 9156853 : x5 = XEXP (x3, 1);
2838 9156853 : switch (GET_CODE (x5))
2839 : {
2840 : case CONST_INT:
2841 : case CONST_WIDE_INT:
2842 : case CONST_POLY_INT:
2843 : case CONST_FIXED:
2844 : case CONST_DOUBLE:
2845 : case CONST_VECTOR:
2846 : case CONST:
2847 : case REG:
2848 : case SUBREG:
2849 : case LABEL_REF:
2850 : case SYMBOL_REF:
2851 : case HIGH:
2852 : return 0;
2853 :
2854 4865 : case AND:
2855 4865 : if (GET_MODE (x5) != E_QImode)
2856 : return -1;
2857 4601 : x6 = XVECEXP (x1, 0, 1);
2858 4601 : if (GET_CODE (x6) != CLOBBER)
2859 : return -1;
2860 4430 : x7 = XEXP (x6, 0);
2861 4430 : if (GET_CODE (x7) != REG
2862 4430 : || REGNO (x7) != 17
2863 8860 : || GET_MODE (x7) != E_CCmode)
2864 : return -1;
2865 4430 : res = pattern409 (x2);
2866 4430 : if (res >= 0)
2867 3421 : return res + 1; /* [1, 3] */
2868 : return -1;
2869 :
2870 20041 : case PLUS:
2871 20041 : if (GET_MODE (x5) != E_QImode)
2872 : return -1;
2873 20041 : x6 = XVECEXP (x1, 0, 1);
2874 20041 : if (GET_CODE (x6) != CLOBBER)
2875 : return -1;
2876 17930 : x7 = XEXP (x6, 0);
2877 17930 : if (GET_CODE (x7) != REG
2878 17930 : || REGNO (x7) != 17
2879 35860 : || GET_MODE (x7) != E_CCmode)
2880 : return -1;
2881 17930 : res = pattern411 (x2);
2882 17930 : if (res >= 0)
2883 13982 : return res + 4; /* [4, 5] */
2884 : return -1;
2885 :
2886 15714 : case MINUS:
2887 15714 : if (GET_MODE (x5) != E_QImode)
2888 : return -1;
2889 15682 : x6 = XVECEXP (x1, 0, 1);
2890 15682 : if (GET_CODE (x6) != CLOBBER)
2891 : return -1;
2892 12188 : x7 = XEXP (x6, 0);
2893 12188 : if (GET_CODE (x7) != REG
2894 12188 : || REGNO (x7) != 17
2895 24376 : || GET_MODE (x7) != E_CCmode)
2896 : return -1;
2897 12188 : res = pattern412 (x2);
2898 12188 : if (res >= 0)
2899 2520 : return res + 6; /* [6, 7] */
2900 : return -1;
2901 :
2902 : default:
2903 : return -1;
2904 : }
2905 : }
2906 :
2907 : int
2908 3346 : pattern428 (rtx x1)
2909 : {
2910 3346 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2911 3346 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2912 3346 : rtx x10, x11;
2913 3346 : int res ATTRIBUTE_UNUSED;
2914 3346 : x2 = XVECEXP (x1, 0, 1);
2915 3346 : if (GET_CODE (x2) != CLOBBER)
2916 : return -1;
2917 3346 : x3 = XVECEXP (x1, 0, 2);
2918 3346 : if (GET_CODE (x3) != CLOBBER)
2919 : return -1;
2920 3346 : x4 = XVECEXP (x1, 0, 0);
2921 3346 : x5 = XEXP (x4, 0);
2922 3346 : operands[0] = x5;
2923 3346 : x6 = XEXP (x4, 1);
2924 3346 : x7 = XEXP (x6, 0);
2925 3346 : operands[1] = x7;
2926 3346 : if (!register_operand (operands[1], E_DImode))
2927 : return -1;
2928 3343 : x8 = XEXP (x2, 0);
2929 3343 : operands[2] = x8;
2930 3343 : if (!memory_operand (operands[2], E_DImode))
2931 : return -1;
2932 3343 : x9 = XEXP (x3, 0);
2933 3343 : operands[3] = x9;
2934 3343 : if (!scratch_operand (operands[3], E_V4SImode))
2935 : return -1;
2936 3343 : x10 = XVECEXP (x1, 0, 3);
2937 3343 : x11 = XEXP (x10, 0);
2938 3343 : operands[4] = x11;
2939 3343 : if (!scratch_operand (operands[4], E_V4SImode))
2940 : return -1;
2941 3343 : return pattern427 (x6); /* [-1, 2] */
2942 : }
2943 :
2944 : int
2945 17094792 : pattern436 (rtx x1, machine_mode i1, unsigned int i2)
2946 : {
2947 17094792 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2948 17094792 : rtx x2, x3;
2949 17094792 : int res ATTRIBUTE_UNUSED;
2950 17094792 : x2 = XEXP (x1, 0);
2951 17094792 : if (GET_CODE (x2) != REG
2952 17094792 : || REGNO (x2) != i2
2953 34189584 : || GET_MODE (x2) != i1)
2954 : return -1;
2955 12708012 : x3 = XEXP (x1, 1);
2956 12708012 : if (GET_MODE (x3) != i1)
2957 0 : return -1;
2958 : return 0;
2959 : }
2960 :
2961 : int
2962 29730 : pattern440 (rtx x1)
2963 : {
2964 29730 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2965 29730 : rtx x2, x3, x4, x5, x6, x7, x8;
2966 29730 : int res ATTRIBUTE_UNUSED;
2967 29730 : x2 = XVECEXP (x1, 0, 1);
2968 29730 : if (GET_CODE (x2) != CLOBBER)
2969 : return -1;
2970 29730 : x3 = XEXP (x2, 0);
2971 29730 : if (GET_CODE (x3) != REG
2972 29730 : || REGNO (x3) != 17
2973 56477 : || GET_MODE (x3) != E_CCmode)
2974 : return -1;
2975 26747 : x4 = XVECEXP (x1, 0, 0);
2976 26747 : x5 = XEXP (x4, 1);
2977 26747 : x6 = XEXP (x5, 1);
2978 26747 : switch (GET_CODE (x6))
2979 : {
2980 63 : case AND:
2981 63 : if (GET_MODE (x6) != E_QImode)
2982 : return -1;
2983 63 : x7 = XEXP (x4, 0);
2984 63 : operands[0] = x7;
2985 63 : x8 = XEXP (x5, 0);
2986 63 : operands[1] = x8;
2987 63 : return pattern246 (x5); /* [-1, 3] */
2988 :
2989 19 : case PLUS:
2990 19 : if (GET_MODE (x6) != E_QImode)
2991 : return -1;
2992 19 : x7 = XEXP (x4, 0);
2993 19 : operands[0] = x7;
2994 19 : x8 = XEXP (x5, 0);
2995 19 : operands[1] = x8;
2996 19 : res = pattern247 (x5);
2997 19 : if (res >= 0)
2998 8 : return res + 4; /* [4, 7] */
2999 : return -1;
3000 :
3001 7 : case MINUS:
3002 7 : if (GET_MODE (x6) != E_QImode)
3003 : return -1;
3004 7 : x7 = XEXP (x4, 0);
3005 7 : operands[0] = x7;
3006 7 : x8 = XEXP (x5, 0);
3007 7 : operands[1] = x8;
3008 7 : res = pattern248 (x5);
3009 7 : if (res >= 0)
3010 5 : return res + 8; /* [8, 11] */
3011 : return -1;
3012 :
3013 : case CONST_INT:
3014 : case CONST_WIDE_INT:
3015 : case CONST_POLY_INT:
3016 : case CONST_FIXED:
3017 : case CONST_DOUBLE:
3018 : case CONST_VECTOR:
3019 : case CONST:
3020 : case REG:
3021 : case SUBREG:
3022 : case LABEL_REF:
3023 : case SYMBOL_REF:
3024 : case HIGH:
3025 : return 12;
3026 :
3027 : default:
3028 : return -1;
3029 : }
3030 : }
3031 :
3032 : int
3033 2793 : pattern448 (rtx x1)
3034 : {
3035 2793 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3036 2793 : rtx x2, x3, x4, x5, x6, x7;
3037 2793 : int res ATTRIBUTE_UNUSED;
3038 2793 : x2 = XEXP (x1, 0);
3039 2793 : x3 = XEXP (x2, 0);
3040 2793 : if (GET_CODE (x3) != VEC_SELECT)
3041 : return -1;
3042 1414 : x4 = XEXP (x3, 0);
3043 1414 : if (GET_CODE (x4) != SUBREG
3044 1414 : || maybe_ne (SUBREG_BYTE (x4), 0))
3045 : return -1;
3046 381 : x5 = XEXP (x3, 1);
3047 381 : if (GET_CODE (x5) != PARALLEL)
3048 : return -1;
3049 381 : x6 = XEXP (x1, 1);
3050 381 : operands[2] = x6;
3051 381 : x7 = XEXP (x1, 2);
3052 381 : operands[3] = x7;
3053 381 : return pattern447 (x1); /* [-1, 8] */
3054 : }
3055 :
3056 : int
3057 9005216 : pattern453 (rtx x1, machine_mode i1)
3058 : {
3059 9005216 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3060 9005216 : rtx x2, x3, x4, x5, x6, x7, x8;
3061 9005216 : int res ATTRIBUTE_UNUSED;
3062 9005216 : if (!general_reg_operand (operands[0], i1)
3063 3913094 : || GET_CODE (x1) != PARALLEL
3064 9737390 : || XVECLEN (x1, 0) != 2)
3065 : return -1;
3066 703354 : x2 = XVECEXP (x1, 0, 0);
3067 703354 : if (GET_CODE (x2) != SET)
3068 : return -1;
3069 699904 : x3 = XEXP (x2, 1);
3070 699904 : if (!commutative_operator (x3, i1))
3071 : return -1;
3072 222909 : operands[3] = x3;
3073 222909 : x4 = XVECEXP (x1, 0, 1);
3074 222909 : if (GET_CODE (x4) != CLOBBER)
3075 : return -1;
3076 222895 : x5 = XEXP (x4, 0);
3077 222895 : if (GET_CODE (x5) != REG
3078 222895 : || REGNO (x5) != 17
3079 445790 : || GET_MODE (x5) != E_CCmode)
3080 : return -1;
3081 222895 : x6 = XEXP (x3, 1);
3082 222895 : operands[2] = x6;
3083 222895 : if (!memory_operand (operands[2], i1))
3084 : return -1;
3085 44901 : x7 = XEXP (x3, 0);
3086 44901 : if (!rtx_equal_p (x7, operands[0]))
3087 : return -1;
3088 43424 : x8 = XEXP (x2, 0);
3089 43424 : if (!rtx_equal_p (x8, operands[0]))
3090 0 : return -1;
3091 : return 0;
3092 : }
3093 :
3094 : int
3095 4321439 : pattern459 (rtx x1, int *pnum_clobbers)
3096 : {
3097 4321439 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3098 4321439 : rtx x2, x3, x4;
3099 4321439 : int res ATTRIBUTE_UNUSED;
3100 4321439 : x2 = XEXP (x1, 0);
3101 4321439 : switch (GET_CODE (x2))
3102 : {
3103 4318612 : case REG:
3104 4318612 : case SUBREG:
3105 4318612 : case MEM:
3106 4318612 : operands[0] = x2;
3107 4318612 : return 0;
3108 :
3109 170 : case STRICT_LOW_PART:
3110 170 : if (pnum_clobbers == NULL)
3111 : return -1;
3112 170 : x3 = XEXP (x2, 0);
3113 170 : operands[0] = x3;
3114 170 : if (!nonmemory_operand (operands[2], E_QImode))
3115 : return -1;
3116 149 : x4 = XEXP (x1, 1);
3117 149 : res = pattern44 (x4);
3118 149 : if (res >= 0)
3119 103 : return res + 1; /* [1, 2] */
3120 : return -1;
3121 :
3122 : default:
3123 : return -1;
3124 : }
3125 : }
3126 :
3127 : int
3128 380 : pattern464 (rtx x1, machine_mode i1)
3129 : {
3130 380 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3131 380 : rtx x2, x3;
3132 380 : int res ATTRIBUTE_UNUSED;
3133 380 : if (!register_operand (operands[0], i1)
3134 380 : || GET_MODE (x1) != i1)
3135 : return -1;
3136 313 : x2 = XEXP (x1, 0);
3137 313 : if (GET_MODE (x2) != i1)
3138 : return -1;
3139 313 : x3 = XEXP (x2, 0);
3140 313 : if (GET_MODE (x3) != i1
3141 313 : || !register_no_SP_operand (operands[1], i1)
3142 300 : || !register_operand (operands[3], i1)
3143 583 : || !immediate_operand (operands[4], i1))
3144 88 : return -1;
3145 : return 0;
3146 : }
3147 :
3148 : int
3149 117 : pattern469 (rtx x1, machine_mode i1)
3150 : {
3151 117 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3152 117 : rtx x2;
3153 117 : int res ATTRIBUTE_UNUSED;
3154 117 : if (!nonimmediate_operand (operands[0], i1)
3155 117 : || GET_MODE (x1) != i1
3156 234 : || !general_operand (operands[1], i1))
3157 : return -1;
3158 117 : x2 = XEXP (x1, 1);
3159 117 : if (GET_MODE (x2) != i1)
3160 0 : return -1;
3161 : return 0;
3162 : }
3163 :
3164 : int
3165 1724850 : pattern472 (rtx x1, int i1)
3166 : {
3167 1724850 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3168 1724850 : rtx x2, x3;
3169 1724850 : int res ATTRIBUTE_UNUSED;
3170 1724850 : x2 = XEXP (x1, 1);
3171 1724850 : if (GET_CODE (x2) != CONST
3172 137797 : || GET_MODE (x2) != E_SImode)
3173 : return -1;
3174 137797 : x3 = XEXP (x2, 0);
3175 137797 : if (GET_CODE (x3) != UNSPEC
3176 133137 : || XVECLEN (x3, 0) != 1
3177 133137 : || XINT (x3, 1) != i1
3178 0 : || GET_MODE (x3) != E_SImode
3179 0 : || !register_operand (operands[0], E_SImode)
3180 137797 : || GET_MODE (x1) != E_SImode)
3181 137797 : return -1;
3182 : return 0;
3183 : }
3184 :
3185 : int
3186 9184 : pattern478 (rtx x1, int *pnum_clobbers)
3187 : {
3188 9184 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3189 9184 : rtx x2, x3, x4;
3190 9184 : int res ATTRIBUTE_UNUSED;
3191 9184 : if (pnum_clobbers == NULL)
3192 : return -1;
3193 9184 : x2 = XEXP (x1, 1);
3194 9184 : x3 = XEXP (x2, 1);
3195 9184 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3196 : return -1;
3197 7225 : x4 = XEXP (x2, 0);
3198 7225 : operands[2] = x4;
3199 7225 : if (!int_nonimmediate_operand (operands[2], E_VOIDmode))
3200 : return -1;
3201 3768 : switch (GET_MODE (operands[0]))
3202 : {
3203 208 : case E_SImode:
3204 208 : return pattern477 (x1,
3205 208 : E_SImode); /* [-1, 0] */
3206 :
3207 3415 : case E_DImode:
3208 3415 : if (pattern477 (x1,
3209 : E_DImode) != 0)
3210 0 : return -1;
3211 : return 1;
3212 :
3213 : default:
3214 : return -1;
3215 : }
3216 : }
3217 :
3218 : int
3219 1141 : pattern485 (rtx x1)
3220 : {
3221 1141 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3222 1141 : rtx x2, x3, x4;
3223 1141 : int res ATTRIBUTE_UNUSED;
3224 1141 : x2 = XEXP (x1, 1);
3225 1141 : if (GET_CODE (x2) != PARALLEL
3226 1141 : || XVECLEN (x2, 0) != 1)
3227 : return -1;
3228 1004 : x3 = XVECEXP (x2, 0, 0);
3229 1004 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3230 : return -1;
3231 1004 : x4 = XEXP (x1, 0);
3232 1004 : operands[1] = x4;
3233 1004 : switch (GET_MODE (operands[0]))
3234 : {
3235 : case E_SImode:
3236 : return 0;
3237 :
3238 500 : case E_DImode:
3239 500 : return 1;
3240 :
3241 : default:
3242 : return -1;
3243 : }
3244 : }
3245 :
3246 : int
3247 4950 : pattern487 (rtx x1, machine_mode i1)
3248 : {
3249 4950 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3250 4950 : rtx x2;
3251 4950 : int res ATTRIBUTE_UNUSED;
3252 4950 : if (!register_operand (operands[0], i1)
3253 4950 : || GET_MODE (x1) != i1)
3254 : return -1;
3255 4470 : x2 = XEXP (x1, 0);
3256 4470 : if (GET_MODE (x2) != i1
3257 4470 : || !register_operand (operands[1], i1)
3258 8764 : || !nonimmediate_operand (operands[2], i1))
3259 527 : return -1;
3260 : return 0;
3261 : }
3262 :
3263 : int
3264 424 : pattern492 (rtx x1)
3265 : {
3266 424 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3267 424 : rtx x2, x3, x4, x5, x6;
3268 424 : int res ATTRIBUTE_UNUSED;
3269 424 : x2 = XEXP (x1, 0);
3270 424 : if (GET_MODE (x2) != E_V32HImode
3271 424 : || !register_operand (operands[0], E_V32HImode)
3272 824 : || GET_MODE (x1) != E_V32HImode)
3273 : return -1;
3274 400 : x3 = XVECEXP (x2, 0, 0);
3275 400 : operands[1] = x3;
3276 400 : if (!nonimmediate_operand (operands[1], E_V32HImode))
3277 : return -1;
3278 400 : x4 = XVECEXP (x2, 0, 1);
3279 400 : operands[2] = x4;
3280 400 : if (!const_0_to_255_operand (operands[2], E_SImode))
3281 : return -1;
3282 400 : x5 = XEXP (x1, 1);
3283 400 : operands[3] = x5;
3284 400 : if (!nonimm_or_0_operand (operands[3], E_V32HImode))
3285 : return -1;
3286 384 : x6 = XEXP (x1, 2);
3287 384 : operands[4] = x6;
3288 384 : if (!register_operand (operands[4], E_SImode))
3289 22 : return -1;
3290 : return 0;
3291 : }
3292 :
3293 : int
3294 2316 : pattern497 (rtx x1)
3295 : {
3296 2316 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3297 2316 : rtx x2, x3, x4, x5, x6;
3298 2316 : int res ATTRIBUTE_UNUSED;
3299 2316 : x2 = XEXP (x1, 0);
3300 2316 : x3 = XVECEXP (x2, 0, 0);
3301 2316 : operands[1] = x3;
3302 2316 : x4 = XVECEXP (x2, 0, 1);
3303 2316 : operands[2] = x4;
3304 2316 : x5 = XEXP (x1, 1);
3305 2316 : operands[3] = x5;
3306 2316 : x6 = XEXP (x1, 2);
3307 2316 : operands[4] = x6;
3308 2316 : switch (GET_MODE (operands[0]))
3309 : {
3310 1098 : case E_V16QImode:
3311 1098 : return pattern496 (x1,
3312 : E_HImode,
3313 : E_V16QImode,
3314 : E_V16HFmode,
3315 1098 : E_V32QImode); /* [-1, 0] */
3316 :
3317 1130 : case E_V32QImode:
3318 1130 : if (pattern496 (x1,
3319 : E_SImode,
3320 : E_V32QImode,
3321 : E_V32HFmode,
3322 : E_V64QImode) != 0)
3323 126 : return -1;
3324 : return 1;
3325 :
3326 : default:
3327 : return -1;
3328 : }
3329 : }
3330 :
3331 : int
3332 1048 : pattern502 (rtx x1, machine_mode i1, machine_mode i2)
3333 : {
3334 1048 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3335 1048 : rtx x2, x3;
3336 1048 : int res ATTRIBUTE_UNUSED;
3337 1048 : if (!register_operand (operands[0], i2)
3338 1048 : || GET_MODE (x1) != i2)
3339 : return -1;
3340 1020 : x2 = XEXP (x1, 0);
3341 1020 : if (GET_MODE (x2) != i2
3342 1020 : || !vector_operand (operands[1], i2)
3343 1016 : || !vector_operand (operands[2], i2)
3344 2036 : || !vector_operand (operands[3], i2))
3345 : return -1;
3346 1016 : x3 = XEXP (x1, 2);
3347 1016 : if (GET_MODE (x3) != i1
3348 1016 : || !register_operand (operands[4], E_QImode))
3349 90 : return -1;
3350 : return 0;
3351 : }
3352 :
3353 : int
3354 736 : pattern506 (rtx x1, machine_mode i1)
3355 : {
3356 736 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3357 736 : rtx x2;
3358 736 : int res ATTRIBUTE_UNUSED;
3359 736 : if (!register_operand (operands[0], i1)
3360 736 : || GET_MODE (x1) != i1)
3361 : return -1;
3362 674 : x2 = XEXP (x1, 0);
3363 674 : if (GET_MODE (x2) != i1
3364 674 : || !register_operand (operands[1], i1)
3365 649 : || !register_operand (operands[2], i1)
3366 623 : || !nonimmediate_operand (operands[3], i1)
3367 1297 : || !const0_operand (operands[4], i1))
3368 51 : return -1;
3369 : return 0;
3370 : }
3371 :
3372 : int
3373 7665 : pattern511 (rtx x1, machine_mode i1, machine_mode i2)
3374 : {
3375 7665 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3376 7665 : rtx x2;
3377 7665 : int res ATTRIBUTE_UNUSED;
3378 7665 : if (!register_operand (operands[0], i1)
3379 7665 : || GET_MODE (x1) != i1)
3380 : return -1;
3381 7331 : x2 = XEXP (x1, 0);
3382 7331 : if (GET_MODE (x2) != i1
3383 7331 : || !register_operand (operands[1], i1)
3384 7319 : || !register_operand (operands[2], i1)
3385 7319 : || !nonimmediate_operand (operands[3], i1)
3386 14650 : || !register_operand (operands[4], i2))
3387 340 : return -1;
3388 : return 0;
3389 : }
3390 :
3391 : int
3392 3840 : pattern514 (rtx x1)
3393 : {
3394 3840 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3395 3840 : rtx x2, x3, x4, x5, x6, x7;
3396 3840 : int res ATTRIBUTE_UNUSED;
3397 3840 : x2 = XEXP (x1, 0);
3398 3840 : x3 = XVECEXP (x2, 0, 0);
3399 3840 : operands[1] = x3;
3400 3840 : x4 = XVECEXP (x2, 0, 1);
3401 3840 : operands[2] = x4;
3402 3840 : x5 = XVECEXP (x2, 0, 2);
3403 3840 : operands[3] = x5;
3404 3840 : x6 = XEXP (x1, 1);
3405 3840 : switch (GET_CODE (x6))
3406 : {
3407 1900 : case REG:
3408 1900 : case SUBREG:
3409 1900 : if (!rtx_equal_p (x6, operands[1]))
3410 : return -1;
3411 1900 : x7 = XEXP (x1, 2);
3412 1900 : operands[4] = x7;
3413 1900 : switch (GET_MODE (operands[0]))
3414 : {
3415 216 : case E_V32HImode:
3416 216 : return pattern511 (x1,
3417 : E_V32HImode,
3418 216 : E_SImode); /* [-1, 0] */
3419 :
3420 210 : case E_V16SImode:
3421 210 : if (pattern511 (x1,
3422 : E_V16SImode,
3423 : E_HImode) != 0)
3424 18 : return -1;
3425 : return 1;
3426 :
3427 216 : case E_V8DImode:
3428 216 : if (pattern511 (x1,
3429 : E_V8DImode,
3430 : E_QImode) != 0)
3431 24 : return -1;
3432 : return 2;
3433 :
3434 216 : case E_V16HImode:
3435 216 : if (pattern511 (x1,
3436 : E_V16HImode,
3437 : E_HImode) != 0)
3438 22 : return -1;
3439 : return 3;
3440 :
3441 210 : case E_V8SImode:
3442 210 : if (pattern511 (x1,
3443 : E_V8SImode,
3444 : E_QImode) != 0)
3445 18 : return -1;
3446 : return 4;
3447 :
3448 216 : case E_V4DImode:
3449 216 : if (pattern511 (x1,
3450 : E_V4DImode,
3451 : E_QImode) != 0)
3452 24 : return -1;
3453 : return 5;
3454 :
3455 210 : case E_V8HImode:
3456 210 : if (pattern511 (x1,
3457 : E_V8HImode,
3458 : E_QImode) != 0)
3459 16 : return -1;
3460 : return 6;
3461 :
3462 200 : case E_V4SImode:
3463 200 : if (pattern511 (x1,
3464 : E_V4SImode,
3465 : E_QImode) != 0)
3466 10 : return -1;
3467 : return 7;
3468 :
3469 206 : case E_V2DImode:
3470 206 : if (pattern511 (x1,
3471 : E_V2DImode,
3472 : E_QImode) != 0)
3473 16 : return -1;
3474 : return 8;
3475 :
3476 : default:
3477 : return -1;
3478 : }
3479 :
3480 1908 : case CONST_INT:
3481 1908 : case CONST_DOUBLE:
3482 1908 : case CONST_VECTOR:
3483 1908 : operands[4] = x6;
3484 1908 : x7 = XEXP (x1, 2);
3485 1908 : operands[5] = x7;
3486 1908 : switch (GET_MODE (operands[0]))
3487 : {
3488 216 : case E_V32HImode:
3489 216 : if (pattern513 (x1,
3490 : E_V32HImode,
3491 : E_SImode) != 0)
3492 26 : return -1;
3493 : return 9;
3494 :
3495 214 : case E_V16SImode:
3496 214 : if (pattern513 (x1,
3497 : E_V16SImode,
3498 : E_HImode) != 0)
3499 26 : return -1;
3500 : return 10;
3501 :
3502 220 : case E_V8DImode:
3503 220 : if (pattern513 (x1,
3504 : E_V8DImode,
3505 : E_QImode) != 0)
3506 32 : return -1;
3507 : return 11;
3508 :
3509 214 : case E_V16HImode:
3510 214 : if (pattern513 (x1,
3511 : E_V16HImode,
3512 : E_HImode) != 0)
3513 22 : return -1;
3514 : return 12;
3515 :
3516 212 : case E_V8SImode:
3517 212 : if (pattern513 (x1,
3518 : E_V8SImode,
3519 : E_QImode) != 0)
3520 22 : return -1;
3521 : return 13;
3522 :
3523 218 : case E_V4DImode:
3524 218 : if (pattern513 (x1,
3525 : E_V4DImode,
3526 : E_QImode) != 0)
3527 28 : return -1;
3528 : return 14;
3529 :
3530 206 : case E_V8HImode:
3531 206 : if (pattern513 (x1,
3532 : E_V8HImode,
3533 : E_QImode) != 0)
3534 14 : return -1;
3535 : return 15;
3536 :
3537 202 : case E_V4SImode:
3538 202 : if (pattern513 (x1,
3539 : E_V4SImode,
3540 : E_QImode) != 0)
3541 12 : return -1;
3542 : return 16;
3543 :
3544 206 : case E_V2DImode:
3545 206 : if (pattern513 (x1,
3546 : E_V2DImode,
3547 : E_QImode) != 0)
3548 18 : return -1;
3549 : return 17;
3550 :
3551 : default:
3552 : return -1;
3553 : }
3554 :
3555 : default:
3556 : return -1;
3557 : }
3558 : }
3559 :
3560 : int
3561 696 : pattern529 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
3562 : {
3563 696 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3564 696 : rtx x2, x3, x4;
3565 696 : int res ATTRIBUTE_UNUSED;
3566 696 : if (!register_operand (operands[0], i2)
3567 696 : || GET_MODE (x1) != i2)
3568 : return -1;
3569 678 : x2 = XEXP (x1, 0);
3570 678 : if (GET_MODE (x2) != i1)
3571 : return -1;
3572 678 : x3 = XEXP (x2, 0);
3573 678 : if (GET_MODE (x3) != i1
3574 678 : || !nonimmediate_operand (operands[1], i3))
3575 : return -1;
3576 678 : x4 = XEXP (x2, 1);
3577 678 : if (GET_MODE (x4) != i1
3578 678 : || !nonimm_or_0_operand (operands[2], i2)
3579 1351 : || !const0_operand (operands[4], i1))
3580 5 : return -1;
3581 : return 0;
3582 : }
3583 :
3584 : int
3585 1794 : pattern533 (rtx x1)
3586 : {
3587 1794 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3588 1794 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3589 1794 : rtx x10, x11, x12, x13;
3590 1794 : int res ATTRIBUTE_UNUSED;
3591 1794 : x2 = XEXP (x1, 0);
3592 1794 : x3 = XEXP (x2, 0);
3593 1794 : x4 = XEXP (x3, 0);
3594 1794 : operands[1] = x4;
3595 1794 : x5 = XEXP (x1, 1);
3596 1794 : operands[4] = x5;
3597 1794 : x6 = XEXP (x2, 1);
3598 1794 : switch (GET_CODE (x6))
3599 : {
3600 1290 : case VEC_SELECT:
3601 1290 : x7 = XEXP (x6, 1);
3602 1290 : if (GET_CODE (x7) != PARALLEL)
3603 : return -1;
3604 1290 : x8 = XEXP (x6, 0);
3605 1290 : operands[2] = x8;
3606 1290 : x9 = XEXP (x2, 2);
3607 1290 : operands[3] = x9;
3608 1290 : switch (XVECLEN (x7, 0))
3609 : {
3610 626 : case 4:
3611 626 : x10 = XVECEXP (x7, 0, 0);
3612 626 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3613 : return -1;
3614 626 : x11 = XVECEXP (x7, 0, 1);
3615 626 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3616 : return -1;
3617 626 : x12 = XVECEXP (x7, 0, 2);
3618 626 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
3619 : return -1;
3620 626 : x13 = XVECEXP (x7, 0, 3);
3621 626 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
3622 626 : || !register_operand (operands[0], E_V8HFmode)
3623 612 : || GET_MODE (x1) != E_V8HFmode
3624 612 : || GET_MODE (x2) != E_V4HFmode
3625 612 : || GET_MODE (x3) != E_V4HFmode
3626 612 : || GET_MODE (x6) != E_V4HFmode
3627 1238 : || !nonimm_or_0_operand (operands[2], E_V8HFmode))
3628 : return -1;
3629 610 : return pattern528 (); /* [-1, 1] */
3630 :
3631 664 : case 2:
3632 664 : res = pattern530 (x1,
3633 : E_V2DImode);
3634 664 : if (res >= 0)
3635 646 : return res + 2; /* [2, 3] */
3636 : return -1;
3637 :
3638 : default:
3639 : return -1;
3640 : }
3641 :
3642 504 : case CONST_INT:
3643 504 : case CONST_DOUBLE:
3644 504 : case CONST_VECTOR:
3645 504 : operands[3] = x6;
3646 504 : x9 = XEXP (x2, 2);
3647 504 : operands[2] = x9;
3648 504 : switch (GET_MODE (operands[0]))
3649 : {
3650 378 : case E_V8HFmode:
3651 378 : if (!register_operand (operands[0], E_V8HFmode)
3652 378 : || GET_MODE (x1) != E_V8HFmode)
3653 : return -1;
3654 360 : switch (GET_MODE (x2))
3655 : {
3656 240 : case E_V4HFmode:
3657 240 : if (GET_MODE (x3) != E_V4HFmode
3658 240 : || !const0_operand (operands[3], E_V4HFmode))
3659 : return -1;
3660 240 : res = pattern528 ();
3661 240 : if (res >= 0)
3662 240 : return res + 4; /* [4, 5] */
3663 : return -1;
3664 :
3665 120 : case E_V2HFmode:
3666 120 : if (pattern531 (x3,
3667 : E_V2DImode) != 0)
3668 0 : return -1;
3669 : return 6;
3670 :
3671 : default:
3672 : return -1;
3673 : }
3674 :
3675 126 : case E_V4SFmode:
3676 126 : if (pattern532 (x1,
3677 : E_V2DImode) != 0)
3678 4 : return -1;
3679 : return 7;
3680 :
3681 : default:
3682 : return -1;
3683 : }
3684 :
3685 : default:
3686 : return -1;
3687 : }
3688 : }
3689 :
3690 : int
3691 1468 : pattern549 (rtx x1)
3692 : {
3693 1468 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3694 1468 : int res ATTRIBUTE_UNUSED;
3695 1468 : if (!register_operand (operands[0], E_V2DFmode)
3696 1468 : || GET_MODE (x1) != E_V2DFmode)
3697 : return -1;
3698 1292 : switch (GET_MODE (operands[1]))
3699 : {
3700 1090 : case E_V2SImode:
3701 1090 : if (!nonimmediate_operand (operands[1], E_V2SImode))
3702 95 : return -1;
3703 : return 0;
3704 :
3705 194 : case E_V2DImode:
3706 194 : if (!nonimmediate_operand (operands[1], E_V2DImode))
3707 2 : return -1;
3708 : return 1;
3709 :
3710 : default:
3711 : return -1;
3712 : }
3713 : }
3714 :
3715 : int
3716 8 : pattern552 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
3717 : {
3718 8 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3719 8 : rtx x2, x3;
3720 8 : int res ATTRIBUTE_UNUSED;
3721 8 : if (!register_operand (operands[0], i1)
3722 8 : || GET_MODE (x1) != i1)
3723 : return -1;
3724 8 : x2 = XEXP (x1, 0);
3725 8 : if (GET_MODE (x2) != i3)
3726 : return -1;
3727 8 : x3 = XEXP (x2, 0);
3728 8 : if (GET_MODE (x3) != i1
3729 8 : || !nonimmediate_operand (operands[1], i2)
3730 8 : || !const0_operand (operands[2], i2)
3731 16 : || !const0_operand (operands[3], i1))
3732 0 : return -1;
3733 : return 0;
3734 : }
3735 :
3736 : int
3737 51 : pattern556 (rtx x1, machine_mode i1, machine_mode i2)
3738 : {
3739 51 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3740 51 : rtx x2;
3741 51 : int res ATTRIBUTE_UNUSED;
3742 51 : if (!nonimmediate_operand (operands[0], i2)
3743 51 : || GET_MODE (x1) != i2)
3744 : return -1;
3745 51 : x2 = XEXP (x1, 0);
3746 51 : if (GET_MODE (x2) != i1
3747 51 : || !register_operand (operands[1], i1)
3748 94 : || !permvar_truncate_operand (operands[2], i1))
3749 39 : return -1;
3750 : return 0;
3751 : }
3752 :
3753 : int
3754 1217 : pattern558 (rtx x1, machine_mode i1)
3755 : {
3756 1217 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3757 1217 : int res ATTRIBUTE_UNUSED;
3758 1217 : if (!register_operand (operands[0], i1)
3759 1065 : || GET_MODE (x1) != i1
3760 1065 : || !ieee_maxmin_comparison_operator (operands[1], i1)
3761 1065 : || !nonimmediate_operand (operands[2], i1)
3762 1033 : || !const0_operand (operands[3], i1)
3763 1413 : || !nonimmediate_operand (operands[4], i1))
3764 1021 : return -1;
3765 : return 0;
3766 : }
3767 :
3768 : int
3769 151 : pattern560 (rtx x1, machine_mode i1)
3770 : {
3771 151 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3772 151 : rtx x2;
3773 151 : int res ATTRIBUTE_UNUSED;
3774 151 : if (!register_operand (operands[0], i1)
3775 151 : || GET_MODE (x1) != i1)
3776 : return -1;
3777 151 : x2 = XEXP (x1, 0);
3778 151 : if (GET_MODE (x2) != i1
3779 151 : || !register_operand (operands[1], i1)
3780 107 : || !register_operand (operands[2], i1)
3781 258 : || !const1_operand (operands[3], i1))
3782 151 : return -1;
3783 : return 0;
3784 : }
3785 :
3786 : int
3787 19065 : pattern562 (rtx x1)
3788 : {
3789 19065 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3790 19065 : int res ATTRIBUTE_UNUSED;
3791 19065 : switch (GET_MODE (operands[0]))
3792 : {
3793 18662 : case E_V8HImode:
3794 18662 : if (!register_operand (operands[0], E_V8HImode)
3795 18662 : || GET_MODE (x1) != E_V8HImode)
3796 46 : return -1;
3797 : return 0;
3798 :
3799 239 : case E_V8SImode:
3800 239 : if (!register_operand (operands[0], E_V8SImode)
3801 239 : || GET_MODE (x1) != E_V8SImode)
3802 28 : return -1;
3803 : return 1;
3804 :
3805 164 : case E_V8DImode:
3806 164 : if (!register_operand (operands[0], E_V8DImode)
3807 164 : || GET_MODE (x1) != E_V8DImode)
3808 28 : return -1;
3809 : return 2;
3810 :
3811 : default:
3812 : return -1;
3813 : }
3814 : }
3815 :
3816 : int
3817 55 : pattern566 (rtx x1, machine_mode i1)
3818 : {
3819 55 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3820 55 : int res ATTRIBUTE_UNUSED;
3821 55 : if (!register_operand (operands[0], i1)
3822 55 : || GET_MODE (x1) != i1
3823 55 : || !nonimmediate_operand (operands[1], i1)
3824 110 : || !register_operand (operands[2], i1))
3825 0 : return -1;
3826 : return 0;
3827 : }
3828 :
3829 : int
3830 55 : pattern567 (rtx x1)
3831 : {
3832 55 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3833 55 : rtx x2, x3, x4, x5;
3834 55 : int res ATTRIBUTE_UNUSED;
3835 55 : x2 = XVECEXP (x1, 0, 1);
3836 55 : x3 = XVECEXP (x2, 0, 0);
3837 55 : operands[2] = x3;
3838 55 : switch (GET_MODE (operands[0]))
3839 : {
3840 28 : case E_SImode:
3841 28 : x4 = XVECEXP (x1, 0, 0);
3842 28 : x5 = XEXP (x4, 1);
3843 28 : return pattern566 (x5,
3844 28 : E_SImode); /* [-1, 0] */
3845 :
3846 27 : case E_DImode:
3847 27 : x4 = XVECEXP (x1, 0, 0);
3848 27 : x5 = XEXP (x4, 1);
3849 27 : if (pattern566 (x5,
3850 : E_DImode) != 0)
3851 0 : return -1;
3852 : return 1;
3853 :
3854 : default:
3855 : return -1;
3856 : }
3857 : }
3858 :
3859 : int
3860 85 : pattern569 (rtx x1, int i1)
3861 : {
3862 85 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3863 85 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3864 85 : int res ATTRIBUTE_UNUSED;
3865 85 : x2 = XVECEXP (x1, 0, 0);
3866 85 : x3 = XEXP (x2, 1);
3867 85 : if (GET_MODE (x3) != E_XFmode)
3868 : return -1;
3869 85 : x4 = XVECEXP (x1, 0, 1);
3870 85 : if (GET_CODE (x4) != SET)
3871 : return -1;
3872 85 : x5 = XEXP (x4, 1);
3873 85 : if (GET_CODE (x5) != UNSPEC
3874 85 : || XVECLEN (x5, 0) != 1
3875 85 : || XINT (x5, 1) != i1
3876 85 : || GET_MODE (x5) != E_XFmode)
3877 : return -1;
3878 85 : x6 = XEXP (x2, 0);
3879 85 : operands[0] = x6;
3880 85 : if (!register_operand (operands[0], E_XFmode))
3881 : return -1;
3882 85 : x7 = XVECEXP (x3, 0, 0);
3883 85 : operands[2] = x7;
3884 85 : if (!register_operand (operands[2], E_XFmode))
3885 : return -1;
3886 49 : x8 = XEXP (x4, 0);
3887 49 : operands[1] = x8;
3888 49 : if (!register_operand (operands[1], E_XFmode))
3889 : return -1;
3890 49 : x9 = XVECEXP (x5, 0, 0);
3891 49 : if (!rtx_equal_p (x9, operands[2]))
3892 0 : return -1;
3893 : return 0;
3894 : }
3895 :
3896 : int
3897 46493 : pattern571 (rtx x1)
3898 : {
3899 46493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3900 46493 : int res ATTRIBUTE_UNUSED;
3901 46493 : switch (GET_MODE (operands[0]))
3902 : {
3903 13162 : case E_HImode:
3904 13162 : if (!nonimmediate_operand (operands[0], E_HImode)
3905 13162 : || GET_MODE (x1) != E_HImode)
3906 0 : return -1;
3907 : return 0;
3908 :
3909 10751 : case E_SImode:
3910 10751 : if (!nonimmediate_operand (operands[0], E_SImode)
3911 10751 : || GET_MODE (x1) != E_SImode)
3912 0 : return -1;
3913 : return 1;
3914 :
3915 22580 : case E_DImode:
3916 22580 : if (!nonimmediate_operand (operands[0], E_DImode)
3917 22580 : || GET_MODE (x1) != E_DImode)
3918 6 : return -1;
3919 : return 2;
3920 :
3921 : default:
3922 : return -1;
3923 : }
3924 : }
3925 :
3926 : int
3927 1248 : pattern574 (rtx x1)
3928 : {
3929 1248 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3930 1248 : rtx x2, x3, x4, x5, x6, x7, x8;
3931 1248 : int res ATTRIBUTE_UNUSED;
3932 1248 : x2 = XVECEXP (x1, 0, 0);
3933 1248 : x3 = XEXP (x2, 1);
3934 1248 : if (GET_MODE (x3) != E_V2SFmode)
3935 : return -1;
3936 140 : x4 = XVECEXP (x1, 0, 1);
3937 140 : if (GET_CODE (x4) != UNSPEC
3938 140 : || XVECLEN (x4, 0) != 1
3939 140 : || XINT (x4, 1) != 109)
3940 : return -1;
3941 140 : x5 = XVECEXP (x4, 0, 0);
3942 140 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3943 : return -1;
3944 140 : x6 = XEXP (x2, 0);
3945 140 : operands[0] = x6;
3946 140 : if (!register_operand (operands[0], E_V2SFmode))
3947 : return -1;
3948 140 : x7 = XVECEXP (x3, 0, 0);
3949 140 : operands[1] = x7;
3950 140 : if (!register_operand (operands[1], E_V2SFmode))
3951 : return -1;
3952 126 : x8 = XVECEXP (x3, 0, 1);
3953 126 : operands[2] = x8;
3954 126 : if (!nonimmediate_operand (operands[2], E_V2SFmode))
3955 0 : return -1;
3956 : return 0;
3957 : }
3958 :
3959 : int
3960 68924704 : pattern580 (rtx x1)
3961 : {
3962 68924704 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3963 68924704 : rtx x2, x3, x4, x5, x6;
3964 68924704 : int res ATTRIBUTE_UNUSED;
3965 68924704 : x2 = XVECEXP (x1, 0, 0);
3966 68924704 : x3 = XEXP (x2, 1);
3967 68924704 : x4 = XEXP (x3, 1);
3968 68924704 : operands[2] = x4;
3969 68924704 : x5 = XEXP (x2, 0);
3970 68924704 : switch (GET_CODE (x5))
3971 : {
3972 68918753 : case REG:
3973 68918753 : case SUBREG:
3974 68918753 : case MEM:
3975 68918753 : operands[0] = x5;
3976 68918753 : x6 = XVECEXP (x1, 0, 1);
3977 68918753 : switch (GET_CODE (x6))
3978 : {
3979 : case CLOBBER:
3980 : return 0;
3981 :
3982 9891 : case UNSPEC:
3983 9891 : return 1;
3984 :
3985 : default:
3986 : return -1;
3987 : }
3988 :
3989 894 : case STRICT_LOW_PART:
3990 894 : res = pattern579 (x1);
3991 894 : if (res >= 0)
3992 681 : return res + 2; /* [2, 3] */
3993 : return -1;
3994 :
3995 : default:
3996 : return -1;
3997 : }
3998 : }
3999 :
4000 : int
4001 369831 : pattern584 (rtx x1, machine_mode i1, machine_mode i2)
4002 : {
4003 369831 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4004 369831 : int res ATTRIBUTE_UNUSED;
4005 369831 : if (!register_operand (operands[0], i2)
4006 369770 : || GET_MODE (x1) != i2
4007 739601 : || pattern583 (x1,
4008 : i1,
4009 : i2) != 0)
4010 18843 : return -1;
4011 : return 0;
4012 : }
4013 :
4014 : int
4015 1254263 : pattern586 (rtx x1, machine_mode i1)
4016 : {
4017 1254263 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4018 1254263 : int res ATTRIBUTE_UNUSED;
4019 1254263 : if (!nonimmediate_operand (operands[0], i1)
4020 1254251 : || GET_MODE (x1) != i1
4021 1254251 : || !nonimmediate_operand (operands[1], i1)
4022 2500110 : || !x86_64_hilo_general_operand (operands[2], i1))
4023 32636 : return -1;
4024 : return 0;
4025 : }
4026 :
4027 : int
4028 4474 : pattern589 (rtx x1, machine_mode i1)
4029 : {
4030 4474 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4031 4474 : int res ATTRIBUTE_UNUSED;
4032 4474 : if (!nonimmediate_operand (operands[0], i1)
4033 4474 : || GET_MODE (x1) != i1
4034 4474 : || !nonimmediate_operand (operands[1], i1)
4035 8945 : || !nonimmediate_or_x86_64_const_vector_operand (operands[2], i1))
4036 3 : return -1;
4037 : return 0;
4038 : }
4039 :
4040 : int
4041 2448445 : pattern592 (rtx x1)
4042 : {
4043 2448445 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4044 2448445 : rtx x2, x3, x4, x5, x6, x7;
4045 2448445 : int res ATTRIBUTE_UNUSED;
4046 2448445 : x2 = XVECEXP (x1, 0, 0);
4047 2448445 : x3 = XEXP (x2, 1);
4048 2448445 : x4 = XEXP (x3, 1);
4049 2448445 : operands[2] = x4;
4050 2448445 : x5 = XEXP (x2, 0);
4051 2448445 : switch (GET_CODE (x5))
4052 : {
4053 1227 : case STRICT_LOW_PART:
4054 1227 : return pattern579 (x1); /* [-1, 1] */
4055 :
4056 2447218 : case REG:
4057 2447218 : case SUBREG:
4058 2447218 : case MEM:
4059 2447218 : operands[0] = x5;
4060 2447218 : x6 = XVECEXP (x1, 0, 1);
4061 2447218 : switch (GET_CODE (x6))
4062 : {
4063 2380034 : case CLOBBER:
4064 2380034 : x7 = XEXP (x6, 0);
4065 2380034 : if (GET_CODE (x7) != REG
4066 2380034 : || REGNO (x7) != 17
4067 4760068 : || GET_MODE (x7) != E_CCmode)
4068 : return -1;
4069 2380034 : switch (GET_MODE (operands[0]))
4070 : {
4071 779982 : case E_DImode:
4072 779982 : if (!nonimmediate_operand (operands[0], E_DImode)
4073 779789 : || GET_MODE (x3) != E_DImode
4074 1559771 : || !nonimmediate_operand (operands[1], E_DImode))
4075 3690 : return -1;
4076 : return 2;
4077 :
4078 31273 : case E_TImode:
4079 31273 : if (pattern586 (x3,
4080 : E_TImode) != 0)
4081 424 : return -1;
4082 : return 3;
4083 :
4084 104997 : case E_HImode:
4085 104997 : if (pattern587 (x3,
4086 : E_HImode) != 0)
4087 4854 : return -1;
4088 : return 4;
4089 :
4090 869328 : case E_SImode:
4091 869328 : if (pattern588 (x3) != 0)
4092 21048 : return -1;
4093 : return 5;
4094 :
4095 1405 : case E_V4QImode:
4096 1405 : if (pattern589 (x3,
4097 : E_V4QImode) != 0)
4098 3 : return -1;
4099 : return 6;
4100 :
4101 725 : case E_V2QImode:
4102 725 : if (pattern589 (x3,
4103 : E_V2QImode) != 0)
4104 0 : return -1;
4105 : return 7;
4106 :
4107 604 : case E_V2HImode:
4108 604 : if (pattern589 (x3,
4109 : E_V2HImode) != 0)
4110 0 : return -1;
4111 : return 8;
4112 :
4113 : default:
4114 : return -1;
4115 : }
4116 :
4117 4571 : case UNSPEC:
4118 4571 : res = pattern591 (x1);
4119 4571 : if (res >= 0)
4120 4568 : return res + 9; /* [9, 12] */
4121 : return -1;
4122 :
4123 : default:
4124 : return -1;
4125 : }
4126 :
4127 : default:
4128 : return -1;
4129 : }
4130 : }
4131 :
4132 : int
4133 888 : pattern607 (rtx x1, machine_mode i1)
4134 : {
4135 888 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4136 888 : rtx x2, x3, x4, x5, x6;
4137 888 : int res ATTRIBUTE_UNUSED;
4138 888 : if (!extract_high_operator (operands[3], i1))
4139 : return -1;
4140 888 : x2 = XEXP (x1, 0);
4141 888 : if (GET_MODE (x2) != i1)
4142 : return -1;
4143 888 : x3 = XEXP (x1, 1);
4144 888 : if (GET_MODE (x3) != i1)
4145 : return -1;
4146 888 : x4 = XEXP (x3, 0);
4147 888 : x5 = XEXP (x4, 0);
4148 888 : x6 = XEXP (x5, 0);
4149 888 : if (GET_MODE (x6) != i1)
4150 0 : return -1;
4151 : return 0;
4152 : }
4153 :
4154 : int
4155 317661 : pattern610 (rtx x1, rtx_code i1)
4156 : {
4157 317661 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4158 317661 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4159 317661 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
4160 317661 : rtx x18;
4161 317661 : int res ATTRIBUTE_UNUSED;
4162 317661 : x2 = XVECEXP (x1, 0, 0);
4163 317661 : x3 = XEXP (x2, 1);
4164 317661 : x4 = XEXP (x3, 0);
4165 317661 : if (GET_MODE (x4) != E_QImode)
4166 : return -1;
4167 48584 : x5 = XEXP (x4, 0);
4168 48584 : if (GET_CODE (x5) != SUBREG
4169 1318 : || maybe_ne (SUBREG_BYTE (x5), 0)
4170 49902 : || GET_MODE (x5) != E_QImode)
4171 : return -1;
4172 1318 : x6 = XEXP (x5, 0);
4173 1318 : switch (GET_CODE (x6))
4174 : {
4175 235 : case ASHIFTRT:
4176 235 : case LSHIFTRT:
4177 235 : case SIGN_EXTRACT:
4178 235 : case ZERO_EXTRACT:
4179 235 : operands[3] = x6;
4180 235 : x7 = XEXP (x3, 1);
4181 235 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4182 : return -1;
4183 213 : x8 = XVECEXP (x1, 0, 1);
4184 213 : if (GET_CODE (x8) != SET)
4185 : return -1;
4186 0 : x9 = XEXP (x8, 1);
4187 0 : if (GET_CODE (x9) != SUBREG
4188 0 : || maybe_ne (SUBREG_BYTE (x9), 0))
4189 : return -1;
4190 0 : x10 = XEXP (x9, 0);
4191 0 : if (GET_CODE (x10) != i1
4192 0 : || GET_MODE (x10) != E_QImode)
4193 : return -1;
4194 0 : x11 = XEXP (x10, 0);
4195 0 : if (GET_CODE (x11) != SUBREG
4196 0 : || maybe_ne (SUBREG_BYTE (x11), 0)
4197 0 : || GET_MODE (x11) != E_QImode)
4198 : return -1;
4199 0 : x12 = XEXP (x11, 0);
4200 0 : if (GET_CODE (x12) != ZERO_EXTRACT)
4201 : return -1;
4202 0 : x13 = XEXP (x12, 1);
4203 0 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
4204 : return -1;
4205 0 : x14 = XEXP (x12, 2);
4206 0 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
4207 : return -1;
4208 0 : x15 = XEXP (x8, 0);
4209 0 : if (GET_CODE (x15) != ZERO_EXTRACT)
4210 : return -1;
4211 0 : x16 = XEXP (x15, 1);
4212 0 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
4213 : return -1;
4214 0 : x17 = XEXP (x15, 2);
4215 0 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
4216 : return -1;
4217 0 : x18 = XEXP (x2, 0);
4218 0 : operands[4] = x18;
4219 0 : if (!flags_reg_operand (operands[4], E_VOIDmode))
4220 : return -1;
4221 0 : operands[5] = x3;
4222 0 : if (!compare_operator (operands[5], E_VOIDmode))
4223 : return -1;
4224 0 : return pattern609 (x1); /* [-1, 2] */
4225 :
4226 : default:
4227 : return -1;
4228 : }
4229 : }
4230 :
4231 : int
4232 52 : pattern622 (rtx x1)
4233 : {
4234 52 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4235 52 : rtx x2, x3, x4;
4236 52 : int res ATTRIBUTE_UNUSED;
4237 52 : x2 = XVECEXP (x1, 0, 1);
4238 52 : x3 = XEXP (x2, 0);
4239 52 : operands[2] = x3;
4240 52 : x4 = XVECEXP (x1, 0, 2);
4241 52 : operands[3] = x4;
4242 52 : switch (GET_MODE (operands[0]))
4243 : {
4244 10 : case E_V32HFmode:
4245 10 : return pattern621 (x1,
4246 : E_V32HFmode,
4247 10 : E_V16SFmode); /* [-1, 0] */
4248 :
4249 10 : case E_V16HFmode:
4250 10 : if (pattern621 (x1,
4251 : E_V16HFmode,
4252 : E_V8SFmode) != 0)
4253 6 : return -1;
4254 : return 1;
4255 :
4256 32 : case E_V8HFmode:
4257 32 : if (pattern621 (x1,
4258 : E_V8HFmode,
4259 : E_V4SFmode) != 0)
4260 28 : return -1;
4261 : return 2;
4262 :
4263 : default:
4264 : return -1;
4265 : }
4266 : }
4267 :
4268 : int
4269 15532363 : pattern626 (rtx x1, machine_mode i1)
4270 : {
4271 15532363 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4272 15532363 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4273 15532363 : rtx x10, x11, x12, x13, x14, x15;
4274 15532363 : int res ATTRIBUTE_UNUSED;
4275 15532363 : x2 = XEXP (x1, 0);
4276 15532363 : operands[5] = x2;
4277 15532363 : if (!memory_operand (operands[5], i1))
4278 : return -1;
4279 3844363 : x3 = XEXP (x1, 1);
4280 3844363 : operands[0] = x3;
4281 3844363 : if (!general_reg_operand (operands[0], i1))
4282 : return -1;
4283 2498564 : x4 = PATTERN (peep2_next_insn (1));
4284 2498564 : if (GET_CODE (x4) != SET)
4285 : return -1;
4286 2297066 : x5 = XEXP (x4, 1);
4287 2297066 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4288 : return -1;
4289 100135 : x6 = XEXP (x4, 0);
4290 100135 : operands[1] = x6;
4291 100135 : if (!memory_operand (operands[1], i1))
4292 : return -1;
4293 45468 : x7 = PATTERN (peep2_next_insn (2));
4294 45468 : if (GET_CODE (x7) != SET)
4295 : return -1;
4296 43860 : x8 = XEXP (x7, 1);
4297 43860 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4298 : return -1;
4299 18042 : x9 = XEXP (x7, 0);
4300 18042 : operands[2] = x9;
4301 18042 : if (!memory_operand (operands[2], i1))
4302 : return -1;
4303 15493 : x10 = PATTERN (peep2_next_insn (3));
4304 15493 : if (GET_CODE (x10) != SET)
4305 : return -1;
4306 14650 : x11 = XEXP (x10, 1);
4307 14650 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4308 : return -1;
4309 7394 : x12 = XEXP (x10, 0);
4310 7394 : operands[3] = x12;
4311 7394 : if (!memory_operand (operands[3], i1))
4312 : return -1;
4313 6892 : x13 = PATTERN (peep2_next_insn (4));
4314 6892 : if (GET_CODE (x13) != SET)
4315 : return -1;
4316 6669 : x14 = XEXP (x13, 1);
4317 6669 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4318 : return -1;
4319 2207 : x15 = XEXP (x13, 0);
4320 2207 : operands[4] = x15;
4321 2207 : if (!memory_operand (operands[4], i1))
4322 191 : return -1;
4323 : return 0;
4324 : }
4325 :
4326 : int
4327 241900 : pattern635 (rtx x1)
4328 : {
4329 241900 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4330 241900 : rtx x2;
4331 241900 : int res ATTRIBUTE_UNUSED;
4332 241900 : x2 = XEXP (x1, 1);
4333 241900 : switch (GET_CODE (x2))
4334 : {
4335 9203 : case CONST_INT:
4336 9203 : case CONST_WIDE_INT:
4337 9203 : operands[3] = x2;
4338 9203 : switch (GET_MODE (operands[0]))
4339 : {
4340 487 : case E_QImode:
4341 487 : return pattern59 (x1,
4342 487 : E_QImode); /* [-1, 0] */
4343 :
4344 1734 : case E_HImode:
4345 1734 : if (pattern59 (x1,
4346 : E_HImode) != 0)
4347 1269 : return -1;
4348 : return 1;
4349 :
4350 8 : case E_TImode:
4351 8 : if (pattern60 (x1,
4352 : E_TImode) != 0)
4353 0 : return -1;
4354 : return 2;
4355 :
4356 : default:
4357 : return -1;
4358 : }
4359 :
4360 25923 : case ZERO_EXTEND:
4361 25923 : if (pattern634 (x1) != 0)
4362 24463 : return -1;
4363 : return 3;
4364 :
4365 : default:
4366 : return -1;
4367 : }
4368 : }
4369 :
4370 : int
4371 31928 : pattern639 (rtx x1, machine_mode i1)
4372 : {
4373 31928 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4374 31928 : rtx x2;
4375 31928 : int res ATTRIBUTE_UNUSED;
4376 31928 : if (!register_operand (operands[0], i1)
4377 31928 : || GET_MODE (x1) != i1)
4378 : return -1;
4379 31706 : x2 = XEXP (x1, 0);
4380 31706 : if (GET_MODE (x2) != i1
4381 31706 : || !register_operand (operands[1], i1)
4382 56779 : || !register_operand (operands[2], i1))
4383 19678 : return -1;
4384 : return 0;
4385 : }
4386 :
4387 : int
4388 5230 : pattern641 (rtx x1, machine_mode i1)
4389 : {
4390 5230 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4391 5230 : rtx x2;
4392 5230 : int res ATTRIBUTE_UNUSED;
4393 5230 : if (!register_operand (operands[0], i1)
4394 5230 : || GET_MODE (x1) != i1)
4395 : return -1;
4396 5062 : x2 = XEXP (x1, 0);
4397 5062 : if (GET_MODE (x2) != i1
4398 5062 : || !register_operand (operands[1], i1)
4399 10043 : || !vector_operand (operands[2], i1))
4400 404 : return -1;
4401 : return 0;
4402 : }
4403 :
4404 : int
4405 23499 : pattern644 (rtx x1)
4406 : {
4407 23499 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4408 23499 : rtx x2;
4409 23499 : int res ATTRIBUTE_UNUSED;
4410 23499 : x2 = XEXP (x1, 1);
4411 23499 : operands[2] = x2;
4412 23499 : if (!const_1_to_63_operand (operands[2], E_QImode)
4413 23454 : || !register_operand (operands[0], E_TImode)
4414 45 : || GET_MODE (x1) != E_TImode
4415 23544 : || !register_operand (operands[1], E_TImode))
4416 23479 : return -1;
4417 : return 0;
4418 : }
4419 :
4420 : int
4421 2267 : pattern648 ()
4422 : {
4423 2267 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4424 2267 : int res ATTRIBUTE_UNUSED;
4425 2267 : switch (GET_MODE (operands[1]))
4426 : {
4427 1131 : case E_V32QImode:
4428 1131 : if (!register_operand (operands[1], E_V32QImode)
4429 1131 : || !nonimmediate_operand (operands[2], E_V32QImode))
4430 0 : return -1;
4431 : return 0;
4432 :
4433 1136 : case E_V32HImode:
4434 1136 : if (!register_operand (operands[1], E_V32HImode)
4435 1136 : || !nonimmediate_operand (operands[2], E_V32HImode))
4436 0 : return -1;
4437 : return 1;
4438 :
4439 : default:
4440 : return -1;
4441 : }
4442 : }
4443 :
4444 : int
4445 1 : pattern652 (rtx x1)
4446 : {
4447 1 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4448 1 : rtx x2, x3;
4449 1 : int res ATTRIBUTE_UNUSED;
4450 1 : x2 = XEXP (x1, 0);
4451 1 : x3 = XVECEXP (x2, 0, 0);
4452 1 : operands[1] = x3;
4453 1 : switch (GET_MODE (operands[0]))
4454 : {
4455 0 : case E_DImode:
4456 0 : return pattern651 (x1,
4457 0 : E_DImode); /* [-1, 11] */
4458 :
4459 0 : case E_SImode:
4460 0 : res = pattern651 (x1,
4461 : E_SImode);
4462 0 : if (res >= 0)
4463 0 : return res + 12; /* [12, 23] */
4464 : return -1;
4465 :
4466 : default:
4467 : return -1;
4468 : }
4469 : }
4470 :
4471 : int
4472 656407 : pattern654 (rtx x1, machine_mode i1)
4473 : {
4474 656407 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4475 656407 : int res ATTRIBUTE_UNUSED;
4476 656407 : if (!register_operand (operands[0], i1)
4477 618391 : || GET_MODE (x1) != i1
4478 618391 : || !nonimmediate_operand (operands[1], i1)
4479 1239532 : || !x86_64_general_operand (operands[2], i1))
4480 203744 : return -1;
4481 : return 0;
4482 : }
4483 :
4484 : int
4485 814717 : pattern658 (rtx x1)
4486 : {
4487 814717 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4488 814717 : rtx x2, x3, x4, x5;
4489 814717 : int res ATTRIBUTE_UNUSED;
4490 814717 : x2 = XEXP (x1, 1);
4491 814717 : if (GET_CODE (x2) != SUBREG
4492 265521 : || maybe_ne (SUBREG_BYTE (x2), 0)
4493 1080238 : || GET_MODE (x2) != E_QImode)
4494 : return -1;
4495 263622 : x3 = XEXP (x2, 0);
4496 263622 : switch (GET_CODE (x3))
4497 : {
4498 18396 : case AND:
4499 18396 : return pattern481 (x1); /* [-1, 1] */
4500 :
4501 0 : case PLUS:
4502 0 : res = pattern481 (x1);
4503 0 : if (res >= 0)
4504 0 : return res + 2; /* [2, 3] */
4505 : return -1;
4506 :
4507 0 : case MINUS:
4508 0 : x4 = XEXP (x3, 0);
4509 0 : operands[3] = x4;
4510 0 : if (!const_int_operand (operands[3], E_VOIDmode))
4511 : return -1;
4512 0 : x5 = XEXP (x3, 1);
4513 0 : operands[2] = x5;
4514 0 : if (!int248_register_operand (operands[2], E_VOIDmode))
4515 : return -1;
4516 0 : res = pattern14 (x1);
4517 0 : if (res >= 0)
4518 0 : return res + 4; /* [4, 5] */
4519 : return -1;
4520 :
4521 : default:
4522 : return -1;
4523 : }
4524 : }
4525 :
4526 : int
4527 6092 : pattern669 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
4528 : {
4529 6092 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4530 6092 : rtx x2, x3, x4;
4531 6092 : int res ATTRIBUTE_UNUSED;
4532 6092 : x2 = XEXP (x1, 0);
4533 6092 : x3 = XVECEXP (x2, 0, 0);
4534 6092 : operands[1] = x3;
4535 6092 : x4 = XEXP (x1, 2);
4536 6092 : operands[3] = x4;
4537 6092 : switch (GET_MODE (operands[0]))
4538 : {
4539 2052 : case E_V32HImode:
4540 2052 : return pattern668 (x1,
4541 : E_V32HImode,
4542 : E_SImode,
4543 2052 : i1); /* [-1, 0] */
4544 :
4545 2040 : case E_V16HImode:
4546 2040 : if (pattern668 (x1,
4547 : E_V16HImode,
4548 : E_HImode,
4549 : i2) != 0)
4550 240 : return -1;
4551 : return 1;
4552 :
4553 2000 : case E_V8HImode:
4554 2000 : if (pattern668 (x1,
4555 : E_V8HImode,
4556 : E_QImode,
4557 : i3) != 0)
4558 184 : return -1;
4559 : return 2;
4560 :
4561 : default:
4562 : return -1;
4563 : }
4564 : }
4565 :
4566 : int
4567 1140 : pattern673 (rtx x1)
4568 : {
4569 1140 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4570 1140 : rtx x2, x3, x4;
4571 1140 : int res ATTRIBUTE_UNUSED;
4572 1140 : x2 = XEXP (x1, 0);
4573 1140 : x3 = XVECEXP (x2, 0, 0);
4574 1140 : operands[1] = x3;
4575 1140 : if (!nonimmediate_operand (operands[1], E_V16QImode))
4576 : return -1;
4577 1140 : x4 = XEXP (x1, 2);
4578 1140 : operands[3] = x4;
4579 1140 : switch (GET_MODE (operands[0]))
4580 : {
4581 380 : case E_V16SFmode:
4582 380 : return pattern176 (x1,
4583 : E_V16SFmode,
4584 380 : E_HImode); /* [-1, 0] */
4585 :
4586 380 : case E_V8SFmode:
4587 380 : if (pattern176 (x1,
4588 : E_V8SFmode,
4589 : E_QImode) != 0)
4590 20 : return -1;
4591 : return 1;
4592 :
4593 380 : case E_V4SFmode:
4594 380 : if (pattern176 (x1,
4595 : E_V4SFmode,
4596 : E_QImode) != 0)
4597 20 : return -1;
4598 : return 2;
4599 :
4600 : default:
4601 : return -1;
4602 : }
4603 : }
4604 :
4605 : int
4606 17890 : pattern677 (rtx x1)
4607 : {
4608 17890 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4609 17890 : rtx x2, x3;
4610 17890 : int res ATTRIBUTE_UNUSED;
4611 17890 : x2 = XEXP (x1, 1);
4612 17890 : switch (GET_CODE (x2))
4613 : {
4614 6353 : case CONST_INT:
4615 6353 : case CONST_DOUBLE:
4616 6353 : case CONST_VECTOR:
4617 6353 : operands[4] = x2;
4618 6353 : x3 = XEXP (x1, 2);
4619 6353 : switch (GET_CODE (x3))
4620 : {
4621 5376 : case REG:
4622 5376 : case SUBREG:
4623 5376 : operands[5] = x3;
4624 5376 : switch (GET_MODE (operands[0]))
4625 : {
4626 : case E_V32HFmode:
4627 : return 0;
4628 :
4629 714 : case E_V16HFmode:
4630 714 : return 1;
4631 :
4632 318 : case E_V8HFmode:
4633 318 : return 2;
4634 :
4635 973 : case E_V16SFmode:
4636 973 : return 3;
4637 :
4638 514 : case E_V8SFmode:
4639 514 : return 4;
4640 :
4641 346 : case E_V4SFmode:
4642 346 : return 5;
4643 :
4644 704 : case E_V8DFmode:
4645 704 : return 6;
4646 :
4647 534 : case E_V4DFmode:
4648 534 : return 7;
4649 :
4650 343 : case E_V2DFmode:
4651 343 : return 8;
4652 :
4653 279 : case E_V32BFmode:
4654 279 : return 9;
4655 :
4656 279 : case E_V16BFmode:
4657 279 : return 10;
4658 :
4659 279 : case E_V8BFmode:
4660 279 : return 11;
4661 :
4662 : default:
4663 : return -1;
4664 : }
4665 :
4666 670 : case CONST_INT:
4667 670 : if (XWINT (x3, 0) != 1L)
4668 : return -1;
4669 526 : switch (GET_MODE (operands[0]))
4670 : {
4671 : case E_V4SFmode:
4672 : return 12;
4673 :
4674 263 : case E_V2DFmode:
4675 263 : return 13;
4676 :
4677 : default:
4678 : return -1;
4679 : }
4680 :
4681 : default:
4682 : return -1;
4683 : }
4684 :
4685 11422 : case REG:
4686 11422 : case SUBREG:
4687 11422 : case MEM:
4688 11422 : res = pattern676 (x1);
4689 11422 : if (res >= 0)
4690 10541 : return res + 14; /* [14, 28] */
4691 : return -1;
4692 :
4693 : default:
4694 : return -1;
4695 : }
4696 : }
4697 :
4698 : int
4699 1005 : pattern689 (rtx x1)
4700 : {
4701 1005 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4702 1005 : rtx x2, x3, x4, x5;
4703 1005 : int res ATTRIBUTE_UNUSED;
4704 1005 : x2 = XVECEXP (x1, 0, 0);
4705 1005 : x3 = XEXP (x2, 2);
4706 1005 : operands[4] = x3;
4707 1005 : x4 = XEXP (x2, 1);
4708 1005 : operands[3] = x4;
4709 1005 : x5 = XVECEXP (x1, 0, 1);
4710 1005 : operands[5] = x5;
4711 1005 : switch (GET_MODE (operands[0]))
4712 : {
4713 293 : case E_V32HFmode:
4714 293 : return pattern685 (x1,
4715 : E_V32HFmode,
4716 293 : E_SImode); /* [-1, 0] */
4717 :
4718 356 : case E_V16SFmode:
4719 356 : if (pattern685 (x1,
4720 : E_V16SFmode,
4721 : E_HImode) != 0)
4722 4 : return -1;
4723 : return 1;
4724 :
4725 356 : case E_V8DFmode:
4726 356 : if (pattern685 (x1,
4727 : E_V8DFmode,
4728 : E_QImode) != 0)
4729 4 : return -1;
4730 : return 2;
4731 :
4732 : default:
4733 : return -1;
4734 : }
4735 : }
4736 :
4737 : int
4738 190 : pattern695 (rtx x1, machine_mode i1)
4739 : {
4740 190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4741 190 : rtx x2;
4742 190 : int res ATTRIBUTE_UNUSED;
4743 190 : if (!register_operand (operands[0], i1)
4744 187 : || GET_MODE (x1) != i1
4745 187 : || !register_operand (operands[1], i1)
4746 367 : || !vector_operand (operands[2], i1))
4747 : return -1;
4748 172 : x2 = XVECEXP (x1, 0, 2);
4749 172 : if (GET_MODE (x2) != i1
4750 172 : || !register_operand (operands[3], i1)
4751 336 : || !const0_operand (operands[4], i1))
4752 8 : return -1;
4753 : return 0;
4754 : }
4755 :
4756 : int
4757 419 : pattern699 (rtx x1, machine_mode i1, machine_mode i2)
4758 : {
4759 419 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4760 419 : rtx x2;
4761 419 : int res ATTRIBUTE_UNUSED;
4762 419 : if (!register_operand (operands[0], i2)
4763 410 : || GET_MODE (x1) != i2
4764 410 : || !vector_operand (operands[1], i2)
4765 579 : || !register_operand (operands[2], i2))
4766 : return -1;
4767 75 : x2 = XVECEXP (x1, 0, 2);
4768 75 : if (GET_MODE (x2) != i2
4769 75 : || !register_operand (operands[3], i1)
4770 141 : || !vector_all_ones_operand (operands[4], i1))
4771 75 : return -1;
4772 : return 0;
4773 : }
4774 :
4775 : int
4776 851 : pattern701 (rtx x1)
4777 : {
4778 851 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4779 851 : rtx x2, x3, x4, x5;
4780 851 : int res ATTRIBUTE_UNUSED;
4781 851 : x2 = XVECEXP (x1, 0, 1);
4782 851 : operands[2] = x2;
4783 851 : x3 = XVECEXP (x1, 0, 2);
4784 851 : x4 = XEXP (x3, 0);
4785 851 : operands[3] = x4;
4786 851 : x5 = XEXP (x3, 1);
4787 851 : operands[4] = x5;
4788 851 : switch (GET_MODE (operands[0]))
4789 : {
4790 50 : case E_V8SFmode:
4791 50 : return pattern699 (x1,
4792 : E_V8SImode,
4793 50 : E_V8SFmode); /* [-1, 0] */
4794 :
4795 180 : case E_V4SFmode:
4796 180 : if (pattern699 (x1,
4797 : E_V4SImode,
4798 : E_V4SFmode) != 0)
4799 180 : return -1;
4800 : return 1;
4801 :
4802 67 : case E_V4DFmode:
4803 67 : if (pattern699 (x1,
4804 : E_V4DImode,
4805 : E_V4DFmode) != 0)
4806 67 : return -1;
4807 : return 2;
4808 :
4809 122 : case E_V2DFmode:
4810 122 : if (pattern699 (x1,
4811 : E_V2DImode,
4812 : E_V2DFmode) != 0)
4813 122 : return -1;
4814 : return 3;
4815 :
4816 47 : case E_V32QImode:
4817 47 : if (pattern700 (x1,
4818 : E_V32QImode) != 0)
4819 47 : return -1;
4820 : return 4;
4821 :
4822 244 : case E_V16QImode:
4823 244 : if (pattern700 (x1,
4824 : E_V16QImode) != 0)
4825 244 : return -1;
4826 : return 5;
4827 :
4828 : default:
4829 : return -1;
4830 : }
4831 : }
4832 :
4833 : int
4834 131 : pattern707 (rtx x1)
4835 : {
4836 131 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4837 131 : rtx x2, x3, x4, x5;
4838 131 : int res ATTRIBUTE_UNUSED;
4839 131 : x2 = XEXP (x1, 0);
4840 131 : if (GET_MODE (x2) != E_V2SImode)
4841 : return -1;
4842 131 : x3 = XEXP (x1, 1);
4843 131 : if (GET_CODE (x3) != CONST_VECTOR
4844 131 : || XVECLEN (x3, 0) != 2
4845 131 : || GET_MODE (x3) != E_V2SImode)
4846 : return -1;
4847 131 : x4 = XVECEXP (x3, 0, 0);
4848 131 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4849 : return -1;
4850 131 : x5 = XVECEXP (x3, 0, 1);
4851 131 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
4852 131 : || !register_operand (operands[0], E_V4SImode)
4853 131 : || GET_MODE (x1) != E_V4SImode
4854 262 : || !nonimmediate_operand (operands[1], E_V2DFmode))
4855 22 : return -1;
4856 : return 0;
4857 : }
4858 :
4859 : int
4860 223 : pattern714 (rtx x1, machine_mode i1)
4861 : {
4862 223 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4863 223 : int res ATTRIBUTE_UNUSED;
4864 223 : if (!register_operand (operands[0], i1)
4865 223 : || GET_MODE (x1) != i1)
4866 : return -1;
4867 217 : switch (GET_MODE (operands[1]))
4868 : {
4869 111 : case E_BFmode:
4870 111 : if (!memory_operand (operands[1], E_BFmode))
4871 3 : return -1;
4872 : return 0;
4873 :
4874 106 : case E_HFmode:
4875 106 : if (!memory_operand (operands[1], E_HFmode))
4876 0 : return -1;
4877 : return 1;
4878 :
4879 : default:
4880 : return -1;
4881 : }
4882 : }
4883 :
4884 : int
4885 45 : pattern719 (rtx x1)
4886 : {
4887 45 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4888 45 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4889 45 : rtx x10, x11, x12, x13, x14, x15;
4890 45 : int res ATTRIBUTE_UNUSED;
4891 45 : x2 = XEXP (x1, 0);
4892 45 : x3 = XEXP (x2, 0);
4893 45 : x4 = XEXP (x3, 0);
4894 45 : if (GET_MODE (x4) != E_V2DImode)
4895 : return -1;
4896 45 : x5 = XEXP (x4, 1);
4897 45 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4898 : return -1;
4899 35 : x6 = XEXP (x4, 0);
4900 35 : operands[1] = x6;
4901 35 : if (!memory_operand (operands[1], E_DImode))
4902 : return -1;
4903 33 : x7 = XEXP (x2, 1);
4904 33 : switch (XVECLEN (x7, 0))
4905 : {
4906 12 : case 8:
4907 12 : x8 = XVECEXP (x7, 0, 0);
4908 12 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4909 : return -1;
4910 12 : x9 = XVECEXP (x7, 0, 1);
4911 12 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4912 : return -1;
4913 12 : x10 = XVECEXP (x7, 0, 2);
4914 12 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
4915 : return -1;
4916 12 : x11 = XVECEXP (x7, 0, 3);
4917 12 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
4918 : return -1;
4919 12 : x12 = XVECEXP (x7, 0, 4);
4920 12 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
4921 : return -1;
4922 12 : x13 = XVECEXP (x7, 0, 5);
4923 12 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
4924 : return -1;
4925 12 : x14 = XVECEXP (x7, 0, 6);
4926 12 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
4927 : return -1;
4928 12 : x15 = XVECEXP (x7, 0, 7);
4929 12 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
4930 12 : || GET_MODE (x2) != E_V8QImode
4931 12 : || GET_MODE (x3) != E_V16QImode)
4932 : return -1;
4933 12 : return pattern562 (x1); /* [-1, 2] */
4934 :
4935 15 : case 4:
4936 15 : res = pattern717 (x1,
4937 : E_V8HImode,
4938 : E_V4HImode);
4939 15 : if (res >= 0)
4940 11 : return res + 3; /* [3, 4] */
4941 : return -1;
4942 :
4943 6 : case 2:
4944 6 : if (pattern718 (x1,
4945 : E_V2SImode,
4946 : E_V4SImode) != 0)
4947 1 : return -1;
4948 : return 5;
4949 :
4950 : default:
4951 : return -1;
4952 : }
4953 : }
4954 :
4955 : int
4956 8895 : pattern730 (rtx x1, machine_mode i1)
4957 : {
4958 8895 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4959 8895 : rtx x2;
4960 8895 : int res ATTRIBUTE_UNUSED;
4961 8895 : if (!nonimmediate_operand (operands[0], i1)
4962 8895 : || GET_MODE (x1) != i1
4963 17790 : || !x86_64_general_operand (operands[1], i1))
4964 : return -1;
4965 8893 : x2 = XEXP (x1, 1);
4966 8893 : if (GET_MODE (x2) != i1)
4967 0 : return -1;
4968 : return 0;
4969 : }
4970 :
4971 : int
4972 2049564 : pattern733 (rtx x1)
4973 : {
4974 2049564 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4975 2049564 : rtx x2, x3, x4, x5, x6, x7;
4976 2049564 : int res ATTRIBUTE_UNUSED;
4977 2049564 : x2 = XVECEXP (x1, 0, 1);
4978 2049564 : if (GET_CODE (x2) != CLOBBER)
4979 : return -1;
4980 307318 : x3 = XEXP (x2, 0);
4981 307318 : if (GET_CODE (x3) != REG
4982 307318 : || REGNO (x3) != 17
4983 572827 : || GET_MODE (x3) != E_CCmode)
4984 : return -1;
4985 54195 : x4 = XVECEXP (x1, 0, 0);
4986 54195 : x5 = XEXP (x4, 1);
4987 54195 : x6 = XEXP (x5, 0);
4988 54195 : x7 = XEXP (x6, 0);
4989 54195 : switch (GET_CODE (x7))
4990 : {
4991 : case REG:
4992 : case SUBREG:
4993 : return 0;
4994 :
4995 17861 : case ZERO_EXTRACT:
4996 17861 : return 1;
4997 :
4998 : default:
4999 : return -1;
5000 : }
5001 : }
5002 :
5003 : int
5004 0 : pattern741 (rtx x1)
5005 : {
5006 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5007 0 : rtx x2;
5008 0 : int res ATTRIBUTE_UNUSED;
5009 0 : x2 = XVECEXP (x1, 0, 1);
5010 0 : if (XVECLEN (x2, 0) != 1
5011 0 : || XINT (x2, 1) != 35)
5012 : return -1;
5013 0 : return pattern271 (x1); /* [-1, 1] */
5014 : }
5015 :
5016 : int
5017 280 : pattern745 (rtx x1, int i1)
5018 : {
5019 280 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5020 280 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5021 280 : rtx x10;
5022 280 : int res ATTRIBUTE_UNUSED;
5023 280 : x2 = XVECEXP (x1, 0, 0);
5024 280 : x3 = XEXP (x2, 1);
5025 280 : if (GET_MODE (x3) != E_V2DImode)
5026 : return -1;
5027 280 : x4 = XVECEXP (x1, 0, 1);
5028 280 : if (GET_CODE (x4) != SET)
5029 : return -1;
5030 280 : x5 = XEXP (x4, 1);
5031 280 : if (GET_CODE (x5) != UNSPEC_VOLATILE
5032 280 : || XVECLEN (x5, 0) != 2
5033 280 : || XINT (x5, 1) != i1
5034 280 : || GET_MODE (x5) != E_CCZmode)
5035 : return -1;
5036 280 : x6 = XEXP (x4, 0);
5037 280 : if (GET_CODE (x6) != REG
5038 280 : || REGNO (x6) != 17
5039 280 : || GET_MODE (x6) != E_CCZmode
5040 560 : || !register_operand (operands[0], E_V2DImode))
5041 : return -1;
5042 280 : x7 = XVECEXP (x3, 0, 0);
5043 280 : operands[1] = x7;
5044 280 : if (!register_operand (operands[1], E_V2DImode))
5045 : return -1;
5046 264 : x8 = XVECEXP (x3, 0, 1);
5047 264 : operands[2] = x8;
5048 264 : if (!memory_operand (operands[2], E_BLKmode))
5049 : return -1;
5050 264 : x9 = XVECEXP (x5, 0, 0);
5051 264 : if (!rtx_equal_p (x9, operands[1]))
5052 : return -1;
5053 264 : x10 = XVECEXP (x5, 0, 1);
5054 264 : if (!rtx_equal_p (x10, operands[2]))
5055 0 : return -1;
5056 : return 0;
5057 : }
5058 :
5059 : int
5060 275248 : pattern750 (rtx x1, unsigned int i1, rtx_code i2)
5061 : {
5062 275248 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5063 275248 : rtx x2, x3, x4;
5064 275248 : int res ATTRIBUTE_UNUSED;
5065 275248 : if (GET_CODE (x1) != SET)
5066 : return -1;
5067 247739 : x2 = XEXP (x1, 1);
5068 247739 : if (GET_CODE (x2) != i2)
5069 : return -1;
5070 247739 : x3 = XEXP (x2, 0);
5071 247739 : if (GET_CODE (x3) != REG
5072 247739 : || REGNO (x3) != i1)
5073 : return -1;
5074 247739 : x4 = XEXP (x1, 0);
5075 247739 : if (GET_CODE (x4) != REG
5076 247739 : || REGNO (x4) != i1)
5077 0 : return -1;
5078 : return 0;
5079 : }
5080 :
5081 : int
5082 17403 : pattern754 (rtx x1, machine_mode i1, machine_mode i2)
5083 : {
5084 17403 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5085 17403 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5086 17403 : int res ATTRIBUTE_UNUSED;
5087 17403 : x2 = XVECEXP (x1, 0, 0);
5088 17403 : x3 = XEXP (x2, 1);
5089 17403 : x4 = XEXP (x3, 0);
5090 17403 : x5 = XEXP (x4, 0);
5091 17403 : if (GET_MODE (x5) != i2
5092 17403 : || !nonimmediate_operand (operands[1], i1)
5093 31768 : || !const_scalar_int_operand (operands[3], i2))
5094 : return -1;
5095 9361 : x6 = XEXP (x3, 1);
5096 9361 : if (GET_MODE (x6) != i2)
5097 : return -1;
5098 9361 : x7 = XEXP (x6, 0);
5099 9361 : if (GET_MODE (x7) != i1
5100 9361 : || !x86_64_hilo_general_operand (operands[2], i1)
5101 18338 : || !nonimmediate_operand (operands[0], i1))
5102 : return -1;
5103 8977 : x8 = XVECEXP (x1, 0, 1);
5104 8977 : x9 = XEXP (x8, 1);
5105 8977 : if (GET_MODE (x9) != i1)
5106 0 : return -1;
5107 : return 0;
5108 : }
5109 :
5110 : int
5111 1688 : pattern760 (rtx x1, rtx_code i1)
5112 : {
5113 1688 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5114 1688 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5115 1688 : rtx x10;
5116 1688 : int res ATTRIBUTE_UNUSED;
5117 1688 : x2 = XEXP (x1, 0);
5118 1688 : x3 = XEXP (x2, 1);
5119 1688 : if (GET_CODE (x3) != i1)
5120 : return -1;
5121 492 : x4 = XEXP (x1, 1);
5122 492 : if (XVECLEN (x4, 0) < 1)
5123 : return -1;
5124 492 : operands[5] = x4;
5125 492 : if (!addsub_vs_parallel (operands[5], E_VOIDmode))
5126 : return -1;
5127 8 : operands[7] = x1;
5128 8 : x5 = XEXP (x2, 0);
5129 8 : x6 = XEXP (x5, 0);
5130 8 : operands[1] = x6;
5131 8 : x7 = XEXP (x5, 1);
5132 8 : operands[2] = x7;
5133 8 : x8 = XEXP (x3, 0);
5134 8 : operands[3] = x8;
5135 8 : x9 = XEXP (x3, 1);
5136 8 : operands[4] = x9;
5137 8 : x10 = XVECEXP (x4, 0, 0);
5138 8 : operands[6] = x10;
5139 8 : if (!const_int_operand (operands[6], E_VOIDmode))
5140 : return -1;
5141 8 : switch (GET_MODE (operands[0]))
5142 : {
5143 : case E_V8SFmode:
5144 : return 0;
5145 :
5146 0 : case E_V4SFmode:
5147 0 : return 1;
5148 :
5149 0 : case E_V4DFmode:
5150 0 : return 2;
5151 :
5152 0 : case E_V2DFmode:
5153 0 : return 3;
5154 :
5155 : default:
5156 : return -1;
5157 : }
5158 : }
5159 :
5160 : int
5161 290 : pattern766 (rtx x1, machine_mode i1)
5162 : {
5163 290 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5164 290 : int res ATTRIBUTE_UNUSED;
5165 290 : if (!register_operand (operands[0], i1)
5166 290 : || GET_MODE (x1) != i1
5167 290 : || !register_operand (operands[1], i1)
5168 540 : || !register_mmxmem_operand (operands[2], i1))
5169 56 : return -1;
5170 : return 0;
5171 : }
5172 :
5173 : int
5174 2496 : pattern769 (rtx x1)
5175 : {
5176 2496 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5177 2496 : rtx x2, x3, x4;
5178 2496 : int res ATTRIBUTE_UNUSED;
5179 2496 : x2 = XVECEXP (x1, 0, 2);
5180 2496 : x3 = XEXP (x2, 0);
5181 2496 : operands[3] = x3;
5182 2496 : x4 = XEXP (x2, 1);
5183 2496 : operands[4] = x4;
5184 2496 : switch (GET_MODE (operands[0]))
5185 : {
5186 43 : case E_SFmode:
5187 43 : return pattern768 (x1,
5188 43 : E_SFmode); /* [-1, 0] */
5189 :
5190 0 : case E_DFmode:
5191 0 : if (pattern768 (x1,
5192 : E_DFmode) != 0)
5193 0 : return -1;
5194 : return 1;
5195 :
5196 : default:
5197 : return -1;
5198 : }
5199 : }
5200 :
5201 : int
5202 722 : pattern775 (rtx x1, machine_mode i1)
5203 : {
5204 722 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5205 722 : rtx x2;
5206 722 : int res ATTRIBUTE_UNUSED;
5207 722 : if (!nonimmediate_operand (operands[0], i1)
5208 722 : || GET_MODE (x1) != i1)
5209 : return -1;
5210 722 : x2 = XEXP (x1, 0);
5211 722 : if (GET_MODE (x2) != i1
5212 722 : || !nonimmediate_operand (operands[1], i1)
5213 1105 : || !general_operand (operands[2], i1))
5214 339 : return -1;
5215 : return 0;
5216 : }
5217 :
5218 : int
5219 69217 : pattern778 ()
5220 : {
5221 69217 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5222 69217 : int res ATTRIBUTE_UNUSED;
5223 69217 : switch (GET_MODE (operands[0]))
5224 : {
5225 56097 : case E_XFmode:
5226 56097 : if (!register_operand (operands[0], E_XFmode)
5227 56097 : || !binary_fp_operator (operands[3], E_XFmode))
5228 1226 : return -1;
5229 : return 0;
5230 :
5231 11197 : case E_DFmode:
5232 11197 : if (!register_operand (operands[0], E_DFmode)
5233 11197 : || !binary_fp_operator (operands[3], E_DFmode))
5234 52 : return -1;
5235 : return 1;
5236 :
5237 : default:
5238 : return -1;
5239 : }
5240 : }
5241 :
5242 : int
5243 6713 : pattern784 (rtx x1, rtx_code i1)
5244 : {
5245 6713 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5246 6713 : rtx x2, x3, x4, x5, x6, x7;
5247 6713 : int res ATTRIBUTE_UNUSED;
5248 6713 : x2 = XEXP (x1, 0);
5249 6713 : x3 = XEXP (x2, 0);
5250 6713 : x4 = XEXP (x3, 1);
5251 6713 : if (GET_CODE (x4) != i1)
5252 : return -1;
5253 6317 : x5 = XEXP (x3, 0);
5254 6317 : x6 = XEXP (x5, 0);
5255 6317 : operands[1] = x6;
5256 6317 : x7 = XEXP (x4, 0);
5257 6317 : operands[2] = x7;
5258 6317 : switch (GET_MODE (operands[0]))
5259 : {
5260 590 : case E_V4HImode:
5261 590 : if (!register_operand (operands[0], E_V4HImode)
5262 580 : || GET_MODE (x1) != E_V4HImode
5263 580 : || GET_MODE (x2) != E_V4SImode
5264 580 : || GET_MODE (x3) != E_V4SImode
5265 580 : || GET_MODE (x5) != E_V4SImode
5266 580 : || !register_mmxmem_operand (operands[1], E_V4HImode)
5267 461 : || GET_MODE (x4) != E_V4SImode
5268 1051 : || !register_mmxmem_operand (operands[2], E_V4HImode))
5269 147 : return -1;
5270 : return 0;
5271 :
5272 40 : case E_V2HImode:
5273 40 : if (!register_operand (operands[0], E_V2HImode)
5274 30 : || GET_MODE (x1) != E_V2HImode
5275 30 : || GET_MODE (x2) != E_V2SImode
5276 30 : || GET_MODE (x3) != E_V2SImode
5277 30 : || GET_MODE (x5) != E_V2SImode
5278 30 : || !register_operand (operands[1], E_V2HImode)
5279 20 : || GET_MODE (x4) != E_V2SImode
5280 60 : || !register_operand (operands[2], E_V2HImode))
5281 30 : return -1;
5282 : return 1;
5283 :
5284 : default:
5285 : return -1;
5286 : }
5287 : }
5288 :
5289 : int
5290 300 : pattern798 (rtx x1)
5291 : {
5292 300 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5293 300 : rtx x2, x3;
5294 300 : int res ATTRIBUTE_UNUSED;
5295 300 : x2 = XEXP (x1, 0);
5296 300 : operands[1] = x2;
5297 300 : x3 = XEXP (x1, 1);
5298 300 : operands[2] = x3;
5299 300 : switch (GET_MODE (x1))
5300 : {
5301 0 : case E_V8SFmode:
5302 0 : if (!register_operand (operands[1], E_V8SImode)
5303 0 : || !const0_operand (operands[2], E_V8SImode))
5304 0 : return -1;
5305 : return 0;
5306 :
5307 150 : case E_V4SFmode:
5308 150 : if (!register_operand (operands[1], E_V4SImode)
5309 150 : || !const0_operand (operands[2], E_V4SImode))
5310 150 : return -1;
5311 : return 1;
5312 :
5313 10 : case E_V4DFmode:
5314 10 : if (!register_operand (operands[1], E_V4DImode)
5315 10 : || !const0_operand (operands[2], E_V4DImode))
5316 0 : return -1;
5317 : return 2;
5318 :
5319 20 : case E_V2DFmode:
5320 20 : if (!register_operand (operands[1], E_V2DImode)
5321 20 : || !const0_operand (operands[2], E_V2DImode))
5322 20 : return -1;
5323 : return 3;
5324 :
5325 11 : case E_V32QImode:
5326 11 : if (!register_operand (operands[1], E_V32QImode)
5327 11 : || !const0_operand (operands[2], E_V32QImode))
5328 0 : return -1;
5329 : return 4;
5330 :
5331 109 : case E_V16QImode:
5332 109 : if (!register_operand (operands[1], E_V16QImode)
5333 109 : || !const0_operand (operands[2], E_V16QImode))
5334 88 : return -1;
5335 : return 5;
5336 :
5337 : default:
5338 : return -1;
5339 : }
5340 : }
5341 :
5342 : int
5343 71 : pattern807 (rtx x1)
5344 : {
5345 71 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5346 71 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5347 71 : int res ATTRIBUTE_UNUSED;
5348 71 : x2 = XEXP (x1, 0);
5349 71 : x3 = XEXP (x2, 0);
5350 71 : x4 = XVECEXP (x3, 0, 0);
5351 71 : if (GET_CODE (x4) != VEC_SELECT)
5352 : return -1;
5353 51 : x5 = XEXP (x4, 1);
5354 51 : if (GET_CODE (x5) != PARALLEL
5355 51 : || XVECLEN (x5, 0) != 1)
5356 : return -1;
5357 51 : x6 = XVECEXP (x5, 0, 0);
5358 51 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5359 : return -1;
5360 51 : x7 = XEXP (x4, 0);
5361 51 : operands[1] = x7;
5362 51 : x8 = XVECEXP (x3, 0, 1);
5363 51 : operands[2] = x8;
5364 51 : x9 = XEXP (x1, 1);
5365 51 : if (!rtx_equal_p (x9, operands[1]))
5366 : return -1;
5367 51 : switch (GET_MODE (operands[0]))
5368 : {
5369 49 : case E_V8HFmode:
5370 49 : return pattern806 (x1,
5371 : E_HFmode,
5372 49 : E_V8HFmode); /* [-1, 0] */
5373 :
5374 0 : case E_V4SFmode:
5375 0 : if (pattern806 (x1,
5376 : E_SFmode,
5377 : E_V4SFmode) != 0)
5378 0 : return -1;
5379 : return 1;
5380 :
5381 2 : case E_V2DFmode:
5382 2 : if (pattern806 (x1,
5383 : E_DFmode,
5384 : E_V2DFmode) != 0)
5385 0 : return -1;
5386 : return 2;
5387 :
5388 : default:
5389 : return -1;
5390 : }
5391 : }
5392 :
5393 : int
5394 3958 : pattern814 (rtx x1)
5395 : {
5396 3958 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5397 3958 : rtx x2, x3;
5398 3958 : int res ATTRIBUTE_UNUSED;
5399 3958 : x2 = XVECEXP (x1, 0, 0);
5400 3958 : x3 = XEXP (x2, 1);
5401 3958 : if (!rtx_equal_p (x3, operands[1]))
5402 : return -1;
5403 3922 : switch (GET_MODE (operands[0]))
5404 : {
5405 1054 : case E_V8HFmode:
5406 1054 : return pattern813 (x1,
5407 1054 : E_V8HFmode); /* [-1, 0] */
5408 :
5409 1434 : case E_V4SFmode:
5410 1434 : if (pattern813 (x1,
5411 : E_V4SFmode) != 0)
5412 62 : return -1;
5413 : return 1;
5414 :
5415 1434 : case E_V2DFmode:
5416 1434 : if (pattern813 (x1,
5417 : E_V2DFmode) != 0)
5418 62 : return -1;
5419 : return 2;
5420 :
5421 : default:
5422 : return -1;
5423 : }
5424 : }
5425 :
5426 : int
5427 818 : pattern820 (rtx x1, machine_mode i1, machine_mode i2)
5428 : {
5429 818 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5430 818 : int res ATTRIBUTE_UNUSED;
5431 818 : if (!register_operand (operands[0], i2)
5432 783 : || GET_MODE (x1) != i2
5433 783 : || !nonimmediate_operand (operands[1], i2)
5434 1545 : || !register_operand (operands[2], i1))
5435 230 : return -1;
5436 : return 0;
5437 : }
5438 :
5439 : int
5440 3150 : pattern825 (rtx x1, machine_mode i1, machine_mode i2)
5441 : {
5442 3150 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5443 3150 : int res ATTRIBUTE_UNUSED;
5444 3150 : if (!memory_operand (operands[0], i1)
5445 3134 : || GET_MODE (x1) != i1
5446 3134 : || !register_operand (operands[1], i1)
5447 6064 : || !const0_or_m1_operand (operands[2], i2))
5448 3144 : return -1;
5449 : return 0;
5450 : }
5451 :
5452 : int
5453 305 : pattern830 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
5454 : {
5455 305 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5456 305 : rtx x2;
5457 305 : int res ATTRIBUTE_UNUSED;
5458 305 : if (!register_operand (operands[0], i3)
5459 304 : || GET_MODE (x1) != i3
5460 609 : || !nonimmediate_operand (operands[1], i2))
5461 : return -1;
5462 254 : x2 = XEXP (x1, 1);
5463 254 : operands[2] = x2;
5464 254 : if (!const0_operand (operands[2], i1))
5465 2 : return -1;
5466 : return 0;
5467 : }
5468 :
5469 : int
5470 722 : pattern834 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
5471 : {
5472 722 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5473 722 : rtx x2, x3;
5474 722 : int res ATTRIBUTE_UNUSED;
5475 722 : if (!register_operand (operands[0], i3)
5476 722 : || GET_MODE (x1) != i3)
5477 : return -1;
5478 720 : x2 = XEXP (x1, 0);
5479 720 : if (GET_MODE (x2) != i2
5480 720 : || !register_operand (operands[1], i1))
5481 : return -1;
5482 690 : x3 = XEXP (x1, 1);
5483 690 : if (GET_MODE (x3) != i2
5484 690 : || !vector_operand (operands[2], i1))
5485 0 : return -1;
5486 : return 0;
5487 : }
5488 :
5489 : int
5490 535 : pattern840 (rtx x1, machine_mode i1, machine_mode i2)
5491 : {
5492 535 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5493 535 : rtx x2;
5494 535 : int res ATTRIBUTE_UNUSED;
5495 535 : if (!register_operand (operands[0], i1)
5496 535 : || GET_MODE (x1) != i1)
5497 : return -1;
5498 535 : x2 = XEXP (x1, 0);
5499 535 : if (GET_MODE (x2) != i2
5500 535 : || !nonimmediate_operand (operands[1], i1)
5501 511 : || !const0_operand (operands[2], i1)
5502 1010 : || !pmovzx_parallel (operands[3], E_VOIDmode))
5503 309 : return -1;
5504 : return 0;
5505 : }
5506 :
5507 : int
5508 84 : pattern845 (rtx x1, machine_mode i1, machine_mode i2)
5509 : {
5510 84 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5511 84 : rtx x2;
5512 84 : int res ATTRIBUTE_UNUSED;
5513 84 : if (!register_operand (operands[0], i2)
5514 84 : || GET_MODE (x1) != i2)
5515 : return -1;
5516 84 : x2 = XEXP (x1, 0);
5517 84 : if (GET_MODE (x2) != i2
5518 45 : || !memory_operand (operands[1], i1)
5519 122 : || !general_operand (operands[2], i1))
5520 46 : return -1;
5521 : return 0;
5522 : }
5523 :
5524 : int
5525 76070 : pattern849 (rtx x1, machine_mode i1)
5526 : {
5527 76070 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5528 76070 : int res ATTRIBUTE_UNUSED;
5529 76070 : if (!register_operand (operands[0], i1)
5530 75457 : || GET_MODE (x1) != i1
5531 75457 : || !bcst_vector_operand (operands[1], i1)
5532 150593 : || !vector_all_ones_operand (operands[2], i1))
5533 71361 : return -1;
5534 : return 0;
5535 : }
5536 :
5537 : int
5538 5687 : pattern850 (rtx x1, machine_mode i1, machine_mode i2)
5539 : {
5540 5687 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5541 5687 : rtx x2, x3, x4, x5;
5542 5687 : int res ATTRIBUTE_UNUSED;
5543 5687 : if (!register_operand (operands[0], i1)
5544 5687 : || GET_MODE (x1) != i1)
5545 : return -1;
5546 5671 : x2 = XEXP (x1, 0);
5547 5671 : if (GET_MODE (x2) != i2)
5548 : return -1;
5549 5671 : x3 = XEXP (x2, 0);
5550 5671 : if (GET_MODE (x3) != i2)
5551 : return -1;
5552 5671 : x4 = XEXP (x3, 0);
5553 5671 : if (GET_MODE (x4) != i2
5554 5671 : || !vector_operand (operands[1], i1))
5555 : return -1;
5556 5258 : x5 = XEXP (x3, 1);
5557 5258 : if (GET_MODE (x5) != i2
5558 5258 : || !vector_operand (operands[2], i1))
5559 434 : return -1;
5560 : return 0;
5561 : }
5562 :
5563 : int
5564 278 : pattern852 (rtx x1, machine_mode i1)
5565 : {
5566 278 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5567 278 : int res ATTRIBUTE_UNUSED;
5568 278 : if (!register_operand (operands[0], i1)
5569 278 : || GET_MODE (x1) != i1
5570 278 : || !nonimmediate_operand (operands[3], i1)
5571 278 : || !register_operand (operands[1], i1)
5572 517 : || !nonimmediate_operand (operands[2], i1))
5573 63 : return -1;
5574 : return 0;
5575 : }
5576 :
5577 : int
5578 12025 : pattern855 (rtx x1)
5579 : {
5580 12025 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5581 12025 : rtx x2;
5582 12025 : int res ATTRIBUTE_UNUSED;
5583 12025 : if (GET_MODE (x1) != E_SImode)
5584 : return -1;
5585 12025 : x2 = XVECEXP (x1, 0, 3);
5586 12025 : if (GET_CODE (x2) != REG
5587 12025 : || REGNO (x2) != 7
5588 24050 : || GET_MODE (x2) != E_SImode)
5589 0 : return -1;
5590 : return 0;
5591 : }
5592 :
5593 : int
5594 21596 : pattern858 (rtx x1)
5595 : {
5596 21596 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5597 21596 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5598 21596 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
5599 21596 : int res ATTRIBUTE_UNUSED;
5600 21596 : x2 = XVECEXP (x1, 0, 0);
5601 21596 : x3 = XEXP (x2, 1);
5602 21596 : x4 = XEXP (x3, 0);
5603 21596 : x5 = XEXP (x4, 0);
5604 21596 : if (maybe_ne (SUBREG_BYTE (x5), 0)
5605 21596 : || GET_MODE (x5) != E_QImode)
5606 : return -1;
5607 7681 : x6 = XEXP (x5, 0);
5608 7681 : switch (GET_CODE (x6))
5609 : {
5610 4911 : case ASHIFTRT:
5611 4911 : case LSHIFTRT:
5612 4911 : case SIGN_EXTRACT:
5613 4911 : case ZERO_EXTRACT:
5614 4911 : operands[3] = x6;
5615 4911 : x7 = XVECEXP (x1, 0, 1);
5616 4911 : if (GET_CODE (x7) != SET)
5617 : return -1;
5618 4883 : x8 = XEXP (x7, 1);
5619 4883 : if (GET_CODE (x8) != SUBREG
5620 4883 : || maybe_ne (SUBREG_BYTE (x8), 0))
5621 : return -1;
5622 888 : x9 = XEXP (x8, 0);
5623 888 : if (GET_CODE (x9) != AND
5624 888 : || GET_MODE (x9) != E_QImode)
5625 : return -1;
5626 888 : x10 = XEXP (x9, 0);
5627 888 : if (GET_CODE (x10) != SUBREG
5628 888 : || maybe_ne (SUBREG_BYTE (x10), 0)
5629 1776 : || GET_MODE (x10) != E_QImode)
5630 : return -1;
5631 888 : x11 = XEXP (x10, 0);
5632 888 : if (GET_CODE (x11) != ZERO_EXTRACT)
5633 : return -1;
5634 888 : x12 = XEXP (x11, 1);
5635 888 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
5636 : return -1;
5637 888 : x13 = XEXP (x11, 2);
5638 888 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
5639 : return -1;
5640 888 : x14 = XEXP (x7, 0);
5641 888 : if (GET_CODE (x14) != ZERO_EXTRACT)
5642 : return -1;
5643 888 : x15 = XEXP (x14, 1);
5644 888 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
5645 : return -1;
5646 888 : x16 = XEXP (x14, 2);
5647 888 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
5648 : return -1;
5649 888 : x17 = XEXP (x2, 0);
5650 888 : operands[4] = x17;
5651 888 : if (!flags_reg_operand (operands[4], E_VOIDmode))
5652 : return -1;
5653 888 : operands[5] = x3;
5654 888 : if (!compare_operator (operands[5], E_VOIDmode)
5655 888 : || GET_MODE (x4) != E_QImode)
5656 : return -1;
5657 888 : return pattern609 (x1); /* [-1, 2] */
5658 :
5659 : default:
5660 : return -1;
5661 : }
5662 : }
5663 :
5664 : int
5665 86 : pattern869 (rtx x1, int *pnum_clobbers)
5666 : {
5667 86 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5668 86 : rtx x2, x3;
5669 86 : int res ATTRIBUTE_UNUSED;
5670 86 : x2 = XVECEXP (x1, 0, 1);
5671 86 : if (GET_CODE (x2) != USE)
5672 : return -1;
5673 86 : x3 = XVECEXP (x1, 0, 2);
5674 86 : if (GET_CODE (x3) != USE
5675 86 : || !register_operand (operands[1], E_XFmode))
5676 : return -1;
5677 28 : return pattern868 (x1, pnum_clobbers); /* [-1, 2] */
5678 : }
5679 :
5680 : int
5681 0 : pattern872 (rtx x1, machine_mode i1, rtx_code i2, rtx_code i3)
5682 : {
5683 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5684 0 : rtx x2;
5685 0 : int res ATTRIBUTE_UNUSED;
5686 0 : if (GET_CODE (x1) != i3
5687 0 : || GET_MODE (x1) != i1)
5688 : return -1;
5689 0 : x2 = XEXP (x1, 0);
5690 0 : if (GET_CODE (x2) != i2
5691 0 : || GET_MODE (x2) != i1)
5692 0 : return -1;
5693 : return 0;
5694 : }
5695 :
5696 : int
5697 12 : pattern875 (rtx x1)
5698 : {
5699 12 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5700 12 : rtx x2, x3, x4, x5;
5701 12 : int res ATTRIBUTE_UNUSED;
5702 12 : x2 = XVECEXP (x1, 0, 2);
5703 12 : if (GET_CODE (x2) != CLOBBER)
5704 : return -1;
5705 12 : x3 = XEXP (x2, 0);
5706 12 : if (GET_CODE (x3) != REG
5707 12 : || REGNO (x3) != 17
5708 24 : || GET_MODE (x3) != E_CCmode)
5709 : return -1;
5710 12 : x4 = XVECEXP (x1, 0, 0);
5711 12 : x5 = XEXP (x4, 0);
5712 12 : operands[0] = x5;
5713 12 : return 0;
5714 : }
5715 :
5716 : int
5717 56 : pattern879 (rtx x1)
5718 : {
5719 56 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5720 56 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5721 56 : int res ATTRIBUTE_UNUSED;
5722 56 : x2 = XEXP (x1, 1);
5723 56 : x3 = XEXP (x2, 0);
5724 56 : if (GET_MODE (x3) != E_DImode)
5725 : return -1;
5726 56 : x4 = XEXP (x3, 0);
5727 56 : if (GET_CODE (x4) != MINUS
5728 54 : || GET_MODE (x4) != E_SImode)
5729 : return -1;
5730 54 : x5 = XEXP (x4, 0);
5731 54 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
5732 : return -1;
5733 54 : x6 = XEXP (x4, 1);
5734 54 : if (GET_CODE (x6) != SUBREG
5735 54 : || maybe_ne (SUBREG_BYTE (x6), 0)
5736 108 : || GET_MODE (x6) != E_SImode)
5737 : return -1;
5738 54 : x7 = XEXP (x6, 0);
5739 54 : if (GET_CODE (x7) != CLZ
5740 54 : || GET_MODE (x7) != E_DImode)
5741 : return -1;
5742 54 : x8 = XEXP (x2, 1);
5743 54 : if (XWINT (x8, 0) != 63L
5744 54 : || !register_operand (operands[0], E_DImode)
5745 54 : || GET_MODE (x1) != E_DImode
5746 54 : || !const_int_operand (operands[2], E_DImode)
5747 92 : || GET_MODE (x2) != E_DImode)
5748 : return -1;
5749 38 : x9 = XEXP (x7, 0);
5750 38 : operands[1] = x9;
5751 38 : if (!nonimmediate_operand (operands[1], E_DImode))
5752 0 : return -1;
5753 : return 0;
5754 : }
5755 :
5756 : int
5757 885382 : pattern886 (rtx x1, machine_mode i1)
5758 : {
5759 885382 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5760 885382 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5761 885382 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
5762 885382 : rtx x18;
5763 885382 : int res ATTRIBUTE_UNUSED;
5764 885382 : if (peep2_current_count < 4
5765 885382 : || peep2_current_count < 5
5766 501658 : || !memory_operand (operands[1], i1)
5767 1022630 : || !register_operand (operands[0], i1))
5768 : return -1;
5769 137057 : x2 = XEXP (x1, 0);
5770 137057 : operands[3] = x2;
5771 137057 : if (!register_operand (operands[3], i1))
5772 : return -1;
5773 23776 : x3 = XEXP (x1, 1);
5774 23776 : if (!rtx_equal_p (x3, operands[0]))
5775 : return -1;
5776 4928 : x4 = PATTERN (peep2_next_insn (2));
5777 4928 : if (GET_CODE (x4) != PARALLEL
5778 2892 : || XVECLEN (x4, 0) != 2)
5779 : return -1;
5780 2878 : x5 = XVECEXP (x4, 0, 0);
5781 2878 : if (GET_CODE (x5) != SET)
5782 : return -1;
5783 2878 : x6 = XEXP (x5, 1);
5784 2878 : if (GET_CODE (x6) != XOR)
5785 : return -1;
5786 132 : x7 = XVECEXP (x4, 0, 1);
5787 132 : if (GET_CODE (x7) != CLOBBER)
5788 : return -1;
5789 132 : x8 = XEXP (x7, 0);
5790 132 : if (GET_CODE (x8) != REG
5791 132 : || REGNO (x8) != 17
5792 264 : || GET_MODE (x8) != E_CCmode)
5793 : return -1;
5794 132 : x9 = XEXP (x5, 0);
5795 132 : operands[4] = x9;
5796 132 : x10 = XEXP (x6, 1);
5797 132 : operands[2] = x10;
5798 132 : x11 = XEXP (x6, 0);
5799 132 : if (!rtx_equal_p (x11, operands[4]))
5800 : return -1;
5801 130 : x12 = PATTERN (peep2_next_insn (3));
5802 130 : if (GET_CODE (x12) != SET)
5803 : return -1;
5804 125 : x13 = XEXP (x12, 0);
5805 125 : if (!rtx_equal_p (x13, operands[1]))
5806 : return -1;
5807 29 : x14 = PATTERN (peep2_next_insn (4));
5808 29 : if (GET_CODE (x14) != SET)
5809 : return -1;
5810 27 : x15 = XEXP (x14, 1);
5811 27 : if (GET_CODE (x15) != COMPARE
5812 22 : || GET_MODE (x15) != E_CCZmode)
5813 : return -1;
5814 22 : x16 = XEXP (x14, 0);
5815 22 : if (GET_CODE (x16) != REG
5816 22 : || REGNO (x16) != 17
5817 44 : || GET_MODE (x16) != E_CCZmode)
5818 : return -1;
5819 22 : x17 = XEXP (x15, 0);
5820 22 : if (!register_operand (x17, i1))
5821 : return -1;
5822 22 : x18 = XEXP (x15, 1);
5823 22 : if (!nonmemory_operand (x18, i1))
5824 0 : return -1;
5825 : return 0;
5826 : }
5827 :
5828 : int
5829 114 : pattern894 (rtx x1, machine_mode i1)
5830 : {
5831 114 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5832 114 : int res ATTRIBUTE_UNUSED;
5833 114 : if (GET_MODE (x1) != i1
5834 114 : || !register_operand (operands[3], i1)
5835 90 : || !nonmemory_operand (operands[4], i1)
5836 204 : || !const0_operand (operands[5], i1))
5837 60 : return -1;
5838 : return 0;
5839 : }
5840 :
5841 : int
5842 20132 : pattern897 (rtx x1, machine_mode i1)
5843 : {
5844 20132 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5845 20132 : int res ATTRIBUTE_UNUSED;
5846 20132 : if (!register_operand (operands[0], i1)
5847 20106 : || GET_MODE (x1) != i1
5848 20106 : || !register_operand (operands[1], i1)
5849 33480 : || !register_mmxmem_operand (operands[2], i1))
5850 8617 : return -1;
5851 : return 0;
5852 : }
5853 :
5854 : int
5855 476 : pattern900 (rtx x1)
5856 : {
5857 476 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5858 476 : rtx x2, x3, x4, x5;
5859 476 : int res ATTRIBUTE_UNUSED;
5860 476 : x2 = XEXP (x1, 0);
5861 476 : x3 = XEXP (x2, 1);
5862 476 : x4 = XEXP (x3, 1);
5863 476 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5864 : return -1;
5865 473 : x5 = XEXP (x3, 0);
5866 473 : operands[3] = x5;
5867 473 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
5868 : return -1;
5869 470 : switch (GET_MODE (operands[0]))
5870 : {
5871 0 : case E_QImode:
5872 0 : return pattern899 (x1,
5873 0 : E_QImode); /* [-1, 0] */
5874 :
5875 0 : case E_HImode:
5876 0 : if (pattern899 (x1,
5877 : E_HImode) != 0)
5878 0 : return -1;
5879 : return 1;
5880 :
5881 : default:
5882 : return -1;
5883 : }
5884 : }
5885 :
5886 : int
5887 28384 : pattern904 (rtx x1, machine_mode i1, machine_mode i2)
5888 : {
5889 28384 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5890 28384 : int res ATTRIBUTE_UNUSED;
5891 28384 : if (!register_operand (operands[0], i2)
5892 28296 : || GET_MODE (x1) != i2
5893 56680 : || pattern903 (x1,
5894 : i1,
5895 : i2) != 0)
5896 3119 : return -1;
5897 : return 0;
5898 : }
5899 :
5900 : int
5901 6214 : pattern908 (rtx x1, machine_mode i1)
5902 : {
5903 6214 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5904 6214 : int res ATTRIBUTE_UNUSED;
5905 6214 : if (!register_operand (operands[0], i1)
5906 6214 : || GET_MODE (x1) != i1
5907 6214 : || !register_operand (operands[2], i1)
5908 5561 : || !register_operand (operands[1], i1)
5909 9157 : || !const_0_to_15_operand (operands[3], E_SImode))
5910 3271 : return -1;
5911 : return 0;
5912 : }
5913 :
5914 : int
5915 21109 : pattern912 (rtx x1, machine_mode i1)
5916 : {
5917 21109 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5918 21109 : int res ATTRIBUTE_UNUSED;
5919 21109 : if (!register_operand (operands[0], i1)
5920 20716 : || GET_MODE (x1) != i1
5921 20716 : || !bcst_vector_operand (operands[1], i1)
5922 20657 : || !bcst_vector_operand (operands[2], i1)
5923 41638 : || !bcst_vector_operand (operands[3], i1))
5924 602 : return -1;
5925 : return 0;
5926 : }
5927 :
5928 : int
5929 22 : pattern917 (rtx x1)
5930 : {
5931 22 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5932 22 : int res ATTRIBUTE_UNUSED;
5933 22 : operands[1] = x1;
5934 22 : switch (GET_MODE (operands[1]))
5935 : {
5936 4 : case E_V8HFmode:
5937 4 : if (!register_operand (operands[1], E_V8HFmode))
5938 0 : return -1;
5939 : return 0;
5940 :
5941 14 : case E_V4SFmode:
5942 14 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
5943 0 : return -1;
5944 : return 1;
5945 :
5946 4 : case E_V2DFmode:
5947 4 : if (!nonimmediate_operand (operands[1], E_V2DFmode))
5948 0 : return -1;
5949 : return 2;
5950 :
5951 : default:
5952 : return -1;
5953 : }
5954 : }
5955 :
5956 : int
5957 2356 : pattern923 (rtx x1)
5958 : {
5959 2356 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5960 2356 : rtx x2, x3, x4, x5, x6;
5961 2356 : int res ATTRIBUTE_UNUSED;
5962 2356 : x2 = XVECEXP (x1, 0, 0);
5963 2356 : x3 = XVECEXP (x2, 0, 0);
5964 2356 : if (GET_CODE (x3) != VEC_SELECT)
5965 : return -1;
5966 1448 : x4 = XEXP (x3, 1);
5967 1448 : if (GET_CODE (x4) != PARALLEL
5968 1448 : || XVECLEN (x4, 0) != 1)
5969 : return -1;
5970 1448 : x5 = XVECEXP (x4, 0, 0);
5971 1448 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5972 : return -1;
5973 1448 : x6 = XEXP (x3, 0);
5974 1448 : operands[1] = x6;
5975 1448 : if (!const_4_or_8_to_11_operand (operands[2], E_SImode))
5976 : return -1;
5977 1448 : switch (GET_MODE (operands[0]))
5978 : {
5979 758 : case E_SImode:
5980 758 : return pattern922 (x1,
5981 758 : E_SImode); /* [-1, 2] */
5982 :
5983 690 : case E_DImode:
5984 690 : res = pattern922 (x1,
5985 : E_DImode);
5986 690 : if (res >= 0)
5987 642 : return res + 3; /* [3, 5] */
5988 : return -1;
5989 :
5990 : default:
5991 : return -1;
5992 : }
5993 : }
5994 :
5995 : int
5996 608 : pattern931 (rtx x1)
5997 : {
5998 608 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5999 608 : rtx x2;
6000 608 : int res ATTRIBUTE_UNUSED;
6001 608 : x2 = XEXP (x1, 2);
6002 608 : if (XWINT (x2, 0) != 1L)
6003 : return -1;
6004 428 : switch (GET_MODE (operands[0]))
6005 : {
6006 204 : case E_V4SFmode:
6007 204 : return pattern663 (x1,
6008 204 : E_V4SFmode); /* [-1, 0] */
6009 :
6010 224 : case E_V8HFmode:
6011 224 : if (pattern663 (x1,
6012 : E_V8HFmode) != 0)
6013 58 : return -1;
6014 : return 1;
6015 :
6016 : default:
6017 : return -1;
6018 : }
6019 : }
6020 :
6021 : int
6022 262 : pattern936 (rtx x1, machine_mode i1)
6023 : {
6024 262 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6025 262 : rtx x2;
6026 262 : int res ATTRIBUTE_UNUSED;
6027 262 : if (!register_operand (operands[0], i1)
6028 262 : || GET_MODE (x1) != i1)
6029 : return -1;
6030 256 : x2 = XEXP (x1, 0);
6031 256 : if (GET_MODE (x2) != i1
6032 256 : || !nonimmediate_operand (operands[1], i1)
6033 488 : || !register_operand (operands[2], i1))
6034 44 : return -1;
6035 : return 0;
6036 : }
6037 :
6038 : int
6039 1104 : pattern940 (rtx x1)
6040 : {
6041 1104 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6042 1104 : rtx x2;
6043 1104 : int res ATTRIBUTE_UNUSED;
6044 1104 : if (!register_operand (operands[0], E_V8HFmode)
6045 1104 : || GET_MODE (x1) != E_V8HFmode)
6046 : return -1;
6047 1038 : x2 = XEXP (x1, 0);
6048 1038 : if (GET_MODE (x2) != E_V8HFmode
6049 1038 : || !nonimm_or_0_operand (operands[2], E_V8HFmode)
6050 2074 : || !register_operand (operands[3], E_QImode))
6051 : return -1;
6052 956 : switch (GET_MODE (operands[1]))
6053 : {
6054 408 : case E_V8HImode:
6055 408 : if (!vector_operand (operands[1], E_V8HImode))
6056 0 : return -1;
6057 : return 0;
6058 :
6059 406 : case E_V8SImode:
6060 406 : if (!vector_operand (operands[1], E_V8SImode))
6061 0 : return -1;
6062 : return 1;
6063 :
6064 142 : case E_V8DImode:
6065 142 : if (!vector_operand (operands[1], E_V8DImode))
6066 0 : return -1;
6067 : return 2;
6068 :
6069 : default:
6070 : return -1;
6071 : }
6072 : }
6073 :
6074 : int
6075 388 : pattern947 (rtx x1, int i1, machine_mode i2)
6076 : {
6077 388 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6078 388 : rtx x2, x3;
6079 388 : int res ATTRIBUTE_UNUSED;
6080 388 : if (GET_CODE (x1) != VEC_SELECT
6081 388 : || GET_MODE (x1) != i2)
6082 : return -1;
6083 388 : x2 = XEXP (x1, 1);
6084 388 : if (GET_CODE (x2) != PARALLEL
6085 388 : || XVECLEN (x2, 0) != i1)
6086 : return -1;
6087 388 : x3 = XVECEXP (x2, 0, 0);
6088 388 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6089 0 : return -1;
6090 : return 0;
6091 : }
6092 :
6093 : int
6094 305 : pattern951 (rtx x1, machine_mode i1)
6095 : {
6096 305 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6097 305 : rtx x2, x3;
6098 305 : int res ATTRIBUTE_UNUSED;
6099 305 : if (!register_operand (operands[0], i1)
6100 305 : || GET_MODE (x1) != i1)
6101 : return -1;
6102 257 : x2 = XVECEXP (x1, 0, 0);
6103 257 : if (GET_MODE (x2) != i1)
6104 : return -1;
6105 257 : x3 = XEXP (x2, 0);
6106 257 : if (GET_MODE (x3) != i1
6107 257 : || !register_operand (operands[1], i1)
6108 474 : || !nonimmediate_operand (operands[2], i1))
6109 40 : return -1;
6110 : return 0;
6111 : }
6112 :
6113 : int
6114 3938 : pattern954 (rtx x1, machine_mode i1, machine_mode i2)
6115 : {
6116 3938 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6117 3938 : int res ATTRIBUTE_UNUSED;
6118 3938 : if (!register_operand (operands[0], i2)
6119 3751 : || GET_MODE (x1) != i2
6120 3751 : || !register_operand (operands[1], i2)
6121 3701 : || !nonimm_or_0_operand (operands[2], i2)
6122 7605 : || !register_operand (operands[3], i1))
6123 640 : return -1;
6124 : return 0;
6125 : }
6126 :
6127 : int
6128 2752 : pattern956 (rtx x1, machine_mode i1)
6129 : {
6130 2752 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6131 2752 : int res ATTRIBUTE_UNUSED;
6132 2752 : if (!register_operand (operands[0], i1)
6133 2301 : || GET_MODE (x1) != i1
6134 2301 : || !nonimmediate_operand (operands[1], i1)
6135 5024 : || !nonimm_or_0_operand (operands[2], i1))
6136 753 : return -1;
6137 : return 0;
6138 : }
6139 :
6140 : int
6141 225 : pattern958 (rtx x1, machine_mode i1, machine_mode i2)
6142 : {
6143 225 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6144 225 : int res ATTRIBUTE_UNUSED;
6145 225 : if (!register_operand (operands[0], i2)
6146 213 : || GET_MODE (x1) != i2
6147 213 : || !register_operand (operands[1], i2)
6148 210 : || !register_operand (operands[2], i1)
6149 435 : || !nonimmediate_operand (operands[3], i1))
6150 15 : return -1;
6151 : return 0;
6152 : }
6153 :
6154 : int
6155 464 : pattern959 (rtx x1)
6156 : {
6157 464 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6158 464 : rtx x2, x3, x4, x5, x6;
6159 464 : int res ATTRIBUTE_UNUSED;
6160 464 : x2 = XEXP (x1, 0);
6161 464 : x3 = XEXP (x2, 0);
6162 464 : if (GET_MODE (x3) != E_V2SImode)
6163 : return -1;
6164 464 : x4 = XEXP (x1, 1);
6165 464 : if (GET_CODE (x4) != CONST_VECTOR
6166 464 : || XVECLEN (x4, 0) != 2
6167 464 : || GET_MODE (x4) != E_V2SImode)
6168 : return -1;
6169 464 : x5 = XVECEXP (x4, 0, 0);
6170 464 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
6171 : return -1;
6172 464 : x6 = XVECEXP (x4, 0, 1);
6173 464 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
6174 464 : || !register_operand (operands[0], E_V4SImode)
6175 464 : || GET_MODE (x1) != E_V4SImode
6176 464 : || GET_MODE (x2) != E_V2SImode
6177 928 : || !nonimmediate_operand (operands[1], E_V2DFmode))
6178 : return -1;
6179 432 : return pattern534 (x2); /* [-1, 1] */
6180 : }
6181 :
6182 : int
6183 424 : pattern963 (rtx x1)
6184 : {
6185 424 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6186 424 : rtx x2;
6187 424 : int res ATTRIBUTE_UNUSED;
6188 424 : if (!register_operand (operands[0], E_V16QImode)
6189 424 : || GET_MODE (x1) != E_V16QImode)
6190 : return -1;
6191 424 : x2 = XEXP (x1, 0);
6192 424 : switch (GET_MODE (x2))
6193 : {
6194 212 : case E_V4QImode:
6195 212 : if (!register_operand (operands[1], E_V4SImode)
6196 212 : || !nonimmediate_operand (operands[2], E_V4SFmode)
6197 424 : || !const0_operand (operands[3], E_V12QImode))
6198 0 : return -1;
6199 : return 0;
6200 :
6201 212 : case E_V8QImode:
6202 212 : if (!register_operand (operands[1], E_V8SImode)
6203 212 : || !nonimmediate_operand (operands[2], E_V8SFmode)
6204 424 : || !const0_operand (operands[3], E_V8QImode))
6205 0 : return -1;
6206 : return 1;
6207 :
6208 : default:
6209 : return -1;
6210 : }
6211 : }
6212 :
6213 : int
6214 232 : pattern967 (rtx x1, machine_mode i1)
6215 : {
6216 232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6217 232 : rtx x2;
6218 232 : int res ATTRIBUTE_UNUSED;
6219 232 : if (!register_operand (operands[0], i1)
6220 232 : || GET_MODE (x1) != i1)
6221 : return -1;
6222 223 : x2 = XEXP (x1, 0);
6223 223 : if (GET_MODE (x2) != i1
6224 223 : || !nonimmediate_operand (operands[1], i1)
6225 220 : || !nonimmediate_operand (operands[2], i1)
6226 443 : || !nonimmediate_operand (operands[3], i1))
6227 3 : return -1;
6228 : return 0;
6229 : }
6230 :
6231 : int
6232 179479 : pattern972 (rtx x1)
6233 : {
6234 179479 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6235 179479 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6236 179479 : rtx x10, x11, x12, x13, x14, x15;
6237 179479 : int res ATTRIBUTE_UNUSED;
6238 179479 : x2 = XVECEXP (x1, 0, 2);
6239 179479 : if (GET_CODE (x2) != CONST_INT)
6240 : return -1;
6241 179479 : x3 = XVECEXP (x1, 0, 3);
6242 179479 : if (GET_CODE (x3) != CONST_INT)
6243 : return -1;
6244 179479 : x4 = XVECEXP (x1, 0, 4);
6245 179479 : if (GET_CODE (x4) != CONST_INT)
6246 : return -1;
6247 179479 : x5 = XVECEXP (x1, 0, 5);
6248 179479 : if (GET_CODE (x5) != CONST_INT)
6249 : return -1;
6250 179479 : x6 = XVECEXP (x1, 0, 6);
6251 179479 : if (GET_CODE (x6) != CONST_INT)
6252 : return -1;
6253 179479 : x7 = XVECEXP (x1, 0, 7);
6254 179479 : if (GET_CODE (x7) != CONST_INT)
6255 : return -1;
6256 179479 : x8 = XVECEXP (x1, 0, 8);
6257 179479 : if (GET_CODE (x8) != CONST_INT)
6258 : return -1;
6259 179479 : x9 = XVECEXP (x1, 0, 9);
6260 179479 : if (GET_CODE (x9) != CONST_INT)
6261 : return -1;
6262 179479 : x10 = XVECEXP (x1, 0, 10);
6263 179479 : if (GET_CODE (x10) != CONST_INT)
6264 : return -1;
6265 179479 : x11 = XVECEXP (x1, 0, 11);
6266 179479 : if (GET_CODE (x11) != CONST_INT)
6267 : return -1;
6268 179479 : x12 = XVECEXP (x1, 0, 12);
6269 179479 : if (GET_CODE (x12) != CONST_INT)
6270 : return -1;
6271 179479 : x13 = XVECEXP (x1, 0, 13);
6272 179479 : if (GET_CODE (x13) != CONST_INT)
6273 : return -1;
6274 179479 : x14 = XVECEXP (x1, 0, 14);
6275 179479 : if (GET_CODE (x14) != CONST_INT)
6276 : return -1;
6277 179479 : x15 = XVECEXP (x1, 0, 15);
6278 179479 : if (GET_CODE (x15) != CONST_INT)
6279 0 : return -1;
6280 : return 0;
6281 : }
6282 :
6283 : int
6284 8153 : pattern984 (rtx x1, machine_mode i1)
6285 : {
6286 8153 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6287 8153 : rtx x2;
6288 8153 : int res ATTRIBUTE_UNUSED;
6289 8153 : if (!register_operand (operands[0], i1)
6290 8153 : || GET_MODE (x1) != i1)
6291 : return -1;
6292 8102 : x2 = XEXP (x1, 0);
6293 8102 : if (GET_MODE (x2) != i1
6294 8102 : || !register_operand (operands[1], i1))
6295 3229 : return -1;
6296 : return 0;
6297 : }
6298 :
6299 : int
6300 8260 : pattern988 (rtx x1, rtx_code i1)
6301 : {
6302 8260 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6303 8260 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6304 8260 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
6305 8260 : rtx x18;
6306 8260 : int res ATTRIBUTE_UNUSED;
6307 8260 : x2 = XVECEXP (x1, 0, 0);
6308 8260 : x3 = XEXP (x2, 1);
6309 8260 : x4 = XEXP (x3, 0);
6310 8260 : x5 = XEXP (x4, 0);
6311 8260 : if (GET_CODE (x5) != SUBREG
6312 1473 : || maybe_ne (SUBREG_BYTE (x5), 0)
6313 9733 : || GET_MODE (x5) != E_QImode)
6314 : return -1;
6315 1473 : x6 = XEXP (x5, 0);
6316 1473 : switch (GET_CODE (x6))
6317 : {
6318 700 : case ASHIFTRT:
6319 700 : case LSHIFTRT:
6320 700 : case SIGN_EXTRACT:
6321 700 : case ZERO_EXTRACT:
6322 700 : operands[3] = x6;
6323 700 : x7 = XVECEXP (x1, 0, 1);
6324 700 : if (GET_CODE (x7) != SET)
6325 : return -1;
6326 415 : x8 = XEXP (x7, 1);
6327 415 : if (GET_CODE (x8) != SUBREG
6328 415 : || maybe_ne (SUBREG_BYTE (x8), 0))
6329 : return -1;
6330 0 : x9 = XEXP (x8, 0);
6331 0 : if (GET_CODE (x9) != i1
6332 0 : || GET_MODE (x9) != E_QImode)
6333 : return -1;
6334 0 : x10 = XEXP (x9, 0);
6335 0 : if (GET_CODE (x10) != SUBREG
6336 0 : || maybe_ne (SUBREG_BYTE (x10), 0)
6337 0 : || GET_MODE (x10) != E_QImode)
6338 : return -1;
6339 0 : x11 = XEXP (x10, 0);
6340 0 : if (GET_CODE (x11) != ZERO_EXTRACT)
6341 : return -1;
6342 0 : x12 = XEXP (x11, 1);
6343 0 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6344 : return -1;
6345 0 : x13 = XEXP (x11, 2);
6346 0 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6347 : return -1;
6348 0 : x14 = XEXP (x7, 0);
6349 0 : if (GET_CODE (x14) != ZERO_EXTRACT)
6350 : return -1;
6351 0 : x15 = XEXP (x14, 1);
6352 0 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6353 : return -1;
6354 0 : x16 = XEXP (x14, 2);
6355 0 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6356 : return -1;
6357 0 : x17 = XEXP (x2, 0);
6358 0 : operands[4] = x17;
6359 0 : if (!flags_reg_operand (operands[4], E_VOIDmode))
6360 : return -1;
6361 0 : operands[5] = x3;
6362 0 : if (!compare_operator (operands[5], E_VOIDmode)
6363 0 : || GET_MODE (x4) != E_QImode)
6364 : return -1;
6365 0 : x18 = XEXP (x6, 0);
6366 0 : operands[1] = x18;
6367 0 : if (!int248_register_operand (operands[1], E_VOIDmode))
6368 : return -1;
6369 0 : return pattern608 (x7); /* [-1, 2] */
6370 :
6371 : default:
6372 : return -1;
6373 : }
6374 : }
6375 :
6376 : int
6377 6044598 : pattern1002 (rtx x1, machine_mode i1)
6378 : {
6379 6044598 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6380 6044598 : rtx x2, x3, x4, x5;
6381 6044598 : int res ATTRIBUTE_UNUSED;
6382 6044598 : x2 = XEXP (x1, 0);
6383 6044598 : operands[2] = x2;
6384 6044598 : x3 = XEXP (x1, 1);
6385 6044598 : operands[3] = x3;
6386 6044598 : if (!general_gr_operand (operands[3], i1))
6387 : return -1;
6388 4673704 : x4 = PATTERN (peep2_next_insn (1));
6389 4673704 : x5 = XEXP (x4, 1);
6390 4673704 : return pattern1001 (x5,
6391 4673704 : i1); /* [-1, 0] */
6392 : }
6393 :
6394 : int
6395 8688 : pattern1006 (rtx x1, machine_mode i1)
6396 : {
6397 8688 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6398 8688 : int res ATTRIBUTE_UNUSED;
6399 8688 : if (!register_operand (operands[0], i1)
6400 8668 : || GET_MODE (x1) != i1
6401 8668 : || !register_operand (operands[1], i1)
6402 6966 : || !register_operand (operands[2], i1)
6403 14310 : || !register_operand (operands[3], i1))
6404 3669 : return -1;
6405 : return 0;
6406 : }
6407 :
6408 : int
6409 7971 : pattern1007 (rtx x1, machine_mode i1)
6410 : {
6411 7971 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6412 7971 : int res ATTRIBUTE_UNUSED;
6413 7971 : if (!register_operand (operands[0], i1)
6414 7613 : || GET_MODE (x1) != i1
6415 7613 : || !nonimmediate_operand (operands[2], i1)
6416 15484 : || !register_operand (operands[1], i1))
6417 963 : return -1;
6418 : return 0;
6419 : }
6420 :
6421 : int
6422 0 : pattern1009 (rtx x1)
6423 : {
6424 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6425 0 : rtx x2, x3;
6426 0 : int res ATTRIBUTE_UNUSED;
6427 0 : x2 = XEXP (x1, 0);
6428 0 : switch (GET_MODE (x2))
6429 : {
6430 0 : case E_HImode:
6431 0 : x3 = XEXP (x1, 1);
6432 0 : if (GET_MODE (x3) != E_HImode
6433 0 : || !register_operand (operands[1], E_HImode))
6434 0 : return -1;
6435 : return 0;
6436 :
6437 0 : case E_SImode:
6438 0 : x3 = XEXP (x1, 1);
6439 0 : if (GET_MODE (x3) != E_SImode
6440 0 : || !register_operand (operands[1], E_SImode))
6441 0 : return -1;
6442 : return 1;
6443 :
6444 0 : case E_DImode:
6445 0 : x3 = XEXP (x1, 1);
6446 0 : if (GET_MODE (x3) != E_DImode
6447 0 : || !register_operand (operands[1], E_DImode))
6448 0 : return -1;
6449 : return 2;
6450 :
6451 : default:
6452 : return -1;
6453 : }
6454 : }
6455 :
6456 : int
6457 154 : pattern1012 (rtx x1)
6458 : {
6459 154 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6460 154 : rtx x2;
6461 154 : int res ATTRIBUTE_UNUSED;
6462 154 : if (!register_operand (operands[0], E_QImode)
6463 154 : || GET_MODE (x1) != E_QImode)
6464 : return -1;
6465 154 : x2 = XEXP (x1, 0);
6466 154 : if (GET_MODE (x2) != E_QImode)
6467 : return -1;
6468 154 : switch (GET_MODE (operands[1]))
6469 : {
6470 3 : case E_V8SImode:
6471 3 : if (!register_operand (operands[1], E_V8SImode)
6472 3 : || !nonimmediate_operand (operands[2], E_V8SImode)
6473 6 : || !const_0_to_7_operand (operands[3], E_SImode))
6474 0 : return -1;
6475 : return 0;
6476 :
6477 0 : case E_V4SImode:
6478 0 : if (!register_operand (operands[1], E_V4SImode)
6479 0 : || !nonimmediate_operand (operands[2], E_V4SImode)
6480 0 : || !const_0_to_7_operand (operands[3], E_SImode))
6481 0 : return -1;
6482 : return 1;
6483 :
6484 29 : case E_V8DImode:
6485 29 : if (!register_operand (operands[1], E_V8DImode)
6486 29 : || !nonimmediate_operand (operands[2], E_V8DImode)
6487 58 : || !const_0_to_7_operand (operands[3], E_SImode))
6488 0 : return -1;
6489 : return 2;
6490 :
6491 0 : case E_V4DImode:
6492 0 : if (!register_operand (operands[1], E_V4DImode)
6493 0 : || !nonimmediate_operand (operands[2], E_V4DImode)
6494 0 : || !const_0_to_7_operand (operands[3], E_SImode))
6495 0 : return -1;
6496 : return 3;
6497 :
6498 0 : case E_V2DImode:
6499 0 : if (!register_operand (operands[1], E_V2DImode)
6500 0 : || !nonimmediate_operand (operands[2], E_V2DImode)
6501 0 : || !const_0_to_7_operand (operands[3], E_SImode))
6502 0 : return -1;
6503 : return 4;
6504 :
6505 0 : case E_V8HFmode:
6506 0 : if (!register_operand (operands[1], E_V8HFmode)
6507 0 : || !nonimmediate_operand (operands[2], E_V8HFmode)
6508 0 : || !const_0_to_31_operand (operands[3], E_SImode))
6509 0 : return -1;
6510 : return 5;
6511 :
6512 3 : case E_V8SFmode:
6513 3 : if (!register_operand (operands[1], E_V8SFmode)
6514 3 : || !nonimmediate_operand (operands[2], E_V8SFmode)
6515 6 : || !const_0_to_31_operand (operands[3], E_SImode))
6516 0 : return -1;
6517 : return 6;
6518 :
6519 21 : case E_V4SFmode:
6520 21 : if (!register_operand (operands[1], E_V4SFmode)
6521 18 : || !nonimmediate_operand (operands[2], E_V4SFmode)
6522 33 : || !const_0_to_31_operand (operands[3], E_SImode))
6523 9 : return -1;
6524 : return 7;
6525 :
6526 50 : case E_V8DFmode:
6527 50 : if (!register_operand (operands[1], E_V8DFmode)
6528 50 : || !nonimmediate_operand (operands[2], E_V8DFmode)
6529 100 : || !const_0_to_31_operand (operands[3], E_SImode))
6530 0 : return -1;
6531 : return 8;
6532 :
6533 25 : case E_V4DFmode:
6534 25 : if (!register_operand (operands[1], E_V4DFmode)
6535 25 : || !nonimmediate_operand (operands[2], E_V4DFmode)
6536 50 : || !const_0_to_31_operand (operands[3], E_SImode))
6537 0 : return -1;
6538 : return 9;
6539 :
6540 20 : case E_V2DFmode:
6541 20 : if (!register_operand (operands[1], E_V2DFmode)
6542 20 : || !nonimmediate_operand (operands[2], E_V2DFmode)
6543 40 : || !const_0_to_31_operand (operands[3], E_SImode))
6544 0 : return -1;
6545 : return 10;
6546 :
6547 3 : case E_V8HImode:
6548 3 : if (!register_operand (operands[1], E_V8HImode)
6549 3 : || !nonimmediate_operand (operands[2], E_V8HImode)
6550 6 : || !const_0_to_7_operand (operands[3], E_SImode))
6551 0 : return -1;
6552 : return 11;
6553 :
6554 : default:
6555 : return -1;
6556 : }
6557 : }
6558 :
6559 : int
6560 1726 : pattern1028 (rtx x1)
6561 : {
6562 1726 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6563 1726 : rtx x2, x3;
6564 1726 : int res ATTRIBUTE_UNUSED;
6565 1726 : x2 = XEXP (x1, 1);
6566 1726 : operands[3] = x2;
6567 1726 : switch (GET_MODE (operands[0]))
6568 : {
6569 177 : case E_DImode:
6570 177 : if (!register_operand (operands[0], E_DImode)
6571 177 : || GET_MODE (x1) != E_DImode)
6572 : return -1;
6573 169 : x3 = XEXP (x1, 0);
6574 169 : if (GET_MODE (x3) != E_DImode
6575 169 : || !nonimm_or_0_operand (operands[1], E_V64QImode)
6576 169 : || !nonimm_or_0_operand (operands[2], E_V64QImode)
6577 338 : || !register_operand (operands[3], E_DImode))
6578 73 : return -1;
6579 : return 0;
6580 :
6581 388 : case E_SImode:
6582 388 : if (!register_operand (operands[0], E_SImode)
6583 388 : || GET_MODE (x1) != E_SImode)
6584 : return -1;
6585 368 : x3 = XEXP (x1, 0);
6586 368 : if (GET_MODE (x3) != E_SImode
6587 368 : || !register_operand (operands[3], E_SImode))
6588 : return -1;
6589 138 : switch (GET_MODE (operands[1]))
6590 : {
6591 67 : case E_V32QImode:
6592 67 : if (!nonimm_or_0_operand (operands[1], E_V32QImode)
6593 67 : || !nonimm_or_0_operand (operands[2], E_V32QImode))
6594 0 : return -1;
6595 : return 1;
6596 :
6597 67 : case E_V32HImode:
6598 67 : if (!nonimm_or_0_operand (operands[1], E_V32HImode)
6599 67 : || !nonimm_or_0_operand (operands[2], E_V32HImode))
6600 0 : return -1;
6601 : return 2;
6602 :
6603 : default:
6604 : return -1;
6605 : }
6606 :
6607 : default:
6608 : return -1;
6609 : }
6610 : }
6611 :
6612 : int
6613 622 : pattern1035 (rtx x1)
6614 : {
6615 622 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6616 622 : rtx x2;
6617 622 : int res ATTRIBUTE_UNUSED;
6618 622 : if (!register_operand (operands[0], E_V8DImode)
6619 622 : || GET_MODE (x1) != E_V8DImode)
6620 : return -1;
6621 508 : x2 = XEXP (x1, 0);
6622 508 : if (GET_MODE (x2) != E_V8DImode
6623 508 : || !nonimm_or_0_operand (operands[2], E_V8DImode)
6624 972 : || !register_operand (operands[3], E_QImode))
6625 : return -1;
6626 400 : switch (GET_MODE (operands[1]))
6627 : {
6628 146 : case E_V8HFmode:
6629 146 : if (!vector_operand (operands[1], E_V8HFmode))
6630 0 : return -1;
6631 : return 0;
6632 :
6633 126 : case E_V8DFmode:
6634 126 : if (!vector_operand (operands[1], E_V8DFmode))
6635 0 : return -1;
6636 : return 1;
6637 :
6638 128 : case E_V8SFmode:
6639 128 : if (!vector_operand (operands[1], E_V8SFmode))
6640 0 : return -1;
6641 : return 2;
6642 :
6643 : default:
6644 : return -1;
6645 : }
6646 : }
6647 :
6648 : int
6649 12898 : pattern1040 (rtx x1, machine_mode i1, machine_mode i2)
6650 : {
6651 12898 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6652 12898 : rtx x2;
6653 12898 : int res ATTRIBUTE_UNUSED;
6654 12898 : if (!register_operand (operands[0], i1)
6655 12898 : || GET_MODE (x1) != i1)
6656 : return -1;
6657 12661 : x2 = XEXP (x1, 0);
6658 12661 : if (GET_MODE (x2) != i1
6659 12661 : || !memory_operand (operands[1], i1)
6660 12516 : || !nonimm_or_0_operand (operands[2], i1)
6661 25052 : || !register_operand (operands[3], i2))
6662 303 : return -1;
6663 : return 0;
6664 : }
6665 :
6666 : int
6667 180 : pattern1045 (rtx x1, machine_mode i1)
6668 : {
6669 180 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6670 180 : rtx x2, x3, x4, x5, x6;
6671 180 : int res ATTRIBUTE_UNUSED;
6672 180 : if (!register_operand (operands[0], i1)
6673 180 : || GET_MODE (x1) != i1)
6674 : return -1;
6675 142 : x2 = XEXP (x1, 0);
6676 142 : if (GET_MODE (x2) != i1)
6677 : return -1;
6678 142 : x3 = XEXP (x2, 0);
6679 142 : if (GET_MODE (x3) != i1)
6680 : return -1;
6681 142 : x4 = XEXP (x3, 0);
6682 142 : if (GET_MODE (x4) != i1)
6683 : return -1;
6684 142 : x5 = XEXP (x4, 0);
6685 142 : if (!nonimmediate_operand (x5, i1))
6686 : return -1;
6687 142 : x6 = XEXP (x3, 1);
6688 142 : if (!nonimmediate_operand (x6, i1))
6689 0 : return -1;
6690 : return 0;
6691 : }
6692 :
6693 : int
6694 480 : pattern1051 (rtx x1)
6695 : {
6696 480 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6697 480 : rtx x2, x3, x4, x5;
6698 480 : int res ATTRIBUTE_UNUSED;
6699 480 : x2 = XEXP (x1, 0);
6700 480 : x3 = XEXP (x2, 0);
6701 480 : x4 = XEXP (x3, 0);
6702 480 : operands[2] = x4;
6703 480 : x5 = XEXP (x1, 1);
6704 480 : operands[1] = x5;
6705 480 : switch (GET_MODE (operands[0]))
6706 : {
6707 32 : case E_V8HImode:
6708 32 : return pattern1050 (x1,
6709 : E_V8HImode,
6710 32 : E_HImode); /* [-1, 0] */
6711 :
6712 0 : case E_V8HFmode:
6713 0 : if (pattern1050 (x1,
6714 : E_V8HFmode,
6715 : E_HFmode) != 0)
6716 0 : return -1;
6717 : return 1;
6718 :
6719 0 : case E_V8BFmode:
6720 0 : if (pattern1050 (x1,
6721 : E_V8BFmode,
6722 : E_BFmode) != 0)
6723 0 : return -1;
6724 : return 2;
6725 :
6726 : default:
6727 : return -1;
6728 : }
6729 : }
6730 :
6731 : int
6732 839 : pattern1056 (rtx x1, machine_mode i1)
6733 : {
6734 839 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6735 839 : rtx x2, x3;
6736 839 : int res ATTRIBUTE_UNUSED;
6737 839 : if (!register_operand (operands[0], i1)
6738 839 : || GET_MODE (x1) != i1)
6739 : return -1;
6740 805 : x2 = XEXP (x1, 0);
6741 805 : if (GET_MODE (x2) != i1)
6742 : return -1;
6743 805 : x3 = XEXP (x2, 0);
6744 805 : if (GET_MODE (x3) != i1
6745 805 : || !register_operand (operands[1], i1)
6746 805 : || !vector_operand (operands[2], i1)
6747 781 : || !nonimm_or_0_operand (operands[3], i1)
6748 1574 : || !register_operand (operands[4], E_QImode))
6749 81 : return -1;
6750 : return 0;
6751 : }
6752 :
6753 : int
6754 444 : pattern1060 (rtx x1, machine_mode i1)
6755 : {
6756 444 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6757 444 : int res ATTRIBUTE_UNUSED;
6758 444 : if (!register_operand (operands[0], i1)
6759 444 : || GET_MODE (x1) != i1
6760 444 : || !ix86_comparison_uns_operator (operands[1], i1)
6761 444 : || !register_operand (operands[2], i1)
6762 888 : || !nonimmediate_operand (operands[3], i1))
6763 0 : return -1;
6764 : return 0;
6765 : }
6766 :
6767 : int
6768 1006 : pattern1065 (rtx x1)
6769 : {
6770 1006 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6771 1006 : rtx x2;
6772 1006 : int res ATTRIBUTE_UNUSED;
6773 1006 : if (!const48_operand (operands[2], E_SImode))
6774 : return -1;
6775 1006 : switch (GET_MODE (operands[0]))
6776 : {
6777 0 : case E_V8HImode:
6778 0 : return pattern1062 (x1,
6779 : E_V8HFmode,
6780 0 : E_V8HImode); /* [-1, 0] */
6781 :
6782 0 : case E_V16HImode:
6783 0 : if (pattern1062 (x1,
6784 : E_V16HFmode,
6785 : E_V16HImode) != 0)
6786 0 : return -1;
6787 : return 1;
6788 :
6789 150 : case E_V32HImode:
6790 150 : if (pattern1062 (x1,
6791 : E_V32HFmode,
6792 : E_V32HImode) != 0)
6793 18 : return -1;
6794 : return 2;
6795 :
6796 130 : case E_V8SImode:
6797 130 : res = pattern1063 (x1);
6798 130 : if (res >= 0)
6799 128 : return res + 3; /* [3, 4] */
6800 : return -1;
6801 :
6802 280 : case E_V16SImode:
6803 280 : res = pattern1064 (x1);
6804 280 : if (res >= 0)
6805 260 : return res + 5; /* [5, 6] */
6806 : return -1;
6807 :
6808 350 : case E_V8DImode:
6809 350 : if (!register_operand (operands[0], E_V8DImode)
6810 350 : || GET_MODE (x1) != E_V8DImode)
6811 : return -1;
6812 326 : x2 = XVECEXP (x1, 0, 0);
6813 326 : if (GET_MODE (x2) != E_V8DImode)
6814 : return -1;
6815 326 : switch (GET_MODE (operands[1]))
6816 : {
6817 118 : case E_V8HFmode:
6818 118 : if (!register_operand (operands[1], E_V8HFmode))
6819 10 : return -1;
6820 : return 7;
6821 :
6822 104 : case E_V8DFmode:
6823 104 : if (!register_operand (operands[1], E_V8DFmode))
6824 2 : return -1;
6825 : return 8;
6826 :
6827 104 : case E_V8SFmode:
6828 104 : if (!register_operand (operands[1], E_V8SFmode))
6829 2 : return -1;
6830 : return 9;
6831 :
6832 : default:
6833 : return -1;
6834 : }
6835 :
6836 : default:
6837 : return -1;
6838 : }
6839 : }
6840 :
6841 : int
6842 19169 : pattern1082 (rtx x1)
6843 : {
6844 19169 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6845 19169 : rtx x2, x3;
6846 19169 : int res ATTRIBUTE_UNUSED;
6847 19169 : x2 = XEXP (x1, 0);
6848 19169 : switch (GET_MODE (x2))
6849 : {
6850 19043 : case E_HImode:
6851 19043 : x3 = XEXP (x1, 1);
6852 19043 : if (GET_MODE (x3) != E_HImode
6853 19043 : || !extract_high_operator (operands[3], E_HImode))
6854 0 : return -1;
6855 : return 0;
6856 :
6857 99 : case E_SImode:
6858 99 : x3 = XEXP (x1, 1);
6859 99 : if (GET_MODE (x3) != E_SImode
6860 99 : || !extract_high_operator (operands[3], E_SImode))
6861 0 : return -1;
6862 : return 1;
6863 :
6864 27 : case E_DImode:
6865 27 : x3 = XEXP (x1, 1);
6866 27 : if (GET_MODE (x3) != E_DImode
6867 27 : || !extract_high_operator (operands[3], E_DImode))
6868 0 : return -1;
6869 : return 2;
6870 :
6871 : default:
6872 : return -1;
6873 : }
6874 : }
6875 :
6876 : int
6877 19347 : pattern1085 (rtx x1)
6878 : {
6879 19347 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6880 19347 : rtx x2;
6881 19347 : int res ATTRIBUTE_UNUSED;
6882 19347 : switch (GET_MODE (operands[0]))
6883 : {
6884 10 : case E_HImode:
6885 10 : if (!register_operand (operands[0], E_HImode)
6886 10 : || GET_MODE (x1) != E_HImode)
6887 : return -1;
6888 10 : x2 = XEXP (x1, 0);
6889 10 : if (GET_MODE (x2) != E_QImode
6890 10 : || !nonimmediate_operand (operands[1], E_QImode)
6891 18 : || !x86_64_general_operand (operands[2], E_QImode))
6892 2 : return -1;
6893 : return 0;
6894 :
6895 735 : case E_SImode:
6896 735 : if (!register_operand (operands[0], E_SImode)
6897 735 : || GET_MODE (x1) != E_SImode)
6898 : return -1;
6899 733 : x2 = XEXP (x1, 0);
6900 733 : switch (GET_MODE (x2))
6901 : {
6902 248 : case E_QImode:
6903 248 : if (!nonimmediate_operand (operands[1], E_QImode)
6904 248 : || !x86_64_general_operand (operands[2], E_QImode))
6905 2 : return -1;
6906 : return 1;
6907 :
6908 485 : case E_HImode:
6909 485 : if (!nonimmediate_operand (operands[1], E_HImode)
6910 485 : || !x86_64_general_operand (operands[2], E_HImode))
6911 48 : return -1;
6912 : return 2;
6913 :
6914 : default:
6915 : return -1;
6916 : }
6917 :
6918 18601 : case E_DImode:
6919 18601 : if (!register_operand (operands[0], E_DImode)
6920 18601 : || GET_MODE (x1) != E_DImode)
6921 : return -1;
6922 18601 : x2 = XEXP (x1, 0);
6923 18601 : switch (GET_MODE (x2))
6924 : {
6925 248 : case E_QImode:
6926 248 : if (!nonimmediate_operand (operands[1], E_QImode)
6927 248 : || !x86_64_general_operand (operands[2], E_QImode))
6928 0 : return -1;
6929 : return 3;
6930 :
6931 19 : case E_HImode:
6932 19 : if (!nonimmediate_operand (operands[1], E_HImode)
6933 19 : || !x86_64_general_operand (operands[2], E_HImode))
6934 0 : return -1;
6935 : return 4;
6936 :
6937 18334 : case E_SImode:
6938 18334 : if (!nonimmediate_operand (operands[1], E_SImode)
6939 18334 : || !x86_64_general_operand (operands[2], E_SImode))
6940 2213 : return -1;
6941 : return 5;
6942 :
6943 : default:
6944 : return -1;
6945 : }
6946 :
6947 : default:
6948 : return -1;
6949 : }
6950 : }
6951 :
6952 : int
6953 1472 : pattern1091 (rtx x1, int *pnum_clobbers, machine_mode i1)
6954 : {
6955 1472 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6956 1472 : rtx x2, x3, x4, x5;
6957 1472 : int res ATTRIBUTE_UNUSED;
6958 1472 : if (!register_operand (operands[0], i1))
6959 : return -1;
6960 1388 : x2 = XVECEXP (x1, 0, 0);
6961 1388 : x3 = XEXP (x2, 1);
6962 1388 : if (GET_MODE (x3) != i1)
6963 : return -1;
6964 1388 : x4 = XEXP (x3, 1);
6965 1388 : if (GET_MODE (x4) != i1
6966 1388 : || !nonimmediate_operand (operands[1], i1))
6967 : return -1;
6968 1013 : x5 = XVECEXP (x1, 0, 1);
6969 1013 : return pattern859 (x5, pnum_clobbers,
6970 1013 : i1); /* [-1, 1] */
6971 : }
6972 :
6973 : int
6974 1409 : pattern1093 (rtx x1)
6975 : {
6976 1409 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6977 1409 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6978 1409 : int res ATTRIBUTE_UNUSED;
6979 1409 : x2 = XEXP (x1, 0);
6980 1409 : operands[0] = x2;
6981 1409 : x3 = XEXP (x1, 1);
6982 1409 : x4 = XEXP (x3, 0);
6983 1409 : x5 = XEXP (x4, 0);
6984 1409 : x6 = XEXP (x5, 0);
6985 1409 : operands[1] = x6;
6986 1409 : x7 = XEXP (x5, 1);
6987 1409 : operands[2] = x7;
6988 1409 : x8 = XEXP (x4, 1);
6989 1409 : operands[3] = x8;
6990 1409 : x9 = XEXP (x3, 1);
6991 1409 : if (!rtx_equal_p (x9, operands[1]))
6992 : return -1;
6993 845 : switch (GET_MODE (operands[0]))
6994 : {
6995 84 : case E_HImode:
6996 84 : return pattern1092 (x3,
6997 84 : E_HImode); /* [-1, 0] */
6998 :
6999 749 : case E_SImode:
7000 749 : if (pattern1092 (x3,
7001 : E_SImode) != 0)
7002 49 : return -1;
7003 : return 1;
7004 :
7005 0 : case E_DImode:
7006 0 : if (pattern1092 (x3,
7007 : E_DImode) != 0)
7008 0 : return -1;
7009 : return 2;
7010 :
7011 : default:
7012 : return -1;
7013 : }
7014 : }
7015 :
7016 : int
7017 264 : pattern1100 (rtx x1, machine_mode i1)
7018 : {
7019 264 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7020 264 : rtx x2;
7021 264 : int res ATTRIBUTE_UNUSED;
7022 264 : if (!register_operand (operands[0], i1)
7023 264 : || GET_MODE (x1) != i1)
7024 : return -1;
7025 230 : x2 = XEXP (x1, 0);
7026 230 : if (GET_MODE (x2) != i1
7027 230 : || !register_operand (operands[3], i1))
7028 182 : return -1;
7029 : return 0;
7030 : }
7031 :
7032 : int
7033 269 : pattern1104 (rtx x1)
7034 : {
7035 269 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7036 269 : rtx x2, x3, x4, x5;
7037 269 : int res ATTRIBUTE_UNUSED;
7038 269 : x2 = XVECEXP (x1, 0, 0);
7039 269 : x3 = XEXP (x2, 1);
7040 269 : if (GET_MODE (x3) != E_XFmode)
7041 : return -1;
7042 269 : x4 = XVECEXP (x1, 0, 1);
7043 269 : x5 = XEXP (x4, 0);
7044 269 : if (GET_CODE (x5) != REG
7045 269 : || REGNO (x5) != 17
7046 210 : || GET_MODE (x5) != E_CCmode
7047 210 : || !register_operand (operands[0], E_XFmode)
7048 479 : || !register_operand (operands[1], E_XFmode))
7049 115 : return -1;
7050 : return 0;
7051 : }
7052 :
7053 : int
7054 4 : pattern1107 (rtx x1, machine_mode i1, machine_mode i2)
7055 : {
7056 4 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7057 4 : rtx x2, x3;
7058 4 : int res ATTRIBUTE_UNUSED;
7059 4 : if (!register_operand (operands[0], i1)
7060 4 : || GET_MODE (x1) != i1)
7061 : return -1;
7062 4 : x2 = XEXP (x1, 0);
7063 4 : if (GET_MODE (x2) != i1)
7064 : return -1;
7065 4 : x3 = XEXP (x2, 0);
7066 4 : if (GET_MODE (x3) != i2
7067 4 : || !vector_operand (operands[2], i1))
7068 0 : return -1;
7069 : return 0;
7070 : }
7071 :
7072 : int
7073 1983 : pattern1110 (rtx x1)
7074 : {
7075 1983 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7076 1983 : rtx x2, x3, x4;
7077 1983 : int res ATTRIBUTE_UNUSED;
7078 1983 : if (GET_MODE (x1) != E_DImode)
7079 : return -1;
7080 1983 : x2 = XEXP (x1, 1);
7081 1983 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
7082 : return -1;
7083 1983 : x3 = XEXP (x1, 0);
7084 1983 : operands[0] = x3;
7085 1983 : if (!nonimmediate_operand (operands[0], E_DImode))
7086 : return -1;
7087 1983 : x4 = XEXP (x1, 2);
7088 1983 : operands[1] = x4;
7089 1983 : if (!const_0_to_63_operand (operands[1], E_QImode))
7090 0 : return -1;
7091 : return 0;
7092 : }
7093 :
7094 : int
7095 29083 : pattern1114 (rtx x1)
7096 : {
7097 29083 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7098 29083 : rtx x2, x3, x4, x5;
7099 29083 : int res ATTRIBUTE_UNUSED;
7100 29083 : if (!int248_register_operand (operands[2], E_VOIDmode))
7101 : return -1;
7102 27017 : x2 = XEXP (x1, 1);
7103 27017 : x3 = XEXP (x2, 1);
7104 27017 : operands[1] = x3;
7105 27017 : if (!nonimmediate_operand (operands[1], E_QImode))
7106 : return -1;
7107 15174 : x4 = XEXP (x1, 0);
7108 15174 : switch (GET_CODE (x4))
7109 : {
7110 30 : case STRICT_LOW_PART:
7111 30 : x5 = XEXP (x4, 0);
7112 30 : operands[0] = x5;
7113 30 : if (!register_operand (operands[0], E_QImode))
7114 : return -1;
7115 30 : return pattern1113 (); /* [-1, 2] */
7116 :
7117 15144 : case REG:
7118 15144 : case SUBREG:
7119 15144 : case MEM:
7120 15144 : operands[0] = x4;
7121 15144 : if (!nonimmediate_operand (operands[0], E_QImode))
7122 : return -1;
7123 15144 : res = pattern1113 ();
7124 15144 : if (res >= 0)
7125 170 : return res + 3; /* [3, 5] */
7126 : return -1;
7127 :
7128 : default:
7129 : return -1;
7130 : }
7131 : }
7132 :
7133 : int
7134 34669 : pattern1120 (rtx x1)
7135 : {
7136 34669 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7137 34669 : rtx x2;
7138 34669 : int res ATTRIBUTE_UNUSED;
7139 34669 : x2 = XEXP (x1, 1);
7140 34669 : operands[4] = x2;
7141 34669 : switch (GET_MODE (operands[0]))
7142 : {
7143 9363 : case E_HImode:
7144 9363 : return pattern1119 (x1,
7145 9363 : E_HImode); /* [-1, 0] */
7146 :
7147 17987 : case E_QImode:
7148 17987 : if (pattern1119 (x1,
7149 : E_QImode) != 0)
7150 2057 : return -1;
7151 : return 1;
7152 :
7153 : default:
7154 : return -1;
7155 : }
7156 : }
7157 :
7158 : int
7159 18537 : pattern1124 (rtx x1, machine_mode i1)
7160 : {
7161 18537 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7162 18537 : rtx x2;
7163 18537 : int res ATTRIBUTE_UNUSED;
7164 18537 : if (!register_operand (operands[0], i1)
7165 18537 : || GET_MODE (x1) != i1)
7166 : return -1;
7167 18203 : x2 = XEXP (x1, 0);
7168 18203 : if (GET_MODE (x2) != i1
7169 18203 : || !register_no_SP_operand (operands[1], i1)
7170 18101 : || !const123_operand (operands[2], E_VOIDmode)
7171 27802 : || !nonmemory_operand (operands[3], i1))
7172 8631 : return -1;
7173 : return 0;
7174 : }
7175 :
7176 : int
7177 0 : pattern1130 (rtx x1)
7178 : {
7179 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7180 0 : rtx x2;
7181 0 : int res ATTRIBUTE_UNUSED;
7182 0 : switch (GET_MODE (x1))
7183 : {
7184 0 : case E_DImode:
7185 0 : x2 = XEXP (x1, 0);
7186 0 : if (GET_MODE (x2) != E_DImode
7187 0 : || !register_operand (operands[1], E_V64QImode)
7188 0 : || !nonimmediate_operand (operands[2], E_V64QImode)
7189 0 : || !register_operand (operands[3], E_DImode))
7190 0 : return -1;
7191 : return 0;
7192 :
7193 0 : case E_SImode:
7194 0 : x2 = XEXP (x1, 0);
7195 0 : if (GET_MODE (x2) != E_SImode
7196 0 : || !register_operand (operands[3], E_SImode))
7197 : return -1;
7198 0 : switch (GET_MODE (operands[1]))
7199 : {
7200 0 : case E_V32QImode:
7201 0 : if (!register_operand (operands[1], E_V32QImode)
7202 0 : || !nonimmediate_operand (operands[2], E_V32QImode))
7203 0 : return -1;
7204 : return 1;
7205 :
7206 0 : case E_V32HImode:
7207 0 : if (!register_operand (operands[1], E_V32HImode)
7208 0 : || !nonimmediate_operand (operands[2], E_V32HImode))
7209 0 : return -1;
7210 : return 2;
7211 :
7212 : default:
7213 : return -1;
7214 : }
7215 :
7216 0 : case E_HImode:
7217 0 : x2 = XEXP (x1, 0);
7218 0 : if (GET_MODE (x2) != E_HImode
7219 0 : || !register_operand (operands[3], E_HImode))
7220 : return -1;
7221 0 : switch (GET_MODE (operands[1]))
7222 : {
7223 0 : case E_V16QImode:
7224 0 : if (!register_operand (operands[1], E_V16QImode)
7225 0 : || !nonimmediate_operand (operands[2], E_V16QImode))
7226 0 : return -1;
7227 : return 3;
7228 :
7229 0 : case E_V16HImode:
7230 0 : if (!register_operand (operands[1], E_V16HImode)
7231 0 : || !nonimmediate_operand (operands[2], E_V16HImode))
7232 0 : return -1;
7233 : return 4;
7234 :
7235 0 : case E_V16SImode:
7236 0 : if (!register_operand (operands[1], E_V16SImode)
7237 0 : || !nonimmediate_operand (operands[2], E_V16SImode))
7238 0 : return -1;
7239 : return 5;
7240 :
7241 : default:
7242 : return -1;
7243 : }
7244 :
7245 0 : case E_QImode:
7246 0 : x2 = XEXP (x1, 0);
7247 0 : if (GET_MODE (x2) != E_QImode
7248 0 : || !register_operand (operands[3], E_QImode))
7249 : return -1;
7250 0 : switch (GET_MODE (operands[1]))
7251 : {
7252 0 : case E_V8HImode:
7253 0 : if (!register_operand (operands[1], E_V8HImode)
7254 0 : || !nonimmediate_operand (operands[2], E_V8HImode))
7255 0 : return -1;
7256 : return 6;
7257 :
7258 0 : case E_V8SImode:
7259 0 : if (!register_operand (operands[1], E_V8SImode)
7260 0 : || !nonimmediate_operand (operands[2], E_V8SImode))
7261 0 : return -1;
7262 : return 7;
7263 :
7264 0 : case E_V4SImode:
7265 0 : if (!register_operand (operands[1], E_V4SImode)
7266 0 : || !nonimmediate_operand (operands[2], E_V4SImode))
7267 0 : return -1;
7268 : return 8;
7269 :
7270 0 : case E_V8DImode:
7271 0 : if (!register_operand (operands[1], E_V8DImode)
7272 0 : || !nonimmediate_operand (operands[2], E_V8DImode))
7273 0 : return -1;
7274 : return 9;
7275 :
7276 0 : case E_V4DImode:
7277 0 : if (!register_operand (operands[1], E_V4DImode)
7278 0 : || !nonimmediate_operand (operands[2], E_V4DImode))
7279 0 : return -1;
7280 : return 10;
7281 :
7282 0 : case E_V2DImode:
7283 0 : if (!register_operand (operands[1], E_V2DImode)
7284 0 : || !nonimmediate_operand (operands[2], E_V2DImode))
7285 0 : return -1;
7286 : return 11;
7287 :
7288 : default:
7289 : return -1;
7290 : }
7291 :
7292 : default:
7293 : return -1;
7294 : }
7295 : }
7296 :
7297 : int
7298 3139 : pattern1154 (rtx x1, machine_mode i1, machine_mode i2)
7299 : {
7300 3139 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7301 3139 : rtx x2;
7302 3139 : int res ATTRIBUTE_UNUSED;
7303 3139 : if (!register_operand (operands[0], i1)
7304 3139 : || GET_MODE (x1) != i1)
7305 : return -1;
7306 2953 : x2 = XEXP (x1, 0);
7307 2953 : if (GET_MODE (x2) != i1
7308 2953 : || !register_operand (operands[1], i1)
7309 2916 : || !nonimmediate_operand (operands[2], i1)
7310 2916 : || !nonimm_or_0_operand (operands[3], i1)
7311 5821 : || !register_operand (operands[4], i2))
7312 163 : return -1;
7313 : return 0;
7314 : }
7315 :
7316 : int
7317 76 : pattern1159 (rtx x1)
7318 : {
7319 76 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7320 76 : rtx x2, x3, x4, x5, x6, x7, x8;
7321 76 : int res ATTRIBUTE_UNUSED;
7322 76 : x2 = XEXP (x1, 0);
7323 76 : x3 = XEXP (x2, 0);
7324 76 : if (GET_MODE (x3) != E_V8HFmode)
7325 : return -1;
7326 76 : x4 = XEXP (x2, 2);
7327 76 : if (GET_CODE (x4) != UNSPEC
7328 76 : || XVECLEN (x4, 0) != 1
7329 76 : || XINT (x4, 1) != 222
7330 76 : || GET_MODE (x4) != E_QImode)
7331 : return -1;
7332 76 : x5 = XEXP (x1, 2);
7333 76 : if (XWINT (x5, 0) != 3L
7334 76 : || !register_operand (operands[0], E_V8HFmode)
7335 68 : || GET_MODE (x1) != E_V8HFmode
7336 68 : || GET_MODE (x2) != E_V8HFmode
7337 68 : || !vector_operand (operands[1], E_V8HFmode)
7338 68 : || !vector_operand (operands[2], E_V8HFmode)
7339 144 : || !vector_operand (operands[3], E_V8HFmode))
7340 : return -1;
7341 68 : x6 = XVECEXP (x4, 0, 0);
7342 68 : if (!register_operand (x6, E_QImode))
7343 : return -1;
7344 66 : x7 = XEXP (x1, 1);
7345 66 : if (!rtx_equal_p (x7, operands[2]))
7346 : return -1;
7347 66 : x8 = XEXP (x2, 1);
7348 66 : switch (GET_CODE (x8))
7349 : {
7350 22 : case CONST_INT:
7351 22 : case CONST_DOUBLE:
7352 22 : case CONST_VECTOR:
7353 22 : operands[4] = x8;
7354 22 : if (!const0_operand (operands[4], E_V8HFmode))
7355 : return -1;
7356 22 : operands[5] = x6;
7357 22 : return 0;
7358 :
7359 44 : case REG:
7360 44 : case SUBREG:
7361 44 : case MEM:
7362 44 : if (!rtx_equal_p (x8, operands[1]))
7363 : return -1;
7364 44 : operands[4] = x6;
7365 44 : return 1;
7366 :
7367 : default:
7368 : return -1;
7369 : }
7370 : }
7371 :
7372 : int
7373 637 : pattern1173 (rtx x1, machine_mode i1)
7374 : {
7375 637 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7376 637 : rtx x2;
7377 637 : int res ATTRIBUTE_UNUSED;
7378 637 : if (!register_operand (operands[0], i1)
7379 637 : || GET_MODE (x1) != i1)
7380 : return -1;
7381 601 : x2 = XVECEXP (x1, 0, 0);
7382 601 : if (GET_MODE (x2) != i1
7383 601 : || !register_operand (operands[1], i1)
7384 1182 : || !register_operand (operands[2], i1))
7385 28 : return -1;
7386 : return 0;
7387 : }
7388 :
7389 : int
7390 368 : pattern1176 (rtx x1)
7391 : {
7392 368 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7393 368 : rtx x2, x3;
7394 368 : int res ATTRIBUTE_UNUSED;
7395 368 : x2 = XVECEXP (x1, 0, 0);
7396 368 : if (GET_MODE (x2) != E_V32HFmode
7397 368 : || !register_operand (operands[0], E_V32HFmode)
7398 350 : || GET_MODE (x1) != E_V32HFmode
7399 350 : || !register_operand (operands[1], E_V32HFmode)
7400 716 : || !register_operand (operands[2], E_V32HFmode))
7401 : return -1;
7402 336 : x3 = XVECEXP (x2, 0, 2);
7403 336 : operands[3] = x3;
7404 336 : if (!register_operand (operands[3], E_V32HFmode)
7405 336 : || !const_4_or_8_to_11_operand (operands[4], E_SImode))
7406 8 : return -1;
7407 : return 0;
7408 : }
7409 :
7410 : int
7411 543 : pattern1180 (rtx x1, machine_mode i1, machine_mode i2)
7412 : {
7413 543 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7414 543 : rtx x2;
7415 543 : int res ATTRIBUTE_UNUSED;
7416 543 : if (!register_operand (operands[0], i2)
7417 543 : || GET_MODE (x1) != i2)
7418 : return -1;
7419 450 : x2 = XEXP (x1, 0);
7420 450 : if (GET_MODE (x2) != i1
7421 450 : || !nonimmediate_operand (operands[1], i2)
7422 819 : || !const0_operand (operands[2], i1))
7423 87 : return -1;
7424 : return 0;
7425 : }
7426 :
7427 : int
7428 19178 : pattern1185 (rtx x1, machine_mode i1)
7429 : {
7430 19178 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7431 19178 : int res ATTRIBUTE_UNUSED;
7432 19178 : if (!register_operand (operands[0], i1)
7433 19117 : || GET_MODE (x1) != i1
7434 19117 : || !register_operand (operands[1], i1)
7435 36851 : || !palignr_operand (operands[2], E_VOIDmode))
7436 17519 : return -1;
7437 : return 0;
7438 : }
7439 :
7440 : int
7441 3537 : pattern1188 (rtx x1, machine_mode i1)
7442 : {
7443 3537 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7444 3537 : int res ATTRIBUTE_UNUSED;
7445 3537 : if (!memory_operand (operands[0], i1)
7446 3537 : || GET_MODE (x1) != i1
7447 7074 : || !memory_operand (operands[1], i1))
7448 : return -1;
7449 3537 : switch (GET_MODE (operands[2]))
7450 : {
7451 16 : case E_SImode:
7452 16 : if (!register_operand (operands[2], E_SImode))
7453 0 : return -1;
7454 : return 0;
7455 :
7456 3521 : case E_DImode:
7457 3521 : if (!register_operand (operands[2], E_DImode))
7458 0 : return -1;
7459 : return 1;
7460 :
7461 : default:
7462 : return -1;
7463 : }
7464 : }
7465 :
7466 : int
7467 42 : pattern1192 (rtx x1)
7468 : {
7469 42 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7470 42 : rtx x2, x3, x4, x5, x6;
7471 42 : int res ATTRIBUTE_UNUSED;
7472 42 : x2 = XEXP (x1, 0);
7473 42 : x3 = XEXP (x2, 0);
7474 42 : operands[2] = x3;
7475 42 : x4 = XEXP (x3, 0);
7476 42 : if (GET_CODE (x4) != REG
7477 42 : || REGNO (x4) != 17)
7478 : return -1;
7479 22 : x5 = XEXP (x3, 1);
7480 22 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7481 : return -1;
7482 22 : x6 = XEXP (x2, 1);
7483 22 : operands[1] = x6;
7484 22 : return pattern1191 (x1); /* [-1, 5] */
7485 : }
7486 :
7487 : int
7488 65328 : pattern1196 (rtx x1)
7489 : {
7490 65328 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7491 65328 : rtx x2, x3, x4, x5;
7492 65328 : int res ATTRIBUTE_UNUSED;
7493 65328 : x2 = XEXP (x1, 0);
7494 65328 : x3 = XEXP (x2, 0);
7495 65328 : x4 = XEXP (x3, 0);
7496 65328 : if (GET_CODE (x4) != ZERO_EXTEND)
7497 : return -1;
7498 183 : x5 = XEXP (x2, 1);
7499 183 : if (GET_CODE (x5) != ZERO_EXTEND)
7500 : return -1;
7501 107 : return pattern387 (x1); /* [-1, 3] */
7502 : }
7503 :
7504 : int
7505 338 : pattern1199 (rtx x1)
7506 : {
7507 338 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7508 338 : rtx x2, x3, x4, x5, x6, x7;
7509 338 : int res ATTRIBUTE_UNUSED;
7510 338 : x2 = XEXP (x1, 0);
7511 338 : x3 = XEXP (x2, 0);
7512 338 : x4 = XEXP (x3, 1);
7513 338 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7514 : return -1;
7515 338 : x5 = XEXP (x3, 0);
7516 338 : operands[3] = x5;
7517 338 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
7518 : return -1;
7519 246 : x6 = XEXP (x2, 1);
7520 246 : operands[1] = x6;
7521 246 : x7 = XEXP (x1, 1);
7522 246 : operands[2] = x7;
7523 246 : switch (GET_MODE (operands[0]))
7524 : {
7525 6 : case E_QImode:
7526 6 : return pattern1197 (x1,
7527 6 : E_QImode); /* [-1, 0] */
7528 :
7529 0 : case E_HImode:
7530 0 : if (pattern1197 (x1,
7531 : E_HImode) != 0)
7532 0 : return -1;
7533 : return 1;
7534 :
7535 223 : case E_SImode:
7536 223 : if (pattern1198 (x1,
7537 : E_SImode) != 0)
7538 49 : return -1;
7539 : return 2;
7540 :
7541 17 : case E_DImode:
7542 17 : if (pattern1198 (x1,
7543 : E_DImode) != 0)
7544 0 : return -1;
7545 : return 3;
7546 :
7547 : default:
7548 : return -1;
7549 : }
7550 : }
7551 :
7552 : int
7553 14928 : pattern1210 (rtx x1)
7554 : {
7555 14928 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7556 14928 : rtx x2, x3;
7557 14928 : int res ATTRIBUTE_UNUSED;
7558 14928 : switch (XVECLEN (x1, 0))
7559 : {
7560 13942 : case 2:
7561 13942 : if (XINT (x1, 1) != 19)
7562 : return -1;
7563 13942 : x2 = XVECEXP (x1, 0, 1);
7564 13942 : if (GET_CODE (x2) != REG
7565 13942 : || REGNO (x2) != 7)
7566 0 : return -1;
7567 : return 0;
7568 :
7569 986 : case 1:
7570 986 : if (XINT (x1, 1) != 20)
7571 : return -1;
7572 986 : x3 = XVECEXP (x1, 0, 0);
7573 986 : if (GET_CODE (x3) != REG
7574 986 : || REGNO (x3) != 7)
7575 0 : return -1;
7576 : return 1;
7577 :
7578 : default:
7579 : return -1;
7580 : }
7581 : }
7582 :
7583 : int
7584 107 : pattern1214 (rtx x1)
7585 : {
7586 107 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7587 107 : rtx x2, x3, x4;
7588 107 : int res ATTRIBUTE_UNUSED;
7589 107 : x2 = XEXP (x1, 0);
7590 107 : if (GET_MODE (x2) != E_SImode
7591 77 : || !register_operand (operands[0], E_DImode)
7592 184 : || GET_MODE (x1) != E_DImode)
7593 : return -1;
7594 77 : x3 = XEXP (x2, 0);
7595 77 : operands[1] = x3;
7596 77 : if (!nonimmediate_operand (operands[1], E_SImode))
7597 : return -1;
7598 72 : x4 = XEXP (x2, 1);
7599 72 : operands[2] = x4;
7600 72 : if (!const_int_operand (operands[2], E_QImode))
7601 2 : return -1;
7602 : return 0;
7603 : }
7604 :
7605 : int
7606 24845 : pattern1220 (rtx x1)
7607 : {
7608 24845 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7609 24845 : rtx x2, x3, x4, x5;
7610 24845 : int res ATTRIBUTE_UNUSED;
7611 24845 : if (!nonmemory_operand (operands[2], E_QImode))
7612 : return -1;
7613 24681 : x2 = XEXP (x1, 0);
7614 24681 : if (GET_CODE (x2) != STRICT_LOW_PART)
7615 : return -1;
7616 12 : x3 = XEXP (x2, 0);
7617 12 : operands[0] = x3;
7618 12 : x4 = XEXP (x1, 1);
7619 12 : x5 = XEXP (x4, 0);
7620 12 : operands[1] = x5;
7621 12 : return pattern415 (x4); /* [-1, 1] */
7622 : }
7623 :
7624 : int
7625 222 : pattern1223 (rtx x1)
7626 : {
7627 222 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7628 222 : rtx x2, x3, x4, x5, x6, x7, x8;
7629 222 : int res ATTRIBUTE_UNUSED;
7630 222 : x2 = XEXP (x1, 1);
7631 222 : x3 = XEXP (x2, 1);
7632 222 : switch (GET_CODE (x3))
7633 : {
7634 157 : case LABEL_REF:
7635 157 : x4 = XEXP (x2, 2);
7636 157 : if (GET_CODE (x4) != PC)
7637 : return -1;
7638 157 : x5 = XEXP (x1, 0);
7639 157 : if (GET_CODE (x5) != PC)
7640 : return -1;
7641 157 : x6 = XEXP (x2, 0);
7642 157 : operands[0] = x6;
7643 157 : x7 = XEXP (x6, 0);
7644 157 : operands[1] = x7;
7645 157 : x8 = XEXP (x3, 0);
7646 157 : operands[2] = x8;
7647 157 : switch (GET_MODE (operands[1]))
7648 : {
7649 4 : case E_QImode:
7650 4 : if (!register_operand (operands[1], E_QImode))
7651 0 : return -1;
7652 : return 0;
7653 :
7654 80 : case E_HImode:
7655 80 : if (!register_operand (operands[1], E_HImode))
7656 0 : return -1;
7657 : return 1;
7658 :
7659 55 : case E_SImode:
7660 55 : if (!register_operand (operands[1], E_SImode))
7661 0 : return -1;
7662 : return 2;
7663 :
7664 18 : case E_DImode:
7665 18 : if (!register_operand (operands[1], E_DImode))
7666 0 : return -1;
7667 : return 3;
7668 :
7669 : default:
7670 : return -1;
7671 : }
7672 :
7673 59 : case REG:
7674 59 : case SUBREG:
7675 59 : case MEM:
7676 59 : operands[2] = x3;
7677 59 : x5 = XEXP (x1, 0);
7678 59 : operands[0] = x5;
7679 59 : x6 = XEXP (x2, 0);
7680 59 : operands[1] = x6;
7681 59 : x7 = XEXP (x6, 0);
7682 59 : operands[4] = x7;
7683 59 : x4 = XEXP (x2, 2);
7684 59 : operands[3] = x4;
7685 59 : switch (GET_MODE (operands[0]))
7686 : {
7687 7 : case E_QImode:
7688 7 : if (!register_operand (operands[0], E_QImode)
7689 7 : || GET_MODE (x2) != E_QImode
7690 7 : || !register_operand (operands[2], E_QImode)
7691 14 : || !register_operand (operands[3], E_QImode))
7692 : return -1;
7693 7 : res = pattern1221 ();
7694 7 : if (res >= 0)
7695 7 : return res + 4; /* [4, 7] */
7696 : return -1;
7697 :
7698 7 : case E_HImode:
7699 7 : res = pattern1222 (x2,
7700 : E_HImode);
7701 7 : if (res >= 0)
7702 7 : return res + 8; /* [8, 11] */
7703 : return -1;
7704 :
7705 28 : case E_SImode:
7706 28 : res = pattern1222 (x2,
7707 : E_SImode);
7708 28 : if (res >= 0)
7709 28 : return res + 12; /* [12, 15] */
7710 : return -1;
7711 :
7712 17 : case E_DImode:
7713 17 : res = pattern1222 (x2,
7714 : E_DImode);
7715 17 : if (res >= 0)
7716 9 : return res + 16; /* [16, 19] */
7717 : return -1;
7718 :
7719 : default:
7720 : return -1;
7721 : }
7722 :
7723 : default:
7724 : return -1;
7725 : }
7726 : }
7727 :
7728 : int
7729 47021 : pattern1239 ()
7730 : {
7731 47021 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7732 47021 : int res ATTRIBUTE_UNUSED;
7733 47021 : switch (GET_MODE (operands[2]))
7734 : {
7735 4787 : case E_HImode:
7736 4787 : if (!extract_high_operator (operands[2], E_HImode))
7737 1386 : return -1;
7738 : return 0;
7739 :
7740 24804 : case E_SImode:
7741 24804 : if (!extract_high_operator (operands[2], E_SImode))
7742 23199 : return -1;
7743 : return 1;
7744 :
7745 17430 : case E_DImode:
7746 17430 : if (!extract_high_operator (operands[2], E_DImode))
7747 16548 : return -1;
7748 : return 2;
7749 :
7750 : default:
7751 : return -1;
7752 : }
7753 : }
7754 :
7755 : int
7756 1211 : pattern1244 (rtx x1, machine_mode i1)
7757 : {
7758 1211 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7759 1211 : rtx x2, x3;
7760 1211 : int res ATTRIBUTE_UNUSED;
7761 1211 : if (!nonimmediate_operand (operands[0], i1)
7762 1211 : || GET_MODE (x1) != i1)
7763 : return -1;
7764 1211 : x2 = XEXP (x1, 0);
7765 1211 : if (GET_MODE (x2) != i1)
7766 : return -1;
7767 1211 : x3 = XEXP (x2, 0);
7768 1211 : if (GET_MODE (x3) != i1
7769 1211 : || !nonimmediate_operand (operands[1], i1)
7770 2042 : || !x86_64_immediate_operand (operands[2], i1))
7771 1182 : return -1;
7772 : return 0;
7773 : }
7774 :
7775 : int
7776 18 : pattern1248 (rtx x1, machine_mode i1)
7777 : {
7778 18 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7779 18 : rtx x2, x3;
7780 18 : int res ATTRIBUTE_UNUSED;
7781 18 : if (!nonimmediate_operand (operands[0], i1)
7782 18 : || GET_MODE (x1) != i1)
7783 : return -1;
7784 18 : x2 = XEXP (x1, 0);
7785 18 : if (GET_MODE (x2) != i1
7786 18 : || !nonimmediate_operand (operands[1], i1))
7787 : return -1;
7788 16 : x3 = XEXP (x2, 1);
7789 16 : if (GET_MODE (x3) != i1
7790 16 : || !x86_64_general_operand (operands[2], i1))
7791 0 : return -1;
7792 : return 0;
7793 : }
7794 :
7795 : int
7796 57 : pattern1254 (rtx x1, machine_mode i1, machine_mode i2)
7797 : {
7798 57 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7799 57 : rtx x2, x3;
7800 57 : int res ATTRIBUTE_UNUSED;
7801 57 : if (!register_operand (operands[0], i1)
7802 57 : || GET_MODE (x1) != i1)
7803 : return -1;
7804 57 : x2 = XEXP (x1, 0);
7805 57 : if (GET_MODE (x2) != i1)
7806 : return -1;
7807 57 : x3 = XEXP (x2, 0);
7808 57 : if (GET_MODE (x3) != i2
7809 57 : || !register_operand (operands[1], i1))
7810 10 : return -1;
7811 : return 0;
7812 : }
7813 :
7814 : int
7815 1812 : pattern1257 (rtx x1)
7816 : {
7817 1812 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7818 1812 : rtx x2, x3, x4, x5, x6, x7, x8;
7819 1812 : int res ATTRIBUTE_UNUSED;
7820 1812 : x2 = XEXP (x1, 0);
7821 1812 : x3 = XEXP (x2, 0);
7822 1812 : x4 = XEXP (x3, 0);
7823 1812 : x5 = XEXP (x4, 0);
7824 1812 : x6 = XEXP (x5, 1);
7825 1812 : if (GET_CODE (x6) != PARALLEL
7826 1812 : || XVECLEN (x6, 0) != 1)
7827 : return -1;
7828 1812 : x7 = XVECEXP (x6, 0, 0);
7829 1812 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7830 : return -1;
7831 1812 : x8 = XEXP (x1, 2);
7832 1812 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
7833 0 : return -1;
7834 : return 0;
7835 : }
7836 :
7837 : int
7838 571 : pattern1262 (rtx x1)
7839 : {
7840 571 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7841 571 : rtx x2, x3, x4;
7842 571 : int res ATTRIBUTE_UNUSED;
7843 571 : x2 = XVECEXP (x1, 0, 2);
7844 571 : x3 = XEXP (x2, 0);
7845 571 : x4 = XEXP (x3, 1);
7846 571 : operands[4] = x4;
7847 571 : switch (GET_MODE (operands[0]))
7848 : {
7849 451 : case E_V16QImode:
7850 451 : if (!register_operand (operands[0], E_V16QImode)
7851 451 : || GET_MODE (x1) != E_V16QImode
7852 451 : || !register_operand (operands[1], E_V16QImode)
7853 442 : || !vector_operand (operands[2], E_V16QImode)
7854 889 : || GET_MODE (x2) != E_V16QImode)
7855 : return -1;
7856 438 : switch (GET_MODE (x3))
7857 : {
7858 323 : case E_V4SImode:
7859 323 : if (!register_operand (operands[3], E_V4SImode)
7860 323 : || !const0_operand (operands[4], E_V4SImode))
7861 212 : return -1;
7862 : return 0;
7863 :
7864 111 : case E_V2DImode:
7865 111 : if (!register_operand (operands[3], E_V2DImode)
7866 111 : || !const0_operand (operands[4], E_V2DImode))
7867 45 : return -1;
7868 : return 1;
7869 :
7870 : default:
7871 : return -1;
7872 : }
7873 :
7874 119 : case E_V32QImode:
7875 119 : if (!register_operand (operands[0], E_V32QImode)
7876 119 : || GET_MODE (x1) != E_V32QImode
7877 119 : || !register_operand (operands[1], E_V32QImode)
7878 117 : || !vector_operand (operands[2], E_V32QImode)
7879 232 : || GET_MODE (x2) != E_V32QImode)
7880 : return -1;
7881 113 : switch (GET_MODE (x3))
7882 : {
7883 67 : case E_V8SImode:
7884 67 : if (!register_operand (operands[3], E_V8SImode)
7885 67 : || !const0_operand (operands[4], E_V8SImode))
7886 32 : return -1;
7887 : return 2;
7888 :
7889 43 : case E_V4DImode:
7890 43 : if (!register_operand (operands[3], E_V4DImode)
7891 43 : || !const0_operand (operands[4], E_V4DImode))
7892 1 : return -1;
7893 : return 3;
7894 :
7895 : default:
7896 : return -1;
7897 : }
7898 :
7899 : default:
7900 : return -1;
7901 : }
7902 : }
7903 :
7904 : int
7905 8778 : pattern1268 (rtx x1, machine_mode i1, machine_mode i2)
7906 : {
7907 8778 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7908 8778 : rtx x2;
7909 8778 : int res ATTRIBUTE_UNUSED;
7910 8778 : if (!register_operand (operands[0], i2)
7911 8778 : || GET_MODE (x1) != i2)
7912 : return -1;
7913 8775 : x2 = XEXP (x1, 0);
7914 8775 : if (GET_MODE (x2) != i1
7915 8775 : || !register_operand (operands[1], i1))
7916 70 : return -1;
7917 : return 0;
7918 : }
7919 :
7920 : int
7921 21577 : pattern1271 (rtx x1, rtx_code i1)
7922 : {
7923 21577 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7924 21577 : rtx x2, x3, x4, x5;
7925 21577 : int res ATTRIBUTE_UNUSED;
7926 21577 : x2 = XVECEXP (x1, 0, 1);
7927 21577 : x3 = XEXP (x2, 1);
7928 21577 : if (GET_CODE (x3) != i1)
7929 : return -1;
7930 18159 : x4 = XVECEXP (x1, 0, 0);
7931 18159 : x5 = XEXP (x4, 0);
7932 18159 : if (GET_MODE (x5) != E_CCGOCmode)
7933 : return -1;
7934 18159 : return pattern395 (x1,
7935 18159 : E_CCGOCmode); /* [-1, 3] */
7936 : }
7937 :
7938 : int
7939 68928 : pattern1273 (rtx x1, machine_mode i1)
7940 : {
7941 68928 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7942 68928 : rtx x2;
7943 68928 : int res ATTRIBUTE_UNUSED;
7944 68928 : if (!nonimmediate_operand (operands[1], i1)
7945 68916 : || !register_operand (operands[0], i1)
7946 137844 : || GET_MODE (x1) != i1)
7947 : return -1;
7948 68916 : x2 = XEXP (x1, 1);
7949 68916 : if (GET_MODE (x2) != i1)
7950 0 : return -1;
7951 : return 0;
7952 : }
7953 :
7954 : int
7955 50 : pattern1278 (rtx x1)
7956 : {
7957 50 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7958 50 : rtx x2, x3;
7959 50 : int res ATTRIBUTE_UNUSED;
7960 50 : switch (GET_MODE (operands[0]))
7961 : {
7962 40 : case E_SImode:
7963 40 : if (!register_operand (operands[0], E_SImode)
7964 40 : || GET_MODE (x1) != E_SImode)
7965 : return -1;
7966 40 : x2 = XEXP (x1, 0);
7967 40 : if (GET_MODE (x2) != E_SImode)
7968 : return -1;
7969 40 : x3 = XEXP (x2, 0);
7970 40 : if (GET_MODE (x3) != E_SImode
7971 40 : || !nonimmediate_operand (operands[1], E_SImode))
7972 10 : return -1;
7973 : return 0;
7974 :
7975 10 : case E_DImode:
7976 10 : if (!register_operand (operands[0], E_DImode)
7977 10 : || GET_MODE (x1) != E_DImode)
7978 : return -1;
7979 10 : x2 = XEXP (x1, 0);
7980 10 : if (GET_MODE (x2) != E_DImode)
7981 : return -1;
7982 10 : x3 = XEXP (x2, 0);
7983 10 : if (GET_MODE (x3) != E_DImode
7984 10 : || !nonimmediate_operand (operands[1], E_DImode))
7985 0 : return -1;
7986 : return 1;
7987 :
7988 : default:
7989 : return -1;
7990 : }
7991 : }
7992 :
7993 : int
7994 164774 : pattern1284 (rtx x1, machine_mode i1)
7995 : {
7996 164774 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7997 164774 : rtx x2, x3;
7998 164774 : int res ATTRIBUTE_UNUSED;
7999 164774 : if (!nonimmediate_operand (operands[0], i1)
8000 59369 : || GET_MODE (x1) != i1
8001 224143 : || !nonimmediate_operand (operands[1], i1))
8002 : return -1;
8003 38168 : x2 = XEXP (x1, 1);
8004 38168 : x3 = XEXP (x2, 0);
8005 38168 : return pattern1283 (x3); /* [-1, 2] */
8006 : }
8007 :
8008 : int
8009 12580 : pattern1288 (rtx x1)
8010 : {
8011 12580 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8012 12580 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8013 12580 : int res ATTRIBUTE_UNUSED;
8014 12580 : x2 = XVECEXP (x1, 0, 1);
8015 12580 : if (GET_CODE (x2) != CLOBBER)
8016 : return -1;
8017 12580 : x3 = XVECEXP (x1, 0, 2);
8018 12580 : if (GET_CODE (x3) != CLOBBER)
8019 : return -1;
8020 12580 : x4 = XVECEXP (x1, 0, 3);
8021 12580 : x5 = XEXP (x4, 0);
8022 12580 : if (GET_CODE (x5) != REG
8023 12580 : || REGNO (x5) != 17
8024 12580 : || GET_MODE (x5) != E_CCmode
8025 25160 : || !register_operand (operands[0], E_SImode))
8026 : return -1;
8027 12580 : x6 = XVECEXP (x1, 0, 0);
8028 12580 : x7 = XEXP (x6, 1);
8029 12580 : x8 = XVECEXP (x7, 0, 0);
8030 12580 : operands[1] = x8;
8031 12580 : if (!register_operand (operands[1], E_SImode))
8032 : return -1;
8033 12070 : x9 = XVECEXP (x7, 0, 1);
8034 12070 : operands[2] = x9;
8035 12070 : return 0;
8036 : }
8037 :
8038 : int
8039 25116 : pattern1295 (rtx x1, machine_mode i1)
8040 : {
8041 25116 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8042 25116 : rtx x2, x3, x4, x5, x6, x7, x8;
8043 25116 : int res ATTRIBUTE_UNUSED;
8044 25116 : x2 = XVECEXP (x1, 0, 0);
8045 25116 : x3 = XEXP (x2, 1);
8046 25116 : x4 = XEXP (x3, 0);
8047 25116 : if (!plusminuslogic_operator (x4, i1))
8048 : return -1;
8049 20115 : operands[3] = x4;
8050 20115 : x5 = XEXP (x3, 1);
8051 20115 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8052 : return -1;
8053 18728 : x6 = XEXP (x2, 0);
8054 18728 : if (GET_CODE (x6) != REG
8055 18728 : || REGNO (x6) != 17)
8056 : return -1;
8057 18728 : x7 = XVECEXP (x1, 0, 1);
8058 18728 : if (GET_CODE (x7) != SET)
8059 : return -1;
8060 13889 : x8 = XEXP (x4, 1);
8061 13889 : operands[2] = x8;
8062 13889 : if (!x86_64_nonmemory_operand (operands[2], i1))
8063 7112 : return -1;
8064 : return 0;
8065 : }
8066 :
8067 : int
8068 0 : pattern1301 (rtx x1, machine_mode i1)
8069 : {
8070 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8071 0 : rtx x2, x3;
8072 0 : int res ATTRIBUTE_UNUSED;
8073 0 : if (!nonimmediate_operand (operands[0], i1)
8074 0 : || GET_MODE (x1) != i1)
8075 : return -1;
8076 0 : x2 = XEXP (x1, 0);
8077 0 : if (GET_MODE (x2) != i1)
8078 : return -1;
8079 0 : x3 = XEXP (x2, 0);
8080 0 : if (GET_MODE (x3) != i1
8081 0 : || !nonimmediate_operand (operands[1], i1)
8082 0 : || !general_operand (operands[2], i1))
8083 0 : return -1;
8084 : return 0;
8085 : }
8086 :
8087 : int
8088 1960057 : pattern1307 (rtx x1, machine_mode i1)
8089 : {
8090 1960057 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8091 1960057 : int res ATTRIBUTE_UNUSED;
8092 1960057 : if (!register_operand (operands[0], i1)
8093 1925925 : || GET_MODE (x1) != i1
8094 1925925 : || !nonimmediate_operand (operands[2], i1)
8095 3884672 : || !nonimmediate_operand (operands[3], i1))
8096 772386 : return -1;
8097 : return 0;
8098 : }
8099 :
8100 : int
8101 788 : pattern1311 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8102 : {
8103 788 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8104 788 : rtx x2;
8105 788 : int res ATTRIBUTE_UNUSED;
8106 788 : if (!register_operand (operands[0], i1)
8107 788 : || GET_MODE (x1) != i1)
8108 : return -1;
8109 746 : x2 = XEXP (x1, 0);
8110 746 : if (GET_MODE (x2) != i1
8111 746 : || pattern1310 (
8112 : i1,
8113 : i2,
8114 : i3) != 0)
8115 29 : return -1;
8116 : return 0;
8117 : }
8118 :
8119 : int
8120 1404 : pattern1316 (rtx x1, machine_mode i1, machine_mode i2)
8121 : {
8122 1404 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8123 1404 : rtx x2;
8124 1404 : int res ATTRIBUTE_UNUSED;
8125 1404 : if (!register_operand (operands[0], i2)
8126 1404 : || GET_MODE (x1) != i2)
8127 : return -1;
8128 1263 : x2 = XEXP (x1, 0);
8129 1263 : if (GET_MODE (x2) != i2
8130 1263 : || !register_operand (operands[1], i2)
8131 1263 : || !bcst_vector_operand (operands[2], i2)
8132 1263 : || !nonimm_or_0_operand (operands[4], i2)
8133 2506 : || !register_operand (operands[5], i1))
8134 188 : return -1;
8135 : return 0;
8136 : }
8137 :
8138 : int
8139 3444 : pattern1322 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3, machine_mode i4)
8140 : {
8141 3444 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8142 3444 : rtx x2, x3;
8143 3444 : int res ATTRIBUTE_UNUSED;
8144 3444 : if (!register_operand (operands[0], i1)
8145 3444 : || GET_MODE (x1) != i1)
8146 : return -1;
8147 3283 : x2 = XEXP (x1, 0);
8148 3283 : if (GET_MODE (x2) != i1)
8149 : return -1;
8150 3283 : x3 = XEXP (x2, 0);
8151 3283 : if (GET_MODE (x3) != i4
8152 3283 : || !nonimmediate_operand (operands[1], i3)
8153 3191 : || !nonimm_or_0_operand (operands[2], i1)
8154 6363 : || !register_operand (operands[3], i2))
8155 281 : return -1;
8156 : return 0;
8157 : }
8158 :
8159 : int
8160 787 : pattern1328 (rtx x1, machine_mode i1, machine_mode i2)
8161 : {
8162 787 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8163 787 : rtx x2;
8164 787 : int res ATTRIBUTE_UNUSED;
8165 787 : if (!register_operand (operands[0], i2)
8166 787 : || GET_MODE (x1) != i2)
8167 : return -1;
8168 763 : x2 = XEXP (x1, 0);
8169 763 : if (GET_MODE (x2) != i2
8170 763 : || !nonimmediate_operand (operands[1], i2)
8171 736 : || !nonimmediate_operand (operands[2], i2)
8172 736 : || !nonimmediate_operand (operands[3], i2)
8173 1490 : || !register_operand (operands[4], i1))
8174 36 : return -1;
8175 : return 0;
8176 : }
8177 :
8178 : int
8179 787 : pattern1333 (rtx x1, machine_mode i1, machine_mode i2)
8180 : {
8181 787 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8182 787 : rtx x2, x3;
8183 787 : int res ATTRIBUTE_UNUSED;
8184 787 : if (!register_operand (operands[0], i2)
8185 787 : || GET_MODE (x1) != i2)
8186 : return -1;
8187 763 : x2 = XEXP (x1, 0);
8188 763 : if (GET_MODE (x2) != i2)
8189 : return -1;
8190 763 : x3 = XEXP (x2, 0);
8191 763 : if (GET_MODE (x3) != i2
8192 763 : || !nonimmediate_operand (operands[1], i2)
8193 751 : || !nonimmediate_operand (operands[2], i2)
8194 736 : || !nonimmediate_operand (operands[3], i2)
8195 1490 : || !register_operand (operands[4], i1))
8196 36 : return -1;
8197 : return 0;
8198 : }
8199 :
8200 : int
8201 2854 : pattern1339 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8202 : {
8203 2854 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8204 2854 : rtx x2, x3;
8205 2854 : int res ATTRIBUTE_UNUSED;
8206 2854 : if (!register_operand (operands[0], i2)
8207 2854 : || GET_MODE (x1) != i2)
8208 : return -1;
8209 2744 : x2 = XVECEXP (x1, 0, 0);
8210 2744 : if (GET_MODE (x2) != i2)
8211 : return -1;
8212 2744 : x3 = XEXP (x2, 0);
8213 2744 : if (GET_MODE (x3) != i2
8214 2744 : || !register_operand (operands[1], i3)
8215 2712 : || !nonimm_or_0_operand (operands[2], i2)
8216 5420 : || !register_operand (operands[3], i1))
8217 152 : return -1;
8218 : return 0;
8219 : }
8220 :
8221 : int
8222 1476 : pattern1343 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8223 : {
8224 1476 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8225 1476 : rtx x2, x3;
8226 1476 : int res ATTRIBUTE_UNUSED;
8227 1476 : x2 = XVECEXP (x1, 0, 0);
8228 1476 : x3 = XEXP (x2, 0);
8229 1476 : if (GET_MODE (x3) != i2
8230 1476 : || !register_operand (operands[0], i2)
8231 1421 : || GET_MODE (x1) != i2
8232 1421 : || GET_MODE (x2) != i2
8233 1421 : || !register_operand (operands[1], i3)
8234 1421 : || !nonimm_or_0_operand (operands[2], i2)
8235 1393 : || !register_operand (operands[3], i1)
8236 2817 : || !const48_operand (operands[4], E_SImode))
8237 135 : return -1;
8238 : return 0;
8239 : }
8240 :
8241 : int
8242 1551 : pattern1348 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8243 : {
8244 1551 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8245 1551 : rtx x2, x3;
8246 1551 : int res ATTRIBUTE_UNUSED;
8247 1551 : if (!register_operand (operands[0], i1)
8248 1551 : || GET_MODE (x1) != i1)
8249 : return -1;
8250 1524 : x2 = XVECEXP (x1, 0, 0);
8251 1524 : if (GET_MODE (x2) != i1)
8252 : return -1;
8253 1524 : x3 = XEXP (x2, 0);
8254 1524 : if (GET_MODE (x3) != i1
8255 1524 : || !nonimmediate_operand (operands[1], i2)
8256 1524 : || !nonimm_or_0_operand (operands[2], i1)
8257 3045 : || !register_operand (operands[3], i3))
8258 12 : return -1;
8259 : return 0;
8260 : }
8261 :
8262 : int
8263 959 : pattern1351 (rtx x1, int i1)
8264 : {
8265 959 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8266 959 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8267 959 : int res ATTRIBUTE_UNUSED;
8268 959 : if (XVECLEN (x1, 0) != i1)
8269 : return -1;
8270 959 : x2 = XVECEXP (x1, 0, 0);
8271 959 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8272 : return -1;
8273 959 : x3 = XVECEXP (x1, 0, 1);
8274 959 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
8275 : return -1;
8276 959 : x4 = XVECEXP (x1, 0, 2);
8277 959 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
8278 : return -1;
8279 959 : x5 = XVECEXP (x1, 0, 3);
8280 959 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
8281 : return -1;
8282 959 : x6 = XVECEXP (x1, 0, 4);
8283 959 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
8284 : return -1;
8285 959 : x7 = XVECEXP (x1, 0, 5);
8286 959 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
8287 : return -1;
8288 959 : x8 = XVECEXP (x1, 0, 6);
8289 959 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 12])
8290 : return -1;
8291 959 : x9 = XVECEXP (x1, 0, 7);
8292 959 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
8293 0 : return -1;
8294 : return 0;
8295 : }
8296 :
8297 : int
8298 670 : pattern1358 (rtx x1)
8299 : {
8300 670 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8301 670 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8302 670 : int res ATTRIBUTE_UNUSED;
8303 670 : x2 = XVECEXP (x1, 0, 0);
8304 670 : x3 = XEXP (x2, 1);
8305 670 : x4 = XEXP (x3, 0);
8306 670 : x5 = XEXP (x4, 0);
8307 670 : operands[2] = x5;
8308 670 : if (!register_operand (operands[2], E_SImode))
8309 : return -1;
8310 552 : x6 = XEXP (x4, 1);
8311 552 : operands[3] = x6;
8312 552 : x7 = XVECEXP (x1, 0, 1);
8313 552 : x8 = XEXP (x7, 0);
8314 552 : operands[1] = x8;
8315 552 : if (!register_operand (operands[1], E_SImode))
8316 : return -1;
8317 552 : x9 = XEXP (x7, 1);
8318 552 : return pattern1357 (x9); /* [-1, 1] */
8319 : }
8320 :
8321 : int
8322 34831 : pattern1364 (rtx x1)
8323 : {
8324 34831 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8325 34831 : rtx x2, x3, x4, x5, x6, x7, x8;
8326 34831 : int res ATTRIBUTE_UNUSED;
8327 34831 : x2 = XVECEXP (x1, 0, 1);
8328 34831 : x3 = XEXP (x2, 1);
8329 34831 : x4 = XEXP (x3, 0);
8330 34831 : if (!rtx_equal_p (x4, operands[1]))
8331 : return -1;
8332 34829 : x5 = XEXP (x3, 1);
8333 34829 : if (!rtx_equal_p (x5, operands[2]))
8334 : return -1;
8335 34825 : x6 = XVECEXP (x1, 0, 0);
8336 34825 : x7 = XEXP (x6, 1);
8337 34825 : x8 = XEXP (x7, 0);
8338 34825 : switch (GET_MODE (x8))
8339 : {
8340 479 : case E_QImode:
8341 479 : return pattern1363 (x3,
8342 479 : E_QImode); /* [-1, 0] */
8343 :
8344 117 : case E_HImode:
8345 117 : if (pattern1363 (x3,
8346 : E_HImode) != 0)
8347 11 : return -1;
8348 : return 1;
8349 :
8350 3860 : case E_SImode:
8351 3860 : if (pattern1363 (x3,
8352 : E_SImode) != 0)
8353 1919 : return -1;
8354 : return 2;
8355 :
8356 30089 : case E_DImode:
8357 30089 : if (!nonimmediate_operand (operands[1], E_DImode)
8358 27854 : || !const_1_to_63_operand (operands[2], E_QImode)
8359 26804 : || !nonimmediate_operand (operands[0], E_DImode)
8360 56893 : || GET_MODE (x3) != E_DImode)
8361 3285 : return -1;
8362 : return 3;
8363 :
8364 : default:
8365 : return -1;
8366 : }
8367 : }
8368 :
8369 : int
8370 0 : pattern1375 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8371 : {
8372 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8373 0 : int res ATTRIBUTE_UNUSED;
8374 0 : if (!register_operand (operands[0], i3)
8375 0 : || GET_MODE (x1) != i3
8376 0 : || pattern583 (x1,
8377 : i1,
8378 : i2) != 0)
8379 0 : return -1;
8380 : return 0;
8381 : }
8382 :
8383 : int
8384 81 : pattern1376 (rtx x1, machine_mode i1, machine_mode i2)
8385 : {
8386 81 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8387 81 : int res ATTRIBUTE_UNUSED;
8388 81 : if (!register_operand (operands[0], i1)
8389 81 : || GET_MODE (x1) != i1
8390 81 : || !vector_all_ones_operand (operands[2], i1)
8391 81 : || !const0_operand (operands[3], i1)
8392 81 : || !register_operand (operands[1], i2)
8393 162 : || !register_operand (operands[4], i1))
8394 0 : return -1;
8395 : return 0;
8396 : }
8397 :
8398 : int
8399 15079 : pattern1382 (rtx x1)
8400 : {
8401 15079 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8402 15079 : rtx x2;
8403 15079 : int res ATTRIBUTE_UNUSED;
8404 15079 : if (!const_int_operand (operands[2], E_QImode))
8405 : return -1;
8406 15079 : x2 = XEXP (x1, 0);
8407 15079 : operands[1] = x2;
8408 15079 : return pattern441 (x1); /* [-1, 1] */
8409 : }
8410 :
8411 : int
8412 32554 : pattern1385 (rtx x1, machine_mode i1)
8413 : {
8414 32554 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8415 32554 : rtx x2, x3, x4, x5, x6;
8416 32554 : int res ATTRIBUTE_UNUSED;
8417 32554 : x2 = XEXP (x1, 1);
8418 32554 : operands[2] = x2;
8419 32554 : if (!general_reg_operand (operands[2], i1))
8420 : return -1;
8421 2577 : x3 = XEXP (x1, 0);
8422 2577 : if (!rtx_equal_p (x3, operands[1]))
8423 : return -1;
8424 188 : x4 = PATTERN (peep2_next_insn (2));
8425 188 : x5 = XEXP (x4, 1);
8426 188 : if (!rtx_equal_p (x5, operands[0]))
8427 : return -1;
8428 31 : x6 = XEXP (x4, 0);
8429 31 : if (!rtx_equal_p (x6, operands[2]))
8430 1 : return -1;
8431 : return 0;
8432 : }
8433 :
8434 : int
8435 10962 : pattern1390 (rtx x1, machine_mode i1)
8436 : {
8437 10962 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8438 10962 : rtx x2, x3, x4;
8439 10962 : int res ATTRIBUTE_UNUSED;
8440 10962 : x2 = XEXP (x1, 0);
8441 10962 : operands[2] = x2;
8442 10962 : if (!general_reg_operand (operands[2], i1))
8443 : return -1;
8444 6851 : x3 = XEXP (x1, 1);
8445 6851 : operands[3] = x3;
8446 6851 : if (!general_gr_operand (operands[3], i1))
8447 : return -1;
8448 2560 : x4 = PATTERN (peep2_next_insn (3));
8449 2560 : return pattern1000 (x4,
8450 2560 : i1); /* [-1, 0] */
8451 : }
8452 :
8453 : int
8454 134735 : pattern1392 (rtx x1)
8455 : {
8456 134735 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8457 134735 : rtx x2, x3, x4, x5, x6, x7;
8458 134735 : int res ATTRIBUTE_UNUSED;
8459 134735 : x2 = XEXP (x1, 1);
8460 134735 : x3 = XEXP (x2, 0);
8461 134735 : if (!rtx_equal_p (x3, operands[0]))
8462 : return -1;
8463 91040 : x4 = XEXP (x1, 0);
8464 91040 : if (!rtx_equal_p (x4, operands[0]))
8465 : return -1;
8466 90442 : x5 = PATTERN (peep2_next_insn (2));
8467 90442 : if (GET_CODE (x5) != SET)
8468 : return -1;
8469 70076 : x6 = XEXP (x5, 1);
8470 70076 : if (!rtx_equal_p (x6, operands[0]))
8471 : return -1;
8472 20411 : x7 = PATTERN (peep2_next_insn (3));
8473 20411 : if (GET_CODE (x7) != SET)
8474 3597 : return -1;
8475 : return 0;
8476 : }
8477 :
8478 : int
8479 1292307 : pattern1398 (rtx x1, machine_mode i1)
8480 : {
8481 1292307 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8482 1292307 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8483 1292307 : rtx x10, x11, x12, x13, x14, x15, x16;
8484 1292307 : int res ATTRIBUTE_UNUSED;
8485 1292307 : if (!general_reg_operand (operands[0], i1))
8486 : return -1;
8487 1292307 : switch (GET_CODE (x1))
8488 : {
8489 904216 : case SET:
8490 904216 : x2 = XEXP (x1, 1);
8491 904216 : switch (GET_CODE (x2))
8492 : {
8493 308312 : case CONST_INT:
8494 308312 : if (XWINT (x2, 0) != 0L)
8495 : return -1;
8496 176996 : x3 = XEXP (x1, 0);
8497 176996 : if (GET_CODE (x3) != ZERO_EXTRACT)
8498 : return -1;
8499 5 : x4 = XEXP (x3, 1);
8500 5 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
8501 : return -1;
8502 5 : x5 = XEXP (x3, 2);
8503 5 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
8504 : return -1;
8505 5 : x6 = XEXP (x3, 0);
8506 5 : operands[1] = x6;
8507 5 : if (!int248_register_operand (operands[1], E_VOIDmode))
8508 : return -1;
8509 5 : switch (GET_MODE (x3))
8510 : {
8511 : case E_HImode:
8512 : return 0;
8513 :
8514 : case E_SImode:
8515 : return 1;
8516 :
8517 : case E_DImode:
8518 : return 2;
8519 :
8520 : default:
8521 : return -1;
8522 : }
8523 :
8524 135602 : case REG:
8525 135602 : case SUBREG:
8526 135602 : case MEM:
8527 135602 : operands[2] = x2;
8528 135602 : x3 = XEXP (x1, 0);
8529 135602 : if (GET_CODE (x3) != STRICT_LOW_PART)
8530 : return -1;
8531 331 : x6 = XEXP (x3, 0);
8532 331 : operands[1] = x6;
8533 331 : res = pattern1397 ();
8534 331 : if (res >= 0)
8535 331 : return res + 3; /* [3, 4] */
8536 : return -1;
8537 :
8538 : default:
8539 : return -1;
8540 : }
8541 :
8542 66969 : case PARALLEL:
8543 66969 : if (XVECLEN (x1, 0) != 2)
8544 : return -1;
8545 24192 : x7 = XVECEXP (x1, 0, 0);
8546 24192 : if (GET_CODE (x7) != SET)
8547 : return -1;
8548 22678 : x8 = XEXP (x7, 1);
8549 22678 : switch (GET_CODE (x8))
8550 : {
8551 884 : case PLUS:
8552 884 : if (GET_MODE (x8) != i1
8553 884 : || pattern1387 (x1) != 0)
8554 870 : return -1;
8555 : return 5;
8556 :
8557 357 : case IOR:
8558 357 : if (GET_MODE (x8) != i1
8559 357 : || pattern1387 (x1) != 0)
8560 214 : return -1;
8561 : return 6;
8562 :
8563 69 : case XOR:
8564 69 : if (GET_MODE (x8) != i1
8565 69 : || pattern1387 (x1) != 0)
8566 67 : return -1;
8567 : return 7;
8568 :
8569 730 : case UNSPEC:
8570 730 : if (peep2_current_count < 3
8571 730 : || peep2_current_count < 4
8572 724 : || XVECLEN (x8, 0) != 2
8573 692 : || XINT (x8, 1) != 37
8574 692 : || GET_MODE (x8) != E_CCCmode)
8575 : return -1;
8576 688 : x9 = XVECEXP (x8, 0, 1);
8577 688 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8578 : return -1;
8579 688 : x10 = XEXP (x7, 0);
8580 688 : if (GET_CODE (x10) != REG
8581 688 : || REGNO (x10) != 17
8582 1376 : || GET_MODE (x10) != E_CCCmode)
8583 : return -1;
8584 688 : x11 = XVECEXP (x1, 0, 1);
8585 688 : if (GET_CODE (x11) != SET)
8586 : return -1;
8587 679 : x12 = XEXP (x11, 1);
8588 679 : if (GET_CODE (x12) != NEG
8589 679 : || GET_MODE (x12) != i1)
8590 : return -1;
8591 679 : x13 = XVECEXP (x8, 0, 0);
8592 679 : operands[1] = x13;
8593 679 : if (!general_reg_operand (operands[1], i1))
8594 : return -1;
8595 679 : x14 = XEXP (x12, 0);
8596 679 : if (!rtx_equal_p (x14, operands[1]))
8597 : return -1;
8598 679 : x15 = XEXP (x11, 0);
8599 679 : if (!rtx_equal_p (x15, operands[1]))
8600 : return -1;
8601 679 : x16 = PATTERN (peep2_next_insn (2));
8602 679 : if (pattern1235 (x16,
8603 : i1) != 0)
8604 584 : return -1;
8605 : return 8;
8606 :
8607 : default:
8608 : return -1;
8609 : }
8610 :
8611 : default:
8612 : return -1;
8613 : }
8614 : }
8615 :
8616 : int
8617 258 : pattern1429 (rtx x1, machine_mode i1)
8618 : {
8619 258 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8620 258 : rtx x2, x3;
8621 258 : int res ATTRIBUTE_UNUSED;
8622 258 : if (!register_operand (operands[0], i1)
8623 258 : || GET_MODE (x1) != i1)
8624 : return -1;
8625 244 : x2 = XEXP (x1, 0);
8626 244 : if (GET_MODE (x2) != i1
8627 244 : || !nonimmediate_operand (operands[1], i1)
8628 488 : || !nonimmediate_operand (operands[2], i1))
8629 : return -1;
8630 244 : x3 = XEXP (x2, 2);
8631 244 : if (GET_MODE (x3) != i1
8632 244 : || !nonimmediate_operand (operands[3], i1))
8633 0 : return -1;
8634 : return 0;
8635 : }
8636 :
8637 : int
8638 279 : pattern1436 (rtx x1, machine_mode i1, machine_mode i2)
8639 : {
8640 279 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8641 279 : rtx x2, x3, x4;
8642 279 : int res ATTRIBUTE_UNUSED;
8643 279 : if (!register_operand (operands[0], i2)
8644 279 : || GET_MODE (x1) != i2)
8645 : return -1;
8646 273 : x2 = XEXP (x1, 0);
8647 273 : if (GET_MODE (x2) != i2)
8648 : return -1;
8649 273 : x3 = XEXP (x2, 0);
8650 273 : if (GET_MODE (x3) != i2
8651 273 : || !nonimmediate_operand (operands[1], i2))
8652 : return -1;
8653 273 : x4 = XEXP (x2, 2);
8654 273 : return pattern1425 (x4,
8655 : i1,
8656 273 : i2); /* [-1, 0] */
8657 : }
8658 :
8659 : int
8660 971 : pattern1442 (rtx x1)
8661 : {
8662 971 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8663 971 : rtx x2, x3;
8664 971 : int res ATTRIBUTE_UNUSED;
8665 971 : x2 = XVECEXP (x1, 0, 0);
8666 971 : x3 = XEXP (x2, 2);
8667 971 : if (XWINT (x3, 0) != 1L
8668 971 : || !const_0_to_255_operand (operands[3], E_SImode))
8669 : return -1;
8670 971 : return pattern1441 (x1); /* [-1, 2] */
8671 : }
8672 :
8673 : int
8674 1136 : pattern1444 (rtx x1, machine_mode i1)
8675 : {
8676 1136 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8677 1136 : rtx x2, x3, x4, x5, x6;
8678 1136 : int res ATTRIBUTE_UNUSED;
8679 1136 : if (!register_operand (operands[0], i1)
8680 1136 : || GET_MODE (x1) != i1)
8681 : return -1;
8682 1085 : x2 = XVECEXP (x1, 0, 0);
8683 1085 : if (GET_MODE (x2) != i1)
8684 : return -1;
8685 1085 : x3 = XEXP (x2, 0);
8686 1085 : if (GET_MODE (x3) != i1)
8687 : return -1;
8688 1085 : x4 = XEXP (x3, 0);
8689 1085 : if (GET_MODE (x4) != i1)
8690 : return -1;
8691 1085 : x5 = XEXP (x4, 0);
8692 1085 : if (GET_MODE (x5) != i1)
8693 : return -1;
8694 1085 : x6 = XEXP (x4, 1);
8695 1085 : if (!register_operand (x6, i1))
8696 18 : return -1;
8697 : return 0;
8698 : }
8699 :
8700 : int
8701 279 : pattern1449 (rtx x1, machine_mode i1, machine_mode i2)
8702 : {
8703 279 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8704 279 : rtx x2, x3, x4;
8705 279 : int res ATTRIBUTE_UNUSED;
8706 279 : if (!register_operand (operands[0], i2)
8707 279 : || GET_MODE (x1) != i2)
8708 : return -1;
8709 258 : x2 = XVECEXP (x1, 0, 0);
8710 258 : if (GET_MODE (x2) != i2)
8711 : return -1;
8712 258 : x3 = XEXP (x2, 0);
8713 258 : if (GET_MODE (x3) != i2)
8714 : return -1;
8715 258 : x4 = XEXP (x3, 0);
8716 258 : if (GET_MODE (x4) != i1)
8717 0 : return -1;
8718 : return 0;
8719 : }
8720 :
8721 : int
8722 1347 : pattern1452 (rtx x1)
8723 : {
8724 1347 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8725 1347 : rtx x2;
8726 1347 : int res ATTRIBUTE_UNUSED;
8727 1347 : x2 = XVECEXP (x1, 0, 1);
8728 1347 : operands[4] = x2;
8729 1347 : if (!const48_operand (operands[4], E_SImode))
8730 : return -1;
8731 1347 : return pattern1451 (x1); /* [-1, 2] */
8732 : }
8733 :
8734 : int
8735 333 : pattern1456 (rtx x1, machine_mode i1)
8736 : {
8737 333 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8738 333 : rtx x2, x3;
8739 333 : int res ATTRIBUTE_UNUSED;
8740 333 : if (!register_operand (operands[0], i1)
8741 333 : || GET_MODE (x1) != i1)
8742 : return -1;
8743 320 : x2 = XVECEXP (x1, 0, 0);
8744 320 : if (GET_MODE (x2) != i1)
8745 : return -1;
8746 320 : x3 = XEXP (x2, 0);
8747 320 : if (GET_MODE (x3) != i1
8748 320 : || !register_operand (operands[1], i1)
8749 312 : || !register_operand (operands[2], i1)
8750 627 : || !register_operand (operands[3], i1))
8751 13 : return -1;
8752 : return 0;
8753 : }
8754 :
8755 : int
8756 613 : pattern1461 (rtx x1, machine_mode i1)
8757 : {
8758 613 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8759 613 : int res ATTRIBUTE_UNUSED;
8760 613 : if (!register_operand (operands[0], i1)
8761 613 : || GET_MODE (x1) != i1
8762 613 : || !nonimmediate_operand (operands[1], i1)
8763 1226 : || !register_operand (operands[2], i1))
8764 112 : return -1;
8765 : return 0;
8766 : }
8767 :
8768 : int
8769 8886412 : pattern1465 (rtx x1, machine_mode i1)
8770 : {
8771 8886412 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8772 8886412 : int res ATTRIBUTE_UNUSED;
8773 8886412 : if (!register_operand (operands[0], i1)
8774 8446347 : || GET_MODE (x1) != i1
8775 8446347 : || !register_operand (operands[1], i1)
8776 17317093 : || !x86_64_nonmemory_operand (operands[2], i1))
8777 548172 : return -1;
8778 : return 0;
8779 : }
8780 :
8781 : int
8782 64315 : pattern1469 (rtx x1, machine_mode i1)
8783 : {
8784 64315 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8785 64315 : int res ATTRIBUTE_UNUSED;
8786 64315 : if (!nonimmediate_operand (operands[1], i1)
8787 61003 : || !general_operand (operands[2], i1)
8788 60993 : || !nonimmediate_operand (operands[0], i1)
8789 125308 : || GET_MODE (x1) != i1)
8790 3322 : return -1;
8791 : return 0;
8792 : }
8793 :
8794 : int
8795 59 : pattern1473 (rtx x1)
8796 : {
8797 59 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8798 59 : rtx x2, x3, x4, x5, x6, x7;
8799 59 : int res ATTRIBUTE_UNUSED;
8800 59 : x2 = XEXP (x1, 0);
8801 59 : operands[0] = x2;
8802 59 : x3 = XEXP (x1, 1);
8803 59 : x4 = XEXP (x3, 0);
8804 59 : x5 = XEXP (x4, 0);
8805 59 : x6 = XEXP (x5, 1);
8806 59 : operands[2] = x6;
8807 59 : if (!register_operand (operands[2], E_QImode))
8808 : return -1;
8809 34 : x7 = XEXP (x3, 1);
8810 34 : operands[1] = x7;
8811 34 : switch (GET_MODE (operands[0]))
8812 : {
8813 22 : case E_QImode:
8814 22 : return pattern1472 (x3,
8815 22 : E_QImode); /* [-1, 0] */
8816 :
8817 12 : case E_HImode:
8818 12 : if (pattern1472 (x3,
8819 : E_HImode) != 0)
8820 0 : return -1;
8821 : return 1;
8822 :
8823 : default:
8824 : return -1;
8825 : }
8826 : }
8827 :
8828 : int
8829 244942 : pattern1479 (rtx x1)
8830 : {
8831 244942 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8832 244942 : rtx x2, x3, x4, x5, x6, x7;
8833 244942 : int res ATTRIBUTE_UNUSED;
8834 244942 : x2 = XEXP (x1, 0);
8835 244942 : operands[0] = x2;
8836 244942 : x3 = XEXP (x1, 1);
8837 244942 : x4 = XEXP (x3, 1);
8838 244942 : x5 = XEXP (x4, 0);
8839 244942 : switch (GET_CODE (x5))
8840 : {
8841 28169 : case AND:
8842 28169 : return pattern1478 (x3); /* [-1, 1] */
8843 :
8844 0 : case PLUS:
8845 0 : res = pattern1478 (x3);
8846 0 : if (res >= 0)
8847 0 : return res + 2; /* [2, 3] */
8848 : return -1;
8849 :
8850 0 : case MINUS:
8851 0 : x6 = XEXP (x5, 0);
8852 0 : operands[3] = x6;
8853 0 : if (!const_int_operand (operands[3], E_VOIDmode))
8854 : return -1;
8855 0 : x7 = XEXP (x5, 1);
8856 0 : operands[2] = x7;
8857 0 : if (!int248_register_operand (operands[2], E_VOIDmode))
8858 : return -1;
8859 0 : res = pattern410 (x3);
8860 0 : if (res >= 0)
8861 0 : return res + 4; /* [4, 5] */
8862 : return -1;
8863 :
8864 : default:
8865 : return -1;
8866 : }
8867 : }
8868 :
8869 : int
8870 4157 : pattern1488 (rtx x1, machine_mode i1)
8871 : {
8872 4157 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8873 4157 : rtx x2, x3;
8874 4157 : int res ATTRIBUTE_UNUSED;
8875 4157 : if (!register_operand (operands[0], i1)
8876 4157 : || !addsub_vm_operator (operands[6], i1))
8877 : return -1;
8878 4157 : x2 = XEXP (x1, 0);
8879 4157 : if (GET_MODE (x2) != i1
8880 4157 : || !register_operand (operands[1], i1)
8881 8314 : || !vector_operand (operands[2], i1))
8882 : return -1;
8883 4157 : x3 = XEXP (x1, 1);
8884 4157 : if (GET_MODE (x3) != i1
8885 4157 : || !vector_operand (operands[3], i1)
8886 8314 : || !vector_operand (operands[4], i1))
8887 0 : return -1;
8888 : return 0;
8889 : }
8890 :
8891 : int
8892 252 : pattern1494 (rtx x1, machine_mode i1, machine_mode i2)
8893 : {
8894 252 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8895 252 : rtx x2;
8896 252 : int res ATTRIBUTE_UNUSED;
8897 252 : if (!memory_operand (operands[0], i2)
8898 252 : || GET_MODE (x1) != i2)
8899 : return -1;
8900 246 : x2 = XEXP (x1, 1);
8901 246 : if (GET_MODE (x2) != i2
8902 246 : || !register_operand (operands[1], i1))
8903 4 : return -1;
8904 : return 0;
8905 : }
8906 :
8907 : int
8908 678 : pattern1497 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8909 : {
8910 678 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8911 678 : rtx x2, x3;
8912 678 : int res ATTRIBUTE_UNUSED;
8913 678 : if (!register_operand (operands[0], i1)
8914 678 : || GET_MODE (x1) != i1)
8915 : return -1;
8916 647 : x2 = XEXP (x1, 0);
8917 647 : if (GET_MODE (x2) != i1
8918 647 : || !register_operand (operands[2], i2)
8919 647 : || !register_operand (operands[1], i1)
8920 1265 : || !nonimmediate_operand (operands[3], i1))
8921 : return -1;
8922 618 : x3 = XEXP (x1, 1);
8923 618 : if (GET_MODE (x3) != i1
8924 618 : || !register_operand (operands[4], i3))
8925 36 : return -1;
8926 : return 0;
8927 : }
8928 :
8929 : int
8930 543 : pattern1502 (rtx x1, machine_mode i1)
8931 : {
8932 543 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8933 543 : rtx x2, x3;
8934 543 : int res ATTRIBUTE_UNUSED;
8935 543 : if (!register_operand (operands[0], i1)
8936 543 : || GET_MODE (x1) != i1)
8937 : return -1;
8938 516 : x2 = XEXP (x1, 0);
8939 516 : if (GET_MODE (x2) != i1)
8940 : return -1;
8941 516 : x3 = XEXP (x2, 0);
8942 516 : if (GET_MODE (x3) != i1
8943 516 : || !nonimmediate_operand (operands[1], i1)
8944 516 : || !nonimmediate_operand (operands[2], i1)
8945 1028 : || !nonimmediate_operand (operands[3], i1))
8946 4 : return -1;
8947 : return 0;
8948 : }
8949 :
8950 : int
8951 48 : pattern1508 (rtx x1, machine_mode i1, machine_mode i2)
8952 : {
8953 48 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8954 48 : rtx x2, x3, x4;
8955 48 : int res ATTRIBUTE_UNUSED;
8956 48 : if (!register_operand (operands[0], i1)
8957 48 : || GET_MODE (x1) != i1
8958 48 : || !vector_operand (operands[1], i1)
8959 96 : || !vector_operand (operands[2], i1))
8960 : return -1;
8961 48 : x2 = XEXP (x1, 2);
8962 48 : if (GET_MODE (x2) != E_QImode)
8963 : return -1;
8964 48 : x3 = XVECEXP (x2, 0, 0);
8965 48 : if (GET_MODE (x3) != i1)
8966 : return -1;
8967 48 : x4 = XEXP (x3, 0);
8968 48 : if (GET_MODE (x4) != i2
8969 48 : || !vector_operand (operands[3], i2)
8970 96 : || !const0_operand (operands[4], i1))
8971 24 : return -1;
8972 : return 0;
8973 : }
8974 :
8975 : int
8976 0 : pattern1512 (rtx x1, machine_mode i1, machine_mode i2)
8977 : {
8978 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8979 0 : rtx x2;
8980 0 : int res ATTRIBUTE_UNUSED;
8981 0 : if (!register_operand (operands[0], i1)
8982 0 : || GET_MODE (x1) != i1
8983 0 : || !vector_all_ones_operand (operands[1], i1))
8984 : return -1;
8985 0 : x2 = XEXP (x1, 2);
8986 0 : return pattern1511 (x2,
8987 : i1,
8988 0 : i2); /* [-1, 0] */
8989 : }
8990 :
8991 : int
8992 1094 : pattern1516 (rtx x1, machine_mode i1, machine_mode i2)
8993 : {
8994 1094 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8995 1094 : rtx x2, x3, x4, x5;
8996 1094 : int res ATTRIBUTE_UNUSED;
8997 1094 : if (!register_operand (operands[0], i2)
8998 1094 : || GET_MODE (x1) != i2)
8999 : return -1;
9000 1067 : x2 = XVECEXP (x1, 0, 0);
9001 1067 : if (GET_MODE (x2) != i2)
9002 : return -1;
9003 1067 : x3 = XEXP (x2, 0);
9004 1067 : if (GET_MODE (x3) != i2)
9005 : return -1;
9006 1067 : x4 = XEXP (x3, 0);
9007 1067 : if (GET_MODE (x4) != i2)
9008 : return -1;
9009 1067 : x5 = XEXP (x4, 0);
9010 1067 : if (GET_MODE (x5) != i1)
9011 0 : return -1;
9012 : return 0;
9013 : }
9014 :
9015 : int
9016 493 : pattern1520 (rtx x1, machine_mode i1)
9017 : {
9018 493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9019 493 : rtx x2;
9020 493 : int res ATTRIBUTE_UNUSED;
9021 493 : if (!register_operand (operands[0], i1)
9022 493 : || GET_MODE (x1) != i1)
9023 : return -1;
9024 474 : x2 = XVECEXP (x1, 0, 0);
9025 474 : if (GET_MODE (x2) != i1
9026 474 : || !register_operand (operands[1], i1)
9027 463 : || !register_operand (operands[2], i1)
9028 933 : || !register_operand (operands[3], i1))
9029 15 : return -1;
9030 : return 0;
9031 : }
9032 :
9033 : int
9034 226 : pattern1524 (rtx x1)
9035 : {
9036 226 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9037 226 : rtx x2;
9038 226 : int res ATTRIBUTE_UNUSED;
9039 226 : if (!register_operand (operands[0], E_V4SFmode)
9040 226 : || GET_MODE (x1) != E_V4SFmode)
9041 : return -1;
9042 222 : x2 = XEXP (x1, 0);
9043 222 : switch (GET_MODE (x2))
9044 : {
9045 112 : case E_V4HFmode:
9046 112 : if (!memory_operand (operands[1], E_V8HFmode))
9047 2 : return -1;
9048 : return 0;
9049 :
9050 110 : case E_V4BFmode:
9051 110 : if (!memory_operand (operands[1], E_V8BFmode))
9052 4 : return -1;
9053 : return 1;
9054 :
9055 : default:
9056 : return -1;
9057 : }
9058 : }
9059 :
9060 : int
9061 1232 : pattern1532 (rtx x1)
9062 : {
9063 1232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9064 1232 : int res ATTRIBUTE_UNUSED;
9065 1232 : switch (GET_MODE (operands[1]))
9066 : {
9067 901 : case E_SImode:
9068 901 : if (!nonimmediate_operand (operands[1], E_SImode)
9069 898 : || !register_operand (operands[0], E_SImode)
9070 1799 : || GET_MODE (x1) != E_SImode)
9071 3 : return -1;
9072 : return 0;
9073 :
9074 331 : case E_DImode:
9075 331 : if (!nonimmediate_operand (operands[1], E_DImode)
9076 331 : || !register_operand (operands[0], E_DImode)
9077 662 : || GET_MODE (x1) != E_DImode)
9078 0 : return -1;
9079 : return 1;
9080 :
9081 : default:
9082 : return -1;
9083 : }
9084 : }
9085 :
9086 : int
9087 84 : pattern1537 (rtx x1)
9088 : {
9089 84 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9090 84 : rtx x2, x3, x4, x5, x6;
9091 84 : int res ATTRIBUTE_UNUSED;
9092 84 : x2 = XEXP (x1, 1);
9093 84 : x3 = XEXP (x2, 0);
9094 84 : x4 = XEXP (x3, 0);
9095 84 : operands[1] = x4;
9096 84 : if (!int248_register_operand (operands[1], E_VOIDmode))
9097 : return -1;
9098 84 : x5 = XEXP (x3, 1);
9099 84 : operands[2] = x5;
9100 84 : if (!int248_register_operand (operands[2], E_VOIDmode))
9101 : return -1;
9102 84 : x6 = XEXP (x1, 0);
9103 84 : switch (GET_MODE (x6))
9104 : {
9105 12 : case E_HImode:
9106 12 : if (!extract_high_operator (operands[3], E_HImode))
9107 0 : return -1;
9108 : return 0;
9109 :
9110 42 : case E_SImode:
9111 42 : if (!extract_high_operator (operands[3], E_SImode))
9112 0 : return -1;
9113 : return 1;
9114 :
9115 30 : case E_DImode:
9116 30 : if (!extract_high_operator (operands[3], E_DImode))
9117 0 : return -1;
9118 : return 2;
9119 :
9120 : default:
9121 : return -1;
9122 : }
9123 : }
9124 :
9125 : int
9126 5413 : pattern1544 (rtx x1, machine_mode i1)
9127 : {
9128 5413 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9129 5413 : rtx x2;
9130 5413 : int res ATTRIBUTE_UNUSED;
9131 5413 : if (!register_operand (operands[0], i1)
9132 5413 : || GET_MODE (x1) != i1)
9133 : return -1;
9134 5413 : x2 = XEXP (x1, 1);
9135 5413 : if (GET_MODE (x2) != i1
9136 5413 : || !nonimmediate_operand (operands[1], i1))
9137 3 : return -1;
9138 : return 0;
9139 : }
9140 :
9141 : int
9142 5105 : pattern1550 (rtx x1)
9143 : {
9144 5105 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9145 5105 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9146 5105 : rtx x10;
9147 5105 : int res ATTRIBUTE_UNUSED;
9148 5105 : x2 = XVECEXP (x1, 0, 0);
9149 5105 : x3 = XEXP (x2, 1);
9150 5105 : x4 = XEXP (x3, 0);
9151 5105 : x5 = XEXP (x4, 0);
9152 5105 : if (!rtx_equal_p (x5, operands[0]))
9153 : return -1;
9154 4723 : x6 = XVECEXP (x1, 0, 1);
9155 4723 : x7 = XEXP (x6, 1);
9156 4723 : if (!rtx_equal_p (x7, operands[3]))
9157 : return -1;
9158 4723 : x8 = XEXP (x6, 0);
9159 4723 : if (!rtx_equal_p (x8, operands[0]))
9160 : return -1;
9161 4723 : x9 = PATTERN (peep2_next_insn (2));
9162 4723 : x10 = XEXP (x9, 1);
9163 4723 : if (!rtx_equal_p (x10, operands[0]))
9164 2151 : return -1;
9165 : return 0;
9166 : }
9167 :
9168 : int
9169 179 : pattern1555 (rtx x1, machine_mode i1, machine_mode i2)
9170 : {
9171 179 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9172 179 : rtx x2, x3;
9173 179 : int res ATTRIBUTE_UNUSED;
9174 179 : if (!register_operand (operands[0], i1)
9175 179 : || GET_MODE (x1) != i1)
9176 : return -1;
9177 179 : x2 = XEXP (x1, 0);
9178 179 : if (GET_MODE (x2) != i1
9179 179 : || !register_operand (operands[1], i2))
9180 : return -1;
9181 177 : x3 = XEXP (x1, 1);
9182 177 : if (GET_MODE (x3) != i1)
9183 0 : return -1;
9184 : return 0;
9185 : }
9186 :
9187 : int
9188 183 : pattern1557 (rtx x1, machine_mode i1, machine_mode i2)
9189 : {
9190 183 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9191 183 : rtx x2, x3;
9192 183 : int res ATTRIBUTE_UNUSED;
9193 183 : if (!register_operand (operands[0], i2)
9194 183 : || GET_MODE (x1) != i2)
9195 : return -1;
9196 173 : x2 = XEXP (x1, 0);
9197 173 : if (GET_MODE (x2) != i1)
9198 : return -1;
9199 173 : x3 = XEXP (x2, 0);
9200 173 : return pattern1556 (x3,
9201 173 : i1); /* [-1, 0] */
9202 : }
9203 :
9204 : int
9205 5490 : pattern1562 (rtx x1)
9206 : {
9207 5490 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9208 5490 : rtx x2, x3, x4, x5, x6, x7;
9209 5490 : int res ATTRIBUTE_UNUSED;
9210 5490 : x2 = XVECEXP (x1, 0, 0);
9211 5490 : x3 = XEXP (x2, 0);
9212 5490 : x4 = XEXP (x3, 1);
9213 5490 : switch (GET_CODE (x4))
9214 : {
9215 3824 : case REG:
9216 3824 : case SUBREG:
9217 3824 : case MEM:
9218 3824 : x5 = XEXP (x3, 2);
9219 3824 : operands[4] = x5;
9220 3824 : x6 = XVECEXP (x1, 0, 1);
9221 3824 : operands[5] = x6;
9222 3824 : switch (GET_MODE (operands[0]))
9223 : {
9224 : case E_V8HFmode:
9225 : return 0;
9226 :
9227 : case E_V4SFmode:
9228 : return 1;
9229 :
9230 : case E_V2DFmode:
9231 : return 2;
9232 :
9233 : default:
9234 : return -1;
9235 : }
9236 :
9237 1666 : case CONST_INT:
9238 1666 : case CONST_DOUBLE:
9239 1666 : case CONST_VECTOR:
9240 1666 : operands[4] = x4;
9241 1666 : x5 = XEXP (x3, 2);
9242 1666 : operands[5] = x5;
9243 1666 : x6 = XVECEXP (x1, 0, 1);
9244 1666 : operands[6] = x6;
9245 1666 : x7 = XEXP (x2, 1);
9246 1666 : if (!rtx_equal_p (x7, operands[1]))
9247 : return -1;
9248 1666 : switch (GET_MODE (operands[0]))
9249 : {
9250 : case E_V8HFmode:
9251 : return 3;
9252 :
9253 : case E_V4SFmode:
9254 : return 4;
9255 :
9256 : case E_V2DFmode:
9257 : return 5;
9258 :
9259 : default:
9260 : return -1;
9261 : }
9262 :
9263 : default:
9264 : return -1;
9265 : }
9266 : }
9267 :
9268 : int
9269 3756 : pattern1573 (rtx x1, machine_mode i1)
9270 : {
9271 3756 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9272 3756 : int res ATTRIBUTE_UNUSED;
9273 3756 : if (!nonimmediate_operand (operands[0], i1)
9274 3756 : || GET_MODE (x1) != i1
9275 3756 : || !ix86_carry_flag_operator (operands[2], i1)
9276 7512 : || !nonimmediate_operand (operands[1], i1))
9277 1135 : return -1;
9278 : return 0;
9279 : }
9280 :
9281 : int
9282 169 : pattern1577 (rtx x1, machine_mode i1)
9283 : {
9284 169 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9285 169 : rtx x2, x3;
9286 169 : int res ATTRIBUTE_UNUSED;
9287 169 : if (!register_operand (operands[0], i1)
9288 169 : || GET_MODE (x1) != i1
9289 169 : || !nonimmediate_operand (operands[3], i1)
9290 238 : || !nonimmediate_operand (operands[4], i1))
9291 : return -1;
9292 69 : x2 = XEXP (x1, 0);
9293 69 : x3 = XEXP (x2, 0);
9294 69 : switch (GET_MODE (x3))
9295 : {
9296 51 : case E_SImode:
9297 51 : if (!nonimmediate_operand (operands[1], E_SImode))
9298 4 : return -1;
9299 : return 0;
9300 :
9301 18 : case E_DImode:
9302 18 : if (!nonimmediate_operand (operands[1], E_DImode))
9303 4 : return -1;
9304 : return 1;
9305 :
9306 : default:
9307 : return -1;
9308 : }
9309 : }
9310 :
9311 : int
9312 21156 : pattern1583 (rtx x1)
9313 : {
9314 21156 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9315 21156 : int res ATTRIBUTE_UNUSED;
9316 21156 : switch (GET_MODE (operands[0]))
9317 : {
9318 6163 : case E_V8SFmode:
9319 6163 : if (!nonimmediate_operand (operands[0], E_V8SFmode)
9320 6163 : || GET_MODE (x1) != E_V8SFmode
9321 12326 : || !nonimmediate_operand (operands[1], E_V16SFmode))
9322 0 : return -1;
9323 : return 0;
9324 :
9325 6232 : case E_V8SImode:
9326 6232 : if (!nonimmediate_operand (operands[0], E_V8SImode)
9327 6232 : || GET_MODE (x1) != E_V8SImode
9328 12464 : || !nonimmediate_operand (operands[1], E_V16SImode))
9329 0 : return -1;
9330 : return 1;
9331 :
9332 7142 : case E_V8HImode:
9333 7142 : if (!nonimmediate_operand (operands[0], E_V8HImode)
9334 7142 : || GET_MODE (x1) != E_V8HImode
9335 14284 : || !nonimmediate_operand (operands[1], E_V16HImode))
9336 87 : return -1;
9337 : return 2;
9338 :
9339 660 : case E_V8HFmode:
9340 660 : if (!nonimmediate_operand (operands[0], E_V8HFmode)
9341 660 : || GET_MODE (x1) != E_V8HFmode
9342 1320 : || !nonimmediate_operand (operands[1], E_V16HFmode))
9343 3 : return -1;
9344 : return 3;
9345 :
9346 712 : case E_V8BFmode:
9347 712 : if (!nonimmediate_operand (operands[0], E_V8BFmode)
9348 712 : || GET_MODE (x1) != E_V8BFmode
9349 1424 : || !nonimmediate_operand (operands[1], E_V16BFmode))
9350 34 : return -1;
9351 : return 4;
9352 :
9353 : default:
9354 : return -1;
9355 : }
9356 : }
9357 :
9358 : int
9359 4408 : pattern1595 (rtx x1, machine_mode i1, machine_mode i2)
9360 : {
9361 4408 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9362 4408 : rtx x2;
9363 4408 : int res ATTRIBUTE_UNUSED;
9364 4408 : if (GET_MODE (x1) != i1)
9365 : return -1;
9366 4408 : x2 = XEXP (x1, 0);
9367 4408 : if (GET_MODE (x2) != i1
9368 4408 : || !register_operand (operands[1], i2)
9369 8783 : || !nonimm_or_0_operand (operands[2], i1))
9370 68 : return -1;
9371 : return 0;
9372 : }
9373 :
9374 : int
9375 973 : pattern1599 (rtx x1, machine_mode i1, machine_mode i2)
9376 : {
9377 973 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9378 973 : rtx x2, x3;
9379 973 : int res ATTRIBUTE_UNUSED;
9380 973 : if (!register_operand (operands[0], i1)
9381 973 : || GET_MODE (x1) != i1)
9382 : return -1;
9383 915 : x2 = XVECEXP (x1, 0, 0);
9384 915 : if (GET_MODE (x2) != i1)
9385 : return -1;
9386 915 : x3 = XEXP (x2, 0);
9387 915 : if (GET_MODE (x3) != i1
9388 915 : || !register_operand (operands[1], i1)
9389 907 : || !nonimm_or_0_operand (operands[3], i1)
9390 1810 : || !register_operand (operands[4], i2))
9391 53 : return -1;
9392 : return 0;
9393 : }
9394 :
9395 : int
9396 190 : pattern1603 (rtx x1, machine_mode i1)
9397 : {
9398 190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9399 190 : rtx x2, x3, x4, x5, x6, x7;
9400 190 : int res ATTRIBUTE_UNUSED;
9401 190 : x2 = XEXP (x1, 0);
9402 190 : if (GET_CODE (x2) != VEC_SELECT
9403 190 : || GET_MODE (x2) != i1)
9404 : return -1;
9405 190 : x3 = XEXP (x2, 1);
9406 190 : if (GET_CODE (x3) != PARALLEL
9407 190 : || XVECLEN (x3, 0) != 1)
9408 : return -1;
9409 190 : x4 = XVECEXP (x3, 0, 0);
9410 190 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
9411 : return -1;
9412 190 : x5 = XEXP (x1, 1);
9413 190 : if (GET_CODE (x5) != VEC_SELECT
9414 190 : || GET_MODE (x5) != i1)
9415 : return -1;
9416 190 : x6 = XEXP (x5, 1);
9417 190 : if (GET_CODE (x6) != PARALLEL
9418 190 : || XVECLEN (x6, 0) != 1)
9419 : return -1;
9420 190 : x7 = XVECEXP (x6, 0, 0);
9421 190 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
9422 0 : return -1;
9423 : return 0;
9424 : }
9425 :
9426 : int
9427 13398 : pattern1613 (rtx x1, machine_mode i1)
9428 : {
9429 13398 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9430 13398 : int res ATTRIBUTE_UNUSED;
9431 13398 : if (!nonimmediate_operand (operands[0], i1)
9432 13398 : || GET_MODE (x1) != i1
9433 13398 : || !nonimmediate_operand (operands[1], i1)
9434 25447 : || !ix86_carry_flag_operator (operands[2], i1))
9435 1349 : return -1;
9436 : return 0;
9437 : }
9438 :
9439 : int
9440 0 : pattern1615 (rtx x1, machine_mode i1)
9441 : {
9442 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9443 0 : rtx x2, x3;
9444 0 : int res ATTRIBUTE_UNUSED;
9445 0 : if (!nonimmediate_operand (operands[0], i1)
9446 0 : || GET_MODE (x1) != i1)
9447 : return -1;
9448 0 : x2 = XEXP (x1, 0);
9449 0 : if (GET_MODE (x2) != i1
9450 0 : || !nonimmediate_operand (operands[1], i1))
9451 : return -1;
9452 0 : x3 = XEXP (x2, 1);
9453 0 : if (GET_MODE (x3) != i1
9454 0 : || !general_operand (operands[2], i1))
9455 0 : return -1;
9456 : return 0;
9457 : }
9458 :
9459 : int
9460 134 : pattern1620 (rtx x1, int *pnum_clobbers)
9461 : {
9462 134 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9463 134 : rtx x2, x3;
9464 134 : int res ATTRIBUTE_UNUSED;
9465 134 : switch (GET_CODE (x1))
9466 : {
9467 6 : case UNSPEC:
9468 6 : if (pnum_clobbers == NULL
9469 6 : || XVECLEN (x1, 0) != 1
9470 6 : || XINT (x1, 1) != 29)
9471 : return -1;
9472 6 : x2 = XVECEXP (x1, 0, 0);
9473 6 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
9474 0 : return -1;
9475 : return 0;
9476 :
9477 92 : case CLOBBER:
9478 92 : x3 = XEXP (x1, 0);
9479 92 : if (GET_CODE (x3) != REG
9480 92 : || REGNO (x3) != 17
9481 184 : || GET_MODE (x3) != E_CCmode)
9482 0 : return -1;
9483 : return 1;
9484 :
9485 0 : case USE:
9486 0 : if (pnum_clobbers == NULL)
9487 : return -1;
9488 0 : x3 = XEXP (x1, 0);
9489 0 : operands[4] = x3;
9490 0 : if (!register_operand (operands[4], E_SImode))
9491 0 : return -1;
9492 : return 2;
9493 :
9494 : default:
9495 : return -1;
9496 : }
9497 : }
9498 :
9499 : int
9500 69 : pattern1627 (rtx x1)
9501 : {
9502 69 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9503 69 : rtx x2, x3, x4;
9504 69 : int res ATTRIBUTE_UNUSED;
9505 69 : x2 = XEXP (x1, 2);
9506 69 : operands[3] = x2;
9507 69 : x3 = XEXP (x1, 1);
9508 69 : x4 = XEXP (x3, 0);
9509 69 : if (!rtx_equal_p (x4, operands[2]))
9510 : return -1;
9511 69 : switch (GET_MODE (operands[0]))
9512 : {
9513 17 : case E_HImode:
9514 17 : return pattern1626 (x1,
9515 17 : E_HImode); /* [-1, 0] */
9516 :
9517 34 : case E_SImode:
9518 34 : if (pattern1626 (x1,
9519 : E_SImode) != 0)
9520 20 : return -1;
9521 : return 1;
9522 :
9523 18 : case E_DImode:
9524 18 : if (pattern1626 (x1,
9525 : E_DImode) != 0)
9526 10 : return -1;
9527 : return 2;
9528 :
9529 : default:
9530 : return -1;
9531 : }
9532 : }
9533 :
9534 : int
9535 1860 : pattern1631 (rtx x1, machine_mode i1, machine_mode i2)
9536 : {
9537 1860 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9538 1860 : rtx x2, x3;
9539 1860 : int res ATTRIBUTE_UNUSED;
9540 1860 : if (!register_operand (operands[0], i1)
9541 1860 : || GET_MODE (x1) != i1)
9542 : return -1;
9543 1856 : x2 = XVECEXP (x1, 0, 0);
9544 1856 : if (GET_MODE (x2) != i1)
9545 : return -1;
9546 1856 : x3 = XEXP (x2, 0);
9547 1856 : if (GET_MODE (x3) != i1
9548 1856 : || !register_operand (operands[1], i2)
9549 1856 : || !nonimmediate_operand (operands[2], i2)
9550 3712 : || !register_operand (operands[4], i1))
9551 0 : return -1;
9552 : return 0;
9553 : }
9554 :
9555 : int
9556 0 : pattern1637 (rtx x1, machine_mode i1, machine_mode i2)
9557 : {
9558 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9559 0 : rtx x2, x3, x4, x5;
9560 0 : int res ATTRIBUTE_UNUSED;
9561 0 : if (!register_operand (operands[0], i1)
9562 0 : || GET_MODE (x1) != i1)
9563 : return -1;
9564 0 : x2 = XVECEXP (x1, 0, 0);
9565 0 : if (GET_MODE (x2) != i1)
9566 : return -1;
9567 0 : x3 = XEXP (x2, 0);
9568 0 : if (GET_MODE (x3) != i1)
9569 : return -1;
9570 0 : x4 = XEXP (x3, 0);
9571 0 : if (GET_MODE (x4) != i1)
9572 : return -1;
9573 0 : x5 = XEXP (x4, 0);
9574 0 : if (GET_MODE (x5) != i2
9575 0 : || !nonimmediate_operand (operands[1], i2)
9576 0 : || !nonimm_or_0_operand (operands[3], i1)
9577 0 : || !register_operand (operands[2], i1))
9578 0 : return -1;
9579 : return 0;
9580 : }
9581 :
9582 : int
9583 976 : pattern1646 (rtx x1, machine_mode i1, machine_mode i2)
9584 : {
9585 976 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9586 976 : int res ATTRIBUTE_UNUSED;
9587 976 : if (!register_operand (operands[2], i2)
9588 968 : || GET_MODE (x1) != i2
9589 968 : || !register_operand (operands[3], i2)
9590 968 : || !const0_operand (operands[4], i2)
9591 1944 : || !register_operand (operands[5], i1))
9592 24 : return -1;
9593 : return 0;
9594 : }
9595 :
9596 : int
9597 1223 : pattern1651 (rtx x1, machine_mode i1, machine_mode i2)
9598 : {
9599 1223 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9600 1223 : rtx x2, x3, x4;
9601 1223 : int res ATTRIBUTE_UNUSED;
9602 1223 : if (!register_operand (operands[0], i2)
9603 1223 : || GET_MODE (x1) != i2)
9604 : return -1;
9605 1200 : x2 = XVECEXP (x1, 0, 0);
9606 1200 : if (GET_MODE (x2) != i2)
9607 : return -1;
9608 1200 : x3 = XEXP (x2, 0);
9609 1200 : if (GET_MODE (x3) != i2)
9610 : return -1;
9611 1200 : x4 = XEXP (x3, 0);
9612 1200 : if (GET_MODE (x4) != i2
9613 1200 : || !register_operand (operands[2], i2)
9614 2390 : || !register_operand (operands[4], i1))
9615 10 : return -1;
9616 : return 0;
9617 : }
9618 :
9619 : int
9620 287 : pattern1656 (machine_mode i1)
9621 : {
9622 287 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9623 287 : int res ATTRIBUTE_UNUSED;
9624 287 : if (!vsib_address_operand (operands[0], i1))
9625 : return -1;
9626 233 : switch (GET_MODE (operands[2]))
9627 : {
9628 159 : case E_V8SImode:
9629 159 : if (!register_operand (operands[2], E_V8SImode))
9630 84 : return -1;
9631 : return 0;
9632 :
9633 74 : case E_V8DImode:
9634 74 : if (!register_operand (operands[2], E_V8DImode))
9635 16 : return -1;
9636 : return 1;
9637 :
9638 : default:
9639 : return -1;
9640 : }
9641 : }
9642 :
9643 : int
9644 344 : pattern1661 (machine_mode i1)
9645 : {
9646 344 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9647 344 : int res ATTRIBUTE_UNUSED;
9648 344 : if (!vsib_address_operand (operands[0], i1))
9649 : return -1;
9650 276 : switch (GET_MODE (operands[2]))
9651 : {
9652 150 : case E_V4SImode:
9653 150 : if (!register_operand (operands[2], E_V4SImode))
9654 48 : return -1;
9655 : return 0;
9656 :
9657 126 : case E_V2DImode:
9658 126 : if (!register_operand (operands[2], E_V2DImode))
9659 24 : return -1;
9660 : return 1;
9661 :
9662 : default:
9663 : return -1;
9664 : }
9665 : }
9666 :
9667 : int
9668 1101 : pattern1666 (rtx x1, machine_mode i1, machine_mode i2)
9669 : {
9670 1101 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9671 1101 : rtx x2, x3;
9672 1101 : int res ATTRIBUTE_UNUSED;
9673 1101 : if (!register_operand (operands[0], i2)
9674 1043 : || GET_MODE (x1) != i2
9675 1043 : || !register_operand (operands[6], E_QImode)
9676 1319 : || !vsib_mem_operator (operands[5], i1))
9677 : return -1;
9678 218 : x2 = XVECEXP (x1, 0, 2);
9679 218 : x3 = XEXP (x2, 0);
9680 218 : switch (GET_MODE (x3))
9681 : {
9682 0 : case E_SImode:
9683 0 : return pattern1665 (
9684 0 : E_SImode); /* [-1, 1] */
9685 :
9686 218 : case E_DImode:
9687 218 : res = pattern1665 (
9688 : E_DImode);
9689 218 : if (res >= 0)
9690 96 : return res + 2; /* [2, 3] */
9691 : return -1;
9692 :
9693 : default:
9694 : return -1;
9695 : }
9696 : }
9697 :
9698 : int
9699 1864 : pattern1673 (rtx x1, machine_mode i1, machine_mode i2)
9700 : {
9701 1864 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9702 1864 : int res ATTRIBUTE_UNUSED;
9703 1864 : if (!register_operand (operands[1], i2)
9704 1864 : || !nonimmediate_operand (operands[2], i1)
9705 1800 : || GET_MODE (x1) != E_V8QImode
9706 3664 : || !const0_operand (operands[5], E_V8QImode))
9707 64 : return -1;
9708 : return 0;
9709 : }
9710 :
9711 : int
9712 1429 : pattern1677 (rtx x1, machine_mode i1)
9713 : {
9714 1429 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9715 1429 : int res ATTRIBUTE_UNUSED;
9716 1429 : if (!register_operand (operands[0], i1)
9717 1419 : || GET_MODE (x1) != i1
9718 1419 : || !register_operand (operands[1], i1)
9719 1402 : || !const_0_to_7_operand (operands[2], E_VOIDmode)
9720 1402 : || !const_0_to_7_operand (operands[3], E_VOIDmode)
9721 1402 : || !const_0_to_7_operand (operands[4], E_VOIDmode)
9722 1402 : || !const_0_to_7_operand (operands[5], E_VOIDmode)
9723 1402 : || !const_0_to_7_operand (operands[6], E_VOIDmode)
9724 1402 : || !const_0_to_7_operand (operands[7], E_VOIDmode)
9725 1402 : || !const_0_to_7_operand (operands[8], E_VOIDmode)
9726 2831 : || !const_0_to_7_operand (operands[9], E_VOIDmode))
9727 27 : return -1;
9728 : return 0;
9729 : }
9730 :
9731 : int
9732 510 : pattern1682 (rtx x1, machine_mode i1)
9733 : {
9734 510 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9735 510 : rtx x2, x3, x4, x5, x6;
9736 510 : int res ATTRIBUTE_UNUSED;
9737 510 : if (!nonimmediate_operand (operands[1], i1)
9738 510 : || !general_operand (operands[2], i1)
9739 1020 : || !nonimmediate_operand (operands[0], i1))
9740 : return -1;
9741 510 : x2 = XVECEXP (x1, 0, 1);
9742 510 : x3 = XEXP (x2, 1);
9743 510 : if (GET_MODE (x3) != i1)
9744 : return -1;
9745 510 : x4 = XVECEXP (x1, 0, 0);
9746 510 : x5 = XEXP (x4, 1);
9747 510 : x6 = XEXP (x5, 1);
9748 510 : if (!rtx_equal_p (x6, operands[2]))
9749 510 : return -1;
9750 : return 0;
9751 : }
9752 :
9753 : int
9754 1494 : pattern1687 (rtx x1)
9755 : {
9756 1494 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9757 1494 : rtx x2, x3, x4, x5;
9758 1494 : int res ATTRIBUTE_UNUSED;
9759 1494 : x2 = XEXP (x1, 0);
9760 1494 : if (GET_CODE (x2) != STRICT_LOW_PART)
9761 : return -1;
9762 125 : x3 = XEXP (x2, 0);
9763 125 : operands[0] = x3;
9764 125 : if (!register_operand (operands[0], E_QImode))
9765 : return -1;
9766 125 : x4 = XEXP (x1, 1);
9767 125 : x5 = XEXP (x4, 1);
9768 125 : operands[1] = x5;
9769 125 : if (!nonimmediate_operand (operands[1], E_QImode))
9770 : return -1;
9771 80 : return pattern1567 (); /* [-1, 2] */
9772 : }
9773 :
9774 : int
9775 163568 : pattern1692 (rtx x1, machine_mode i1)
9776 : {
9777 163568 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9778 163568 : rtx x2, x3, x4;
9779 163568 : int res ATTRIBUTE_UNUSED;
9780 163568 : if (!memory_operand (operands[1], i1)
9781 163568 : || !rtx_equal_p (x1, operands[0]))
9782 : return -1;
9783 16174 : x2 = PATTERN (peep2_next_insn (1));
9784 16174 : x3 = XEXP (x2, 1);
9785 16174 : if (!rtx_equal_p (x3, operands[0]))
9786 : return -1;
9787 2567 : x4 = XEXP (x2, 0);
9788 2567 : if (!rtx_equal_p (x4, operands[1]))
9789 2413 : return -1;
9790 : return 0;
9791 : }
9792 :
9793 : int
9794 8 : pattern1696 (rtx x1, machine_mode i1)
9795 : {
9796 8 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9797 8 : rtx x2, x3, x4, x5;
9798 8 : int res ATTRIBUTE_UNUSED;
9799 8 : if (!register_operand (operands[0], i1)
9800 8 : || GET_MODE (x1) != i1)
9801 : return -1;
9802 8 : x2 = XEXP (x1, 0);
9803 8 : if (GET_MODE (x2) != i1)
9804 : return -1;
9805 8 : x3 = XVECEXP (x2, 0, 2);
9806 8 : if (GET_MODE (x3) != i1)
9807 : return -1;
9808 8 : x4 = XEXP (x1, 1);
9809 8 : if (GET_MODE (x4) != i1)
9810 : return -1;
9811 8 : x5 = XEXP (x4, 0);
9812 8 : if (GET_MODE (x5) != i1)
9813 0 : return -1;
9814 : return 0;
9815 : }
9816 :
9817 : int
9818 440 : pattern1700 (rtx x1, machine_mode i1, machine_mode i2)
9819 : {
9820 440 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9821 440 : rtx x2, x3, x4, x5, x6;
9822 440 : int res ATTRIBUTE_UNUSED;
9823 440 : if (!register_operand (operands[0], i1)
9824 440 : || GET_MODE (x1) != i1)
9825 : return -1;
9826 410 : x2 = XEXP (x1, 0);
9827 410 : if (GET_MODE (x2) != i1)
9828 : return -1;
9829 410 : x3 = XEXP (x2, 0);
9830 410 : if (GET_MODE (x3) != i2
9831 410 : || !register_operand (operands[1], i1))
9832 : return -1;
9833 410 : x4 = XEXP (x3, 1);
9834 410 : operands[2] = x4;
9835 410 : if (!nonimmediate_operand (operands[2], i1))
9836 : return -1;
9837 410 : x5 = XEXP (x1, 1);
9838 410 : operands[3] = x5;
9839 410 : if (!nonimm_or_0_operand (operands[3], i1))
9840 : return -1;
9841 396 : x6 = XEXP (x1, 2);
9842 396 : operands[4] = x6;
9843 396 : return 0;
9844 : }
9845 :
9846 : int
9847 725 : pattern1706 (rtx x1, machine_mode i1, machine_mode i2)
9848 : {
9849 725 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9850 725 : rtx x2, x3;
9851 725 : int res ATTRIBUTE_UNUSED;
9852 725 : if (!register_operand (operands[0], i2)
9853 725 : || GET_MODE (x1) != i2)
9854 : return -1;
9855 705 : x2 = XVECEXP (x1, 0, 0);
9856 705 : if (GET_MODE (x2) != i2)
9857 : return -1;
9858 705 : x3 = XEXP (x2, 0);
9859 705 : if (GET_MODE (x3) != i2
9860 705 : || !register_operand (operands[1], i2)
9861 700 : || !register_operand (operands[2], i2)
9862 696 : || !register_operand (operands[3], i2)
9863 696 : || !const0_operand (operands[4], i2)
9864 1401 : || !register_operand (operands[5], i1))
9865 19 : return -1;
9866 : return 0;
9867 : }
9868 :
9869 : int
9870 54 : pattern1712 (rtx x1, machine_mode i1)
9871 : {
9872 54 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9873 54 : rtx x2, x3, x4, x5;
9874 54 : int res ATTRIBUTE_UNUSED;
9875 54 : if (!register_operand (operands[0], i1)
9876 54 : || GET_MODE (x1) != i1)
9877 : return -1;
9878 39 : x2 = XVECEXP (x1, 0, 0);
9879 39 : if (GET_MODE (x2) != i1)
9880 : return -1;
9881 39 : x3 = XEXP (x2, 0);
9882 39 : if (GET_MODE (x3) != i1)
9883 : return -1;
9884 39 : x4 = XEXP (x3, 0);
9885 39 : if (GET_MODE (x4) != i1
9886 39 : || !nonimmediate_operand (operands[1], i1)
9887 78 : || !register_operand (operands[2], i1))
9888 : return -1;
9889 33 : x5 = XEXP (x3, 2);
9890 33 : if (GET_MODE (x5) != i1
9891 33 : || !register_operand (operands[3], i1))
9892 0 : return -1;
9893 : return 0;
9894 : }
9895 :
9896 : int
9897 5472 : pattern1720 (rtx x1)
9898 : {
9899 5472 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9900 5472 : rtx x2, x3, x4, x5, x6, x7;
9901 5472 : int res ATTRIBUTE_UNUSED;
9902 5472 : x2 = XVECEXP (x1, 0, 2);
9903 5472 : if (XWINT (x2, 0) != 2L)
9904 : return -1;
9905 1088 : x3 = XVECEXP (x1, 0, 3);
9906 1088 : if (XWINT (x3, 0) != 2L)
9907 : return -1;
9908 812 : x4 = XVECEXP (x1, 0, 4);
9909 812 : if (XWINT (x4, 0) != 4L)
9910 : return -1;
9911 812 : x5 = XVECEXP (x1, 0, 5);
9912 812 : if (XWINT (x5, 0) != 4L)
9913 : return -1;
9914 812 : x6 = XVECEXP (x1, 0, 6);
9915 812 : if (XWINT (x6, 0) != 6L)
9916 : return -1;
9917 812 : x7 = XVECEXP (x1, 0, 7);
9918 812 : if (XWINT (x7, 0) != 6L)
9919 0 : return -1;
9920 : return 0;
9921 : }
9922 :
9923 : int
9924 49919 : pattern1725 (rtx x1, machine_mode i1)
9925 : {
9926 49919 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9927 49919 : int res ATTRIBUTE_UNUSED;
9928 49919 : if (!nonimmediate_operand (operands[1], i1)
9929 49919 : || !x86_64_hilo_general_operand (operands[2], i1)
9930 49842 : || !nonimmediate_operand (operands[0], i1)
9931 99761 : || GET_MODE (x1) != i1)
9932 77 : return -1;
9933 : return 0;
9934 : }
9935 :
9936 : int
9937 984 : pattern1729 (machine_mode i1)
9938 : {
9939 984 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9940 984 : int res ATTRIBUTE_UNUSED;
9941 984 : if (!general_operand (operands[2], i1)
9942 980 : || !nonimmediate_operand (operands[3], i1)
9943 705 : || !general_operand (operands[4], i1)
9944 1689 : || !const_0_to_31_operand (operands[5], E_SImode))
9945 279 : return -1;
9946 : return 0;
9947 : }
9948 :
9949 : int
9950 2468 : pattern1734 (rtx x1, machine_mode i1)
9951 : {
9952 2468 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9953 2468 : rtx x2, x3, x4;
9954 2468 : int res ATTRIBUTE_UNUSED;
9955 2468 : if (!register_operand (operands[0], i1)
9956 2468 : || GET_MODE (x1) != i1)
9957 : return -1;
9958 2436 : x2 = XVECEXP (x1, 0, 0);
9959 2436 : if (GET_MODE (x2) != i1)
9960 : return -1;
9961 2436 : x3 = XEXP (x2, 0);
9962 2436 : if (GET_MODE (x3) != i1)
9963 : return -1;
9964 2436 : x4 = XEXP (x3, 0);
9965 2436 : if (GET_MODE (x4) != i1
9966 2436 : || !register_operand (operands[2], i1))
9967 13 : return -1;
9968 : return 0;
9969 : }
9970 :
9971 : int
9972 5784 : pattern1739 (rtx x1, machine_mode i1, machine_mode i2)
9973 : {
9974 5784 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9975 5784 : rtx x2;
9976 5784 : int res ATTRIBUTE_UNUSED;
9977 5784 : if (!register_operand (operands[0], i1)
9978 5784 : || GET_MODE (x1) != i1)
9979 : return -1;
9980 5763 : x2 = XEXP (x1, 0);
9981 5763 : if (GET_MODE (x2) != i2
9982 5755 : || !register_operand (operands[1], i1)
9983 5677 : || !nonimmediate_operand (operands[2], i1)
9984 5641 : || !const_0_to_7_operand (operands[3], E_VOIDmode)
9985 10247 : || pattern1738 () != 0)
9986 4096 : return -1;
9987 : return 0;
9988 : }
9989 :
9990 : int
9991 247714 : pattern1746 (rtx x1, machine_mode i1)
9992 : {
9993 247714 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9994 247714 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9995 247714 : int res ATTRIBUTE_UNUSED;
9996 247714 : x2 = XVECEXP (x1, 0, 0);
9997 247714 : x3 = XEXP (x2, 0);
9998 247714 : if (GET_MODE (x3) != i1)
9999 : return -1;
10000 247714 : x4 = XEXP (x2, 1);
10001 247714 : if (GET_MODE (x4) != i1)
10002 : return -1;
10003 247714 : x5 = XEXP (x4, 0);
10004 247714 : if (GET_MODE (x5) != i1)
10005 : return -1;
10006 247714 : x6 = XVECEXP (x1, 0, 1);
10007 247714 : x7 = XEXP (x6, 0);
10008 247714 : if (GET_MODE (x7) != i1)
10009 : return -1;
10010 247714 : x8 = XEXP (x6, 1);
10011 247714 : if (GET_MODE (x8) != i1)
10012 : return -1;
10013 247714 : x9 = XEXP (x8, 0);
10014 247714 : if (GET_MODE (x9) != i1)
10015 0 : return -1;
10016 : return 0;
10017 : }
10018 :
10019 : int
10020 4 : pattern1749 (rtx x1, rtx_code i1)
10021 : {
10022 4 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10023 4 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10024 4 : rtx x10, x11, x12;
10025 4 : int res ATTRIBUTE_UNUSED;
10026 4 : x2 = XVECEXP (x1, 0, 1);
10027 4 : x3 = XEXP (x2, 1);
10028 4 : if (GET_CODE (x3) != i1)
10029 : return -1;
10030 4 : x4 = XVECEXP (x1, 0, 0);
10031 4 : x5 = XEXP (x4, 0);
10032 4 : operands[1] = x5;
10033 4 : x6 = XEXP (x4, 1);
10034 4 : x7 = XEXP (x6, 0);
10035 4 : x8 = XEXP (x7, 0);
10036 4 : operands[2] = x8;
10037 4 : if (!register_operand (operands[2], E_SImode))
10038 : return -1;
10039 4 : x9 = XEXP (x7, 1);
10040 4 : operands[3] = x9;
10041 4 : if (!nonimmediate_operand (operands[3], E_SImode))
10042 : return -1;
10043 4 : x10 = XEXP (x2, 0);
10044 4 : operands[0] = x10;
10045 4 : x11 = XEXP (x3, 0);
10046 4 : if (!rtx_equal_p (x11, operands[2]))
10047 : return -1;
10048 4 : x12 = XEXP (x3, 1);
10049 4 : if (!rtx_equal_p (x12, operands[3]))
10050 0 : return -1;
10051 : return 0;
10052 : }
10053 :
10054 : int
10055 36 : pattern1757 (rtx x1, machine_mode i1)
10056 : {
10057 36 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10058 36 : rtx x2, x3, x4, x5, x6, x7, x8;
10059 36 : int res ATTRIBUTE_UNUSED;
10060 36 : x2 = XEXP (x1, 0);
10061 36 : x3 = XEXP (x2, 0);
10062 36 : x4 = XEXP (x3, 0);
10063 36 : x5 = XEXP (x4, 0);
10064 36 : operands[1] = x5;
10065 36 : x6 = XEXP (x3, 2);
10066 36 : if (GET_MODE (x6) != i1
10067 36 : || !nonimmediate_operand (operands[3], i1))
10068 : return -1;
10069 36 : x7 = XEXP (x2, 1);
10070 36 : if (!rtx_equal_p (x7, operands[1]))
10071 : return -1;
10072 12 : x8 = XEXP (x1, 1);
10073 12 : if (!rtx_equal_p (x8, operands[1]))
10074 0 : return -1;
10075 : return 0;
10076 : }
10077 :
10078 : int
10079 187 : pattern1760 (rtx x1, machine_mode i1, machine_mode i2)
10080 : {
10081 187 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10082 187 : rtx x2, x3;
10083 187 : int res ATTRIBUTE_UNUSED;
10084 187 : if (!register_operand (operands[0], i2)
10085 187 : || GET_MODE (x1) != i2)
10086 : return -1;
10087 179 : x2 = XVECEXP (x1, 0, 0);
10088 179 : if (GET_MODE (x2) != i2)
10089 : return -1;
10090 179 : x3 = XEXP (x2, 0);
10091 179 : if (GET_MODE (x3) != i2
10092 179 : || !register_operand (operands[1], i2)
10093 177 : || !register_operand (operands[2], i2)
10094 356 : || !register_operand (operands[3], i1))
10095 2 : return -1;
10096 : return 0;
10097 : }
10098 :
10099 : int
10100 448 : pattern1766 (rtx x1, machine_mode i1, machine_mode i2)
10101 : {
10102 448 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10103 448 : rtx x2, x3;
10104 448 : int res ATTRIBUTE_UNUSED;
10105 448 : if (!register_operand (operands[0], i1)
10106 413 : || GET_MODE (x1) != i1
10107 413 : || !vsib_mem_operator (operands[6], i2)
10108 861 : || !register_operand (operands[4], i1))
10109 : return -1;
10110 152 : x2 = XVECEXP (x1, 0, 1);
10111 152 : x3 = XEXP (x2, 0);
10112 152 : switch (GET_MODE (x3))
10113 : {
10114 0 : case E_SImode:
10115 0 : return pattern1765 (
10116 0 : E_SImode); /* [-1, 1] */
10117 :
10118 152 : case E_DImode:
10119 152 : res = pattern1765 (
10120 : E_DImode);
10121 152 : if (res >= 0)
10122 34 : return res + 2; /* [2, 3] */
10123 : return -1;
10124 :
10125 : default:
10126 : return -1;
10127 : }
10128 : }
10129 :
10130 : int
10131 688 : pattern1773 (machine_mode i1)
10132 : {
10133 688 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10134 688 : int res ATTRIBUTE_UNUSED;
10135 688 : if (!vsib_address_operand (operands[0], i1))
10136 : return -1;
10137 662 : switch (GET_MODE (operands[2]))
10138 : {
10139 358 : case E_V4SImode:
10140 358 : if (!register_operand (operands[2], E_V4SImode))
10141 20 : return -1;
10142 : return 0;
10143 :
10144 304 : case E_V4DImode:
10145 304 : if (!register_operand (operands[2], E_V4DImode))
10146 6 : return -1;
10147 : return 1;
10148 :
10149 : default:
10150 : return -1;
10151 : }
10152 : }
10153 :
10154 : int
10155 829 : pattern1777 (rtx x1, machine_mode i1, machine_mode i2)
10156 : {
10157 829 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10158 829 : int res ATTRIBUTE_UNUSED;
10159 829 : if (!register_operand (operands[6], i1)
10160 829 : || !register_operand (operands[2], i2)
10161 1608 : || !scratch_operand (operands[1], i1))
10162 : return -1;
10163 779 : switch (GET_MODE (x1))
10164 : {
10165 0 : case E_SImode:
10166 0 : if (!vsib_address_operand (operands[3], E_SImode))
10167 0 : return -1;
10168 : return 0;
10169 :
10170 779 : case E_DImode:
10171 779 : if (!vsib_address_operand (operands[3], E_DImode))
10172 4 : return -1;
10173 : return 1;
10174 :
10175 : default:
10176 : return -1;
10177 : }
10178 : }
10179 :
10180 : int
10181 180 : pattern1784 (rtx x1, machine_mode i1, machine_mode i2)
10182 : {
10183 180 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10184 180 : rtx x2, x3;
10185 180 : int res ATTRIBUTE_UNUSED;
10186 180 : if (!register_operand (operands[0], i2)
10187 176 : || GET_MODE (x1) != i2
10188 176 : || !register_operand (operands[6], E_QImode)
10189 123 : || !vsib_mem_operator (operands[5], i1)
10190 303 : || !scratch_operand (operands[1], E_QImode))
10191 : return -1;
10192 123 : x2 = XVECEXP (x1, 0, 2);
10193 123 : x3 = XEXP (x2, 0);
10194 123 : switch (GET_MODE (x3))
10195 : {
10196 0 : case E_SImode:
10197 0 : return pattern1783 (
10198 0 : E_SImode); /* [-1, 1] */
10199 :
10200 123 : case E_DImode:
10201 123 : res = pattern1783 (
10202 : E_DImode);
10203 123 : if (res >= 0)
10204 111 : return res + 2; /* [2, 3] */
10205 : return -1;
10206 :
10207 : default:
10208 : return -1;
10209 : }
10210 : }
10211 :
10212 : int
10213 3444 : pattern1791 (rtx x1)
10214 : {
10215 3444 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10216 3444 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10217 3444 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10218 3444 : int res ATTRIBUTE_UNUSED;
10219 3444 : if (!register_operand (operands[0], E_SImode))
10220 : return -1;
10221 3436 : x2 = XVECEXP (x1, 0, 0);
10222 3436 : x3 = XEXP (x2, 1);
10223 3436 : x4 = XVECEXP (x3, 0, 0);
10224 3436 : operands[2] = x4;
10225 3436 : if (!register_operand (operands[2], E_V16QImode))
10226 : return -1;
10227 3344 : x5 = XVECEXP (x3, 0, 1);
10228 3344 : operands[3] = x5;
10229 3344 : if (!nonimmediate_operand (operands[3], E_V16QImode))
10230 : return -1;
10231 3324 : x6 = XVECEXP (x3, 0, 2);
10232 3324 : operands[4] = x6;
10233 3324 : if (!const_0_to_255_operand (operands[4], E_SImode))
10234 : return -1;
10235 3324 : x7 = XVECEXP (x1, 0, 1);
10236 3324 : x8 = XEXP (x7, 0);
10237 3324 : operands[1] = x8;
10238 3324 : if (!register_operand (operands[1], E_V16QImode))
10239 : return -1;
10240 3284 : x9 = XEXP (x7, 1);
10241 3284 : x10 = XVECEXP (x9, 0, 0);
10242 3284 : if (!rtx_equal_p (x10, operands[2]))
10243 : return -1;
10244 3284 : x11 = XVECEXP (x9, 0, 1);
10245 3284 : if (!rtx_equal_p (x11, operands[3]))
10246 : return -1;
10247 3284 : x12 = XVECEXP (x9, 0, 2);
10248 3284 : if (!rtx_equal_p (x12, operands[4]))
10249 : return -1;
10250 3284 : x13 = XVECEXP (x1, 0, 2);
10251 3284 : x14 = XEXP (x13, 1);
10252 3284 : x15 = XVECEXP (x14, 0, 0);
10253 3284 : if (!rtx_equal_p (x15, operands[2]))
10254 : return -1;
10255 3174 : x16 = XVECEXP (x14, 0, 1);
10256 3174 : if (!rtx_equal_p (x16, operands[3]))
10257 : return -1;
10258 3064 : x17 = XVECEXP (x14, 0, 2);
10259 3064 : if (!rtx_equal_p (x17, operands[4]))
10260 0 : return -1;
10261 : return 0;
10262 : }
10263 :
10264 : int
10265 94 : pattern1802 (machine_mode i1)
10266 : {
10267 94 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10268 94 : int res ATTRIBUTE_UNUSED;
10269 94 : if (!vsib_address_operand (operands[0], i1))
10270 : return -1;
10271 77 : switch (GET_MODE (operands[2]))
10272 : {
10273 23 : case E_V8SImode:
10274 23 : if (!register_operand (operands[2], E_V8SImode)
10275 23 : || !register_operand (operands[3], E_V8SFmode))
10276 2 : return -1;
10277 : return 0;
10278 :
10279 54 : case E_V4DImode:
10280 54 : if (!register_operand (operands[2], E_V4DImode)
10281 54 : || !register_operand (operands[3], E_V4SFmode))
10282 29 : return -1;
10283 : return 1;
10284 :
10285 : default:
10286 : return -1;
10287 : }
10288 : }
10289 :
10290 : int
10291 632 : pattern1808 (rtx x1, machine_mode i1, machine_mode i2)
10292 : {
10293 632 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10294 632 : rtx x2, x3;
10295 632 : int res ATTRIBUTE_UNUSED;
10296 632 : if (!register_operand (operands[0], i2)
10297 628 : || GET_MODE (x1) != i2
10298 628 : || !register_operand (operands[1], i2)
10299 628 : || !register_operand (operands[7], E_QImode)
10300 587 : || !vsib_mem_operator (operands[6], i1)
10301 1219 : || !scratch_operand (operands[2], E_QImode))
10302 : return -1;
10303 587 : x2 = XVECEXP (x1, 0, 2);
10304 587 : x3 = XEXP (x2, 0);
10305 587 : switch (GET_MODE (x3))
10306 : {
10307 0 : case E_SImode:
10308 0 : return pattern1807 (
10309 0 : E_SImode); /* [-1, 1] */
10310 :
10311 587 : case E_DImode:
10312 587 : res = pattern1807 (
10313 : E_DImode);
10314 587 : if (res >= 0)
10315 555 : return res + 2; /* [2, 3] */
10316 : return -1;
10317 :
10318 : default:
10319 : return -1;
10320 : }
10321 : }
10322 :
10323 : int
10324 21 : pattern1815 (rtx x1, machine_mode i1)
10325 : {
10326 21 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10327 21 : int res ATTRIBUTE_UNUSED;
10328 21 : if (GET_MODE (x1) != i1
10329 21 : || !nonimmediate_operand (operands[1], i1)
10330 21 : || !ix86_carry_flag_operator (operands[3], i1)
10331 42 : || !x86_64_general_operand (operands[2], i1))
10332 0 : return -1;
10333 : return 0;
10334 : }
10335 :
10336 : int
10337 2342 : pattern1819 (rtx x1, machine_mode i1)
10338 : {
10339 2342 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10340 2342 : rtx x2;
10341 2342 : int res ATTRIBUTE_UNUSED;
10342 2342 : if (!nonimmediate_operand (operands[1], i1)
10343 2342 : || !register_operand (operands[0], i1)
10344 4684 : || GET_MODE (x1) != i1)
10345 : return -1;
10346 2342 : x2 = XEXP (x1, 1);
10347 2342 : if (GET_MODE (x2) != i1
10348 2342 : || !register_operand (operands[2], i1))
10349 0 : return -1;
10350 : return 0;
10351 : }
10352 :
10353 : int
10354 792 : pattern1825 (rtx x1, machine_mode i1, machine_mode i2)
10355 : {
10356 792 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10357 792 : rtx x2;
10358 792 : int res ATTRIBUTE_UNUSED;
10359 792 : if (!register_operand (operands[1], i1)
10360 792 : || GET_MODE (x1) != i2)
10361 : return -1;
10362 792 : x2 = XEXP (x1, 0);
10363 792 : if (GET_MODE (x2) != i2
10364 792 : || !x86_64_dwzext_immediate_operand (operands[2], i2)
10365 864 : || !scratch_operand (operands[0], i1))
10366 720 : return -1;
10367 : return 0;
10368 : }
10369 :
10370 : int
10371 0 : pattern1830 (rtx x1, machine_mode i1)
10372 : {
10373 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10374 0 : rtx x2;
10375 0 : int res ATTRIBUTE_UNUSED;
10376 0 : if (!register_operand (operands[0], i1))
10377 : return -1;
10378 0 : operands[2] = x1;
10379 0 : x2 = PATTERN (peep2_next_insn (1));
10380 0 : return pattern1829 (x2,
10381 0 : i1); /* [-1, 0] */
10382 : }
10383 :
10384 : int
10385 878 : pattern1831 (rtx x1, machine_mode i1, machine_mode i2)
10386 : {
10387 878 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10388 878 : rtx x2, x3, x4, x5;
10389 878 : int res ATTRIBUTE_UNUSED;
10390 878 : if (!register_operand (operands[0], i1)
10391 878 : || GET_MODE (x1) != i1)
10392 : return -1;
10393 864 : x2 = XVECEXP (x1, 0, 0);
10394 864 : if (GET_MODE (x2) != i1)
10395 : return -1;
10396 864 : x3 = XEXP (x2, 0);
10397 864 : if (GET_MODE (x3) != i1)
10398 : return -1;
10399 864 : x4 = XEXP (x3, 0);
10400 864 : if (GET_MODE (x4) != i1)
10401 : return -1;
10402 864 : x5 = XEXP (x4, 0);
10403 864 : if (GET_MODE (x5) != i2
10404 864 : || !nonimm_or_0_operand (operands[3], i1)
10405 1728 : || !register_operand (operands[2], i1))
10406 10 : return -1;
10407 : return 0;
10408 : }
10409 :
10410 : int
10411 778 : pattern1836 (machine_mode i1)
10412 : {
10413 778 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10414 778 : int res ATTRIBUTE_UNUSED;
10415 778 : if (!vsib_address_operand (operands[0], i1))
10416 : return -1;
10417 760 : switch (GET_MODE (operands[2]))
10418 : {
10419 277 : case E_V16SImode:
10420 277 : if (!register_operand (operands[2], E_V16SImode)
10421 262 : || !register_operand (operands[6], E_HImode)
10422 204 : || !register_operand (operands[3], E_V16SImode)
10423 473 : || !scratch_operand (operands[1], E_HImode))
10424 81 : return -1;
10425 : return 0;
10426 :
10427 483 : case E_V8DImode:
10428 483 : if (pattern1835 (
10429 : E_QImode,
10430 : E_V8SImode,
10431 : E_V8DImode) != 0)
10432 127 : return -1;
10433 : return 1;
10434 :
10435 : default:
10436 : return -1;
10437 : }
10438 : }
10439 :
10440 : int
10441 571 : pattern1843 (rtx x1, machine_mode i1, machine_mode i2)
10442 : {
10443 571 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10444 571 : rtx x2, x3;
10445 571 : int res ATTRIBUTE_UNUSED;
10446 571 : if (!register_operand (operands[0], i1)
10447 563 : || GET_MODE (x1) != i1
10448 563 : || !vsib_mem_operator (operands[6], i2)
10449 1134 : || !scratch_operand (operands[1], i1))
10450 : return -1;
10451 561 : x2 = XVECEXP (x1, 0, 1);
10452 561 : x3 = XEXP (x2, 0);
10453 561 : switch (GET_MODE (x3))
10454 : {
10455 : case E_SImode:
10456 : return 0;
10457 :
10458 561 : case E_DImode:
10459 561 : return 1;
10460 :
10461 : default:
10462 : return -1;
10463 : }
10464 : }
10465 :
10466 : int
10467 561 : pattern1848 (rtx x1)
10468 : {
10469 561 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10470 561 : rtx x2, x3;
10471 561 : int res ATTRIBUTE_UNUSED;
10472 561 : if (GET_MODE (x1) != E_SImode
10473 561 : || !general_reg_operand (operands[4], E_SImode))
10474 : return -1;
10475 561 : x2 = XEXP (x1, 0);
10476 561 : if (!rtx_equal_p (x2, operands[2]))
10477 : return -1;
10478 561 : x3 = XEXP (x1, 1);
10479 561 : if (!rtx_equal_p (x3, operands[0]))
10480 3 : return -1;
10481 : return 0;
10482 : }
10483 :
10484 : int
10485 298 : pattern1852 (rtx x1, machine_mode i1)
10486 : {
10487 298 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10488 298 : int res ATTRIBUTE_UNUSED;
10489 298 : if (!register_operand (operands[3], i1))
10490 : return -1;
10491 257 : switch (GET_MODE (x1))
10492 : {
10493 0 : case E_SImode:
10494 0 : if (!vsib_address_operand (operands[4], E_SImode))
10495 0 : return -1;
10496 : return 0;
10497 :
10498 257 : case E_DImode:
10499 257 : if (!vsib_address_operand (operands[4], E_DImode))
10500 0 : return -1;
10501 : return 1;
10502 :
10503 : default:
10504 : return -1;
10505 : }
10506 : }
10507 :
10508 : int
10509 1317 : pattern1855 (rtx x1, machine_mode i1, machine_mode i2)
10510 : {
10511 1317 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10512 1317 : rtx x2, x3;
10513 1317 : int res ATTRIBUTE_UNUSED;
10514 1317 : if (!register_operand (operands[0], i1)
10515 1317 : || GET_MODE (x1) != i1)
10516 : return -1;
10517 280 : x2 = XEXP (x1, 0);
10518 280 : if (GET_MODE (x2) != i2
10519 280 : || !nonimmediate_operand (operands[1], i1))
10520 : return -1;
10521 280 : x3 = XEXP (x2, 1);
10522 280 : if (!rtx_equal_p (x3, operands[1]))
10523 0 : return -1;
10524 : return 0;
10525 : }
10526 :
10527 : int
10528 762 : pattern1860 (rtx x1, machine_mode i1, machine_mode i2)
10529 : {
10530 762 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10531 762 : rtx x2, x3;
10532 762 : int res ATTRIBUTE_UNUSED;
10533 762 : if (!register_operand (operands[0], i1)
10534 754 : || GET_MODE (x1) != i1
10535 754 : || !register_operand (operands[2], i1)
10536 754 : || !vsib_mem_operator (operands[7], i2)
10537 754 : || !register_operand (operands[5], i1)
10538 1450 : || !scratch_operand (operands[1], i1))
10539 : return -1;
10540 688 : x2 = XVECEXP (x1, 0, 1);
10541 688 : x3 = XEXP (x2, 0);
10542 688 : switch (GET_MODE (x3))
10543 : {
10544 0 : case E_SImode:
10545 0 : return pattern1859 (
10546 0 : E_SImode); /* [-1, 1] */
10547 :
10548 688 : case E_DImode:
10549 688 : res = pattern1859 (
10550 : E_DImode);
10551 688 : if (res >= 0)
10552 618 : return res + 2; /* [2, 3] */
10553 : return -1;
10554 :
10555 : default:
10556 : return -1;
10557 : }
10558 : }
10559 :
10560 : int
10561 372 : pattern1867 (rtx x1, machine_mode i1)
10562 : {
10563 372 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10564 372 : rtx x2, x3, x4, x5, x6, x7;
10565 372 : int res ATTRIBUTE_UNUSED;
10566 372 : x2 = XVECEXP (x1, 0, 0);
10567 372 : x3 = XEXP (x2, 1);
10568 372 : x4 = XEXP (x3, 0);
10569 372 : x5 = XEXP (x4, 0);
10570 372 : if (GET_MODE (x5) != i1
10571 372 : || !nonimmediate_operand (operands[1], i1)
10572 738 : || !ix86_carry_flag_operator (operands[4], i1))
10573 : return -1;
10574 366 : x6 = XVECEXP (x1, 0, 1);
10575 366 : x7 = XEXP (x6, 1);
10576 366 : return pattern1864 (x7,
10577 366 : i1); /* [-1, 0] */
10578 : }
10579 :
10580 : int
10581 208 : pattern1873 (rtx x1, int i1, int i2, int i3, int i4, int i5)
10582 : {
10583 208 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10584 208 : rtx x2, x3, x4, x5, x6;
10585 208 : int res ATTRIBUTE_UNUSED;
10586 208 : x2 = XVECEXP (x1, 0, 17);
10587 208 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i5])
10588 : return -1;
10589 208 : x3 = XVECEXP (x1, 0, 18);
10590 208 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
10591 : return -1;
10592 208 : x4 = XVECEXP (x1, 0, 19);
10593 208 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
10594 : return -1;
10595 208 : x5 = XVECEXP (x1, 0, 20);
10596 208 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
10597 : return -1;
10598 208 : x6 = XVECEXP (x1, 0, 21);
10599 208 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
10600 0 : return -1;
10601 : return 0;
10602 : }
10603 :
10604 : int
10605 894 : pattern1878 (rtx x1, machine_mode i1, machine_mode i2)
10606 : {
10607 894 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10608 894 : rtx x2, x3, x4, x5, x6;
10609 894 : int res ATTRIBUTE_UNUSED;
10610 894 : if (!register_operand (operands[0], i1)
10611 894 : || GET_MODE (x1) != i1)
10612 : return -1;
10613 842 : x2 = XEXP (x1, 0);
10614 842 : if (GET_MODE (x2) != i1)
10615 : return -1;
10616 842 : x3 = XEXP (x2, 0);
10617 842 : if (GET_MODE (x3) != i2
10618 842 : || !nonimmediate_operand (operands[1], i1))
10619 : return -1;
10620 842 : x4 = XEXP (x1, 1);
10621 842 : operands[2] = x4;
10622 842 : if (!nonimm_or_0_operand (operands[2], i1))
10623 : return -1;
10624 822 : x5 = XEXP (x1, 2);
10625 822 : operands[3] = x5;
10626 822 : x6 = XEXP (x3, 1);
10627 822 : if (!rtx_equal_p (x6, operands[1]))
10628 0 : return -1;
10629 : return 0;
10630 : }
10631 :
10632 : int
10633 204 : pattern1886 (rtx x1, rtx_code i1)
10634 : {
10635 204 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10636 204 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10637 204 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
10638 204 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
10639 204 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
10640 204 : rtx x34, x35, x36, x37, x38, x39, x40, x41;
10641 204 : rtx x42, x43, x44, x45, x46, x47, x48, x49;
10642 204 : rtx x50, x51, x52, x53, x54, x55, x56, x57;
10643 204 : rtx x58, x59, x60, x61, x62, x63, x64, x65;
10644 204 : rtx x66, x67, x68, x69, x70, x71, x72, x73;
10645 204 : rtx x74, x75, x76, x77, x78, x79;
10646 204 : int res ATTRIBUTE_UNUSED;
10647 204 : x2 = XEXP (x1, 0);
10648 204 : x3 = XEXP (x2, 0);
10649 204 : x4 = XEXP (x3, 0);
10650 204 : x5 = XEXP (x4, 0);
10651 204 : if (GET_CODE (x5) != VEC_SELECT
10652 204 : || GET_MODE (x5) != E_SFmode)
10653 : return -1;
10654 204 : x6 = XEXP (x5, 1);
10655 204 : if (GET_CODE (x6) != PARALLEL
10656 204 : || XVECLEN (x6, 0) != 1)
10657 : return -1;
10658 204 : x7 = XVECEXP (x6, 0, 0);
10659 204 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10660 : return -1;
10661 204 : x8 = XEXP (x4, 1);
10662 204 : if (GET_CODE (x8) != VEC_SELECT
10663 204 : || GET_MODE (x8) != E_SFmode)
10664 : return -1;
10665 204 : x9 = XEXP (x8, 1);
10666 204 : if (GET_CODE (x9) != PARALLEL
10667 204 : || XVECLEN (x9, 0) != 1)
10668 : return -1;
10669 204 : x10 = XVECEXP (x9, 0, 0);
10670 204 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
10671 : return -1;
10672 204 : x11 = XEXP (x3, 1);
10673 204 : if (GET_CODE (x11) != i1)
10674 : return -1;
10675 204 : x12 = XEXP (x11, 0);
10676 204 : if (GET_CODE (x12) != VEC_SELECT
10677 204 : || GET_MODE (x12) != E_SFmode)
10678 : return -1;
10679 204 : x13 = XEXP (x12, 1);
10680 204 : if (GET_CODE (x13) != PARALLEL
10681 204 : || XVECLEN (x13, 0) != 1)
10682 : return -1;
10683 204 : x14 = XVECEXP (x13, 0, 0);
10684 204 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
10685 : return -1;
10686 204 : x15 = XEXP (x11, 1);
10687 204 : if (GET_CODE (x15) != VEC_SELECT
10688 204 : || GET_MODE (x15) != E_SFmode)
10689 : return -1;
10690 204 : x16 = XEXP (x15, 1);
10691 204 : if (GET_CODE (x16) != PARALLEL
10692 204 : || XVECLEN (x16, 0) != 1)
10693 : return -1;
10694 204 : x17 = XVECEXP (x16, 0, 0);
10695 204 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
10696 : return -1;
10697 204 : x18 = XEXP (x2, 1);
10698 204 : x19 = XEXP (x18, 0);
10699 204 : if (GET_CODE (x19) != i1)
10700 : return -1;
10701 204 : x20 = XEXP (x19, 0);
10702 204 : if (GET_CODE (x20) != VEC_SELECT
10703 204 : || GET_MODE (x20) != E_SFmode)
10704 : return -1;
10705 204 : x21 = XEXP (x20, 1);
10706 204 : if (GET_CODE (x21) != PARALLEL
10707 204 : || XVECLEN (x21, 0) != 1)
10708 : return -1;
10709 204 : x22 = XVECEXP (x21, 0, 0);
10710 204 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10711 : return -1;
10712 204 : x23 = XEXP (x19, 1);
10713 204 : if (GET_CODE (x23) != VEC_SELECT
10714 204 : || GET_MODE (x23) != E_SFmode)
10715 : return -1;
10716 204 : x24 = XEXP (x23, 1);
10717 204 : if (GET_CODE (x24) != PARALLEL
10718 204 : || XVECLEN (x24, 0) != 1)
10719 : return -1;
10720 204 : x25 = XVECEXP (x24, 0, 0);
10721 204 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
10722 : return -1;
10723 204 : x26 = XEXP (x18, 1);
10724 204 : if (GET_CODE (x26) != i1)
10725 : return -1;
10726 204 : x27 = XEXP (x26, 0);
10727 204 : if (GET_CODE (x27) != VEC_SELECT
10728 204 : || GET_MODE (x27) != E_SFmode)
10729 : return -1;
10730 204 : x28 = XEXP (x27, 1);
10731 204 : if (GET_CODE (x28) != PARALLEL
10732 204 : || XVECLEN (x28, 0) != 1)
10733 : return -1;
10734 204 : x29 = XVECEXP (x28, 0, 0);
10735 204 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
10736 : return -1;
10737 204 : x30 = XEXP (x26, 1);
10738 204 : if (GET_CODE (x30) != VEC_SELECT
10739 204 : || GET_MODE (x30) != E_SFmode)
10740 : return -1;
10741 204 : x31 = XEXP (x30, 1);
10742 204 : if (GET_CODE (x31) != PARALLEL
10743 204 : || XVECLEN (x31, 0) != 1)
10744 : return -1;
10745 204 : x32 = XVECEXP (x31, 0, 0);
10746 204 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
10747 : return -1;
10748 204 : x33 = XEXP (x1, 1);
10749 204 : x34 = XEXP (x33, 0);
10750 204 : x35 = XEXP (x34, 0);
10751 204 : if (GET_CODE (x35) != i1)
10752 : return -1;
10753 204 : x36 = XEXP (x35, 0);
10754 204 : if (GET_CODE (x36) != VEC_SELECT
10755 204 : || GET_MODE (x36) != E_SFmode)
10756 : return -1;
10757 204 : x37 = XEXP (x36, 1);
10758 204 : if (GET_CODE (x37) != PARALLEL
10759 204 : || XVECLEN (x37, 0) != 1)
10760 : return -1;
10761 204 : x38 = XVECEXP (x37, 0, 0);
10762 204 : if (x38 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
10763 : return -1;
10764 204 : x39 = XEXP (x35, 1);
10765 204 : if (GET_CODE (x39) != VEC_SELECT
10766 204 : || GET_MODE (x39) != E_SFmode)
10767 : return -1;
10768 204 : x40 = XEXP (x39, 1);
10769 204 : if (GET_CODE (x40) != PARALLEL
10770 204 : || XVECLEN (x40, 0) != 1)
10771 : return -1;
10772 204 : x41 = XVECEXP (x40, 0, 0);
10773 204 : if (x41 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
10774 : return -1;
10775 204 : x42 = XEXP (x34, 1);
10776 204 : if (GET_CODE (x42) != i1)
10777 : return -1;
10778 204 : x43 = XEXP (x42, 0);
10779 204 : if (GET_CODE (x43) != VEC_SELECT
10780 204 : || GET_MODE (x43) != E_SFmode)
10781 : return -1;
10782 204 : x44 = XEXP (x43, 1);
10783 204 : if (GET_CODE (x44) != PARALLEL
10784 204 : || XVECLEN (x44, 0) != 1)
10785 : return -1;
10786 204 : x45 = XVECEXP (x44, 0, 0);
10787 204 : if (x45 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
10788 : return -1;
10789 204 : x46 = XEXP (x42, 1);
10790 204 : if (GET_CODE (x46) != VEC_SELECT
10791 204 : || GET_MODE (x46) != E_SFmode)
10792 : return -1;
10793 204 : x47 = XEXP (x46, 1);
10794 204 : if (GET_CODE (x47) != PARALLEL
10795 204 : || XVECLEN (x47, 0) != 1)
10796 : return -1;
10797 204 : x48 = XVECEXP (x47, 0, 0);
10798 204 : if (x48 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
10799 : return -1;
10800 204 : x49 = XEXP (x33, 1);
10801 204 : x50 = XEXP (x49, 0);
10802 204 : if (GET_CODE (x50) != i1)
10803 : return -1;
10804 204 : x51 = XEXP (x50, 0);
10805 204 : if (GET_CODE (x51) != VEC_SELECT
10806 204 : || GET_MODE (x51) != E_SFmode)
10807 : return -1;
10808 204 : x52 = XEXP (x51, 1);
10809 204 : if (GET_CODE (x52) != PARALLEL
10810 204 : || XVECLEN (x52, 0) != 1)
10811 : return -1;
10812 204 : x53 = XVECEXP (x52, 0, 0);
10813 204 : if (x53 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
10814 : return -1;
10815 204 : x54 = XEXP (x50, 1);
10816 204 : if (GET_CODE (x54) != VEC_SELECT
10817 204 : || GET_MODE (x54) != E_SFmode)
10818 : return -1;
10819 204 : x55 = XEXP (x54, 1);
10820 204 : if (GET_CODE (x55) != PARALLEL
10821 204 : || XVECLEN (x55, 0) != 1)
10822 : return -1;
10823 204 : x56 = XVECEXP (x55, 0, 0);
10824 204 : if (x56 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
10825 : return -1;
10826 204 : x57 = XEXP (x49, 1);
10827 204 : if (GET_CODE (x57) != i1)
10828 : return -1;
10829 204 : x58 = XEXP (x57, 0);
10830 204 : if (GET_CODE (x58) != VEC_SELECT
10831 204 : || GET_MODE (x58) != E_SFmode)
10832 : return -1;
10833 204 : x59 = XEXP (x58, 1);
10834 204 : if (GET_CODE (x59) != PARALLEL
10835 204 : || XVECLEN (x59, 0) != 1)
10836 : return -1;
10837 204 : x60 = XVECEXP (x59, 0, 0);
10838 204 : if (x60 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
10839 : return -1;
10840 204 : x61 = XEXP (x57, 1);
10841 204 : if (GET_CODE (x61) != VEC_SELECT
10842 204 : || GET_MODE (x61) != E_SFmode)
10843 : return -1;
10844 204 : x62 = XEXP (x61, 1);
10845 204 : if (GET_CODE (x62) != PARALLEL
10846 204 : || XVECLEN (x62, 0) != 1)
10847 : return -1;
10848 204 : x63 = XVECEXP (x62, 0, 0);
10849 204 : if (x63 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
10850 : return -1;
10851 204 : x64 = XEXP (x5, 0);
10852 204 : operands[1] = x64;
10853 204 : if (!register_operand (operands[1], E_V8SFmode))
10854 : return -1;
10855 180 : x65 = XEXP (x20, 0);
10856 180 : operands[2] = x65;
10857 180 : if (!nonimmediate_operand (operands[2], E_V8SFmode))
10858 : return -1;
10859 156 : x66 = XEXP (x8, 0);
10860 156 : if (!rtx_equal_p (x66, operands[1]))
10861 : return -1;
10862 156 : x67 = XEXP (x12, 0);
10863 156 : if (!rtx_equal_p (x67, operands[1]))
10864 : return -1;
10865 156 : x68 = XEXP (x15, 0);
10866 156 : if (!rtx_equal_p (x68, operands[1]))
10867 : return -1;
10868 156 : x69 = XEXP (x23, 0);
10869 156 : if (!rtx_equal_p (x69, operands[2]))
10870 : return -1;
10871 156 : x70 = XEXP (x27, 0);
10872 156 : if (!rtx_equal_p (x70, operands[2]))
10873 : return -1;
10874 156 : x71 = XEXP (x30, 0);
10875 156 : if (!rtx_equal_p (x71, operands[2]))
10876 : return -1;
10877 156 : x72 = XEXP (x36, 0);
10878 156 : if (!rtx_equal_p (x72, operands[1]))
10879 : return -1;
10880 156 : x73 = XEXP (x39, 0);
10881 156 : if (!rtx_equal_p (x73, operands[1]))
10882 : return -1;
10883 156 : x74 = XEXP (x43, 0);
10884 156 : if (!rtx_equal_p (x74, operands[1]))
10885 : return -1;
10886 156 : x75 = XEXP (x46, 0);
10887 156 : if (!rtx_equal_p (x75, operands[1]))
10888 : return -1;
10889 156 : x76 = XEXP (x51, 0);
10890 156 : if (!rtx_equal_p (x76, operands[2]))
10891 : return -1;
10892 156 : x77 = XEXP (x54, 0);
10893 156 : if (!rtx_equal_p (x77, operands[2]))
10894 : return -1;
10895 156 : x78 = XEXP (x58, 0);
10896 156 : if (!rtx_equal_p (x78, operands[2]))
10897 : return -1;
10898 156 : x79 = XEXP (x61, 0);
10899 156 : if (!rtx_equal_p (x79, operands[2]))
10900 0 : return -1;
10901 : return 0;
10902 : }
10903 :
10904 : int
10905 398 : pattern1933 (rtx x1, int i1, int i2, int i3, int i4)
10906 : {
10907 398 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10908 398 : rtx x2, x3, x4, x5;
10909 398 : int res ATTRIBUTE_UNUSED;
10910 398 : x2 = XVECEXP (x1, 0, 28);
10911 398 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
10912 : return -1;
10913 398 : x3 = XVECEXP (x1, 0, 29);
10914 398 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
10915 : return -1;
10916 398 : x4 = XVECEXP (x1, 0, 30);
10917 398 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
10918 : return -1;
10919 398 : x5 = XVECEXP (x1, 0, 31);
10920 398 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
10921 0 : return -1;
10922 : return 0;
10923 : }
10924 :
10925 : int
10926 0 : pattern1938 (rtx x1, machine_mode i1)
10927 : {
10928 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10929 0 : rtx x2, x3, x4, x5, x6, x7;
10930 0 : int res ATTRIBUTE_UNUSED;
10931 0 : if (!register_operand (operands[4], i1)
10932 0 : || GET_MODE (x1) != i1
10933 0 : || !nonmemory_operand (operands[2], i1))
10934 : return -1;
10935 0 : x2 = PATTERN (peep2_next_insn (3));
10936 0 : x3 = XEXP (x2, 1);
10937 0 : if (!rtx_equal_p (x3, operands[4]))
10938 : return -1;
10939 0 : x4 = PATTERN (peep2_next_insn (4));
10940 0 : x5 = XEXP (x4, 1);
10941 0 : x6 = XEXP (x5, 0);
10942 0 : operands[5] = x6;
10943 0 : x7 = XEXP (x5, 1);
10944 0 : operands[6] = x7;
10945 0 : return 0;
10946 : }
10947 :
10948 : int
10949 666 : pattern1941 (rtx x1)
10950 : {
10951 666 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10952 666 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10953 666 : rtx x10, x11;
10954 666 : int res ATTRIBUTE_UNUSED;
10955 666 : x2 = XEXP (x1, 0);
10956 666 : x3 = XEXP (x2, 1);
10957 666 : x4 = XVECEXP (x3, 0, 12);
10958 666 : if (XWINT (x4, 0) != 14L)
10959 : return -1;
10960 666 : x5 = XVECEXP (x3, 0, 13);
10961 666 : if (XWINT (x5, 0) != 30L)
10962 : return -1;
10963 666 : x6 = XVECEXP (x3, 0, 14);
10964 666 : if (XWINT (x6, 0) != 15L)
10965 : return -1;
10966 666 : x7 = XVECEXP (x3, 0, 15);
10967 666 : if (XWINT (x7, 0) != 31L)
10968 : return -1;
10969 666 : x8 = XEXP (x2, 0);
10970 666 : x9 = XEXP (x8, 1);
10971 666 : operands[2] = x9;
10972 666 : x10 = XEXP (x1, 1);
10973 666 : operands[3] = x10;
10974 666 : x11 = XEXP (x1, 2);
10975 666 : operands[4] = x11;
10976 666 : return 0;
10977 : }
10978 :
10979 : int
10980 499 : pattern1946 (rtx x1, machine_mode i1)
10981 : {
10982 499 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10983 499 : rtx x2;
10984 499 : int res ATTRIBUTE_UNUSED;
10985 499 : if (!x86_64_immediate_operand (operands[2], i1)
10986 499 : || !nonimmediate_operand (operands[0], i1)
10987 998 : || GET_MODE (x1) != i1)
10988 : return -1;
10989 499 : x2 = XEXP (x1, 0);
10990 499 : if (GET_MODE (x2) != i1)
10991 0 : return -1;
10992 : return 0;
10993 : }
10994 :
10995 : int
10996 0 : pattern1949 (rtx x1, machine_mode i1, machine_mode i2)
10997 : {
10998 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10999 0 : rtx x2, x3, x4, x5, x6, x7;
11000 0 : int res ATTRIBUTE_UNUSED;
11001 0 : x2 = XVECEXP (x1, 0, 0);
11002 0 : x3 = XEXP (x2, 1);
11003 0 : x4 = XEXP (x3, 0);
11004 0 : x5 = XEXP (x4, 0);
11005 0 : if (GET_MODE (x5) != i2)
11006 : return -1;
11007 0 : x6 = XEXP (x5, 0);
11008 0 : if (GET_MODE (x6) != i2
11009 0 : || !nonimmediate_operand (operands[1], i1)
11010 0 : || !ix86_carry_flag_operator (operands[4], i2))
11011 : return -1;
11012 0 : x7 = XEXP (x4, 1);
11013 0 : if (GET_MODE (x7) != i2
11014 0 : || !sext_operand (operands[2], i1)
11015 0 : || pattern1948 (x1,
11016 : i1,
11017 : i2) != 0)
11018 0 : return -1;
11019 : return 0;
11020 : }
11021 :
11022 : int
11023 718 : pattern1952 (rtx x1, int i1, int i2, int i3, int i4)
11024 : {
11025 718 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11026 718 : rtx x2, x3, x4, x5;
11027 718 : int res ATTRIBUTE_UNUSED;
11028 718 : x2 = XVECEXP (x1, 0, 28);
11029 718 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
11030 : return -1;
11031 718 : x3 = XVECEXP (x1, 0, 29);
11032 718 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
11033 : return -1;
11034 718 : x4 = XVECEXP (x1, 0, 30);
11035 718 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
11036 : return -1;
11037 718 : x5 = XVECEXP (x1, 0, 31);
11038 718 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
11039 0 : return -1;
11040 : return 0;
11041 : }
11042 :
11043 : int
11044 1596 : pattern1958 (rtx x1)
11045 : {
11046 1596 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11047 1596 : rtx x2, x3, x4, x5;
11048 1596 : int res ATTRIBUTE_UNUSED;
11049 1596 : x2 = XVECEXP (x1, 0, 24);
11050 1596 : if (XWINT (x2, 0) != 24L)
11051 : return -1;
11052 1596 : x3 = XVECEXP (x1, 0, 25);
11053 1596 : if (XWINT (x3, 0) != 25L)
11054 : return -1;
11055 1596 : x4 = XVECEXP (x1, 0, 26);
11056 1596 : if (XWINT (x4, 0) != 26L)
11057 : return -1;
11058 1596 : x5 = XVECEXP (x1, 0, 27);
11059 1596 : if (XWINT (x5, 0) != 27L)
11060 0 : return -1;
11061 : return 0;
11062 : }
11063 :
11064 : int
11065 429 : pattern1960 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
11066 : {
11067 429 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11068 429 : rtx x2, x3, x4, x5;
11069 429 : int res ATTRIBUTE_UNUSED;
11070 429 : if (!register_operand (operands[0], i1)
11071 429 : || GET_MODE (x1) != i1)
11072 : return -1;
11073 411 : x2 = XEXP (x1, 0);
11074 411 : if (GET_MODE (x2) != i1)
11075 : return -1;
11076 411 : x3 = XEXP (x2, 0);
11077 411 : if (GET_MODE (x3) != i1)
11078 : return -1;
11079 411 : x4 = XEXP (x3, 0);
11080 411 : if (GET_MODE (x4) != i3
11081 411 : || !register_operand (operands[1], i2))
11082 : return -1;
11083 411 : x5 = XEXP (x3, 1);
11084 411 : if (GET_MODE (x5) != i3
11085 411 : || !vector_operand (operands[2], i2)
11086 822 : || !nonimm_or_0_operand (operands[3], i1))
11087 12 : return -1;
11088 : return 0;
11089 : }
11090 :
11091 : int
11092 55646988 : recog_4 (rtx x1 ATTRIBUTE_UNUSED,
11093 : rtx_insn *insn ATTRIBUTE_UNUSED,
11094 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11095 : {
11096 55646988 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11097 55646988 : rtx x2, x3, x4, x5, x6;
11098 55646988 : int res ATTRIBUTE_UNUSED;
11099 55646988 : x2 = XEXP (x1, 1);
11100 55646988 : x3 = XEXP (x2, 1);
11101 55646988 : operands[1] = x3;
11102 55646988 : switch (GET_MODE (operands[0]))
11103 : {
11104 8841707 : case E_QImode:
11105 8841707 : if (nonimmediate_operand (operands[0], E_QImode))
11106 : {
11107 8731413 : if (const0_operand (operands[1], E_QImode))
11108 : {
11109 5917044 : if (insn_condition_28 (operands, insn))
11110 : return 5; /* *cmpqi_ccz_1 */
11111 5900070 : if (insn_condition_29 (operands, insn))
11112 : return 9; /* *cmpqi_ccno_1 */
11113 : }
11114 2814371 : if (general_operand (operands[1], E_QImode)
11115 2814371 : && insn_condition_30 (operands, insn))
11116 : return 13; /* *cmpqi_1 */
11117 : }
11118 : break;
11119 :
11120 938036 : case E_HImode:
11121 938036 : if (nonimmediate_operand (operands[0], E_HImode))
11122 : {
11123 928364 : if (const0_operand (operands[1], E_HImode))
11124 : {
11125 268676 : if (insn_condition_31 (operands, insn))
11126 : return 6; /* *cmphi_ccz_1 */
11127 265263 : if (insn_condition_29 (operands, insn))
11128 : return 10; /* *cmphi_ccno_1 */
11129 : }
11130 659706 : if (general_operand (operands[1], E_HImode)
11131 659706 : && insn_condition_30 (operands, insn))
11132 : return 14; /* *cmphi_1 */
11133 : }
11134 : break;
11135 :
11136 21578656 : case E_SImode:
11137 21578656 : if (nonimmediate_operand (operands[0], E_SImode))
11138 : {
11139 21424276 : if (const0_operand (operands[1], E_SImode))
11140 : {
11141 11095531 : if (insn_condition_32 (operands, insn))
11142 : return 7; /* *cmpsi_ccz_1 */
11143 11040517 : if (insn_condition_29 (operands, insn))
11144 : return 11; /* *cmpsi_ccno_1 */
11145 : }
11146 10330665 : if (x86_64_general_operand (operands[1], E_SImode)
11147 10330665 : && insn_condition_30 (operands, insn))
11148 : return 15; /* *cmpsi_1 */
11149 : }
11150 : break;
11151 :
11152 23167238 : case E_DImode:
11153 23167238 : if (nonimmediate_operand (operands[0], E_DImode))
11154 : {
11155 23126392 : if (const0_operand (operands[1], E_DImode))
11156 : {
11157 7556174 : if (insn_condition_33 (operands, insn))
11158 : return 8; /* *cmpdi_ccz_1 */
11159 7550161 : if (insn_condition_34 (operands, insn))
11160 : return 12; /* *cmpdi_ccno_1 */
11161 : }
11162 15641187 : if (x86_64_general_operand (operands[1], E_DImode)
11163 15641187 : && insn_condition_35 (operands, insn))
11164 : return 16; /* *cmpdi_1 */
11165 : }
11166 : break;
11167 :
11168 : default:
11169 : break;
11170 : }
11171 2726583 : x4 = XEXP (x1, 0);
11172 2726583 : switch (GET_MODE (x4))
11173 : {
11174 1591603 : case E_CCZmode:
11175 1591603 : if (GET_MODE (x2) == E_CCZmode)
11176 : {
11177 1591603 : switch (pattern891 ())
11178 : {
11179 423810 : case 0:
11180 423810 : if (insn_condition_36 (operands, insn))
11181 : return 37; /* *cmpdi_doubleword */
11182 : break;
11183 :
11184 361874 : case 1:
11185 361874 : if (insn_condition_37 (operands, insn))
11186 : return 38; /* *cmpti_doubleword */
11187 : break;
11188 :
11189 : default:
11190 : break;
11191 : }
11192 : }
11193 : break;
11194 :
11195 753587 : case E_CCFPmode:
11196 753587 : if (GET_MODE (x2) == E_CCFPmode)
11197 : {
11198 753587 : switch (GET_MODE (operands[0]))
11199 : {
11200 50743 : case E_XFmode:
11201 50743 : if (register_operand (operands[0], E_XFmode)
11202 50012 : && register_operand (operands[1], E_XFmode)
11203 92748 : && insn_condition_4 (operands, insn))
11204 : return 52; /* *cmpixf_i387 */
11205 : break;
11206 :
11207 405764 : case E_SFmode:
11208 405764 : if (register_operand (operands[0], E_SFmode)
11209 398349 : && register_ssemem_operand (operands[1], E_SFmode)
11210 737039 : && insn_condition_38 (operands, insn))
11211 : return 60; /* *cmpisf */
11212 : break;
11213 :
11214 293134 : case E_DFmode:
11215 293134 : if (register_operand (operands[0], E_DFmode)
11216 283307 : && register_ssemem_operand (operands[1], E_DFmode)
11217 536890 : && insn_condition_39 (operands, insn))
11218 : return 62; /* *cmpidf */
11219 : break;
11220 :
11221 3732 : case E_HFmode:
11222 3732 : if (register_operand (operands[0], E_HFmode)
11223 3427 : && nonimmediate_operand (operands[1], E_HFmode)
11224 6805 : && insn_condition_40 (operands, insn))
11225 : return 64; /* *cmpihf */
11226 : break;
11227 :
11228 214 : case E_BFmode:
11229 214 : if (register_operand (operands[0], E_BFmode)
11230 214 : && nonimmediate_operand (operands[1], E_BFmode)
11231 428 : && insn_condition_41 (operands, insn))
11232 : return 66; /* *cmpibf */
11233 : break;
11234 :
11235 : default:
11236 : break;
11237 : }
11238 : }
11239 : break;
11240 :
11241 : default:
11242 : break;
11243 : }
11244 1565186 : if (!nonimmediate_operand (operands[0], E_QImode)
11245 1565186 : || pattern629 (x3) != 0)
11246 : return -1;
11247 290 : x5 = XEXP (x3, 0);
11248 290 : operands[2] = x5;
11249 290 : x6 = XEXP (x5, 0);
11250 290 : operands[1] = x6;
11251 290 : if (!int248_register_operand (operands[1], E_VOIDmode))
11252 : return -1;
11253 290 : switch (GET_MODE (operands[2]))
11254 : {
11255 29 : case E_HImode:
11256 29 : if (!extract_high_operator (operands[2], E_HImode)
11257 58 : || !insn_condition_42 (operands, insn))
11258 0 : return -1;
11259 : return 25; /* *cmpqi_exthi_1 */
11260 :
11261 181 : case E_SImode:
11262 181 : if (!extract_high_operator (operands[2], E_SImode)
11263 193 : || !insn_condition_42 (operands, insn))
11264 169 : return -1;
11265 : return 26; /* *cmpqi_extsi_1 */
11266 :
11267 80 : case E_DImode:
11268 80 : if (!extract_high_operator (operands[2], E_DImode)
11269 80 : || !insn_condition_43 (operands, insn))
11270 78 : return -1;
11271 : return 27; /* *cmpqi_extdi_1 */
11272 :
11273 : default:
11274 : return -1;
11275 : }
11276 : }
11277 :
11278 : int
11279 104244 : recog_10 (rtx x1 ATTRIBUTE_UNUSED,
11280 : rtx_insn *insn ATTRIBUTE_UNUSED,
11281 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11282 : {
11283 104244 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11284 104244 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11285 104244 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
11286 104244 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
11287 104244 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
11288 104244 : rtx x34, x35;
11289 104244 : int res ATTRIBUTE_UNUSED;
11290 104244 : x2 = XEXP (x1, 1);
11291 104244 : x3 = XVECEXP (x2, 0, 0);
11292 104244 : switch (GET_CODE (x3))
11293 : {
11294 12167 : case UNSPEC:
11295 12167 : x4 = XVECEXP (x2, 0, 1);
11296 12167 : if (!const48_operand (x4, E_SImode))
11297 : return -1;
11298 12065 : switch (XVECLEN (x3, 0))
11299 : {
11300 2226 : case 3:
11301 2226 : if (XINT (x3, 1) != 56)
11302 : return -1;
11303 1004 : x5 = XEXP (x1, 0);
11304 1004 : operands[0] = x5;
11305 1004 : x6 = XVECEXP (x3, 0, 0);
11306 1004 : operands[1] = x6;
11307 1004 : x7 = XVECEXP (x3, 0, 1);
11308 1004 : operands[2] = x7;
11309 1004 : x8 = XVECEXP (x3, 0, 2);
11310 1004 : operands[3] = x8;
11311 1004 : if (!const_0_to_31_operand (operands[3], E_SImode))
11312 : return -1;
11313 1004 : operands[4] = x4;
11314 1004 : switch (GET_MODE (operands[0]))
11315 : {
11316 489 : case E_HImode:
11317 489 : if (pattern1496 (x2,
11318 : E_V16SFmode,
11319 : E_HImode) != 0
11320 489 : || !insn_condition_80 (operands, insn))
11321 4 : return -1;
11322 : return 3447; /* avx512f_cmpv16sf3_round */
11323 :
11324 489 : case E_QImode:
11325 489 : if (pattern1496 (x2,
11326 : E_V8DFmode,
11327 : E_QImode) != 0
11328 489 : || !insn_condition_81 (operands, insn))
11329 4 : return -1;
11330 : return 3455; /* avx512f_cmpv8df3_round */
11331 :
11332 : default:
11333 : return -1;
11334 : }
11335 :
11336 1920 : case 2:
11337 1920 : if (XINT (x3, 1) != 58
11338 12 : || GET_MODE (x3) != E_CCFPmode
11339 12 : || pattern893 (x3) != 0
11340 1932 : || pattern436 (x1,
11341 : E_CCFPmode,
11342 : 17) != 0)
11343 : return -1;
11344 12 : x6 = XVECEXP (x3, 0, 0);
11345 12 : x9 = XEXP (x6, 0);
11346 12 : operands[0] = x9;
11347 12 : x7 = XVECEXP (x3, 0, 1);
11348 12 : x10 = XEXP (x7, 0);
11349 12 : operands[1] = x10;
11350 12 : operands[2] = x4;
11351 12 : switch (GET_MODE (x6))
11352 : {
11353 0 : case E_HFmode:
11354 0 : if (!register_operand (operands[0], E_V8HFmode)
11355 0 : || GET_MODE (x7) != E_HFmode
11356 0 : || !register_operand (operands[1], E_V8HFmode)
11357 0 : || !insn_condition_82 (operands, insn))
11358 0 : return -1;
11359 : return 3853; /* avx10_2_comxhf_round */
11360 :
11361 6 : case E_SFmode:
11362 6 : if (!register_operand (operands[0], E_V4SFmode)
11363 5 : || GET_MODE (x7) != E_SFmode
11364 5 : || !register_operand (operands[1], E_V4SFmode)
11365 6 : || !insn_condition_83 (operands, insn))
11366 1 : return -1;
11367 : return 3857; /* avx10_2_comxsf_round */
11368 :
11369 6 : case E_DFmode:
11370 6 : if (!register_operand (operands[0], E_V2DFmode)
11371 5 : || GET_MODE (x7) != E_DFmode
11372 5 : || !register_operand (operands[1], E_V2DFmode)
11373 6 : || !insn_condition_83 (operands, insn))
11374 1 : return -1;
11375 : return 3861; /* avx10_2_comxdf_round */
11376 :
11377 : default:
11378 : return -1;
11379 : }
11380 :
11381 7732 : case 1:
11382 7732 : if (XINT (x3, 1) != 24
11383 390 : || GET_MODE (x3) != E_CCFPmode
11384 8122 : || pattern436 (x1,
11385 : E_CCFPmode,
11386 : 17) != 0)
11387 : return -1;
11388 390 : x6 = XVECEXP (x3, 0, 0);
11389 390 : if (GET_MODE (x6) != E_CCFPmode)
11390 : return -1;
11391 390 : operands[2] = x4;
11392 390 : switch (GET_CODE (x6))
11393 : {
11394 33 : case UNSPEC:
11395 33 : if (XVECLEN (x6, 0) != 2
11396 33 : || XINT (x6, 1) != 58)
11397 : return -1;
11398 33 : x11 = XVECEXP (x6, 0, 0);
11399 33 : if (GET_CODE (x11) != VEC_SELECT)
11400 : return -1;
11401 29 : x12 = XEXP (x11, 1);
11402 29 : if (GET_CODE (x12) != PARALLEL
11403 29 : || XVECLEN (x12, 0) != 1)
11404 : return -1;
11405 29 : x13 = XVECEXP (x12, 0, 0);
11406 29 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11407 : return -1;
11408 29 : x14 = XVECEXP (x6, 0, 1);
11409 29 : if (GET_CODE (x14) != VEC_SELECT)
11410 : return -1;
11411 26 : x15 = XEXP (x14, 1);
11412 26 : if (GET_CODE (x15) != PARALLEL
11413 26 : || XVECLEN (x15, 0) != 1)
11414 : return -1;
11415 26 : x16 = XVECEXP (x15, 0, 0);
11416 26 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11417 : return -1;
11418 26 : x17 = XEXP (x11, 0);
11419 26 : operands[0] = x17;
11420 26 : x18 = XEXP (x14, 0);
11421 26 : operands[1] = x18;
11422 26 : switch (GET_MODE (x11))
11423 : {
11424 0 : case E_HFmode:
11425 0 : if (!register_operand (operands[0], E_V8HFmode)
11426 0 : || GET_MODE (x14) != E_HFmode
11427 0 : || !register_operand (operands[1], E_V8HFmode)
11428 0 : || !insn_condition_82 (operands, insn))
11429 0 : return -1;
11430 : return 3855; /* avx10_2_ucomxhf_round */
11431 :
11432 20 : case E_SFmode:
11433 20 : if (!register_operand (operands[0], E_V4SFmode)
11434 19 : || GET_MODE (x14) != E_SFmode
11435 19 : || !register_operand (operands[1], E_V4SFmode)
11436 20 : || !insn_condition_83 (operands, insn))
11437 1 : return -1;
11438 : return 3859; /* avx10_2_ucomxsf_round */
11439 :
11440 6 : case E_DFmode:
11441 6 : if (!register_operand (operands[0], E_V2DFmode)
11442 5 : || GET_MODE (x14) != E_DFmode
11443 5 : || !register_operand (operands[1], E_V2DFmode)
11444 6 : || !insn_condition_83 (operands, insn))
11445 1 : return -1;
11446 : return 3863; /* avx10_2_ucomxdf_round */
11447 :
11448 : default:
11449 : return -1;
11450 : }
11451 :
11452 357 : case COMPARE:
11453 357 : x9 = XEXP (x6, 0);
11454 357 : if (GET_CODE (x9) != VEC_SELECT)
11455 : return -1;
11456 319 : x19 = XEXP (x9, 1);
11457 319 : if (GET_CODE (x19) != PARALLEL
11458 319 : || XVECLEN (x19, 0) != 1)
11459 : return -1;
11460 319 : x20 = XVECEXP (x19, 0, 0);
11461 319 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11462 : return -1;
11463 319 : x21 = XEXP (x6, 1);
11464 319 : if (GET_CODE (x21) != VEC_SELECT)
11465 : return -1;
11466 281 : x22 = XEXP (x21, 1);
11467 281 : if (GET_CODE (x22) != PARALLEL
11468 281 : || XVECLEN (x22, 0) != 1)
11469 : return -1;
11470 281 : x23 = XVECEXP (x22, 0, 0);
11471 281 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11472 : return -1;
11473 281 : x24 = XEXP (x9, 0);
11474 281 : operands[0] = x24;
11475 281 : x25 = XEXP (x21, 0);
11476 281 : operands[1] = x25;
11477 281 : switch (GET_MODE (x9))
11478 : {
11479 0 : case E_HFmode:
11480 0 : if (!register_operand (operands[0], E_V8HFmode)
11481 0 : || GET_MODE (x21) != E_HFmode
11482 0 : || !register_operand (operands[1], E_V8HFmode)
11483 0 : || !insn_condition_84 (operands, insn))
11484 0 : return -1;
11485 : return 3867; /* avx512fp16_ucomi_round */
11486 :
11487 141 : case E_SFmode:
11488 141 : if (!register_operand (operands[0], E_V4SFmode)
11489 139 : || GET_MODE (x21) != E_SFmode
11490 139 : || !register_operand (operands[1], E_V4SFmode)
11491 141 : || !insn_condition_85 (operands, insn))
11492 2 : return -1;
11493 : return 3871; /* sse_ucomi_round */
11494 :
11495 140 : case E_DFmode:
11496 140 : if (!register_operand (operands[0], E_V2DFmode)
11497 140 : || GET_MODE (x21) != E_DFmode
11498 140 : || !register_operand (operands[1], E_V2DFmode)
11499 140 : || !insn_condition_86 (operands, insn))
11500 2 : return -1;
11501 : return 3875; /* sse2_ucomi_round */
11502 :
11503 : default:
11504 : return -1;
11505 : }
11506 :
11507 : default:
11508 : return -1;
11509 : }
11510 :
11511 : default:
11512 : return -1;
11513 : }
11514 :
11515 4690 : case AND:
11516 4690 : x26 = XEXP (x3, 0);
11517 4690 : if (GET_CODE (x26) != UNSPEC
11518 4318 : || XVECLEN (x26, 0) != 3
11519 4318 : || XINT (x26, 1) != 56)
11520 : return -1;
11521 4318 : x5 = XEXP (x1, 0);
11522 4318 : operands[0] = x5;
11523 4318 : x27 = XVECEXP (x26, 0, 0);
11524 4318 : operands[1] = x27;
11525 4318 : x28 = XVECEXP (x26, 0, 1);
11526 4318 : operands[2] = x28;
11527 4318 : x29 = XVECEXP (x26, 0, 2);
11528 4318 : operands[3] = x29;
11529 4318 : if (!const_0_to_31_operand (operands[3], E_SImode))
11530 : return -1;
11531 4318 : x4 = XVECEXP (x2, 0, 1);
11532 4318 : if (!const48_operand (x4, E_SImode))
11533 : return -1;
11534 4318 : x30 = XEXP (x3, 1);
11535 4318 : switch (GET_CODE (x30))
11536 : {
11537 1908 : case REG:
11538 1908 : case SUBREG:
11539 1908 : operands[4] = x30;
11540 1908 : operands[5] = x4;
11541 1908 : switch (GET_MODE (operands[0]))
11542 : {
11543 930 : case E_HImode:
11544 930 : if (pattern1631 (x2,
11545 : E_HImode,
11546 : E_V16SFmode) != 0
11547 930 : || !insn_condition_87 (operands, insn))
11548 2 : return -1;
11549 : return 3449; /* avx512f_cmpv16sf3_mask_round */
11550 :
11551 930 : case E_QImode:
11552 930 : if (pattern1631 (x2,
11553 : E_QImode,
11554 : E_V8DFmode) != 0
11555 930 : || !insn_condition_88 (operands, insn))
11556 2 : return -1;
11557 : return 3457; /* avx512f_cmpv8df3_mask_round */
11558 :
11559 : default:
11560 : return -1;
11561 : }
11562 :
11563 1435 : case CONST_INT:
11564 1435 : if (XWINT (x30, 0) != 1L
11565 1435 : || pattern1519 (x2,
11566 : E_QImode) != 0)
11567 : return -1;
11568 1414 : operands[4] = x4;
11569 1414 : switch (pattern1755 ())
11570 : {
11571 1175 : case 0:
11572 1175 : if (!insn_condition_89 (operands, insn))
11573 0 : return -1;
11574 : return 3841; /* avx512f_vmcmpv8hf3_round */
11575 :
11576 101 : case 1:
11577 101 : if (!insn_condition_27 (operands, insn))
11578 0 : return -1;
11579 : return 3843; /* avx512f_vmcmpv4sf3_round */
11580 :
11581 101 : case 2:
11582 101 : if (!insn_condition_90 (operands, insn))
11583 0 : return -1;
11584 : return 3845; /* avx512f_vmcmpv2df3_round */
11585 :
11586 : default:
11587 : return -1;
11588 : }
11589 :
11590 971 : case AND:
11591 971 : if (GET_MODE (x30) != E_QImode)
11592 : return -1;
11593 971 : x31 = XEXP (x30, 1);
11594 971 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
11595 971 : || pattern1519 (x2,
11596 : E_QImode) != 0)
11597 : return -1;
11598 968 : x32 = XEXP (x30, 0);
11599 968 : operands[4] = x32;
11600 968 : if (!register_operand (operands[4], E_QImode))
11601 : return -1;
11602 968 : operands[5] = x4;
11603 968 : switch (pattern1755 ())
11604 : {
11605 672 : case 0:
11606 672 : if (!insn_condition_89 (operands, insn))
11607 0 : return -1;
11608 : return 3847; /* avx512f_vmcmpv8hf3_mask_round */
11609 :
11610 148 : case 1:
11611 148 : if (!insn_condition_27 (operands, insn))
11612 0 : return -1;
11613 : return 3849; /* avx512f_vmcmpv4sf3_mask_round */
11614 :
11615 148 : case 2:
11616 148 : if (!insn_condition_90 (operands, insn))
11617 0 : return -1;
11618 : return 3851; /* avx512f_vmcmpv2df3_mask_round */
11619 :
11620 : default:
11621 : return -1;
11622 : }
11623 :
11624 : default:
11625 : return -1;
11626 : }
11627 :
11628 490 : case COMPARE:
11629 490 : if (GET_MODE (x3) != E_CCFPmode)
11630 : return -1;
11631 490 : x26 = XEXP (x3, 0);
11632 490 : if (GET_CODE (x26) != VEC_SELECT
11633 452 : || pattern630 (x3) != 0
11634 904 : || pattern436 (x1,
11635 : E_CCFPmode,
11636 : 17) != 0)
11637 : return -1;
11638 414 : x33 = XEXP (x26, 0);
11639 414 : operands[0] = x33;
11640 414 : x30 = XEXP (x3, 1);
11641 414 : x32 = XEXP (x30, 0);
11642 414 : operands[1] = x32;
11643 414 : x4 = XVECEXP (x2, 0, 1);
11644 414 : operands[2] = x4;
11645 414 : if (!const48_operand (operands[2], E_SImode))
11646 : return -1;
11647 414 : switch (GET_MODE (x26))
11648 : {
11649 0 : case E_HFmode:
11650 0 : if (!register_operand (operands[0], E_V8HFmode)
11651 0 : || GET_MODE (x30) != E_HFmode
11652 0 : || !register_operand (operands[1], E_V8HFmode)
11653 0 : || !insn_condition_84 (operands, insn))
11654 0 : return -1;
11655 : return 3865; /* avx512fp16_comi_round */
11656 :
11657 221 : case E_SFmode:
11658 221 : if (!register_operand (operands[0], E_V4SFmode)
11659 221 : || GET_MODE (x30) != E_SFmode
11660 221 : || !register_operand (operands[1], E_V4SFmode)
11661 221 : || !insn_condition_85 (operands, insn))
11662 2 : return -1;
11663 : return 3869; /* sse_comi_round */
11664 :
11665 193 : case E_DFmode:
11666 193 : if (!register_operand (operands[0], E_V2DFmode)
11667 193 : || GET_MODE (x30) != E_DFmode
11668 193 : || !register_operand (operands[1], E_V2DFmode)
11669 193 : || !insn_condition_86 (operands, insn))
11670 2 : return -1;
11671 : return 3873; /* sse2_comi_round */
11672 :
11673 : default:
11674 : return -1;
11675 : }
11676 :
11677 1332 : case FMA:
11678 1332 : x26 = XEXP (x3, 0);
11679 1332 : if (GET_CODE (x26) != NEG)
11680 : return -1;
11681 666 : x34 = XEXP (x3, 2);
11682 666 : if (GET_CODE (x34) != NEG)
11683 : return -1;
11684 333 : x5 = XEXP (x1, 0);
11685 333 : operands[0] = x5;
11686 333 : x33 = XEXP (x26, 0);
11687 333 : operands[1] = x33;
11688 333 : x30 = XEXP (x3, 1);
11689 333 : operands[2] = x30;
11690 333 : x35 = XEXP (x34, 0);
11691 333 : operands[3] = x35;
11692 333 : x4 = XVECEXP (x2, 0, 1);
11693 333 : operands[4] = x4;
11694 333 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
11695 : return -1;
11696 333 : switch (GET_MODE (operands[0]))
11697 : {
11698 0 : case E_SFmode:
11699 0 : if (pattern1401 (x2,
11700 : E_SFmode) != 0
11701 0 : || !insn_condition_91 (operands, insn))
11702 0 : return -1;
11703 : return 4166; /* *fma_fnmsub_sf */
11704 :
11705 0 : case E_DFmode:
11706 0 : if (pattern1401 (x2,
11707 : E_DFmode) != 0
11708 0 : || !insn_condition_91 (operands, insn))
11709 0 : return -1;
11710 : return 4168; /* *fma_fnmsub_df */
11711 :
11712 : default:
11713 : return -1;
11714 : }
11715 :
11716 : default:
11717 : return -1;
11718 : }
11719 : }
11720 :
11721 : int
11722 103182311 : recog_17 (rtx x1 ATTRIBUTE_UNUSED,
11723 : rtx_insn *insn ATTRIBUTE_UNUSED,
11724 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11725 : {
11726 103182311 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11727 103182311 : int res ATTRIBUTE_UNUSED;
11728 103182311 : if (push_operand (operands[0], E_SImode))
11729 : {
11730 11583014 : if (nonmemory_no_elim_operand (operands[1], E_SImode)
11731 11583014 : && insn_condition_52 (operands, insn))
11732 : return 74; /* *pushsi2_rex64 */
11733 11122362 : if (general_no_elim_operand (operands[1], E_SImode)
11734 11122362 : && insn_condition_51 (operands, insn))
11735 : return 75; /* *pushsi2 */
11736 : }
11737 91671297 : if (nonimmediate_operand (operands[0], E_SImode)
11738 87193535 : && pop_operand (operands[1], E_SImode)
11739 91912346 : && insn_condition_139 (operands, insn))
11740 : return 80; /* *popsi1 */
11741 91430248 : if (pnum_clobbers != NULL
11742 91430248 : && const0_operand (operands[1], E_SImode))
11743 : {
11744 4805124 : if (register_operand (operands[0], E_SImode)
11745 4805124 : && insn_condition_170 (operands, insn))
11746 : {
11747 12885 : *pnum_clobbers = 1;
11748 12885 : return 88; /* *movsi_xor */
11749 : }
11750 4792239 : if (memory_operand (operands[0], E_SImode)
11751 4792239 : && insn_condition_170 (operands, insn))
11752 : {
11753 4196 : *pnum_clobbers = 1;
11754 4196 : return 91; /* *movsi_and */
11755 : }
11756 : }
11757 91413167 : if (!nonimmediate_operand (operands[0], E_SImode))
11758 : return -1;
11759 86935405 : if (pnum_clobbers != NULL
11760 50346672 : && constm1_operand (operands[1], E_SImode)
11761 87462907 : && insn_condition_170 (operands, insn))
11762 : {
11763 338 : *pnum_clobbers = 1;
11764 338 : return 94; /* *movsi_or */
11765 : }
11766 86935067 : if (!general_operand (operands[1], E_SImode)
11767 86935067 : || !insn_condition_171 (operands, insn))
11768 1736516 : return -1;
11769 : return 100; /* *movsi_internal */
11770 : }
11771 :
11772 : int
11773 30823 : recog_19 (rtx x1 ATTRIBUTE_UNUSED,
11774 : rtx_insn *insn ATTRIBUTE_UNUSED,
11775 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11776 : {
11777 30823 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11778 30823 : rtx x2, x3, x4;
11779 30823 : int res ATTRIBUTE_UNUSED;
11780 30823 : x2 = XEXP (x1, 0);
11781 30823 : x3 = XEXP (x2, 0);
11782 30823 : operands[0] = x3;
11783 30823 : x4 = XEXP (x1, 1);
11784 30823 : operands[1] = x4;
11785 30823 : switch (GET_MODE (operands[0]))
11786 : {
11787 18874 : case E_QImode:
11788 18874 : if (!register_operand (operands[0], E_QImode))
11789 : return -1;
11790 18874 : if (general_operand (operands[1], E_QImode)
11791 18874 : && insn_condition_194 (operands, insn))
11792 : return 115; /* *movstrictqi_1 */
11793 300 : if (pnum_clobbers == NULL
11794 278 : || !const0_operand (operands[1], E_QImode)
11795 300 : || !insn_condition_170 (operands, insn))
11796 : return -1;
11797 0 : *pnum_clobbers = 1;
11798 0 : return 117; /* *movstrictqi_xor */
11799 :
11800 11949 : case E_HImode:
11801 11949 : if (!register_operand (operands[0], E_HImode))
11802 : return -1;
11803 11949 : if (general_operand (operands[1], E_HImode)
11804 11949 : && insn_condition_194 (operands, insn))
11805 : return 116; /* *movstricthi_1 */
11806 170 : if (pnum_clobbers == NULL
11807 170 : || !const0_operand (operands[1], E_HImode)
11808 170 : || !insn_condition_170 (operands, insn))
11809 : return -1;
11810 0 : *pnum_clobbers = 1;
11811 0 : return 118; /* *movstricthi_xor */
11812 :
11813 : default:
11814 : return -1;
11815 : }
11816 : }
11817 :
11818 : int
11819 1354090844 : recog_22 (rtx x1 ATTRIBUTE_UNUSED,
11820 : rtx_insn *insn ATTRIBUTE_UNUSED,
11821 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11822 : {
11823 1354090844 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11824 1354090844 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11825 1354090844 : rtx x10, x11;
11826 1354090844 : int res ATTRIBUTE_UNUSED;
11827 1354090844 : x2 = XEXP (x1, 0);
11828 1354090844 : switch (GET_CODE (x2))
11829 : {
11830 1345440754 : case REG:
11831 1345440754 : case SUBREG:
11832 1345440754 : case MEM:
11833 1345440754 : res = recog_18 (x1, insn, pnum_clobbers);
11834 1345440754 : if (res >= 0)
11835 : return res;
11836 : break;
11837 :
11838 30823 : case STRICT_LOW_PART:
11839 30823 : res = recog_19 (x1, insn, pnum_clobbers);
11840 30823 : if (res >= 0)
11841 : return res;
11842 : break;
11843 :
11844 15166 : case ZERO_EXTRACT:
11845 15166 : res = recog_20 (x1, insn, pnum_clobbers);
11846 15166 : if (res >= 0)
11847 : return res;
11848 : break;
11849 :
11850 8604101 : case PC:
11851 8604101 : x3 = XEXP (x1, 1);
11852 8604101 : operands[0] = x3;
11853 8604101 : switch (GET_MODE (operands[0]))
11854 : {
11855 84291 : case E_SImode:
11856 84291 : if (indirect_branch_operand (operands[0], E_SImode)
11857 84291 : && insn_condition_139 (operands, insn))
11858 : return 1590; /* *indirect_jump */
11859 : break;
11860 :
11861 466120 : case E_DImode:
11862 466120 : if (indirect_branch_operand (operands[0], E_DImode)
11863 466120 : && insn_condition_140 (operands, insn))
11864 : return 1591; /* *indirect_jump */
11865 : break;
11866 :
11867 : default:
11868 : break;
11869 : }
11870 : break;
11871 :
11872 : default:
11873 : break;
11874 : }
11875 795465474 : x3 = XEXP (x1, 1);
11876 795465474 : switch (GET_CODE (x3))
11877 : {
11878 258828613 : case MEM:
11879 258828613 : operands[0] = x2;
11880 258828613 : x4 = XEXP (x3, 0);
11881 258828613 : operands[1] = x4;
11882 258828613 : if (!x86_64_movabs_operand (operands[1], E_DImode))
11883 : return -1;
11884 243371266 : switch (GET_MODE (operands[0]))
11885 : {
11886 81524 : case E_QImode:
11887 81524 : if (!register_operand (operands[0], E_QImode)
11888 34 : || GET_MODE (x3) != E_QImode
11889 81558 : || !insn_condition_196 (operands, insn))
11890 81490 : return -1;
11891 : return 107; /* *movabsqi_2 */
11892 :
11893 55609 : case E_HImode:
11894 55609 : if (!register_operand (operands[0], E_HImode)
11895 58 : || GET_MODE (x3) != E_HImode
11896 55667 : || !insn_condition_196 (operands, insn))
11897 55551 : return -1;
11898 : return 108; /* *movabshi_2 */
11899 :
11900 163186 : case E_SImode:
11901 163186 : if (!register_operand (operands[0], E_SImode)
11902 46 : || GET_MODE (x3) != E_SImode
11903 163232 : || !insn_condition_196 (operands, insn))
11904 163142 : return -1;
11905 : return 109; /* *movabssi_2 */
11906 :
11907 201657 : case E_DImode:
11908 201657 : if (!register_operand (operands[0], E_DImode)
11909 26 : || GET_MODE (x3) != E_DImode
11910 201683 : || !insn_condition_196 (operands, insn))
11911 201632 : return -1;
11912 : return 110; /* *movabsdi_2 */
11913 :
11914 : default:
11915 : return -1;
11916 : }
11917 :
11918 2384652 : case SUBREG:
11919 2384652 : if (maybe_ne (SUBREG_BYTE (x3), 0))
11920 : return -1;
11921 2323838 : x4 = XEXP (x3, 0);
11922 2323838 : switch (GET_CODE (x4))
11923 : {
11924 148674 : case ASHIFTRT:
11925 148674 : case LSHIFTRT:
11926 148674 : case SIGN_EXTRACT:
11927 148674 : case ZERO_EXTRACT:
11928 148674 : operands[2] = x4;
11929 148674 : res = recog_21 (x1, insn, pnum_clobbers);
11930 148674 : if (res >= 0)
11931 : return res;
11932 142786 : if (pnum_clobbers == NULL
11933 142786 : || pattern458 (x1) != 0
11934 142789 : || GET_MODE (x4) != E_QImode)
11935 : return -1;
11936 3 : x5 = XEXP (x4, 0);
11937 3 : x6 = XEXP (x5, 0);
11938 3 : x7 = XEXP (x6, 0);
11939 3 : operands[1] = x7;
11940 3 : if (!int248_register_operand (operands[1], E_VOIDmode))
11941 : return -1;
11942 3 : x8 = XEXP (x4, 1);
11943 3 : operands[2] = x8;
11944 3 : if (!nonmemory_operand (operands[2], E_QImode))
11945 : return -1;
11946 1 : switch (GET_CODE (x4))
11947 : {
11948 1 : case LSHIFTRT:
11949 1 : switch (pattern1756 (x1))
11950 : {
11951 1 : case 0:
11952 1 : *pnum_clobbers = 1;
11953 1 : return 1370; /* *lshrqi_exthi_1 */
11954 :
11955 0 : case 1:
11956 0 : *pnum_clobbers = 1;
11957 0 : return 1372; /* *lshrqi_extsi_1 */
11958 :
11959 0 : case 2:
11960 0 : if (!insn_condition_52 (operands, insn))
11961 : return -1;
11962 0 : *pnum_clobbers = 1;
11963 0 : return 1374; /* *lshrqi_extdi_1 */
11964 :
11965 : default:
11966 : return -1;
11967 : }
11968 :
11969 0 : case ASHIFTRT:
11970 0 : switch (pattern1756 (x1))
11971 : {
11972 0 : case 0:
11973 0 : *pnum_clobbers = 1;
11974 0 : return 1371; /* *ashrqi_exthi_1 */
11975 :
11976 0 : case 1:
11977 0 : *pnum_clobbers = 1;
11978 0 : return 1373; /* *ashrqi_extsi_1 */
11979 :
11980 0 : case 2:
11981 0 : if (!insn_condition_52 (operands, insn))
11982 : return -1;
11983 0 : *pnum_clobbers = 1;
11984 0 : return 1375; /* *ashrqi_extdi_1 */
11985 :
11986 : default:
11987 : return -1;
11988 : }
11989 :
11990 : default:
11991 : return -1;
11992 : }
11993 :
11994 1833569 : case CONST_INT:
11995 1833569 : case CONST_WIDE_INT:
11996 1833569 : case CONST_POLY_INT:
11997 1833569 : case CONST_FIXED:
11998 1833569 : case CONST_DOUBLE:
11999 1833569 : case CONST_VECTOR:
12000 1833569 : case CONST:
12001 1833569 : case REG:
12002 1833569 : case SUBREG:
12003 1833569 : case MEM:
12004 1833569 : case LABEL_REF:
12005 1833569 : case SYMBOL_REF:
12006 1833569 : case HIGH:
12007 1833569 : operands[1] = x4;
12008 1833569 : if (!general_operand (operands[1], E_QImode)
12009 1833569 : || pattern457 (x2) != 0)
12010 : return -1;
12011 382 : switch (GET_MODE (x2))
12012 : {
12013 354 : case E_HImode:
12014 354 : if (GET_MODE (x3) != E_HImode)
12015 0 : return -1;
12016 : return 136; /* *insvqi_1 */
12017 :
12018 12 : case E_SImode:
12019 12 : if (GET_MODE (x3) != E_SImode)
12020 0 : return -1;
12021 : return 137; /* *insvqi_1 */
12022 :
12023 16 : case E_DImode:
12024 16 : if (GET_MODE (x3) != E_DImode
12025 16 : || !insn_condition_52 (operands, insn))
12026 0 : return -1;
12027 : return 138; /* *insvqi_1 */
12028 :
12029 : default:
12030 : return -1;
12031 : }
12032 :
12033 13270 : case PLUS:
12034 13270 : if (pattern296 (x1, pnum_clobbers) != 0)
12035 : return -1;
12036 60 : x8 = XEXP (x4, 1);
12037 60 : operands[2] = x8;
12038 60 : if (general_operand (operands[2], E_QImode))
12039 : {
12040 10 : switch (pattern1756 (x1))
12041 : {
12042 1 : case 0:
12043 1 : *pnum_clobbers = 1;
12044 1 : return 338; /* *addqi_exthi_1 */
12045 :
12046 7 : case 1:
12047 7 : *pnum_clobbers = 1;
12048 7 : return 339; /* *addqi_extsi_1 */
12049 :
12050 2 : case 2:
12051 2 : if (insn_condition_52 (operands, insn))
12052 : {
12053 2 : *pnum_clobbers = 1;
12054 2 : return 340; /* *addqi_extdi_1 */
12055 : }
12056 : break;
12057 :
12058 : default:
12059 : break;
12060 : }
12061 : }
12062 50 : if (GET_CODE (x8) != SUBREG)
12063 : return -1;
12064 50 : switch (pattern1728 (x1))
12065 : {
12066 2 : case 0:
12067 2 : *pnum_clobbers = 1;
12068 2 : return 341; /* *addqi_exthi_2 */
12069 :
12070 25 : case 1:
12071 25 : *pnum_clobbers = 1;
12072 25 : return 343; /* *addqi_extsi_2 */
12073 :
12074 2 : case 2:
12075 2 : if (!insn_condition_52 (operands, insn))
12076 : return -1;
12077 2 : *pnum_clobbers = 1;
12078 2 : return 345; /* *addqi_extdi_2 */
12079 :
12080 : default:
12081 : return -1;
12082 : }
12083 :
12084 3964 : case MINUS:
12085 3964 : if (pattern296 (x1, pnum_clobbers) != 0)
12086 : return -1;
12087 21 : x8 = XEXP (x4, 1);
12088 21 : if (GET_CODE (x8) == SUBREG)
12089 : {
12090 14 : switch (pattern1728 (x1))
12091 : {
12092 6 : case 0:
12093 6 : *pnum_clobbers = 1;
12094 6 : return 342; /* *subqi_exthi_2 */
12095 :
12096 6 : case 1:
12097 6 : *pnum_clobbers = 1;
12098 6 : return 344; /* *subqi_extsi_2 */
12099 :
12100 2 : case 2:
12101 2 : if (insn_condition_52 (operands, insn))
12102 : {
12103 2 : *pnum_clobbers = 1;
12104 2 : return 346; /* *subqi_extdi_2 */
12105 : }
12106 : break;
12107 :
12108 : default:
12109 : break;
12110 : }
12111 : }
12112 7 : operands[2] = x8;
12113 7 : if (!general_operand (operands[2], E_QImode))
12114 : return -1;
12115 7 : switch (pattern1756 (x1))
12116 : {
12117 1 : case 0:
12118 1 : *pnum_clobbers = 1;
12119 1 : return 427; /* *subqi_exthi_1 */
12120 :
12121 5 : case 1:
12122 5 : *pnum_clobbers = 1;
12123 5 : return 428; /* *subqi_extsi_1 */
12124 :
12125 1 : case 2:
12126 1 : if (!insn_condition_52 (operands, insn))
12127 : return -1;
12128 1 : *pnum_clobbers = 1;
12129 1 : return 429; /* *subqi_extdi_1 */
12130 :
12131 : default:
12132 : return -1;
12133 : }
12134 :
12135 12319 : case AND:
12136 12319 : if (pattern296 (x1, pnum_clobbers) != 0)
12137 : return -1;
12138 9 : x8 = XEXP (x4, 1);
12139 9 : operands[2] = x8;
12140 9 : if (general_operand (operands[2], E_QImode))
12141 : {
12142 9 : switch (pattern1756 (x1))
12143 : {
12144 1 : case 0:
12145 1 : *pnum_clobbers = 1;
12146 1 : return 805; /* *andqi_exthi_1 */
12147 :
12148 6 : case 1:
12149 6 : *pnum_clobbers = 1;
12150 6 : return 808; /* *andqi_extsi_1 */
12151 :
12152 2 : case 2:
12153 2 : if (insn_condition_52 (operands, insn))
12154 : {
12155 2 : *pnum_clobbers = 1;
12156 2 : return 811; /* *andqi_extdi_1 */
12157 : }
12158 : break;
12159 :
12160 : default:
12161 : break;
12162 : }
12163 : }
12164 0 : if (GET_CODE (x8) != SUBREG)
12165 : return -1;
12166 0 : switch (pattern1728 (x1))
12167 : {
12168 0 : case 0:
12169 0 : *pnum_clobbers = 1;
12170 0 : return 823; /* *andqi_exthi_2 */
12171 :
12172 0 : case 1:
12173 0 : *pnum_clobbers = 1;
12174 0 : return 826; /* *andqi_extsi_2 */
12175 :
12176 0 : case 2:
12177 0 : if (!insn_condition_52 (operands, insn))
12178 : return -1;
12179 0 : *pnum_clobbers = 1;
12180 0 : return 829; /* *andqi_extdi_2 */
12181 :
12182 : default:
12183 : return -1;
12184 : }
12185 :
12186 29253 : case IOR:
12187 29253 : if (pattern296 (x1, pnum_clobbers) != 0)
12188 : return -1;
12189 10 : x8 = XEXP (x4, 1);
12190 10 : operands[2] = x8;
12191 10 : if (general_operand (operands[2], E_QImode))
12192 : {
12193 10 : switch (pattern1756 (x1))
12194 : {
12195 1 : case 0:
12196 1 : *pnum_clobbers = 1;
12197 1 : return 806; /* *iorqi_exthi_1 */
12198 :
12199 7 : case 1:
12200 7 : *pnum_clobbers = 1;
12201 7 : return 809; /* *iorqi_extsi_1 */
12202 :
12203 2 : case 2:
12204 2 : if (insn_condition_52 (operands, insn))
12205 : {
12206 2 : *pnum_clobbers = 1;
12207 2 : return 812; /* *iorqi_extdi_1 */
12208 : }
12209 : break;
12210 :
12211 : default:
12212 : break;
12213 : }
12214 : }
12215 0 : if (GET_CODE (x8) != SUBREG)
12216 : return -1;
12217 0 : switch (pattern1728 (x1))
12218 : {
12219 0 : case 0:
12220 0 : *pnum_clobbers = 1;
12221 0 : return 824; /* *iorqi_exthi_2 */
12222 :
12223 0 : case 1:
12224 0 : *pnum_clobbers = 1;
12225 0 : return 827; /* *iorqi_extsi_2 */
12226 :
12227 0 : case 2:
12228 0 : if (!insn_condition_52 (operands, insn))
12229 : return -1;
12230 0 : *pnum_clobbers = 1;
12231 0 : return 830; /* *iorqi_extdi_2 */
12232 :
12233 : default:
12234 : return -1;
12235 : }
12236 :
12237 3840 : case XOR:
12238 3840 : if (pattern296 (x1, pnum_clobbers) != 0)
12239 : return -1;
12240 9 : x8 = XEXP (x4, 1);
12241 9 : operands[2] = x8;
12242 9 : if (general_operand (operands[2], E_QImode))
12243 : {
12244 9 : switch (pattern1756 (x1))
12245 : {
12246 1 : case 0:
12247 1 : *pnum_clobbers = 1;
12248 1 : return 807; /* *xorqi_exthi_1 */
12249 :
12250 6 : case 1:
12251 6 : *pnum_clobbers = 1;
12252 6 : return 810; /* *xorqi_extsi_1 */
12253 :
12254 2 : case 2:
12255 2 : if (insn_condition_52 (operands, insn))
12256 : {
12257 2 : *pnum_clobbers = 1;
12258 2 : return 813; /* *xorqi_extdi_1 */
12259 : }
12260 : break;
12261 :
12262 : default:
12263 : break;
12264 : }
12265 : }
12266 0 : if (GET_CODE (x8) != SUBREG)
12267 : return -1;
12268 0 : switch (pattern1728 (x1))
12269 : {
12270 0 : case 0:
12271 0 : *pnum_clobbers = 1;
12272 0 : return 825; /* *xorqi_exthi_2 */
12273 :
12274 0 : case 1:
12275 0 : *pnum_clobbers = 1;
12276 0 : return 828; /* *xorqi_extsi_2 */
12277 :
12278 0 : case 2:
12279 0 : if (!insn_condition_52 (operands, insn))
12280 : return -1;
12281 0 : *pnum_clobbers = 1;
12282 0 : return 831; /* *xorqi_extdi_2 */
12283 :
12284 : default:
12285 : return -1;
12286 : }
12287 :
12288 2026 : case NEG:
12289 2026 : if (pnum_clobbers == NULL
12290 2026 : || GET_MODE (x4) != E_QImode)
12291 : return -1;
12292 563 : x5 = XEXP (x4, 0);
12293 563 : if (GET_CODE (x5) != SUBREG
12294 2 : || maybe_ne (SUBREG_BYTE (x5), 0)
12295 565 : || GET_MODE (x5) != E_QImode)
12296 : return -1;
12297 2 : x6 = XEXP (x5, 0);
12298 2 : switch (GET_CODE (x6))
12299 : {
12300 2 : case ASHIFTRT:
12301 2 : case LSHIFTRT:
12302 2 : case SIGN_EXTRACT:
12303 2 : case ZERO_EXTRACT:
12304 2 : operands[2] = x6;
12305 2 : if (pattern295 (x1) != 0)
12306 : return -1;
12307 2 : switch (GET_MODE (x2))
12308 : {
12309 0 : case E_HImode:
12310 0 : if (GET_MODE (x3) != E_HImode
12311 0 : || !extract_high_operator (operands[2], E_HImode))
12312 : return -1;
12313 0 : *pnum_clobbers = 1;
12314 0 : return 1024; /* *negqi_exthi_1 */
12315 :
12316 2 : case E_SImode:
12317 2 : if (GET_MODE (x3) != E_SImode
12318 2 : || !extract_high_operator (operands[2], E_SImode))
12319 : return -1;
12320 2 : *pnum_clobbers = 1;
12321 2 : return 1025; /* *negqi_extsi_1 */
12322 :
12323 0 : case E_DImode:
12324 0 : if (GET_MODE (x3) != E_DImode
12325 0 : || !extract_high_operator (operands[2], E_DImode)
12326 0 : || !insn_condition_52 (operands, insn))
12327 : return -1;
12328 0 : *pnum_clobbers = 1;
12329 0 : return 1026; /* *negqi_extdi_1 */
12330 :
12331 : default:
12332 : return -1;
12333 : }
12334 :
12335 : default:
12336 : return -1;
12337 : }
12338 :
12339 44561 : case ASHIFT:
12340 44561 : if (pnum_clobbers == NULL
12341 44561 : || GET_MODE (x4) != E_QImode
12342 44760 : || pattern458 (x1) != 0)
12343 : return -1;
12344 0 : x5 = XEXP (x4, 0);
12345 0 : x6 = XEXP (x5, 0);
12346 0 : x7 = XEXP (x6, 0);
12347 0 : operands[1] = x7;
12348 0 : if (!int248_register_operand (operands[1], E_VOIDmode))
12349 : return -1;
12350 0 : x8 = XEXP (x4, 1);
12351 0 : operands[2] = x8;
12352 0 : if (!nonmemory_operand (operands[2], E_QImode))
12353 : return -1;
12354 0 : switch (pattern1756 (x1))
12355 : {
12356 0 : case 0:
12357 0 : *pnum_clobbers = 1;
12358 0 : return 1203; /* *ashlqi_exthi_1 */
12359 :
12360 0 : case 1:
12361 0 : *pnum_clobbers = 1;
12362 0 : return 1204; /* *ashlqi_extsi_1 */
12363 :
12364 0 : case 2:
12365 0 : if (!insn_condition_52 (operands, insn))
12366 : return -1;
12367 0 : *pnum_clobbers = 1;
12368 0 : return 1205; /* *ashlqi_extdi_1 */
12369 :
12370 : default:
12371 : return -1;
12372 : }
12373 :
12374 85 : case SS_TRUNCATE:
12375 85 : if (pattern297 (x1) != 0
12376 85 : || !insn_condition_197 (operands, insn))
12377 85 : return -1;
12378 : return 5979; /* *avx512vl_ss_truncatev2div2qi2_store_2 */
12379 :
12380 357 : case TRUNCATE:
12381 357 : if (pattern297 (x1) != 0
12382 357 : || !insn_condition_197 (operands, insn))
12383 357 : return -1;
12384 : return 5980; /* *avx512vl_truncatev2div2qi2_store_2 */
12385 :
12386 83 : case US_TRUNCATE:
12387 83 : if (pattern297 (x1) != 0
12388 83 : || !insn_condition_197 (operands, insn))
12389 83 : return -1;
12390 : return 5981; /* *avx512vl_us_truncatev2div2qi2_store_2 */
12391 :
12392 : default:
12393 : return -1;
12394 : }
12395 :
12396 517523142 : case REG:
12397 517523142 : if (REGNO (x3) != 17
12398 8229647 : || pattern79 (x1,
12399 : E_CCCmode,
12400 : 17) != 0
12401 517746925 : || !insn_condition_50 (operands, insn))
12402 517520229 : return -1;
12403 : return 558; /* *setccc */
12404 :
12405 268743 : case CONST_INT:
12406 268743 : if (pnum_clobbers == NULL
12407 268293 : || GET_CODE (x2) != ZERO_EXTRACT)
12408 : return -1;
12409 1426 : x9 = XEXP (x2, 1);
12410 1426 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
12411 : return -1;
12412 971 : x10 = XEXP (x2, 0);
12413 971 : operands[0] = x10;
12414 971 : x11 = XEXP (x2, 2);
12415 971 : operands[1] = x11;
12416 971 : switch (XWINT (x3, 0))
12417 : {
12418 384 : case 0L:
12419 384 : switch (GET_CODE (operands[1]))
12420 : {
12421 368 : case REG:
12422 368 : case SUBREG:
12423 368 : if (!register_operand (operands[1], E_QImode)
12424 368 : || GET_MODE (x2) != E_HImode)
12425 : return -1;
12426 98 : switch (GET_MODE (operands[0]))
12427 : {
12428 98 : case E_QImode:
12429 98 : if (!nonimmediate_operand (operands[0], E_QImode)
12430 98 : || !insn_condition_198 (operands, insn))
12431 : return -1;
12432 24 : *pnum_clobbers = 1;
12433 24 : return 1543; /* *btrqi_2 */
12434 :
12435 0 : case E_HImode:
12436 0 : if (!nonimmediate_operand (operands[0], E_HImode)
12437 0 : || !insn_condition_198 (operands, insn))
12438 : return -1;
12439 0 : *pnum_clobbers = 1;
12440 0 : return 1544; /* *btrhi_2 */
12441 :
12442 : default:
12443 : return -1;
12444 : }
12445 :
12446 0 : case CONST_INT:
12447 0 : if (!const_0_to_63_operand (operands[1], E_QImode)
12448 0 : || GET_MODE (x2) != E_DImode
12449 0 : || !nonimmediate_operand (operands[0], E_DImode)
12450 0 : || !insn_condition_199 (operands, insn))
12451 : return -1;
12452 0 : *pnum_clobbers = 1;
12453 0 : return 1546; /* *btrq_imm */
12454 :
12455 : default:
12456 : return -1;
12457 : }
12458 :
12459 587 : case 1L:
12460 587 : if (GET_MODE (x2) != E_DImode
12461 136 : || !nonimmediate_operand (operands[0], E_DImode)
12462 118 : || !const_0_to_63_operand (operands[1], E_QImode)
12463 587 : || !insn_condition_199 (operands, insn))
12464 : return -1;
12465 0 : *pnum_clobbers = 1;
12466 0 : return 1545; /* *btsq_imm */
12467 :
12468 : default:
12469 : return -1;
12470 : }
12471 :
12472 8604780 : case LABEL_REF:
12473 8604780 : if (GET_CODE (x2) != PC)
12474 : return -1;
12475 8597942 : x4 = XEXP (x3, 0);
12476 8597942 : operands[0] = x4;
12477 8597942 : return 1589; /* jump */
12478 :
12479 : default:
12480 : return -1;
12481 : }
12482 : }
12483 :
12484 : int
12485 1440668 : recog_33 (rtx x1 ATTRIBUTE_UNUSED,
12486 : rtx_insn *insn ATTRIBUTE_UNUSED,
12487 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12488 : {
12489 1440668 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12490 1440668 : rtx x2, x3, x4;
12491 1440668 : int res ATTRIBUTE_UNUSED;
12492 1440668 : x2 = XEXP (x1, 0);
12493 1440668 : operands[0] = x2;
12494 1440668 : x3 = XEXP (x1, 1);
12495 1440668 : x4 = XEXP (x3, 0);
12496 1440668 : operands[1] = x4;
12497 1440668 : switch (GET_MODE (operands[0]))
12498 : {
12499 879772 : case E_DFmode:
12500 879772 : if (GET_MODE (x3) != E_DFmode)
12501 : return -1;
12502 879772 : if (nonimm_ssenomem_operand (operands[0], E_DFmode)
12503 833670 : && nonimmediate_operand (operands[1], E_SFmode)
12504 1703706 : && insn_condition_300 (operands, insn))
12505 : return 205; /* *extendsfdf2 */
12506 55838 : if (!register_operand (operands[0], E_DFmode)
12507 9736 : || !nonimmediate_operand (operands[1], E_HFmode)
12508 56043 : || !insn_condition_40 (operands, insn))
12509 55709 : return -1;
12510 : return 207; /* *extendhfdf2 */
12511 :
12512 14552 : case E_SFmode:
12513 14552 : if (!register_operand (operands[0], E_SFmode)
12514 14512 : || GET_MODE (x3) != E_SFmode
12515 14512 : || !nonimmediate_operand (operands[1], E_HFmode)
12516 24243 : || !insn_condition_40 (operands, insn))
12517 14332 : return -1;
12518 : return 206; /* *extendhfsf2 */
12519 :
12520 535475 : case E_XFmode:
12521 535475 : if (!nonimmediate_operand (operands[0], E_XFmode))
12522 : return -1;
12523 514747 : switch (pattern460 (x3,
12524 : E_XFmode))
12525 : {
12526 392318 : case 0:
12527 392318 : if (!insn_condition_74 (operands, insn))
12528 0 : return -1;
12529 : return 209; /* *extendsfxf2_i387 */
12530 :
12531 106518 : case 1:
12532 106518 : if (!insn_condition_74 (operands, insn))
12533 0 : return -1;
12534 : return 210; /* *extenddfxf2_i387 */
12535 :
12536 : default:
12537 : return -1;
12538 : }
12539 :
12540 : default:
12541 : return -1;
12542 : }
12543 : }
12544 :
12545 : int
12546 159150 : recog_34 (rtx x1 ATTRIBUTE_UNUSED,
12547 : rtx_insn *insn ATTRIBUTE_UNUSED,
12548 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12549 : {
12550 159150 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12551 159150 : rtx x2, x3, x4;
12552 159150 : int res ATTRIBUTE_UNUSED;
12553 159150 : x2 = XEXP (x1, 0);
12554 159150 : operands[0] = x2;
12555 159150 : x3 = XEXP (x1, 1);
12556 159150 : x4 = XEXP (x3, 0);
12557 159150 : operands[1] = x4;
12558 159150 : switch (GET_MODE (operands[0]))
12559 : {
12560 37361 : case E_SFmode:
12561 37361 : if (GET_MODE (x3) != E_SFmode)
12562 : return -1;
12563 37361 : if (nonimm_ssenomem_operand (operands[0], E_SFmode)
12564 34321 : && register_ssemem_operand (operands[1], E_DFmode)
12565 60623 : && insn_condition_300 (operands, insn))
12566 : return 211; /* truncdfsf2 */
12567 14099 : if (!nonimmediate_operand (operands[0], E_SFmode)
12568 14054 : || !register_operand (operands[1], E_XFmode)
12569 18122 : || !insn_condition_74 (operands, insn))
12570 10076 : return -1;
12571 : return 212; /* truncxfsf2 */
12572 :
12573 99672 : case E_DFmode:
12574 99672 : if (!nonimmediate_operand (operands[0], E_DFmode)
12575 98522 : || GET_MODE (x3) != E_DFmode
12576 98522 : || !register_operand (operands[1], E_XFmode)
12577 172730 : || !insn_condition_74 (operands, insn))
12578 26614 : return -1;
12579 : return 213; /* truncxfdf2 */
12580 :
12581 1618 : case E_HFmode:
12582 1618 : if (!register_operand (operands[0], E_HFmode))
12583 : return -1;
12584 1406 : switch (pattern460 (x3,
12585 : E_HFmode))
12586 : {
12587 132 : case 0:
12588 132 : if (!insn_condition_40 (operands, insn))
12589 54 : return -1;
12590 : return 214; /* *truncsfhf2 */
12591 :
12592 765 : case 1:
12593 765 : if (!insn_condition_40 (operands, insn))
12594 0 : return -1;
12595 : return 215; /* *truncdfhf2 */
12596 :
12597 : default:
12598 : return -1;
12599 : }
12600 :
12601 1332 : case E_BFmode:
12602 1332 : if (!register_operand (operands[0], E_BFmode)
12603 936 : || GET_MODE (x3) != E_BFmode
12604 936 : || !register_operand (operands[1], E_SFmode)
12605 1924 : || !insn_condition_301 (operands, insn))
12606 764 : return -1;
12607 : return 216; /* truncsfbf2_vcvtneps2bf16 */
12608 :
12609 14301 : case E_V2SFmode:
12610 14301 : if (!register_operand (operands[0], E_V2SFmode)
12611 12081 : || GET_MODE (x3) != E_V2SFmode
12612 12081 : || !vector_operand (operands[1], E_V2DFmode)
12613 14301 : || !insn_condition_228 (operands, insn))
12614 3496 : return -1;
12615 : return 5346; /* truncv2dfv2sf2 */
12616 :
12617 : default:
12618 : return -1;
12619 : }
12620 : }
12621 :
12622 : int
12623 1012 : recog_36 (rtx x1 ATTRIBUTE_UNUSED,
12624 : rtx_insn *insn ATTRIBUTE_UNUSED,
12625 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12626 : {
12627 1012 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12628 1012 : rtx x2, x3, x4;
12629 1012 : int res ATTRIBUTE_UNUSED;
12630 1012 : x2 = XEXP (x1, 0);
12631 1012 : operands[0] = x2;
12632 1012 : x3 = XEXP (x1, 1);
12633 1012 : x4 = XEXP (x3, 0);
12634 1012 : operands[1] = x4;
12635 1012 : switch (GET_MODE (operands[0]))
12636 : {
12637 238 : case E_SImode:
12638 238 : switch (pattern300 (x3,
12639 : E_SImode))
12640 : {
12641 14 : case 0:
12642 14 : if (!insn_condition_40 (operands, insn))
12643 0 : return -1;
12644 : return 218; /* fixuns_trunchfsi2 */
12645 :
12646 176 : case 1:
12647 176 : if (!insn_condition_313 (operands, insn))
12648 0 : return -1;
12649 : return 223; /* fixuns_truncsfsi2_avx512f */
12650 :
12651 32 : case 2:
12652 32 : if (!insn_condition_313 (operands, insn))
12653 0 : return -1;
12654 : return 224; /* fixuns_truncdfsi2_avx512f */
12655 :
12656 : default:
12657 : return -1;
12658 : }
12659 :
12660 287 : case E_DImode:
12661 287 : switch (pattern300 (x3,
12662 : E_DImode))
12663 : {
12664 8 : case 0:
12665 8 : if (!insn_condition_306 (operands, insn))
12666 0 : return -1;
12667 : return 220; /* fixuns_trunchfdi2 */
12668 :
12669 182 : case 1:
12670 182 : if (!insn_condition_292 (operands, insn))
12671 0 : return -1;
12672 : return 221; /* fixuns_truncsfdi2 */
12673 :
12674 52 : case 2:
12675 52 : if (!insn_condition_292 (operands, insn))
12676 0 : return -1;
12677 : return 222; /* fixuns_truncdfdi2 */
12678 :
12679 : default:
12680 : return -1;
12681 : }
12682 :
12683 7 : case E_V2SImode:
12684 7 : if (!register_operand (operands[0], E_V2SImode)
12685 6 : || GET_MODE (x3) != E_V2SImode
12686 6 : || !nonimmediate_operand (operands[1], E_V2DFmode)
12687 7 : || !insn_condition_152 (operands, insn))
12688 1 : return -1;
12689 : return 5069; /* fixuns_truncv2dfv2si2 */
12690 :
12691 : default:
12692 : return -1;
12693 : }
12694 : }
12695 :
12696 : int
12697 163541 : recog_40 (rtx x1 ATTRIBUTE_UNUSED,
12698 : rtx_insn *insn ATTRIBUTE_UNUSED,
12699 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12700 : {
12701 163541 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12702 163541 : rtx x2, x3;
12703 163541 : int res ATTRIBUTE_UNUSED;
12704 163541 : x2 = XEXP (x1, 1);
12705 163541 : x3 = XEXP (x2, 1);
12706 163541 : operands[2] = x3;
12707 163541 : switch (GET_MODE (operands[0]))
12708 : {
12709 234 : case E_TImode:
12710 234 : if (pnum_clobbers == NULL
12711 234 : || pattern773 (x2,
12712 : E_TImode) != 0)
12713 : return -1;
12714 2 : if (insn_condition_57 (operands, insn))
12715 : {
12716 0 : *pnum_clobbers = 1;
12717 0 : return 842; /* *andnti3_doubleword_bmi */
12718 : }
12719 2 : if (!insn_condition_335 (operands, insn))
12720 : return -1;
12721 2 : *pnum_clobbers = 1;
12722 2 : return 844; /* *andnti3_doubleword */
12723 :
12724 19147 : case E_QImode:
12725 19147 : if (pnum_clobbers == NULL
12726 19147 : || pattern639 (x2,
12727 : E_QImode) != 0
12728 19147 : || !insn_condition_336 (operands, insn))
12729 : return -1;
12730 10 : *pnum_clobbers = 1;
12731 10 : return 847; /* *andnqi_1 */
12732 :
12733 342 : case E_HImode:
12734 342 : if (pnum_clobbers == NULL
12735 342 : || pattern639 (x2,
12736 : E_HImode) != 0
12737 342 : || !insn_condition_336 (operands, insn))
12738 : return -1;
12739 21 : *pnum_clobbers = 1;
12740 21 : return 848; /* *andnhi_1 */
12741 :
12742 614 : case E_V2SFmode:
12743 614 : if (pattern639 (x2,
12744 : E_V2SFmode) != 0
12745 614 : || !insn_condition_228 (operands, insn))
12746 272 : return -1;
12747 : return 2236; /* *mmx_andnotv2sf3 */
12748 :
12749 0 : case E_V2BFmode:
12750 0 : if (pattern639 (x2,
12751 : E_V2BFmode) != 0
12752 0 : || !insn_condition_148 (operands, insn))
12753 0 : return -1;
12754 : return 2267; /* *mmx_andnotv2bf3 */
12755 :
12756 0 : case E_V4BFmode:
12757 0 : if (pattern639 (x2,
12758 : E_V4BFmode) != 0
12759 0 : || !insn_condition_229 (operands, insn))
12760 0 : return -1;
12761 : return 2268; /* *mmx_andnotv4bf3 */
12762 :
12763 2 : case E_V2HFmode:
12764 2 : if (pattern639 (x2,
12765 : E_V2HFmode) != 0
12766 2 : || !insn_condition_148 (operands, insn))
12767 0 : return -1;
12768 : return 2269; /* *mmx_andnotv2hf3 */
12769 :
12770 2 : case E_V4HFmode:
12771 2 : if (pattern639 (x2,
12772 : E_V4HFmode) != 0
12773 2 : || !insn_condition_229 (operands, insn))
12774 0 : return -1;
12775 : return 2270; /* *mmx_andnotv4hf3 */
12776 :
12777 568 : case E_V8QImode:
12778 568 : if (pattern640 (x2,
12779 : E_V8QImode) != 0
12780 568 : || !insn_condition_114 (operands, insn))
12781 266 : return -1;
12782 : return 2428; /* mmx_andnotv8qi3 */
12783 :
12784 429 : case E_V4HImode:
12785 429 : if (pattern640 (x2,
12786 : E_V4HImode) != 0
12787 429 : || !insn_condition_114 (operands, insn))
12788 112 : return -1;
12789 : return 2429; /* mmx_andnotv4hi3 */
12790 :
12791 1260 : case E_V2SImode:
12792 1260 : if (pattern640 (x2,
12793 : E_V2SImode) != 0
12794 1260 : || !insn_condition_114 (operands, insn))
12795 240 : return -1;
12796 : return 2430; /* mmx_andnotv2si3 */
12797 :
12798 114 : case E_V4QImode:
12799 114 : if (pnum_clobbers == NULL
12800 114 : || pattern639 (x2,
12801 : E_V4QImode) != 0)
12802 : return -1;
12803 15 : *pnum_clobbers = 1;
12804 15 : return 2431; /* *andnotv4qi3 */
12805 :
12806 85 : case E_V2QImode:
12807 85 : if (pnum_clobbers == NULL
12808 85 : || pattern639 (x2,
12809 : E_V2QImode) != 0)
12810 : return -1;
12811 13 : *pnum_clobbers = 1;
12812 13 : return 2432; /* *andnotv2qi3 */
12813 :
12814 100 : case E_V2HImode:
12815 100 : if (pnum_clobbers == NULL
12816 100 : || pattern639 (x2,
12817 : E_V2HImode) != 0)
12818 : return -1;
12819 25 : *pnum_clobbers = 1;
12820 25 : return 2433; /* *andnotv2hi3 */
12821 :
12822 0 : case E_BFmode:
12823 0 : if (pattern639 (x2,
12824 : E_BFmode) != 0
12825 0 : || !insn_condition_148 (operands, insn))
12826 0 : return -1;
12827 : return 3961; /* *andnotbf3 */
12828 :
12829 0 : case E_HFmode:
12830 0 : if (pattern639 (x2,
12831 : E_HFmode) != 0
12832 0 : || !insn_condition_148 (operands, insn))
12833 0 : return -1;
12834 : return 3962; /* *andnothf3 */
12835 :
12836 5814 : case E_SFmode:
12837 5814 : if (pattern639 (x2,
12838 : E_SFmode) != 0
12839 5814 : || !insn_condition_148 (operands, insn))
12840 765 : return -1;
12841 : return 3963; /* *andnotsf3 */
12842 :
12843 5708 : case E_DFmode:
12844 5708 : if (pattern639 (x2,
12845 : E_DFmode) != 0
12846 5708 : || !insn_condition_236 (operands, insn))
12847 859 : return -1;
12848 : return 3964; /* *andnotdf3 */
12849 :
12850 15 : case E_TFmode:
12851 15 : if (pattern641 (x2,
12852 : E_TFmode) != 0
12853 15 : || !insn_condition_148 (operands, insn))
12854 0 : return -1;
12855 : return 3965; /* *andnottf3 */
12856 :
12857 : default:
12858 : return -1;
12859 : }
12860 : }
12861 :
12862 : int
12863 268072 : recog_45 (rtx x1 ATTRIBUTE_UNUSED,
12864 : rtx_insn *insn ATTRIBUTE_UNUSED,
12865 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12866 : {
12867 268072 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12868 268072 : rtx x2, x3, x4, x5, x6;
12869 268072 : int res ATTRIBUTE_UNUSED;
12870 268072 : x2 = XEXP (x1, 1);
12871 268072 : x3 = XEXP (x2, 0);
12872 268072 : switch (GET_CODE (x3))
12873 : {
12874 186491 : case REG:
12875 186491 : case SUBREG:
12876 186491 : case MEM:
12877 186491 : operands[1] = x3;
12878 186491 : x4 = XEXP (x1, 0);
12879 186491 : switch (GET_CODE (x4))
12880 : {
12881 186490 : case REG:
12882 186490 : case SUBREG:
12883 186490 : case MEM:
12884 186490 : operands[0] = x4;
12885 186490 : switch (GET_MODE (operands[0]))
12886 : {
12887 3420 : case E_TImode:
12888 3420 : if (pnum_clobbers == NULL
12889 3420 : || !nonimmediate_operand (operands[0], E_TImode)
12890 3420 : || GET_MODE (x2) != E_TImode
12891 3420 : || !nonimmediate_operand (operands[1], E_TImode)
12892 6840 : || !insn_condition_388 (operands, insn))
12893 : return -1;
12894 3114 : *pnum_clobbers = 1;
12895 3114 : return 989; /* *negti2_doubleword */
12896 :
12897 4899 : case E_QImode:
12898 4899 : if (!nonimmediate_operand (operands[0], E_QImode)
12899 4880 : || GET_MODE (x2) != E_QImode
12900 9779 : || !nonimmediate_operand (operands[1], E_QImode))
12901 : return -1;
12902 4601 : if (insn_condition_389 (operands, insn))
12903 : return 990; /* *negqi_1_nf */
12904 4601 : if (pnum_clobbers == NULL
12905 4601 : || !insn_condition_390 (operands, insn))
12906 : return -1;
12907 2987 : *pnum_clobbers = 1;
12908 2987 : return 991; /* *negqi_1 */
12909 :
12910 3372 : case E_HImode:
12911 3372 : if (!nonimmediate_operand (operands[0], E_HImode)
12912 3372 : || GET_MODE (x2) != E_HImode
12913 6744 : || !nonimmediate_operand (operands[1], E_HImode))
12914 : return -1;
12915 3342 : if (insn_condition_391 (operands, insn))
12916 : return 992; /* *neghi_1_nf */
12917 3310 : if (pnum_clobbers == NULL
12918 3310 : || !insn_condition_392 (operands, insn))
12919 : return -1;
12920 2557 : *pnum_clobbers = 1;
12921 2557 : return 993; /* *neghi_1 */
12922 :
12923 7511 : case E_SFmode:
12924 7511 : if (!register_operand (operands[0], E_SFmode)
12925 6291 : || GET_MODE (x2) != E_SFmode
12926 13802 : || !register_operand (operands[1], E_SFmode))
12927 : return -1;
12928 4799 : if (pnum_clobbers != NULL
12929 4799 : && insn_condition_393 (operands, insn))
12930 : {
12931 95 : *pnum_clobbers = 1;
12932 95 : return 1047; /* *negsf2_i387_1 */
12933 : }
12934 4704 : if (!insn_condition_394 (operands, insn))
12935 4490 : return -1;
12936 : return 1061; /* *negsf2_i387 */
12937 :
12938 10093 : case E_DFmode:
12939 10093 : if (!register_operand (operands[0], E_DFmode)
12940 8602 : || GET_MODE (x2) != E_DFmode
12941 18695 : || !register_operand (operands[1], E_DFmode))
12942 : return -1;
12943 7541 : if (pnum_clobbers != NULL
12944 7541 : && insn_condition_395 (operands, insn))
12945 : {
12946 1097 : *pnum_clobbers = 1;
12947 1097 : return 1049; /* *negdf2_i387_1 */
12948 : }
12949 6444 : if (!insn_condition_394 (operands, insn))
12950 5485 : return -1;
12951 : return 1063; /* *negdf2_i387 */
12952 :
12953 16074 : case E_XFmode:
12954 16074 : if (!register_operand (operands[0], E_XFmode)
12955 15067 : || GET_MODE (x2) != E_XFmode
12956 31141 : || !register_operand (operands[1], E_XFmode))
12957 : return -1;
12958 14615 : if (pnum_clobbers != NULL
12959 14615 : && insn_condition_396 (operands, insn))
12960 : {
12961 1631 : *pnum_clobbers = 1;
12962 1631 : return 1051; /* *negxf2_i387_1 */
12963 : }
12964 12984 : if (!insn_condition_394 (operands, insn))
12965 16 : return -1;
12966 : return 1065; /* *negxf2_i387 */
12967 :
12968 45 : case E_V2QImode:
12969 45 : if (pattern642 (x2, pnum_clobbers,
12970 : E_V2QImode) != 0
12971 45 : || !insn_condition_397 (operands, insn))
12972 : return -1;
12973 13 : *pnum_clobbers = 1;
12974 13 : return 2283; /* negv2qi2 */
12975 :
12976 : default:
12977 : return -1;
12978 : }
12979 :
12980 1 : case STRICT_LOW_PART:
12981 1 : switch (pattern302 (x1, pnum_clobbers))
12982 : {
12983 1 : case 0:
12984 1 : if (!insn_condition_194 (operands, insn))
12985 : return -1;
12986 1 : *pnum_clobbers = 1;
12987 1 : return 1009; /* *negqi_1_slp */
12988 :
12989 0 : case 1:
12990 0 : if (!insn_condition_194 (operands, insn))
12991 : return -1;
12992 0 : *pnum_clobbers = 1;
12993 0 : return 1010; /* *neghi_1_slp */
12994 :
12995 : default:
12996 : return -1;
12997 : }
12998 :
12999 : default:
13000 : return -1;
13001 : }
13002 :
13003 464 : case ABS:
13004 464 : if (pnum_clobbers == NULL)
13005 : return -1;
13006 464 : x4 = XEXP (x1, 0);
13007 464 : operands[0] = x4;
13008 464 : x5 = XEXP (x3, 0);
13009 464 : operands[1] = x5;
13010 464 : switch (GET_MODE (operands[0]))
13011 : {
13012 0 : case E_TImode:
13013 0 : if (pattern643 (x2,
13014 : E_TImode) != 0
13015 0 : || !insn_condition_398 (operands, insn))
13016 : return -1;
13017 0 : *pnum_clobbers = 1;
13018 0 : return 1034; /* *nabsti2_doubleword */
13019 :
13020 0 : case E_QImode:
13021 0 : if (pattern643 (x2,
13022 : E_QImode) != 0
13023 0 : || !insn_condition_399 (operands, insn))
13024 : return -1;
13025 0 : *pnum_clobbers = 1;
13026 0 : return 1039; /* *nabsqi2_1 */
13027 :
13028 0 : case E_HImode:
13029 0 : if (pattern643 (x2,
13030 : E_HImode) != 0
13031 0 : || !insn_condition_400 (operands, insn))
13032 : return -1;
13033 0 : *pnum_clobbers = 1;
13034 0 : return 1040; /* *nabshi2_1 */
13035 :
13036 : default:
13037 : return -1;
13038 : }
13039 :
13040 9438 : case LTU:
13041 9438 : case UNLT:
13042 9438 : if (pnum_clobbers == NULL)
13043 : return -1;
13044 9438 : operands[1] = x3;
13045 9438 : if (!ix86_carry_flag_operator (operands[1], E_VOIDmode))
13046 : return -1;
13047 8531 : x5 = XEXP (x3, 0);
13048 8531 : if (GET_CODE (x5) != REG
13049 8531 : || REGNO (x5) != 17)
13050 : return -1;
13051 7104 : x6 = XEXP (x3, 1);
13052 7104 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
13053 : return -1;
13054 7104 : x4 = XEXP (x1, 0);
13055 7104 : operands[0] = x4;
13056 7104 : switch (pattern1004 (x2))
13057 : {
13058 295 : case 0:
13059 295 : *pnum_clobbers = 1;
13060 295 : return 1936; /* *x86_movqicc_0_m1_neg */
13061 :
13062 235 : case 1:
13063 235 : *pnum_clobbers = 1;
13064 235 : return 1937; /* *x86_movhicc_0_m1_neg */
13065 :
13066 : default:
13067 : return -1;
13068 : }
13069 :
13070 : default:
13071 : return -1;
13072 : }
13073 : }
13074 :
13075 : int
13076 24044 : recog_48 (rtx x1 ATTRIBUTE_UNUSED,
13077 : rtx_insn *insn ATTRIBUTE_UNUSED,
13078 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13079 : {
13080 24044 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13081 24044 : rtx x2, x3, x4;
13082 24044 : int res ATTRIBUTE_UNUSED;
13083 24044 : switch (pattern2 (x1, pnum_clobbers))
13084 : {
13085 0 : case 0:
13086 0 : if (!insn_condition_406 (operands, insn))
13087 : return -1;
13088 0 : *pnum_clobbers = 1;
13089 0 : return 1424; /* *rotlqi3_mask_1 */
13090 :
13091 0 : case 1:
13092 0 : if (!insn_condition_407 (operands, insn))
13093 : return -1;
13094 0 : *pnum_clobbers = 1;
13095 0 : return 1426; /* *rotlhi3_mask_1 */
13096 :
13097 0 : case 2:
13098 0 : if (!insn_condition_408 (operands, insn))
13099 : return -1;
13100 0 : *pnum_clobbers = 1;
13101 0 : return 1440; /* *rotlqi3_add_1 */
13102 :
13103 0 : case 3:
13104 0 : if (!insn_condition_409 (operands, insn))
13105 : return -1;
13106 0 : *pnum_clobbers = 1;
13107 0 : return 1442; /* *rotlhi3_add_1 */
13108 :
13109 0 : case 4:
13110 0 : if (!insn_condition_408 (operands, insn))
13111 : return -1;
13112 0 : *pnum_clobbers = 1;
13113 0 : return 1456; /* *rotlqi3_sub_1 */
13114 :
13115 0 : case 5:
13116 0 : if (!insn_condition_409 (operands, insn))
13117 : return -1;
13118 0 : *pnum_clobbers = 1;
13119 0 : return 1458; /* *rotlhi3_sub_1 */
13120 :
13121 23779 : case 6:
13122 23779 : x2 = XEXP (x1, 0);
13123 23779 : operands[0] = x2;
13124 23779 : x3 = XEXP (x1, 1);
13125 23779 : switch (pattern305 (x3, pnum_clobbers))
13126 : {
13127 34 : case 0:
13128 34 : if (insn_condition_406 (operands, insn))
13129 : {
13130 28 : *pnum_clobbers = 1;
13131 28 : return 1416; /* *rotlqi3_mask */
13132 : }
13133 : break;
13134 :
13135 0 : case 1:
13136 0 : if (insn_condition_407 (operands, insn))
13137 : {
13138 0 : *pnum_clobbers = 1;
13139 0 : return 1418; /* *rotlhi3_mask */
13140 : }
13141 : break;
13142 :
13143 0 : case 2:
13144 0 : if (insn_condition_408 (operands, insn))
13145 : {
13146 0 : *pnum_clobbers = 1;
13147 0 : return 1432; /* *rotlqi3_add */
13148 : }
13149 : break;
13150 :
13151 0 : case 3:
13152 0 : if (insn_condition_409 (operands, insn))
13153 : {
13154 0 : *pnum_clobbers = 1;
13155 0 : return 1434; /* *rotlhi3_add */
13156 : }
13157 : break;
13158 :
13159 0 : case 4:
13160 0 : if (insn_condition_408 (operands, insn))
13161 : {
13162 0 : *pnum_clobbers = 1;
13163 0 : return 1448; /* *rotlqi3_sub */
13164 : }
13165 : break;
13166 :
13167 0 : case 5:
13168 0 : if (insn_condition_409 (operands, insn))
13169 : {
13170 0 : *pnum_clobbers = 1;
13171 0 : return 1450; /* *rotlhi3_sub */
13172 : }
13173 : break;
13174 :
13175 14173 : case 6:
13176 14173 : if (pnum_clobbers != NULL
13177 14021 : && pattern644 (x3) == 0
13178 14173 : && insn_condition_52 (operands, insn))
13179 : {
13180 0 : *pnum_clobbers = 2;
13181 0 : return 1465; /* ix86_rotlti3_doubleword */
13182 : }
13183 14173 : x4 = XEXP (x3, 1);
13184 14173 : if (XWINT (x4, 0) == 64L
13185 48 : && register_operand (operands[0], E_TImode)
13186 31 : && GET_MODE (x3) == E_TImode
13187 31 : && register_operand (operands[1], E_TImode)
13188 14196 : && insn_condition_52 (operands, insn))
13189 : return 1470; /* rotl64ti2_doubleword */
13190 : break;
13191 :
13192 : default:
13193 : break;
13194 : }
13195 23728 : x4 = XEXP (x3, 1);
13196 23728 : operands[2] = x4;
13197 23728 : switch (pattern306 (x1, pnum_clobbers))
13198 : {
13199 1646 : case 0:
13200 1646 : if (insn_condition_410 (operands, insn))
13201 : return 1505; /* *rotlqi3_1_nf */
13202 1646 : if (pnum_clobbers == NULL
13203 1646 : || !insn_condition_411 (operands, insn))
13204 : return -1;
13205 1609 : *pnum_clobbers = 1;
13206 1609 : return 1506; /* *rotlqi3_1 */
13207 :
13208 1345 : case 1:
13209 1345 : if (insn_condition_412 (operands, insn))
13210 : return 1509; /* *rotlhi3_1_nf */
13211 1345 : if (pnum_clobbers == NULL
13212 1345 : || !insn_condition_413 (operands, insn))
13213 : return -1;
13214 1330 : *pnum_clobbers = 1;
13215 1330 : return 1510; /* *rotlhi3_1 */
13216 :
13217 1 : case 2:
13218 1 : if (!insn_condition_194 (operands, insn))
13219 : return -1;
13220 1 : *pnum_clobbers = 1;
13221 1 : return 1513; /* *rotlqi3_1_slp */
13222 :
13223 1 : case 3:
13224 1 : if (!insn_condition_194 (operands, insn))
13225 : return -1;
13226 1 : *pnum_clobbers = 1;
13227 1 : return 1515; /* *rotlhi3_1_slp */
13228 :
13229 : default:
13230 : return -1;
13231 : }
13232 :
13233 : default:
13234 : return -1;
13235 : }
13236 : }
13237 :
13238 : int
13239 5847932 : recog_53 (rtx x1 ATTRIBUTE_UNUSED,
13240 : rtx_insn *insn ATTRIBUTE_UNUSED,
13241 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13242 : {
13243 5847932 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13244 5847932 : rtx x2, x3, x4, x5;
13245 5847932 : int res ATTRIBUTE_UNUSED;
13246 5847932 : x2 = XEXP (x1, 0);
13247 5847932 : operands[0] = x2;
13248 5847932 : x3 = XEXP (x1, 1);
13249 5847932 : switch (GET_CODE (x3))
13250 : {
13251 5054173 : case NE:
13252 5054173 : case EQ:
13253 5054173 : case GE:
13254 5054173 : case GT:
13255 5054173 : case LE:
13256 5054173 : case LT:
13257 5054173 : res = recog_52 (x1, insn, pnum_clobbers);
13258 5054173 : if (res >= 0)
13259 : return res;
13260 : break;
13261 :
13262 : default:
13263 : break;
13264 : }
13265 5811753 : operands[3] = x3;
13266 5811753 : x4 = XEXP (x3, 0);
13267 5811753 : operands[1] = x4;
13268 5811753 : x5 = XEXP (x3, 1);
13269 5811753 : operands[2] = x5;
13270 5811753 : switch (GET_MODE (operands[0]))
13271 : {
13272 5364 : case E_SFmode:
13273 5364 : if (pattern776 (
13274 : E_SFmode) != 0
13275 5364 : || !insn_condition_425 (operands, insn))
13276 1211 : return -1;
13277 : return 1585; /* setcc_sf_sse */
13278 :
13279 7855 : case E_DFmode:
13280 7855 : if (pattern776 (
13281 : E_DFmode) != 0
13282 7855 : || !insn_condition_426 (operands, insn))
13283 2073 : return -1;
13284 : return 1586; /* setcc_df_sse */
13285 :
13286 : default:
13287 : return -1;
13288 : }
13289 : }
13290 :
13291 : int
13292 1963 : recog_56 (rtx x1 ATTRIBUTE_UNUSED,
13293 : rtx_insn *insn ATTRIBUTE_UNUSED,
13294 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13295 : {
13296 1963 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13297 1963 : rtx x2, x3, x4;
13298 1963 : int res ATTRIBUTE_UNUSED;
13299 1963 : x2 = XEXP (x1, 0);
13300 1963 : operands[0] = x2;
13301 1963 : x3 = XEXP (x1, 1);
13302 1963 : x4 = XEXP (x3, 0);
13303 1963 : operands[1] = x4;
13304 1963 : switch (GET_MODE (operands[0]))
13305 : {
13306 6 : case E_HImode:
13307 6 : if (!register_operand (operands[0], E_HImode)
13308 3 : || GET_MODE (x3) != E_HImode
13309 9 : || !nonimmediate_operand (operands[1], E_HImode))
13310 : return -1;
13311 3 : if (insn_condition_430 (operands, insn))
13312 : return 1776; /* popcounthi2_nf */
13313 3 : if (pnum_clobbers == NULL
13314 3 : || !insn_condition_431 (operands, insn))
13315 : return -1;
13316 3 : *pnum_clobbers = 1;
13317 3 : return 1777; /* popcounthi2 */
13318 :
13319 12 : case E_V8QImode:
13320 12 : if (!register_operand (operands[0], E_V8QImode)
13321 6 : || GET_MODE (x3) != E_V8QImode
13322 6 : || !register_operand (operands[1], E_V8QImode)
13323 17 : || !insn_condition_432 (operands, insn))
13324 7 : return -1;
13325 : return 2549; /* popcountv8qi2 */
13326 :
13327 12 : case E_V4QImode:
13328 12 : if (!register_operand (operands[0], E_V4QImode)
13329 6 : || GET_MODE (x3) != E_V4QImode
13330 6 : || !register_operand (operands[1], E_V4QImode)
13331 12 : || !insn_condition_433 (operands, insn))
13332 7 : return -1;
13333 : return 2550; /* popcountv4qi2 */
13334 :
13335 12 : case E_V2QImode:
13336 12 : if (!register_operand (operands[0], E_V2QImode)
13337 6 : || GET_MODE (x3) != E_V2QImode
13338 6 : || !register_operand (operands[1], E_V2QImode)
13339 12 : || !insn_condition_433 (operands, insn))
13340 7 : return -1;
13341 : return 2551; /* popcountv2qi2 */
13342 :
13343 12 : case E_V4HImode:
13344 12 : if (!register_operand (operands[0], E_V4HImode)
13345 6 : || GET_MODE (x3) != E_V4HImode
13346 6 : || !register_operand (operands[1], E_V4HImode)
13347 17 : || !insn_condition_432 (operands, insn))
13348 7 : return -1;
13349 : return 2552; /* popcountv4hi2 */
13350 :
13351 12 : case E_V2HImode:
13352 12 : if (!register_operand (operands[0], E_V2HImode)
13353 6 : || GET_MODE (x3) != E_V2HImode
13354 6 : || !register_operand (operands[1], E_V2HImode)
13355 12 : || !insn_condition_433 (operands, insn))
13356 7 : return -1;
13357 : return 2553; /* popcountv2hi2 */
13358 :
13359 12 : case E_V2SImode:
13360 12 : if (!register_operand (operands[0], E_V2SImode)
13361 6 : || GET_MODE (x3) != E_V2SImode
13362 6 : || !register_operand (operands[1], E_V2SImode)
13363 17 : || !insn_condition_434 (operands, insn))
13364 7 : return -1;
13365 : return 2554; /* popcountv2si2 */
13366 :
13367 : default:
13368 : return -1;
13369 : }
13370 : }
13371 :
13372 : int
13373 3570363 : recog_61 (rtx x1 ATTRIBUTE_UNUSED,
13374 : rtx_insn *insn ATTRIBUTE_UNUSED,
13375 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13376 : {
13377 3570363 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13378 3570363 : rtx x2, x3, x4, x5, x6, x7;
13379 3570363 : int res ATTRIBUTE_UNUSED;
13380 3570363 : x2 = XEXP (x1, 1);
13381 3570363 : x3 = XEXP (x2, 1);
13382 3570363 : switch (GET_CODE (x3))
13383 : {
13384 3094613 : case CONST_INT:
13385 3094613 : case CONST_WIDE_INT:
13386 3094613 : case CONST_POLY_INT:
13387 3094613 : case CONST_FIXED:
13388 3094613 : case CONST_DOUBLE:
13389 3094613 : case CONST_VECTOR:
13390 3094613 : case CONST:
13391 3094613 : case REG:
13392 3094613 : case SUBREG:
13393 3094613 : case MEM:
13394 3094613 : case LABEL_REF:
13395 3094613 : case SYMBOL_REF:
13396 3094613 : case HIGH:
13397 3094613 : operands[2] = x3;
13398 3094613 : res = recog_60 (x1, insn, pnum_clobbers);
13399 3094613 : if (res >= 0)
13400 : return res;
13401 3043904 : if (pnum_clobbers == NULL
13402 2887520 : || GET_CODE (x3) != SUBREG
13403 167738 : || maybe_ne (SUBREG_BYTE (x3), 0)
13404 3211457 : || GET_MODE (x3) != E_QImode)
13405 : return -1;
13406 7403 : x4 = XEXP (x3, 0);
13407 7403 : switch (GET_CODE (x4))
13408 : {
13409 160 : case ASHIFTRT:
13410 160 : case LSHIFTRT:
13411 160 : case SIGN_EXTRACT:
13412 160 : case ZERO_EXTRACT:
13413 160 : operands[3] = x4;
13414 160 : if (GET_MODE (x2) != E_QImode
13415 160 : || !nonimmediate_operand (operands[1], E_QImode))
13416 : return -1;
13417 94 : x5 = XEXP (x4, 0);
13418 94 : operands[2] = x5;
13419 94 : if (!int248_register_operand (operands[2], E_VOIDmode))
13420 : return -1;
13421 92 : x6 = XEXP (x1, 0);
13422 92 : switch (GET_CODE (x6))
13423 : {
13424 6 : case STRICT_LOW_PART:
13425 6 : x7 = XEXP (x6, 0);
13426 6 : operands[0] = x7;
13427 6 : if (!register_operand (operands[0], E_QImode))
13428 : return -1;
13429 6 : switch (pattern1694 ())
13430 : {
13431 2 : case 0:
13432 2 : if (!insn_condition_194 (operands, insn))
13433 : return -1;
13434 2 : *pnum_clobbers = 1;
13435 2 : return 410; /* *subqi_exthi_1_slp */
13436 :
13437 2 : case 1:
13438 2 : if (!insn_condition_194 (operands, insn))
13439 : return -1;
13440 2 : *pnum_clobbers = 1;
13441 2 : return 411; /* *subqi_extsi_1_slp */
13442 :
13443 2 : case 2:
13444 2 : if (!insn_condition_195 (operands, insn))
13445 : return -1;
13446 2 : *pnum_clobbers = 1;
13447 2 : return 412; /* *subqi_extdi_1_slp */
13448 :
13449 : default:
13450 : return -1;
13451 : }
13452 :
13453 86 : case REG:
13454 86 : case SUBREG:
13455 86 : case MEM:
13456 86 : operands[0] = x6;
13457 86 : if (!nonimmediate_operand (operands[0], E_QImode))
13458 : return -1;
13459 86 : switch (pattern1694 ())
13460 : {
13461 0 : case 0:
13462 0 : *pnum_clobbers = 1;
13463 0 : return 421; /* *subqi_exthi_0 */
13464 :
13465 3 : case 1:
13466 3 : *pnum_clobbers = 1;
13467 3 : return 422; /* *subqi_extsi_0 */
13468 :
13469 0 : case 2:
13470 0 : if (!insn_condition_52 (operands, insn))
13471 : return -1;
13472 0 : *pnum_clobbers = 1;
13473 0 : return 423; /* *subqi_extdi_0 */
13474 :
13475 : default:
13476 : return -1;
13477 : }
13478 :
13479 : default:
13480 : return -1;
13481 : }
13482 :
13483 : default:
13484 : return -1;
13485 : }
13486 :
13487 28312 : case ZERO_EXTEND:
13488 28312 : if (pnum_clobbers == NULL
13489 28312 : || GET_MODE (x3) != E_TImode)
13490 : return -1;
13491 2637 : x6 = XEXP (x1, 0);
13492 2637 : operands[0] = x6;
13493 2637 : if (pattern794 (x2,
13494 : E_DImode,
13495 : E_TImode) != 0
13496 2637 : || !insn_condition_448 (operands, insn))
13497 : return -1;
13498 615 : *pnum_clobbers = 1;
13499 615 : return 388; /* *subti3_doubleword_zext */
13500 :
13501 7564 : case LTU:
13502 7564 : case UNLT:
13503 7564 : switch (pattern468 (x1, pnum_clobbers))
13504 : {
13505 5941 : case 0:
13506 5941 : if (pattern1246 (x2,
13507 : E_QImode) != 0
13508 5941 : || !insn_condition_456 (operands, insn))
13509 : return -1;
13510 5851 : *pnum_clobbers = 1;
13511 5851 : return 512; /* *subqi3_carry_0 */
13512 :
13513 9 : case 1:
13514 9 : if (pattern1246 (x2,
13515 : E_HImode) != 0
13516 9 : || !insn_condition_456 (operands, insn))
13517 : return -1;
13518 0 : *pnum_clobbers = 1;
13519 0 : return 513; /* *subhi3_carry_0 */
13520 :
13521 : default:
13522 : return -1;
13523 : }
13524 :
13525 2039 : case GE:
13526 2039 : case GEU:
13527 2039 : switch (pattern468 (x1, pnum_clobbers))
13528 : {
13529 83 : case 0:
13530 83 : if (pattern1247 (x2,
13531 : E_QImode) != 0
13532 83 : || !insn_condition_456 (operands, insn))
13533 : return -1;
13534 43 : *pnum_clobbers = 1;
13535 43 : return 520; /* *subqi3_carry_0r */
13536 :
13537 2 : case 1:
13538 2 : if (pattern1247 (x2,
13539 : E_HImode) != 0
13540 2 : || !insn_condition_456 (operands, insn))
13541 : return -1;
13542 2 : *pnum_clobbers = 1;
13543 2 : return 521; /* *subhi3_carry_0r */
13544 :
13545 : default:
13546 : return -1;
13547 : }
13548 :
13549 2345 : case EQ:
13550 2345 : switch (pattern470 (x1, pnum_clobbers))
13551 : {
13552 112 : case 0:
13553 112 : if (!insn_condition_472 (operands, insn))
13554 : return -1;
13555 0 : *pnum_clobbers = 1;
13556 0 : return 611; /* *subqi3_eq_0 */
13557 :
13558 0 : case 1:
13559 0 : if (!insn_condition_473 (operands, insn))
13560 : return -1;
13561 0 : *pnum_clobbers = 1;
13562 0 : return 612; /* *subhi3_eq_0 */
13563 :
13564 : default:
13565 : return -1;
13566 : }
13567 :
13568 6839 : case NE:
13569 6839 : switch (pattern470 (x1, pnum_clobbers))
13570 : {
13571 2 : case 0:
13572 2 : if (!insn_condition_472 (operands, insn))
13573 : return -1;
13574 0 : *pnum_clobbers = 1;
13575 0 : return 615; /* *subqi3_ne_0 */
13576 :
13577 3 : case 1:
13578 3 : if (!insn_condition_473 (operands, insn))
13579 : return -1;
13580 0 : *pnum_clobbers = 1;
13581 0 : return 616; /* *subhi3_ne_0 */
13582 :
13583 : default:
13584 : return -1;
13585 : }
13586 :
13587 : default:
13588 : return -1;
13589 : }
13590 : }
13591 :
13592 : int
13593 3761684 : recog_66 (rtx x1 ATTRIBUTE_UNUSED,
13594 : rtx_insn *insn ATTRIBUTE_UNUSED,
13595 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13596 : {
13597 3761684 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13598 3761684 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
13599 3761684 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
13600 3761684 : int res ATTRIBUTE_UNUSED;
13601 3761684 : x2 = XEXP (x1, 0);
13602 3761684 : operands[0] = x2;
13603 3761684 : x3 = XEXP (x1, 1);
13604 3761684 : x4 = XEXP (x3, 0);
13605 3761684 : switch (GET_CODE (x4))
13606 : {
13607 73660 : case PLUS:
13608 73660 : if (pattern120 (x3,
13609 : E_V2SFmode,
13610 : E_SFmode) != 0)
13611 : return -1;
13612 79 : x5 = XEXP (x3, 1);
13613 79 : x6 = XEXP (x5, 0);
13614 79 : x7 = XEXP (x6, 0);
13615 79 : operands[2] = x7;
13616 79 : if (!nonimmediate_operand (operands[2], E_V2SFmode)
13617 79 : || pattern1921 (x3) != 0
13618 158 : || !insn_condition_521 (operands, insn))
13619 0 : return -1;
13620 : return 2224; /* *mmx_haddv2sf3 */
13621 :
13622 936 : case MINUS:
13623 936 : if (pattern121 (x4,
13624 : E_SFmode) != 0
13625 173 : || !register_operand (operands[0], E_V2SFmode)
13626 1109 : || GET_MODE (x3) != E_V2SFmode)
13627 : return -1;
13628 173 : x8 = XEXP (x4, 0);
13629 173 : x9 = XEXP (x8, 0);
13630 173 : operands[1] = x9;
13631 173 : if (!register_operand (operands[1], E_V2SFmode))
13632 : return -1;
13633 159 : x5 = XEXP (x3, 1);
13634 159 : if (GET_MODE (x5) != E_SFmode)
13635 : return -1;
13636 159 : x10 = XEXP (x4, 1);
13637 159 : x11 = XEXP (x10, 0);
13638 159 : if (!rtx_equal_p (x11, operands[1]))
13639 : return -1;
13640 159 : switch (GET_CODE (x5))
13641 : {
13642 80 : case MINUS:
13643 80 : if (pattern1603 (x5,
13644 : E_SFmode) != 0)
13645 : return -1;
13646 80 : x6 = XEXP (x5, 0);
13647 80 : x7 = XEXP (x6, 0);
13648 80 : operands[2] = x7;
13649 80 : if (!nonimmediate_operand (operands[2], E_V2SFmode))
13650 : return -1;
13651 80 : x12 = XEXP (x5, 1);
13652 80 : x13 = XEXP (x12, 0);
13653 80 : if (!rtx_equal_p (x13, operands[2])
13654 80 : || !insn_condition_299 (operands, insn))
13655 0 : return -1;
13656 : return 2226; /* mmx_hsubv2sf3 */
13657 :
13658 79 : case PLUS:
13659 79 : x6 = XEXP (x5, 0);
13660 79 : if (GET_CODE (x6) != VEC_SELECT
13661 79 : || GET_MODE (x6) != E_SFmode)
13662 : return -1;
13663 79 : x14 = XEXP (x6, 1);
13664 79 : if (GET_CODE (x14) != PARALLEL
13665 79 : || XVECLEN (x14, 0) != 1)
13666 : return -1;
13667 79 : x12 = XEXP (x5, 1);
13668 79 : if (GET_CODE (x12) != VEC_SELECT
13669 79 : || GET_MODE (x12) != E_SFmode)
13670 : return -1;
13671 79 : x15 = XEXP (x12, 1);
13672 79 : if (GET_CODE (x15) != PARALLEL
13673 79 : || XVECLEN (x15, 0) != 1)
13674 : return -1;
13675 79 : x7 = XEXP (x6, 0);
13676 79 : operands[2] = x7;
13677 79 : if (!nonimmediate_operand (operands[2], E_V2SFmode))
13678 : return -1;
13679 79 : x16 = XVECEXP (x14, 0, 0);
13680 79 : operands[3] = x16;
13681 79 : if (!const_0_to_1_operand (operands[3], E_SImode))
13682 : return -1;
13683 79 : x17 = XVECEXP (x15, 0, 0);
13684 79 : operands[4] = x17;
13685 79 : if (!const_0_to_1_operand (operands[4], E_SImode))
13686 : return -1;
13687 79 : x13 = XEXP (x12, 0);
13688 79 : if (!rtx_equal_p (x13, operands[2])
13689 79 : || !insn_condition_522 (operands, insn))
13690 0 : return -1;
13691 : return 2228; /* *mmx_haddsubv2sf3 */
13692 :
13693 : default:
13694 : return -1;
13695 : }
13696 :
13697 2847500 : case REG:
13698 2847500 : case SUBREG:
13699 2847500 : case MEM:
13700 2847500 : operands[1] = x4;
13701 2847500 : x5 = XEXP (x3, 1);
13702 2847500 : operands[2] = x5;
13703 2847500 : switch (GET_MODE (operands[0]))
13704 : {
13705 58701 : case E_V2SFmode:
13706 58701 : if (!register_operand (operands[0], E_V2SFmode)
13707 56553 : || GET_MODE (x3) != E_V2SFmode
13708 115254 : || !nonimmediate_operand (operands[1], E_SFmode))
13709 : return -1;
13710 55838 : if (nonimm_or_0_operand (operands[2], E_SFmode))
13711 : {
13712 49163 : if (insn_condition_523 (operands, insn))
13713 : return 2252; /* *mmx_concatv2sf */
13714 49163 : if (insn_condition_524 (operands, insn))
13715 : return 5448; /* *vec_concatv2sf_sse4_1 */
13716 : }
13717 37339 : if (!reg_or_0_operand (operands[2], E_SFmode)
13718 37339 : || !insn_condition_525 (operands, insn))
13719 10897 : return -1;
13720 : return 5449; /* *vec_concatv2sf_sse */
13721 :
13722 406629 : case E_V2SImode:
13723 406629 : if (!register_operand (operands[0], E_V2SImode)
13724 356360 : || GET_MODE (x3) != E_V2SImode
13725 762989 : || !nonimmediate_operand (operands[1], E_SImode))
13726 : return -1;
13727 355205 : if (nonimm_or_0_operand (operands[2], E_SImode))
13728 : {
13729 262998 : if (insn_condition_523 (operands, insn))
13730 : return 2508; /* *mmx_concatv2si */
13731 262998 : if (insn_condition_526 (operands, insn))
13732 : return 7145; /* *vec_concatv2si_sse4_1 */
13733 : }
13734 351837 : if (!reg_or_0_operand (operands[2], E_SImode)
13735 351837 : || !insn_condition_525 (operands, insn))
13736 102416 : return -1;
13737 : return 7146; /* *vec_concatv2si_sse */
13738 :
13739 : default:
13740 : return -1;
13741 : }
13742 :
13743 2159 : case SS_TRUNCATE:
13744 2159 : x5 = XEXP (x3, 1);
13745 2159 : if (GET_CODE (x5) != SS_TRUNCATE)
13746 : return -1;
13747 1533 : switch (pattern308 (x3))
13748 : {
13749 247 : case 0:
13750 247 : if (!insn_condition_114 (operands, insn))
13751 0 : return -1;
13752 : return 2452; /* mmx_packsswb */
13753 :
13754 286 : case 1:
13755 286 : if (!insn_condition_114 (operands, insn))
13756 0 : return -1;
13757 : return 2454; /* mmx_packssdw */
13758 :
13759 : default:
13760 : return -1;
13761 : }
13762 :
13763 : default:
13764 : return -1;
13765 : }
13766 : }
13767 :
13768 : int
13769 4384206 : recog_69 (rtx x1 ATTRIBUTE_UNUSED,
13770 : rtx_insn *insn ATTRIBUTE_UNUSED,
13771 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13772 : {
13773 4384206 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13774 4384206 : rtx x2, x3, x4, x5, x6, x7;
13775 4384206 : int res ATTRIBUTE_UNUSED;
13776 4384206 : x2 = XEXP (x1, 1);
13777 4384206 : x3 = XEXP (x2, 1);
13778 4384206 : if (GET_CODE (x3) != PARALLEL)
13779 : return -1;
13780 4384206 : x4 = XEXP (x1, 0);
13781 4384206 : operands[0] = x4;
13782 4384206 : x5 = XEXP (x2, 0);
13783 4384206 : switch (GET_CODE (x5))
13784 : {
13785 1704789 : case REG:
13786 1704789 : case SUBREG:
13787 1704789 : case MEM:
13788 1704789 : return recog_68 (x1, insn, pnum_clobbers);
13789 :
13790 2510672 : case VEC_CONCAT:
13791 2510672 : switch (pattern311 (x2))
13792 : {
13793 230081 : case 0:
13794 230081 : x6 = XVECEXP (x3, 0, 1);
13795 230081 : if (GET_CODE (x6) == CONST_INT)
13796 : {
13797 230081 : switch (pattern1017 (x2))
13798 : {
13799 6644 : case 0:
13800 6644 : if (insn_condition_228 (operands, insn))
13801 : return 2247; /* *vec_interleave_lowv2sf */
13802 : break;
13803 :
13804 14528 : case 1:
13805 14528 : if (insn_condition_114 (operands, insn))
13806 : return 2463; /* mmx_punpckldq */
13807 : break;
13808 :
13809 2731 : case 2:
13810 2731 : if (insn_condition_228 (operands, insn))
13811 : return 2248; /* *vec_interleave_highv2sf */
13812 : break;
13813 :
13814 7482 : case 3:
13815 7482 : if (insn_condition_114 (operands, insn))
13816 : return 2462; /* mmx_punpckhdq */
13817 : break;
13818 :
13819 : default:
13820 : break;
13821 : }
13822 : }
13823 198696 : x7 = XVECEXP (x3, 0, 0);
13824 198696 : operands[3] = x7;
13825 198696 : switch (pattern1018 (x2))
13826 : {
13827 0 : case 0:
13828 0 : if (!insn_condition_141 (operands, insn))
13829 0 : return -1;
13830 : return 2528; /* *punpckwd */
13831 :
13832 0 : case 1:
13833 0 : if (!insn_condition_141 (operands, insn))
13834 0 : return -1;
13835 : return 2529; /* *punpckwd */
13836 :
13837 1847 : case 2:
13838 1847 : if (!insn_condition_141 (operands, insn))
13839 0 : return -1;
13840 : return 2530; /* *punpckwd */
13841 :
13842 : default:
13843 : return -1;
13844 : }
13845 :
13846 6720 : case 1:
13847 6720 : if (!insn_condition_114 (operands, insn))
13848 0 : return -1;
13849 : return 2456; /* mmx_punpckhbw */
13850 :
13851 7557 : case 2:
13852 7557 : if (!insn_condition_114 (operands, insn))
13853 0 : return -1;
13854 : return 2458; /* mmx_punpcklbw */
13855 :
13856 3893 : case 3:
13857 3893 : if (!insn_condition_141 (operands, insn))
13858 0 : return -1;
13859 : return 2457; /* mmx_punpckhbw_low */
13860 :
13861 13178 : case 4:
13862 13178 : if (!insn_condition_114 (operands, insn))
13863 0 : return -1;
13864 : return 2460; /* mmx_punpckhwd */
13865 :
13866 4950 : case 5:
13867 4950 : if (!insn_condition_141 (operands, insn))
13868 0 : return -1;
13869 : return 2459; /* mmx_punpcklbw_low */
13870 :
13871 17149 : case 6:
13872 17149 : if (!insn_condition_114 (operands, insn))
13873 0 : return -1;
13874 : return 2461; /* mmx_punpcklwd */
13875 :
13876 : default:
13877 : return -1;
13878 : }
13879 :
13880 4927 : case UNSPEC:
13881 4927 : if (pattern312 (x2) != 0
13882 4927 : || !insn_condition_151 (operands, insn))
13883 4517 : return -1;
13884 : return 4948; /* sse_cvtps2pi */
13885 :
13886 286 : case FIX:
13887 286 : if (pattern314 (x2) != 0
13888 286 : || !insn_condition_151 (operands, insn))
13889 286 : return -1;
13890 : return 4950; /* sse_cvttps2pi */
13891 :
13892 : default:
13893 : return -1;
13894 : }
13895 : }
13896 :
13897 : int
13898 1493893 : recog_70 (rtx x1 ATTRIBUTE_UNUSED,
13899 : rtx_insn *insn ATTRIBUTE_UNUSED,
13900 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13901 : {
13902 1493893 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13903 1493893 : rtx x2, x3, x4, x5;
13904 1493893 : int res ATTRIBUTE_UNUSED;
13905 1493893 : x2 = XEXP (x1, 0);
13906 1493893 : operands[0] = x2;
13907 1493893 : x3 = XEXP (x1, 1);
13908 1493893 : x4 = XEXP (x3, 0);
13909 1493893 : switch (GET_CODE (x4))
13910 : {
13911 1394252 : case REG:
13912 1394252 : case SUBREG:
13913 1394252 : operands[1] = x4;
13914 1394252 : switch (GET_MODE (operands[0]))
13915 : {
13916 7177 : case E_V2SFmode:
13917 7177 : if (!register_operand (operands[0], E_V2SFmode)
13918 6705 : || GET_MODE (x3) != E_V2SFmode
13919 6705 : || !register_operand (operands[1], E_SFmode)
13920 7177 : || !insn_condition_114 (operands, insn))
13921 472 : return -1;
13922 : return 2249; /* *vec_dupv2sf */
13923 :
13924 37 : case E_V4HFmode:
13925 37 : if (!register_operand (operands[0], E_V4HFmode)
13926 32 : || GET_MODE (x3) != E_V4HFmode
13927 32 : || !register_operand (operands[1], E_HFmode)
13928 37 : || !insn_condition_228 (operands, insn))
13929 5 : return -1;
13930 : return 2504; /* *vec_dupv4hf */
13931 :
13932 0 : case E_V4BFmode:
13933 0 : if (!register_operand (operands[0], E_V4BFmode)
13934 0 : || GET_MODE (x3) != E_V4BFmode
13935 0 : || !register_operand (operands[1], E_BFmode)
13936 0 : || !insn_condition_228 (operands, insn))
13937 0 : return -1;
13938 : return 2505; /* *vec_dupv4bf */
13939 :
13940 3390 : case E_V4HImode:
13941 3390 : if (!register_operand (operands[0], E_V4HImode)
13942 3329 : || GET_MODE (x3) != E_V4HImode
13943 3329 : || !register_operand (operands[1], E_HImode)
13944 3390 : || !insn_condition_228 (operands, insn))
13945 72 : return -1;
13946 : return 2506; /* *vec_dupv4hi */
13947 :
13948 11801 : case E_V2SImode:
13949 11801 : if (!register_operand (operands[0], E_V2SImode)
13950 10606 : || GET_MODE (x3) != E_V2SImode
13951 10606 : || !register_operand (operands[1], E_SImode)
13952 11801 : || !insn_condition_114 (operands, insn))
13953 1204 : return -1;
13954 : return 2507; /* *vec_dupv2si */
13955 :
13956 61 : case E_V2HFmode:
13957 61 : if (!register_operand (operands[0], E_V2HFmode)
13958 50 : || GET_MODE (x3) != E_V2HFmode
13959 50 : || !register_operand (operands[1], E_HFmode)
13960 111 : || !insn_condition_141 (operands, insn))
13961 11 : return -1;
13962 : return 2535; /* *vec_dupv2hf */
13963 :
13964 0 : case E_V2BFmode:
13965 0 : if (!register_operand (operands[0], E_V2BFmode)
13966 0 : || GET_MODE (x3) != E_V2BFmode
13967 0 : || !register_operand (operands[1], E_BFmode)
13968 0 : || !insn_condition_141 (operands, insn))
13969 0 : return -1;
13970 : return 2536; /* *vec_dupv2bf */
13971 :
13972 1054 : case E_V2HImode:
13973 1054 : if (!register_operand (operands[0], E_V2HImode)
13974 999 : || GET_MODE (x3) != E_V2HImode
13975 999 : || !register_operand (operands[1], E_HImode)
13976 2053 : || !insn_condition_141 (operands, insn))
13977 55 : return -1;
13978 : return 2537; /* *vec_dupv2hi */
13979 :
13980 : default:
13981 : return -1;
13982 : }
13983 :
13984 1010 : case TRUNCATE:
13985 1010 : if (GET_MODE (x4) != E_HImode)
13986 : return -1;
13987 1010 : x5 = XEXP (x4, 0);
13988 1010 : operands[1] = x5;
13989 1010 : if (!register_operand (operands[1], E_SImode))
13990 : return -1;
13991 1010 : switch (GET_MODE (operands[0]))
13992 : {
13993 762 : case E_V4HImode:
13994 762 : if (!register_operand (operands[0], E_V4HImode)
13995 762 : || GET_MODE (x3) != E_V4HImode
13996 1524 : || !insn_condition_542 (operands, insn))
13997 0 : return -1;
13998 : return 2503; /* *vec_dupv4hi */
13999 :
14000 248 : case E_V2HImode:
14001 248 : if (!register_operand (operands[0], E_V2HImode)
14002 248 : || GET_MODE (x3) != E_V2HImode
14003 496 : || !insn_condition_141 (operands, insn))
14004 0 : return -1;
14005 : return 2534; /* *vec_dupv2hi */
14006 :
14007 : default:
14008 : return -1;
14009 : }
14010 :
14011 : default:
14012 : return -1;
14013 : }
14014 : }
14015 :
14016 : int
14017 343278 : recog_73 (rtx x1 ATTRIBUTE_UNUSED,
14018 : rtx_insn *insn ATTRIBUTE_UNUSED,
14019 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14020 : {
14021 343278 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14022 343278 : rtx x2, x3, x4, x5, x6, x7, x8;
14023 343278 : int res ATTRIBUTE_UNUSED;
14024 343278 : x2 = XEXP (x1, 0);
14025 343278 : operands[0] = x2;
14026 343278 : x3 = XEXP (x1, 1);
14027 343278 : x4 = XEXP (x3, 1);
14028 343278 : operands[2] = x4;
14029 343278 : x5 = XEXP (x3, 0);
14030 343278 : switch (GET_CODE (x5))
14031 : {
14032 239013 : case REG:
14033 239013 : case SUBREG:
14034 239013 : case MEM:
14035 239013 : case VEC_DUPLICATE:
14036 239013 : operands[1] = x5;
14037 239013 : x6 = XEXP (x3, 2);
14038 239013 : switch (GET_CODE (x6))
14039 : {
14040 193521 : case REG:
14041 193521 : case SUBREG:
14042 193521 : case MEM:
14043 193521 : case VEC_DUPLICATE:
14044 193521 : operands[3] = x6;
14045 193521 : switch (GET_MODE (operands[0]))
14046 : {
14047 49300 : case E_SFmode:
14048 49300 : if (!register_operand (operands[0], E_SFmode)
14049 49300 : || GET_MODE (x3) != E_SFmode)
14050 : return -1;
14051 46746 : if (nonimmediate_operand (operands[1], E_SFmode)
14052 45928 : && nonimmediate_operand (operands[2], E_SFmode)
14053 44579 : && nonimmediate_operand (operands[3], E_SFmode)
14054 46746 : && insn_condition_559 (operands, insn))
14055 : return 3982; /* *fma_fmadd_sf */
14056 10543 : if (!bcst_vector_operand (operands[1], E_SFmode)
14057 9725 : || !bcst_vector_operand (operands[2], E_SFmode)
14058 8376 : || !bcst_vector_operand (operands[3], E_SFmode)
14059 18917 : || !insn_condition_560 (operands, insn))
14060 2169 : return -1;
14061 : return 3997; /* *fma_fmadd_sf */
14062 :
14063 22419 : case E_DFmode:
14064 22419 : if (!register_operand (operands[0], E_DFmode)
14065 22419 : || GET_MODE (x3) != E_DFmode)
14066 : return -1;
14067 20919 : if (nonimmediate_operand (operands[1], E_DFmode)
14068 20480 : && nonimmediate_operand (operands[2], E_DFmode)
14069 19504 : && nonimmediate_operand (operands[3], E_DFmode)
14070 20919 : && insn_condition_559 (operands, insn))
14071 : return 3983; /* *fma_fmadd_df */
14072 6317 : if (!bcst_vector_operand (operands[1], E_DFmode)
14073 5878 : || !bcst_vector_operand (operands[2], E_DFmode)
14074 4902 : || !bcst_vector_operand (operands[3], E_DFmode)
14075 11201 : || !insn_condition_560 (operands, insn))
14076 1433 : return -1;
14077 : return 4006; /* *fma_fmadd_df */
14078 :
14079 564 : case E_HFmode:
14080 564 : if (pattern912 (x3,
14081 : E_HFmode) != 0
14082 564 : || !insn_condition_561 (operands, insn))
14083 14 : return -1;
14084 : return 3996; /* *fma_fmadd_hf */
14085 :
14086 : default:
14087 : return -1;
14088 : }
14089 :
14090 21693 : case NEG:
14091 21693 : x7 = XEXP (x6, 0);
14092 21693 : operands[3] = x7;
14093 21693 : switch (GET_MODE (operands[0]))
14094 : {
14095 10508 : case E_SFmode:
14096 10508 : if (!register_operand (operands[0], E_SFmode)
14097 9432 : || GET_MODE (x3) != E_SFmode
14098 19940 : || GET_MODE (x6) != E_SFmode)
14099 : return -1;
14100 9432 : if (nonimmediate_operand (operands[1], E_SFmode)
14101 9432 : && nonimmediate_operand (operands[2], E_SFmode)
14102 9432 : && nonimmediate_operand (operands[3], E_SFmode)
14103 9432 : && insn_condition_559 (operands, insn))
14104 : return 4045; /* *fma_fmsub_sf */
14105 269 : if (!bcst_vector_operand (operands[1], E_SFmode)
14106 269 : || !bcst_vector_operand (operands[2], E_SFmode)
14107 269 : || !bcst_vector_operand (operands[3], E_SFmode)
14108 534 : || !insn_condition_560 (operands, insn))
14109 4 : return -1;
14110 : return 4060; /* *fma_fmsub_sf */
14111 :
14112 5513 : case E_DFmode:
14113 5513 : if (!register_operand (operands[0], E_DFmode)
14114 4967 : || GET_MODE (x3) != E_DFmode
14115 10480 : || GET_MODE (x6) != E_DFmode)
14116 : return -1;
14117 4967 : if (nonimmediate_operand (operands[1], E_DFmode)
14118 4967 : && nonimmediate_operand (operands[2], E_DFmode)
14119 4953 : && nonimmediate_operand (operands[3], E_DFmode)
14120 4967 : && insn_condition_559 (operands, insn))
14121 : return 4046; /* *fma_fmsub_df */
14122 86 : if (!bcst_vector_operand (operands[1], E_DFmode)
14123 86 : || !bcst_vector_operand (operands[2], E_DFmode)
14124 72 : || !bcst_vector_operand (operands[3], E_DFmode)
14125 150 : || !insn_condition_560 (operands, insn))
14126 22 : return -1;
14127 : return 4069; /* *fma_fmsub_df */
14128 :
14129 86 : case E_HFmode:
14130 86 : if (pattern913 (x3,
14131 : E_HFmode) != 0
14132 86 : || !insn_condition_561 (operands, insn))
14133 0 : return -1;
14134 : return 4059; /* *fma_fmsub_hf */
14135 :
14136 : default:
14137 : return -1;
14138 : }
14139 :
14140 : default:
14141 : return -1;
14142 : }
14143 :
14144 75989 : case NEG:
14145 75989 : x8 = XEXP (x5, 0);
14146 75989 : operands[1] = x8;
14147 75989 : x6 = XEXP (x3, 2);
14148 75989 : switch (GET_CODE (x6))
14149 : {
14150 49486 : case REG:
14151 49486 : case SUBREG:
14152 49486 : case MEM:
14153 49486 : case VEC_DUPLICATE:
14154 49486 : operands[3] = x6;
14155 49486 : switch (GET_MODE (operands[0]))
14156 : {
14157 13737 : case E_SFmode:
14158 13737 : if (!register_operand (operands[0], E_SFmode)
14159 12822 : || GET_MODE (x3) != E_SFmode
14160 26559 : || GET_MODE (x5) != E_SFmode)
14161 : return -1;
14162 12822 : if (nonimmediate_operand (operands[1], E_SFmode)
14163 12447 : && nonimmediate_operand (operands[2], E_SFmode)
14164 12107 : && nonimmediate_operand (operands[3], E_SFmode)
14165 12822 : && insn_condition_559 (operands, insn))
14166 : return 4108; /* *fma_fnmadd_sf */
14167 2358 : if (!bcst_vector_operand (operands[1], E_SFmode)
14168 1983 : || !bcst_vector_operand (operands[2], E_SFmode)
14169 1643 : || !bcst_vector_operand (operands[3], E_SFmode)
14170 3992 : || !insn_condition_560 (operands, insn))
14171 724 : return -1;
14172 : return 4123; /* *fma_fnmadd_sf */
14173 :
14174 5762 : case E_DFmode:
14175 5762 : if (!register_operand (operands[0], E_DFmode)
14176 5413 : || GET_MODE (x3) != E_DFmode
14177 11175 : || GET_MODE (x5) != E_DFmode)
14178 : return -1;
14179 5413 : if (nonimmediate_operand (operands[1], E_DFmode)
14180 5075 : && nonimmediate_operand (operands[2], E_DFmode)
14181 4928 : && nonimmediate_operand (operands[3], E_DFmode)
14182 5413 : && insn_condition_559 (operands, insn))
14183 : return 4109; /* *fma_fnmadd_df */
14184 1761 : if (!bcst_vector_operand (operands[1], E_DFmode)
14185 1423 : || !bcst_vector_operand (operands[2], E_DFmode)
14186 1276 : || !bcst_vector_operand (operands[3], E_DFmode)
14187 3037 : || !insn_condition_560 (operands, insn))
14188 485 : return -1;
14189 : return 4132; /* *fma_fnmadd_df */
14190 :
14191 95 : case E_HFmode:
14192 95 : if (pattern914 (x3,
14193 : E_HFmode) != 0
14194 95 : || !insn_condition_561 (operands, insn))
14195 0 : return -1;
14196 : return 4122; /* *fma_fnmadd_hf */
14197 :
14198 : default:
14199 : return -1;
14200 : }
14201 :
14202 13761 : case NEG:
14203 13761 : x7 = XEXP (x6, 0);
14204 13761 : operands[3] = x7;
14205 13761 : switch (GET_MODE (operands[0]))
14206 : {
14207 5843 : case E_SFmode:
14208 5843 : if (pattern915 (x3,
14209 : E_SFmode) != 0)
14210 : return -1;
14211 5528 : if (nonimmediate_operand (operands[1], E_SFmode)
14212 5426 : && nonimmediate_operand (operands[2], E_SFmode)
14213 5138 : && nonimmediate_operand (operands[3], E_SFmode)
14214 5528 : && insn_condition_559 (operands, insn))
14215 : return 4165; /* *fma_fnmsub_sf */
14216 432 : if (!bcst_vector_operand (operands[1], E_SFmode)
14217 330 : || !bcst_vector_operand (operands[2], E_SFmode)
14218 42 : || !bcst_vector_operand (operands[3], E_SFmode)
14219 470 : || !insn_condition_560 (operands, insn))
14220 394 : return -1;
14221 : return 4194; /* *fma_fnmsub_sf */
14222 :
14223 3215 : case E_DFmode:
14224 3215 : if (pattern915 (x3,
14225 : E_DFmode) != 0)
14226 : return -1;
14227 3063 : if (nonimmediate_operand (operands[1], E_DFmode)
14228 2955 : && nonimmediate_operand (operands[2], E_DFmode)
14229 2811 : && nonimmediate_operand (operands[3], E_DFmode)
14230 3063 : && insn_condition_559 (operands, insn))
14231 : return 4167; /* *fma_fnmsub_df */
14232 294 : if (!bcst_vector_operand (operands[1], E_DFmode)
14233 186 : || !bcst_vector_operand (operands[2], E_DFmode)
14234 42 : || !bcst_vector_operand (operands[3], E_DFmode)
14235 328 : || !insn_condition_560 (operands, insn))
14236 260 : return -1;
14237 : return 4203; /* *fma_fnmsub_df */
14238 :
14239 50 : case E_HFmode:
14240 50 : if (pattern916 (x3,
14241 : E_HFmode) != 0
14242 50 : || !insn_condition_561 (operands, insn))
14243 0 : return -1;
14244 : return 4193; /* *fma_fnmsub_hf */
14245 :
14246 : default:
14247 : return -1;
14248 : }
14249 :
14250 : default:
14251 : return -1;
14252 : }
14253 :
14254 : default:
14255 : return -1;
14256 : }
14257 : }
14258 :
14259 : int
14260 1761 : recog_81 (rtx x1 ATTRIBUTE_UNUSED,
14261 : rtx_insn *insn ATTRIBUTE_UNUSED,
14262 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14263 : {
14264 1761 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14265 1761 : rtx x2, x3, x4, x5, x6;
14266 1761 : int res ATTRIBUTE_UNUSED;
14267 1761 : x2 = XEXP (x1, 1);
14268 1761 : x3 = XEXP (x2, 0);
14269 1761 : switch (XVECLEN (x3, 0))
14270 : {
14271 139 : case 1:
14272 139 : if (!register_operand (operands[0], E_DImode)
14273 108 : || GET_MODE (x2) != E_DImode
14274 247 : || GET_MODE (x3) != E_SImode)
14275 : return -1;
14276 108 : switch (XINT (x3, 1))
14277 : {
14278 8 : case 18:
14279 8 : x4 = XVECEXP (x3, 0, 0);
14280 8 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
14281 8 : || !insn_condition_635 (operands, insn))
14282 0 : return -1;
14283 : return 1799; /* *load_tp_x32_zext */
14284 :
14285 6 : case 155:
14286 6 : x4 = XVECEXP (x3, 0, 0);
14287 6 : switch (GET_CODE (x4))
14288 : {
14289 6 : case VEC_SELECT:
14290 6 : switch (pattern1019 (x4))
14291 : {
14292 2 : case 0:
14293 2 : if (!register_operand (operands[1], E_V8HFmode)
14294 2 : || !insn_condition_291 (operands, insn))
14295 0 : return -1;
14296 : return 4704; /* *avx512fp16_vcvtsh2usi_zext */
14297 :
14298 2 : case 1:
14299 2 : if (!vector_operand (operands[1], E_V4SFmode)
14300 2 : || !insn_condition_615 (operands, insn))
14301 0 : return -1;
14302 : return 5077; /* *avx512f_vcvtss2usi_zext */
14303 :
14304 2 : case 2:
14305 2 : if (!vector_operand (operands[1], E_V2DFmode)
14306 2 : || !insn_condition_615 (operands, insn))
14307 0 : return -1;
14308 : return 5095; /* *avx512f_vcvtsd2usi_zext */
14309 :
14310 : default:
14311 : return -1;
14312 : }
14313 :
14314 0 : case REG:
14315 0 : case SUBREG:
14316 0 : case MEM:
14317 0 : operands[1] = x4;
14318 0 : if (!nonimmediate_operand (operands[1], E_HFmode)
14319 0 : || !insn_condition_291 (operands, insn))
14320 0 : return -1;
14321 : return 4712; /* *avx512fp16_vcvtsh2usi_2_zext */
14322 :
14323 : default:
14324 : return -1;
14325 : }
14326 :
14327 27 : case 43:
14328 27 : x4 = XVECEXP (x3, 0, 0);
14329 27 : switch (GET_CODE (x4))
14330 : {
14331 16 : case VEC_SELECT:
14332 16 : switch (pattern1019 (x4))
14333 : {
14334 2 : case 0:
14335 2 : if (!register_operand (operands[1], E_V8HFmode)
14336 2 : || !insn_condition_291 (operands, insn))
14337 0 : return -1;
14338 : return 4706; /* *avx512fp16_vcvtsh2si_zext */
14339 :
14340 12 : case 1:
14341 12 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
14342 12 : || !insn_condition_636 (operands, insn))
14343 0 : return -1;
14344 : return 4959; /* *sse_cvtss2si_zext */
14345 :
14346 2 : case 2:
14347 2 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
14348 2 : || !insn_condition_637 (operands, insn))
14349 0 : return -1;
14350 : return 5113; /* *sse2_cvtsd2si_zext */
14351 :
14352 : default:
14353 : return -1;
14354 : }
14355 :
14356 0 : case REG:
14357 0 : case SUBREG:
14358 0 : case MEM:
14359 0 : operands[1] = x4;
14360 0 : switch (GET_MODE (operands[1]))
14361 : {
14362 0 : case E_HFmode:
14363 0 : if (!nonimmediate_operand (operands[1], E_HFmode)
14364 0 : || !insn_condition_291 (operands, insn))
14365 0 : return -1;
14366 : return 4713; /* *avx512fp16_vcvtsh2si_2_zext */
14367 :
14368 0 : case E_SFmode:
14369 0 : if (!nonimmediate_operand (operands[1], E_SFmode)
14370 0 : || !insn_condition_636 (operands, insn))
14371 0 : return -1;
14372 : return 4963; /* *sse_cvtss2si_2_zext */
14373 :
14374 0 : case E_DFmode:
14375 0 : if (!nonimmediate_operand (operands[1], E_DFmode)
14376 0 : || !insn_condition_637 (operands, insn))
14377 0 : return -1;
14378 : return 5117; /* *sse2_cvtsd2si_2_zext */
14379 :
14380 : default:
14381 : return -1;
14382 : }
14383 :
14384 : default:
14385 : return -1;
14386 : }
14387 :
14388 16 : case 171:
14389 16 : x4 = XVECEXP (x3, 0, 0);
14390 16 : switch (pattern917 (x4))
14391 : {
14392 2 : case 0:
14393 2 : if (!insn_condition_291 (operands, insn))
14394 0 : return -1;
14395 : return 4862; /* *unspec_avx512fp16_fix_truncsi2_zext */
14396 :
14397 12 : case 1:
14398 12 : if (!insn_condition_636 (operands, insn))
14399 0 : return -1;
14400 : return 4968; /* *unspec_sse_cvttss2si_zext */
14401 :
14402 2 : case 2:
14403 2 : if (!insn_condition_637 (operands, insn))
14404 0 : return -1;
14405 : return 5122; /* *unspec_sse2_cvttsd2si_zext */
14406 :
14407 : default:
14408 : return -1;
14409 : }
14410 :
14411 6 : case 172:
14412 6 : x4 = XVECEXP (x3, 0, 0);
14413 6 : switch (pattern917 (x4))
14414 : {
14415 2 : case 0:
14416 2 : if (!insn_condition_291 (operands, insn))
14417 0 : return -1;
14418 : return 4864; /* *unspec_avx512fp16_fixuns_truncsi2_zext */
14419 :
14420 2 : case 1:
14421 2 : if (!insn_condition_615 (operands, insn))
14422 0 : return -1;
14423 : return 5083; /* *unspec_avx512f_vcvttss2usi_zext */
14424 :
14425 2 : case 2:
14426 2 : if (!insn_condition_615 (operands, insn))
14427 0 : return -1;
14428 : return 5101; /* *unspec_avx512f_vcvttsd2usi_zext */
14429 :
14430 : default:
14431 : return -1;
14432 : }
14433 :
14434 37 : case 46:
14435 37 : x4 = XVECEXP (x3, 0, 0);
14436 37 : switch (GET_CODE (x4))
14437 : {
14438 32 : case REG:
14439 32 : case SUBREG:
14440 32 : operands[1] = x4;
14441 32 : switch (GET_MODE (operands[1]))
14442 : {
14443 5 : case E_V8SFmode:
14444 5 : if (register_operand (operands[1], E_V8SFmode)
14445 5 : && insn_condition_638 (operands, insn))
14446 : return 7179; /* *avx_movmskps256_uext */
14447 : break;
14448 :
14449 2 : case E_V4SFmode:
14450 2 : if (register_operand (operands[1], E_V4SFmode)
14451 2 : && insn_condition_636 (operands, insn))
14452 : return 7181; /* *sse_movmskps_uext */
14453 : break;
14454 :
14455 4 : case E_V4DFmode:
14456 4 : if (register_operand (operands[1], E_V4DFmode)
14457 4 : && insn_condition_638 (operands, insn))
14458 : return 7183; /* *avx_movmskpd256_uext */
14459 : break;
14460 :
14461 5 : case E_V2DFmode:
14462 5 : if (register_operand (operands[1], E_V2DFmode)
14463 5 : && insn_condition_639 (operands, insn))
14464 : return 7185; /* *sse2_movmskpd_uext */
14465 : break;
14466 :
14467 6 : case E_V32QImode:
14468 6 : if (register_operand (operands[1], E_V32QImode)
14469 6 : && insn_condition_640 (operands, insn))
14470 : return 7224; /* *avx2_pmovmskb_zext */
14471 : break;
14472 :
14473 10 : case E_V16QImode:
14474 10 : if (register_operand (operands[1], E_V16QImode)
14475 10 : && insn_condition_637 (operands, insn))
14476 : return 7225; /* *sse2_pmovmskb_zext */
14477 : break;
14478 :
14479 : default:
14480 : break;
14481 : }
14482 2 : if (GET_CODE (x4) != SUBREG)
14483 : return -1;
14484 2 : switch (pattern1133 (x4))
14485 : {
14486 0 : case 0:
14487 0 : if (!insn_condition_638 (operands, insn))
14488 0 : return -1;
14489 : return 7203; /* *avx_movmskps256_uext_lt_avx512 */
14490 :
14491 0 : case 1:
14492 0 : if (!insn_condition_636 (operands, insn))
14493 0 : return -1;
14494 : return 7205; /* *sse_movmskps_uext_lt_avx512 */
14495 :
14496 0 : case 2:
14497 0 : if (!insn_condition_638 (operands, insn))
14498 0 : return -1;
14499 : return 7207; /* *avx_movmskpd256_uext_lt_avx512 */
14500 :
14501 0 : case 3:
14502 0 : if (!insn_condition_639 (operands, insn))
14503 0 : return -1;
14504 : return 7209; /* *sse2_movmskpd_uext_lt_avx512 */
14505 :
14506 1 : case 4:
14507 1 : if (!insn_condition_638 (operands, insn))
14508 0 : return -1;
14509 : return 7215; /* *avx_movmskps256_uext_shift */
14510 :
14511 0 : case 5:
14512 0 : if (!insn_condition_636 (operands, insn))
14513 0 : return -1;
14514 : return 7217; /* *sse_movmskps_uext_shift */
14515 :
14516 0 : case 6:
14517 0 : if (!insn_condition_638 (operands, insn))
14518 0 : return -1;
14519 : return 7219; /* *avx_movmskpd256_uext_shift */
14520 :
14521 1 : case 7:
14522 1 : if (!insn_condition_639 (operands, insn))
14523 0 : return -1;
14524 : return 7221; /* *sse2_movmskpd_uext_shift */
14525 :
14526 : default:
14527 : return -1;
14528 : }
14529 :
14530 5 : case LT:
14531 5 : switch (pattern1020 (x4))
14532 : {
14533 0 : case 0:
14534 0 : if (!insn_condition_638 (operands, insn))
14535 0 : return -1;
14536 : return 7195; /* *avx_movmskps256_uext_lt */
14537 :
14538 0 : case 1:
14539 0 : if (!insn_condition_636 (operands, insn))
14540 0 : return -1;
14541 : return 7197; /* *sse_movmskps_uext_lt */
14542 :
14543 1 : case 2:
14544 1 : if (!insn_condition_638 (operands, insn))
14545 0 : return -1;
14546 : return 7199; /* *avx_movmskpd256_uext_lt */
14547 :
14548 0 : case 3:
14549 0 : if (!insn_condition_639 (operands, insn))
14550 0 : return -1;
14551 : return 7201; /* *sse2_movmskpd_uext_lt */
14552 :
14553 1 : case 4:
14554 1 : if (!insn_condition_640 (operands, insn))
14555 0 : return -1;
14556 : return 7232; /* *avx2_pmovmskb_zext_lt */
14557 :
14558 3 : case 5:
14559 3 : if (!insn_condition_637 (operands, insn))
14560 0 : return -1;
14561 : return 7233; /* *sse2_pmovmskb_zext_lt */
14562 :
14563 : default:
14564 : return -1;
14565 : }
14566 :
14567 0 : case VEC_MERGE:
14568 0 : switch (pattern1022 (x4))
14569 : {
14570 0 : case 0:
14571 0 : if (!insn_condition_640 (operands, insn))
14572 0 : return -1;
14573 : return 7234; /* *avx2_pmovmskb_zext_lt_avx512 */
14574 :
14575 0 : case 1:
14576 0 : if (!insn_condition_637 (operands, insn))
14577 0 : return -1;
14578 : return 7235; /* *sse2_pmovmskb_zext_lt_avx512 */
14579 :
14580 : default:
14581 : return -1;
14582 : }
14583 :
14584 : default:
14585 : return -1;
14586 : }
14587 :
14588 4 : case 274:
14589 4 : x4 = XVECEXP (x3, 0, 0);
14590 4 : switch (pattern918 (x4))
14591 : {
14592 2 : case 0:
14593 2 : if (!insn_condition_641 (operands, insn))
14594 0 : return -1;
14595 : return 9585; /* *avx10_2_vcvttsd2sissi_zext */
14596 :
14597 2 : case 1:
14598 2 : if (!insn_condition_641 (operands, insn))
14599 0 : return -1;
14600 : return 9597; /* *avx10_2_vcvttss2sissi_zext */
14601 :
14602 : default:
14603 : return -1;
14604 : }
14605 :
14606 4 : case 275:
14607 4 : x4 = XVECEXP (x3, 0, 0);
14608 4 : switch (pattern918 (x4))
14609 : {
14610 2 : case 0:
14611 2 : if (!insn_condition_641 (operands, insn))
14612 0 : return -1;
14613 : return 9587; /* *avx10_2_vcvttsd2usissi_zext */
14614 :
14615 2 : case 1:
14616 2 : if (!insn_condition_641 (operands, insn))
14617 0 : return -1;
14618 : return 9599; /* *avx10_2_vcvttss2usissi_zext */
14619 :
14620 : default:
14621 : return -1;
14622 : }
14623 :
14624 : default:
14625 : return -1;
14626 : }
14627 :
14628 1061 : case 2:
14629 1061 : return recog_80 (x1, insn, pnum_clobbers);
14630 :
14631 561 : case 3:
14632 561 : x4 = XVECEXP (x3, 0, 0);
14633 561 : operands[1] = x4;
14634 561 : x5 = XVECEXP (x3, 0, 1);
14635 561 : operands[2] = x5;
14636 561 : x6 = XVECEXP (x3, 0, 2);
14637 561 : operands[3] = x6;
14638 561 : switch (XINT (x3, 1))
14639 : {
14640 379 : case 56:
14641 379 : switch (GET_MODE (operands[0]))
14642 : {
14643 218 : case E_SImode:
14644 218 : switch (pattern1024 (x2,
14645 : E_SImode))
14646 : {
14647 11 : case 0:
14648 11 : if (!insn_condition_642 (operands, insn))
14649 2 : return -1;
14650 : return 3463; /* *avx512f_cmpv16si3_zero_extendsi */
14651 :
14652 10 : case 1:
14653 10 : if (!insn_condition_643 (operands, insn))
14654 0 : return -1;
14655 : return 3484; /* *avx512vl_cmpv16hf3_zero_extendsi */
14656 :
14657 10 : case 2:
14658 10 : if (!insn_condition_644 (operands, insn))
14659 0 : return -1;
14660 : return 3490; /* *avx512f_cmpv16sf3_zero_extendsi */
14661 :
14662 12 : case 3:
14663 12 : if (!insn_condition_645 (operands, insn))
14664 0 : return -1;
14665 : return 3610; /* *avx512vl_cmpv16qi3_zero_extendsi */
14666 :
14667 6 : case 4:
14668 6 : if (!insn_condition_646 (operands, insn))
14669 0 : return -1;
14670 : return 3619; /* *avx512vl_cmpv16hi3_zero_extendsi */
14671 :
14672 15 : case 5:
14673 15 : if (!insn_condition_647 (operands, insn))
14674 3 : return -1;
14675 : return 3466; /* *avx512vl_cmpv8si3_zero_extendsi */
14676 :
14677 7 : case 6:
14678 7 : if (!insn_condition_648 (operands, insn))
14679 1 : return -1;
14680 : return 3469; /* *avx512vl_cmpv4si3_zero_extendsi */
14681 :
14682 8 : case 7:
14683 8 : if (!insn_condition_649 (operands, insn))
14684 0 : return -1;
14685 : return 3472; /* *avx512f_cmpv8di3_zero_extendsi */
14686 :
14687 6 : case 8:
14688 6 : if (!insn_condition_650 (operands, insn))
14689 0 : return -1;
14690 : return 3475; /* *avx512vl_cmpv4di3_zero_extendsi */
14691 :
14692 6 : case 9:
14693 6 : if (!insn_condition_651 (operands, insn))
14694 0 : return -1;
14695 : return 3478; /* *avx512vl_cmpv2di3_zero_extendsi */
14696 :
14697 13 : case 10:
14698 13 : if (!insn_condition_652 (operands, insn))
14699 0 : return -1;
14700 : return 3487; /* *avx512fp16_cmpv8hf3_zero_extendsi */
14701 :
14702 6 : case 11:
14703 6 : if (!insn_condition_653 (operands, insn))
14704 0 : return -1;
14705 : return 3493; /* *avx512vl_cmpv8sf3_zero_extendsi */
14706 :
14707 6 : case 12:
14708 6 : if (!insn_condition_654 (operands, insn))
14709 0 : return -1;
14710 : return 3496; /* *avx512vl_cmpv4sf3_zero_extendsi */
14711 :
14712 10 : case 13:
14713 10 : if (!insn_condition_655 (operands, insn))
14714 0 : return -1;
14715 : return 3499; /* *avx512f_cmpv8df3_zero_extendsi */
14716 :
14717 6 : case 14:
14718 6 : if (!insn_condition_656 (operands, insn))
14719 0 : return -1;
14720 : return 3502; /* *avx512vl_cmpv4df3_zero_extendsi */
14721 :
14722 6 : case 15:
14723 6 : if (!insn_condition_657 (operands, insn))
14724 0 : return -1;
14725 : return 3505; /* *avx512vl_cmpv2df3_zero_extendsi */
14726 :
14727 8 : case 16:
14728 8 : if (!insn_condition_658 (operands, insn))
14729 0 : return -1;
14730 : return 3622; /* *avx512vl_cmpv8hi3_zero_extendsi */
14731 :
14732 0 : case 17:
14733 0 : if (!insn_condition_659 (operands, insn))
14734 0 : return -1;
14735 : return 3481; /* *avx512bw_cmpv32hf3_zero_extendsi */
14736 :
14737 0 : case 18:
14738 0 : if (!insn_condition_660 (operands, insn))
14739 0 : return -1;
14740 : return 3613; /* *avx512vl_cmpv32qi3_zero_extendsi */
14741 :
14742 0 : case 19:
14743 0 : if (!insn_condition_661 (operands, insn))
14744 0 : return -1;
14745 : return 3616; /* *avx512bw_cmpv32hi3_zero_extendsi */
14746 :
14747 0 : case 20:
14748 0 : if (!insn_condition_662 (operands, insn))
14749 0 : return -1;
14750 : return 3607; /* *avx512bw_cmpv64qi3_zero_extendsi */
14751 :
14752 : default:
14753 : return -1;
14754 : }
14755 :
14756 151 : case E_DImode:
14757 151 : switch (pattern1024 (x2,
14758 : E_DImode))
14759 : {
14760 6 : case 0:
14761 6 : if (!insn_condition_663 (operands, insn))
14762 0 : return -1;
14763 : return 3464; /* *avx512f_cmpv16si3_zero_extenddi */
14764 :
14765 6 : case 1:
14766 6 : if (!insn_condition_664 (operands, insn))
14767 0 : return -1;
14768 : return 3485; /* *avx512vl_cmpv16hf3_zero_extenddi */
14769 :
14770 10 : case 2:
14771 10 : if (!insn_condition_665 (operands, insn))
14772 0 : return -1;
14773 : return 3491; /* *avx512f_cmpv16sf3_zero_extenddi */
14774 :
14775 6 : case 3:
14776 6 : if (!insn_condition_666 (operands, insn))
14777 0 : return -1;
14778 : return 3611; /* *avx512vl_cmpv16qi3_zero_extenddi */
14779 :
14780 6 : case 4:
14781 6 : if (!insn_condition_667 (operands, insn))
14782 0 : return -1;
14783 : return 3620; /* *avx512vl_cmpv16hi3_zero_extenddi */
14784 :
14785 6 : case 5:
14786 6 : if (!insn_condition_668 (operands, insn))
14787 0 : return -1;
14788 : return 3467; /* *avx512vl_cmpv8si3_zero_extenddi */
14789 :
14790 6 : case 6:
14791 6 : if (!insn_condition_669 (operands, insn))
14792 0 : return -1;
14793 : return 3470; /* *avx512vl_cmpv4si3_zero_extenddi */
14794 :
14795 6 : case 7:
14796 6 : if (!insn_condition_670 (operands, insn))
14797 0 : return -1;
14798 : return 3473; /* *avx512f_cmpv8di3_zero_extenddi */
14799 :
14800 6 : case 8:
14801 6 : if (!insn_condition_671 (operands, insn))
14802 0 : return -1;
14803 : return 3476; /* *avx512vl_cmpv4di3_zero_extenddi */
14804 :
14805 6 : case 9:
14806 6 : if (!insn_condition_672 (operands, insn))
14807 0 : return -1;
14808 : return 3479; /* *avx512vl_cmpv2di3_zero_extenddi */
14809 :
14810 9 : case 10:
14811 9 : if (!insn_condition_673 (operands, insn))
14812 0 : return -1;
14813 : return 3488; /* *avx512fp16_cmpv8hf3_zero_extenddi */
14814 :
14815 6 : case 11:
14816 6 : if (!insn_condition_674 (operands, insn))
14817 0 : return -1;
14818 : return 3494; /* *avx512vl_cmpv8sf3_zero_extenddi */
14819 :
14820 6 : case 12:
14821 6 : if (!insn_condition_675 (operands, insn))
14822 0 : return -1;
14823 : return 3497; /* *avx512vl_cmpv4sf3_zero_extenddi */
14824 :
14825 10 : case 13:
14826 10 : if (!insn_condition_676 (operands, insn))
14827 0 : return -1;
14828 : return 3500; /* *avx512f_cmpv8df3_zero_extenddi */
14829 :
14830 6 : case 14:
14831 6 : if (!insn_condition_677 (operands, insn))
14832 0 : return -1;
14833 : return 3503; /* *avx512vl_cmpv4df3_zero_extenddi */
14834 :
14835 6 : case 15:
14836 6 : if (!insn_condition_678 (operands, insn))
14837 0 : return -1;
14838 : return 3506; /* *avx512vl_cmpv2df3_zero_extenddi */
14839 :
14840 8 : case 16:
14841 8 : if (!insn_condition_679 (operands, insn))
14842 0 : return -1;
14843 : return 3623; /* *avx512vl_cmpv8hi3_zero_extenddi */
14844 :
14845 6 : case 17:
14846 6 : if (!insn_condition_680 (operands, insn))
14847 0 : return -1;
14848 : return 3482; /* *avx512bw_cmpv32hf3_zero_extenddi */
14849 :
14850 6 : case 18:
14851 6 : if (!insn_condition_681 (operands, insn))
14852 0 : return -1;
14853 : return 3614; /* *avx512vl_cmpv32qi3_zero_extenddi */
14854 :
14855 6 : case 19:
14856 6 : if (!insn_condition_682 (operands, insn))
14857 0 : return -1;
14858 : return 3617; /* *avx512bw_cmpv32hi3_zero_extenddi */
14859 :
14860 0 : case 20:
14861 0 : if (!insn_condition_683 (operands, insn))
14862 0 : return -1;
14863 : return 3608; /* *avx512bw_cmpv64qi3_zero_extenddi */
14864 :
14865 : default:
14866 : return -1;
14867 : }
14868 :
14869 : default:
14870 : return -1;
14871 : }
14872 :
14873 151 : case 156:
14874 151 : if (!const_0_to_7_operand (operands[3], E_SImode))
14875 : return -1;
14876 151 : switch (GET_MODE (operands[0]))
14877 : {
14878 68 : case E_SImode:
14879 68 : switch (pattern1135 (x2,
14880 : E_SImode))
14881 : {
14882 0 : case 0:
14883 0 : if (!insn_condition_684 (operands, insn))
14884 0 : return -1;
14885 : return 3703; /* *avx512bw_ucmpv64qi3_zero_extendsi */
14886 :
14887 6 : case 1:
14888 6 : if (!insn_condition_685 (operands, insn))
14889 0 : return -1;
14890 : return 3706; /* *avx512vl_ucmpv16qi3_zero_extendsi */
14891 :
14892 8 : case 2:
14893 8 : if (!insn_condition_686 (operands, insn))
14894 0 : return -1;
14895 : return 3715; /* *avx512vl_ucmpv16hi3_zero_extendsi */
14896 :
14897 8 : case 3:
14898 8 : if (!insn_condition_642 (operands, insn))
14899 2 : return -1;
14900 : return 3787; /* *avx512f_ucmpv16si3_zero_extendsi */
14901 :
14902 0 : case 4:
14903 0 : if (!insn_condition_687 (operands, insn))
14904 0 : return -1;
14905 : return 3709; /* *avx512vl_ucmpv32qi3_zero_extendsi */
14906 :
14907 0 : case 5:
14908 0 : if (!insn_condition_688 (operands, insn))
14909 0 : return -1;
14910 : return 3712; /* *avx512bw_ucmpv32hi3_zero_extendsi */
14911 :
14912 8 : case 6:
14913 8 : if (!insn_condition_689 (operands, insn))
14914 0 : return -1;
14915 : return 3718; /* *avx512vl_ucmpv8hi3_zero_extendsi */
14916 :
14917 6 : case 7:
14918 6 : if (!insn_condition_647 (operands, insn))
14919 0 : return -1;
14920 : return 3790; /* *avx512vl_ucmpv8si3_zero_extendsi */
14921 :
14922 6 : case 8:
14923 6 : if (!insn_condition_648 (operands, insn))
14924 0 : return -1;
14925 : return 3793; /* *avx512vl_ucmpv4si3_zero_extendsi */
14926 :
14927 6 : case 9:
14928 6 : if (!insn_condition_649 (operands, insn))
14929 0 : return -1;
14930 : return 3796; /* *avx512f_ucmpv8di3_zero_extendsi */
14931 :
14932 6 : case 10:
14933 6 : if (!insn_condition_650 (operands, insn))
14934 0 : return -1;
14935 : return 3799; /* *avx512vl_ucmpv4di3_zero_extendsi */
14936 :
14937 6 : case 11:
14938 6 : if (!insn_condition_651 (operands, insn))
14939 0 : return -1;
14940 : return 3802; /* *avx512vl_ucmpv2di3_zero_extendsi */
14941 :
14942 : default:
14943 : return -1;
14944 : }
14945 :
14946 78 : case E_DImode:
14947 78 : switch (pattern1135 (x2,
14948 : E_DImode))
14949 : {
14950 0 : case 0:
14951 0 : if (!insn_condition_690 (operands, insn))
14952 0 : return -1;
14953 : return 3704; /* *avx512bw_ucmpv64qi3_zero_extenddi */
14954 :
14955 6 : case 1:
14956 6 : if (!insn_condition_691 (operands, insn))
14957 0 : return -1;
14958 : return 3707; /* *avx512vl_ucmpv16qi3_zero_extenddi */
14959 :
14960 6 : case 2:
14961 6 : if (!insn_condition_692 (operands, insn))
14962 0 : return -1;
14963 : return 3716; /* *avx512vl_ucmpv16hi3_zero_extenddi */
14964 :
14965 6 : case 3:
14966 6 : if (!insn_condition_663 (operands, insn))
14967 0 : return -1;
14968 : return 3788; /* *avx512f_ucmpv16si3_zero_extenddi */
14969 :
14970 6 : case 4:
14971 6 : if (!insn_condition_693 (operands, insn))
14972 0 : return -1;
14973 : return 3710; /* *avx512vl_ucmpv32qi3_zero_extenddi */
14974 :
14975 6 : case 5:
14976 6 : if (!insn_condition_694 (operands, insn))
14977 0 : return -1;
14978 : return 3713; /* *avx512bw_ucmpv32hi3_zero_extenddi */
14979 :
14980 8 : case 6:
14981 8 : if (!insn_condition_695 (operands, insn))
14982 0 : return -1;
14983 : return 3719; /* *avx512vl_ucmpv8hi3_zero_extenddi */
14984 :
14985 6 : case 7:
14986 6 : if (!insn_condition_668 (operands, insn))
14987 0 : return -1;
14988 : return 3791; /* *avx512vl_ucmpv8si3_zero_extenddi */
14989 :
14990 6 : case 8:
14991 6 : if (!insn_condition_669 (operands, insn))
14992 0 : return -1;
14993 : return 3794; /* *avx512vl_ucmpv4si3_zero_extenddi */
14994 :
14995 6 : case 9:
14996 6 : if (!insn_condition_670 (operands, insn))
14997 0 : return -1;
14998 : return 3797; /* *avx512f_ucmpv8di3_zero_extenddi */
14999 :
15000 6 : case 10:
15001 6 : if (!insn_condition_671 (operands, insn))
15002 0 : return -1;
15003 : return 3800; /* *avx512vl_ucmpv4di3_zero_extenddi */
15004 :
15005 6 : case 11:
15006 6 : if (!insn_condition_672 (operands, insn))
15007 0 : return -1;
15008 : return 3803; /* *avx512vl_ucmpv2di3_zero_extenddi */
15009 :
15010 : default:
15011 : return -1;
15012 : }
15013 :
15014 : default:
15015 : return -1;
15016 : }
15017 :
15018 : default:
15019 : return -1;
15020 : }
15021 :
15022 : default:
15023 : return -1;
15024 : }
15025 : }
15026 :
15027 : int
15028 668125 : recog_97 (rtx x1 ATTRIBUTE_UNUSED,
15029 : rtx_insn *insn ATTRIBUTE_UNUSED,
15030 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15031 : {
15032 668125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15033 668125 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
15034 668125 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
15035 668125 : rtx x18, x19, x20;
15036 668125 : int res ATTRIBUTE_UNUSED;
15037 668125 : x2 = XEXP (x1, 0);
15038 668125 : operands[0] = x2;
15039 668125 : x3 = XEXP (x1, 1);
15040 668125 : x4 = XEXP (x3, 0);
15041 668125 : switch (GET_CODE (x4))
15042 : {
15043 17022 : case ASHIFT:
15044 17022 : return recog_96 (x1, insn, pnum_clobbers);
15045 :
15046 452455 : case REG:
15047 452455 : case SUBREG:
15048 452455 : case MEM:
15049 452455 : operands[1] = x4;
15050 452455 : x5 = XEXP (x3, 1);
15051 452455 : operands[2] = x5;
15052 452455 : switch (pattern471 (x3))
15053 : {
15054 122441 : case 0:
15055 122441 : if (pnum_clobbers != NULL
15056 121701 : && x86_64_hilo_general_operand (operands[2], E_DImode)
15057 200438 : && insn_condition_760 (operands, insn))
15058 : {
15059 1519 : *pnum_clobbers = 1;
15060 1519 : return 852; /* *xordi3_doubleword */
15061 : }
15062 120922 : if (x86_64_general_operand (operands[2], E_DImode))
15063 : {
15064 77244 : if (insn_condition_761 (operands, insn))
15065 : return 865; /* *xordi_1_nf */
15066 77234 : if (pnum_clobbers != NULL
15067 77234 : && insn_condition_762 (operands, insn))
15068 : {
15069 32136 : *pnum_clobbers = 1;
15070 32136 : return 866; /* *xordi_1 */
15071 : }
15072 : }
15073 88776 : if (pnum_clobbers == NULL
15074 88036 : || !const_int_operand (operands[2], E_DImode)
15075 130874 : || !insn_condition_763 (operands, insn))
15076 : return -1;
15077 342 : *pnum_clobbers = 1;
15078 342 : return 871; /* *xordi_1_btc */
15079 :
15080 53900 : case 1:
15081 53900 : if (insn_condition_764 (operands, insn))
15082 : return 861; /* *xorsi_1_nf */
15083 53823 : if (pnum_clobbers == NULL
15084 53823 : || !insn_condition_765 (operands, insn))
15085 : return -1;
15086 38852 : *pnum_clobbers = 1;
15087 38852 : return 862; /* *xorsi_1 */
15088 :
15089 : default:
15090 : return -1;
15091 : }
15092 :
15093 36978 : case AND:
15094 36978 : if (pnum_clobbers == NULL)
15095 : return -1;
15096 36978 : x6 = XEXP (x4, 0);
15097 36978 : if (GET_CODE (x6) != XOR)
15098 : return -1;
15099 1523 : x7 = XEXP (x6, 0);
15100 1523 : operands[1] = x7;
15101 1523 : x8 = XEXP (x6, 1);
15102 1523 : operands[2] = x8;
15103 1523 : x9 = XEXP (x4, 1);
15104 1523 : operands[3] = x9;
15105 1523 : x5 = XEXP (x3, 1);
15106 1523 : if (!rtx_equal_p (x5, operands[1]))
15107 : return -1;
15108 717 : switch (GET_MODE (operands[0]))
15109 : {
15110 379 : case E_SImode:
15111 379 : if (pattern1136 (x3,
15112 : E_SImode) != 0
15113 379 : || !insn_condition_242 (operands, insn))
15114 : return -1;
15115 0 : *pnum_clobbers = 1;
15116 0 : return 873; /* *xor2andn */
15117 :
15118 0 : case E_DImode:
15119 0 : if (pattern1136 (x3,
15120 : E_DImode) != 0
15121 0 : || !insn_condition_766 (operands, insn))
15122 : return -1;
15123 0 : *pnum_clobbers = 1;
15124 0 : return 874; /* *xor2andn */
15125 :
15126 : default:
15127 : return -1;
15128 : }
15129 :
15130 6214 : case ZERO_EXTEND:
15131 6214 : if (GET_MODE (x4) != E_DImode
15132 3728 : || GET_MODE (x3) != E_DImode)
15133 : return -1;
15134 3728 : x6 = XEXP (x4, 0);
15135 3728 : switch (GET_CODE (x6))
15136 : {
15137 3421 : case REG:
15138 3421 : case SUBREG:
15139 3421 : case MEM:
15140 3421 : switch (pattern475 (x3))
15141 : {
15142 173 : case 0:
15143 173 : if (pnum_clobbers != NULL)
15144 : {
15145 173 : x5 = XEXP (x3, 1);
15146 173 : operands[2] = x5;
15147 173 : if (x86_64_zext_immediate_operand (operands[2], E_DImode)
15148 173 : && register_operand (operands[0], E_DImode)
15149 344 : && insn_condition_711 (operands, insn))
15150 : {
15151 167 : *pnum_clobbers = 1;
15152 167 : return 898; /* *xorsi_1_zext_imm */
15153 : }
15154 : }
15155 6 : x5 = XEXP (x3, 1);
15156 6 : operands[2] = x5;
15157 6 : if (!const_scalar_int_operand (operands[2], E_DImode)
15158 6 : || !nonimmediate_operand (operands[0], E_DImode)
15159 12 : || !insn_condition_594 (operands, insn))
15160 6 : return -1;
15161 : return 984; /* *concatsidi3_7 */
15162 :
15163 0 : case 1:
15164 0 : if (!insn_condition_593 (operands, insn))
15165 0 : return -1;
15166 : return 936; /* *concatsidi3_2 */
15167 :
15168 0 : case 2:
15169 0 : if (!insn_condition_593 (operands, insn))
15170 0 : return -1;
15171 : return 954; /* *concatsidi3_4 */
15172 :
15173 0 : case 3:
15174 0 : if (!insn_condition_593 (operands, insn))
15175 0 : return -1;
15176 : return 957; /* *concatsidi3_4 */
15177 :
15178 : default:
15179 : return -1;
15180 : }
15181 :
15182 85 : case MINUS:
15183 85 : if (pnum_clobbers == NULL
15184 85 : || pattern653 (x6) != 0)
15185 : return -1;
15186 58 : x5 = XEXP (x3, 1);
15187 58 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 63]
15188 58 : || !register_operand (operands[0], E_DImode))
15189 : return -1;
15190 56 : x8 = XEXP (x6, 1);
15191 56 : x10 = XEXP (x8, 0);
15192 56 : x11 = XEXP (x10, 0);
15193 56 : operands[1] = x11;
15194 56 : if (!nonimmediate_operand (operands[1], E_DImode)
15195 56 : || !insn_condition_712 (operands, insn))
15196 : return -1;
15197 34 : *pnum_clobbers = 1;
15198 34 : return 1667; /* *bsr_rex64u_2 */
15199 :
15200 : default:
15201 : return -1;
15202 : }
15203 :
15204 31223 : case LSHIFTRT:
15205 31223 : switch (pattern151 (x3, pnum_clobbers))
15206 : {
15207 0 : case 0:
15208 0 : x5 = XEXP (x3, 1);
15209 0 : x12 = XEXP (x5, 0);
15210 0 : x13 = XEXP (x12, 0);
15211 0 : x14 = XEXP (x13, 0);
15212 0 : operands[1] = x14;
15213 0 : if (nonimmediate_operand (operands[0], E_DImode))
15214 : {
15215 0 : res = recog_95 (x1, insn, pnum_clobbers);
15216 0 : if (res >= 0)
15217 : return res;
15218 : }
15219 0 : operands[2] = x14;
15220 0 : if (!register_operand (operands[0], E_DImode))
15221 : return -1;
15222 0 : x6 = XEXP (x4, 0);
15223 0 : operands[1] = x6;
15224 0 : if (!nonimmediate_operand (operands[1], E_DImode))
15225 : return -1;
15226 0 : x9 = XEXP (x4, 1);
15227 0 : x15 = XEXP (x9, 0);
15228 0 : operands[3] = x15;
15229 0 : x16 = XEXP (x12, 1);
15230 0 : x17 = XEXP (x16, 1);
15231 0 : x18 = XEXP (x17, 0);
15232 0 : if (!rtx_equal_p (x18, operands[3]))
15233 : return -1;
15234 0 : if (insn_condition_297 (operands, insn))
15235 : return 1236; /* *x86_64_shrd_ndd_nf */
15236 0 : if (pnum_clobbers == NULL
15237 0 : || !insn_condition_298 (operands, insn))
15238 : return -1;
15239 0 : *pnum_clobbers = 1;
15240 0 : return 1237; /* *x86_64_shrd_ndd */
15241 :
15242 0 : case 1:
15243 0 : x5 = XEXP (x3, 1);
15244 0 : x12 = XEXP (x5, 0);
15245 0 : x13 = XEXP (x12, 0);
15246 0 : x14 = XEXP (x13, 0);
15247 0 : operands[1] = x14;
15248 0 : if (nonimmediate_operand (operands[0], E_SImode))
15249 : {
15250 0 : x9 = XEXP (x4, 1);
15251 0 : x15 = XEXP (x9, 0);
15252 0 : operands[2] = x15;
15253 0 : x6 = XEXP (x4, 0);
15254 0 : if (rtx_equal_p (x6, operands[0]))
15255 : {
15256 0 : x16 = XEXP (x12, 1);
15257 0 : x17 = XEXP (x16, 1);
15258 0 : x18 = XEXP (x17, 0);
15259 0 : if (rtx_equal_p (x18, operands[2]))
15260 : {
15261 0 : if (insn_condition_584 (operands, insn))
15262 : return 1266; /* *x86_shrd_nf */
15263 0 : if (pnum_clobbers != NULL)
15264 : {
15265 0 : *pnum_clobbers = 1;
15266 0 : return 1267; /* *x86_shrd */
15267 : }
15268 : }
15269 : }
15270 : }
15271 0 : operands[2] = x14;
15272 0 : if (!register_operand (operands[0], E_SImode))
15273 : return -1;
15274 0 : x6 = XEXP (x4, 0);
15275 0 : operands[1] = x6;
15276 0 : if (!nonimmediate_operand (operands[1], E_SImode))
15277 : return -1;
15278 0 : x9 = XEXP (x4, 1);
15279 0 : x15 = XEXP (x9, 0);
15280 0 : operands[3] = x15;
15281 0 : x16 = XEXP (x12, 1);
15282 0 : x17 = XEXP (x16, 1);
15283 0 : x18 = XEXP (x17, 0);
15284 0 : if (!rtx_equal_p (x18, operands[3]))
15285 : return -1;
15286 0 : if (insn_condition_297 (operands, insn))
15287 : return 1272; /* *x86_shrd_ndd_nf */
15288 0 : if (pnum_clobbers == NULL
15289 0 : || !insn_condition_298 (operands, insn))
15290 : return -1;
15291 0 : *pnum_clobbers = 1;
15292 0 : return 1273; /* *x86_shrd_ndd */
15293 :
15294 0 : case 2:
15295 0 : x9 = XEXP (x4, 1);
15296 0 : operands[2] = x9;
15297 0 : if (pattern1406 (x3) == 0)
15298 : {
15299 0 : if (insn_condition_564 (operands, insn))
15300 : return 1242; /* *x86_64_shrd_1_nf */
15301 0 : if (pnum_clobbers != NULL
15302 0 : && insn_condition_565 (operands, insn))
15303 : {
15304 0 : *pnum_clobbers = 1;
15305 0 : return 1243; /* *x86_64_shrd_1 */
15306 : }
15307 : }
15308 0 : operands[3] = x9;
15309 0 : if (pattern1407 (x3) != 0)
15310 : return -1;
15311 0 : if (insn_condition_566 (operands, insn))
15312 : return 1248; /* *x86_64_shrd_ndd_1_nf */
15313 0 : if (pnum_clobbers == NULL
15314 0 : || !insn_condition_567 (operands, insn))
15315 : return -1;
15316 0 : *pnum_clobbers = 1;
15317 0 : return 1249; /* *x86_64_shrd_ndd_1 */
15318 :
15319 0 : case 3:
15320 0 : x9 = XEXP (x4, 1);
15321 0 : operands[2] = x9;
15322 0 : if (pattern1408 (x3) == 0)
15323 : {
15324 0 : if (insn_condition_568 (operands, insn))
15325 : return 1278; /* *x86_shrd_1_nf */
15326 0 : if (pnum_clobbers != NULL
15327 0 : && insn_condition_569 (operands, insn))
15328 : {
15329 0 : *pnum_clobbers = 1;
15330 0 : return 1279; /* *x86_shrd_1 */
15331 : }
15332 : }
15333 0 : operands[3] = x9;
15334 0 : if (pattern1409 (x3) != 0)
15335 : return -1;
15336 0 : if (insn_condition_570 (operands, insn))
15337 : return 1284; /* *x86_shrd_ndd_1_nf */
15338 0 : if (pnum_clobbers == NULL
15339 0 : || !insn_condition_571 (operands, insn))
15340 : return -1;
15341 0 : *pnum_clobbers = 1;
15342 0 : return 1285; /* *x86_shrd_ndd_1 */
15343 :
15344 0 : case 4:
15345 0 : if (insn_condition_578 (operands, insn))
15346 : return 1252; /* *x86_64_shrd_shld_1_nozext_nf */
15347 0 : if (pnum_clobbers == NULL
15348 0 : || !insn_condition_579 (operands, insn))
15349 : return -1;
15350 0 : *pnum_clobbers = 1;
15351 0 : return 1255; /* *x86_64_shrd_shld_1_nozext */
15352 :
15353 29 : case 5:
15354 29 : if (insn_condition_580 (operands, insn))
15355 : return 1288; /* *x86_shrd_shld_1_nozext_nf */
15356 29 : if (pnum_clobbers == NULL
15357 29 : || !insn_condition_581 (operands, insn))
15358 : return -1;
15359 0 : *pnum_clobbers = 1;
15360 0 : return 1291; /* *x86_shrd_shld_1_nozext */
15361 :
15362 0 : case 6:
15363 0 : x5 = XEXP (x3, 1);
15364 0 : x12 = XEXP (x5, 0);
15365 0 : operands[1] = x12;
15366 0 : if (nonimmediate_operand (operands[0], E_DImode))
15367 : {
15368 0 : x9 = XEXP (x4, 1);
15369 0 : operands[2] = x9;
15370 0 : x6 = XEXP (x4, 0);
15371 0 : if (rtx_equal_p (x6, operands[0]))
15372 : {
15373 0 : x19 = XEXP (x5, 1);
15374 0 : x20 = XEXP (x19, 1);
15375 0 : if (rtx_equal_p (x20, operands[2])
15376 0 : && insn_condition_582 (operands, insn))
15377 : {
15378 0 : *pnum_clobbers = 1;
15379 0 : return 1258; /* *x86_64_shrd_2 */
15380 : }
15381 : }
15382 : }
15383 0 : operands[2] = x12;
15384 0 : if (!register_operand (operands[0], E_DImode))
15385 : return -1;
15386 0 : x6 = XEXP (x4, 0);
15387 0 : operands[1] = x6;
15388 0 : if (!nonimmediate_operand (operands[1], E_DImode))
15389 : return -1;
15390 0 : x9 = XEXP (x4, 1);
15391 0 : operands[3] = x9;
15392 0 : x19 = XEXP (x5, 1);
15393 0 : x20 = XEXP (x19, 1);
15394 0 : if (!rtx_equal_p (x20, operands[3])
15395 0 : || !insn_condition_606 (operands, insn))
15396 : return -1;
15397 0 : *pnum_clobbers = 1;
15398 0 : return 1261; /* *x86_64_shrd_ndd_2 */
15399 :
15400 0 : case 7:
15401 0 : x5 = XEXP (x3, 1);
15402 0 : x12 = XEXP (x5, 0);
15403 0 : operands[1] = x12;
15404 0 : if (nonimmediate_operand (operands[0], E_SImode))
15405 : {
15406 0 : x9 = XEXP (x4, 1);
15407 0 : operands[2] = x9;
15408 0 : x6 = XEXP (x4, 0);
15409 0 : if (rtx_equal_p (x6, operands[0]))
15410 : {
15411 0 : x19 = XEXP (x5, 1);
15412 0 : x20 = XEXP (x19, 1);
15413 0 : if (rtx_equal_p (x20, operands[2])
15414 0 : && insn_condition_582 (operands, insn))
15415 : {
15416 0 : *pnum_clobbers = 1;
15417 0 : return 1294; /* *x86_shrd_2 */
15418 : }
15419 : }
15420 : }
15421 0 : operands[2] = x12;
15422 0 : if (!register_operand (operands[0], E_SImode))
15423 : return -1;
15424 0 : x6 = XEXP (x4, 0);
15425 0 : operands[1] = x6;
15426 0 : if (!nonimmediate_operand (operands[1], E_SImode))
15427 : return -1;
15428 0 : x9 = XEXP (x4, 1);
15429 0 : operands[3] = x9;
15430 0 : x19 = XEXP (x5, 1);
15431 0 : x20 = XEXP (x19, 1);
15432 0 : if (!rtx_equal_p (x20, operands[3])
15433 0 : || !insn_condition_583 (operands, insn))
15434 : return -1;
15435 0 : *pnum_clobbers = 1;
15436 0 : return 1297; /* *x86_shrd_ndd_2 */
15437 :
15438 : default:
15439 : return -1;
15440 : }
15441 :
15442 1477 : case SIGN_EXTEND:
15443 1477 : if (pnum_clobbers == NULL
15444 1477 : || GET_MODE (x4) != E_DImode)
15445 : return -1;
15446 697 : x6 = XEXP (x4, 0);
15447 697 : if (GET_CODE (x6) != MINUS
15448 697 : || pattern653 (x6) != 0)
15449 : return -1;
15450 21 : x5 = XEXP (x3, 1);
15451 21 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 63]
15452 21 : || !register_operand (operands[0], E_DImode)
15453 42 : || GET_MODE (x3) != E_DImode)
15454 : return -1;
15455 21 : x8 = XEXP (x6, 1);
15456 21 : x10 = XEXP (x8, 0);
15457 21 : x11 = XEXP (x10, 0);
15458 21 : operands[1] = x11;
15459 21 : if (!nonimmediate_operand (operands[1], E_DImode)
15460 21 : || !insn_condition_712 (operands, insn))
15461 : return -1;
15462 13 : *pnum_clobbers = 1;
15463 13 : return 1666; /* *bsr_rex64_2 */
15464 :
15465 8815 : case PLUS:
15466 8815 : if (pnum_clobbers == NULL)
15467 : return -1;
15468 8809 : x9 = XEXP (x4, 1);
15469 8809 : if (GET_CODE (x9) != CONST_INT)
15470 : return -1;
15471 1731 : x6 = XEXP (x4, 0);
15472 1731 : operands[1] = x6;
15473 1731 : x5 = XEXP (x3, 1);
15474 1731 : if (!rtx_equal_p (x5, operands[1]))
15475 : return -1;
15476 281 : switch (XWINT (x9, 0))
15477 : {
15478 225 : case -1L:
15479 225 : switch (GET_MODE (operands[0]))
15480 : {
15481 138 : case E_SImode:
15482 138 : if (pattern791 (x3,
15483 : E_SImode) != 0
15484 138 : || !insn_condition_56 (operands, insn))
15485 : return -1;
15486 3 : *pnum_clobbers = 1;
15487 3 : return 1716; /* *bmi_blsmsk_si */
15488 :
15489 75 : case E_DImode:
15490 75 : if (pattern791 (x3,
15491 : E_DImode) != 0
15492 75 : || !insn_condition_57 (operands, insn))
15493 : return -1;
15494 4 : *pnum_clobbers = 1;
15495 4 : return 1717; /* *bmi_blsmsk_di */
15496 :
15497 : default:
15498 : return -1;
15499 : }
15500 :
15501 54 : case 1L:
15502 54 : switch (GET_MODE (operands[0]))
15503 : {
15504 49 : case E_SImode:
15505 49 : if (pattern791 (x3,
15506 : E_SImode) != 0
15507 49 : || !insn_condition_758 (operands, insn))
15508 : return -1;
15509 0 : *pnum_clobbers = 1;
15510 0 : return 1750; /* *tbm_blcmsk_si */
15511 :
15512 0 : case E_DImode:
15513 0 : if (pattern791 (x3,
15514 : E_DImode) != 0
15515 0 : || !insn_condition_759 (operands, insn))
15516 : return -1;
15517 0 : *pnum_clobbers = 1;
15518 0 : return 1751; /* *tbm_blcmsk_di */
15519 :
15520 : default:
15521 : return -1;
15522 : }
15523 :
15524 : default:
15525 : return -1;
15526 : }
15527 :
15528 : default:
15529 : return -1;
15530 : }
15531 : }
15532 :
15533 : int
15534 21052 : recog_117 (rtx x1 ATTRIBUTE_UNUSED,
15535 : rtx_insn *insn ATTRIBUTE_UNUSED,
15536 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15537 : {
15538 21052 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15539 21052 : rtx x2, x3;
15540 21052 : int res ATTRIBUTE_UNUSED;
15541 21052 : switch (pattern18 (x1, pnum_clobbers))
15542 : {
15543 2 : case 0:
15544 2 : if (!insn_condition_865 (operands, insn))
15545 : return -1;
15546 2 : *pnum_clobbers = 1;
15547 2 : return 1428; /* *rotlsi3_mask_1 */
15548 :
15549 2 : case 1:
15550 2 : if (!insn_condition_866 (operands, insn))
15551 : return -1;
15552 2 : *pnum_clobbers = 1;
15553 2 : return 1430; /* *rotldi3_mask_1 */
15554 :
15555 5 : case 2:
15556 5 : if (!insn_condition_867 (operands, insn))
15557 : return -1;
15558 0 : *pnum_clobbers = 1;
15559 0 : return 1444; /* *rotlsi3_add_1 */
15560 :
15561 18 : case 3:
15562 18 : if (!insn_condition_868 (operands, insn))
15563 : return -1;
15564 0 : *pnum_clobbers = 1;
15565 0 : return 1446; /* *rotldi3_add_1 */
15566 :
15567 0 : case 4:
15568 0 : if (!insn_condition_867 (operands, insn))
15569 : return -1;
15570 0 : *pnum_clobbers = 1;
15571 0 : return 1460; /* *rotlsi3_sub_1 */
15572 :
15573 2 : case 5:
15574 2 : if (!insn_condition_868 (operands, insn))
15575 : return -1;
15576 0 : *pnum_clobbers = 1;
15577 0 : return 1462; /* *rotldi3_sub_1 */
15578 :
15579 20787 : case 6:
15580 20787 : x2 = XEXP (x1, 1);
15581 20787 : x3 = XEXP (x2, 1);
15582 20787 : switch (GET_CODE (x3))
15583 : {
15584 4731 : case SUBREG:
15585 4731 : switch (pattern482 (x2, pnum_clobbers))
15586 : {
15587 130 : case 0:
15588 130 : if (insn_condition_865 (operands, insn))
15589 : {
15590 64 : *pnum_clobbers = 1;
15591 64 : return 1420; /* *rotlsi3_mask */
15592 : }
15593 : break;
15594 :
15595 117 : case 1:
15596 117 : if (insn_condition_866 (operands, insn))
15597 : {
15598 57 : *pnum_clobbers = 1;
15599 57 : return 1422; /* *rotldi3_mask */
15600 : }
15601 : break;
15602 :
15603 0 : case 2:
15604 0 : if (insn_condition_867 (operands, insn))
15605 : {
15606 0 : *pnum_clobbers = 1;
15607 0 : return 1436; /* *rotlsi3_add */
15608 : }
15609 : break;
15610 :
15611 0 : case 3:
15612 0 : if (insn_condition_868 (operands, insn))
15613 : {
15614 0 : *pnum_clobbers = 1;
15615 0 : return 1438; /* *rotldi3_add */
15616 : }
15617 : break;
15618 :
15619 0 : case 4:
15620 0 : if (insn_condition_867 (operands, insn))
15621 : {
15622 0 : *pnum_clobbers = 1;
15623 0 : return 1452; /* *rotlsi3_sub */
15624 : }
15625 : break;
15626 :
15627 0 : case 5:
15628 0 : if (insn_condition_868 (operands, insn))
15629 : {
15630 0 : *pnum_clobbers = 1;
15631 0 : return 1454; /* *rotldi3_sub */
15632 : }
15633 : break;
15634 :
15635 : default:
15636 : break;
15637 : }
15638 : break;
15639 :
15640 14023 : case CONST_INT:
15641 14023 : if (pnum_clobbers != NULL)
15642 : {
15643 13876 : operands[2] = x3;
15644 13876 : if (const_1_to_31_operand (operands[2], E_QImode)
15645 13436 : && register_operand (operands[0], E_DImode)
15646 1457 : && GET_MODE (x2) == E_DImode
15647 1457 : && register_operand (operands[1], E_DImode)
15648 14643 : && insn_condition_51 (operands, insn))
15649 : {
15650 204 : *pnum_clobbers = 2;
15651 204 : return 1464; /* ix86_rotldi3_doubleword */
15652 : }
15653 : }
15654 13819 : if (XWINT (x3, 0) == 32L
15655 232 : && register_operand (operands[0], E_DImode)
15656 140 : && GET_MODE (x2) == E_DImode
15657 140 : && register_operand (operands[1], E_DImode)
15658 13855 : && insn_condition_51 (operands, insn))
15659 : return 1468; /* rotl32di2_doubleword */
15660 : break;
15661 :
15662 : default:
15663 : break;
15664 : }
15665 20462 : operands[2] = x3;
15666 20462 : if (!nonmemory_operand (operands[2], E_QImode))
15667 : return -1;
15668 19134 : switch (pattern14 (x2))
15669 : {
15670 6471 : case 0:
15671 6471 : if (insn_condition_869 (operands, insn))
15672 : return 1474; /* *rotlsi3_1_nf */
15673 6407 : if (pnum_clobbers == NULL
15674 6407 : || !insn_condition_870 (operands, insn))
15675 : return -1;
15676 5952 : *pnum_clobbers = 1;
15677 5952 : return 1475; /* *rotlsi3_1 */
15678 :
15679 1619 : case 1:
15680 1619 : if (insn_condition_871 (operands, insn))
15681 : return 1478; /* *rotldi3_1_nf */
15682 1609 : if (pnum_clobbers == NULL
15683 1609 : || !insn_condition_872 (operands, insn))
15684 : return -1;
15685 1414 : *pnum_clobbers = 1;
15686 1414 : return 1479; /* *rotldi3_1 */
15687 :
15688 : default:
15689 : return -1;
15690 : }
15691 :
15692 : default:
15693 : return -1;
15694 : }
15695 : }
15696 :
15697 : int
15698 2629581 : recog_121 (rtx x1 ATTRIBUTE_UNUSED,
15699 : rtx_insn *insn ATTRIBUTE_UNUSED,
15700 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15701 : {
15702 2629581 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15703 2629581 : rtx x2, x3, x4, x5;
15704 2629581 : int res ATTRIBUTE_UNUSED;
15705 2629581 : x2 = XEXP (x1, 1);
15706 2629581 : operands[1] = x2;
15707 2629581 : x3 = XEXP (x2, 0);
15708 2629581 : if (GET_CODE (x3) != REG
15709 2629581 : || REGNO (x3) != 17)
15710 : return -1;
15711 223650 : x4 = XEXP (x2, 1);
15712 223650 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15713 : return -1;
15714 223554 : x5 = XEXP (x1, 0);
15715 223554 : operands[0] = x5;
15716 223554 : switch (GET_MODE (operands[0]))
15717 : {
15718 135570 : case E_SImode:
15719 135570 : if (!register_operand (operands[0], E_SImode)
15720 135570 : || !ix86_comparison_operator (operands[1], E_SImode))
15721 : return -1;
15722 108878 : if (insn_condition_427 (operands, insn))
15723 : return 1575; /* *setcc_si_zu */
15724 108859 : if (pnum_clobbers != NULL
15725 108859 : && insn_condition_428 (operands, insn))
15726 : {
15727 0 : *pnum_clobbers = 1;
15728 0 : return 1579; /* *setcc_si_1_and */
15729 : }
15730 108859 : if (!insn_condition_429 (operands, insn))
15731 0 : return -1;
15732 : return 1581; /* *setcc_si_1_movzbl */
15733 :
15734 76410 : case E_DImode:
15735 76410 : if (!register_operand (operands[0], E_DImode)
15736 76410 : || !ix86_comparison_operator (operands[1], E_DImode))
15737 : return -1;
15738 59527 : if (insn_condition_885 (operands, insn))
15739 : return 1576; /* *setcc_di_zu */
15740 59460 : if (!insn_condition_886 (operands, insn))
15741 9975 : return -1;
15742 : return 1577; /* *setcc_di_1 */
15743 :
15744 : default:
15745 : return -1;
15746 : }
15747 : }
15748 :
15749 : int
15750 604839 : recog_124 (rtx x1 ATTRIBUTE_UNUSED,
15751 : rtx_insn *insn ATTRIBUTE_UNUSED,
15752 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15753 : {
15754 604839 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15755 604839 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
15756 604839 : rtx x10, x11, x12, x13;
15757 604839 : int res ATTRIBUTE_UNUSED;
15758 604839 : x2 = XEXP (x1, 0);
15759 604839 : operands[0] = x2;
15760 604839 : x3 = XEXP (x1, 1);
15761 604839 : switch (XINT (x3, 1))
15762 : {
15763 700 : case 42:
15764 700 : if (pattern330 (x3) != 0
15765 700 : || !register_operand (operands[0], E_SImode))
15766 : return -1;
15767 616 : x4 = XVECEXP (x3, 0, 1);
15768 616 : operands[2] = x4;
15769 616 : if (!register_operand (operands[2], E_SImode)
15770 932 : || !insn_condition_50 (operands, insn))
15771 300 : return -1;
15772 : return 1584; /* *setcc_si_slp */
15773 :
15774 221 : case 97:
15775 221 : if (pnum_clobbers == NULL)
15776 : return -1;
15777 221 : x5 = XVECEXP (x3, 0, 0);
15778 221 : operands[1] = x5;
15779 221 : x4 = XVECEXP (x3, 0, 1);
15780 221 : operands[2] = x4;
15781 221 : switch (GET_MODE (operands[0]))
15782 : {
15783 114 : case E_SImode:
15784 114 : if (pattern819 (x3,
15785 : E_SImode) != 0
15786 114 : || !insn_condition_56 (operands, insn))
15787 : return -1;
15788 49 : *pnum_clobbers = 1;
15789 49 : return 1704; /* bmi_bextr_si */
15790 :
15791 107 : case E_DImode:
15792 107 : if (pattern819 (x3,
15793 : E_DImode) != 0
15794 107 : || !insn_condition_57 (operands, insn))
15795 : return -1;
15796 50 : *pnum_clobbers = 1;
15797 50 : return 1705; /* bmi_bextr_di */
15798 :
15799 : default:
15800 : return -1;
15801 : }
15802 :
15803 233 : case 98:
15804 233 : switch (pattern331 (x3))
15805 : {
15806 112 : case 0:
15807 112 : if (!insn_condition_800 (operands, insn))
15808 0 : return -1;
15809 : return 1738; /* bmi2_pdep_si3 */
15810 :
15811 121 : case 1:
15812 121 : if (!insn_condition_801 (operands, insn))
15813 0 : return -1;
15814 : return 1739; /* bmi2_pdep_di3 */
15815 :
15816 : default:
15817 : return -1;
15818 : }
15819 :
15820 234 : case 99:
15821 234 : switch (pattern331 (x3))
15822 : {
15823 113 : case 0:
15824 113 : if (!insn_condition_800 (operands, insn))
15825 0 : return -1;
15826 : return 1740; /* bmi2_pext_si3 */
15827 :
15828 121 : case 1:
15829 121 : if (!insn_condition_801 (operands, insn))
15830 0 : return -1;
15831 : return 1741; /* bmi2_pext_di3 */
15832 :
15833 : default:
15834 : return -1;
15835 : }
15836 :
15837 214 : case 89:
15838 214 : if (pnum_clobbers == NULL
15839 214 : || GET_MODE (x3) != E_CCZmode
15840 428 : || !flags_reg_operand (operands[0], E_CCZmode))
15841 : return -1;
15842 214 : x5 = XVECEXP (x3, 0, 0);
15843 214 : operands[1] = x5;
15844 214 : x4 = XVECEXP (x3, 0, 1);
15845 214 : operands[2] = x4;
15846 214 : switch (GET_MODE (operands[1]))
15847 : {
15848 1 : case E_SImode:
15849 1 : if (!memory_operand (operands[1], E_SImode)
15850 1 : || !memory_operand (operands[2], E_SImode)
15851 2 : || !insn_condition_609 (operands, insn))
15852 : return -1;
15853 1 : *pnum_clobbers = 1;
15854 1 : return 2039; /* stack_protect_test_1_si */
15855 :
15856 213 : case E_DImode:
15857 213 : if (!memory_operand (operands[1], E_DImode)
15858 213 : || !memory_operand (operands[2], E_DImode)
15859 426 : || !insn_condition_610 (operands, insn))
15860 : return -1;
15861 213 : *pnum_clobbers = 1;
15862 213 : return 2040; /* stack_protect_test_1_di */
15863 :
15864 : default:
15865 : return -1;
15866 : }
15867 :
15868 362 : case 91:
15869 362 : if (pattern332 (x3,
15870 : E_QImode) != 0
15871 362 : || !insn_condition_904 (operands, insn))
15872 93 : return -1;
15873 : return 2047; /* sse4_2_crc32qi */
15874 :
15875 320 : case 92:
15876 320 : if (pattern332 (x3,
15877 : E_HImode) != 0
15878 320 : || !insn_condition_904 (operands, insn))
15879 67 : return -1;
15880 : return 2049; /* sse4_2_crc32hi */
15881 :
15882 327 : case 93:
15883 327 : if (GET_MODE (x3) != E_SImode
15884 327 : || !register_operand (operands[0], E_SImode))
15885 : return -1;
15886 327 : x5 = XVECEXP (x3, 0, 0);
15887 327 : operands[1] = x5;
15888 327 : if (!register_operand (operands[1], E_SImode))
15889 : return -1;
15890 310 : x4 = XVECEXP (x3, 0, 1);
15891 310 : operands[2] = x4;
15892 310 : if (!nonimmediate_operand (operands[2], E_SImode)
15893 310 : || !insn_condition_904 (operands, insn))
15894 43 : return -1;
15895 : return 2050; /* sse4_2_crc32si */
15896 :
15897 98352 : case 177:
15898 98352 : x5 = XVECEXP (x3, 0, 0);
15899 98352 : switch (GET_CODE (x5))
15900 : {
15901 10886 : case UNSPEC:
15902 10886 : switch (XVECLEN (x5, 0))
15903 : {
15904 1256 : case 3:
15905 1256 : if (XINT (x5, 1) != 56
15906 34 : || GET_MODE (x5) != E_SImode
15907 26 : || !register_operand (operands[0], E_SImode)
15908 1279 : || GET_MODE (x3) != E_SImode)
15909 : return -1;
15910 23 : x6 = XVECEXP (x5, 0, 0);
15911 23 : operands[1] = x6;
15912 23 : if (!register_operand (operands[1], E_V32HFmode))
15913 : return -1;
15914 16 : x7 = XVECEXP (x5, 0, 1);
15915 16 : operands[2] = x7;
15916 16 : if (!nonimmediate_operand (operands[2], E_V32HFmode))
15917 : return -1;
15918 16 : x8 = XVECEXP (x5, 0, 2);
15919 16 : operands[3] = x8;
15920 16 : if (!const_0_to_31_operand (operands[3], E_SImode))
15921 : return -1;
15922 16 : x4 = XVECEXP (x3, 0, 1);
15923 16 : operands[4] = x4;
15924 16 : if (!const48_operand (operands[4], E_SImode)
15925 16 : || !insn_condition_905 (operands, insn))
15926 0 : return -1;
15927 : return 3439; /* avx512bw_cmpv32hf3_round */
15928 :
15929 7533 : case 1:
15930 7533 : x4 = XVECEXP (x3, 0, 1);
15931 7533 : operands[2] = x4;
15932 7533 : switch (XINT (x5, 1))
15933 : {
15934 1128 : case 155:
15935 1128 : switch (pattern923 (x3))
15936 : {
15937 112 : case 0:
15938 112 : if (!insn_condition_26 (operands, insn))
15939 0 : return -1;
15940 : return 4697; /* avx512fp16_vcvtsh2usi_round */
15941 :
15942 112 : case 1:
15943 112 : if (!insn_condition_27 (operands, insn))
15944 0 : return -1;
15945 : return 5074; /* avx512f_vcvtss2usi_round */
15946 :
15947 112 : case 2:
15948 112 : if (!insn_condition_27 (operands, insn))
15949 0 : return -1;
15950 : return 5092; /* avx512f_vcvtsd2usi_round */
15951 :
15952 105 : case 3:
15953 105 : if (!insn_condition_906 (operands, insn))
15954 0 : return -1;
15955 : return 4701; /* avx512fp16_vcvtsh2usiq_round */
15956 :
15957 102 : case 4:
15958 102 : if (!insn_condition_907 (operands, insn))
15959 0 : return -1;
15960 : return 5076; /* avx512f_vcvtss2usiq_round */
15961 :
15962 102 : case 5:
15963 102 : if (!insn_condition_907 (operands, insn))
15964 0 : return -1;
15965 : return 5094; /* avx512f_vcvtsd2usiq_round */
15966 :
15967 : default:
15968 : return -1;
15969 : }
15970 :
15971 1228 : case 43:
15972 1228 : switch (pattern923 (x3))
15973 : {
15974 134 : case 0:
15975 134 : if (!insn_condition_26 (operands, insn))
15976 0 : return -1;
15977 : return 4699; /* avx512fp16_vcvtsh2si_round */
15978 :
15979 120 : case 1:
15980 120 : if (!insn_condition_908 (operands, insn))
15981 0 : return -1;
15982 : return 4956; /* sse_cvtss2si_round */
15983 :
15984 120 : case 2:
15985 120 : if (!insn_condition_342 (operands, insn))
15986 0 : return -1;
15987 : return 5110; /* sse2_cvtsd2si_round */
15988 :
15989 127 : case 3:
15990 127 : if (!insn_condition_906 (operands, insn))
15991 0 : return -1;
15992 : return 4703; /* avx512fp16_vcvtsh2siq_round */
15993 :
15994 103 : case 4:
15995 103 : if (!insn_condition_909 (operands, insn))
15996 0 : return -1;
15997 : return 4958; /* sse_cvtss2siq_round */
15998 :
15999 103 : case 5:
16000 103 : if (!insn_condition_910 (operands, insn))
16001 0 : return -1;
16002 : return 5112; /* sse2_cvtsd2siq_round */
16003 :
16004 : default:
16005 : return -1;
16006 : }
16007 :
16008 1395 : case 171:
16009 1395 : switch (pattern925 (x3))
16010 : {
16011 134 : case 0:
16012 134 : if (!insn_condition_26 (operands, insn))
16013 0 : return -1;
16014 : return 4855; /* unspec_avx512fp16_fix_truncsi2_round */
16015 :
16016 160 : case 1:
16017 160 : if (!insn_condition_908 (operands, insn))
16018 0 : return -1;
16019 : return 4965; /* unspec_sse_cvttss2si_round */
16020 :
16021 153 : case 2:
16022 153 : if (!insn_condition_342 (operands, insn))
16023 0 : return -1;
16024 : return 5119; /* unspec_sse2_cvttsd2si_round */
16025 :
16026 127 : case 3:
16027 127 : if (!insn_condition_906 (operands, insn))
16028 0 : return -1;
16029 : return 4859; /* unspec_avx512fp16_fix_truncdi2_round */
16030 :
16031 150 : case 4:
16032 150 : if (!insn_condition_909 (operands, insn))
16033 0 : return -1;
16034 : return 4967; /* unspec_sse_cvttss2siq_round */
16035 :
16036 150 : case 5:
16037 150 : if (!insn_condition_910 (operands, insn))
16038 0 : return -1;
16039 : return 5121; /* unspec_sse2_cvttsd2siq_round */
16040 :
16041 : default:
16042 : return -1;
16043 : }
16044 :
16045 1130 : case 172:
16046 1130 : switch (pattern925 (x3))
16047 : {
16048 112 : case 0:
16049 112 : if (!insn_condition_26 (operands, insn))
16050 0 : return -1;
16051 : return 4857; /* unspec_avx512fp16_fixuns_truncsi2_round */
16052 :
16053 112 : case 1:
16054 112 : if (!insn_condition_27 (operands, insn))
16055 0 : return -1;
16056 : return 5080; /* unspec_avx512f_vcvttss2usi_round */
16057 :
16058 112 : case 2:
16059 112 : if (!insn_condition_27 (operands, insn))
16060 0 : return -1;
16061 : return 5098; /* unspec_avx512f_vcvttsd2usi_round */
16062 :
16063 105 : case 3:
16064 105 : if (!insn_condition_906 (operands, insn))
16065 0 : return -1;
16066 : return 4861; /* unspec_avx512fp16_fixuns_truncdi2_round */
16067 :
16068 102 : case 4:
16069 102 : if (!insn_condition_907 (operands, insn))
16070 0 : return -1;
16071 : return 5082; /* unspec_avx512f_vcvttss2usiq_round */
16072 :
16073 102 : case 5:
16074 102 : if (!insn_condition_907 (operands, insn))
16075 0 : return -1;
16076 : return 5100; /* unspec_avx512f_vcvttsd2usiq_round */
16077 :
16078 : default:
16079 : return -1;
16080 : }
16081 :
16082 1147 : case 274:
16083 1147 : switch (pattern927 (x3))
16084 : {
16085 225 : case 0:
16086 225 : if (!insn_condition_83 (operands, insn))
16087 0 : return -1;
16088 : return 9578; /* avx10_2_vcvttsd2sissi_round */
16089 :
16090 226 : case 1:
16091 226 : if (!insn_condition_83 (operands, insn))
16092 0 : return -1;
16093 : return 9590; /* avx10_2_vcvttss2sissi_round */
16094 :
16095 219 : case 2:
16096 219 : if (!insn_condition_911 (operands, insn))
16097 0 : return -1;
16098 : return 9582; /* avx10_2_vcvttsd2sisdi_round */
16099 :
16100 220 : case 3:
16101 220 : if (!insn_condition_911 (operands, insn))
16102 0 : return -1;
16103 : return 9594; /* avx10_2_vcvttss2sisdi_round */
16104 :
16105 : default:
16106 : return -1;
16107 : }
16108 :
16109 758 : case 275:
16110 758 : switch (pattern927 (x3))
16111 : {
16112 133 : case 0:
16113 133 : if (!insn_condition_83 (operands, insn))
16114 0 : return -1;
16115 : return 9580; /* avx10_2_vcvttsd2usissi_round */
16116 :
16117 134 : case 1:
16118 134 : if (!insn_condition_83 (operands, insn))
16119 0 : return -1;
16120 : return 9592; /* avx10_2_vcvttss2usissi_round */
16121 :
16122 127 : case 2:
16123 127 : if (!insn_condition_911 (operands, insn))
16124 0 : return -1;
16125 : return 9584; /* avx10_2_vcvttsd2usisdi_round */
16126 :
16127 128 : case 3:
16128 128 : if (!insn_condition_911 (operands, insn))
16129 0 : return -1;
16130 : return 9596; /* avx10_2_vcvttss2usisdi_round */
16131 :
16132 : default:
16133 : return -1;
16134 : }
16135 :
16136 : default:
16137 : return -1;
16138 : }
16139 :
16140 : default:
16141 : return -1;
16142 : }
16143 :
16144 489 : case AND:
16145 489 : if (GET_MODE (x5) != E_SImode)
16146 : return -1;
16147 60 : x9 = XEXP (x5, 0);
16148 60 : if (GET_CODE (x9) != UNSPEC
16149 60 : || XVECLEN (x9, 0) != 3
16150 60 : || XINT (x9, 1) != 56
16151 60 : || GET_MODE (x9) != E_SImode
16152 60 : || !register_operand (operands[0], E_SImode)
16153 120 : || GET_MODE (x3) != E_SImode)
16154 : return -1;
16155 60 : x10 = XVECEXP (x9, 0, 0);
16156 60 : operands[1] = x10;
16157 60 : if (!register_operand (operands[1], E_V32HFmode))
16158 : return -1;
16159 55 : x11 = XVECEXP (x9, 0, 1);
16160 55 : operands[2] = x11;
16161 55 : if (!nonimmediate_operand (operands[2], E_V32HFmode))
16162 : return -1;
16163 55 : x12 = XVECEXP (x9, 0, 2);
16164 55 : operands[3] = x12;
16165 55 : if (!const_0_to_31_operand (operands[3], E_SImode))
16166 : return -1;
16167 55 : x13 = XEXP (x5, 1);
16168 55 : operands[4] = x13;
16169 55 : if (!register_operand (operands[4], E_SImode))
16170 : return -1;
16171 43 : x4 = XVECEXP (x3, 0, 1);
16172 43 : operands[5] = x4;
16173 43 : if (!const48_operand (operands[5], E_SImode)
16174 43 : || !insn_condition_912 (operands, insn))
16175 0 : return -1;
16176 : return 3441; /* avx512bw_cmpv32hf3_mask_round */
16177 :
16178 0 : case FIX:
16179 0 : switch (pattern484 (x3))
16180 : {
16181 0 : case 0:
16182 0 : if (!insn_condition_26 (operands, insn))
16183 0 : return -1;
16184 : return 4867; /* avx512fp16_fix_truncsi2_round */
16185 :
16186 0 : case 1:
16187 0 : if (!insn_condition_908 (operands, insn))
16188 0 : return -1;
16189 : return 4971; /* sse_cvttss2si_round */
16190 :
16191 0 : case 2:
16192 0 : if (!insn_condition_342 (operands, insn))
16193 0 : return -1;
16194 : return 5125; /* sse2_cvttsd2si_round */
16195 :
16196 0 : case 3:
16197 0 : if (!insn_condition_906 (operands, insn))
16198 0 : return -1;
16199 : return 4871; /* avx512fp16_fix_truncdi2_round */
16200 :
16201 0 : case 4:
16202 0 : if (!insn_condition_909 (operands, insn))
16203 0 : return -1;
16204 : return 4973; /* sse_cvttss2siq_round */
16205 :
16206 0 : case 5:
16207 0 : if (!insn_condition_910 (operands, insn))
16208 0 : return -1;
16209 : return 5127; /* sse2_cvttsd2siq_round */
16210 :
16211 : default:
16212 : return -1;
16213 : }
16214 :
16215 0 : case UNSIGNED_FIX:
16216 0 : switch (pattern484 (x3))
16217 : {
16218 0 : case 0:
16219 0 : if (!insn_condition_26 (operands, insn))
16220 0 : return -1;
16221 : return 4869; /* avx512fp16_fixuns_truncsi2_round */
16222 :
16223 0 : case 1:
16224 0 : if (!insn_condition_27 (operands, insn))
16225 0 : return -1;
16226 : return 5086; /* avx512f_vcvttss2usi_round */
16227 :
16228 0 : case 2:
16229 0 : if (!insn_condition_27 (operands, insn))
16230 0 : return -1;
16231 : return 5104; /* avx512f_vcvttsd2usi_round */
16232 :
16233 0 : case 3:
16234 0 : if (!insn_condition_906 (operands, insn))
16235 0 : return -1;
16236 : return 4873; /* avx512fp16_fixuns_truncdi2_round */
16237 :
16238 0 : case 4:
16239 0 : if (!insn_condition_907 (operands, insn))
16240 0 : return -1;
16241 : return 5088; /* avx512f_vcvttss2usiq_round */
16242 :
16243 0 : case 5:
16244 0 : if (!insn_condition_907 (operands, insn))
16245 0 : return -1;
16246 : return 5106; /* avx512f_vcvttsd2usiq_round */
16247 :
16248 : default:
16249 : return -1;
16250 : }
16251 :
16252 : default:
16253 : return -1;
16254 : }
16255 :
16256 294 : case 157:
16257 294 : switch (pattern334 (x3))
16258 : {
16259 71 : case 0:
16260 71 : if (!insn_condition_120 (operands, insn))
16261 0 : return -1;
16262 : return 6774; /* avx512bw_testmv64qi3 */
16263 :
16264 70 : case 1:
16265 70 : if (!insn_condition_98 (operands, insn))
16266 0 : return -1;
16267 : return 6776; /* avx512vl_testmv32qi3 */
16268 :
16269 70 : case 2:
16270 70 : if (!insn_condition_120 (operands, insn))
16271 0 : return -1;
16272 : return 6780; /* avx512bw_testmv32hi3 */
16273 :
16274 : default:
16275 : return -1;
16276 : }
16277 :
16278 295 : case 158:
16279 295 : switch (pattern334 (x3))
16280 : {
16281 71 : case 0:
16282 71 : if (!insn_condition_120 (operands, insn))
16283 0 : return -1;
16284 : return 6798; /* avx512bw_testnmv64qi3 */
16285 :
16286 70 : case 1:
16287 70 : if (!insn_condition_98 (operands, insn))
16288 0 : return -1;
16289 : return 6800; /* avx512vl_testnmv32qi3 */
16290 :
16291 70 : case 2:
16292 70 : if (!insn_condition_120 (operands, insn))
16293 0 : return -1;
16294 : return 6804; /* avx512bw_testnmv32hi3 */
16295 :
16296 : default:
16297 : return -1;
16298 : }
16299 :
16300 125 : case 192:
16301 125 : if (GET_MODE (x3) != E_SImode
16302 125 : || !register_operand (operands[0], E_SImode))
16303 : return -1;
16304 75 : x5 = XVECEXP (x3, 0, 0);
16305 75 : operands[1] = x5;
16306 75 : if (!vector_operand (operands[1], E_V32HFmode))
16307 : return -1;
16308 73 : x4 = XVECEXP (x3, 0, 1);
16309 73 : operands[2] = x4;
16310 73 : if (!const_0_to_255_operand (operands[2], E_VOIDmode)
16311 73 : || !insn_condition_913 (operands, insn))
16312 0 : return -1;
16313 : return 8677; /* avx512dq_fpclassv32hf */
16314 :
16315 164 : case 213:
16316 164 : x5 = XVECEXP (x3, 0, 0);
16317 164 : operands[1] = x5;
16318 164 : x4 = XVECEXP (x3, 0, 1);
16319 164 : operands[2] = x4;
16320 164 : switch (GET_MODE (operands[0]))
16321 : {
16322 79 : case E_DImode:
16323 79 : if (pattern203 (x3,
16324 : E_DImode,
16325 : E_V64QImode) != 0
16326 79 : || !insn_condition_914 (operands, insn))
16327 7 : return -1;
16328 : return 9019; /* avx512vl_vpshufbitqmbv64qi */
16329 :
16330 78 : case E_SImode:
16331 78 : if (pattern203 (x3,
16332 : E_SImode,
16333 : E_V32QImode) != 0
16334 78 : || !insn_condition_133 (operands, insn))
16335 7 : return -1;
16336 : return 9023; /* avx512vl_vpshufbitqmbv32qi */
16337 :
16338 : default:
16339 : return -1;
16340 : }
16341 :
16342 99 : case 261:
16343 99 : if (GET_MODE (x3) != E_SImode
16344 99 : || !register_operand (operands[0], E_SImode))
16345 : return -1;
16346 80 : x5 = XVECEXP (x3, 0, 0);
16347 80 : operands[1] = x5;
16348 80 : if (!nonimmediate_operand (operands[1], E_V32BFmode))
16349 : return -1;
16350 75 : x4 = XVECEXP (x3, 0, 1);
16351 75 : operands[2] = x4;
16352 75 : if (!const_0_to_255_operand (operands[2], E_VOIDmode)
16353 75 : || !insn_condition_41 (operands, insn))
16354 0 : return -1;
16355 : return 9413; /* avx10_2_fpclassbf16_v32bf */
16356 :
16357 29921 : case 317:
16358 29921 : x5 = XVECEXP (x3, 0, 0);
16359 29921 : operands[1] = x5;
16360 29921 : x4 = XVECEXP (x3, 0, 1);
16361 29921 : operands[2] = x4;
16362 29921 : if (!const_int_operand (operands[2], E_SImode))
16363 : return -1;
16364 29921 : switch (GET_MODE (operands[0]))
16365 : {
16366 18515 : case E_SImode:
16367 18515 : if (!memory_operand (operands[0], E_SImode)
16368 17539 : || GET_MODE (x3) != E_SImode
16369 36054 : || !x86_64_nonmemory_operand (operands[1], E_SImode))
16370 2362 : return -1;
16371 : return 9841; /* atomic_storesi_1 */
16372 :
16373 11032 : case E_DImode:
16374 11032 : if (!memory_operand (operands[0], E_DImode)
16375 10972 : || GET_MODE (x3) != E_DImode
16376 10972 : || !x86_64_nonmemory_operand (operands[1], E_DImode)
16377 20417 : || !insn_condition_52 (operands, insn))
16378 1647 : return -1;
16379 : return 9842; /* atomic_storedi_1 */
16380 :
16381 : default:
16382 : return -1;
16383 : }
16384 :
16385 : default:
16386 : return -1;
16387 : }
16388 : }
16389 :
16390 : int
16391 2717 : recog_141 (rtx x1 ATTRIBUTE_UNUSED,
16392 : rtx_insn *insn ATTRIBUTE_UNUSED,
16393 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16394 : {
16395 2717 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16396 2717 : rtx x2, x3, x4, x5;
16397 2717 : int res ATTRIBUTE_UNUSED;
16398 2717 : x2 = XEXP (x1, 1);
16399 2717 : x3 = XEXP (x2, 0);
16400 2717 : x4 = XVECEXP (x3, 0, 0);
16401 2717 : operands[1] = x4;
16402 2717 : x5 = XEXP (x2, 2);
16403 2717 : operands[3] = x5;
16404 2717 : switch (GET_MODE (operands[0]))
16405 : {
16406 99 : case E_V32HFmode:
16407 99 : if (pattern1038 (x2,
16408 : E_V32HFmode,
16409 : E_SImode) != 0
16410 99 : || !insn_condition_89 (operands, insn))
16411 28 : return -1;
16412 : return 5702; /* avx512bw_getexpv32hf_mask */
16413 :
16414 251 : case E_V16HFmode:
16415 251 : if (pattern1038 (x2,
16416 : E_V16HFmode,
16417 : E_HImode) != 0
16418 251 : || !insn_condition_980 (operands, insn))
16419 31 : return -1;
16420 : return 5706; /* avx512vl_getexpv16hf_mask */
16421 :
16422 251 : case E_V8HFmode:
16423 251 : if (pattern1038 (x2,
16424 : E_V8HFmode,
16425 : E_QImode) != 0
16426 251 : || !insn_condition_980 (operands, insn))
16427 31 : return -1;
16428 : return 5710; /* avx512fp16_getexpv8hf_mask */
16429 :
16430 82 : case E_V16SFmode:
16431 82 : if (pattern1038 (x2,
16432 : E_V16SFmode,
16433 : E_HImode) != 0
16434 82 : || !insn_condition_27 (operands, insn))
16435 35 : return -1;
16436 : return 5714; /* avx512f_getexpv16sf_mask */
16437 :
16438 258 : case E_V8SFmode:
16439 258 : if (pattern1038 (x2,
16440 : E_V8SFmode,
16441 : E_QImode) != 0
16442 258 : || !insn_condition_341 (operands, insn))
16443 33 : return -1;
16444 : return 5718; /* avx512vl_getexpv8sf_mask */
16445 :
16446 415 : case E_V4SFmode:
16447 415 : if (pattern1038 (x2,
16448 : E_V4SFmode,
16449 : E_QImode) != 0
16450 415 : || !insn_condition_341 (operands, insn))
16451 25 : return -1;
16452 : return 5722; /* avx512vl_getexpv4sf_mask */
16453 :
16454 87 : case E_V8DFmode:
16455 87 : if (pattern1038 (x2,
16456 : E_V8DFmode,
16457 : E_QImode) != 0
16458 87 : || !insn_condition_27 (operands, insn))
16459 36 : return -1;
16460 : return 5726; /* avx512f_getexpv8df_mask */
16461 :
16462 262 : case E_V4DFmode:
16463 262 : if (pattern1038 (x2,
16464 : E_V4DFmode,
16465 : E_QImode) != 0
16466 262 : || !insn_condition_341 (operands, insn))
16467 33 : return -1;
16468 : return 5730; /* avx512vl_getexpv4df_mask */
16469 :
16470 253 : case E_V2DFmode:
16471 253 : if (pattern1038 (x2,
16472 : E_V2DFmode,
16473 : E_QImode) != 0
16474 253 : || !insn_condition_341 (operands, insn))
16475 25 : return -1;
16476 : return 5734; /* avx512vl_getexpv2df_mask */
16477 :
16478 254 : case E_V32BFmode:
16479 254 : if (pattern662 (x2,
16480 : E_V32BFmode,
16481 : E_SImode) != 0
16482 254 : || !insn_condition_83 (operands, insn))
16483 27 : return -1;
16484 : return 9390; /* avx10_2_getexpbf16_v32bf_mask */
16485 :
16486 254 : case E_V16BFmode:
16487 254 : if (pattern662 (x2,
16488 : E_V16BFmode,
16489 : E_HImode) != 0
16490 254 : || !insn_condition_83 (operands, insn))
16491 27 : return -1;
16492 : return 9392; /* avx10_2_getexpbf16_v16bf_mask */
16493 :
16494 251 : case E_V8BFmode:
16495 251 : if (pattern662 (x2,
16496 : E_V8BFmode,
16497 : E_QImode) != 0
16498 251 : || !insn_condition_83 (operands, insn))
16499 24 : return -1;
16500 : return 9394; /* avx10_2_getexpbf16_v8bf_mask */
16501 :
16502 : default:
16503 : return -1;
16504 : }
16505 : }
16506 :
16507 : int
16508 3151 : recog_146 (rtx x1 ATTRIBUTE_UNUSED,
16509 : rtx_insn *insn ATTRIBUTE_UNUSED,
16510 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16511 : {
16512 3151 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16513 3151 : rtx x2, x3, x4, x5, x6, x7;
16514 3151 : int res ATTRIBUTE_UNUSED;
16515 3151 : x2 = XEXP (x1, 1);
16516 3151 : x3 = XEXP (x2, 0);
16517 3151 : x4 = XVECEXP (x3, 0, 0);
16518 3151 : operands[1] = x4;
16519 3151 : x5 = XVECEXP (x3, 0, 1);
16520 3151 : operands[2] = x5;
16521 3151 : x6 = XEXP (x2, 2);
16522 3151 : switch (GET_CODE (x6))
16523 : {
16524 1375 : case CONST_INT:
16525 1375 : if (XWINT (x6, 0) != 1L)
16526 : return -1;
16527 1230 : switch (pattern488 (x2))
16528 : {
16529 10 : case 0:
16530 10 : if (!insn_condition_26 (operands, insn))
16531 0 : return -1;
16532 : return 5586; /* avx512f_vmscalefv8hf */
16533 :
16534 430 : case 1:
16535 430 : if (!insn_condition_27 (operands, insn))
16536 0 : return -1;
16537 : return 5590; /* avx512f_vmscalefv4sf */
16538 :
16539 20 : case 2:
16540 20 : if (!insn_condition_342 (operands, insn))
16541 0 : return -1;
16542 : return 5594; /* avx512f_vmscalefv2df */
16543 :
16544 : default:
16545 : return -1;
16546 : }
16547 :
16548 1742 : case REG:
16549 1742 : case SUBREG:
16550 1742 : operands[4] = x6;
16551 1742 : x7 = XEXP (x2, 1);
16552 1742 : operands[3] = x7;
16553 1742 : switch (GET_MODE (operands[0]))
16554 : {
16555 160 : case E_V32HFmode:
16556 160 : if (pattern1154 (x2,
16557 : E_V32HFmode,
16558 : E_SImode) != 0
16559 160 : || !insn_condition_89 (operands, insn))
16560 42 : return -1;
16561 : return 5600; /* avx512bw_scalefv32hf_mask */
16562 :
16563 228 : case E_V16HFmode:
16564 228 : if (pattern1154 (x2,
16565 : E_V16HFmode,
16566 : E_HImode) != 0
16567 228 : || !insn_condition_980 (operands, insn))
16568 20 : return -1;
16569 : return 5604; /* avx512vl_scalefv16hf_mask */
16570 :
16571 228 : case E_V8HFmode:
16572 228 : if (pattern1154 (x2,
16573 : E_V8HFmode,
16574 : E_QImode) != 0
16575 228 : || !insn_condition_980 (operands, insn))
16576 20 : return -1;
16577 : return 5608; /* avx512fp16_scalefv8hf_mask */
16578 :
16579 101 : case E_V16SFmode:
16580 101 : if (pattern1154 (x2,
16581 : E_V16SFmode,
16582 : E_HImode) != 0
16583 101 : || !insn_condition_27 (operands, insn))
16584 18 : return -1;
16585 : return 5612; /* avx512f_scalefv16sf_mask */
16586 :
16587 229 : case E_V8SFmode:
16588 229 : if (pattern1154 (x2,
16589 : E_V8SFmode,
16590 : E_QImode) != 0
16591 229 : || !insn_condition_341 (operands, insn))
16592 16 : return -1;
16593 : return 5616; /* avx512vl_scalefv8sf_mask */
16594 :
16595 226 : case E_V4SFmode:
16596 226 : if (pattern1154 (x2,
16597 : E_V4SFmode,
16598 : E_QImode) != 0
16599 226 : || !insn_condition_341 (operands, insn))
16600 12 : return -1;
16601 : return 5620; /* avx512vl_scalefv4sf_mask */
16602 :
16603 105 : case E_V8DFmode:
16604 105 : if (pattern1154 (x2,
16605 : E_V8DFmode,
16606 : E_QImode) != 0
16607 105 : || !insn_condition_27 (operands, insn))
16608 18 : return -1;
16609 : return 5624; /* avx512f_scalefv8df_mask */
16610 :
16611 233 : case E_V4DFmode:
16612 233 : if (pattern1154 (x2,
16613 : E_V4DFmode,
16614 : E_QImode) != 0
16615 233 : || !insn_condition_341 (operands, insn))
16616 16 : return -1;
16617 : return 5628; /* avx512vl_scalefv4df_mask */
16618 :
16619 232 : case E_V2DFmode:
16620 232 : if (pattern1154 (x2,
16621 : E_V2DFmode,
16622 : E_QImode) != 0
16623 232 : || !insn_condition_341 (operands, insn))
16624 13 : return -1;
16625 : return 5632; /* avx512vl_scalefv2df_mask */
16626 :
16627 : default:
16628 : return -1;
16629 : }
16630 :
16631 : default:
16632 : return -1;
16633 : }
16634 : }
16635 :
16636 : int
16637 1920 : recog_151 (rtx x1 ATTRIBUTE_UNUSED,
16638 : rtx_insn *insn ATTRIBUTE_UNUSED,
16639 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16640 : {
16641 1920 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16642 1920 : rtx x2;
16643 1920 : int res ATTRIBUTE_UNUSED;
16644 1920 : x2 = XEXP (x1, 1);
16645 1920 : switch (pattern514 (x2))
16646 : {
16647 97 : case 0:
16648 97 : if (!insn_condition_1003 (operands, insn))
16649 0 : return -1;
16650 : return 8950; /* vpshldv_v32hi_mask */
16651 :
16652 96 : case 1:
16653 96 : if (!insn_condition_1003 (operands, insn))
16654 0 : return -1;
16655 : return 8951; /* vpshldv_v16si_mask */
16656 :
16657 96 : case 2:
16658 96 : if (!insn_condition_1003 (operands, insn))
16659 0 : return -1;
16660 : return 8952; /* vpshldv_v8di_mask */
16661 :
16662 97 : case 3:
16663 97 : if (!insn_condition_1004 (operands, insn))
16664 0 : return -1;
16665 : return 8953; /* vpshldv_v16hi_mask */
16666 :
16667 96 : case 4:
16668 96 : if (!insn_condition_1004 (operands, insn))
16669 0 : return -1;
16670 : return 8954; /* vpshldv_v8si_mask */
16671 :
16672 96 : case 5:
16673 96 : if (!insn_condition_1004 (operands, insn))
16674 0 : return -1;
16675 : return 8955; /* vpshldv_v4di_mask */
16676 :
16677 97 : case 6:
16678 97 : if (!insn_condition_1004 (operands, insn))
16679 0 : return -1;
16680 : return 8956; /* vpshldv_v8hi_mask */
16681 :
16682 95 : case 7:
16683 95 : if (!insn_condition_1004 (operands, insn))
16684 0 : return -1;
16685 : return 8957; /* vpshldv_v4si_mask */
16686 :
16687 95 : case 8:
16688 95 : if (!insn_condition_1004 (operands, insn))
16689 0 : return -1;
16690 : return 8958; /* vpshldv_v2di_mask */
16691 :
16692 95 : case 9:
16693 95 : if (!insn_condition_1003 (operands, insn))
16694 0 : return -1;
16695 : return 8959; /* vpshldv_v32hi_maskz_1 */
16696 :
16697 94 : case 10:
16698 94 : if (!insn_condition_1003 (operands, insn))
16699 0 : return -1;
16700 : return 8960; /* vpshldv_v16si_maskz_1 */
16701 :
16702 94 : case 11:
16703 94 : if (!insn_condition_1003 (operands, insn))
16704 0 : return -1;
16705 : return 8961; /* vpshldv_v8di_maskz_1 */
16706 :
16707 96 : case 12:
16708 96 : if (!insn_condition_1004 (operands, insn))
16709 0 : return -1;
16710 : return 8962; /* vpshldv_v16hi_maskz_1 */
16711 :
16712 95 : case 13:
16713 95 : if (!insn_condition_1004 (operands, insn))
16714 0 : return -1;
16715 : return 8963; /* vpshldv_v8si_maskz_1 */
16716 :
16717 95 : case 14:
16718 95 : if (!insn_condition_1004 (operands, insn))
16719 0 : return -1;
16720 : return 8964; /* vpshldv_v4di_maskz_1 */
16721 :
16722 96 : case 15:
16723 96 : if (!insn_condition_1004 (operands, insn))
16724 0 : return -1;
16725 : return 8965; /* vpshldv_v8hi_maskz_1 */
16726 :
16727 95 : case 16:
16728 95 : if (!insn_condition_1004 (operands, insn))
16729 0 : return -1;
16730 : return 8966; /* vpshldv_v4si_maskz_1 */
16731 :
16732 94 : case 17:
16733 94 : if (!insn_condition_1004 (operands, insn))
16734 0 : return -1;
16735 : return 8967; /* vpshldv_v2di_maskz_1 */
16736 :
16737 : default:
16738 : return -1;
16739 : }
16740 : }
16741 :
16742 : int
16743 705 : recog_154 (rtx x1 ATTRIBUTE_UNUSED,
16744 : rtx_insn *insn ATTRIBUTE_UNUSED,
16745 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16746 : {
16747 705 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16748 705 : rtx x2, x3, x4, x5, x6, x7, x8;
16749 705 : int res ATTRIBUTE_UNUSED;
16750 705 : x2 = XEXP (x1, 1);
16751 705 : x3 = XEXP (x2, 0);
16752 705 : x4 = XVECEXP (x3, 0, 0);
16753 705 : operands[1] = x4;
16754 705 : x5 = XVECEXP (x3, 0, 1);
16755 705 : operands[2] = x5;
16756 705 : x6 = XVECEXP (x3, 0, 2);
16757 705 : operands[3] = x6;
16758 705 : x7 = XEXP (x2, 1);
16759 705 : switch (GET_CODE (x7))
16760 : {
16761 379 : case REG:
16762 379 : case SUBREG:
16763 379 : if (!rtx_equal_p (x7, operands[1]))
16764 : return -1;
16765 379 : x8 = XEXP (x2, 2);
16766 379 : operands[4] = x8;
16767 379 : switch (GET_MODE (operands[0]))
16768 : {
16769 128 : case E_V16SFmode:
16770 128 : if (pattern511 (x2,
16771 : E_V16SFmode,
16772 : E_HImode) != 0
16773 128 : || !insn_condition_41 (operands, insn))
16774 12 : return -1;
16775 : return 9275; /* vdpphps_v16sf_mask */
16776 :
16777 128 : case E_V8SFmode:
16778 128 : if (pattern511 (x2,
16779 : E_V8SFmode,
16780 : E_QImode) != 0
16781 128 : || !insn_condition_1006 (operands, insn))
16782 12 : return -1;
16783 : return 9276; /* vdpphps_v8sf_mask */
16784 :
16785 123 : case E_V4SFmode:
16786 123 : if (pattern511 (x2,
16787 : E_V4SFmode,
16788 : E_QImode) != 0
16789 123 : || !insn_condition_1006 (operands, insn))
16790 8 : return -1;
16791 : return 9277; /* vdpphps_v4sf_mask */
16792 :
16793 : default:
16794 : return -1;
16795 : }
16796 :
16797 320 : case CONST_INT:
16798 320 : case CONST_DOUBLE:
16799 320 : case CONST_VECTOR:
16800 320 : operands[4] = x7;
16801 320 : x8 = XEXP (x2, 2);
16802 320 : operands[5] = x8;
16803 320 : switch (GET_MODE (operands[0]))
16804 : {
16805 108 : case E_V16SFmode:
16806 108 : if (pattern513 (x2,
16807 : E_V16SFmode,
16808 : E_HImode) != 0
16809 108 : || !insn_condition_41 (operands, insn))
16810 14 : return -1;
16811 : return 9278; /* vdpphps_v16sf_maskz_1 */
16812 :
16813 108 : case E_V8SFmode:
16814 108 : if (pattern513 (x2,
16815 : E_V8SFmode,
16816 : E_QImode) != 0
16817 108 : || !insn_condition_1006 (operands, insn))
16818 14 : return -1;
16819 : return 9279; /* vdpphps_v8sf_maskz_1 */
16820 :
16821 104 : case E_V4SFmode:
16822 104 : if (pattern513 (x2,
16823 : E_V4SFmode,
16824 : E_QImode) != 0
16825 104 : || !insn_condition_1006 (operands, insn))
16826 10 : return -1;
16827 : return 9280; /* vdpphps_v4sf_maskz_1 */
16828 :
16829 : default:
16830 : return -1;
16831 : }
16832 :
16833 : default:
16834 : return -1;
16835 : }
16836 : }
16837 :
16838 : int
16839 2067 : recog_158 (rtx x1 ATTRIBUTE_UNUSED,
16840 : rtx_insn *insn ATTRIBUTE_UNUSED,
16841 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16842 : {
16843 2067 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16844 2067 : rtx x2;
16845 2067 : int res ATTRIBUTE_UNUSED;
16846 2067 : x2 = XEXP (x1, 1);
16847 2067 : switch (pattern510 (x2))
16848 : {
16849 178 : case 0:
16850 178 : if (!insn_condition_1009 (operands, insn))
16851 0 : return -1;
16852 : return 8897; /* vpshld_v32hi_mask */
16853 :
16854 231 : case 1:
16855 231 : if (!insn_condition_1009 (operands, insn))
16856 0 : return -1;
16857 : return 8899; /* vpshld_v16si_mask */
16858 :
16859 233 : case 2:
16860 233 : if (!insn_condition_1009 (operands, insn))
16861 0 : return -1;
16862 : return 8901; /* vpshld_v8di_mask */
16863 :
16864 191 : case 3:
16865 191 : if (!insn_condition_1010 (operands, insn))
16866 0 : return -1;
16867 : return 8903; /* vpshld_v16hi_mask */
16868 :
16869 215 : case 4:
16870 215 : if (!insn_condition_1010 (operands, insn))
16871 0 : return -1;
16872 : return 8905; /* vpshld_v8si_mask */
16873 :
16874 216 : case 5:
16875 216 : if (!insn_condition_1010 (operands, insn))
16876 0 : return -1;
16877 : return 8907; /* vpshld_v4di_mask */
16878 :
16879 191 : case 6:
16880 191 : if (!insn_condition_1010 (operands, insn))
16881 0 : return -1;
16882 : return 8909; /* vpshld_v8hi_mask */
16883 :
16884 214 : case 7:
16885 214 : if (!insn_condition_1010 (operands, insn))
16886 0 : return -1;
16887 : return 8911; /* vpshld_v4si_mask */
16888 :
16889 215 : case 8:
16890 215 : if (!insn_condition_1010 (operands, insn))
16891 0 : return -1;
16892 : return 8913; /* vpshld_v2di_mask */
16893 :
16894 : default:
16895 : return -1;
16896 : }
16897 : }
16898 :
16899 : int
16900 1702 : recog_162 (rtx x1 ATTRIBUTE_UNUSED,
16901 : rtx_insn *insn ATTRIBUTE_UNUSED,
16902 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16903 : {
16904 1702 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16905 1702 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
16906 1702 : rtx x10, x11, x12, x13;
16907 1702 : int res ATTRIBUTE_UNUSED;
16908 1702 : x2 = XEXP (x1, 1);
16909 1702 : x3 = XEXP (x2, 2);
16910 1702 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
16911 : return -1;
16912 1306 : x4 = XEXP (x2, 0);
16913 1306 : x5 = XEXP (x4, 2);
16914 1306 : if (!register_operand (x5, E_QImode))
16915 : return -1;
16916 1254 : x6 = XEXP (x4, 0);
16917 1254 : x7 = XEXP (x6, 0);
16918 1254 : switch (GET_CODE (x7))
16919 : {
16920 1010 : case REG:
16921 1010 : case SUBREG:
16922 1010 : case MEM:
16923 1010 : operands[1] = x7;
16924 1010 : x8 = XEXP (x6, 1);
16925 1010 : operands[2] = x8;
16926 1010 : x9 = XEXP (x6, 2);
16927 1010 : switch (GET_CODE (x9))
16928 : {
16929 708 : case REG:
16930 708 : case SUBREG:
16931 708 : case MEM:
16932 708 : operands[3] = x9;
16933 708 : switch (pattern1253 (x2))
16934 : {
16935 161 : case 0:
16936 161 : if (pattern1502 (x2,
16937 : E_V8HFmode) != 0)
16938 : return -1;
16939 152 : x10 = XEXP (x4, 1);
16940 152 : if (rtx_equal_p (x10, operands[1]))
16941 : {
16942 112 : x11 = XEXP (x2, 1);
16943 112 : if (rtx_equal_p (x11, operands[1])
16944 112 : && insn_condition_26 (operands, insn))
16945 : return 4394; /* avx512f_vmfmadd_v8hf_mask */
16946 : }
16947 40 : if (!rtx_equal_p (x10, operands[3]))
16948 : return -1;
16949 40 : x11 = XEXP (x2, 1);
16950 40 : if (!rtx_equal_p (x11, operands[3])
16951 40 : || !insn_condition_26 (operands, insn))
16952 0 : return -1;
16953 : return 4400; /* avx512f_vmfmadd_v8hf_mask3 */
16954 :
16955 191 : case 1:
16956 191 : if (pattern1502 (x2,
16957 : E_V4SFmode) != 0)
16958 : return -1;
16959 180 : x10 = XEXP (x4, 1);
16960 180 : if (rtx_equal_p (x10, operands[1]))
16961 : {
16962 101 : x11 = XEXP (x2, 1);
16963 101 : if (rtx_equal_p (x11, operands[1])
16964 101 : && insn_condition_27 (operands, insn))
16965 : return 4396; /* avx512f_vmfmadd_v4sf_mask */
16966 : }
16967 79 : if (!rtx_equal_p (x10, operands[3]))
16968 : return -1;
16969 79 : x11 = XEXP (x2, 1);
16970 79 : if (!rtx_equal_p (x11, operands[3])
16971 79 : || !insn_condition_27 (operands, insn))
16972 0 : return -1;
16973 : return 4402; /* avx512f_vmfmadd_v4sf_mask3 */
16974 :
16975 191 : case 2:
16976 191 : if (pattern1502 (x2,
16977 : E_V2DFmode) != 0)
16978 : return -1;
16979 180 : x10 = XEXP (x4, 1);
16980 180 : if (rtx_equal_p (x10, operands[1]))
16981 : {
16982 101 : x11 = XEXP (x2, 1);
16983 101 : if (rtx_equal_p (x11, operands[1])
16984 101 : && insn_condition_342 (operands, insn))
16985 : return 4398; /* avx512f_vmfmadd_v2df_mask */
16986 : }
16987 79 : if (!rtx_equal_p (x10, operands[3]))
16988 : return -1;
16989 79 : x11 = XEXP (x2, 1);
16990 79 : if (!rtx_equal_p (x11, operands[3])
16991 79 : || !insn_condition_342 (operands, insn))
16992 0 : return -1;
16993 : return 4404; /* avx512f_vmfmadd_v2df_mask3 */
16994 :
16995 41 : case 3:
16996 41 : if (pattern1590 (x2,
16997 : E_V8HFmode) != 0
16998 41 : || !insn_condition_26 (operands, insn))
16999 4 : return -1;
17000 : return 4406; /* avx512f_vmfmadd_v8hf_maskz_1 */
17001 :
17002 62 : case 4:
17003 62 : if (pattern1590 (x2,
17004 : E_V4SFmode) != 0
17005 62 : || !insn_condition_27 (operands, insn))
17006 5 : return -1;
17007 : return 4408; /* avx512f_vmfmadd_v4sf_maskz_1 */
17008 :
17009 62 : case 5:
17010 62 : if (pattern1590 (x2,
17011 : E_V2DFmode) != 0
17012 62 : || !insn_condition_342 (operands, insn))
17013 5 : return -1;
17014 : return 4410; /* avx512f_vmfmadd_v2df_maskz_1 */
17015 :
17016 : default:
17017 : return -1;
17018 : }
17019 :
17020 302 : case NEG:
17021 302 : x12 = XEXP (x9, 0);
17022 302 : operands[3] = x12;
17023 302 : switch (pattern1253 (x2))
17024 : {
17025 92 : case 0:
17026 92 : if (pattern1503 (x2,
17027 : E_V8HFmode) != 0)
17028 : return -1;
17029 80 : x10 = XEXP (x4, 1);
17030 80 : if (rtx_equal_p (x10, operands[1]))
17031 : {
17032 6 : x11 = XEXP (x2, 1);
17033 6 : if (rtx_equal_p (x11, operands[1])
17034 6 : && insn_condition_26 (operands, insn))
17035 : return 4412; /* *avx512f_vmfmsub_v8hf_mask */
17036 : }
17037 74 : if (!rtx_equal_p (x10, operands[3]))
17038 : return -1;
17039 74 : x11 = XEXP (x2, 1);
17040 74 : if (!rtx_equal_p (x11, operands[3])
17041 74 : || !insn_condition_26 (operands, insn))
17042 0 : return -1;
17043 : return 4418; /* avx512f_vmfmsub_v8hf_mask3 */
17044 :
17045 96 : case 1:
17046 96 : if (pattern1503 (x2,
17047 : E_V4SFmode) != 0)
17048 : return -1;
17049 86 : x10 = XEXP (x4, 1);
17050 86 : if (rtx_equal_p (x10, operands[1]))
17051 : {
17052 6 : x11 = XEXP (x2, 1);
17053 6 : if (rtx_equal_p (x11, operands[1])
17054 6 : && insn_condition_27 (operands, insn))
17055 : return 4414; /* *avx512f_vmfmsub_v4sf_mask */
17056 : }
17057 80 : if (!rtx_equal_p (x10, operands[3]))
17058 : return -1;
17059 80 : x11 = XEXP (x2, 1);
17060 80 : if (!rtx_equal_p (x11, operands[3])
17061 80 : || !insn_condition_27 (operands, insn))
17062 0 : return -1;
17063 : return 4420; /* avx512f_vmfmsub_v4sf_mask3 */
17064 :
17065 96 : case 2:
17066 96 : if (pattern1503 (x2,
17067 : E_V2DFmode) != 0)
17068 : return -1;
17069 86 : x10 = XEXP (x4, 1);
17070 86 : if (rtx_equal_p (x10, operands[1]))
17071 : {
17072 6 : x11 = XEXP (x2, 1);
17073 6 : if (rtx_equal_p (x11, operands[1])
17074 6 : && insn_condition_342 (operands, insn))
17075 : return 4416; /* *avx512f_vmfmsub_v2df_mask */
17076 : }
17077 80 : if (!rtx_equal_p (x10, operands[3]))
17078 : return -1;
17079 80 : x11 = XEXP (x2, 1);
17080 80 : if (!rtx_equal_p (x11, operands[3])
17081 80 : || !insn_condition_342 (operands, insn))
17082 0 : return -1;
17083 : return 4422; /* avx512f_vmfmsub_v2df_mask3 */
17084 :
17085 6 : case 3:
17086 6 : if (pattern1591 (x2,
17087 : E_V8HFmode) != 0
17088 6 : || !insn_condition_26 (operands, insn))
17089 2 : return -1;
17090 : return 4424; /* *avx512f_vmfmsub_v8hf_maskz_1 */
17091 :
17092 6 : case 4:
17093 6 : if (pattern1591 (x2,
17094 : E_V4SFmode) != 0
17095 6 : || !insn_condition_27 (operands, insn))
17096 2 : return -1;
17097 : return 4426; /* *avx512f_vmfmsub_v4sf_maskz_1 */
17098 :
17099 6 : case 5:
17100 6 : if (pattern1591 (x2,
17101 : E_V2DFmode) != 0
17102 6 : || !insn_condition_342 (operands, insn))
17103 2 : return -1;
17104 : return 4428; /* *avx512f_vmfmsub_v2df_maskz_1 */
17105 :
17106 : default:
17107 : return -1;
17108 : }
17109 :
17110 : default:
17111 : return -1;
17112 : }
17113 :
17114 244 : case NEG:
17115 244 : x9 = XEXP (x6, 2);
17116 244 : switch (GET_CODE (x9))
17117 : {
17118 177 : case REG:
17119 177 : case SUBREG:
17120 177 : case MEM:
17121 177 : operands[3] = x9;
17122 177 : switch (pattern1046 (x2))
17123 : {
17124 80 : case 0:
17125 80 : x8 = XEXP (x6, 1);
17126 80 : operands[2] = x8;
17127 80 : x13 = XEXP (x7, 0);
17128 80 : operands[1] = x13;
17129 80 : if (nonimmediate_operand (operands[3], E_V8HFmode))
17130 : {
17131 80 : x10 = XEXP (x4, 1);
17132 80 : if (rtx_equal_p (x10, operands[1]))
17133 : {
17134 39 : x11 = XEXP (x2, 1);
17135 39 : if (rtx_equal_p (x11, operands[1])
17136 39 : && insn_condition_26 (operands, insn))
17137 : return 4430; /* avx512f_vmfnmadd_v8hf_mask */
17138 : }
17139 : }
17140 41 : operands[1] = x8;
17141 41 : operands[2] = x13;
17142 41 : if (!nonimmediate_operand (operands[3], E_V8HFmode))
17143 : return -1;
17144 41 : x10 = XEXP (x4, 1);
17145 41 : if (!rtx_equal_p (x10, operands[3]))
17146 : return -1;
17147 40 : x11 = XEXP (x2, 1);
17148 40 : if (!rtx_equal_p (x11, operands[3])
17149 40 : || !insn_condition_26 (operands, insn))
17150 0 : return -1;
17151 : return 4436; /* avx512f_vmfnmadd_v8hf_mask3 */
17152 :
17153 13 : case 1:
17154 13 : x8 = XEXP (x6, 1);
17155 13 : operands[2] = x8;
17156 13 : x13 = XEXP (x7, 0);
17157 13 : operands[1] = x13;
17158 13 : if (nonimmediate_operand (operands[3], E_V4SFmode))
17159 : {
17160 13 : x10 = XEXP (x4, 1);
17161 13 : if (rtx_equal_p (x10, operands[1]))
17162 : {
17163 5 : x11 = XEXP (x2, 1);
17164 5 : if (rtx_equal_p (x11, operands[1])
17165 5 : && insn_condition_27 (operands, insn))
17166 : return 4432; /* avx512f_vmfnmadd_v4sf_mask */
17167 : }
17168 : }
17169 8 : operands[1] = x8;
17170 8 : operands[2] = x13;
17171 8 : if (!nonimmediate_operand (operands[3], E_V4SFmode))
17172 : return -1;
17173 8 : x10 = XEXP (x4, 1);
17174 8 : if (!rtx_equal_p (x10, operands[3]))
17175 : return -1;
17176 6 : x11 = XEXP (x2, 1);
17177 6 : if (!rtx_equal_p (x11, operands[3])
17178 6 : || !insn_condition_27 (operands, insn))
17179 0 : return -1;
17180 : return 4438; /* avx512f_vmfnmadd_v4sf_mask3 */
17181 :
17182 13 : case 2:
17183 13 : x8 = XEXP (x6, 1);
17184 13 : operands[2] = x8;
17185 13 : x13 = XEXP (x7, 0);
17186 13 : operands[1] = x13;
17187 13 : if (nonimmediate_operand (operands[3], E_V2DFmode))
17188 : {
17189 13 : x10 = XEXP (x4, 1);
17190 13 : if (rtx_equal_p (x10, operands[1]))
17191 : {
17192 5 : x11 = XEXP (x2, 1);
17193 5 : if (rtx_equal_p (x11, operands[1])
17194 5 : && insn_condition_342 (operands, insn))
17195 : return 4434; /* avx512f_vmfnmadd_v2df_mask */
17196 : }
17197 : }
17198 8 : operands[1] = x8;
17199 8 : operands[2] = x13;
17200 8 : if (!nonimmediate_operand (operands[3], E_V2DFmode))
17201 : return -1;
17202 8 : x10 = XEXP (x4, 1);
17203 8 : if (!rtx_equal_p (x10, operands[3]))
17204 : return -1;
17205 6 : x11 = XEXP (x2, 1);
17206 6 : if (!rtx_equal_p (x11, operands[3])
17207 6 : || !insn_condition_342 (operands, insn))
17208 0 : return -1;
17209 : return 4440; /* avx512f_vmfnmadd_v2df_mask3 */
17210 :
17211 38 : case 3:
17212 38 : if (pattern1592 (x2,
17213 : E_V8HFmode) != 0
17214 38 : || !insn_condition_26 (operands, insn))
17215 5 : return -1;
17216 : return 4442; /* avx512f_vmfnmadd_v8hf_maskz_1 */
17217 :
17218 7 : case 4:
17219 7 : if (pattern1592 (x2,
17220 : E_V4SFmode) != 0
17221 7 : || !insn_condition_27 (operands, insn))
17222 2 : return -1;
17223 : return 4444; /* avx512f_vmfnmadd_v4sf_maskz_1 */
17224 :
17225 7 : case 5:
17226 7 : if (pattern1592 (x2,
17227 : E_V2DFmode) != 0
17228 7 : || !insn_condition_342 (operands, insn))
17229 2 : return -1;
17230 : return 4446; /* avx512f_vmfnmadd_v2df_maskz_1 */
17231 :
17232 : default:
17233 : return -1;
17234 : }
17235 :
17236 67 : case NEG:
17237 67 : x12 = XEXP (x9, 0);
17238 67 : operands[3] = x12;
17239 67 : switch (pattern1046 (x2))
17240 : {
17241 16 : case 0:
17242 16 : x8 = XEXP (x6, 1);
17243 16 : operands[2] = x8;
17244 16 : if (pattern1757 (x2,
17245 : E_V8HFmode) == 0
17246 16 : && insn_condition_26 (operands, insn))
17247 : return 4448; /* *avx512f_vmfnmsub_v8hf_mask */
17248 12 : operands[1] = x8;
17249 12 : if (pattern1758 (x2,
17250 : E_V8HFmode) != 0
17251 12 : || !insn_condition_26 (operands, insn))
17252 0 : return -1;
17253 : return 4454; /* *avx512f_vmfnmsub_v8hf_mask3 */
17254 :
17255 10 : case 1:
17256 10 : x8 = XEXP (x6, 1);
17257 10 : operands[2] = x8;
17258 10 : if (pattern1757 (x2,
17259 : E_V4SFmode) == 0
17260 10 : && insn_condition_27 (operands, insn))
17261 : return 4450; /* *avx512f_vmfnmsub_v4sf_mask */
17262 6 : operands[1] = x8;
17263 6 : if (pattern1758 (x2,
17264 : E_V4SFmode) != 0
17265 6 : || !insn_condition_27 (operands, insn))
17266 0 : return -1;
17267 : return 4456; /* *avx512f_vmfnmsub_v4sf_mask3 */
17268 :
17269 10 : case 2:
17270 10 : x8 = XEXP (x6, 1);
17271 10 : operands[2] = x8;
17272 10 : if (pattern1757 (x2,
17273 : E_V2DFmode) == 0
17274 10 : && insn_condition_342 (operands, insn))
17275 : return 4452; /* *avx512f_vmfnmsub_v2df_mask */
17276 6 : operands[1] = x8;
17277 6 : if (pattern1758 (x2,
17278 : E_V2DFmode) != 0
17279 6 : || !insn_condition_342 (operands, insn))
17280 0 : return -1;
17281 : return 4458; /* *avx512f_vmfnmsub_v2df_mask3 */
17282 :
17283 4 : case 3:
17284 4 : if (pattern1593 (x2,
17285 : E_V8HFmode) != 0
17286 4 : || !insn_condition_26 (operands, insn))
17287 2 : return -1;
17288 : return 4460; /* *avx512f_vmfnmsub_v8hf_maskz_1 */
17289 :
17290 4 : case 4:
17291 4 : if (pattern1593 (x2,
17292 : E_V4SFmode) != 0
17293 4 : || !insn_condition_27 (operands, insn))
17294 2 : return -1;
17295 : return 4462; /* *avx512f_vmfnmsub_v4sf_maskz_1 */
17296 :
17297 4 : case 5:
17298 4 : if (pattern1593 (x2,
17299 : E_V2DFmode) != 0
17300 4 : || !insn_condition_342 (operands, insn))
17301 2 : return -1;
17302 : return 4464; /* *avx512f_vmfnmsub_v2df_maskz_1 */
17303 :
17304 : default:
17305 : return -1;
17306 : }
17307 :
17308 : default:
17309 : return -1;
17310 : }
17311 :
17312 : default:
17313 : return -1;
17314 : }
17315 : }
17316 :
17317 : int
17318 449228 : recog_165 (rtx x1 ATTRIBUTE_UNUSED,
17319 : rtx_insn *insn ATTRIBUTE_UNUSED,
17320 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17321 : {
17322 449228 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17323 449228 : rtx x2, x3, x4, x5, x6;
17324 449228 : int res ATTRIBUTE_UNUSED;
17325 449228 : x2 = XEXP (x1, 1);
17326 449228 : x3 = XEXP (x2, 2);
17327 449228 : switch (GET_CODE (x3))
17328 : {
17329 442785 : case CONST_INT:
17330 442785 : x4 = XEXP (x2, 0);
17331 442785 : x5 = XEXP (x4, 0);
17332 442785 : operands[2] = x5;
17333 442785 : x6 = XEXP (x2, 1);
17334 442785 : operands[1] = x6;
17335 442785 : switch (XWINT (x3, 0))
17336 : {
17337 825 : case 3L:
17338 825 : switch (GET_MODE (operands[0]))
17339 : {
17340 764 : case E_V8HFmode:
17341 764 : if (pattern1047 (x2,
17342 : E_V8HFmode,
17343 : E_V2HFmode) == 0
17344 764 : && insn_condition_148 (operands, insn))
17345 : return 5456; /* *vec_concatv8hf_movss */
17346 : break;
17347 :
17348 0 : case E_V8BFmode:
17349 0 : if (pattern1047 (x2,
17350 : E_V8BFmode,
17351 : E_V2BFmode) == 0
17352 0 : && insn_condition_148 (operands, insn))
17353 : return 5457; /* *vec_concatv8bf_movss */
17354 : break;
17355 :
17356 12 : case E_V8HImode:
17357 12 : if (pattern1047 (x2,
17358 : E_V8HImode,
17359 : E_V2HImode) == 0
17360 12 : && insn_condition_148 (operands, insn))
17361 : return 5458; /* *vec_concatv8hi_movss */
17362 : break;
17363 :
17364 : default:
17365 : break;
17366 : }
17367 : break;
17368 :
17369 349665 : case 1L:
17370 349665 : switch (GET_MODE (operands[0]))
17371 : {
17372 294440 : case E_V4SImode:
17373 294440 : if (pattern1048 (x2,
17374 : E_V4SImode,
17375 : E_SImode) == 0
17376 294440 : && insn_condition_148 (operands, insn))
17377 : return 5459; /* vec_setv4si_0 */
17378 : break;
17379 :
17380 49047 : case E_V4SFmode:
17381 49047 : if (pattern1048 (x2,
17382 : E_V4SFmode,
17383 : E_SFmode) == 0
17384 49047 : && insn_condition_148 (operands, insn))
17385 : return 5460; /* vec_setv4sf_0 */
17386 : break;
17387 :
17388 2496 : case E_V8HImode:
17389 2496 : if (pattern1047 (x2,
17390 : E_V8HImode,
17391 : E_HImode) == 0
17392 2496 : && insn_condition_141 (operands, insn))
17393 : return 5461; /* vec_setv8hi_0 */
17394 : break;
17395 :
17396 1086 : case E_V8HFmode:
17397 1086 : if (pattern1047 (x2,
17398 : E_V8HFmode,
17399 : E_HFmode) == 0
17400 1086 : && insn_condition_141 (operands, insn))
17401 : return 5462; /* vec_setv8hf_0 */
17402 : break;
17403 :
17404 59 : case E_V8BFmode:
17405 59 : if (pattern1047 (x2,
17406 : E_V8BFmode,
17407 : E_BFmode) == 0
17408 59 : && insn_condition_141 (operands, insn))
17409 : return 5463; /* vec_setv8bf_0 */
17410 : break;
17411 :
17412 30 : case E_V16HImode:
17413 30 : if (pattern1049 (x2,
17414 : E_V16HImode,
17415 : E_HImode) == 0
17416 30 : && insn_condition_40 (operands, insn))
17417 : return 5467; /* vec_setv16hi_0 */
17418 : break;
17419 :
17420 34 : case E_V32HImode:
17421 34 : if (pattern1049 (x2,
17422 : E_V32HImode,
17423 : E_HImode) == 0
17424 34 : && insn_condition_40 (operands, insn))
17425 : return 5468; /* vec_setv32hi_0 */
17426 : break;
17427 :
17428 83 : case E_V16HFmode:
17429 83 : if (pattern1049 (x2,
17430 : E_V16HFmode,
17431 : E_HFmode) == 0
17432 83 : && insn_condition_40 (operands, insn))
17433 : return 5469; /* vec_setv16hf_0 */
17434 : break;
17435 :
17436 63 : case E_V32HFmode:
17437 63 : if (pattern1049 (x2,
17438 : E_V32HFmode,
17439 : E_HFmode) == 0
17440 63 : && insn_condition_40 (operands, insn))
17441 : return 5470; /* vec_setv32hf_0 */
17442 : break;
17443 :
17444 0 : case E_V16BFmode:
17445 0 : if (pattern1049 (x2,
17446 : E_V16BFmode,
17447 : E_BFmode) == 0
17448 0 : && insn_condition_40 (operands, insn))
17449 : return 5471; /* vec_setv16bf_0 */
17450 : break;
17451 :
17452 0 : case E_V32BFmode:
17453 0 : if (pattern1049 (x2,
17454 : E_V32BFmode,
17455 : E_BFmode) == 0
17456 0 : && insn_condition_40 (operands, insn))
17457 : return 5472; /* vec_setv32bf_0 */
17458 : break;
17459 :
17460 12 : case E_V8SImode:
17461 12 : if (pattern1049 (x2,
17462 : E_V8SImode,
17463 : E_SImode) == 0
17464 12 : && insn_condition_122 (operands, insn))
17465 : return 5484; /* vec_setv8si_0 */
17466 : break;
17467 :
17468 360 : case E_V8SFmode:
17469 360 : if (pattern1049 (x2,
17470 : E_V8SFmode,
17471 : E_SFmode) == 0
17472 360 : && insn_condition_122 (operands, insn))
17473 : return 5485; /* vec_setv8sf_0 */
17474 : break;
17475 :
17476 108 : case E_V16SImode:
17477 108 : if (pattern1049 (x2,
17478 : E_V16SImode,
17479 : E_SImode) == 0
17480 108 : && insn_condition_1101 (operands, insn))
17481 : return 5486; /* vec_setv16si_0 */
17482 : break;
17483 :
17484 356 : case E_V16SFmode:
17485 356 : if (pattern1049 (x2,
17486 : E_V16SFmode,
17487 : E_SFmode) == 0
17488 356 : && insn_condition_1101 (operands, insn))
17489 : return 5487; /* vec_setv16sf_0 */
17490 : break;
17491 :
17492 514 : case E_V2DFmode:
17493 514 : if (pattern911 (x2,
17494 : E_V2DFmode,
17495 : E_DFmode) == 0
17496 514 : && insn_condition_141 (operands, insn))
17497 : return 5502; /* vec_setv2df_0 */
17498 : break;
17499 :
17500 8 : case E_V8DFmode:
17501 8 : if (pattern1049 (x2,
17502 : E_V8DFmode,
17503 : E_DFmode) == 0
17504 8 : && insn_condition_1101 (operands, insn))
17505 : return 5902; /* vec_setv8df_0 */
17506 : break;
17507 :
17508 136 : case E_V4DFmode:
17509 136 : if (pattern1049 (x2,
17510 : E_V4DFmode,
17511 : E_DFmode) == 0
17512 136 : && insn_condition_122 (operands, insn))
17513 : return 5903; /* vec_setv4df_0 */
17514 : break;
17515 :
17516 37 : case E_V8DImode:
17517 37 : if (pattern1049 (x2,
17518 : E_V8DImode,
17519 : E_DImode) == 0
17520 37 : && insn_condition_1101 (operands, insn))
17521 : return 7157; /* vec_setv8di_0 */
17522 : break;
17523 :
17524 66 : case E_V4DImode:
17525 66 : if (pattern1049 (x2,
17526 : E_V4DImode,
17527 : E_DImode) == 0
17528 66 : && insn_condition_122 (operands, insn))
17529 : return 7158; /* vec_setv4di_0 */
17530 : break;
17531 :
17532 : default:
17533 : break;
17534 : }
17535 : break;
17536 :
17537 : default:
17538 : break;
17539 : }
17540 105598 : operands[3] = x3;
17541 105598 : res = recog_164 (x1, insn, pnum_clobbers);
17542 105598 : if (res >= 0)
17543 : return res;
17544 21761 : switch (XWINT (x3, 0))
17545 : {
17546 1234 : case 8L:
17547 1234 : if (!register_operand (operands[0], E_V4SFmode)
17548 577 : || GET_MODE (x2) != E_V4SFmode
17549 1811 : || GET_MODE (x4) != E_V4SFmode)
17550 : return -1;
17551 577 : operands[1] = x5;
17552 577 : if (!register_operand (operands[1], E_SFmode))
17553 : return -1;
17554 550 : operands[2] = x6;
17555 550 : if (!const0_operand (operands[2], E_V4SFmode)
17556 550 : || !insn_condition_1102 (operands, insn))
17557 0 : return -1;
17558 : return 5497; /* sse2_insertps_v4sf_3 */
17559 :
17560 12875 : case 1L:
17561 12875 : if (!register_operand (operands[0], E_V4SImode)
17562 9833 : || GET_MODE (x2) != E_V4SImode
17563 22708 : || GET_MODE (x4) != E_V4SImode)
17564 : return -1;
17565 9833 : operands[2] = x5;
17566 9833 : if (!nonimmediate_operand (operands[2], E_SImode))
17567 : return -1;
17568 68 : operands[1] = x6;
17569 68 : if (!reg_or_0_operand (operands[1], E_V4SImode)
17570 68 : || !insn_condition_148 (operands, insn))
17571 68 : return -1;
17572 : return 7121; /* sse2_loadld */
17573 :
17574 : default:
17575 : return -1;
17576 : }
17577 :
17578 5941 : case REG:
17579 5941 : case SUBREG:
17580 5941 : operands[3] = x3;
17581 5941 : x4 = XEXP (x2, 0);
17582 5941 : x5 = XEXP (x4, 0);
17583 5941 : operands[1] = x5;
17584 5941 : x6 = XEXP (x2, 1);
17585 5941 : operands[2] = x6;
17586 5941 : switch (GET_MODE (operands[0]))
17587 : {
17588 187 : case E_V2DFmode:
17589 187 : if (pattern189 (x2,
17590 : E_V2DFmode,
17591 : E_DFmode,
17592 : E_QImode) != 0)
17593 : return -1;
17594 181 : if (insn_condition_342 (operands, insn))
17595 : return 5900; /* vec_dupv2df_mask */
17596 0 : if (!insn_condition_341 (operands, insn))
17597 0 : return -1;
17598 : return 7976; /* avx512vl_vec_dup_gprv2df_mask */
17599 :
17600 503 : case E_V16SFmode:
17601 503 : if (pattern176 (x2,
17602 : E_V16SFmode,
17603 : E_HImode) != 0)
17604 : return -1;
17605 465 : switch (GET_MODE (operands[1]))
17606 : {
17607 233 : case E_V4SFmode:
17608 233 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
17609 233 : || !insn_condition_27 (operands, insn))
17610 0 : return -1;
17611 : return 7922; /* avx512f_broadcastv16sf_mask */
17612 :
17613 11 : case E_SFmode:
17614 11 : if (!nonimmediate_operand (operands[1], E_SFmode)
17615 11 : || !insn_condition_27 (operands, insn))
17616 0 : return -1;
17617 : return 7966; /* avx512f_vec_dup_gprv16sf_mask */
17618 :
17619 221 : case E_V8SFmode:
17620 221 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
17621 221 : || !insn_condition_119 (operands, insn))
17622 0 : return -1;
17623 : return 8030; /* avx512dq_broadcastv16sf_mask_1 */
17624 :
17625 : default:
17626 : return -1;
17627 : }
17628 :
17629 1119 : case E_V16SImode:
17630 1119 : if (pattern176 (x2,
17631 : E_V16SImode,
17632 : E_HImode) != 0)
17633 : return -1;
17634 729 : switch (GET_MODE (operands[1]))
17635 : {
17636 195 : case E_V4SImode:
17637 195 : if (!nonimmediate_operand (operands[1], E_V4SImode)
17638 195 : || !insn_condition_27 (operands, insn))
17639 0 : return -1;
17640 : return 7924; /* avx512f_broadcastv16si_mask */
17641 :
17642 339 : case E_SImode:
17643 339 : if (!nonimmediate_operand (operands[1], E_SImode)
17644 339 : || !insn_condition_27 (operands, insn))
17645 0 : return -1;
17646 : return 7954; /* avx512f_vec_dup_gprv16si_mask */
17647 :
17648 195 : case E_V8SImode:
17649 195 : if (!nonimmediate_operand (operands[1], E_V8SImode)
17650 195 : || !insn_condition_119 (operands, insn))
17651 0 : return -1;
17652 : return 8032; /* avx512dq_broadcastv16si_mask_1 */
17653 :
17654 : default:
17655 : return -1;
17656 : }
17657 :
17658 612 : case E_V8DFmode:
17659 612 : if (pattern176 (x2,
17660 : E_V8DFmode,
17661 : E_QImode) != 0)
17662 : return -1;
17663 511 : switch (GET_MODE (operands[1]))
17664 : {
17665 221 : case E_V4DFmode:
17666 221 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
17667 221 : || !insn_condition_27 (operands, insn))
17668 0 : return -1;
17669 : return 7926; /* avx512f_broadcastv8df_mask */
17670 :
17671 63 : case E_DFmode:
17672 63 : if (!nonimmediate_operand (operands[1], E_DFmode)
17673 63 : || !insn_condition_27 (operands, insn))
17674 0 : return -1;
17675 : return 7972; /* avx512f_vec_dup_gprv8df_mask */
17676 :
17677 227 : case E_V2DFmode:
17678 227 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
17679 227 : || !insn_condition_119 (operands, insn))
17680 0 : return -1;
17681 : return 8036; /* avx512dq_broadcastv8df_mask_1 */
17682 :
17683 : default:
17684 : return -1;
17685 : }
17686 :
17687 756 : case E_V8DImode:
17688 756 : if (pattern176 (x2,
17689 : E_V8DImode,
17690 : E_QImode) != 0)
17691 : return -1;
17692 683 : switch (GET_MODE (operands[1]))
17693 : {
17694 223 : case E_V4DImode:
17695 223 : if (!nonimmediate_operand (operands[1], E_V4DImode)
17696 223 : || !insn_condition_27 (operands, insn))
17697 0 : return -1;
17698 : return 7928; /* avx512f_broadcastv8di_mask */
17699 :
17700 240 : case E_DImode:
17701 240 : if (!nonimmediate_operand (operands[1], E_DImode)
17702 240 : || !insn_condition_27 (operands, insn))
17703 0 : return -1;
17704 : return 7960; /* avx512f_vec_dup_gprv8di_mask */
17705 :
17706 220 : case E_V2DImode:
17707 220 : if (!nonimmediate_operand (operands[1], E_V2DImode)
17708 220 : || !insn_condition_119 (operands, insn))
17709 0 : return -1;
17710 : return 8034; /* avx512dq_broadcastv8di_mask_1 */
17711 :
17712 : default:
17713 : return -1;
17714 : }
17715 :
17716 201 : case E_V64QImode:
17717 201 : if (pattern189 (x2,
17718 : E_V64QImode,
17719 : E_QImode,
17720 : E_DImode) != 0
17721 201 : || !insn_condition_120 (operands, insn))
17722 5 : return -1;
17723 : return 7930; /* avx512bw_vec_dup_gprv64qi_mask */
17724 :
17725 173 : case E_V16QImode:
17726 173 : if (pattern189 (x2,
17727 : E_V16QImode,
17728 : E_QImode,
17729 : E_HImode) != 0
17730 173 : || !insn_condition_1039 (operands, insn))
17731 0 : return -1;
17732 : return 7932; /* avx512vl_vec_dup_gprv16qi_mask */
17733 :
17734 173 : case E_V32QImode:
17735 173 : if (pattern189 (x2,
17736 : E_V32QImode,
17737 : E_QImode,
17738 : E_SImode) != 0
17739 173 : || !insn_condition_1039 (operands, insn))
17740 1 : return -1;
17741 : return 7934; /* avx512vl_vec_dup_gprv32qi_mask */
17742 :
17743 191 : case E_V32HImode:
17744 191 : if (pattern189 (x2,
17745 : E_V32HImode,
17746 : E_HImode,
17747 : E_SImode) != 0
17748 191 : || !insn_condition_120 (operands, insn))
17749 1 : return -1;
17750 : return 7936; /* avx512bw_vec_dup_gprv32hi_mask */
17751 :
17752 173 : case E_V16HImode:
17753 173 : if (pattern187 (x2,
17754 : E_HImode) != 0
17755 173 : || !insn_condition_1039 (operands, insn))
17756 1 : return -1;
17757 : return 7938; /* avx512vl_vec_dup_gprv16hi_mask */
17758 :
17759 172 : case E_V8HImode:
17760 172 : if (pattern189 (x2,
17761 : E_V8HImode,
17762 : E_HImode,
17763 : E_QImode) != 0
17764 172 : || !insn_condition_1039 (operands, insn))
17765 0 : return -1;
17766 : return 7940; /* avx512vl_vec_dup_gprv8hi_mask */
17767 :
17768 52 : case E_V32HFmode:
17769 52 : if (pattern189 (x2,
17770 : E_V32HFmode,
17771 : E_HFmode,
17772 : E_SImode) != 0
17773 52 : || !insn_condition_120 (operands, insn))
17774 1 : return -1;
17775 : return 7942; /* avx512bw_vec_dup_gprv32hf_mask */
17776 :
17777 2 : case E_V16HFmode:
17778 2 : if (pattern189 (x2,
17779 : E_V16HFmode,
17780 : E_HFmode,
17781 : E_HImode) != 0
17782 2 : || !insn_condition_1039 (operands, insn))
17783 0 : return -1;
17784 : return 7944; /* avx512vl_vec_dup_gprv16hf_mask */
17785 :
17786 0 : case E_V8HFmode:
17787 0 : if (pattern189 (x2,
17788 : E_V8HFmode,
17789 : E_HFmode,
17790 : E_QImode) != 0
17791 0 : || !insn_condition_1039 (operands, insn))
17792 0 : return -1;
17793 : return 7946; /* avx512fp16_vec_dup_gprv8hf_mask */
17794 :
17795 24 : case E_V32BFmode:
17796 24 : if (pattern189 (x2,
17797 : E_V32BFmode,
17798 : E_BFmode,
17799 : E_SImode) != 0
17800 24 : || !insn_condition_120 (operands, insn))
17801 0 : return -1;
17802 : return 7948; /* avx512bw_vec_dup_gprv32bf_mask */
17803 :
17804 0 : case E_V16BFmode:
17805 0 : if (pattern189 (x2,
17806 : E_V16BFmode,
17807 : E_BFmode,
17808 : E_HImode) != 0
17809 0 : || !insn_condition_1039 (operands, insn))
17810 0 : return -1;
17811 : return 7950; /* avx512vl_vec_dup_gprv16bf_mask */
17812 :
17813 0 : case E_V8BFmode:
17814 0 : if (pattern189 (x2,
17815 : E_V8BFmode,
17816 : E_BFmode,
17817 : E_QImode) != 0
17818 0 : || !insn_condition_1039 (operands, insn))
17819 0 : return -1;
17820 : return 7952; /* avx512vl_vec_dup_gprv8bf_mask */
17821 :
17822 384 : case E_V8SImode:
17823 384 : if (pattern176 (x2,
17824 : E_V8SImode,
17825 : E_QImode) != 0)
17826 : return -1;
17827 367 : switch (GET_MODE (operands[1]))
17828 : {
17829 172 : case E_SImode:
17830 172 : if (!nonimmediate_operand (operands[1], E_SImode)
17831 172 : || !insn_condition_341 (operands, insn))
17832 0 : return -1;
17833 : return 7956; /* avx512vl_vec_dup_gprv8si_mask */
17834 :
17835 195 : case E_V4SImode:
17836 195 : if (!nonimmediate_operand (operands[1], E_V4SImode)
17837 195 : || !insn_condition_100 (operands, insn))
17838 0 : return -1;
17839 : return 8026; /* avx512vl_broadcastv8si_mask_1 */
17840 :
17841 : default:
17842 : return -1;
17843 : }
17844 :
17845 172 : case E_V4SImode:
17846 172 : if (pattern189 (x2,
17847 : E_V4SImode,
17848 : E_SImode,
17849 : E_QImode) != 0
17850 172 : || !insn_condition_341 (operands, insn))
17851 0 : return -1;
17852 : return 7958; /* avx512vl_vec_dup_gprv4si_mask */
17853 :
17854 392 : case E_V4DImode:
17855 392 : if (pattern176 (x2,
17856 : E_V4DImode,
17857 : E_QImode) != 0)
17858 : return -1;
17859 379 : switch (GET_MODE (operands[1]))
17860 : {
17861 175 : case E_DImode:
17862 175 : if (!nonimmediate_operand (operands[1], E_DImode)
17863 175 : || !insn_condition_341 (operands, insn))
17864 2 : return -1;
17865 : return 7962; /* avx512vl_vec_dup_gprv4di_mask */
17866 :
17867 204 : case E_V2DImode:
17868 204 : if (!nonimmediate_operand (operands[1], E_V2DImode)
17869 204 : || !insn_condition_1103 (operands, insn))
17870 0 : return -1;
17871 : return 8038; /* avx512dq_broadcastv4di_mask_1 */
17872 :
17873 : default:
17874 : return -1;
17875 : }
17876 :
17877 179 : case E_V2DImode:
17878 179 : if (pattern189 (x2,
17879 : E_V2DImode,
17880 : E_DImode,
17881 : E_QImode) != 0
17882 179 : || !insn_condition_341 (operands, insn))
17883 6 : return -1;
17884 : return 7964; /* avx512vl_vec_dup_gprv2di_mask */
17885 :
17886 247 : case E_V8SFmode:
17887 247 : if (pattern176 (x2,
17888 : E_V8SFmode,
17889 : E_QImode) != 0)
17890 : return -1;
17891 227 : switch (GET_MODE (operands[1]))
17892 : {
17893 6 : case E_SFmode:
17894 6 : if (!nonimmediate_operand (operands[1], E_SFmode)
17895 6 : || !insn_condition_341 (operands, insn))
17896 0 : return -1;
17897 : return 7968; /* avx512vl_vec_dup_gprv8sf_mask */
17898 :
17899 221 : case E_V4SFmode:
17900 221 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
17901 221 : || !insn_condition_100 (operands, insn))
17902 0 : return -1;
17903 : return 8028; /* avx512vl_broadcastv8sf_mask_1 */
17904 :
17905 : default:
17906 : return -1;
17907 : }
17908 :
17909 4 : case E_V4SFmode:
17910 4 : if (pattern189 (x2,
17911 : E_V4SFmode,
17912 : E_SFmode,
17913 : E_QImode) != 0
17914 4 : || !insn_condition_341 (operands, insn))
17915 0 : return -1;
17916 : return 7970; /* avx512vl_vec_dup_gprv4sf_mask */
17917 :
17918 225 : case E_V4DFmode:
17919 225 : if (pattern176 (x2,
17920 : E_V4DFmode,
17921 : E_QImode) != 0)
17922 : return -1;
17923 218 : switch (GET_MODE (operands[1]))
17924 : {
17925 14 : case E_DFmode:
17926 14 : if (!nonimmediate_operand (operands[1], E_DFmode)
17927 14 : || !insn_condition_341 (operands, insn))
17928 0 : return -1;
17929 : return 7974; /* avx512vl_vec_dup_gprv4df_mask */
17930 :
17931 204 : case E_V2DFmode:
17932 204 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
17933 204 : || !insn_condition_1103 (operands, insn))
17934 0 : return -1;
17935 : return 8040; /* avx512dq_broadcastv4df_mask_1 */
17936 :
17937 : default:
17938 : return -1;
17939 : }
17940 :
17941 : default:
17942 : return -1;
17943 : }
17944 :
17945 : default:
17946 : return -1;
17947 : }
17948 : }
17949 :
17950 : int
17951 11081 : recog_177 (rtx x1 ATTRIBUTE_UNUSED,
17952 : rtx_insn *insn ATTRIBUTE_UNUSED,
17953 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17954 : {
17955 11081 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17956 11081 : rtx x2, x3, x4, x5, x6;
17957 11081 : int res ATTRIBUTE_UNUSED;
17958 11081 : x2 = XEXP (x1, 1);
17959 11081 : x3 = XEXP (x2, 0);
17960 11081 : x4 = XEXP (x3, 0);
17961 11081 : x5 = XEXP (x4, 0);
17962 11081 : operands[1] = x5;
17963 11081 : switch (pattern678 (x2))
17964 : {
17965 31 : case 0:
17966 31 : if (pattern1430 (x2,
17967 : E_V32HFmode,
17968 : E_SImode) != 0
17969 31 : || !insn_condition_994 (operands, insn))
17970 4 : return -1;
17971 : return 4115; /* fma_fnmadd_v32hf_maskz_1 */
17972 :
17973 238 : case 1:
17974 238 : if (pattern1430 (x2,
17975 : E_V16HFmode,
17976 : E_HImode) != 0
17977 238 : || !insn_condition_995 (operands, insn))
17978 11 : return -1;
17979 : return 4119; /* fma_fnmadd_v16hf_maskz_1 */
17980 :
17981 106 : case 2:
17982 106 : if (pattern1430 (x2,
17983 : E_V8HFmode,
17984 : E_QImode) != 0
17985 106 : || !insn_condition_996 (operands, insn))
17986 3 : return -1;
17987 : return 4121; /* fma_fnmadd_v8hf_maskz_1 */
17988 :
17989 216 : case 3:
17990 216 : if (pattern1430 (x2,
17991 : E_V16SFmode,
17992 : E_HImode) != 0
17993 216 : || !insn_condition_997 (operands, insn))
17994 4 : return -1;
17995 : return 4125; /* fma_fnmadd_v16sf_maskz_1 */
17996 :
17997 171 : case 4:
17998 171 : if (pattern1430 (x2,
17999 : E_V8SFmode,
18000 : E_QImode) != 0
18001 171 : || !insn_condition_998 (operands, insn))
18002 7 : return -1;
18003 : return 4129; /* fma_fnmadd_v8sf_maskz_1 */
18004 :
18005 115 : case 5:
18006 115 : if (pattern1430 (x2,
18007 : E_V4SFmode,
18008 : E_QImode) != 0
18009 115 : || !insn_condition_999 (operands, insn))
18010 2 : return -1;
18011 : return 4131; /* fma_fnmadd_v4sf_maskz_1 */
18012 :
18013 181 : case 6:
18014 181 : if (pattern1430 (x2,
18015 : E_V8DFmode,
18016 : E_QImode) != 0
18017 181 : || !insn_condition_997 (operands, insn))
18018 11 : return -1;
18019 : return 4134; /* fma_fnmadd_v8df_maskz_1 */
18020 :
18021 173 : case 7:
18022 173 : if (pattern1430 (x2,
18023 : E_V4DFmode,
18024 : E_QImode) != 0
18025 173 : || !insn_condition_998 (operands, insn))
18026 10 : return -1;
18027 : return 4138; /* fma_fnmadd_v4df_maskz_1 */
18028 :
18029 114 : case 8:
18030 114 : if (pattern1430 (x2,
18031 : E_V2DFmode,
18032 : E_QImode) != 0
18033 114 : || !insn_condition_999 (operands, insn))
18034 2 : return -1;
18035 : return 4140; /* fma_fnmadd_v2df_maskz_1 */
18036 :
18037 93 : case 9:
18038 93 : if (pattern1431 (x2,
18039 : E_SImode,
18040 : E_V32BFmode) != 0
18041 93 : || !insn_condition_41 (operands, insn))
18042 2 : return -1;
18043 : return 9336; /* avx10_2_fnmaddbf16_v32bf_maskz_1 */
18044 :
18045 93 : case 10:
18046 93 : if (pattern1431 (x2,
18047 : E_HImode,
18048 : E_V16BFmode) != 0
18049 93 : || !insn_condition_41 (operands, insn))
18050 2 : return -1;
18051 : return 9338; /* avx10_2_fnmaddbf16_v16bf_maskz_1 */
18052 :
18053 93 : case 11:
18054 93 : if (pattern1431 (x2,
18055 : E_QImode,
18056 : E_V8BFmode) != 0
18057 93 : || !insn_condition_41 (operands, insn))
18058 2 : return -1;
18059 : return 9340; /* avx10_2_fnmaddbf16_v8bf_maskz_1 */
18060 :
18061 20 : case 12:
18062 20 : if (pattern1432 (x2,
18063 : E_V4SFmode) != 0
18064 20 : || !insn_condition_1135 (operands, insn))
18065 0 : return -1;
18066 : return 4470; /* *fma4i_vmfnmadd_v4sf */
18067 :
18068 20 : case 13:
18069 20 : if (pattern1432 (x2,
18070 : E_V2DFmode) != 0
18071 20 : || !insn_condition_1136 (operands, insn))
18072 0 : return -1;
18073 : return 4471; /* *fma4i_vmfnmadd_v2df */
18074 :
18075 101 : case 14:
18076 101 : if (pattern1332 (x2,
18077 : E_V32HFmode,
18078 : E_SImode) != 0)
18079 : return -1;
18080 92 : if (nonimmediate_operand (operands[1], E_V32HFmode)
18081 92 : && vector_operand (operands[3], E_V32HFmode))
18082 : {
18083 92 : x6 = XEXP (x2, 1);
18084 92 : if (rtx_equal_p (x6, operands[1])
18085 92 : && insn_condition_916 (operands, insn))
18086 : return 4141; /* avx512bw_fnmadd_v32hf_mask */
18087 : }
18088 39 : if (!vector_operand (operands[1], E_V32HFmode)
18089 39 : || !nonimmediate_operand (operands[3], E_V32HFmode))
18090 : return -1;
18091 39 : x6 = XEXP (x2, 1);
18092 39 : if (!rtx_equal_p (x6, operands[3])
18093 39 : || !insn_condition_916 (operands, insn))
18094 0 : return -1;
18095 : return 4153; /* avx512bw_fnmadd_v32hf_mask3 */
18096 :
18097 485 : case 15:
18098 485 : if (pattern1332 (x2,
18099 : E_V16HFmode,
18100 : E_HImode) != 0)
18101 : return -1;
18102 446 : if (nonimmediate_operand (operands[1], E_V16HFmode)
18103 446 : && vector_operand (operands[3], E_V16HFmode))
18104 : {
18105 446 : x6 = XEXP (x2, 1);
18106 446 : if (rtx_equal_p (x6, operands[1])
18107 446 : && insn_condition_95 (operands, insn))
18108 : return 4143; /* avx512vl_fnmadd_v16hf_mask */
18109 : }
18110 202 : if (!vector_operand (operands[1], E_V16HFmode)
18111 202 : || !nonimmediate_operand (operands[3], E_V16HFmode))
18112 : return -1;
18113 202 : x6 = XEXP (x2, 1);
18114 202 : if (!rtx_equal_p (x6, operands[3])
18115 202 : || !insn_condition_95 (operands, insn))
18116 0 : return -1;
18117 : return 4155; /* avx512vl_fnmadd_v16hf_mask3 */
18118 :
18119 249 : case 16:
18120 249 : if (pattern1332 (x2,
18121 : E_V8HFmode,
18122 : E_QImode) != 0)
18123 : return -1;
18124 242 : if (nonimmediate_operand (operands[1], E_V8HFmode)
18125 242 : && vector_operand (operands[3], E_V8HFmode))
18126 : {
18127 242 : x6 = XEXP (x2, 1);
18128 242 : if (rtx_equal_p (x6, operands[1])
18129 242 : && insn_condition_95 (operands, insn))
18130 : return 4144; /* avx512fp16_fnmadd_v8hf_mask */
18131 : }
18132 112 : if (!vector_operand (operands[1], E_V8HFmode)
18133 112 : || !nonimmediate_operand (operands[3], E_V8HFmode))
18134 : return -1;
18135 112 : x6 = XEXP (x2, 1);
18136 112 : if (!rtx_equal_p (x6, operands[3])
18137 112 : || !insn_condition_95 (operands, insn))
18138 0 : return -1;
18139 : return 4156; /* avx512fp16_fnmadd_v8hf_mask3 */
18140 :
18141 105 : case 17:
18142 105 : if (pattern1332 (x2,
18143 : E_V16SFmode,
18144 : E_HImode) != 0)
18145 : return -1;
18146 96 : if (nonimmediate_operand (operands[1], E_V16SFmode)
18147 96 : && vector_operand (operands[3], E_V16SFmode))
18148 : {
18149 96 : x6 = XEXP (x2, 1);
18150 96 : if (rtx_equal_p (x6, operands[1])
18151 96 : && insn_condition_97 (operands, insn))
18152 : return 4145; /* avx512f_fnmadd_v16sf_mask */
18153 : }
18154 32 : if (!vector_operand (operands[1], E_V16SFmode)
18155 32 : || !nonimmediate_operand (operands[3], E_V16SFmode))
18156 : return -1;
18157 32 : x6 = XEXP (x2, 1);
18158 32 : if (!rtx_equal_p (x6, operands[3])
18159 32 : || !insn_condition_97 (operands, insn))
18160 0 : return -1;
18161 : return 4157; /* avx512f_fnmadd_v16sf_mask3 */
18162 :
18163 315 : case 18:
18164 315 : if (pattern1332 (x2,
18165 : E_V8SFmode,
18166 : E_QImode) != 0)
18167 : return -1;
18168 294 : if (nonimmediate_operand (operands[1], E_V8SFmode)
18169 294 : && vector_operand (operands[3], E_V8SFmode))
18170 : {
18171 294 : x6 = XEXP (x2, 1);
18172 294 : if (rtx_equal_p (x6, operands[1])
18173 294 : && insn_condition_96 (operands, insn))
18174 : return 4147; /* avx512vl_fnmadd_v8sf_mask */
18175 : }
18176 137 : if (!vector_operand (operands[1], E_V8SFmode)
18177 137 : || !nonimmediate_operand (operands[3], E_V8SFmode))
18178 : return -1;
18179 137 : x6 = XEXP (x2, 1);
18180 137 : if (!rtx_equal_p (x6, operands[3])
18181 137 : || !insn_condition_96 (operands, insn))
18182 0 : return -1;
18183 : return 4159; /* avx512vl_fnmadd_v8sf_mask3 */
18184 :
18185 217 : case 19:
18186 217 : if (pattern1332 (x2,
18187 : E_V4SFmode,
18188 : E_QImode) != 0)
18189 : return -1;
18190 212 : if (nonimmediate_operand (operands[1], E_V4SFmode)
18191 212 : && vector_operand (operands[3], E_V4SFmode))
18192 : {
18193 212 : x6 = XEXP (x2, 1);
18194 212 : if (rtx_equal_p (x6, operands[1])
18195 212 : && insn_condition_96 (operands, insn))
18196 : return 4148; /* avx512vl_fnmadd_v4sf_mask */
18197 : }
18198 110 : if (!vector_operand (operands[1], E_V4SFmode)
18199 110 : || !nonimmediate_operand (operands[3], E_V4SFmode))
18200 : return -1;
18201 110 : x6 = XEXP (x2, 1);
18202 110 : if (!rtx_equal_p (x6, operands[3])
18203 110 : || !insn_condition_96 (operands, insn))
18204 0 : return -1;
18205 : return 4160; /* avx512vl_fnmadd_v4sf_mask3 */
18206 :
18207 277 : case 20:
18208 277 : if (pattern1332 (x2,
18209 : E_V8DFmode,
18210 : E_QImode) != 0)
18211 : return -1;
18212 238 : if (nonimmediate_operand (operands[1], E_V8DFmode)
18213 238 : && vector_operand (operands[3], E_V8DFmode))
18214 : {
18215 232 : x6 = XEXP (x2, 1);
18216 232 : if (rtx_equal_p (x6, operands[1])
18217 232 : && insn_condition_97 (operands, insn))
18218 : return 4149; /* avx512f_fnmadd_v8df_mask */
18219 : }
18220 108 : if (!vector_operand (operands[1], E_V8DFmode)
18221 108 : || !nonimmediate_operand (operands[3], E_V8DFmode))
18222 : return -1;
18223 102 : x6 = XEXP (x2, 1);
18224 102 : if (!rtx_equal_p (x6, operands[3])
18225 102 : || !insn_condition_97 (operands, insn))
18226 9 : return -1;
18227 : return 4161; /* avx512f_fnmadd_v8df_mask3 */
18228 :
18229 326 : case 21:
18230 326 : if (pattern1332 (x2,
18231 : E_V4DFmode,
18232 : E_QImode) != 0)
18233 : return -1;
18234 299 : if (nonimmediate_operand (operands[1], E_V4DFmode)
18235 299 : && vector_operand (operands[3], E_V4DFmode))
18236 : {
18237 299 : x6 = XEXP (x2, 1);
18238 299 : if (rtx_equal_p (x6, operands[1])
18239 299 : && insn_condition_96 (operands, insn))
18240 : return 4151; /* avx512vl_fnmadd_v4df_mask */
18241 : }
18242 137 : if (!vector_operand (operands[1], E_V4DFmode)
18243 137 : || !nonimmediate_operand (operands[3], E_V4DFmode))
18244 : return -1;
18245 137 : x6 = XEXP (x2, 1);
18246 137 : if (!rtx_equal_p (x6, operands[3])
18247 137 : || !insn_condition_96 (operands, insn))
18248 0 : return -1;
18249 : return 4163; /* avx512vl_fnmadd_v4df_mask3 */
18250 :
18251 217 : case 22:
18252 217 : if (pattern1332 (x2,
18253 : E_V2DFmode,
18254 : E_QImode) != 0)
18255 : return -1;
18256 212 : if (nonimmediate_operand (operands[1], E_V2DFmode)
18257 212 : && vector_operand (operands[3], E_V2DFmode))
18258 : {
18259 212 : x6 = XEXP (x2, 1);
18260 212 : if (rtx_equal_p (x6, operands[1])
18261 212 : && insn_condition_96 (operands, insn))
18262 : return 4152; /* avx512vl_fnmadd_v2df_mask */
18263 : }
18264 110 : if (!vector_operand (operands[1], E_V2DFmode)
18265 110 : || !nonimmediate_operand (operands[3], E_V2DFmode))
18266 : return -1;
18267 110 : x6 = XEXP (x2, 1);
18268 110 : if (!rtx_equal_p (x6, operands[3])
18269 110 : || !insn_condition_96 (operands, insn))
18270 0 : return -1;
18271 : return 4164; /* avx512vl_fnmadd_v2df_mask3 */
18272 :
18273 261 : case 23:
18274 261 : if (pattern1333 (x2,
18275 : E_SImode,
18276 : E_V32BFmode) != 0)
18277 : return -1;
18278 241 : x6 = XEXP (x2, 1);
18279 241 : if (rtx_equal_p (x6, operands[1])
18280 241 : && insn_condition_41 (operands, insn))
18281 : return 9341; /* avx10_2_fnmaddbf16_v32bf_mask */
18282 110 : if (!rtx_equal_p (x6, operands[3])
18283 110 : || !insn_condition_41 (operands, insn))
18284 0 : return -1;
18285 : return 9344; /* avx10_2_fnmaddbf16_v32bf_mask3 */
18286 :
18287 265 : case 24:
18288 265 : if (pattern1333 (x2,
18289 : E_HImode,
18290 : E_V16BFmode) != 0)
18291 : return -1;
18292 245 : x6 = XEXP (x2, 1);
18293 245 : if (rtx_equal_p (x6, operands[1])
18294 245 : && insn_condition_41 (operands, insn))
18295 : return 9342; /* avx10_2_fnmaddbf16_v16bf_mask */
18296 112 : if (!rtx_equal_p (x6, operands[3])
18297 112 : || !insn_condition_41 (operands, insn))
18298 0 : return -1;
18299 : return 9345; /* avx10_2_fnmaddbf16_v16bf_mask3 */
18300 :
18301 261 : case 25:
18302 261 : if (pattern1333 (x2,
18303 : E_QImode,
18304 : E_V8BFmode) != 0)
18305 : return -1;
18306 241 : x6 = XEXP (x2, 1);
18307 241 : if (rtx_equal_p (x6, operands[1])
18308 241 : && insn_condition_41 (operands, insn))
18309 : return 9343; /* avx10_2_fnmaddbf16_v8bf_mask */
18310 110 : if (!rtx_equal_p (x6, operands[3])
18311 110 : || !insn_condition_41 (operands, insn))
18312 0 : return -1;
18313 : return 9346; /* avx10_2_fnmaddbf16_v8bf_mask3 */
18314 :
18315 56 : case 26:
18316 56 : if (pattern1433 (x2,
18317 : E_V8HFmode) != 0
18318 56 : || !insn_condition_1137 (operands, insn))
18319 11 : return -1;
18320 : return 4382; /* *fmai_fnmadd_v8hf */
18321 :
18322 98 : case 27:
18323 98 : if (pattern1433 (x2,
18324 : E_V4SFmode) != 0
18325 98 : || !insn_condition_1138 (operands, insn))
18326 0 : return -1;
18327 : return 4384; /* *fmai_fnmadd_v4sf */
18328 :
18329 115 : case 28:
18330 115 : if (pattern1433 (x2,
18331 : E_V2DFmode) != 0
18332 115 : || !insn_condition_1139 (operands, insn))
18333 0 : return -1;
18334 : return 4386; /* *fmai_fnmadd_v2df */
18335 :
18336 5404 : case 29:
18337 5404 : return recog_176 (x1, insn, pnum_clobbers);
18338 :
18339 : default:
18340 : return -1;
18341 : }
18342 : }
18343 :
18344 : int
18345 971 : recog_181 (rtx x1 ATTRIBUTE_UNUSED,
18346 : rtx_insn *insn ATTRIBUTE_UNUSED,
18347 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18348 : {
18349 971 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18350 971 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18351 971 : rtx x10;
18352 971 : int res ATTRIBUTE_UNUSED;
18353 971 : x2 = XEXP (x1, 1);
18354 971 : x3 = XEXP (x2, 0);
18355 971 : x4 = XEXP (x3, 0);
18356 971 : x5 = XEXP (x4, 1);
18357 971 : operands[2] = x5;
18358 971 : x6 = XEXP (x2, 1);
18359 971 : operands[3] = x6;
18360 971 : x7 = XEXP (x2, 2);
18361 971 : operands[4] = x7;
18362 971 : if (!register_operand (operands[4], E_QImode))
18363 : return -1;
18364 938 : x8 = XEXP (x3, 1);
18365 938 : x9 = XVECEXP (x8, 0, 0);
18366 938 : switch (XWINT (x9, 0))
18367 : {
18368 555 : case 1L:
18369 555 : x10 = XVECEXP (x8, 0, 1);
18370 555 : if (XWINT (x10, 0) != 3L)
18371 : return -1;
18372 382 : switch (GET_MODE (operands[0]))
18373 : {
18374 181 : case E_V2DFmode:
18375 181 : if (pattern1635 (x2,
18376 : E_V2DFmode,
18377 : E_V4DFmode) != 0
18378 181 : || !insn_condition_532 (operands, insn))
18379 6 : return -1;
18380 : return 5574; /* avx512vl_unpckhpd128_mask */
18381 :
18382 201 : case E_V2DImode:
18383 201 : if (pattern1636 (x2,
18384 : E_V2DImode,
18385 : E_V4DImode) != 0
18386 201 : || !insn_condition_974 (operands, insn))
18387 15 : return -1;
18388 : return 5882; /* vec_interleave_highv2di_mask */
18389 :
18390 : default:
18391 : return -1;
18392 : }
18393 :
18394 383 : case 0L:
18395 383 : x10 = XVECEXP (x8, 0, 1);
18396 383 : if (XWINT (x10, 0) != 2L)
18397 : return -1;
18398 383 : switch (GET_MODE (operands[0]))
18399 : {
18400 181 : case E_V2DFmode:
18401 181 : if (pattern1635 (x2,
18402 : E_V2DFmode,
18403 : E_V4DFmode) != 0
18404 181 : || !insn_condition_532 (operands, insn))
18405 6 : return -1;
18406 : return 5584; /* avx512vl_unpcklpd128_mask */
18407 :
18408 202 : case E_V2DImode:
18409 202 : if (pattern1636 (x2,
18410 : E_V2DImode,
18411 : E_V4DImode) != 0
18412 202 : || !insn_condition_974 (operands, insn))
18413 16 : return -1;
18414 : return 5888; /* vec_interleave_lowv2di_mask */
18415 :
18416 : default:
18417 : return -1;
18418 : }
18419 :
18420 : default:
18421 : return -1;
18422 : }
18423 : }
18424 :
18425 : int
18426 16032 : recog_183 (rtx x1 ATTRIBUTE_UNUSED,
18427 : rtx_insn *insn ATTRIBUTE_UNUSED,
18428 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18429 : {
18430 16032 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18431 16032 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18432 16032 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
18433 16032 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
18434 16032 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
18435 16032 : rtx x34, x35, x36, x37, x38, x39, x40, x41;
18436 16032 : int res ATTRIBUTE_UNUSED;
18437 16032 : x2 = XEXP (x1, 1);
18438 16032 : x3 = XEXP (x2, 0);
18439 16032 : x4 = XEXP (x3, 0);
18440 16032 : x5 = XEXP (x4, 0);
18441 16032 : operands[1] = x5;
18442 16032 : x6 = XEXP (x3, 1);
18443 16032 : switch (XVECLEN (x6, 0))
18444 : {
18445 3190 : case 16:
18446 3190 : x7 = XVECEXP (x6, 0, 0);
18447 3190 : if (GET_CODE (x7) != CONST_INT)
18448 : return -1;
18449 3190 : x8 = XVECEXP (x6, 0, 1);
18450 3190 : if (GET_CODE (x8) == CONST_INT)
18451 : {
18452 3190 : res = recog_178 (x1, insn, pnum_clobbers);
18453 3190 : if (res >= 0)
18454 : return res;
18455 : }
18456 1173 : operands[3] = x7;
18457 1173 : x9 = XEXP (x4, 1);
18458 1173 : operands[2] = x9;
18459 1173 : operands[4] = x8;
18460 1173 : x10 = XVECEXP (x6, 0, 2);
18461 1173 : operands[5] = x10;
18462 1173 : x11 = XVECEXP (x6, 0, 3);
18463 1173 : operands[6] = x11;
18464 1173 : x12 = XVECEXP (x6, 0, 4);
18465 1173 : operands[7] = x12;
18466 1173 : x13 = XVECEXP (x6, 0, 5);
18467 1173 : operands[8] = x13;
18468 1173 : x14 = XVECEXP (x6, 0, 6);
18469 1173 : operands[9] = x14;
18470 1173 : x15 = XVECEXP (x6, 0, 7);
18471 1173 : operands[10] = x15;
18472 1173 : x16 = XVECEXP (x6, 0, 8);
18473 1173 : operands[11] = x16;
18474 1173 : x17 = XVECEXP (x6, 0, 9);
18475 1173 : operands[12] = x17;
18476 1173 : x18 = XVECEXP (x6, 0, 10);
18477 1173 : operands[13] = x18;
18478 1173 : x19 = XVECEXP (x6, 0, 11);
18479 1173 : operands[14] = x19;
18480 1173 : x20 = XVECEXP (x6, 0, 12);
18481 1173 : operands[15] = x20;
18482 1173 : x21 = XVECEXP (x6, 0, 13);
18483 1173 : operands[16] = x21;
18484 1173 : x22 = XVECEXP (x6, 0, 14);
18485 1173 : operands[17] = x22;
18486 1173 : x23 = XVECEXP (x6, 0, 15);
18487 1173 : operands[18] = x23;
18488 1173 : x24 = XEXP (x2, 1);
18489 1173 : operands[19] = x24;
18490 1173 : x25 = XEXP (x2, 2);
18491 1173 : operands[20] = x25;
18492 1173 : if (!register_operand (operands[20], E_HImode))
18493 : return -1;
18494 904 : switch (GET_MODE (operands[0]))
18495 : {
18496 576 : case E_V16SFmode:
18497 576 : if (pattern1702 (x2,
18498 : E_V16SFmode,
18499 : E_V32SFmode) != 0
18500 576 : || !nonimm_or_0_operand (operands[19], E_V16SFmode))
18501 : return -1;
18502 406 : if (const_0_to_3_operand (operands[3], E_VOIDmode)
18503 214 : && const_0_to_3_operand (operands[4], E_VOIDmode)
18504 214 : && const_16_to_19_operand (operands[5], E_VOIDmode)
18505 193 : && const_16_to_19_operand (operands[6], E_VOIDmode)
18506 193 : && const_4_to_7_operand (operands[7], E_VOIDmode)
18507 193 : && const_4_to_7_operand (operands[8], E_VOIDmode)
18508 193 : && const_20_to_23_operand (operands[9], E_VOIDmode)
18509 193 : && const_20_to_23_operand (operands[10], E_VOIDmode)
18510 193 : && const_8_to_11_operand (operands[11], E_VOIDmode)
18511 193 : && const_8_to_11_operand (operands[12], E_VOIDmode)
18512 193 : && const_24_to_27_operand (operands[13], E_VOIDmode)
18513 193 : && const_24_to_27_operand (operands[14], E_VOIDmode)
18514 193 : && const_12_to_15_operand (operands[15], E_VOIDmode)
18515 193 : && const_12_to_15_operand (operands[16], E_VOIDmode)
18516 193 : && const_28_to_31_operand (operands[17], E_VOIDmode)
18517 193 : && const_28_to_31_operand (operands[18], E_VOIDmode)
18518 599 : && insn_condition_1145 (operands, insn))
18519 : return 5871; /* avx512f_shufps512_1_mask */
18520 213 : if (!const_0_to_15_operand (operands[3], E_VOIDmode)
18521 213 : || pattern1942 () != 0
18522 426 : || !insn_condition_1146 (operands, insn))
18523 0 : return -1;
18524 : return 7096; /* avx512f_shuf_f32x4_1_mask */
18525 :
18526 282 : case E_V16SImode:
18527 282 : if (pattern1702 (x2,
18528 : E_V16SImode,
18529 : E_V32SImode) != 0
18530 235 : || !const_0_to_15_operand (operands[3], E_VOIDmode)
18531 235 : || pattern1942 () != 0
18532 219 : || !nonimm_or_0_operand (operands[19], E_V16SImode)
18533 494 : || !insn_condition_1146 (operands, insn))
18534 70 : return -1;
18535 : return 7098; /* avx512f_shuf_i32x4_1_mask */
18536 :
18537 : default:
18538 : return -1;
18539 : }
18540 :
18541 5135 : case 8:
18542 5135 : x7 = XVECEXP (x6, 0, 0);
18543 5135 : if (GET_CODE (x7) != CONST_INT)
18544 : return -1;
18545 5135 : x8 = XVECEXP (x6, 0, 1);
18546 5135 : if (GET_CODE (x8) == CONST_INT)
18547 : {
18548 5135 : res = recog_179 (x1, insn, pnum_clobbers);
18549 5135 : if (res >= 0)
18550 : return res;
18551 : }
18552 2562 : operands[3] = x7;
18553 2562 : x9 = XEXP (x4, 1);
18554 2562 : operands[2] = x9;
18555 2562 : operands[4] = x8;
18556 2562 : x10 = XVECEXP (x6, 0, 2);
18557 2562 : operands[5] = x10;
18558 2562 : x11 = XVECEXP (x6, 0, 3);
18559 2562 : operands[6] = x11;
18560 2562 : x12 = XVECEXP (x6, 0, 4);
18561 2562 : operands[7] = x12;
18562 2562 : x13 = XVECEXP (x6, 0, 5);
18563 2562 : operands[8] = x13;
18564 2562 : x14 = XVECEXP (x6, 0, 6);
18565 2562 : operands[9] = x14;
18566 2562 : x15 = XVECEXP (x6, 0, 7);
18567 2562 : operands[10] = x15;
18568 2562 : x24 = XEXP (x2, 1);
18569 2562 : operands[11] = x24;
18570 2562 : x25 = XEXP (x2, 2);
18571 2562 : operands[12] = x25;
18572 2562 : if (!register_operand (operands[12], E_QImode))
18573 : return -1;
18574 1887 : switch (GET_MODE (operands[0]))
18575 : {
18576 555 : case E_V8SFmode:
18577 555 : if (pattern1821 (x2,
18578 : E_V8SFmode,
18579 : E_V16SFmode) != 0)
18580 : return -1;
18581 387 : if (const_0_to_3_operand (operands[3], E_VOIDmode)
18582 200 : && const_0_to_3_operand (operands[4], E_VOIDmode)
18583 200 : && const_8_to_11_operand (operands[5], E_VOIDmode)
18584 180 : && const_8_to_11_operand (operands[6], E_VOIDmode)
18585 180 : && const_4_to_7_operand (operands[7], E_VOIDmode)
18586 180 : && const_4_to_7_operand (operands[8], E_VOIDmode)
18587 180 : && const_12_to_15_operand (operands[9], E_VOIDmode)
18588 180 : && const_12_to_15_operand (operands[10], E_VOIDmode)
18589 567 : && insn_condition_1147 (operands, insn))
18590 : return 5433; /* avx_shufps256_1_mask */
18591 207 : if (!const_0_to_7_operand (operands[3], E_VOIDmode)
18592 207 : || pattern1917 () != 0
18593 414 : || !insn_condition_1148 (operands, insn))
18594 0 : return -1;
18595 : return 7094; /* avx512vl_shuf_f32x4_1_mask */
18596 :
18597 549 : case E_V8DFmode:
18598 549 : if (pattern1821 (x2,
18599 : E_V8DFmode,
18600 : E_V16DFmode) != 0)
18601 : return -1;
18602 405 : if (const_0_to_1_operand (operands[3], E_VOIDmode)
18603 213 : && const_8_to_9_operand (operands[4], E_VOIDmode)
18604 193 : && const_2_to_3_operand (operands[5], E_VOIDmode)
18605 193 : && const_10_to_11_operand (operands[6], E_VOIDmode)
18606 193 : && const_4_to_5_operand (operands[7], E_VOIDmode)
18607 193 : && const_12_to_13_operand (operands[8], E_VOIDmode)
18608 193 : && const_6_to_7_operand (operands[9], E_VOIDmode)
18609 193 : && const_14_to_15_operand (operands[10], E_VOIDmode)
18610 598 : && insn_condition_27 (operands, insn))
18611 : return 5873; /* avx512f_shufpd512_1_mask */
18612 212 : if (!const_0_to_7_operand (operands[3], E_VOIDmode)
18613 212 : || pattern1917 () != 0
18614 424 : || !insn_condition_1149 (operands, insn))
18615 0 : return -1;
18616 : return 7084; /* avx512f_shuf_f64x2_1_mask */
18617 :
18618 484 : case E_V8DImode:
18619 484 : if (pattern1822 (x2,
18620 : E_V8DImode,
18621 : E_V16DImode) != 0
18622 484 : || !insn_condition_1149 (operands, insn))
18623 55 : return -1;
18624 : return 7086; /* avx512f_shuf_i64x2_1_mask */
18625 :
18626 271 : case E_V8SImode:
18627 271 : if (pattern1822 (x2,
18628 : E_V8SImode,
18629 : E_V16SImode) != 0
18630 271 : || !insn_condition_1148 (operands, insn))
18631 64 : return -1;
18632 : return 7092; /* avx512vl_shuf_i32x4_1_mask */
18633 :
18634 : default:
18635 : return -1;
18636 : }
18637 :
18638 5378 : case 4:
18639 5378 : x7 = XVECEXP (x6, 0, 0);
18640 5378 : if (GET_CODE (x7) != CONST_INT)
18641 : return -1;
18642 5378 : x8 = XVECEXP (x6, 0, 1);
18643 5378 : if (GET_CODE (x8) == CONST_INT)
18644 : {
18645 5378 : res = recog_180 (x1, insn, pnum_clobbers);
18646 5378 : if (res >= 0)
18647 : return res;
18648 : }
18649 3349 : operands[3] = x7;
18650 3349 : x9 = XEXP (x4, 1);
18651 3349 : operands[2] = x9;
18652 3349 : operands[4] = x8;
18653 3349 : x10 = XVECEXP (x6, 0, 2);
18654 3349 : operands[5] = x10;
18655 3349 : x11 = XVECEXP (x6, 0, 3);
18656 3349 : operands[6] = x11;
18657 3349 : x24 = XEXP (x2, 1);
18658 3349 : operands[7] = x24;
18659 3349 : x25 = XEXP (x2, 2);
18660 3349 : operands[8] = x25;
18661 3349 : if (!register_operand (operands[8], E_QImode))
18662 : return -1;
18663 1024 : switch (GET_MODE (operands[0]))
18664 : {
18665 200 : case E_V4SFmode:
18666 200 : if (pattern1701 (x2,
18667 : E_V4SFmode,
18668 : E_V8SFmode) != 0
18669 200 : || !insn_condition_532 (operands, insn))
18670 33 : return -1;
18671 : return 5434; /* sse_shufps_v4sf_mask */
18672 :
18673 534 : case E_V4DFmode:
18674 534 : if (pattern1702 (x2,
18675 : E_V4DFmode,
18676 : E_V8DFmode) != 0
18677 534 : || !nonimm_or_0_operand (operands[7], E_V4DFmode))
18678 : return -1;
18679 387 : if (const_0_to_1_operand (operands[3], E_VOIDmode)
18680 200 : && const_4_to_5_operand (operands[4], E_VOIDmode)
18681 180 : && const_2_to_3_operand (operands[5], E_VOIDmode)
18682 180 : && const_6_to_7_operand (operands[6], E_VOIDmode)
18683 387 : && insn_condition_969 (operands, insn))
18684 : return 5875; /* avx_shufpd256_1_mask */
18685 207 : if (!const_0_to_3_operand (operands[3], E_VOIDmode)
18686 207 : || !const_0_to_3_operand (operands[4], E_VOIDmode)
18687 207 : || !const_4_to_7_operand (operands[5], E_VOIDmode)
18688 207 : || !const_4_to_7_operand (operands[6], E_VOIDmode)
18689 414 : || !insn_condition_1150 (operands, insn))
18690 0 : return -1;
18691 : return 7082; /* avx512dq_shuf_f64x2_1_mask */
18692 :
18693 270 : case E_V4DImode:
18694 270 : if (pattern1701 (x2,
18695 : E_V4DImode,
18696 : E_V8DImode) != 0
18697 270 : || !insn_condition_1150 (operands, insn))
18698 54 : return -1;
18699 : return 7080; /* avx512dq_shuf_i64x2_1_mask */
18700 :
18701 : default:
18702 : return -1;
18703 : }
18704 :
18705 971 : case 2:
18706 971 : x7 = XVECEXP (x6, 0, 0);
18707 971 : if (GET_CODE (x7) != CONST_INT)
18708 : return -1;
18709 971 : x8 = XVECEXP (x6, 0, 1);
18710 971 : if (GET_CODE (x8) == CONST_INT)
18711 : {
18712 971 : res = recog_181 (x1, insn, pnum_clobbers);
18713 971 : if (res >= 0)
18714 : return res;
18715 : }
18716 249 : operands[3] = x7;
18717 249 : if (!const_0_to_1_operand (operands[3], E_VOIDmode)
18718 249 : || pattern1255 (x2,
18719 : E_V2DFmode,
18720 : E_V4DFmode) != 0)
18721 : return -1;
18722 179 : operands[4] = x8;
18723 179 : if (!const_2_to_3_operand (operands[4], E_VOIDmode))
18724 : return -1;
18725 179 : x24 = XEXP (x2, 1);
18726 179 : operands[5] = x24;
18727 179 : if (!nonimm_or_0_operand (operands[5], E_V2DFmode))
18728 : return -1;
18729 179 : x25 = XEXP (x2, 2);
18730 179 : operands[6] = x25;
18731 179 : if (!register_operand (operands[6], E_QImode)
18732 179 : || !insn_condition_532 (operands, insn))
18733 12 : return -1;
18734 : return 5876; /* sse2_shufpd_v2df_mask */
18735 :
18736 466 : case 64:
18737 466 : return recog_182 (x1, insn, pnum_clobbers);
18738 :
18739 892 : case 32:
18740 892 : if (pattern944 (x6) != 0)
18741 : return -1;
18742 892 : x9 = XEXP (x4, 1);
18743 892 : operands[2] = x9;
18744 892 : x24 = XEXP (x2, 1);
18745 892 : operands[3] = x24;
18746 892 : x25 = XEXP (x2, 2);
18747 892 : operands[4] = x25;
18748 892 : if (!register_operand (operands[4], E_SImode))
18749 : return -1;
18750 846 : x7 = XVECEXP (x6, 0, 0);
18751 846 : switch (XWINT (x7, 0))
18752 : {
18753 202 : case 8L:
18754 202 : x8 = XVECEXP (x6, 0, 1);
18755 202 : if (XWINT (x8, 0) != 40L)
18756 : return -1;
18757 202 : x10 = XVECEXP (x6, 0, 2);
18758 202 : if (XWINT (x10, 0) != 9L)
18759 : return -1;
18760 202 : x11 = XVECEXP (x6, 0, 3);
18761 202 : if (XWINT (x11, 0) != 41L)
18762 : return -1;
18763 202 : x12 = XVECEXP (x6, 0, 4);
18764 202 : if (XWINT (x12, 0) != 10L)
18765 : return -1;
18766 202 : x13 = XVECEXP (x6, 0, 5);
18767 202 : if (XWINT (x13, 0) != 42L)
18768 : return -1;
18769 202 : x14 = XVECEXP (x6, 0, 6);
18770 202 : if (XWINT (x14, 0) != 11L)
18771 : return -1;
18772 202 : x15 = XVECEXP (x6, 0, 7);
18773 202 : if (XWINT (x15, 0) != 43L
18774 202 : || pattern1957 (x6) != 0)
18775 : return -1;
18776 202 : x26 = XVECEXP (x6, 0, 16);
18777 202 : if (XWINT (x26, 0) != 24L)
18778 : return -1;
18779 202 : x27 = XVECEXP (x6, 0, 17);
18780 202 : if (XWINT (x27, 0) != 56L)
18781 : return -1;
18782 202 : x28 = XVECEXP (x6, 0, 18);
18783 202 : if (XWINT (x28, 0) != 25L)
18784 : return -1;
18785 202 : x29 = XVECEXP (x6, 0, 19);
18786 202 : if (XWINT (x29, 0) != 57L)
18787 : return -1;
18788 202 : x30 = XVECEXP (x6, 0, 20);
18789 202 : if (XWINT (x30, 0) != 26L)
18790 : return -1;
18791 202 : x31 = XVECEXP (x6, 0, 21);
18792 202 : if (XWINT (x31, 0) != 58L)
18793 : return -1;
18794 202 : x32 = XVECEXP (x6, 0, 22);
18795 202 : if (XWINT (x32, 0) != 27L)
18796 : return -1;
18797 202 : x33 = XVECEXP (x6, 0, 23);
18798 202 : if (XWINT (x33, 0) != 59L
18799 202 : || pattern1962 (x6) != 0
18800 202 : || pattern1635 (x2,
18801 : E_V32QImode,
18802 : E_V64QImode) != 0
18803 389 : || !insn_condition_1141 (operands, insn))
18804 15 : return -1;
18805 : return 6987; /* avx2_interleave_highv32qi_mask */
18806 :
18807 423 : case 0L:
18808 423 : x8 = XVECEXP (x6, 0, 1);
18809 423 : if (XWINT (x8, 0) != 32L)
18810 : return -1;
18811 423 : x10 = XVECEXP (x6, 0, 2);
18812 423 : if (XWINT (x10, 0) != 1L)
18813 : return -1;
18814 423 : x11 = XVECEXP (x6, 0, 3);
18815 423 : if (XWINT (x11, 0) != 33L)
18816 : return -1;
18817 423 : x12 = XVECEXP (x6, 0, 4);
18818 423 : if (XWINT (x12, 0) != 2L)
18819 : return -1;
18820 423 : x13 = XVECEXP (x6, 0, 5);
18821 423 : if (XWINT (x13, 0) != 34L)
18822 : return -1;
18823 423 : x14 = XVECEXP (x6, 0, 6);
18824 423 : if (XWINT (x14, 0) != 3L)
18825 : return -1;
18826 423 : x15 = XVECEXP (x6, 0, 7);
18827 423 : if (XWINT (x15, 0) != 35L)
18828 : return -1;
18829 423 : x26 = XVECEXP (x6, 0, 16);
18830 423 : if (XWINT (x26, 0) != 16L)
18831 : return -1;
18832 423 : x27 = XVECEXP (x6, 0, 17);
18833 423 : if (XWINT (x27, 0) != 48L)
18834 : return -1;
18835 423 : x28 = XVECEXP (x6, 0, 18);
18836 423 : if (XWINT (x28, 0) != 17L)
18837 : return -1;
18838 423 : x29 = XVECEXP (x6, 0, 19);
18839 423 : if (XWINT (x29, 0) != 49L)
18840 : return -1;
18841 423 : x30 = XVECEXP (x6, 0, 20);
18842 423 : if (XWINT (x30, 0) != 18L)
18843 : return -1;
18844 423 : x31 = XVECEXP (x6, 0, 21);
18845 423 : if (XWINT (x31, 0) != 50L)
18846 : return -1;
18847 423 : x32 = XVECEXP (x6, 0, 22);
18848 423 : if (XWINT (x32, 0) != 19L)
18849 : return -1;
18850 423 : x33 = XVECEXP (x6, 0, 23);
18851 423 : if (XWINT (x33, 0) != 51L)
18852 : return -1;
18853 423 : x16 = XVECEXP (x6, 0, 8);
18854 423 : switch (XWINT (x16, 0))
18855 : {
18856 202 : case 4L:
18857 202 : x17 = XVECEXP (x6, 0, 9);
18858 202 : if (XWINT (x17, 0) != 36L)
18859 : return -1;
18860 202 : x18 = XVECEXP (x6, 0, 10);
18861 202 : if (XWINT (x18, 0) != 5L)
18862 : return -1;
18863 202 : x19 = XVECEXP (x6, 0, 11);
18864 202 : if (XWINT (x19, 0) != 37L)
18865 : return -1;
18866 202 : x20 = XVECEXP (x6, 0, 12);
18867 202 : if (XWINT (x20, 0) != 6L)
18868 : return -1;
18869 202 : x21 = XVECEXP (x6, 0, 13);
18870 202 : if (XWINT (x21, 0) != 38L)
18871 : return -1;
18872 202 : x22 = XVECEXP (x6, 0, 14);
18873 202 : if (XWINT (x22, 0) != 7L)
18874 : return -1;
18875 202 : x23 = XVECEXP (x6, 0, 15);
18876 202 : if (XWINT (x23, 0) != 39L)
18877 : return -1;
18878 202 : x34 = XVECEXP (x6, 0, 24);
18879 202 : if (XWINT (x34, 0) != 20L)
18880 : return -1;
18881 202 : x35 = XVECEXP (x6, 0, 25);
18882 202 : if (XWINT (x35, 0) != 52L)
18883 : return -1;
18884 202 : x36 = XVECEXP (x6, 0, 26);
18885 202 : if (XWINT (x36, 0) != 21L)
18886 : return -1;
18887 202 : x37 = XVECEXP (x6, 0, 27);
18888 202 : if (XWINT (x37, 0) != 53L)
18889 : return -1;
18890 202 : x38 = XVECEXP (x6, 0, 28);
18891 202 : if (XWINT (x38, 0) != 22L)
18892 : return -1;
18893 202 : x39 = XVECEXP (x6, 0, 29);
18894 202 : if (XWINT (x39, 0) != 54L)
18895 : return -1;
18896 202 : x40 = XVECEXP (x6, 0, 30);
18897 202 : if (XWINT (x40, 0) != 23L)
18898 : return -1;
18899 202 : x41 = XVECEXP (x6, 0, 31);
18900 202 : if (XWINT (x41, 0) != 55L
18901 202 : || pattern1635 (x2,
18902 : E_V32QImode,
18903 : E_V64QImode) != 0
18904 389 : || !insn_condition_1141 (operands, insn))
18905 15 : return -1;
18906 : return 6993; /* avx2_interleave_lowv32qi_mask */
18907 :
18908 221 : case 8L:
18909 221 : x17 = XVECEXP (x6, 0, 9);
18910 221 : if (XWINT (x17, 0) != 40L)
18911 : return -1;
18912 221 : x18 = XVECEXP (x6, 0, 10);
18913 221 : if (XWINT (x18, 0) != 9L)
18914 : return -1;
18915 221 : x19 = XVECEXP (x6, 0, 11);
18916 221 : if (XWINT (x19, 0) != 41L)
18917 : return -1;
18918 221 : x20 = XVECEXP (x6, 0, 12);
18919 221 : if (XWINT (x20, 0) != 10L)
18920 : return -1;
18921 221 : x21 = XVECEXP (x6, 0, 13);
18922 221 : if (XWINT (x21, 0) != 42L)
18923 : return -1;
18924 221 : x22 = XVECEXP (x6, 0, 14);
18925 221 : if (XWINT (x22, 0) != 11L)
18926 : return -1;
18927 221 : x23 = XVECEXP (x6, 0, 15);
18928 221 : if (XWINT (x23, 0) != 43L)
18929 : return -1;
18930 221 : x34 = XVECEXP (x6, 0, 24);
18931 221 : if (XWINT (x34, 0) != 24L)
18932 : return -1;
18933 221 : x35 = XVECEXP (x6, 0, 25);
18934 221 : if (XWINT (x35, 0) != 56L)
18935 : return -1;
18936 221 : x36 = XVECEXP (x6, 0, 26);
18937 221 : if (XWINT (x36, 0) != 25L)
18938 : return -1;
18939 221 : x37 = XVECEXP (x6, 0, 27);
18940 221 : if (XWINT (x37, 0) != 57L)
18941 : return -1;
18942 221 : x38 = XVECEXP (x6, 0, 28);
18943 221 : if (XWINT (x38, 0) != 26L)
18944 : return -1;
18945 221 : x39 = XVECEXP (x6, 0, 29);
18946 221 : if (XWINT (x39, 0) != 58L)
18947 : return -1;
18948 221 : x40 = XVECEXP (x6, 0, 30);
18949 221 : if (XWINT (x40, 0) != 27L)
18950 : return -1;
18951 221 : x41 = XVECEXP (x6, 0, 31);
18952 221 : if (XWINT (x41, 0) != 59L)
18953 : return -1;
18954 221 : switch (GET_MODE (operands[0]))
18955 : {
18956 221 : case E_V32HImode:
18957 221 : if (pattern1635 (x2,
18958 : E_V32HImode,
18959 : E_V64HImode) != 0
18960 221 : || !insn_condition_120 (operands, insn))
18961 16 : return -1;
18962 : return 7015; /* avx512bw_interleave_lowv32hi_mask */
18963 :
18964 0 : case E_V32HFmode:
18965 0 : if (pattern1635 (x2,
18966 : E_V32HFmode,
18967 : E_V64HFmode) != 0
18968 0 : || !insn_condition_120 (operands, insn))
18969 0 : return -1;
18970 : return 7017; /* avx512bw_interleave_lowv32hf_mask */
18971 :
18972 0 : case E_V32BFmode:
18973 0 : if (pattern1635 (x2,
18974 : E_V32BFmode,
18975 : E_V64BFmode) != 0
18976 0 : || !insn_condition_120 (operands, insn))
18977 0 : return -1;
18978 : return 7019; /* avx512bw_interleave_lowv32bf_mask */
18979 :
18980 : default:
18981 : return -1;
18982 : }
18983 :
18984 : default:
18985 : return -1;
18986 : }
18987 :
18988 221 : case 4L:
18989 221 : x8 = XVECEXP (x6, 0, 1);
18990 221 : if (XWINT (x8, 0) != 36L)
18991 : return -1;
18992 221 : x10 = XVECEXP (x6, 0, 2);
18993 221 : if (XWINT (x10, 0) != 5L)
18994 : return -1;
18995 221 : x11 = XVECEXP (x6, 0, 3);
18996 221 : if (XWINT (x11, 0) != 37L)
18997 : return -1;
18998 221 : x12 = XVECEXP (x6, 0, 4);
18999 221 : if (XWINT (x12, 0) != 6L)
19000 : return -1;
19001 221 : x13 = XVECEXP (x6, 0, 5);
19002 221 : if (XWINT (x13, 0) != 38L)
19003 : return -1;
19004 221 : x14 = XVECEXP (x6, 0, 6);
19005 221 : if (XWINT (x14, 0) != 7L)
19006 : return -1;
19007 221 : x15 = XVECEXP (x6, 0, 7);
19008 221 : if (XWINT (x15, 0) != 39L
19009 221 : || pattern1957 (x6) != 0)
19010 : return -1;
19011 221 : x26 = XVECEXP (x6, 0, 16);
19012 221 : if (XWINT (x26, 0) != 20L)
19013 : return -1;
19014 221 : x27 = XVECEXP (x6, 0, 17);
19015 221 : if (XWINT (x27, 0) != 52L)
19016 : return -1;
19017 221 : x28 = XVECEXP (x6, 0, 18);
19018 221 : if (XWINT (x28, 0) != 21L)
19019 : return -1;
19020 221 : x29 = XVECEXP (x6, 0, 19);
19021 221 : if (XWINT (x29, 0) != 53L)
19022 : return -1;
19023 221 : x30 = XVECEXP (x6, 0, 20);
19024 221 : if (XWINT (x30, 0) != 22L)
19025 : return -1;
19026 221 : x31 = XVECEXP (x6, 0, 21);
19027 221 : if (XWINT (x31, 0) != 54L)
19028 : return -1;
19029 221 : x32 = XVECEXP (x6, 0, 22);
19030 221 : if (XWINT (x32, 0) != 23L)
19031 : return -1;
19032 221 : x33 = XVECEXP (x6, 0, 23);
19033 221 : if (XWINT (x33, 0) != 55L
19034 221 : || pattern1962 (x6) != 0)
19035 : return -1;
19036 221 : switch (GET_MODE (operands[0]))
19037 : {
19038 221 : case E_V32HImode:
19039 221 : if (pattern1635 (x2,
19040 : E_V32HImode,
19041 : E_V64HImode) != 0
19042 221 : || !insn_condition_120 (operands, insn))
19043 16 : return -1;
19044 : return 6997; /* avx512bw_interleave_highv32hi_mask */
19045 :
19046 0 : case E_V32HFmode:
19047 0 : if (pattern1635 (x2,
19048 : E_V32HFmode,
19049 : E_V64HFmode) != 0
19050 0 : || !insn_condition_120 (operands, insn))
19051 0 : return -1;
19052 : return 6999; /* avx512bw_interleave_highv32hf_mask */
19053 :
19054 0 : case E_V32BFmode:
19055 0 : if (pattern1635 (x2,
19056 : E_V32BFmode,
19057 : E_V64BFmode) != 0
19058 0 : || !insn_condition_120 (operands, insn))
19059 0 : return -1;
19060 : return 7001; /* avx512bw_interleave_highv32bf_mask */
19061 :
19062 : default:
19063 : return -1;
19064 : }
19065 :
19066 : default:
19067 : return -1;
19068 : }
19069 :
19070 : default:
19071 : return -1;
19072 : }
19073 : }
19074 :
19075 : int
19076 4762 : recog_200 (rtx x1 ATTRIBUTE_UNUSED,
19077 : rtx_insn *insn ATTRIBUTE_UNUSED,
19078 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19079 : {
19080 4762 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19081 4762 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
19082 4762 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
19083 4762 : rtx x18, x19, x20, x21, x22;
19084 4762 : int res ATTRIBUTE_UNUSED;
19085 4762 : x2 = XEXP (x1, 1);
19086 4762 : x3 = XEXP (x2, 0);
19087 4762 : x4 = XEXP (x3, 0);
19088 4762 : switch (GET_CODE (x4))
19089 : {
19090 357 : case SS_TRUNCATE:
19091 357 : x5 = XEXP (x3, 1);
19092 357 : if (GET_CODE (x5) != SS_TRUNCATE)
19093 : return -1;
19094 357 : x6 = XEXP (x4, 0);
19095 357 : operands[1] = x6;
19096 357 : x7 = XEXP (x5, 0);
19097 357 : operands[2] = x7;
19098 357 : x8 = XEXP (x2, 1);
19099 357 : operands[3] = x8;
19100 357 : x9 = XEXP (x2, 2);
19101 357 : operands[4] = x9;
19102 357 : switch (GET_MODE (operands[0]))
19103 : {
19104 179 : case E_V16QImode:
19105 179 : if (pattern1165 (x2,
19106 : E_HImode,
19107 : E_V16QImode,
19108 : E_V8HImode,
19109 : E_V8QImode) != 0
19110 179 : || !insn_condition_1140 (operands, insn))
19111 4 : return -1;
19112 : return 6967; /* sse2_packsswb_mask */
19113 :
19114 178 : case E_V8HImode:
19115 178 : if (pattern1165 (x2,
19116 : E_QImode,
19117 : E_V8HImode,
19118 : E_V4SImode,
19119 : E_V4HImode) != 0
19120 178 : || !insn_condition_1140 (operands, insn))
19121 3 : return -1;
19122 : return 6973; /* sse2_packssdw_mask */
19123 :
19124 : default:
19125 : return -1;
19126 : }
19127 :
19128 288 : case REG:
19129 288 : case SUBREG:
19130 288 : case MEM:
19131 288 : operands[2] = x4;
19132 288 : x5 = XEXP (x3, 1);
19133 288 : if (GET_CODE (x5) != VEC_SELECT)
19134 : return -1;
19135 185 : x10 = XEXP (x5, 1);
19136 185 : if (GET_CODE (x10) != PARALLEL)
19137 : return -1;
19138 185 : x7 = XEXP (x5, 0);
19139 185 : operands[1] = x7;
19140 185 : x8 = XEXP (x2, 1);
19141 185 : operands[3] = x8;
19142 185 : x9 = XEXP (x2, 2);
19143 185 : operands[4] = x9;
19144 185 : switch (XVECLEN (x10, 0))
19145 : {
19146 10 : case 8:
19147 10 : x11 = XVECEXP (x10, 0, 0);
19148 10 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
19149 : return -1;
19150 10 : x12 = XVECEXP (x10, 0, 1);
19151 10 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
19152 : return -1;
19153 10 : x13 = XVECEXP (x10, 0, 2);
19154 10 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 10]
19155 10 : || pattern1514 (x10,
19156 : 15,
19157 : 14,
19158 : 13,
19159 : 12,
19160 : 11) != 0
19161 20 : || !register_operand (operands[4], E_HImode))
19162 : return -1;
19163 10 : switch (GET_MODE (operands[0]))
19164 : {
19165 4 : case E_V16SFmode:
19166 4 : if (pattern1561 (x2,
19167 : E_V16SFmode,
19168 : E_V8SFmode) != 0
19169 4 : || !insn_condition_119 (operands, insn))
19170 0 : return -1;
19171 : return 7064; /* vec_set_lo_v16sf_mask */
19172 :
19173 6 : case E_V16SImode:
19174 6 : if (pattern1561 (x2,
19175 : E_V16SImode,
19176 : E_V8SImode) != 0
19177 6 : || !insn_condition_119 (operands, insn))
19178 0 : return -1;
19179 : return 7066; /* vec_set_lo_v16si_mask */
19180 :
19181 : default:
19182 : return -1;
19183 : }
19184 :
19185 175 : case 4:
19186 175 : if (pattern1256 (x10,
19187 : 7,
19188 : 6,
19189 : 5,
19190 : 4) != 0
19191 175 : || !register_operand (operands[4], E_QImode))
19192 : return -1;
19193 136 : switch (GET_MODE (operands[0]))
19194 : {
19195 75 : case E_V8DFmode:
19196 75 : if (pattern1561 (x2,
19197 : E_V8DFmode,
19198 : E_V4DFmode) != 0
19199 75 : || !insn_condition_27 (operands, insn))
19200 17 : return -1;
19201 : return 7072; /* vec_set_lo_v8df_mask */
19202 :
19203 61 : case E_V8DImode:
19204 61 : if (pattern1561 (x2,
19205 : E_V8DImode,
19206 : E_V4DImode) != 0
19207 61 : || !insn_condition_27 (operands, insn))
19208 20 : return -1;
19209 : return 7074; /* vec_set_lo_v8di_mask */
19210 :
19211 0 : case E_V8SImode:
19212 0 : if (pattern1561 (x2,
19213 : E_V8SImode,
19214 : E_V4SImode) != 0
19215 0 : || !insn_condition_1187 (operands, insn))
19216 0 : return -1;
19217 : return 8166; /* vec_set_lo_v8si_mask */
19218 :
19219 0 : case E_V8SFmode:
19220 0 : if (pattern1561 (x2,
19221 : E_V8SFmode,
19222 : E_V4SFmode) != 0
19223 0 : || !insn_condition_1187 (operands, insn))
19224 0 : return -1;
19225 : return 8168; /* vec_set_lo_v8sf_mask */
19226 :
19227 : default:
19228 : return -1;
19229 : }
19230 :
19231 0 : case 2:
19232 0 : x11 = XVECEXP (x10, 0, 0);
19233 0 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
19234 : return -1;
19235 0 : x12 = XVECEXP (x10, 0, 1);
19236 0 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
19237 0 : || !register_operand (operands[4], E_QImode))
19238 : return -1;
19239 0 : switch (GET_MODE (operands[0]))
19240 : {
19241 0 : case E_V4DImode:
19242 0 : if (pattern1561 (x2,
19243 : E_V4DImode,
19244 : E_V2DImode) != 0
19245 0 : || !insn_condition_1188 (operands, insn))
19246 0 : return -1;
19247 : return 8158; /* vec_set_lo_v4di_mask */
19248 :
19249 0 : case E_V4DFmode:
19250 0 : if (pattern1561 (x2,
19251 : E_V4DFmode,
19252 : E_V2DFmode) != 0
19253 0 : || !insn_condition_1188 (operands, insn))
19254 0 : return -1;
19255 : return 8160; /* vec_set_lo_v4df_mask */
19256 :
19257 : default:
19258 : return -1;
19259 : }
19260 :
19261 : default:
19262 : return -1;
19263 : }
19264 :
19265 2468 : case VEC_SELECT:
19266 2468 : x14 = XEXP (x4, 1);
19267 2468 : if (GET_CODE (x14) != PARALLEL)
19268 : return -1;
19269 2468 : x6 = XEXP (x4, 0);
19270 2468 : operands[1] = x6;
19271 2468 : x5 = XEXP (x3, 1);
19272 2468 : operands[2] = x5;
19273 2468 : x8 = XEXP (x2, 1);
19274 2468 : operands[3] = x8;
19275 2468 : x9 = XEXP (x2, 2);
19276 2468 : operands[4] = x9;
19277 2468 : switch (XVECLEN (x14, 0))
19278 : {
19279 676 : case 8:
19280 676 : if (pattern679 (x14) != 0)
19281 : return -1;
19282 676 : x15 = XVECEXP (x14, 0, 4);
19283 676 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
19284 : return -1;
19285 676 : x16 = XVECEXP (x14, 0, 5);
19286 676 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
19287 : return -1;
19288 676 : x17 = XVECEXP (x14, 0, 6);
19289 676 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
19290 : return -1;
19291 676 : x18 = XVECEXP (x14, 0, 7);
19292 676 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
19293 676 : || !register_operand (operands[4], E_HImode))
19294 : return -1;
19295 659 : switch (GET_MODE (operands[0]))
19296 : {
19297 475 : case E_V16SFmode:
19298 475 : if (pattern1515 (x2,
19299 : E_V16SFmode,
19300 : E_V8SFmode) != 0
19301 475 : || !insn_condition_119 (operands, insn))
19302 9 : return -1;
19303 : return 7068; /* vec_set_hi_v16sf_mask */
19304 :
19305 184 : case E_V16SImode:
19306 184 : if (pattern1515 (x2,
19307 : E_V16SImode,
19308 : E_V8SImode) != 0
19309 184 : || !insn_condition_119 (operands, insn))
19310 0 : return -1;
19311 : return 7070; /* vec_set_hi_v16si_mask */
19312 :
19313 : default:
19314 : return -1;
19315 : }
19316 :
19317 1221 : case 4:
19318 1221 : if (pattern679 (x14) != 0
19319 1221 : || !register_operand (operands[4], E_QImode))
19320 : return -1;
19321 1107 : switch (GET_MODE (operands[0]))
19322 : {
19323 330 : case E_V8DFmode:
19324 330 : if (pattern1515 (x2,
19325 : E_V8DFmode,
19326 : E_V4DFmode) != 0
19327 330 : || !insn_condition_27 (operands, insn))
19328 39 : return -1;
19329 : return 7076; /* vec_set_hi_v8df_mask */
19330 :
19331 284 : case E_V8DImode:
19332 284 : if (pattern1515 (x2,
19333 : E_V8DImode,
19334 : E_V4DImode) != 0
19335 284 : || !insn_condition_27 (operands, insn))
19336 39 : return -1;
19337 : return 7078; /* vec_set_hi_v8di_mask */
19338 :
19339 244 : case E_V8SImode:
19340 244 : if (pattern1515 (x2,
19341 : E_V8SImode,
19342 : E_V4SImode) != 0
19343 244 : || !insn_condition_1187 (operands, insn))
19344 40 : return -1;
19345 : return 8170; /* vec_set_hi_v8si_mask */
19346 :
19347 249 : case E_V8SFmode:
19348 249 : if (pattern1515 (x2,
19349 : E_V8SFmode,
19350 : E_V4SFmode) != 0
19351 249 : || !insn_condition_1187 (operands, insn))
19352 44 : return -1;
19353 : return 8172; /* vec_set_hi_v8sf_mask */
19354 :
19355 : default:
19356 : return -1;
19357 : }
19358 :
19359 563 : case 2:
19360 563 : x19 = XVECEXP (x14, 0, 0);
19361 563 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
19362 : return -1;
19363 563 : x20 = XVECEXP (x14, 0, 1);
19364 563 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
19365 563 : || !register_operand (operands[4], E_QImode))
19366 : return -1;
19367 502 : switch (GET_MODE (operands[0]))
19368 : {
19369 253 : case E_V4DImode:
19370 253 : if (pattern1515 (x2,
19371 : E_V4DImode,
19372 : E_V2DImode) != 0
19373 253 : || !insn_condition_1188 (operands, insn))
19374 49 : return -1;
19375 : return 8162; /* vec_set_hi_v4di_mask */
19376 :
19377 249 : case E_V4DFmode:
19378 249 : if (pattern1515 (x2,
19379 : E_V4DFmode,
19380 : E_V2DFmode) != 0
19381 249 : || !insn_condition_1188 (operands, insn))
19382 44 : return -1;
19383 : return 8164; /* vec_set_hi_v4df_mask */
19384 :
19385 : default:
19386 : return -1;
19387 : }
19388 :
19389 : default:
19390 : return -1;
19391 : }
19392 :
19393 216 : case UNSPEC:
19394 216 : if (XVECLEN (x4, 0) != 2
19395 216 : || XINT (x4, 1) != 149
19396 216 : || GET_MODE (x4) != E_V4HImode
19397 216 : || !register_operand (operands[0], E_V8HImode)
19398 210 : || GET_MODE (x2) != E_V8HImode
19399 426 : || GET_MODE (x3) != E_V8HImode)
19400 : return -1;
19401 210 : x21 = XVECEXP (x4, 0, 0);
19402 210 : operands[1] = x21;
19403 210 : if (!register_operand (operands[1], E_V4SFmode))
19404 : return -1;
19405 191 : x22 = XVECEXP (x4, 0, 1);
19406 191 : operands[2] = x22;
19407 191 : if (!const_0_to_255_operand (operands[2], E_SImode))
19408 : return -1;
19409 191 : x5 = XEXP (x3, 1);
19410 191 : operands[3] = x5;
19411 191 : if (!const0_operand (operands[3], E_V4HImode))
19412 : return -1;
19413 191 : x8 = XEXP (x2, 1);
19414 191 : operands[4] = x8;
19415 191 : if (!nonimm_or_0_operand (operands[4], E_V8HImode))
19416 : return -1;
19417 190 : x9 = XEXP (x2, 2);
19418 190 : operands[5] = x9;
19419 190 : if (!register_operand (operands[5], E_QImode)
19420 190 : || !insn_condition_1189 (operands, insn))
19421 12 : return -1;
19422 : return 8353; /* *vcvtps2ph_mask */
19423 :
19424 1254 : case FLOAT_TRUNCATE:
19425 1254 : x5 = XEXP (x3, 1);
19426 1254 : if (GET_CODE (x5) != FLOAT_TRUNCATE)
19427 : return -1;
19428 1214 : x6 = XEXP (x4, 0);
19429 1214 : operands[2] = x6;
19430 1214 : x7 = XEXP (x5, 0);
19431 1214 : operands[1] = x7;
19432 1214 : x8 = XEXP (x2, 1);
19433 1214 : operands[3] = x8;
19434 1214 : x9 = XEXP (x2, 2);
19435 1214 : operands[4] = x9;
19436 1214 : switch (GET_MODE (operands[0]))
19437 : {
19438 186 : case E_V32BFmode:
19439 186 : if (pattern1167 (x2,
19440 : E_SImode,
19441 : E_V32BFmode,
19442 : E_V16SFmode,
19443 : E_V16BFmode) != 0
19444 186 : || !insn_condition_1190 (operands, insn))
19445 7 : return -1;
19446 : return 9034; /* avx512f_cvtne2ps2bf16_v32bf_mask */
19447 :
19448 186 : case E_V16BFmode:
19449 186 : if (pattern1167 (x2,
19450 : E_HImode,
19451 : E_V16BFmode,
19452 : E_V8SFmode,
19453 : E_V8BFmode) != 0
19454 186 : || !insn_condition_1191 (operands, insn))
19455 7 : return -1;
19456 : return 9036; /* avx512f_cvtne2ps2bf16_v16bf_mask */
19457 :
19458 186 : case E_V8BFmode:
19459 186 : if (pattern1167 (x2,
19460 : E_QImode,
19461 : E_V8BFmode,
19462 : E_V4SFmode,
19463 : E_V4BFmode) != 0
19464 186 : || !insn_condition_1191 (operands, insn))
19465 7 : return -1;
19466 : return 9038; /* avx512f_cvtne2ps2bf16_v8bf_mask */
19467 :
19468 127 : case E_V32HFmode:
19469 127 : if (pattern1168 (x2,
19470 : E_SImode,
19471 : E_V32HFmode,
19472 : E_V16SFmode,
19473 : E_V16HFmode) != 0
19474 127 : || !insn_condition_1192 (operands, insn))
19475 47 : return -1;
19476 : return 9134; /* avx10v1aux_cvt2ps2phx_v32hf_mask */
19477 :
19478 269 : case E_V16HFmode:
19479 269 : if (pattern1168 (x2,
19480 : E_HImode,
19481 : E_V16HFmode,
19482 : E_V8SFmode,
19483 : E_V8HFmode) != 0
19484 269 : || !insn_condition_1193 (operands, insn))
19485 44 : return -1;
19486 : return 9137; /* avx10v1aux_cvt2ps2phx_v16hf_mask */
19487 :
19488 260 : case E_V8HFmode:
19489 260 : if (pattern1168 (x2,
19490 : E_QImode,
19491 : E_V8HFmode,
19492 : E_V4SFmode,
19493 : E_V4HFmode) != 0
19494 260 : || !insn_condition_1193 (operands, insn))
19495 31 : return -1;
19496 : return 9139; /* avx10v1aux_cvt2ps2phx_v8hf_mask */
19497 :
19498 : default:
19499 : return -1;
19500 : }
19501 :
19502 : default:
19503 : return -1;
19504 : }
19505 : }
19506 :
19507 : int
19508 5952 : recog_207 (rtx x1 ATTRIBUTE_UNUSED,
19509 : rtx_insn *insn ATTRIBUTE_UNUSED,
19510 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19511 : {
19512 5952 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19513 5952 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
19514 5952 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
19515 5952 : int res ATTRIBUTE_UNUSED;
19516 5952 : x2 = XEXP (x1, 1);
19517 5952 : x3 = XEXP (x2, 0);
19518 5952 : x4 = XEXP (x3, 0);
19519 5952 : switch (GET_CODE (x4))
19520 : {
19521 2305 : case REG:
19522 2305 : case SUBREG:
19523 2305 : switch (pattern180 (x2))
19524 : {
19525 265 : case 0:
19526 265 : if (!insn_condition_27 (operands, insn))
19527 0 : return -1;
19528 : return 5922; /* avx512f_truncatev16siv16qi2_mask */
19529 :
19530 265 : case 1:
19531 265 : if (!insn_condition_533 (operands, insn))
19532 0 : return -1;
19533 : return 5958; /* avx512vl_truncatev16hiv16qi2_mask */
19534 :
19535 281 : case 2:
19536 281 : if (!insn_condition_27 (operands, insn))
19537 0 : return -1;
19538 : return 5925; /* avx512f_truncatev16siv16hi2_mask */
19539 :
19540 272 : case 3:
19541 272 : if (!insn_condition_27 (operands, insn))
19542 0 : return -1;
19543 : return 5928; /* avx512f_truncatev8div8si2_mask */
19544 :
19545 258 : case 4:
19546 258 : if (!insn_condition_27 (operands, insn))
19547 0 : return -1;
19548 : return 5931; /* avx512f_truncatev8div8hi2_mask */
19549 :
19550 258 : case 5:
19551 258 : if (!insn_condition_532 (operands, insn))
19552 0 : return -1;
19553 : return 5955; /* avx512vl_truncatev8siv8hi2_mask */
19554 :
19555 281 : case 6:
19556 281 : if (!insn_condition_12 (operands, insn))
19557 0 : return -1;
19558 : return 5938; /* avx512bw_truncatev32hiv32qi2_mask */
19559 :
19560 249 : case 7:
19561 249 : if (!insn_condition_532 (operands, insn))
19562 0 : return -1;
19563 : return 5952; /* avx512vl_truncatev4div4si2_mask */
19564 :
19565 : default:
19566 : return -1;
19567 : }
19568 :
19569 3647 : case LSHIFTRT:
19570 3647 : x5 = XEXP (x4, 1);
19571 3647 : if (GET_CODE (x5) != CONST_INT)
19572 : return -1;
19573 3647 : x6 = XEXP (x4, 0);
19574 3647 : switch (GET_CODE (x6))
19575 : {
19576 1426 : case MULT:
19577 1426 : if (XWINT (x5, 0) != 16L)
19578 : return -1;
19579 1426 : x7 = XEXP (x2, 1);
19580 1426 : operands[3] = x7;
19581 1426 : x8 = XEXP (x2, 2);
19582 1426 : operands[4] = x8;
19583 1426 : x9 = XEXP (x6, 0);
19584 1426 : switch (GET_CODE (x9))
19585 : {
19586 705 : case SIGN_EXTEND:
19587 705 : switch (pattern1164 (x2,
19588 : SIGN_EXTEND))
19589 : {
19590 204 : case 0:
19591 204 : if (!insn_condition_1206 (operands, insn))
19592 1 : return -1;
19593 : return 6270; /* *smulv32hi3_highpart_mask */
19594 :
19595 184 : case 1:
19596 184 : if (!insn_condition_1207 (operands, insn))
19597 1 : return -1;
19598 : return 6274; /* *smulv16hi3_highpart_mask */
19599 :
19600 176 : case 2:
19601 176 : if (!insn_condition_1208 (operands, insn))
19602 0 : return -1;
19603 : return 6278; /* *smulv8hi3_highpart_mask */
19604 :
19605 : default:
19606 : return -1;
19607 : }
19608 :
19609 705 : case ZERO_EXTEND:
19610 705 : switch (pattern1164 (x2,
19611 : ZERO_EXTEND))
19612 : {
19613 204 : case 0:
19614 204 : if (!insn_condition_1206 (operands, insn))
19615 1 : return -1;
19616 : return 6272; /* *umulv32hi3_highpart_mask */
19617 :
19618 184 : case 1:
19619 184 : if (!insn_condition_1207 (operands, insn))
19620 1 : return -1;
19621 : return 6276; /* *umulv16hi3_highpart_mask */
19622 :
19623 176 : case 2:
19624 176 : if (!insn_condition_1208 (operands, insn))
19625 0 : return -1;
19626 : return 6280; /* *umulv8hi3_highpart_mask */
19627 :
19628 : default:
19629 : return -1;
19630 : }
19631 :
19632 : default:
19633 : return -1;
19634 : }
19635 :
19636 2221 : case PLUS:
19637 2221 : if (XWINT (x5, 0) != 1L)
19638 : return -1;
19639 2221 : x9 = XEXP (x6, 0);
19640 2221 : switch (GET_CODE (x9))
19641 : {
19642 1303 : case PLUS:
19643 1303 : x10 = XEXP (x9, 0);
19644 1303 : if (GET_CODE (x10) != ZERO_EXTEND)
19645 : return -1;
19646 1303 : x11 = XEXP (x9, 1);
19647 1303 : if (GET_CODE (x11) != ZERO_EXTEND)
19648 : return -1;
19649 1251 : x12 = XEXP (x10, 0);
19650 1251 : operands[1] = x12;
19651 1251 : x13 = XEXP (x11, 0);
19652 1251 : operands[2] = x13;
19653 1251 : x14 = XEXP (x6, 1);
19654 1251 : operands[5] = x14;
19655 1251 : x7 = XEXP (x2, 1);
19656 1251 : operands[3] = x7;
19657 1251 : x8 = XEXP (x2, 2);
19658 1251 : operands[4] = x8;
19659 1251 : switch (GET_MODE (operands[0]))
19660 : {
19661 227 : case E_V64QImode:
19662 227 : if (pattern1597 (x2,
19663 : E_DImode,
19664 : E_V64QImode,
19665 : E_V64HImode) != 0
19666 227 : || !insn_condition_1224 (operands, insn))
19667 38 : return -1;
19668 : return 7160; /* *avx512bw_uavgv64qi3_mask */
19669 :
19670 218 : case E_V32QImode:
19671 218 : if (pattern1597 (x2,
19672 : E_SImode,
19673 : E_V32QImode,
19674 : E_V32HImode) != 0
19675 218 : || !insn_condition_1225 (operands, insn))
19676 35 : return -1;
19677 : return 7162; /* *avx2_uavgv32qi3_mask */
19678 :
19679 191 : case E_V16QImode:
19680 191 : if (pattern1597 (x2,
19681 : E_HImode,
19682 : E_V16QImode,
19683 : E_V16HImode) != 0
19684 191 : || !insn_condition_1226 (operands, insn))
19685 4 : return -1;
19686 : return 7164; /* *sse2_uavgv16qi3_mask */
19687 :
19688 218 : case E_V32HImode:
19689 218 : if (pattern1597 (x2,
19690 : E_SImode,
19691 : E_V32HImode,
19692 : E_V32SImode) != 0
19693 218 : || !insn_condition_1224 (operands, insn))
19694 35 : return -1;
19695 : return 7166; /* *avx512bw_uavgv32hi3_mask */
19696 :
19697 218 : case E_V16HImode:
19698 218 : if (pattern1597 (x2,
19699 : E_HImode,
19700 : E_V16HImode,
19701 : E_V16SImode) != 0
19702 218 : || !insn_condition_1225 (operands, insn))
19703 35 : return -1;
19704 : return 7168; /* *avx2_uavgv16hi3_mask */
19705 :
19706 179 : case E_V8HImode:
19707 179 : if (pattern1597 (x2,
19708 : E_QImode,
19709 : E_V8HImode,
19710 : E_V8SImode) != 0
19711 179 : || !insn_condition_1226 (operands, insn))
19712 4 : return -1;
19713 : return 7170; /* *sse2_uavgv8hi3_mask */
19714 :
19715 : default:
19716 : return -1;
19717 : }
19718 :
19719 830 : case LSHIFTRT:
19720 830 : x10 = XEXP (x9, 0);
19721 830 : if (GET_CODE (x10) != MULT)
19722 : return -1;
19723 830 : x12 = XEXP (x10, 0);
19724 830 : if (GET_CODE (x12) != SIGN_EXTEND)
19725 : return -1;
19726 822 : x15 = XEXP (x10, 1);
19727 822 : if (GET_CODE (x15) != SIGN_EXTEND)
19728 : return -1;
19729 756 : x11 = XEXP (x9, 1);
19730 756 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 14])
19731 : return -1;
19732 756 : x16 = XEXP (x12, 0);
19733 756 : operands[1] = x16;
19734 756 : if (nonimmediate_operand (operands[1], E_V32HImode))
19735 : {
19736 336 : res = recog_194 (x1, insn, pnum_clobbers);
19737 336 : if (res >= 0)
19738 : return res;
19739 : }
19740 453 : x17 = XEXP (x15, 0);
19741 453 : operands[2] = x17;
19742 453 : x14 = XEXP (x6, 1);
19743 453 : operands[3] = x14;
19744 453 : x7 = XEXP (x2, 1);
19745 453 : operands[4] = x7;
19746 453 : x8 = XEXP (x2, 2);
19747 453 : operands[5] = x8;
19748 453 : switch (GET_MODE (operands[0]))
19749 : {
19750 33 : case E_V32HImode:
19751 33 : if (pattern1703 (x2,
19752 : E_SImode,
19753 : E_V32HImode,
19754 : E_V32SImode) != 0
19755 33 : || !insn_condition_1227 (operands, insn))
19756 33 : return -1;
19757 : return 7283; /* *avx512bw_pmulhrswv32hi3_mask */
19758 :
19759 226 : case E_V16HImode:
19760 226 : if (pattern1703 (x2,
19761 : E_HImode,
19762 : E_V16HImode,
19763 : E_V16SImode) != 0
19764 226 : || !insn_condition_1228 (operands, insn))
19765 35 : return -1;
19766 : return 7285; /* *avx2_pmulhrswv16hi3_mask */
19767 :
19768 194 : case E_V8HImode:
19769 194 : if (pattern1703 (x2,
19770 : E_QImode,
19771 : E_V8HImode,
19772 : E_V8SImode) != 0
19773 194 : || !insn_condition_1229 (operands, insn))
19774 10 : return -1;
19775 : return 7287; /* *ssse3_pmulhrswv8hi3_mask */
19776 :
19777 : default:
19778 : return -1;
19779 : }
19780 :
19781 : default:
19782 : return -1;
19783 : }
19784 :
19785 : default:
19786 : return -1;
19787 : }
19788 :
19789 : default:
19790 : return -1;
19791 : }
19792 : }
19793 :
19794 : int
19795 4294 : recog_214 (rtx x1 ATTRIBUTE_UNUSED,
19796 : rtx_insn *insn ATTRIBUTE_UNUSED,
19797 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19798 : {
19799 4294 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19800 4294 : rtx x2;
19801 4294 : int res ATTRIBUTE_UNUSED;
19802 4294 : x2 = XEXP (x1, 1);
19803 4294 : switch (pattern173 (x2))
19804 : {
19805 0 : case 0:
19806 0 : if (!insn_condition_1290 (operands, insn))
19807 0 : return -1;
19808 : return 3163; /* *sminv32hf3_mask */
19809 :
19810 30 : case 1:
19811 30 : if (!insn_condition_1291 (operands, insn))
19812 0 : return -1;
19813 : return 3168; /* *sminv16hf3_mask */
19814 :
19815 0 : case 2:
19816 0 : if (!insn_condition_1292 (operands, insn))
19817 0 : return -1;
19818 : return 3172; /* *sminv8hf3_mask */
19819 :
19820 0 : case 3:
19821 0 : if (!insn_condition_1293 (operands, insn))
19822 0 : return -1;
19823 : return 3179; /* *sminv16sf3_mask */
19824 :
19825 20 : case 4:
19826 20 : if (!insn_condition_1294 (operands, insn))
19827 0 : return -1;
19828 : return 3184; /* *sminv8sf3_mask */
19829 :
19830 0 : case 5:
19831 0 : if (!insn_condition_1295 (operands, insn))
19832 0 : return -1;
19833 : return 3188; /* *sminv4sf3_mask */
19834 :
19835 0 : case 6:
19836 0 : if (!insn_condition_1293 (operands, insn))
19837 0 : return -1;
19838 : return 3195; /* *sminv8df3_mask */
19839 :
19840 30 : case 7:
19841 30 : if (!insn_condition_1294 (operands, insn))
19842 0 : return -1;
19843 : return 3200; /* *sminv4df3_mask */
19844 :
19845 0 : case 8:
19846 0 : if (!insn_condition_1296 (operands, insn))
19847 0 : return -1;
19848 : return 3204; /* *sminv2df3_mask */
19849 :
19850 203 : case 9:
19851 203 : if (!insn_condition_345 (operands, insn))
19852 0 : return -1;
19853 : return 6478; /* *avx512f_sminv16si3_mask */
19854 :
19855 212 : case 10:
19856 212 : if (!insn_condition_346 (operands, insn))
19857 0 : return -1;
19858 : return 6486; /* *avx512f_sminv8si3_mask */
19859 :
19860 174 : case 11:
19861 174 : if (nonimmediate_operand (operands[1], E_V4SImode)
19862 174 : && nonimmediate_operand (operands[2], E_V4SImode)
19863 348 : && insn_condition_346 (operands, insn))
19864 : return 6494; /* *avx512f_sminv4si3_mask */
19865 0 : if (!vector_operand (operands[1], E_V4SImode)
19866 0 : || !vector_operand (operands[2], E_V4SImode)
19867 0 : || !insn_condition_1297 (operands, insn))
19868 0 : return -1;
19869 : return 6578; /* *sse4_1_sminv4si3_mask */
19870 :
19871 427 : case 12:
19872 427 : if (!insn_condition_345 (operands, insn))
19873 0 : return -1;
19874 : return 6502; /* *avx512f_sminv8di3_mask */
19875 :
19876 258 : case 13:
19877 258 : if (!insn_condition_346 (operands, insn))
19878 0 : return -1;
19879 : return 6510; /* *avx512f_sminv4di3_mask */
19880 :
19881 218 : case 14:
19882 218 : if (!insn_condition_346 (operands, insn))
19883 0 : return -1;
19884 : return 6518; /* *avx512f_sminv2di3_mask */
19885 :
19886 213 : case 15:
19887 213 : if (!insn_condition_804 (operands, insn))
19888 0 : return -1;
19889 : return 6526; /* *avx512bw_sminv64qi3_mask */
19890 :
19891 198 : case 16:
19892 198 : if (nonimmediate_operand (operands[1], E_V16QImode)
19893 188 : && nonimmediate_operand (operands[2], E_V16QImode)
19894 386 : && insn_condition_344 (operands, insn))
19895 : return 6534; /* *avx512bw_sminv16qi3_mask */
19896 10 : if (!vector_operand (operands[1], E_V16QImode)
19897 0 : || !vector_operand (operands[2], E_V16QImode)
19898 10 : || !insn_condition_1297 (operands, insn))
19899 10 : return -1;
19900 : return 6574; /* *sse4_1_sminv16qi3_mask */
19901 :
19902 216 : case 17:
19903 216 : if (!insn_condition_344 (operands, insn))
19904 0 : return -1;
19905 : return 6542; /* *avx512bw_sminv32qi3_mask */
19906 :
19907 205 : case 18:
19908 205 : if (!insn_condition_804 (operands, insn))
19909 0 : return -1;
19910 : return 6550; /* *avx512bw_sminv32hi3_mask */
19911 :
19912 217 : case 19:
19913 217 : if (!insn_condition_344 (operands, insn))
19914 0 : return -1;
19915 : return 6558; /* *avx512bw_sminv16hi3_mask */
19916 :
19917 188 : case 20:
19918 188 : if (!insn_condition_344 (operands, insn))
19919 0 : return -1;
19920 : return 6566; /* *avx512bw_sminv8hi3_mask */
19921 :
19922 189 : case 21:
19923 189 : if (!insn_condition_83 (operands, insn))
19924 0 : return -1;
19925 : return 9290; /* avx10_2_sminbf16_v32bf_mask */
19926 :
19927 194 : case 22:
19928 194 : if (!insn_condition_83 (operands, insn))
19929 0 : return -1;
19930 : return 9294; /* avx10_2_sminbf16_v16bf_mask */
19931 :
19932 195 : case 23:
19933 195 : if (!insn_condition_83 (operands, insn))
19934 0 : return -1;
19935 : return 9298; /* avx10_2_sminbf16_v8bf_mask */
19936 :
19937 0 : case 24:
19938 0 : if (!insn_condition_1018 (operands, insn))
19939 0 : return -1;
19940 : return 3284; /* *avx512fp16_vmsminv8hf3 */
19941 :
19942 0 : case 25:
19943 0 : if (!insn_condition_148 (operands, insn))
19944 0 : return -1;
19945 : return 3292; /* *sse_vmsminv4sf3 */
19946 :
19947 0 : case 26:
19948 0 : if (!insn_condition_236 (operands, insn))
19949 0 : return -1;
19950 : return 3300; /* *sse2_vmsminv2df3 */
19951 :
19952 : default:
19953 : return -1;
19954 : }
19955 : }
19956 :
19957 : int
19958 4982 : recog_222 (rtx x1 ATTRIBUTE_UNUSED,
19959 : rtx_insn *insn ATTRIBUTE_UNUSED,
19960 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19961 : {
19962 4982 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19963 4982 : rtx x2, x3, x4, x5, x6, x7;
19964 4982 : int res ATTRIBUTE_UNUSED;
19965 4982 : x2 = XEXP (x1, 1);
19966 4982 : x3 = XEXP (x2, 0);
19967 4982 : x4 = XEXP (x3, 0);
19968 4982 : operands[1] = x4;
19969 4982 : x5 = XEXP (x3, 1);
19970 4982 : operands[2] = x5;
19971 4982 : x6 = XEXP (x2, 1);
19972 4982 : operands[3] = x6;
19973 4982 : x7 = XEXP (x2, 2);
19974 4982 : operands[4] = x7;
19975 4982 : switch (GET_MODE (operands[0]))
19976 : {
19977 265 : case E_V8SFmode:
19978 265 : if (pattern167 (x2,
19979 : E_V8SFmode,
19980 : E_QImode) != 0
19981 265 : || !insn_condition_1236 (operands, insn))
19982 61 : return -1;
19983 : return 3910; /* *iorv8sf3_mask */
19984 :
19985 200 : case E_V4SFmode:
19986 200 : if (pattern167 (x2,
19987 : E_V4SFmode,
19988 : E_QImode) != 0
19989 200 : || !insn_condition_1237 (operands, insn))
19990 9 : return -1;
19991 : return 3916; /* *iorv4sf3_mask */
19992 :
19993 265 : case E_V4DFmode:
19994 265 : if (pattern167 (x2,
19995 : E_V4DFmode,
19996 : E_QImode) != 0
19997 265 : || !insn_condition_1238 (operands, insn))
19998 61 : return -1;
19999 : return 3922; /* *iorv4df3_mask */
20000 :
20001 200 : case E_V2DFmode:
20002 200 : if (pattern167 (x2,
20003 : E_V2DFmode,
20004 : E_QImode) != 0
20005 200 : || !insn_condition_1239 (operands, insn))
20006 9 : return -1;
20007 : return 3928; /* *iorv2df3_mask */
20008 :
20009 290 : case E_V16SFmode:
20010 290 : if (pattern168 (x2,
20011 : E_V16SFmode,
20012 : E_HImode) != 0
20013 290 : || !insn_condition_1240 (operands, insn))
20014 61 : return -1;
20015 : return 3940; /* *iorv16sf3_mask */
20016 :
20017 290 : case E_V8DFmode:
20018 290 : if (pattern168 (x2,
20019 : E_V8DFmode,
20020 : E_QImode) != 0
20021 290 : || !insn_condition_1241 (operands, insn))
20022 61 : return -1;
20023 : return 3946; /* *iorv8df3_mask */
20024 :
20025 571 : case E_V16SImode:
20026 571 : if (pattern518 (x2,
20027 : E_V16SImode,
20028 : E_HImode) != 0
20029 571 : || !insn_condition_1330 (operands, insn))
20030 265 : return -1;
20031 : return 6720; /* *iorv16si3_mask */
20032 :
20033 498 : case E_V8SImode:
20034 498 : if (pattern518 (x2,
20035 : E_V8SImode,
20036 : E_QImode) != 0
20037 498 : || !insn_condition_1331 (operands, insn))
20038 221 : return -1;
20039 : return 6726; /* *iorv8si3_mask */
20040 :
20041 180 : case E_V4SImode:
20042 180 : if (pattern518 (x2,
20043 : E_V4SImode,
20044 : E_QImode) != 0
20045 180 : || !insn_condition_1332 (operands, insn))
20046 6 : return -1;
20047 : return 6732; /* *iorv4si3_mask */
20048 :
20049 833 : case E_V8DImode:
20050 833 : if (pattern518 (x2,
20051 : E_V8DImode,
20052 : E_QImode) != 0
20053 833 : || !insn_condition_1333 (operands, insn))
20054 413 : return -1;
20055 : return 6738; /* *iorv8di3_mask */
20056 :
20057 1045 : case E_V4DImode:
20058 1045 : if (pattern518 (x2,
20059 : E_V4DImode,
20060 : E_QImode) != 0
20061 1045 : || !insn_condition_1334 (operands, insn))
20062 578 : return -1;
20063 : return 6744; /* *iorv4di3_mask */
20064 :
20065 203 : case E_V2DImode:
20066 203 : if (pattern518 (x2,
20067 : E_V2DImode,
20068 : E_QImode) != 0
20069 203 : || !insn_condition_1335 (operands, insn))
20070 12 : return -1;
20071 : return 6750; /* *iorv2di3_mask */
20072 :
20073 : default:
20074 : return -1;
20075 : }
20076 : }
20077 :
20078 : int
20079 1453 : recog_226 (rtx x1 ATTRIBUTE_UNUSED,
20080 : rtx_insn *insn ATTRIBUTE_UNUSED,
20081 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20082 : {
20083 1453 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20084 1453 : rtx x2, x3;
20085 1453 : int res ATTRIBUTE_UNUSED;
20086 1453 : x2 = XEXP (x1, 1);
20087 1453 : x3 = XVECEXP (x2, 0, 0);
20088 1453 : operands[1] = x3;
20089 1453 : switch (GET_MODE (operands[0]))
20090 : {
20091 23 : case E_V32HFmode:
20092 23 : if (!register_operand (operands[0], E_V32HFmode)
20093 17 : || GET_MODE (x2) != E_V32HFmode
20094 17 : || !vector_operand (operands[1], E_V32HFmode)
20095 23 : || !insn_condition_26 (operands, insn))
20096 6 : return -1;
20097 : return 5700; /* avx512bw_getexpv32hf */
20098 :
20099 59 : case E_V16HFmode:
20100 59 : if (!register_operand (operands[0], E_V16HFmode)
20101 54 : || GET_MODE (x2) != E_V16HFmode
20102 54 : || !vector_operand (operands[1], E_V16HFmode)
20103 113 : || !insn_condition_972 (operands, insn))
20104 5 : return -1;
20105 : return 5704; /* avx512vl_getexpv16hf */
20106 :
20107 59 : case E_V8HFmode:
20108 59 : if (!register_operand (operands[0], E_V8HFmode)
20109 54 : || GET_MODE (x2) != E_V8HFmode
20110 54 : || !vector_operand (operands[1], E_V8HFmode)
20111 113 : || !insn_condition_972 (operands, insn))
20112 5 : return -1;
20113 : return 5708; /* avx512fp16_getexpv8hf */
20114 :
20115 21 : case E_V16SFmode:
20116 21 : if (!register_operand (operands[0], E_V16SFmode)
20117 15 : || GET_MODE (x2) != E_V16SFmode
20118 15 : || !vector_operand (operands[1], E_V16SFmode)
20119 36 : || !insn_condition_27 (operands, insn))
20120 6 : return -1;
20121 : return 5712; /* avx512f_getexpv16sf */
20122 :
20123 63 : case E_V8SFmode:
20124 63 : if (!register_operand (operands[0], E_V8SFmode)
20125 57 : || GET_MODE (x2) != E_V8SFmode
20126 57 : || !vector_operand (operands[1], E_V8SFmode)
20127 63 : || !insn_condition_100 (operands, insn))
20128 6 : return -1;
20129 : return 5716; /* avx512vl_getexpv8sf */
20130 :
20131 880 : case E_V4SFmode:
20132 880 : if (!register_operand (operands[0], E_V4SFmode)
20133 877 : || GET_MODE (x2) != E_V4SFmode
20134 877 : || !vector_operand (operands[1], E_V4SFmode)
20135 880 : || !insn_condition_100 (operands, insn))
20136 413 : return -1;
20137 : return 5720; /* avx512vl_getexpv4sf */
20138 :
20139 24 : case E_V8DFmode:
20140 24 : if (!register_operand (operands[0], E_V8DFmode)
20141 18 : || GET_MODE (x2) != E_V8DFmode
20142 18 : || !vector_operand (operands[1], E_V8DFmode)
20143 41 : || !insn_condition_27 (operands, insn))
20144 7 : return -1;
20145 : return 5724; /* avx512f_getexpv8df */
20146 :
20147 66 : case E_V4DFmode:
20148 66 : if (!register_operand (operands[0], E_V4DFmode)
20149 60 : || GET_MODE (x2) != E_V4DFmode
20150 60 : || !vector_operand (operands[1], E_V4DFmode)
20151 66 : || !insn_condition_100 (operands, insn))
20152 7 : return -1;
20153 : return 5728; /* avx512vl_getexpv4df */
20154 :
20155 61 : case E_V2DFmode:
20156 61 : if (!register_operand (operands[0], E_V2DFmode)
20157 58 : || GET_MODE (x2) != E_V2DFmode
20158 58 : || !vector_operand (operands[1], E_V2DFmode)
20159 61 : || !insn_condition_100 (operands, insn))
20160 3 : return -1;
20161 : return 5732; /* avx512vl_getexpv2df */
20162 :
20163 66 : case E_V32BFmode:
20164 66 : if (!register_operand (operands[0], E_V32BFmode)
20165 60 : || GET_MODE (x2) != E_V32BFmode
20166 60 : || !nonimmediate_operand (operands[1], E_V32BFmode)
20167 125 : || !insn_condition_41 (operands, insn))
20168 7 : return -1;
20169 : return 9389; /* avx10_2_getexpbf16_v32bf */
20170 :
20171 66 : case E_V16BFmode:
20172 66 : if (!register_operand (operands[0], E_V16BFmode)
20173 60 : || GET_MODE (x2) != E_V16BFmode
20174 60 : || !nonimmediate_operand (operands[1], E_V16BFmode)
20175 125 : || !insn_condition_41 (operands, insn))
20176 7 : return -1;
20177 : return 9391; /* avx10_2_getexpbf16_v16bf */
20178 :
20179 65 : case E_V8BFmode:
20180 65 : if (!register_operand (operands[0], E_V8BFmode)
20181 59 : || GET_MODE (x2) != E_V8BFmode
20182 59 : || !nonimmediate_operand (operands[1], E_V8BFmode)
20183 123 : || !insn_condition_41 (operands, insn))
20184 7 : return -1;
20185 : return 9393; /* avx10_2_getexpbf16_v8bf */
20186 :
20187 : default:
20188 : return -1;
20189 : }
20190 : }
20191 :
20192 : int
20193 320 : recog_232 (rtx x1 ATTRIBUTE_UNUSED,
20194 : rtx_insn *insn ATTRIBUTE_UNUSED,
20195 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20196 : {
20197 320 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20198 320 : rtx x2, x3;
20199 320 : int res ATTRIBUTE_UNUSED;
20200 320 : x2 = XEXP (x1, 1);
20201 320 : x3 = XVECEXP (x2, 0, 0);
20202 320 : operands[1] = x3;
20203 320 : switch (GET_MODE (operands[0]))
20204 : {
20205 60 : case E_V16SImode:
20206 60 : if (!register_operand (operands[0], E_V16SImode)
20207 56 : || GET_MODE (x2) != E_V16SImode
20208 56 : || !nonimmediate_operand (operands[1], E_V16SImode)
20209 116 : || !insn_condition_1354 (operands, insn))
20210 4 : return -1;
20211 : return 8767; /* *conflictv16si */
20212 :
20213 47 : case E_V8SImode:
20214 47 : if (!register_operand (operands[0], E_V8SImode)
20215 47 : || GET_MODE (x2) != E_V8SImode
20216 47 : || !nonimmediate_operand (operands[1], E_V8SImode)
20217 47 : || !insn_condition_1355 (operands, insn))
20218 0 : return -1;
20219 : return 8769; /* *conflictv8si */
20220 :
20221 47 : case E_V4SImode:
20222 47 : if (!register_operand (operands[0], E_V4SImode)
20223 47 : || GET_MODE (x2) != E_V4SImode
20224 47 : || !nonimmediate_operand (operands[1], E_V4SImode)
20225 47 : || !insn_condition_1355 (operands, insn))
20226 0 : return -1;
20227 : return 8771; /* *conflictv4si */
20228 :
20229 66 : case E_V8DImode:
20230 66 : if (!register_operand (operands[0], E_V8DImode)
20231 60 : || GET_MODE (x2) != E_V8DImode
20232 60 : || !nonimmediate_operand (operands[1], E_V8DImode)
20233 125 : || !insn_condition_1354 (operands, insn))
20234 7 : return -1;
20235 : return 8773; /* *conflictv8di */
20236 :
20237 50 : case E_V4DImode:
20238 50 : if (!register_operand (operands[0], E_V4DImode)
20239 48 : || GET_MODE (x2) != E_V4DImode
20240 48 : || !nonimmediate_operand (operands[1], E_V4DImode)
20241 50 : || !insn_condition_1355 (operands, insn))
20242 2 : return -1;
20243 : return 8775; /* *conflictv4di */
20244 :
20245 50 : case E_V2DImode:
20246 50 : if (!register_operand (operands[0], E_V2DImode)
20247 48 : || GET_MODE (x2) != E_V2DImode
20248 48 : || !nonimmediate_operand (operands[1], E_V2DImode)
20249 50 : || !insn_condition_1355 (operands, insn))
20250 2 : return -1;
20251 : return 8777; /* *conflictv2di */
20252 :
20253 : default:
20254 : return -1;
20255 : }
20256 : }
20257 :
20258 : int
20259 141 : recog_235 (rtx x1 ATTRIBUTE_UNUSED,
20260 : rtx_insn *insn ATTRIBUTE_UNUSED,
20261 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20262 : {
20263 141 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20264 141 : rtx x2, x3;
20265 141 : int res ATTRIBUTE_UNUSED;
20266 141 : x2 = XEXP (x1, 1);
20267 141 : x3 = XVECEXP (x2, 0, 0);
20268 141 : operands[1] = x3;
20269 141 : switch (GET_MODE (operands[0]))
20270 : {
20271 47 : case E_V64QImode:
20272 47 : if (!register_operand (operands[0], E_V64QImode)
20273 47 : || GET_MODE (x2) != E_V64QImode
20274 47 : || !nonimmediate_operand (operands[1], E_V32QImode)
20275 94 : || !insn_condition_156 (operands, insn))
20276 0 : return -1;
20277 : return 9767; /* vcvtbf42hf8v64qi */
20278 :
20279 47 : case E_V16QImode:
20280 47 : if (!register_operand (operands[0], E_V16QImode)
20281 47 : || GET_MODE (x2) != E_V16QImode
20282 47 : || !nonimmediate_operand (operands[1], E_V16QImode)
20283 47 : || !insn_condition_1356 (operands, insn))
20284 0 : return -1;
20285 : return 9769; /* vcvtbf42hf8v16qi */
20286 :
20287 47 : case E_V32QImode:
20288 47 : if (!register_operand (operands[0], E_V32QImode)
20289 47 : || GET_MODE (x2) != E_V32QImode
20290 47 : || !nonimmediate_operand (operands[1], E_V16QImode)
20291 47 : || !insn_condition_1356 (operands, insn))
20292 0 : return -1;
20293 : return 9771; /* vcvtbf42hf8v32qi */
20294 :
20295 : default:
20296 : return -1;
20297 : }
20298 : }
20299 :
20300 : int
20301 231 : recog_238 (rtx x1 ATTRIBUTE_UNUSED,
20302 : rtx_insn *insn ATTRIBUTE_UNUSED,
20303 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20304 : {
20305 231 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20306 231 : rtx x2, x3;
20307 231 : int res ATTRIBUTE_UNUSED;
20308 231 : x2 = XEXP (x1, 1);
20309 231 : x3 = XVECEXP (x2, 0, 0);
20310 231 : operands[1] = x3;
20311 231 : switch (GET_MODE (operands[0]))
20312 : {
20313 77 : case E_V32HFmode:
20314 77 : if (!register_operand (operands[0], E_V32HFmode)
20315 68 : || GET_MODE (x2) != E_V32HFmode
20316 68 : || !nonimmediate_operand (operands[1], E_V32QImode)
20317 145 : || !insn_condition_1072 (operands, insn))
20318 9 : return -1;
20319 : return 9212; /* vcvthf82phv32hf */
20320 :
20321 78 : case E_V16HFmode:
20322 78 : if (!register_operand (operands[0], E_V16HFmode)
20323 67 : || GET_MODE (x2) != E_V16HFmode
20324 67 : || !nonimmediate_operand (operands[1], E_V16QImode)
20325 78 : || !insn_condition_1361 (operands, insn))
20326 11 : return -1;
20327 : return 9214; /* vcvthf82phv16hf */
20328 :
20329 76 : case E_V8HFmode:
20330 76 : if (!register_operand (operands[0], E_V8HFmode)
20331 67 : || GET_MODE (x2) != E_V8HFmode
20332 67 : || !nonimmediate_operand (operands[1], E_V16QImode)
20333 76 : || !insn_condition_1361 (operands, insn))
20334 9 : return -1;
20335 : return 9216; /* vcvthf82phv8hf */
20336 :
20337 : default:
20338 : return -1;
20339 : }
20340 : }
20341 :
20342 : int
20343 17264 : recog_243 (rtx x1 ATTRIBUTE_UNUSED,
20344 : rtx_insn *insn ATTRIBUTE_UNUSED,
20345 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20346 : {
20347 17264 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20348 17264 : rtx x2, x3, x4, x5, x6, x7, x8;
20349 17264 : int res ATTRIBUTE_UNUSED;
20350 17264 : x2 = XEXP (x1, 1);
20351 17264 : x3 = XVECEXP (x2, 0, 0);
20352 17264 : x4 = XEXP (x3, 0);
20353 17264 : x5 = XVECEXP (x4, 0, 0);
20354 17264 : operands[1] = x5;
20355 17264 : x6 = XEXP (x3, 1);
20356 17264 : operands[2] = x6;
20357 17264 : x7 = XEXP (x3, 2);
20358 17264 : operands[3] = x7;
20359 17264 : x8 = XVECEXP (x2, 0, 1);
20360 17264 : operands[4] = x8;
20361 17264 : switch (XINT (x4, 1))
20362 : {
20363 2882 : case 155:
20364 2882 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
20365 : return -1;
20366 2882 : switch (GET_MODE (operands[0]))
20367 : {
20368 441 : case E_V32HImode:
20369 441 : if (pattern1339 (x2,
20370 : E_SImode,
20371 : E_V32HImode,
20372 : E_V32HFmode) != 0
20373 441 : || !insn_condition_89 (operands, insn))
20374 29 : return -1;
20375 : return 4561; /* avx512fp16_vcvtph2uw_v32hi_mask_round */
20376 :
20377 836 : case E_V16SImode:
20378 836 : if (pattern1349 (x2,
20379 : E_V16SImode,
20380 : E_HImode) != 0)
20381 : return -1;
20382 814 : switch (GET_MODE (operands[1]))
20383 : {
20384 420 : case E_V16HFmode:
20385 420 : if (!register_operand (operands[1], E_V16HFmode)
20386 420 : || !insn_condition_89 (operands, insn))
20387 8 : return -1;
20388 : return 4569; /* avx512fp16_vcvtph2udq_v16si_mask_round */
20389 :
20390 394 : case E_V16SFmode:
20391 394 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
20392 394 : || !insn_condition_27 (operands, insn))
20393 0 : return -1;
20394 : return 5014; /* avx512f_fixuns_notruncv16sfv16si_mask_round */
20395 :
20396 : default:
20397 : return -1;
20398 : }
20399 :
20400 1210 : case E_V8DImode:
20401 1210 : switch (pattern1517 (x2,
20402 : E_V8DImode))
20403 : {
20404 415 : case 0:
20405 415 : if (!insn_condition_89 (operands, insn))
20406 0 : return -1;
20407 : return 4577; /* avx512fp16_vcvtph2uqq_v8di_mask_round */
20408 :
20409 368 : case 1:
20410 368 : if (!insn_condition_1381 (operands, insn))
20411 0 : return -1;
20412 : return 5034; /* avx512dq_cvtps2uqqv8di_mask_round */
20413 :
20414 369 : case 2:
20415 369 : if (!insn_condition_1382 (operands, insn))
20416 0 : return -1;
20417 : return 5279; /* fixuns_notruncv8dfv8di2_mask_round */
20418 :
20419 : default:
20420 : return -1;
20421 : }
20422 :
20423 0 : case E_V16HImode:
20424 0 : if (pattern1339 (x2,
20425 : E_HImode,
20426 : E_V16HImode,
20427 : E_V16HFmode) != 0
20428 0 : || !insn_condition_1383 (operands, insn))
20429 0 : return -1;
20430 : return 4585; /* avx512fp16_vcvtph2uw_v16hi_mask_round */
20431 :
20432 395 : case E_V8SImode:
20433 395 : switch (pattern1517 (x2,
20434 : E_V8SImode))
20435 : {
20436 0 : case 0:
20437 0 : if (!insn_condition_1383 (operands, insn))
20438 0 : return -1;
20439 : return 4593; /* avx512fp16_vcvtph2udq_v8si_mask_round */
20440 :
20441 0 : case 1:
20442 0 : if (!insn_condition_1380 (operands, insn))
20443 0 : return -1;
20444 : return 5018; /* avx512vl_fixuns_notruncv8sfv8si_mask_round */
20445 :
20446 394 : case 2:
20447 394 : if (!insn_condition_27 (operands, insn))
20448 0 : return -1;
20449 : return 5199; /* fixuns_notruncv8dfv8si2_mask_round */
20450 :
20451 : default:
20452 : return -1;
20453 : }
20454 :
20455 0 : case E_V4DImode:
20456 0 : if (pattern1339 (x2,
20457 : E_QImode,
20458 : E_V4DImode,
20459 : E_V8HFmode) != 0
20460 0 : || !insn_condition_1383 (operands, insn))
20461 0 : return -1;
20462 : return 4601; /* avx512fp16_vcvtph2uqq_v4di_mask_round */
20463 :
20464 0 : case E_V8HImode:
20465 0 : if (pattern1339 (x2,
20466 : E_QImode,
20467 : E_V8HImode,
20468 : E_V8HFmode) != 0
20469 0 : || !insn_condition_1383 (operands, insn))
20470 0 : return -1;
20471 : return 4609; /* avx512fp16_vcvtph2uw_v8hi_mask_round */
20472 :
20473 0 : case E_V4SImode:
20474 0 : if (pattern1349 (x2,
20475 : E_V4SImode,
20476 : E_QImode) != 0)
20477 : return -1;
20478 0 : switch (GET_MODE (operands[1]))
20479 : {
20480 0 : case E_V8HFmode:
20481 0 : if (!register_operand (operands[1], E_V8HFmode)
20482 0 : || !insn_condition_1383 (operands, insn))
20483 0 : return -1;
20484 : return 4617; /* avx512fp16_vcvtph2udq_v4si_mask_round */
20485 :
20486 0 : case E_V4SFmode:
20487 0 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
20488 0 : || !insn_condition_1380 (operands, insn))
20489 0 : return -1;
20490 : return 5022; /* avx512vl_fixuns_notruncv4sfv4si_mask_round */
20491 :
20492 0 : case E_V4DFmode:
20493 0 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
20494 0 : || !insn_condition_1380 (operands, insn))
20495 0 : return -1;
20496 : return 5203; /* fixuns_notruncv4dfv4si2_mask_round */
20497 :
20498 : default:
20499 : return -1;
20500 : }
20501 :
20502 0 : case E_V2DImode:
20503 0 : if (pattern1339 (x2,
20504 : E_QImode,
20505 : E_V2DImode,
20506 : E_V8HFmode) != 0
20507 0 : || !insn_condition_1383 (operands, insn))
20508 0 : return -1;
20509 : return 4625; /* avx512fp16_vcvtph2uqq_v2di_mask_round */
20510 :
20511 : default:
20512 : return -1;
20513 : }
20514 :
20515 2846 : case 43:
20516 2846 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
20517 : return -1;
20518 2846 : switch (GET_MODE (operands[0]))
20519 : {
20520 441 : case E_V32HImode:
20521 441 : if (pattern1339 (x2,
20522 : E_SImode,
20523 : E_V32HImode,
20524 : E_V32HFmode) != 0
20525 441 : || !insn_condition_89 (operands, insn))
20526 29 : return -1;
20527 : return 4565; /* avx512fp16_vcvtph2w_v32hi_mask_round */
20528 :
20529 818 : case E_V16SImode:
20530 818 : switch (pattern1341 (x2))
20531 : {
20532 412 : case 0:
20533 412 : if (!insn_condition_89 (operands, insn))
20534 0 : return -1;
20535 : return 4573; /* avx512fp16_vcvtph2dq_v16si_mask_round */
20536 :
20537 376 : case 1:
20538 376 : if (!insn_condition_27 (operands, insn))
20539 0 : return -1;
20540 : return 5010; /* avx512f_fix_notruncv16sfv16si_mask_round */
20541 :
20542 : default:
20543 : return -1;
20544 : }
20545 :
20546 1210 : case E_V8DImode:
20547 1210 : if (pattern1349 (x2,
20548 : E_V8DImode,
20549 : E_QImode) != 0)
20550 : return -1;
20551 1160 : switch (GET_MODE (operands[1]))
20552 : {
20553 423 : case E_V8HFmode:
20554 423 : if (!register_operand (operands[1], E_V8HFmode)
20555 423 : || !insn_condition_89 (operands, insn))
20556 8 : return -1;
20557 : return 4581; /* avx512fp16_vcvtph2qq_v8di_mask_round */
20558 :
20559 368 : case E_V8SFmode:
20560 368 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
20561 368 : || !insn_condition_1381 (operands, insn))
20562 0 : return -1;
20563 : return 5026; /* avx512dq_cvtps2qqv8di_mask_round */
20564 :
20565 369 : case E_V8DFmode:
20566 369 : if (!register_operand (operands[1], E_V8DFmode)
20567 369 : || !insn_condition_1382 (operands, insn))
20568 0 : return -1;
20569 : return 5271; /* fix_notruncv8dfv8di2_mask_round */
20570 :
20571 : default:
20572 : return -1;
20573 : }
20574 :
20575 0 : case E_V16HImode:
20576 0 : if (pattern1339 (x2,
20577 : E_HImode,
20578 : E_V16HImode,
20579 : E_V16HFmode) != 0
20580 0 : || !insn_condition_1383 (operands, insn))
20581 0 : return -1;
20582 : return 4589; /* avx512fp16_vcvtph2w_v16hi_mask_round */
20583 :
20584 377 : case E_V8SImode:
20585 377 : switch (pattern1340 (x2))
20586 : {
20587 0 : case 0:
20588 0 : if (!insn_condition_1383 (operands, insn))
20589 0 : return -1;
20590 : return 4597; /* avx512fp16_vcvtph2dq_v8si_mask_round */
20591 :
20592 376 : case 1:
20593 376 : if (!insn_condition_27 (operands, insn))
20594 0 : return -1;
20595 : return 5189; /* avx512f_cvtpd2dq512_mask_round */
20596 :
20597 : default:
20598 : return -1;
20599 : }
20600 :
20601 0 : case E_V4DImode:
20602 0 : if (pattern1339 (x2,
20603 : E_QImode,
20604 : E_V4DImode,
20605 : E_V8HFmode) != 0
20606 0 : || !insn_condition_1383 (operands, insn))
20607 0 : return -1;
20608 : return 4605; /* avx512fp16_vcvtph2qq_v4di_mask_round */
20609 :
20610 0 : case E_V8HImode:
20611 0 : if (pattern1339 (x2,
20612 : E_QImode,
20613 : E_V8HImode,
20614 : E_V8HFmode) != 0
20615 0 : || !insn_condition_1383 (operands, insn))
20616 0 : return -1;
20617 : return 4613; /* avx512fp16_vcvtph2w_v8hi_mask_round */
20618 :
20619 0 : case E_V4SImode:
20620 0 : if (pattern1339 (x2,
20621 : E_QImode,
20622 : E_V4SImode,
20623 : E_V8HFmode) != 0
20624 0 : || !insn_condition_1383 (operands, insn))
20625 0 : return -1;
20626 : return 4621; /* avx512fp16_vcvtph2dq_v4si_mask_round */
20627 :
20628 0 : case E_V2DImode:
20629 0 : if (pattern1339 (x2,
20630 : E_QImode,
20631 : E_V2DImode,
20632 : E_V8HFmode) != 0
20633 0 : || !insn_condition_1383 (operands, insn))
20634 0 : return -1;
20635 : return 4629; /* avx512fp16_vcvtph2qq_v2di_mask_round */
20636 :
20637 : default:
20638 : return -1;
20639 : }
20640 :
20641 2846 : case 171:
20642 2846 : switch (pattern1342 (x2))
20643 : {
20644 0 : case 0:
20645 0 : if (!insn_condition_1383 (operands, insn))
20646 0 : return -1;
20647 : return 4725; /* unspec_avx512fp16_fix_truncv8hi2_mask_round */
20648 :
20649 0 : case 1:
20650 0 : if (!insn_condition_1383 (operands, insn))
20651 0 : return -1;
20652 : return 4733; /* unspec_avx512fp16_fix_truncv16hi2_mask_round */
20653 :
20654 412 : case 2:
20655 412 : if (!insn_condition_89 (operands, insn))
20656 0 : return -1;
20657 : return 4741; /* unspec_avx512fp16_fix_truncv32hi2_mask_round */
20658 :
20659 0 : case 3:
20660 0 : if (!insn_condition_1383 (operands, insn))
20661 0 : return -1;
20662 : return 4749; /* unspec_avx512fp16_fix_truncv8si2_mask_round */
20663 :
20664 376 : case 4:
20665 376 : if (!insn_condition_27 (operands, insn))
20666 0 : return -1;
20667 : return 5210; /* unspec_fix_truncv8dfv8si2_mask_round */
20668 :
20669 412 : case 5:
20670 412 : if (!insn_condition_89 (operands, insn))
20671 0 : return -1;
20672 : return 4757; /* unspec_avx512fp16_fix_truncv16si2_mask_round */
20673 :
20674 376 : case 6:
20675 376 : if (!insn_condition_27 (operands, insn))
20676 0 : return -1;
20677 : return 5042; /* unspec_fix_truncv16sfv16si2_mask_round */
20678 :
20679 415 : case 7:
20680 415 : if (!insn_condition_89 (operands, insn))
20681 0 : return -1;
20682 : return 4765; /* unspec_avx512fp16_fix_truncv8di2_mask_round */
20683 :
20684 369 : case 8:
20685 369 : if (!insn_condition_1384 (operands, insn))
20686 0 : return -1;
20687 : return 5239; /* unspec_fix_truncv8dfv8di2_mask_round */
20688 :
20689 368 : case 9:
20690 368 : if (!insn_condition_1385 (operands, insn))
20691 0 : return -1;
20692 : return 5287; /* unspec_fix_truncv8sfv8di2_mask_round */
20693 :
20694 : default:
20695 : return -1;
20696 : }
20697 :
20698 2846 : case 172:
20699 2846 : switch (pattern1342 (x2))
20700 : {
20701 0 : case 0:
20702 0 : if (!insn_condition_1383 (operands, insn))
20703 0 : return -1;
20704 : return 4729; /* unspec_avx512fp16_fixuns_truncv8hi2_mask_round */
20705 :
20706 0 : case 1:
20707 0 : if (!insn_condition_1383 (operands, insn))
20708 0 : return -1;
20709 : return 4737; /* unspec_avx512fp16_fixuns_truncv16hi2_mask_round */
20710 :
20711 412 : case 2:
20712 412 : if (!insn_condition_89 (operands, insn))
20713 0 : return -1;
20714 : return 4745; /* unspec_avx512fp16_fixuns_truncv32hi2_mask_round */
20715 :
20716 0 : case 3:
20717 0 : if (!insn_condition_1383 (operands, insn))
20718 0 : return -1;
20719 : return 4753; /* unspec_avx512fp16_fixuns_truncv8si2_mask_round */
20720 :
20721 376 : case 4:
20722 376 : if (!insn_condition_27 (operands, insn))
20723 0 : return -1;
20724 : return 5214; /* unspec_fixuns_truncv8dfv8si2_mask_round */
20725 :
20726 412 : case 5:
20727 412 : if (!insn_condition_89 (operands, insn))
20728 0 : return -1;
20729 : return 4761; /* unspec_avx512fp16_fixuns_truncv16si2_mask_round */
20730 :
20731 376 : case 6:
20732 376 : if (!insn_condition_27 (operands, insn))
20733 0 : return -1;
20734 : return 5046; /* unspec_fixuns_truncv16sfv16si2_mask_round */
20735 :
20736 415 : case 7:
20737 415 : if (!insn_condition_89 (operands, insn))
20738 0 : return -1;
20739 : return 4769; /* unspec_avx512fp16_fixuns_truncv8di2_mask_round */
20740 :
20741 369 : case 8:
20742 369 : if (!insn_condition_1384 (operands, insn))
20743 0 : return -1;
20744 : return 5243; /* unspec_fixuns_truncv8dfv8di2_mask_round */
20745 :
20746 368 : case 9:
20747 368 : if (!insn_condition_1385 (operands, insn))
20748 0 : return -1;
20749 : return 5291; /* unspec_fixuns_truncv8sfv8di2_mask_round */
20750 :
20751 : default:
20752 : return -1;
20753 : }
20754 :
20755 1188 : case 164:
20756 1188 : if (!const48_operand (operands[4], E_SImode))
20757 : return -1;
20758 1188 : switch (GET_MODE (operands[0]))
20759 : {
20760 460 : case E_V32HFmode:
20761 460 : if (pattern1518 (x2,
20762 : E_V32HFmode,
20763 : E_SImode) != 0
20764 460 : || !insn_condition_1378 (operands, insn))
20765 38 : return -1;
20766 : return 5703; /* avx512bw_getexpv32hf_mask_round */
20767 :
20768 0 : case E_V16HFmode:
20769 0 : if (pattern1518 (x2,
20770 : E_V16HFmode,
20771 : E_HImode) != 0
20772 0 : || !insn_condition_1379 (operands, insn))
20773 0 : return -1;
20774 : return 5707; /* avx512vl_getexpv16hf_mask_round */
20775 :
20776 0 : case E_V8HFmode:
20777 0 : if (pattern1518 (x2,
20778 : E_V8HFmode,
20779 : E_QImode) != 0
20780 0 : || !insn_condition_1379 (operands, insn))
20781 0 : return -1;
20782 : return 5711; /* avx512fp16_getexpv8hf_mask_round */
20783 :
20784 373 : case E_V16SFmode:
20785 373 : if (pattern1518 (x2,
20786 : E_V16SFmode,
20787 : E_HImode) != 0
20788 373 : || !insn_condition_27 (operands, insn))
20789 9 : return -1;
20790 : return 5715; /* avx512f_getexpv16sf_mask_round */
20791 :
20792 0 : case E_V8SFmode:
20793 0 : if (pattern1518 (x2,
20794 : E_V8SFmode,
20795 : E_QImode) != 0
20796 0 : || !insn_condition_1380 (operands, insn))
20797 0 : return -1;
20798 : return 5719; /* avx512vl_getexpv8sf_mask_round */
20799 :
20800 0 : case E_V4SFmode:
20801 0 : if (pattern1518 (x2,
20802 : E_V4SFmode,
20803 : E_QImode) != 0
20804 0 : || !insn_condition_1380 (operands, insn))
20805 0 : return -1;
20806 : return 5723; /* avx512vl_getexpv4sf_mask_round */
20807 :
20808 355 : case E_V8DFmode:
20809 355 : if (pattern1518 (x2,
20810 : E_V8DFmode,
20811 : E_QImode) != 0
20812 355 : || !insn_condition_27 (operands, insn))
20813 9 : return -1;
20814 : return 5727; /* avx512f_getexpv8df_mask_round */
20815 :
20816 0 : case E_V4DFmode:
20817 0 : if (pattern1518 (x2,
20818 : E_V4DFmode,
20819 : E_QImode) != 0
20820 0 : || !insn_condition_1380 (operands, insn))
20821 0 : return -1;
20822 : return 5731; /* avx512vl_getexpv4df_mask_round */
20823 :
20824 0 : case E_V2DFmode:
20825 0 : if (pattern1518 (x2,
20826 : E_V2DFmode,
20827 : E_QImode) != 0
20828 0 : || !insn_condition_1380 (operands, insn))
20829 0 : return -1;
20830 : return 5735; /* avx512vl_getexpv2df_mask_round */
20831 :
20832 : default:
20833 : return -1;
20834 : }
20835 :
20836 426 : case 148:
20837 426 : if (pattern1343 (x2,
20838 : E_HImode,
20839 : E_V16SFmode,
20840 : E_V16HImode) != 0
20841 426 : || !insn_condition_27 (operands, insn))
20842 15 : return -1;
20843 : return 8351; /* avx512f_vcvtph2ps512_mask_round */
20844 :
20845 263 : case 264:
20846 263 : if (pattern1344 (x2,
20847 : E_SImode,
20848 : E_V32HImode,
20849 : E_V32HFmode) != 0
20850 263 : || !insn_condition_1386 (operands, insn))
20851 30 : return -1;
20852 : return 9452; /* avx10_2_cvtph2ibsv32hf_mask_round */
20853 :
20854 263 : case 265:
20855 263 : if (pattern1344 (x2,
20856 : E_SImode,
20857 : E_V32HImode,
20858 : E_V32HFmode) != 0
20859 263 : || !insn_condition_1386 (operands, insn))
20860 30 : return -1;
20861 : return 9456; /* avx10_2_cvtph2iubsv32hf_mask_round */
20862 :
20863 263 : case 270:
20864 263 : if (pattern1343 (x2,
20865 : E_SImode,
20866 : E_V32HImode,
20867 : E_V32HFmode) != 0
20868 263 : || !insn_condition_1387 (operands, insn))
20869 30 : return -1;
20870 : return 9468; /* avx10_2_cvttph2ibsv32hf_mask_round */
20871 :
20872 263 : case 271:
20873 263 : if (pattern1343 (x2,
20874 : E_SImode,
20875 : E_V32HImode,
20876 : E_V32HFmode) != 0
20877 263 : || !insn_condition_1387 (operands, insn))
20878 30 : return -1;
20879 : return 9472; /* avx10_2_cvttph2iubsv32hf_mask_round */
20880 :
20881 262 : case 266:
20882 262 : if (pattern1344 (x2,
20883 : E_HImode,
20884 : E_V16SImode,
20885 : E_V16SFmode) != 0
20886 262 : || !insn_condition_1388 (operands, insn))
20887 30 : return -1;
20888 : return 9484; /* avx10_2_cvtps2ibsv16sf_mask_round */
20889 :
20890 262 : case 267:
20891 262 : if (pattern1344 (x2,
20892 : E_HImode,
20893 : E_V16SImode,
20894 : E_V16SFmode) != 0
20895 262 : || !insn_condition_1388 (operands, insn))
20896 30 : return -1;
20897 : return 9488; /* avx10_2_cvtps2iubsv16sf_mask_round */
20898 :
20899 262 : case 272:
20900 262 : if (pattern1343 (x2,
20901 : E_HImode,
20902 : E_V16SImode,
20903 : E_V16SFmode) != 0
20904 262 : || !insn_condition_1389 (operands, insn))
20905 30 : return -1;
20906 : return 9500; /* avx10_2_cvttps2ibsv16sf_mask_round */
20907 :
20908 262 : case 273:
20909 262 : if (pattern1343 (x2,
20910 : E_HImode,
20911 : E_V16SImode,
20912 : E_V16SFmode) != 0
20913 262 : || !insn_condition_1389 (operands, insn))
20914 30 : return -1;
20915 : return 9504; /* avx10_2_cvttps2iubsv16sf_mask_round */
20916 :
20917 1064 : case 274:
20918 1064 : switch (pattern1345 (x2))
20919 : {
20920 235 : case 0:
20921 235 : if (!insn_condition_1390 (operands, insn))
20922 0 : return -1;
20923 : return 9516; /* avx10_2_vcvttps2dqsv16sf_mask_round */
20924 :
20925 236 : case 1:
20926 236 : if (!insn_condition_1391 (operands, insn))
20927 0 : return -1;
20928 : return 9532; /* avx10_2_vcvttpd2dqsv8df_mask_round */
20929 :
20930 220 : case 2:
20931 220 : if (!insn_condition_1391 (operands, insn))
20932 0 : return -1;
20933 : return 9548; /* avx10_2_vcvttpd2qqsv8df_mask_round */
20934 :
20935 220 : case 3:
20936 220 : if (!insn_condition_1392 (operands, insn))
20937 0 : return -1;
20938 : return 9564; /* avx10_2_vcvttps2qqsv8di_mask_round */
20939 :
20940 : default:
20941 : return -1;
20942 : }
20943 :
20944 1066 : case 275:
20945 1066 : switch (pattern1345 (x2))
20946 : {
20947 235 : case 0:
20948 235 : if (!insn_condition_1390 (operands, insn))
20949 0 : return -1;
20950 : return 9520; /* avx10_2_vcvttps2udqsv16sf_mask_round */
20951 :
20952 238 : case 1:
20953 238 : if (!insn_condition_1391 (operands, insn))
20954 0 : return -1;
20955 : return 9536; /* avx10_2_vcvttpd2udqsv8df_mask_round */
20956 :
20957 220 : case 2:
20958 220 : if (!insn_condition_1391 (operands, insn))
20959 0 : return -1;
20960 : return 9552; /* avx10_2_vcvttpd2uqqsv8df_mask_round */
20961 :
20962 220 : case 3:
20963 220 : if (!insn_condition_1392 (operands, insn))
20964 0 : return -1;
20965 : return 9568; /* avx10_2_vcvttps2uqqsv8di_mask_round */
20966 :
20967 : default:
20968 : return -1;
20969 : }
20970 :
20971 : default:
20972 : return -1;
20973 : }
20974 : }
20975 :
20976 : int
20977 83484 : recog_250 (rtx x1 ATTRIBUTE_UNUSED,
20978 : rtx_insn *insn ATTRIBUTE_UNUSED,
20979 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20980 : {
20981 83484 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20982 83484 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
20983 83484 : rtx x10, x11, x12, x13, x14;
20984 83484 : int res ATTRIBUTE_UNUSED;
20985 83484 : x2 = XEXP (x1, 1);
20986 83484 : x3 = XVECEXP (x2, 0, 0);
20987 83484 : x4 = XEXP (x3, 0);
20988 83484 : switch (GET_CODE (x4))
20989 : {
20990 2255 : case PLUS:
20991 2255 : switch (pattern688 (x2))
20992 : {
20993 260 : case 0:
20994 260 : if (!insn_condition_1430 (operands, insn))
20995 0 : return -1;
20996 : return 2861; /* *addv32hf3_mask_round */
20997 :
20998 0 : case 1:
20999 0 : if (!insn_condition_1431 (operands, insn))
21000 0 : return -1;
21001 : return 2869; /* *addv16hf3_mask_round */
21002 :
21003 0 : case 2:
21004 0 : if (!insn_condition_1432 (operands, insn))
21005 0 : return -1;
21006 : return 2877; /* *addv8hf3_mask_round */
21007 :
21008 358 : case 3:
21009 358 : if (!insn_condition_1433 (operands, insn))
21010 0 : return -1;
21011 : return 2885; /* *addv16sf3_mask_round */
21012 :
21013 0 : case 4:
21014 0 : if (!insn_condition_1434 (operands, insn))
21015 0 : return -1;
21016 : return 2893; /* *addv8sf3_mask_round */
21017 :
21018 0 : case 5:
21019 0 : if (!insn_condition_1435 (operands, insn))
21020 0 : return -1;
21021 : return 2901; /* *addv4sf3_mask_round */
21022 :
21023 352 : case 6:
21024 352 : if (!insn_condition_1436 (operands, insn))
21025 0 : return -1;
21026 : return 2909; /* *addv8df3_mask_round */
21027 :
21028 0 : case 7:
21029 0 : if (!insn_condition_1437 (operands, insn))
21030 0 : return -1;
21031 : return 2917; /* *addv4df3_mask_round */
21032 :
21033 0 : case 8:
21034 0 : if (!insn_condition_1438 (operands, insn))
21035 0 : return -1;
21036 : return 2925; /* *addv2df3_mask_round */
21037 :
21038 59 : case 9:
21039 59 : if (!insn_condition_1083 (operands, insn))
21040 0 : return -1;
21041 : return 2937; /* avx512fp16_vmaddv8hf3_round */
21042 :
21043 80 : case 10:
21044 80 : if (!insn_condition_908 (operands, insn))
21045 0 : return -1;
21046 : return 2945; /* sse_vmaddv4sf3_round */
21047 :
21048 1048 : case 11:
21049 1048 : if (!insn_condition_1084 (operands, insn))
21050 0 : return -1;
21051 : return 2953; /* sse2_vmaddv2df3_round */
21052 :
21053 : default:
21054 : return -1;
21055 : }
21056 :
21057 1281 : case MINUS:
21058 1281 : switch (pattern688 (x2))
21059 : {
21060 261 : case 0:
21061 261 : if (!insn_condition_1439 (operands, insn))
21062 0 : return -1;
21063 : return 2865; /* *subv32hf3_mask_round */
21064 :
21065 0 : case 1:
21066 0 : if (!insn_condition_1440 (operands, insn))
21067 0 : return -1;
21068 : return 2873; /* *subv16hf3_mask_round */
21069 :
21070 0 : case 2:
21071 0 : if (!insn_condition_1441 (operands, insn))
21072 0 : return -1;
21073 : return 2881; /* *subv8hf3_mask_round */
21074 :
21075 352 : case 3:
21076 352 : if (!insn_condition_1442 (operands, insn))
21077 0 : return -1;
21078 : return 2889; /* *subv16sf3_mask_round */
21079 :
21080 0 : case 4:
21081 0 : if (!insn_condition_1443 (operands, insn))
21082 0 : return -1;
21083 : return 2897; /* *subv8sf3_mask_round */
21084 :
21085 0 : case 5:
21086 0 : if (!insn_condition_1444 (operands, insn))
21087 0 : return -1;
21088 : return 2905; /* *subv4sf3_mask_round */
21089 :
21090 352 : case 6:
21091 352 : if (!insn_condition_1445 (operands, insn))
21092 0 : return -1;
21093 : return 2913; /* *subv8df3_mask_round */
21094 :
21095 0 : case 7:
21096 0 : if (!insn_condition_1446 (operands, insn))
21097 0 : return -1;
21098 : return 2921; /* *subv4df3_mask_round */
21099 :
21100 0 : case 8:
21101 0 : if (!insn_condition_1447 (operands, insn))
21102 0 : return -1;
21103 : return 2929; /* *subv2df3_mask_round */
21104 :
21105 59 : case 9:
21106 59 : if (!insn_condition_1083 (operands, insn))
21107 0 : return -1;
21108 : return 2941; /* avx512fp16_vmsubv8hf3_round */
21109 :
21110 80 : case 10:
21111 80 : if (!insn_condition_908 (operands, insn))
21112 0 : return -1;
21113 : return 2949; /* sse_vmsubv4sf3_round */
21114 :
21115 80 : case 11:
21116 80 : if (!insn_condition_1084 (operands, insn))
21117 0 : return -1;
21118 : return 2957; /* sse2_vmsubv2df3_round */
21119 :
21120 : default:
21121 : return -1;
21122 : }
21123 :
21124 21807 : case VEC_MERGE:
21125 21807 : return recog_245 (x1, insn, pnum_clobbers);
21126 :
21127 1299 : case MULT:
21128 1299 : switch (pattern688 (x2))
21129 : {
21130 260 : case 0:
21131 260 : if (!insn_condition_1448 (operands, insn))
21132 0 : return -1;
21133 : return 2963; /* *mulv32hf3_mask_round */
21134 :
21135 0 : case 1:
21136 0 : if (!insn_condition_1449 (operands, insn))
21137 0 : return -1;
21138 : return 2967; /* *mulv16hf3_mask_round */
21139 :
21140 0 : case 2:
21141 0 : if (!insn_condition_1450 (operands, insn))
21142 0 : return -1;
21143 : return 2971; /* *mulv8hf3_mask_round */
21144 :
21145 352 : case 3:
21146 352 : if (!insn_condition_1451 (operands, insn))
21147 0 : return -1;
21148 : return 2975; /* *mulv16sf3_mask_round */
21149 :
21150 0 : case 4:
21151 0 : if (!insn_condition_1452 (operands, insn))
21152 0 : return -1;
21153 : return 2979; /* *mulv8sf3_mask_round */
21154 :
21155 0 : case 5:
21156 0 : if (!insn_condition_1453 (operands, insn))
21157 0 : return -1;
21158 : return 2983; /* *mulv4sf3_mask_round */
21159 :
21160 352 : case 6:
21161 352 : if (!insn_condition_1454 (operands, insn))
21162 0 : return -1;
21163 : return 2987; /* *mulv8df3_mask_round */
21164 :
21165 0 : case 7:
21166 0 : if (!insn_condition_1455 (operands, insn))
21167 0 : return -1;
21168 : return 2991; /* *mulv4df3_mask_round */
21169 :
21170 0 : case 8:
21171 0 : if (!insn_condition_1456 (operands, insn))
21172 0 : return -1;
21173 : return 2995; /* *mulv2df3_mask_round */
21174 :
21175 59 : case 9:
21176 59 : if (!insn_condition_1083 (operands, insn))
21177 0 : return -1;
21178 : return 3003; /* avx512fp16_vmmulv8hf3_round */
21179 :
21180 81 : case 10:
21181 81 : if (!insn_condition_908 (operands, insn))
21182 0 : return -1;
21183 : return 3011; /* sse_vmmulv4sf3_round */
21184 :
21185 81 : case 11:
21186 81 : if (!insn_condition_1084 (operands, insn))
21187 0 : return -1;
21188 : return 3019; /* sse2_vmmulv2df3_round */
21189 :
21190 : default:
21191 : return -1;
21192 : }
21193 :
21194 1299 : case DIV:
21195 1299 : x5 = XEXP (x4, 0);
21196 1299 : operands[1] = x5;
21197 1299 : x6 = XEXP (x4, 1);
21198 1299 : operands[2] = x6;
21199 1299 : x7 = XVECEXP (x2, 0, 1);
21200 1299 : if (!const_4_or_8_to_11_operand (x7, E_SImode))
21201 : return -1;
21202 1299 : x8 = XEXP (x3, 2);
21203 1299 : switch (GET_CODE (x8))
21204 : {
21205 284 : case CONST_INT:
21206 284 : switch (pattern687 (x2))
21207 : {
21208 59 : case 0:
21209 59 : if (!insn_condition_1083 (operands, insn))
21210 0 : return -1;
21211 : return 3007; /* avx512fp16_vmdivv8hf3_round */
21212 :
21213 81 : case 1:
21214 81 : if (!insn_condition_908 (operands, insn))
21215 0 : return -1;
21216 : return 3015; /* sse_vmdivv4sf3_round */
21217 :
21218 81 : case 2:
21219 81 : if (!insn_condition_1084 (operands, insn))
21220 0 : return -1;
21221 : return 3023; /* sse2_vmdivv2df3_round */
21222 :
21223 : default:
21224 : return -1;
21225 : }
21226 :
21227 1005 : case REG:
21228 1005 : case SUBREG:
21229 1005 : switch (pattern689 (x2))
21230 : {
21231 261 : case 0:
21232 261 : if (!insn_condition_1457 (operands, insn))
21233 0 : return -1;
21234 : return 3029; /* avx512fp16_divv32hf3_mask_round */
21235 :
21236 352 : case 1:
21237 352 : if (!insn_condition_1458 (operands, insn))
21238 0 : return -1;
21239 : return 3037; /* avx512f_divv16sf3_mask_round */
21240 :
21241 352 : case 2:
21242 352 : if (!insn_condition_1459 (operands, insn))
21243 0 : return -1;
21244 : return 3045; /* avx512f_divv8df3_mask_round */
21245 :
21246 : default:
21247 : return -1;
21248 : }
21249 :
21250 : default:
21251 : return -1;
21252 : }
21253 :
21254 1351 : case SQRT:
21255 1351 : x5 = XEXP (x4, 0);
21256 1351 : operands[1] = x5;
21257 1351 : x9 = XEXP (x3, 1);
21258 1351 : operands[2] = x9;
21259 1351 : x7 = XVECEXP (x2, 0, 1);
21260 1351 : if (!const_4_or_8_to_11_operand (x7, E_SImode))
21261 : return -1;
21262 1351 : x8 = XEXP (x3, 2);
21263 1351 : switch (GET_CODE (x8))
21264 : {
21265 1136 : case REG:
21266 1136 : case SUBREG:
21267 1136 : operands[3] = x8;
21268 1136 : operands[4] = x7;
21269 1136 : switch (GET_MODE (operands[0]))
21270 : {
21271 436 : case E_V32HFmode:
21272 436 : if (pattern1446 (x2,
21273 : E_SImode,
21274 : E_V32HFmode) != 0
21275 436 : || !insn_condition_1457 (operands, insn))
21276 21 : return -1;
21277 : return 3082; /* avx512fp16_sqrtv32hf2_mask_round */
21278 :
21279 350 : case E_V16SFmode:
21280 350 : if (pattern1446 (x2,
21281 : E_HImode,
21282 : E_V16SFmode) != 0
21283 350 : || !insn_condition_1458 (operands, insn))
21284 4 : return -1;
21285 : return 3090; /* avx512f_sqrtv16sf2_mask_round */
21286 :
21287 350 : case E_V8DFmode:
21288 350 : if (pattern1446 (x2,
21289 : E_QImode,
21290 : E_V8DFmode) != 0
21291 350 : || !insn_condition_1459 (operands, insn))
21292 4 : return -1;
21293 : return 3098; /* avx512f_sqrtv8df2_mask_round */
21294 :
21295 : default:
21296 : return -1;
21297 : }
21298 :
21299 205 : case CONST_INT:
21300 205 : if (XWINT (x8, 0) != 1L)
21301 : return -1;
21302 195 : operands[3] = x7;
21303 195 : switch (GET_MODE (operands[0]))
21304 : {
21305 107 : case E_V8HFmode:
21306 107 : if (pattern1447 (x2,
21307 : E_V8HFmode) != 0
21308 107 : || !insn_condition_1083 (operands, insn))
21309 22 : return -1;
21310 : return 3104; /* avx512fp16_vmsqrtv8hf2_round */
21311 :
21312 44 : case E_V4SFmode:
21313 44 : if (pattern1447 (x2,
21314 : E_V4SFmode) != 0
21315 44 : || !insn_condition_908 (operands, insn))
21316 8 : return -1;
21317 : return 3108; /* sse_vmsqrtv4sf2_round */
21318 :
21319 44 : case E_V2DFmode:
21320 44 : if (pattern1447 (x2,
21321 : E_V2DFmode) != 0
21322 44 : || !insn_condition_1084 (operands, insn))
21323 8 : return -1;
21324 : return 3112; /* sse2_vmsqrtv2df2_round */
21325 :
21326 : default:
21327 : return -1;
21328 : }
21329 :
21330 : default:
21331 : return -1;
21332 : }
21333 :
21334 1874 : case VEC_DUPLICATE:
21335 1874 : return recog_248 (x1, insn, pnum_clobbers);
21336 :
21337 0 : case SMAX:
21338 0 : switch (pattern690 (x2))
21339 : {
21340 0 : case 0:
21341 0 : if (!insn_condition_1460 (operands, insn))
21342 0 : return -1;
21343 : return 3160; /* *smaxv32hf3_mask_round */
21344 :
21345 0 : case 1:
21346 0 : if (!insn_condition_1461 (operands, insn))
21347 0 : return -1;
21348 : return 3176; /* *smaxv16sf3_mask_round */
21349 :
21350 0 : case 2:
21351 0 : if (!insn_condition_1462 (operands, insn))
21352 0 : return -1;
21353 : return 3192; /* *smaxv8df3_mask_round */
21354 :
21355 0 : case 3:
21356 0 : if (!insn_condition_1083 (operands, insn))
21357 0 : return -1;
21358 : return 3282; /* *avx512fp16_vmsmaxv8hf3_round */
21359 :
21360 0 : case 4:
21361 0 : if (!insn_condition_908 (operands, insn))
21362 0 : return -1;
21363 : return 3290; /* *sse_vmsmaxv4sf3_round */
21364 :
21365 0 : case 5:
21366 0 : if (!insn_condition_1084 (operands, insn))
21367 0 : return -1;
21368 : return 3298; /* *sse2_vmsmaxv2df3_round */
21369 :
21370 : default:
21371 : return -1;
21372 : }
21373 :
21374 0 : case SMIN:
21375 0 : switch (pattern690 (x2))
21376 : {
21377 0 : case 0:
21378 0 : if (!insn_condition_1460 (operands, insn))
21379 0 : return -1;
21380 : return 3164; /* *sminv32hf3_mask_round */
21381 :
21382 0 : case 1:
21383 0 : if (!insn_condition_1461 (operands, insn))
21384 0 : return -1;
21385 : return 3180; /* *sminv16sf3_mask_round */
21386 :
21387 0 : case 2:
21388 0 : if (!insn_condition_1462 (operands, insn))
21389 0 : return -1;
21390 : return 3196; /* *sminv8df3_mask_round */
21391 :
21392 0 : case 3:
21393 0 : if (!insn_condition_1083 (operands, insn))
21394 0 : return -1;
21395 : return 3286; /* *avx512fp16_vmsminv8hf3_round */
21396 :
21397 0 : case 4:
21398 0 : if (!insn_condition_908 (operands, insn))
21399 0 : return -1;
21400 : return 3294; /* *sse_vmsminv4sf3_round */
21401 :
21402 0 : case 5:
21403 0 : if (!insn_condition_1084 (operands, insn))
21404 0 : return -1;
21405 : return 3302; /* *sse2_vmsminv2df3_round */
21406 :
21407 : default:
21408 : return -1;
21409 : }
21410 :
21411 35277 : case UNSPEC:
21412 35277 : return recog_247 (x1, insn, pnum_clobbers);
21413 :
21414 8623 : case FMA:
21415 8623 : return recog_246 (x1, insn, pnum_clobbers);
21416 :
21417 2596 : case FLOAT:
21418 2596 : x5 = XEXP (x4, 0);
21419 2596 : operands[1] = x5;
21420 2596 : x9 = XEXP (x3, 1);
21421 2596 : operands[2] = x9;
21422 2596 : x8 = XEXP (x3, 2);
21423 2596 : operands[3] = x8;
21424 2596 : x7 = XVECEXP (x2, 0, 1);
21425 2596 : operands[4] = x7;
21426 2596 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
21427 : return -1;
21428 2596 : switch (GET_MODE (operands[0]))
21429 : {
21430 450 : case E_V8HFmode:
21431 450 : switch (pattern1346 (x2))
21432 : {
21433 0 : case 0:
21434 0 : if (!insn_condition_1383 (operands, insn))
21435 0 : return -1;
21436 : return 4633; /* avx512fp16_vcvtw2ph_v8hi_mask_round */
21437 :
21438 0 : case 1:
21439 0 : if (!insn_condition_1383 (operands, insn))
21440 0 : return -1;
21441 : return 4657; /* avx512fp16_vcvtdq2ph_v8si_mask_round */
21442 :
21443 415 : case 2:
21444 415 : if (!insn_condition_89 (operands, insn))
21445 0 : return -1;
21446 : return 4673; /* avx512fp16_vcvtqq2ph_v8di_mask_round */
21447 :
21448 : default:
21449 : return -1;
21450 : }
21451 :
21452 486 : case E_V16HFmode:
21453 486 : switch (pattern1347 (x2))
21454 : {
21455 0 : case 0:
21456 0 : if (!insn_condition_1383 (operands, insn))
21457 0 : return -1;
21458 : return 4641; /* avx512fp16_vcvtw2ph_v16hi_mask_round */
21459 :
21460 454 : case 1:
21461 454 : if (!insn_condition_89 (operands, insn))
21462 0 : return -1;
21463 : return 4665; /* avx512fp16_vcvtdq2ph_v16si_mask_round */
21464 :
21465 : default:
21466 : return -1;
21467 : }
21468 :
21469 486 : case E_V32HFmode:
21470 486 : if (pattern691 (x2,
21471 : E_SImode,
21472 : E_V32HFmode,
21473 : E_V32HImode) != 0
21474 486 : || !insn_condition_89 (operands, insn))
21475 32 : return -1;
21476 : return 4649; /* avx512fp16_vcvtw2ph_v32hi_mask_round */
21477 :
21478 420 : case E_V16SFmode:
21479 420 : if (pattern691 (x2,
21480 : E_HImode,
21481 : E_V16SFmode,
21482 : E_V16SImode) != 0
21483 420 : || !insn_condition_1463 (operands, insn))
21484 12 : return -1;
21485 : return 4986; /* floatv16siv16sf2_mask_round */
21486 :
21487 377 : case E_V8DFmode:
21488 377 : if (pattern1348 (x2,
21489 : E_V8DFmode,
21490 : E_V8DImode,
21491 : E_QImode) != 0
21492 377 : || !insn_condition_1186 (operands, insn))
21493 9 : return -1;
21494 : return 5137; /* floatv8div8df2_mask_round */
21495 :
21496 0 : case E_V4DFmode:
21497 0 : if (pattern1348 (x2,
21498 : E_V4DFmode,
21499 : E_V4DImode,
21500 : E_QImode) != 0
21501 0 : || !insn_condition_1464 (operands, insn))
21502 0 : return -1;
21503 : return 5145; /* floatv4div4df2_mask_round */
21504 :
21505 0 : case E_V2DFmode:
21506 0 : if (pattern1348 (x2,
21507 : E_V2DFmode,
21508 : E_V2DImode,
21509 : E_QImode) != 0
21510 0 : || !insn_condition_1464 (operands, insn))
21511 0 : return -1;
21512 : return 5153; /* floatv2div2df2_mask_round */
21513 :
21514 377 : case E_V8SFmode:
21515 377 : if (pattern1348 (x2,
21516 : E_V8SFmode,
21517 : E_V8DImode,
21518 : E_QImode) != 0
21519 377 : || !insn_condition_1381 (operands, insn))
21520 9 : return -1;
21521 : return 5161; /* floatv8div8sf2_mask_round */
21522 :
21523 : default:
21524 : return -1;
21525 : }
21526 :
21527 2596 : case UNSIGNED_FLOAT:
21528 2596 : x5 = XEXP (x4, 0);
21529 2596 : operands[1] = x5;
21530 2596 : x9 = XEXP (x3, 1);
21531 2596 : operands[2] = x9;
21532 2596 : x8 = XEXP (x3, 2);
21533 2596 : operands[3] = x8;
21534 2596 : x7 = XVECEXP (x2, 0, 1);
21535 2596 : operands[4] = x7;
21536 2596 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
21537 : return -1;
21538 2596 : switch (GET_MODE (operands[0]))
21539 : {
21540 450 : case E_V8HFmode:
21541 450 : switch (pattern1346 (x2))
21542 : {
21543 0 : case 0:
21544 0 : if (!insn_condition_1383 (operands, insn))
21545 0 : return -1;
21546 : return 4637; /* avx512fp16_vcvtuw2ph_v8hi_mask_round */
21547 :
21548 0 : case 1:
21549 0 : if (!insn_condition_1383 (operands, insn))
21550 0 : return -1;
21551 : return 4661; /* avx512fp16_vcvtudq2ph_v8si_mask_round */
21552 :
21553 415 : case 2:
21554 415 : if (!insn_condition_89 (operands, insn))
21555 0 : return -1;
21556 : return 4677; /* avx512fp16_vcvtuqq2ph_v8di_mask_round */
21557 :
21558 : default:
21559 : return -1;
21560 : }
21561 :
21562 486 : case E_V16HFmode:
21563 486 : switch (pattern1347 (x2))
21564 : {
21565 0 : case 0:
21566 0 : if (!insn_condition_1383 (operands, insn))
21567 0 : return -1;
21568 : return 4645; /* avx512fp16_vcvtuw2ph_v16hi_mask_round */
21569 :
21570 454 : case 1:
21571 454 : if (!insn_condition_89 (operands, insn))
21572 0 : return -1;
21573 : return 4669; /* avx512fp16_vcvtudq2ph_v16si_mask_round */
21574 :
21575 : default:
21576 : return -1;
21577 : }
21578 :
21579 486 : case E_V32HFmode:
21580 486 : if (pattern691 (x2,
21581 : E_SImode,
21582 : E_V32HFmode,
21583 : E_V32HImode) != 0
21584 486 : || !insn_condition_89 (operands, insn))
21585 32 : return -1;
21586 : return 4653; /* avx512fp16_vcvtuw2ph_v32hi_mask_round */
21587 :
21588 420 : case E_V16SFmode:
21589 420 : if (pattern1348 (x2,
21590 : E_V16SFmode,
21591 : E_V16SImode,
21592 : E_HImode) != 0
21593 420 : || !insn_condition_27 (operands, insn))
21594 12 : return -1;
21595 : return 4994; /* floatunsv16siv16sf2_mask_round */
21596 :
21597 377 : case E_V8SFmode:
21598 377 : if (pattern1349 (x2,
21599 : E_V8SFmode,
21600 : E_QImode) != 0)
21601 : return -1;
21602 368 : switch (GET_MODE (operands[1]))
21603 : {
21604 0 : case E_V8SImode:
21605 0 : if (!nonimmediate_operand (operands[1], E_V8SImode)
21606 0 : || !insn_condition_1380 (operands, insn))
21607 0 : return -1;
21608 : return 4998; /* floatunsv8siv8sf2_mask_round */
21609 :
21610 368 : case E_V8DImode:
21611 368 : if (!nonimmediate_operand (operands[1], E_V8DImode)
21612 368 : || !insn_condition_1381 (operands, insn))
21613 0 : return -1;
21614 : return 5165; /* floatunsv8div8sf2_mask_round */
21615 :
21616 : default:
21617 : return -1;
21618 : }
21619 :
21620 0 : case E_V4SFmode:
21621 0 : if (pattern1348 (x2,
21622 : E_V4SFmode,
21623 : E_V4SImode,
21624 : E_QImode) != 0
21625 0 : || !insn_condition_1380 (operands, insn))
21626 0 : return -1;
21627 : return 5002; /* floatunsv4siv4sf2_mask_round */
21628 :
21629 377 : case E_V8DFmode:
21630 377 : if (pattern1348 (x2,
21631 : E_V8DFmode,
21632 : E_V8DImode,
21633 : E_QImode) != 0
21634 377 : || !insn_condition_1186 (operands, insn))
21635 9 : return -1;
21636 : return 5141; /* floatunsv8div8df2_mask_round */
21637 :
21638 0 : case E_V4DFmode:
21639 0 : if (pattern1348 (x2,
21640 : E_V4DFmode,
21641 : E_V4DImode,
21642 : E_QImode) != 0
21643 0 : || !insn_condition_1464 (operands, insn))
21644 0 : return -1;
21645 : return 5149; /* floatunsv4div4df2_mask_round */
21646 :
21647 0 : case E_V2DFmode:
21648 0 : if (pattern1348 (x2,
21649 : E_V2DFmode,
21650 : E_V2DImode,
21651 : E_QImode) != 0
21652 0 : || !insn_condition_1464 (operands, insn))
21653 0 : return -1;
21654 : return 5157; /* floatunsv2div2df2_mask_round */
21655 :
21656 : default:
21657 : return -1;
21658 : }
21659 :
21660 0 : case FIX:
21661 0 : switch (pattern692 (x2))
21662 : {
21663 0 : case 0:
21664 0 : if (!insn_condition_1383 (operands, insn))
21665 0 : return -1;
21666 : return 4773; /* avx512fp16_fix_truncv8hi2_mask_round */
21667 :
21668 0 : case 1:
21669 0 : if (!insn_condition_1383 (operands, insn))
21670 0 : return -1;
21671 : return 4781; /* avx512fp16_fix_truncv16hi2_mask_round */
21672 :
21673 0 : case 2:
21674 0 : if (!insn_condition_89 (operands, insn))
21675 0 : return -1;
21676 : return 4789; /* avx512fp16_fix_truncv32hi2_mask_round */
21677 :
21678 0 : case 3:
21679 0 : if (!insn_condition_1383 (operands, insn))
21680 0 : return -1;
21681 : return 4797; /* avx512fp16_fix_truncv8si2_mask_round */
21682 :
21683 0 : case 4:
21684 0 : if (!insn_condition_27 (operands, insn))
21685 0 : return -1;
21686 : return 5218; /* fix_truncv8dfv8si2_mask_round */
21687 :
21688 0 : case 5:
21689 0 : if (!insn_condition_89 (operands, insn))
21690 0 : return -1;
21691 : return 4805; /* avx512fp16_fix_truncv16si2_mask_round */
21692 :
21693 0 : case 6:
21694 0 : if (!insn_condition_27 (operands, insn))
21695 0 : return -1;
21696 : return 5050; /* fix_truncv16sfv16si2_mask_round */
21697 :
21698 0 : case 7:
21699 0 : if (!insn_condition_89 (operands, insn))
21700 0 : return -1;
21701 : return 4813; /* avx512fp16_fix_truncv8di2_mask_round */
21702 :
21703 0 : case 8:
21704 0 : if (!insn_condition_1384 (operands, insn))
21705 0 : return -1;
21706 : return 5255; /* fix_truncv8dfv8di2_mask_round */
21707 :
21708 0 : case 9:
21709 0 : if (!insn_condition_1385 (operands, insn))
21710 0 : return -1;
21711 : return 5299; /* fix_truncv8sfv8di2_mask_round */
21712 :
21713 : default:
21714 : return -1;
21715 : }
21716 :
21717 0 : case UNSIGNED_FIX:
21718 0 : switch (pattern692 (x2))
21719 : {
21720 0 : case 0:
21721 0 : if (!insn_condition_1383 (operands, insn))
21722 0 : return -1;
21723 : return 4777; /* avx512fp16_fixuns_truncv8hi2_mask_round */
21724 :
21725 0 : case 1:
21726 0 : if (!insn_condition_1383 (operands, insn))
21727 0 : return -1;
21728 : return 4785; /* avx512fp16_fixuns_truncv16hi2_mask_round */
21729 :
21730 0 : case 2:
21731 0 : if (!insn_condition_89 (operands, insn))
21732 0 : return -1;
21733 : return 4793; /* avx512fp16_fixuns_truncv32hi2_mask_round */
21734 :
21735 0 : case 3:
21736 0 : if (!insn_condition_1383 (operands, insn))
21737 0 : return -1;
21738 : return 4801; /* avx512fp16_fixuns_truncv8si2_mask_round */
21739 :
21740 0 : case 4:
21741 0 : if (!insn_condition_27 (operands, insn))
21742 0 : return -1;
21743 : return 5222; /* fixuns_truncv8dfv8si2_mask_round */
21744 :
21745 0 : case 5:
21746 0 : if (!insn_condition_89 (operands, insn))
21747 0 : return -1;
21748 : return 4809; /* avx512fp16_fixuns_truncv16si2_mask_round */
21749 :
21750 0 : case 6:
21751 0 : if (!insn_condition_27 (operands, insn))
21752 0 : return -1;
21753 : return 5054; /* fixuns_truncv16sfv16si2_mask_round */
21754 :
21755 0 : case 7:
21756 0 : if (!insn_condition_89 (operands, insn))
21757 0 : return -1;
21758 : return 4817; /* avx512fp16_fixuns_truncv8di2_mask_round */
21759 :
21760 0 : case 8:
21761 0 : if (!insn_condition_1384 (operands, insn))
21762 0 : return -1;
21763 : return 5259; /* fixuns_truncv8dfv8di2_mask_round */
21764 :
21765 0 : case 9:
21766 0 : if (!insn_condition_1385 (operands, insn))
21767 0 : return -1;
21768 : return 5303; /* fixuns_truncv8sfv8di2_mask_round */
21769 :
21770 : default:
21771 : return -1;
21772 : }
21773 :
21774 1262 : case FLOAT_EXTEND:
21775 1262 : x7 = XVECEXP (x2, 0, 1);
21776 1262 : if (!const48_operand (x7, E_SImode))
21777 : return -1;
21778 1262 : x5 = XEXP (x4, 0);
21779 1262 : switch (GET_CODE (x5))
21780 : {
21781 1231 : case REG:
21782 1231 : case SUBREG:
21783 1231 : operands[1] = x5;
21784 1231 : x9 = XEXP (x3, 1);
21785 1231 : operands[2] = x9;
21786 1231 : x8 = XEXP (x3, 2);
21787 1231 : operands[3] = x8;
21788 1231 : operands[4] = x7;
21789 1231 : switch (GET_MODE (operands[0]))
21790 : {
21791 791 : case E_V8DFmode:
21792 791 : if (pattern1349 (x2,
21793 : E_V8DFmode,
21794 : E_QImode) != 0)
21795 : return -1;
21796 760 : switch (GET_MODE (operands[1]))
21797 : {
21798 415 : case E_V8HFmode:
21799 415 : if (!register_operand (operands[1], E_V8HFmode)
21800 415 : || !insn_condition_89 (operands, insn))
21801 0 : return -1;
21802 : return 4881; /* avx512fp16_float_extend_phv8df2_mask_round */
21803 :
21804 345 : case E_V8SFmode:
21805 345 : if (!register_operand (operands[1], E_V8SFmode)
21806 345 : || !insn_condition_1465 (operands, insn))
21807 0 : return -1;
21808 : return 5352; /* avx512f_cvtps2pd512_mask_round */
21809 :
21810 : default:
21811 : return -1;
21812 : }
21813 :
21814 440 : case E_V16SFmode:
21815 440 : if (pattern691 (x2,
21816 : E_HImode,
21817 : E_V16SFmode,
21818 : E_V16HFmode) != 0
21819 440 : || !insn_condition_1466 (operands, insn))
21820 25 : return -1;
21821 : return 4885; /* avx512fp16_float_extend_phv16sf2_mask_round */
21822 :
21823 0 : case E_V8SFmode:
21824 0 : if (pattern691 (x2,
21825 : E_QImode,
21826 : E_V8SFmode,
21827 : E_V8HFmode) != 0
21828 0 : || !insn_condition_1467 (operands, insn))
21829 0 : return -1;
21830 : return 4889; /* avx512fp16_float_extend_phv8sf2_mask_round */
21831 :
21832 : default:
21833 : return -1;
21834 : }
21835 :
21836 11 : case VEC_SELECT:
21837 11 : if (GET_MODE (x5) != E_V2SFmode)
21838 : return -1;
21839 11 : x10 = XEXP (x5, 1);
21840 11 : if (GET_CODE (x10) != PARALLEL
21841 11 : || XVECLEN (x10, 0) != 2)
21842 : return -1;
21843 11 : x11 = XVECEXP (x10, 0, 0);
21844 11 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
21845 : return -1;
21846 11 : x12 = XVECEXP (x10, 0, 1);
21847 11 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
21848 : return -1;
21849 11 : x8 = XEXP (x3, 2);
21850 11 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
21851 11 : || pattern1519 (x2,
21852 : E_V2DFmode) != 0)
21853 : return -1;
21854 8 : x13 = XEXP (x5, 0);
21855 8 : operands[2] = x13;
21856 8 : if (!register_operand (operands[2], E_V4SFmode))
21857 : return -1;
21858 8 : x9 = XEXP (x3, 1);
21859 8 : operands[1] = x9;
21860 8 : if (!register_operand (operands[1], E_V2DFmode))
21861 : return -1;
21862 7 : operands[3] = x7;
21863 7 : if (!insn_condition_342 (operands, insn))
21864 0 : return -1;
21865 : return 5335; /* sse2_cvtss2sd_round */
21866 :
21867 : default:
21868 : return -1;
21869 : }
21870 :
21871 1261 : case FLOAT_TRUNCATE:
21872 1261 : x5 = XEXP (x4, 0);
21873 1261 : operands[1] = x5;
21874 1261 : x9 = XEXP (x3, 1);
21875 1261 : operands[2] = x9;
21876 1261 : x8 = XEXP (x3, 2);
21877 1261 : operands[3] = x8;
21878 1261 : x7 = XVECEXP (x2, 0, 1);
21879 1261 : operands[4] = x7;
21880 1261 : if (!const_4_or_8_to_11_operand (operands[4], E_SImode))
21881 : return -1;
21882 1261 : switch (GET_MODE (operands[0]))
21883 : {
21884 450 : case E_V8HFmode:
21885 450 : if (pattern1349 (x2,
21886 : E_V8HFmode,
21887 : E_QImode) != 0)
21888 : return -1;
21889 423 : switch (GET_MODE (operands[1]))
21890 : {
21891 423 : case E_V8DFmode:
21892 423 : if (!register_operand (operands[1], E_V8DFmode)
21893 423 : || !insn_condition_89 (operands, insn))
21894 8 : return -1;
21895 : return 4905; /* avx512fp16_vcvtpd2ph_v8df_mask_round */
21896 :
21897 0 : case E_V8SFmode:
21898 0 : if (!register_operand (operands[1], E_V8SFmode)
21899 0 : || !insn_condition_1467 (operands, insn))
21900 0 : return -1;
21901 : return 4913; /* avx512fp16_vcvtps2ph_v8sf_mask_round */
21902 :
21903 : default:
21904 : return -1;
21905 : }
21906 :
21907 450 : case E_V16HFmode:
21908 450 : if (pattern691 (x2,
21909 : E_HImode,
21910 : E_V16HFmode,
21911 : E_V16SFmode) != 0
21912 450 : || !insn_condition_1466 (operands, insn))
21913 35 : return -1;
21914 : return 4909; /* avx512fp16_vcvtps2ph_v16sf_mask_round */
21915 :
21916 361 : case E_V8SFmode:
21917 361 : if (pattern691 (x2,
21918 : E_QImode,
21919 : E_V8SFmode,
21920 : E_V8DFmode) != 0
21921 361 : || !insn_condition_27 (operands, insn))
21922 14 : return -1;
21923 : return 5342; /* avx512f_cvtpd2ps512_mask_round */
21924 :
21925 : default:
21926 : return -1;
21927 : }
21928 :
21929 444 : case VEC_CONCAT:
21930 444 : if (GET_MODE (x4) != E_V32HFmode)
21931 : return -1;
21932 430 : x5 = XEXP (x4, 0);
21933 430 : if (GET_CODE (x5) != FLOAT_TRUNCATE
21934 430 : || GET_MODE (x5) != E_V16HFmode)
21935 : return -1;
21936 430 : x6 = XEXP (x4, 1);
21937 430 : if (GET_CODE (x6) != FLOAT_TRUNCATE
21938 430 : || GET_MODE (x6) != E_V16HFmode
21939 430 : || !register_operand (operands[0], E_V32HFmode)
21940 416 : || GET_MODE (x2) != E_V32HFmode
21941 846 : || GET_MODE (x3) != E_V32HFmode)
21942 : return -1;
21943 416 : x13 = XEXP (x5, 0);
21944 416 : operands[2] = x13;
21945 416 : if (!register_operand (operands[2], E_V16SFmode))
21946 : return -1;
21947 416 : x14 = XEXP (x6, 0);
21948 416 : operands[1] = x14;
21949 416 : if (!register_operand (operands[1], E_V16SFmode))
21950 : return -1;
21951 416 : x9 = XEXP (x3, 1);
21952 416 : operands[3] = x9;
21953 416 : if (!nonimm_or_0_operand (operands[3], E_V32HFmode))
21954 : return -1;
21955 414 : x8 = XEXP (x3, 2);
21956 414 : operands[4] = x8;
21957 414 : if (!register_operand (operands[4], E_SImode))
21958 : return -1;
21959 412 : x7 = XVECEXP (x2, 0, 1);
21960 412 : operands[5] = x7;
21961 412 : if (!const_4_or_8_to_11_operand (operands[5], E_SImode)
21962 412 : || !insn_condition_1468 (operands, insn))
21963 0 : return -1;
21964 : return 9135; /* avx10v1aux_cvt2ps2phx_v32hf_mask_round */
21965 :
21966 : default:
21967 : return -1;
21968 : }
21969 : }
21970 :
21971 : int
21972 9515 : recog_271 (rtx x1 ATTRIBUTE_UNUSED,
21973 : rtx_insn *insn ATTRIBUTE_UNUSED,
21974 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21975 : {
21976 9515 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21977 9515 : rtx x2, x3, x4, x5, x6;
21978 9515 : int res ATTRIBUTE_UNUSED;
21979 9515 : x2 = XEXP (x1, 0);
21980 9515 : operands[0] = x2;
21981 9515 : x3 = XEXP (x1, 1);
21982 9515 : x4 = XVECEXP (x3, 0, 0);
21983 9515 : operands[1] = x4;
21984 9515 : x5 = XVECEXP (x3, 0, 1);
21985 9515 : operands[2] = x5;
21986 9515 : x6 = XVECEXP (x3, 0, 2);
21987 9515 : operands[3] = x6;
21988 9515 : switch (GET_CODE (operands[3]))
21989 : {
21990 7022 : case REG:
21991 7022 : case SUBREG:
21992 7022 : switch (GET_MODE (operands[0]))
21993 : {
21994 381 : case E_V16SImode:
21995 381 : if (pattern1075 (x3,
21996 : E_HImode,
21997 : E_V16SImode) != 0
21998 381 : || !insn_condition_27 (operands, insn))
21999 14 : return -1;
22000 : return 8617; /* expandv16si_mask */
22001 :
22002 379 : case E_V16SFmode:
22003 379 : if (pattern1075 (x3,
22004 : E_HImode,
22005 : E_V16SFmode) != 0
22006 379 : || !insn_condition_27 (operands, insn))
22007 16 : return -1;
22008 : return 8618; /* expandv16sf_mask */
22009 :
22010 395 : case E_V8DImode:
22011 395 : if (pattern1075 (x3,
22012 : E_QImode,
22013 : E_V8DImode) != 0
22014 395 : || !insn_condition_27 (operands, insn))
22015 23 : return -1;
22016 : return 8619; /* expandv8di_mask */
22017 :
22018 391 : case E_V8DFmode:
22019 391 : if (pattern1075 (x3,
22020 : E_QImode,
22021 : E_V8DFmode) != 0
22022 391 : || !insn_condition_27 (operands, insn))
22023 16 : return -1;
22024 : return 8620; /* expandv8df_mask */
22025 :
22026 389 : case E_V8SImode:
22027 389 : if (pattern1075 (x3,
22028 : E_QImode,
22029 : E_V8SImode) != 0
22030 389 : || !insn_condition_100 (operands, insn))
22031 14 : return -1;
22032 : return 8621; /* expandv8si_mask */
22033 :
22034 387 : case E_V8SFmode:
22035 387 : if (pattern1075 (x3,
22036 : E_QImode,
22037 : E_V8SFmode) != 0
22038 387 : || !insn_condition_100 (operands, insn))
22039 16 : return -1;
22040 : return 8622; /* expandv8sf_mask */
22041 :
22042 396 : case E_V4DImode:
22043 396 : if (pattern1075 (x3,
22044 : E_QImode,
22045 : E_V4DImode) != 0
22046 396 : || !insn_condition_100 (operands, insn))
22047 23 : return -1;
22048 : return 8623; /* expandv4di_mask */
22049 :
22050 388 : case E_V4DFmode:
22051 388 : if (pattern1075 (x3,
22052 : E_QImode,
22053 : E_V4DFmode) != 0
22054 388 : || !insn_condition_100 (operands, insn))
22055 16 : return -1;
22056 : return 8624; /* expandv4df_mask */
22057 :
22058 385 : case E_V4SImode:
22059 385 : if (pattern1075 (x3,
22060 : E_QImode,
22061 : E_V4SImode) != 0
22062 385 : || !insn_condition_100 (operands, insn))
22063 10 : return -1;
22064 : return 8625; /* expandv4si_mask */
22065 :
22066 389 : case E_V4SFmode:
22067 389 : if (pattern1075 (x3,
22068 : E_QImode,
22069 : E_V4SFmode) != 0
22070 389 : || !insn_condition_100 (operands, insn))
22071 14 : return -1;
22072 : return 8626; /* expandv4sf_mask */
22073 :
22074 367 : case E_V2DImode:
22075 367 : if (pattern1075 (x3,
22076 : E_QImode,
22077 : E_V2DImode) != 0
22078 367 : || !insn_condition_100 (operands, insn))
22079 15 : return -1;
22080 : return 8627; /* expandv2di_mask */
22081 :
22082 363 : case E_V2DFmode:
22083 363 : if (pattern1075 (x3,
22084 : E_QImode,
22085 : E_V2DFmode) != 0
22086 363 : || !insn_condition_100 (operands, insn))
22087 9 : return -1;
22088 : return 8628; /* expandv2df_mask */
22089 :
22090 429 : case E_V64QImode:
22091 429 : if (pattern1075 (x3,
22092 : E_DImode,
22093 : E_V64QImode) != 0
22094 429 : || !insn_condition_1003 (operands, insn))
22095 33 : return -1;
22096 : return 8629; /* expandv64qi_mask */
22097 :
22098 393 : case E_V16QImode:
22099 393 : if (pattern1075 (x3,
22100 : E_HImode,
22101 : E_V16QImode) != 0
22102 393 : || !insn_condition_1004 (operands, insn))
22103 12 : return -1;
22104 : return 8630; /* expandv16qi_mask */
22105 :
22106 397 : case E_V32QImode:
22107 397 : if (pattern1075 (x3,
22108 : E_SImode,
22109 : E_V32QImode) != 0
22110 397 : || !insn_condition_1004 (operands, insn))
22111 18 : return -1;
22112 : return 8631; /* expandv32qi_mask */
22113 :
22114 395 : case E_V32HImode:
22115 395 : if (pattern1075 (x3,
22116 : E_SImode,
22117 : E_V32HImode) != 0
22118 395 : || !insn_condition_1003 (operands, insn))
22119 18 : return -1;
22120 : return 8632; /* expandv32hi_mask */
22121 :
22122 397 : case E_V16HImode:
22123 397 : if (pattern1075 (x3,
22124 : E_HImode,
22125 : E_V16HImode) != 0
22126 397 : || !insn_condition_1004 (operands, insn))
22127 18 : return -1;
22128 : return 8633; /* expandv16hi_mask */
22129 :
22130 401 : case E_V8HImode:
22131 401 : if (pattern1075 (x3,
22132 : E_QImode,
22133 : E_V8HImode) != 0
22134 401 : || !insn_condition_1004 (operands, insn))
22135 12 : return -1;
22136 : return 8634; /* expandv8hi_mask */
22137 :
22138 : default:
22139 : return -1;
22140 : }
22141 :
22142 2358 : case CONST_INT:
22143 2358 : switch (pattern957 (x3))
22144 : {
22145 97 : case 0:
22146 97 : if (!insn_condition_1560 (operands, insn))
22147 7 : return -1;
22148 : return 8635; /* *expandv16si_mask */
22149 :
22150 95 : case 1:
22151 95 : if (!insn_condition_1561 (operands, insn))
22152 7 : return -1;
22153 : return 8636; /* *expandv16sf_mask */
22154 :
22155 91 : case 2:
22156 91 : if (!insn_condition_1562 (operands, insn))
22157 8 : return -1;
22158 : return 8637; /* *expandv8di_mask */
22159 :
22160 95 : case 3:
22161 95 : if (!insn_condition_1563 (operands, insn))
22162 8 : return -1;
22163 : return 8638; /* *expandv8df_mask */
22164 :
22165 97 : case 4:
22166 97 : if (!insn_condition_1564 (operands, insn))
22167 7 : return -1;
22168 : return 8639; /* *expandv8si_mask */
22169 :
22170 95 : case 5:
22171 95 : if (!insn_condition_1565 (operands, insn))
22172 7 : return -1;
22173 : return 8640; /* *expandv8sf_mask */
22174 :
22175 91 : case 6:
22176 91 : if (!insn_condition_1566 (operands, insn))
22177 8 : return -1;
22178 : return 8641; /* *expandv4di_mask */
22179 :
22180 91 : case 7:
22181 91 : if (!insn_condition_1567 (operands, insn))
22182 8 : return -1;
22183 : return 8642; /* *expandv4df_mask */
22184 :
22185 98 : case 8:
22186 98 : if (!insn_condition_1568 (operands, insn))
22187 7 : return -1;
22188 : return 8643; /* *expandv4si_mask */
22189 :
22190 95 : case 9:
22191 95 : if (!insn_condition_1569 (operands, insn))
22192 7 : return -1;
22193 : return 8644; /* *expandv4sf_mask */
22194 :
22195 91 : case 10:
22196 91 : if (!insn_condition_1570 (operands, insn))
22197 3 : return -1;
22198 : return 8645; /* *expandv2di_mask */
22199 :
22200 91 : case 11:
22201 91 : if (!insn_condition_1571 (operands, insn))
22202 3 : return -1;
22203 : return 8646; /* *expandv2df_mask */
22204 :
22205 86 : case 12:
22206 86 : if (!insn_condition_1572 (operands, insn))
22207 4 : return -1;
22208 : return 8647; /* *expandv64qi_mask */
22209 :
22210 93 : case 13:
22211 93 : if (!insn_condition_1573 (operands, insn))
22212 7 : return -1;
22213 : return 8648; /* *expandv16qi_mask */
22214 :
22215 93 : case 14:
22216 93 : if (!insn_condition_1574 (operands, insn))
22217 7 : return -1;
22218 : return 8649; /* *expandv32qi_mask */
22219 :
22220 93 : case 15:
22221 93 : if (!insn_condition_1575 (operands, insn))
22222 7 : return -1;
22223 : return 8650; /* *expandv32hi_mask */
22224 :
22225 93 : case 16:
22226 93 : if (!insn_condition_1576 (operands, insn))
22227 7 : return -1;
22228 : return 8651; /* *expandv16hi_mask */
22229 :
22230 93 : case 17:
22231 93 : if (!insn_condition_1577 (operands, insn))
22232 7 : return -1;
22233 : return 8652; /* *expandv8hi_mask */
22234 :
22235 : default:
22236 : return -1;
22237 : }
22238 :
22239 : default:
22240 : return -1;
22241 : }
22242 : }
22243 :
22244 : int
22245 1692 : recog_273 (rtx x1 ATTRIBUTE_UNUSED,
22246 : rtx_insn *insn ATTRIBUTE_UNUSED,
22247 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22248 : {
22249 1692 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22250 1692 : rtx x2, x3, x4, x5, x6;
22251 1692 : int res ATTRIBUTE_UNUSED;
22252 1692 : x2 = XEXP (x1, 0);
22253 1692 : operands[0] = x2;
22254 1692 : x3 = XEXP (x1, 1);
22255 1692 : x4 = XVECEXP (x3, 0, 0);
22256 1692 : operands[1] = x4;
22257 1692 : x5 = XVECEXP (x3, 0, 2);
22258 1692 : operands[2] = x5;
22259 1692 : x6 = XVECEXP (x3, 0, 1);
22260 1692 : if (!rtx_equal_p (x6, operands[0]))
22261 : return -1;
22262 1660 : switch (GET_MODE (operands[0]))
22263 : {
22264 95 : case E_V16SImode:
22265 95 : if (pattern955 (x3,
22266 : E_HImode,
22267 : E_V16SImode) != 0
22268 95 : || !insn_condition_27 (operands, insn))
22269 14 : return -1;
22270 : return 8599; /* avx512f_compressstorev16si_mask */
22271 :
22272 88 : case E_V16SFmode:
22273 88 : if (pattern955 (x3,
22274 : E_HImode,
22275 : E_V16SFmode) != 0
22276 88 : || !insn_condition_27 (operands, insn))
22277 14 : return -1;
22278 : return 8600; /* avx512f_compressstorev16sf_mask */
22279 :
22280 90 : case E_V8DImode:
22281 90 : if (pattern955 (x3,
22282 : E_QImode,
22283 : E_V8DImode) != 0
22284 90 : || !insn_condition_27 (operands, insn))
22285 14 : return -1;
22286 : return 8601; /* avx512f_compressstorev8di_mask */
22287 :
22288 90 : case E_V8DFmode:
22289 90 : if (pattern955 (x3,
22290 : E_QImode,
22291 : E_V8DFmode) != 0
22292 90 : || !insn_condition_27 (operands, insn))
22293 14 : return -1;
22294 : return 8602; /* avx512f_compressstorev8df_mask */
22295 :
22296 97 : case E_V8SImode:
22297 97 : if (pattern955 (x3,
22298 : E_QImode,
22299 : E_V8SImode) != 0
22300 97 : || !insn_condition_100 (operands, insn))
22301 14 : return -1;
22302 : return 8603; /* avx512vl_compressstorev8si_mask */
22303 :
22304 90 : case E_V8SFmode:
22305 90 : if (pattern955 (x3,
22306 : E_QImode,
22307 : E_V8SFmode) != 0
22308 90 : || !insn_condition_100 (operands, insn))
22309 14 : return -1;
22310 : return 8604; /* avx512vl_compressstorev8sf_mask */
22311 :
22312 90 : case E_V4DImode:
22313 90 : if (pattern955 (x3,
22314 : E_QImode,
22315 : E_V4DImode) != 0
22316 90 : || !insn_condition_100 (operands, insn))
22317 14 : return -1;
22318 : return 8605; /* avx512vl_compressstorev4di_mask */
22319 :
22320 90 : case E_V4DFmode:
22321 90 : if (pattern955 (x3,
22322 : E_QImode,
22323 : E_V4DFmode) != 0
22324 90 : || !insn_condition_100 (operands, insn))
22325 14 : return -1;
22326 : return 8606; /* avx512vl_compressstorev4df_mask */
22327 :
22328 95 : case E_V4SImode:
22329 95 : if (pattern955 (x3,
22330 : E_QImode,
22331 : E_V4SImode) != 0
22332 95 : || !insn_condition_100 (operands, insn))
22333 14 : return -1;
22334 : return 8607; /* avx512vl_compressstorev4si_mask */
22335 :
22336 90 : case E_V4SFmode:
22337 90 : if (pattern955 (x3,
22338 : E_QImode,
22339 : E_V4SFmode) != 0
22340 90 : || !insn_condition_100 (operands, insn))
22341 14 : return -1;
22342 : return 8608; /* avx512vl_compressstorev4sf_mask */
22343 :
22344 91 : case E_V2DImode:
22345 91 : if (pattern955 (x3,
22346 : E_QImode,
22347 : E_V2DImode) != 0
22348 91 : || !insn_condition_100 (operands, insn))
22349 14 : return -1;
22350 : return 8609; /* avx512vl_compressstorev2di_mask */
22351 :
22352 91 : case E_V2DFmode:
22353 91 : if (pattern955 (x3,
22354 : E_QImode,
22355 : E_V2DFmode) != 0
22356 91 : || !insn_condition_100 (operands, insn))
22357 14 : return -1;
22358 : return 8610; /* avx512vl_compressstorev2df_mask */
22359 :
22360 90 : case E_V64QImode:
22361 90 : if (pattern955 (x3,
22362 : E_DImode,
22363 : E_V64QImode) != 0
22364 90 : || !insn_condition_1003 (operands, insn))
22365 7 : return -1;
22366 : return 8611; /* compressstorev64qi_mask */
22367 :
22368 94 : case E_V16QImode:
22369 94 : if (pattern955 (x3,
22370 : E_HImode,
22371 : E_V16QImode) != 0
22372 94 : || !insn_condition_1004 (operands, insn))
22373 13 : return -1;
22374 : return 8612; /* compressstorev16qi_mask */
22375 :
22376 94 : case E_V32QImode:
22377 94 : if (pattern955 (x3,
22378 : E_SImode,
22379 : E_V32QImode) != 0
22380 94 : || !insn_condition_1004 (operands, insn))
22381 13 : return -1;
22382 : return 8613; /* compressstorev32qi_mask */
22383 :
22384 95 : case E_V32HImode:
22385 95 : if (pattern955 (x3,
22386 : E_SImode,
22387 : E_V32HImode) != 0
22388 95 : || !insn_condition_1003 (operands, insn))
22389 14 : return -1;
22390 : return 8614; /* compressstorev32hi_mask */
22391 :
22392 95 : case E_V16HImode:
22393 95 : if (pattern955 (x3,
22394 : E_HImode,
22395 : E_V16HImode) != 0
22396 95 : || !insn_condition_1004 (operands, insn))
22397 14 : return -1;
22398 : return 8615; /* compressstorev16hi_mask */
22399 :
22400 95 : case E_V8HImode:
22401 95 : if (pattern955 (x3,
22402 : E_QImode,
22403 : E_V8HImode) != 0
22404 95 : || !insn_condition_1004 (operands, insn))
22405 14 : return -1;
22406 : return 8616; /* compressstorev8hi_mask */
22407 :
22408 : default:
22409 : return -1;
22410 : }
22411 : }
22412 :
22413 : int
22414 707 : recog_279 (rtx x1 ATTRIBUTE_UNUSED,
22415 : rtx_insn *insn ATTRIBUTE_UNUSED,
22416 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22417 : {
22418 707 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22419 707 : int res ATTRIBUTE_UNUSED;
22420 707 : switch (pattern216 (x1))
22421 : {
22422 69 : case 0:
22423 69 : if (!insn_condition_1003 (operands, insn))
22424 0 : return -1;
22425 : return 8896; /* vpshld_v32hi */
22426 :
22427 79 : case 1:
22428 79 : if (!insn_condition_1003 (operands, insn))
22429 0 : return -1;
22430 : return 8898; /* vpshld_v16si */
22431 :
22432 79 : case 2:
22433 79 : if (!insn_condition_1003 (operands, insn))
22434 0 : return -1;
22435 : return 8900; /* vpshld_v8di */
22436 :
22437 63 : case 3:
22438 63 : if (!insn_condition_1004 (operands, insn))
22439 0 : return -1;
22440 : return 8902; /* vpshld_v16hi */
22441 :
22442 73 : case 4:
22443 73 : if (!insn_condition_1004 (operands, insn))
22444 0 : return -1;
22445 : return 8904; /* vpshld_v8si */
22446 :
22447 73 : case 5:
22448 73 : if (!insn_condition_1004 (operands, insn))
22449 0 : return -1;
22450 : return 8906; /* vpshld_v4di */
22451 :
22452 63 : case 6:
22453 63 : if (!insn_condition_1004 (operands, insn))
22454 0 : return -1;
22455 : return 8908; /* vpshld_v8hi */
22456 :
22457 72 : case 7:
22458 72 : if (!insn_condition_1004 (operands, insn))
22459 0 : return -1;
22460 : return 8910; /* vpshld_v4si */
22461 :
22462 72 : case 8:
22463 72 : if (!insn_condition_1004 (operands, insn))
22464 0 : return -1;
22465 : return 8912; /* vpshld_v2di */
22466 :
22467 : default:
22468 : return -1;
22469 : }
22470 : }
22471 :
22472 : int
22473 735 : recog_281 (rtx x1 ATTRIBUTE_UNUSED,
22474 : rtx_insn *insn ATTRIBUTE_UNUSED,
22475 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22476 : {
22477 735 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22478 735 : int res ATTRIBUTE_UNUSED;
22479 735 : switch (pattern216 (x1))
22480 : {
22481 73 : case 0:
22482 73 : if (!insn_condition_1003 (operands, insn))
22483 0 : return -1;
22484 : return 8878; /* vpshrd_v32hi */
22485 :
22486 73 : case 1:
22487 73 : if (!insn_condition_1003 (operands, insn))
22488 0 : return -1;
22489 : return 8880; /* vpshrd_v16si */
22490 :
22491 73 : case 2:
22492 73 : if (!insn_condition_1003 (operands, insn))
22493 0 : return -1;
22494 : return 8882; /* vpshrd_v8di */
22495 :
22496 73 : case 3:
22497 73 : if (!insn_condition_1004 (operands, insn))
22498 0 : return -1;
22499 : return 8884; /* vpshrd_v16hi */
22500 :
22501 73 : case 4:
22502 73 : if (!insn_condition_1004 (operands, insn))
22503 0 : return -1;
22504 : return 8886; /* vpshrd_v8si */
22505 :
22506 73 : case 5:
22507 73 : if (!insn_condition_1004 (operands, insn))
22508 0 : return -1;
22509 : return 8888; /* vpshrd_v4di */
22510 :
22511 72 : case 6:
22512 72 : if (!insn_condition_1004 (operands, insn))
22513 0 : return -1;
22514 : return 8890; /* vpshrd_v8hi */
22515 :
22516 72 : case 7:
22517 72 : if (!insn_condition_1004 (operands, insn))
22518 0 : return -1;
22519 : return 8892; /* vpshrd_v4si */
22520 :
22521 72 : case 8:
22522 72 : if (!insn_condition_1004 (operands, insn))
22523 0 : return -1;
22524 : return 8894; /* vpshrd_v2di */
22525 :
22526 : default:
22527 : return -1;
22528 : }
22529 : }
22530 :
22531 : int
22532 326 : recog_286 (rtx x1 ATTRIBUTE_UNUSED,
22533 : rtx_insn *insn ATTRIBUTE_UNUSED,
22534 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22535 : {
22536 326 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22537 326 : rtx x2, x3, x4, x5;
22538 326 : int res ATTRIBUTE_UNUSED;
22539 326 : x2 = XEXP (x1, 0);
22540 326 : operands[0] = x2;
22541 326 : x3 = XEXP (x1, 1);
22542 326 : x4 = XVECEXP (x3, 0, 0);
22543 326 : operands[1] = x4;
22544 326 : x5 = XVECEXP (x3, 0, 1);
22545 326 : operands[2] = x5;
22546 326 : switch (pattern705 (x3))
22547 : {
22548 50 : case 0:
22549 50 : if (insn_condition_1581 (operands, insn))
22550 : return 4478; /* fma_fcmaddc_v32hf */
22551 : break;
22552 :
22553 106 : case 1:
22554 106 : if (insn_condition_1582 (operands, insn))
22555 : return 4484; /* fma_fcmaddc_v16hf */
22556 : break;
22557 :
22558 115 : case 2:
22559 115 : if (insn_condition_1582 (operands, insn))
22560 : return 4488; /* fma_fcmaddc_v8hf */
22561 : break;
22562 :
22563 : default:
22564 : break;
22565 : }
22566 55 : if (GET_CODE (x5) != SUBREG
22567 55 : || maybe_ne (SUBREG_BYTE (x5), 0))
22568 : return -1;
22569 19 : switch (pattern622 (x3))
22570 : {
22571 1 : case 0:
22572 1 : if (!insn_condition_1170 (operands, insn))
22573 0 : return -1;
22574 : return 4511; /* fma_v32hf_fcmaddc_bcst */
22575 :
22576 1 : case 1:
22577 1 : if (!insn_condition_1583 (operands, insn))
22578 0 : return -1;
22579 : return 4512; /* fma_v16hf_fcmaddc_bcst */
22580 :
22581 1 : case 2:
22582 1 : if (!insn_condition_1583 (operands, insn))
22583 0 : return -1;
22584 : return 4513; /* fma_v8hf_fcmaddc_bcst */
22585 :
22586 : default:
22587 : return -1;
22588 : }
22589 : }
22590 :
22591 : int
22592 4345 : recog_292 (rtx x1 ATTRIBUTE_UNUSED,
22593 : rtx_insn *insn ATTRIBUTE_UNUSED,
22594 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22595 : {
22596 4345 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22597 4345 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
22598 4345 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
22599 4345 : rtx x18;
22600 4345 : int res ATTRIBUTE_UNUSED;
22601 4345 : x2 = XEXP (x1, 1);
22602 4345 : x3 = XEXP (x2, 1);
22603 4345 : x4 = XEXP (x3, 1);
22604 4345 : if (GET_CODE (x4) != PARALLEL)
22605 : return -1;
22606 4345 : x5 = XEXP (x2, 0);
22607 4345 : operands[2] = x5;
22608 4345 : x6 = XEXP (x3, 0);
22609 4345 : operands[1] = x6;
22610 4345 : switch (XVECLEN (x4, 0))
22611 : {
22612 405 : case 2:
22613 405 : x7 = XVECEXP (x4, 0, 0);
22614 405 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
22615 : return -1;
22616 207 : x8 = XVECEXP (x4, 0, 1);
22617 207 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
22618 : return -1;
22619 207 : switch (GET_MODE (operands[0]))
22620 : {
22621 81 : case E_V4SFmode:
22622 81 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
22623 81 : || GET_MODE (x2) != E_V4SFmode
22624 81 : || !nonimmediate_operand (operands[2], E_V2SFmode)
22625 81 : || GET_MODE (x3) != E_V2SFmode
22626 81 : || !nonimmediate_operand (operands[1], E_V4SFmode)
22627 159 : || !insn_condition_148 (operands, insn))
22628 3 : return -1;
22629 : return 5440; /* sse_loadlps */
22630 :
22631 87 : case E_V4DImode:
22632 87 : if (pattern1266 (x2,
22633 : E_V4DImode,
22634 : E_V2DImode) != 0
22635 87 : || !insn_condition_1344 (operands, insn))
22636 8 : return -1;
22637 : return 8157; /* vec_set_lo_v4di */
22638 :
22639 39 : case E_V4DFmode:
22640 39 : if (pattern1266 (x2,
22641 : E_V4DFmode,
22642 : E_V2DFmode) != 0
22643 39 : || !insn_condition_1344 (operands, insn))
22644 0 : return -1;
22645 : return 8159; /* vec_set_lo_v4df */
22646 :
22647 : default:
22648 : return -1;
22649 : }
22650 :
22651 3596 : case 1:
22652 3596 : x7 = XVECEXP (x4, 0, 0);
22653 3596 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
22654 626 : || !nonimmediate_operand (operands[0], E_V2DFmode)
22655 374 : || GET_MODE (x2) != E_V2DFmode
22656 374 : || !nonimmediate_operand (operands[2], E_DFmode)
22657 374 : || GET_MODE (x3) != E_DFmode
22658 374 : || !nonimm_or_0_operand (operands[1], E_V2DFmode)
22659 3970 : || !insn_condition_1660 (operands, insn))
22660 3222 : return -1;
22661 : return 5896; /* sse2_loadlpd */
22662 :
22663 30 : case 8:
22664 30 : x7 = XVECEXP (x4, 0, 0);
22665 30 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
22666 : return -1;
22667 30 : x8 = XVECEXP (x4, 0, 1);
22668 30 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
22669 : return -1;
22670 30 : x9 = XVECEXP (x4, 0, 2);
22671 30 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 10]
22672 30 : || pattern1267 (x4,
22673 : 15,
22674 : 14,
22675 : 13,
22676 : 12,
22677 : 11) != 0)
22678 : return -1;
22679 30 : switch (GET_MODE (operands[0]))
22680 : {
22681 0 : case E_V16SFmode:
22682 0 : if (pattern1266 (x2,
22683 : E_V16SFmode,
22684 : E_V8SFmode) != 0
22685 0 : || !insn_condition_78 (operands, insn))
22686 0 : return -1;
22687 : return 7063; /* vec_set_lo_v16sf */
22688 :
22689 6 : case E_V16SImode:
22690 6 : if (pattern1266 (x2,
22691 : E_V16SImode,
22692 : E_V8SImode) != 0
22693 6 : || !insn_condition_78 (operands, insn))
22694 0 : return -1;
22695 : return 7065; /* vec_set_lo_v16si */
22696 :
22697 9 : case E_V16HImode:
22698 9 : if (pattern1266 (x2,
22699 : E_V16HImode,
22700 : E_V8HImode) != 0
22701 9 : || !insn_condition_122 (operands, insn))
22702 0 : return -1;
22703 : return 8173; /* vec_set_lo_v16hi */
22704 :
22705 7 : case E_V16HFmode:
22706 7 : if (pattern1266 (x2,
22707 : E_V16HFmode,
22708 : E_V8HFmode) != 0
22709 7 : || !insn_condition_122 (operands, insn))
22710 0 : return -1;
22711 : return 8174; /* vec_set_lo_v16hf */
22712 :
22713 8 : case E_V16BFmode:
22714 8 : if (pattern1266 (x2,
22715 : E_V16BFmode,
22716 : E_V8BFmode) != 0
22717 8 : || !insn_condition_122 (operands, insn))
22718 0 : return -1;
22719 : return 8175; /* vec_set_lo_v16bf */
22720 :
22721 : default:
22722 : return -1;
22723 : }
22724 :
22725 307 : case 4:
22726 307 : x7 = XVECEXP (x4, 0, 0);
22727 307 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
22728 : return -1;
22729 152 : x8 = XVECEXP (x4, 0, 1);
22730 152 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
22731 : return -1;
22732 152 : x9 = XVECEXP (x4, 0, 2);
22733 152 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
22734 : return -1;
22735 152 : x10 = XVECEXP (x4, 0, 3);
22736 152 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
22737 : return -1;
22738 152 : switch (GET_MODE (operands[0]))
22739 : {
22740 15 : case E_V8DFmode:
22741 15 : if (pattern1266 (x2,
22742 : E_V8DFmode,
22743 : E_V4DFmode) != 0
22744 15 : || !insn_condition_27 (operands, insn))
22745 6 : return -1;
22746 : return 7071; /* vec_set_lo_v8df */
22747 :
22748 18 : case E_V8DImode:
22749 18 : if (pattern1266 (x2,
22750 : E_V8DImode,
22751 : E_V4DImode) != 0
22752 18 : || !insn_condition_27 (operands, insn))
22753 5 : return -1;
22754 : return 7073; /* vec_set_lo_v8di */
22755 :
22756 70 : case E_V8SImode:
22757 70 : if (pattern1266 (x2,
22758 : E_V8SImode,
22759 : E_V4SImode) != 0
22760 70 : || !insn_condition_122 (operands, insn))
22761 4 : return -1;
22762 : return 8165; /* vec_set_lo_v8si */
22763 :
22764 49 : case E_V8SFmode:
22765 49 : if (pattern1266 (x2,
22766 : E_V8SFmode,
22767 : E_V4SFmode) != 0
22768 49 : || !insn_condition_122 (operands, insn))
22769 4 : return -1;
22770 : return 8167; /* vec_set_lo_v8sf */
22771 :
22772 : default:
22773 : return -1;
22774 : }
22775 :
22776 7 : case 16:
22777 7 : x7 = XVECEXP (x4, 0, 0);
22778 7 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 16])
22779 : return -1;
22780 7 : x8 = XVECEXP (x4, 0, 1);
22781 7 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 17])
22782 : return -1;
22783 7 : x9 = XVECEXP (x4, 0, 2);
22784 7 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 18]
22785 7 : || pattern1267 (x4,
22786 : 23,
22787 : 22,
22788 : 21,
22789 : 20,
22790 : 19) != 0)
22791 : return -1;
22792 7 : x11 = XVECEXP (x4, 0, 8);
22793 7 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 24])
22794 : return -1;
22795 7 : x12 = XVECEXP (x4, 0, 9);
22796 7 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 25])
22797 : return -1;
22798 7 : x13 = XVECEXP (x4, 0, 10);
22799 7 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 26])
22800 : return -1;
22801 7 : x14 = XVECEXP (x4, 0, 11);
22802 7 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 27])
22803 : return -1;
22804 7 : x15 = XVECEXP (x4, 0, 12);
22805 7 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 28])
22806 : return -1;
22807 7 : x16 = XVECEXP (x4, 0, 13);
22808 7 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 29])
22809 : return -1;
22810 7 : x17 = XVECEXP (x4, 0, 14);
22811 7 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 30])
22812 : return -1;
22813 7 : x18 = XVECEXP (x4, 0, 15);
22814 7 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 31]
22815 7 : || pattern1266 (x2,
22816 : E_V32QImode,
22817 : E_V16QImode) != 0
22818 14 : || !insn_condition_122 (operands, insn))
22819 0 : return -1;
22820 : return 8179; /* vec_set_lo_v32qi */
22821 :
22822 : default:
22823 : return -1;
22824 : }
22825 : }
22826 :
22827 : int
22828 2091520 : recog_293 (rtx x1 ATTRIBUTE_UNUSED,
22829 : rtx_insn *insn ATTRIBUTE_UNUSED,
22830 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22831 : {
22832 2091520 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22833 2091520 : rtx x2, x3, x4;
22834 2091520 : int res ATTRIBUTE_UNUSED;
22835 2091520 : x2 = XEXP (x1, 1);
22836 2091520 : x3 = XEXP (x2, 0);
22837 2091520 : operands[1] = x3;
22838 2091520 : x4 = XEXP (x2, 1);
22839 2091520 : switch (GET_CODE (x4))
22840 : {
22841 1367460 : case REG:
22842 1367460 : case SUBREG:
22843 1367460 : case MEM:
22844 1367460 : switch (GET_MODE (operands[0]))
22845 : {
22846 23529 : case E_V4SFmode:
22847 23529 : if (pattern831 (x2,
22848 : E_V2SFmode,
22849 : E_V4SFmode) == 0
22850 23529 : && insn_condition_148 (operands, insn))
22851 : return 5450; /* *vec_concatv4sf */
22852 : break;
22853 :
22854 77 : case E_V8HFmode:
22855 77 : if (pattern831 (x2,
22856 : E_V4HFmode,
22857 : E_V8HFmode) == 0
22858 77 : && insn_condition_148 (operands, insn))
22859 : return 5451; /* *vec_concatv8hf */
22860 : break;
22861 :
22862 0 : case E_V8BFmode:
22863 0 : if (pattern831 (x2,
22864 : E_V4BFmode,
22865 : E_V8BFmode) == 0
22866 0 : && insn_condition_148 (operands, insn))
22867 : return 5452; /* *vec_concatv8bf */
22868 : break;
22869 :
22870 1601 : case E_V16QImode:
22871 1601 : if (pattern831 (x2,
22872 : E_V8QImode,
22873 : E_V16QImode) == 0
22874 1601 : && insn_condition_148 (operands, insn))
22875 : return 7147; /* *vec_concatv16qi */
22876 : break;
22877 :
22878 3325 : case E_V8HImode:
22879 3325 : if (pattern831 (x2,
22880 : E_V4HImode,
22881 : E_V8HImode) == 0
22882 3325 : && insn_condition_148 (operands, insn))
22883 : return 7148; /* *vec_concatv8hi */
22884 : break;
22885 :
22886 6047 : case E_V4SImode:
22887 6047 : if (pattern831 (x2,
22888 : E_V2SImode,
22889 : E_V4SImode) == 0
22890 6047 : && insn_condition_148 (operands, insn))
22891 : return 7149; /* *vec_concatv4si */
22892 : break;
22893 :
22894 1067914 : case E_V2DImode:
22895 1067914 : if (pattern831 (x2,
22896 : E_DImode,
22897 : E_V2DImode) == 0
22898 1067914 : && insn_condition_148 (operands, insn))
22899 : return 7155; /* vec_concatv2di */
22900 : break;
22901 :
22902 8582 : case E_V32QImode:
22903 8582 : if (register_operand (operands[0], E_V32QImode)
22904 8516 : && GET_MODE (x2) == E_V32QImode
22905 17098 : && rtx_equal_p (x4, operands[1]))
22906 : {
22907 3966 : if (memory_operand (operands[1], E_V16QImode)
22908 3966 : && insn_condition_1108 (operands, insn))
22909 : return 7980; /* avx2_vbroadcasti128_v32qi */
22910 3966 : if (nonimmediate_operand (operands[1], E_V16QImode)
22911 3966 : && insn_condition_122 (operands, insn))
22912 : return 7999; /* avx_vbroadcastf128_v32qi */
22913 : }
22914 : break;
22915 :
22916 10630 : case E_V16HImode:
22917 10630 : if (register_operand (operands[0], E_V16HImode)
22918 10590 : && GET_MODE (x2) == E_V16HImode
22919 21220 : && rtx_equal_p (x4, operands[1]))
22920 : {
22921 423 : if (memory_operand (operands[1], E_V8HImode)
22922 423 : && insn_condition_1108 (operands, insn))
22923 : return 7981; /* avx2_vbroadcasti128_v16hi */
22924 423 : if (nonimmediate_operand (operands[1], E_V8HImode)
22925 423 : && insn_condition_122 (operands, insn))
22926 : return 8000; /* avx_vbroadcastf128_v16hi */
22927 : }
22928 : break;
22929 :
22930 49135 : case E_V8SImode:
22931 49135 : if (register_operand (operands[0], E_V8SImode)
22932 48998 : && GET_MODE (x2) == E_V8SImode
22933 98133 : && rtx_equal_p (x4, operands[1]))
22934 : {
22935 312 : if (memory_operand (operands[1], E_V4SImode)
22936 312 : && insn_condition_1108 (operands, insn))
22937 : return 7982; /* avx2_vbroadcasti128_v8si */
22938 312 : if (nonimmediate_operand (operands[1], E_V4SImode)
22939 312 : && insn_condition_122 (operands, insn))
22940 : return 8001; /* avx_vbroadcastf128_v8si */
22941 : }
22942 : break;
22943 :
22944 6591 : case E_V4DImode:
22945 6591 : if (register_operand (operands[0], E_V4DImode)
22946 6491 : && GET_MODE (x2) == E_V4DImode
22947 6491 : && memory_operand (operands[1], E_V2DImode)
22948 1249 : && rtx_equal_p (x4, operands[1])
22949 7229 : && insn_condition_1108 (operands, insn))
22950 : return 7983; /* avx2_vbroadcasti128_v4di */
22951 : break;
22952 :
22953 28896 : case E_V8SFmode:
22954 28896 : if (pattern832 (x2,
22955 : E_V4SFmode,
22956 : E_V8SFmode) == 0
22957 28896 : && insn_condition_122 (operands, insn))
22958 : return 8003; /* avx_vbroadcastf128_v8sf */
22959 : break;
22960 :
22961 13233 : case E_V4DFmode:
22962 13233 : if (pattern832 (x2,
22963 : E_V2DFmode,
22964 : E_V4DFmode) == 0
22965 13233 : && insn_condition_122 (operands, insn))
22966 : return 8004; /* avx_vbroadcastf128_v4df */
22967 : break;
22968 :
22969 4309 : case E_V16HFmode:
22970 4309 : if (pattern832 (x2,
22971 : E_V8HFmode,
22972 : E_V16HFmode) == 0
22973 4309 : && insn_condition_122 (operands, insn))
22974 : return 8005; /* avx_vbroadcastf128_v16hf */
22975 : break;
22976 :
22977 6639 : case E_V16BFmode:
22978 6639 : if (pattern832 (x2,
22979 : E_V8BFmode,
22980 : E_V16BFmode) == 0
22981 6639 : && insn_condition_122 (operands, insn))
22982 : return 8006; /* avx_vbroadcastf128_v16bf */
22983 : break;
22984 :
22985 : default:
22986 : break;
22987 : }
22988 : break;
22989 :
22990 724060 : case CONST_INT:
22991 724060 : case CONST_DOUBLE:
22992 724060 : case CONST_VECTOR:
22993 724060 : operands[2] = x4;
22994 724060 : switch (GET_MODE (operands[0]))
22995 : {
22996 79585 : case E_V4SFmode:
22997 79585 : if (pattern964 (x2,
22998 : E_V2SFmode,
22999 : E_V4SFmode) == 0
23000 79585 : && insn_condition_141 (operands, insn))
23001 : return 5453; /* *vec_concatv4sf_0 */
23002 : break;
23003 :
23004 634 : case E_V8HFmode:
23005 634 : if (pattern964 (x2,
23006 : E_V4HFmode,
23007 : E_V8HFmode) == 0
23008 634 : && insn_condition_141 (operands, insn))
23009 : return 5454; /* *vec_concatv8hf_0 */
23010 : break;
23011 :
23012 0 : case E_V8BFmode:
23013 0 : if (pattern964 (x2,
23014 : E_V4BFmode,
23015 : E_V8BFmode) == 0
23016 0 : && insn_condition_141 (operands, insn))
23017 : return 5455; /* *vec_concatv8bf_0 */
23018 : break;
23019 :
23020 15 : case E_V16QImode:
23021 15 : if (pattern964 (x2,
23022 : E_V8QImode,
23023 : E_V16QImode) == 0
23024 15 : && insn_condition_141 (operands, insn))
23025 : return 7152; /* *vec_concatv16qi_0 */
23026 : break;
23027 :
23028 32 : case E_V8HImode:
23029 32 : if (pattern964 (x2,
23030 : E_V4HImode,
23031 : E_V8HImode) == 0
23032 32 : && insn_condition_141 (operands, insn))
23033 : return 7153; /* *vec_concatv8hi_0 */
23034 : break;
23035 :
23036 19714 : case E_V4SImode:
23037 19714 : if (pattern964 (x2,
23038 : E_V2SImode,
23039 : E_V4SImode) == 0
23040 19714 : && insn_condition_141 (operands, insn))
23041 : return 7154; /* *vec_concatv4si_0 */
23042 : break;
23043 :
23044 603030 : case E_V2DImode:
23045 603030 : if (pattern964 (x2,
23046 : E_DImode,
23047 : E_V2DImode) == 0
23048 603030 : && insn_condition_141 (operands, insn))
23049 : return 7156; /* *vec_concatv2di_0 */
23050 : break;
23051 :
23052 : default:
23053 : break;
23054 : }
23055 : break;
23056 :
23057 : default:
23058 : break;
23059 : }
23060 545841 : operands[2] = x4;
23061 545841 : switch (GET_MODE (operands[0]))
23062 : {
23063 78264 : case E_V2DFmode:
23064 78264 : if (pattern833 (x2,
23065 : E_DFmode,
23066 : E_V2DFmode) != 0
23067 78264 : || !insn_condition_1661 (operands, insn))
23068 14883 : return -1;
23069 : return 5901; /* vec_concatv2df */
23070 :
23071 6503 : case E_V32QImode:
23072 6503 : if (pattern833 (x2,
23073 : E_V16QImode,
23074 : E_V32QImode) != 0
23075 6503 : || !insn_condition_1662 (operands, insn))
23076 5170 : return -1;
23077 : return 8302; /* avx_vec_concatv32qi */
23078 :
23079 10511 : case E_V16HImode:
23080 10511 : if (pattern833 (x2,
23081 : E_V8HImode,
23082 : E_V16HImode) != 0
23083 10511 : || !insn_condition_1663 (operands, insn))
23084 7503 : return -1;
23085 : return 8303; /* avx_vec_concatv16hi */
23086 :
23087 4341 : case E_V16HFmode:
23088 4341 : if (pattern833 (x2,
23089 : E_V8HFmode,
23090 : E_V16HFmode) != 0
23091 4341 : || !insn_condition_1664 (operands, insn))
23092 1631 : return -1;
23093 : return 8304; /* avx_vec_concatv16hf */
23094 :
23095 6630 : case E_V16BFmode:
23096 6630 : if (pattern833 (x2,
23097 : E_V8BFmode,
23098 : E_V16BFmode) != 0
23099 6630 : || !insn_condition_1665 (operands, insn))
23100 3286 : return -1;
23101 : return 8305; /* avx_vec_concatv16bf */
23102 :
23103 49345 : case E_V8SImode:
23104 49345 : if (pattern833 (x2,
23105 : E_V4SImode,
23106 : E_V8SImode) != 0
23107 49345 : || !insn_condition_1666 (operands, insn))
23108 41857 : return -1;
23109 : return 8306; /* avx_vec_concatv8si */
23110 :
23111 26050 : case E_V8SFmode:
23112 26050 : if (pattern833 (x2,
23113 : E_V4SFmode,
23114 : E_V8SFmode) != 0
23115 26050 : || !insn_condition_1667 (operands, insn))
23116 22706 : return -1;
23117 : return 8308; /* avx_vec_concatv8sf */
23118 :
23119 9323 : case E_V4DFmode:
23120 9323 : if (pattern833 (x2,
23121 : E_V2DFmode,
23122 : E_V4DFmode) != 0
23123 9323 : || !insn_condition_1668 (operands, insn))
23124 2338 : return -1;
23125 : return 8309; /* avx_vec_concatv4df */
23126 :
23127 793 : case E_V64QImode:
23128 793 : if (pattern833 (x2,
23129 : E_V32QImode,
23130 : E_V64QImode) != 0
23131 793 : || !insn_condition_1669 (operands, insn))
23132 140 : return -1;
23133 : return 8310; /* avx_vec_concatv64qi */
23134 :
23135 845 : case E_V32HImode:
23136 845 : if (pattern833 (x2,
23137 : E_V16HImode,
23138 : E_V32HImode) != 0
23139 845 : || !insn_condition_1670 (operands, insn))
23140 251 : return -1;
23141 : return 8311; /* avx_vec_concatv32hi */
23142 :
23143 610 : case E_V32HFmode:
23144 610 : if (pattern833 (x2,
23145 : E_V16HFmode,
23146 : E_V32HFmode) != 0
23147 610 : || !insn_condition_1671 (operands, insn))
23148 146 : return -1;
23149 : return 8312; /* avx_vec_concatv32hf */
23150 :
23151 733 : case E_V32BFmode:
23152 733 : if (pattern833 (x2,
23153 : E_V16BFmode,
23154 : E_V32BFmode) != 0
23155 733 : || !insn_condition_1672 (operands, insn))
23156 423 : return -1;
23157 : return 8313; /* avx_vec_concatv32bf */
23158 :
23159 818 : case E_V16SImode:
23160 818 : if (pattern833 (x2,
23161 : E_V8SImode,
23162 : E_V16SImode) != 0
23163 818 : || !insn_condition_1673 (operands, insn))
23164 324 : return -1;
23165 : return 8314; /* avx_vec_concatv16si */
23166 :
23167 737 : case E_V8DImode:
23168 737 : if (pattern833 (x2,
23169 : E_V4DImode,
23170 : E_V8DImode) != 0
23171 737 : || !insn_condition_1674 (operands, insn))
23172 152 : return -1;
23173 : return 8315; /* avx_vec_concatv8di */
23174 :
23175 1270 : case E_V16SFmode:
23176 1270 : if (pattern833 (x2,
23177 : E_V8SFmode,
23178 : E_V16SFmode) != 0
23179 1270 : || !insn_condition_1675 (operands, insn))
23180 817 : return -1;
23181 : return 8316; /* avx_vec_concatv16sf */
23182 :
23183 517 : case E_V8DFmode:
23184 517 : if (pattern833 (x2,
23185 : E_V4DFmode,
23186 : E_V8DFmode) != 0
23187 517 : || !insn_condition_1676 (operands, insn))
23188 69 : return -1;
23189 : return 8317; /* avx_vec_concatv8df */
23190 :
23191 : default:
23192 : return -1;
23193 : }
23194 : }
23195 :
23196 : int
23197 26012 : recog_296 (rtx x1 ATTRIBUTE_UNUSED,
23198 : rtx_insn *insn ATTRIBUTE_UNUSED,
23199 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23200 : {
23201 26012 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23202 26012 : rtx x2, x3, x4, x5, x6, x7, x8;
23203 26012 : int res ATTRIBUTE_UNUSED;
23204 26012 : x2 = XEXP (x1, 1);
23205 26012 : x3 = XEXP (x2, 0);
23206 26012 : x4 = XEXP (x3, 1);
23207 26012 : if (GET_CODE (x4) != PARALLEL)
23208 : return -1;
23209 26012 : x5 = XEXP (x3, 0);
23210 26012 : operands[1] = x5;
23211 26012 : x6 = XEXP (x2, 1);
23212 26012 : operands[2] = x6;
23213 26012 : switch (XVECLEN (x4, 0))
23214 : {
23215 16934 : case 1:
23216 16934 : x7 = XVECEXP (x4, 0, 0);
23217 16934 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
23218 : return -1;
23219 16757 : switch (GET_CODE (operands[2]))
23220 : {
23221 620 : case CONST_INT:
23222 620 : case CONST_DOUBLE:
23223 620 : case CONST_VECTOR:
23224 620 : switch (GET_MODE (operands[0]))
23225 : {
23226 236 : case E_V2DImode:
23227 236 : if (pattern1180 (x2,
23228 : E_DImode,
23229 : E_V2DImode) != 0
23230 236 : || !insn_condition_141 (operands, insn))
23231 57 : return -1;
23232 : return 2720; /* *sse2_movq128_v2di */
23233 :
23234 307 : case E_V2DFmode:
23235 307 : if (pattern1180 (x2,
23236 : E_DFmode,
23237 : E_V2DFmode) != 0
23238 307 : || !insn_condition_141 (operands, insn))
23239 123 : return -1;
23240 : return 2721; /* *sse2_movq128_v2df */
23241 :
23242 : default:
23243 : return -1;
23244 : }
23245 :
23246 11431 : case REG:
23247 11431 : case SUBREG:
23248 11431 : case MEM:
23249 11431 : if (!nonimmediate_operand (operands[2], E_DFmode)
23250 8204 : || pattern1181 (x2,
23251 : E_V2DFmode,
23252 : E_DFmode) != 0
23253 16584 : || !insn_condition_1660 (operands, insn))
23254 6326 : return -1;
23255 : return 5895; /* sse2_loadhpd */
23256 :
23257 : default:
23258 : return -1;
23259 : }
23260 :
23261 3532 : case 2:
23262 3532 : x7 = XVECEXP (x4, 0, 0);
23263 3532 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
23264 : return -1;
23265 2361 : x8 = XVECEXP (x4, 0, 1);
23266 2361 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
23267 : return -1;
23268 808 : switch (GET_MODE (operands[0]))
23269 : {
23270 91 : case E_V4SFmode:
23271 91 : if (pattern1181 (x2,
23272 : E_V4SFmode,
23273 : E_V2SFmode) != 0
23274 90 : || !nonimmediate_operand (operands[2], E_V2SFmode)
23275 176 : || !insn_condition_148 (operands, insn))
23276 6 : return -1;
23277 : return 5438; /* sse_loadhps */
23278 :
23279 219 : case E_V4DImode:
23280 219 : if (pattern1182 (x2,
23281 : E_V2DImode,
23282 : E_V4DImode) != 0
23283 219 : || !insn_condition_1344 (operands, insn))
23284 65 : return -1;
23285 : return 8161; /* vec_set_hi_v4di */
23286 :
23287 465 : case E_V4DFmode:
23288 465 : if (pattern1182 (x2,
23289 : E_V2DFmode,
23290 : E_V4DFmode) != 0
23291 465 : || !insn_condition_1344 (operands, insn))
23292 64 : return -1;
23293 : return 8163; /* vec_set_hi_v4df */
23294 :
23295 : default:
23296 : return -1;
23297 : }
23298 :
23299 3142 : case 8:
23300 3142 : if (pattern711 (x4) != 0)
23301 : return -1;
23302 3142 : switch (GET_MODE (operands[0]))
23303 : {
23304 3040 : case E_V16SFmode:
23305 3040 : if (pattern1182 (x2,
23306 : E_V8SFmode,
23307 : E_V16SFmode) != 0
23308 3040 : || !insn_condition_78 (operands, insn))
23309 2277 : return -1;
23310 : return 7067; /* vec_set_hi_v16sf */
23311 :
23312 59 : case E_V16SImode:
23313 59 : if (pattern1182 (x2,
23314 : E_V8SImode,
23315 : E_V16SImode) != 0
23316 59 : || !insn_condition_78 (operands, insn))
23317 0 : return -1;
23318 : return 7069; /* vec_set_hi_v16si */
23319 :
23320 21 : case E_V16HImode:
23321 21 : if (pattern1182 (x2,
23322 : E_V8HImode,
23323 : E_V16HImode) != 0
23324 21 : || !insn_condition_122 (operands, insn))
23325 9 : return -1;
23326 : return 8176; /* vec_set_hi_v16hi */
23327 :
23328 0 : case E_V16HFmode:
23329 0 : if (pattern1182 (x2,
23330 : E_V8HFmode,
23331 : E_V16HFmode) != 0
23332 0 : || !insn_condition_122 (operands, insn))
23333 0 : return -1;
23334 : return 8177; /* vec_set_hi_v16hf */
23335 :
23336 22 : case E_V16BFmode:
23337 22 : if (pattern1182 (x2,
23338 : E_V8BFmode,
23339 : E_V16BFmode) != 0
23340 22 : || !insn_condition_122 (operands, insn))
23341 6 : return -1;
23342 : return 8178; /* vec_set_hi_v16bf */
23343 :
23344 : default:
23345 : return -1;
23346 : }
23347 :
23348 2395 : case 4:
23349 2395 : if (pattern712 (x4,
23350 : 3,
23351 : 2,
23352 : 1) != 0)
23353 : return -1;
23354 1771 : switch (GET_MODE (operands[0]))
23355 : {
23356 211 : case E_V8DFmode:
23357 211 : if (pattern1182 (x2,
23358 : E_V4DFmode,
23359 : E_V8DFmode) != 0
23360 211 : || !insn_condition_27 (operands, insn))
23361 33 : return -1;
23362 : return 7075; /* vec_set_hi_v8df */
23363 :
23364 122 : case E_V8DImode:
23365 122 : if (pattern1182 (x2,
23366 : E_V4DImode,
23367 : E_V8DImode) != 0
23368 122 : || !insn_condition_27 (operands, insn))
23369 21 : return -1;
23370 : return 7077; /* vec_set_hi_v8di */
23371 :
23372 887 : case E_V8SImode:
23373 887 : if (pattern1182 (x2,
23374 : E_V4SImode,
23375 : E_V8SImode) != 0
23376 887 : || !insn_condition_122 (operands, insn))
23377 245 : return -1;
23378 : return 8169; /* vec_set_hi_v8si */
23379 :
23380 551 : case E_V8SFmode:
23381 551 : if (pattern1182 (x2,
23382 : E_V4SFmode,
23383 : E_V8SFmode) != 0
23384 551 : || !insn_condition_122 (operands, insn))
23385 56 : return -1;
23386 : return 8171; /* vec_set_hi_v8sf */
23387 :
23388 : default:
23389 : return -1;
23390 : }
23391 :
23392 9 : case 16:
23393 9 : if (pattern827 (x4,
23394 : 6,
23395 : 5,
23396 : 4) != 0
23397 9 : || pattern1522 (x4,
23398 : 11,
23399 : 10,
23400 : 9,
23401 : 8,
23402 : 7) != 0
23403 9 : || pattern1182 (x2,
23404 : E_V16QImode,
23405 : E_V32QImode) != 0
23406 14 : || !insn_condition_122 (operands, insn))
23407 4 : return -1;
23408 : return 8180; /* vec_set_hi_v32qi */
23409 :
23410 : default:
23411 : return -1;
23412 : }
23413 : }
23414 :
23415 : int
23416 738053 : recog_298 (rtx x1 ATTRIBUTE_UNUSED,
23417 : rtx_insn *insn ATTRIBUTE_UNUSED,
23418 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23419 : {
23420 738053 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23421 738053 : rtx x2, x3, x4, x5, x6, x7, x8;
23422 738053 : int res ATTRIBUTE_UNUSED;
23423 738053 : x2 = XEXP (x1, 1);
23424 738053 : x3 = XEXP (x2, 0);
23425 738053 : switch (GET_CODE (x3))
23426 : {
23427 621014 : case REG:
23428 621014 : case SUBREG:
23429 621014 : case MEM:
23430 621014 : operands[1] = x3;
23431 621014 : x4 = XEXP (x2, 1);
23432 621014 : operands[2] = x4;
23433 621014 : switch (GET_MODE (operands[0]))
23434 : {
23435 2260 : case E_V32QImode:
23436 2260 : if (pattern3 (x2,
23437 : E_V32QImode) != 0
23438 2260 : || !insn_condition_1682 (operands, insn))
23439 960 : return -1;
23440 : return 6591; /* *avx2_eqv32qi3 */
23441 :
23442 3129 : case E_V16HImode:
23443 3129 : if (pattern3 (x2,
23444 : E_V16HImode) != 0
23445 3129 : || !insn_condition_1682 (operands, insn))
23446 1346 : return -1;
23447 : return 6592; /* *avx2_eqv16hi3 */
23448 :
23449 14856 : case E_V8SImode:
23450 14856 : if (pattern3 (x2,
23451 : E_V8SImode) != 0
23452 14856 : || !insn_condition_1682 (operands, insn))
23453 6827 : return -1;
23454 : return 6593; /* *avx2_eqv8si3 */
23455 :
23456 7999 : case E_V4DImode:
23457 7999 : if (pattern3 (x2,
23458 : E_V4DImode) != 0
23459 7999 : || !insn_condition_1682 (operands, insn))
23460 3509 : return -1;
23461 : return 6594; /* *avx2_eqv4di3 */
23462 :
23463 12271 : case E_V2DImode:
23464 12271 : if (pattern26 (x2,
23465 : E_V2DImode) != 0
23466 12271 : || !insn_condition_1683 (operands, insn))
23467 5270 : return -1;
23468 : return 6657; /* *sse4_1_eqv2di3 */
23469 :
23470 27899 : case E_V16QImode:
23471 27899 : if (pattern26 (x2,
23472 : E_V16QImode) != 0
23473 27899 : || !insn_condition_1684 (operands, insn))
23474 11410 : return -1;
23475 : return 6658; /* *sse2_eqv16qi3 */
23476 :
23477 21813 : case E_V8HImode:
23478 21813 : if (pattern26 (x2,
23479 : E_V8HImode) != 0
23480 21813 : || !insn_condition_1684 (operands, insn))
23481 9256 : return -1;
23482 : return 6659; /* *sse2_eqv8hi3 */
23483 :
23484 139630 : case E_V4SImode:
23485 139630 : if (pattern26 (x2,
23486 : E_V4SImode) != 0
23487 139630 : || !insn_condition_1684 (operands, insn))
23488 47789 : return -1;
23489 : return 6660; /* *sse2_eqv4si3 */
23490 :
23491 : default:
23492 : return -1;
23493 : }
23494 :
23495 25628 : case EQ:
23496 25628 : x5 = XEXP (x3, 0);
23497 25628 : if (GET_CODE (x5) != EQ)
23498 : return -1;
23499 38 : x6 = XEXP (x5, 0);
23500 38 : operands[1] = x6;
23501 38 : x7 = XEXP (x5, 1);
23502 38 : operands[2] = x7;
23503 38 : x8 = XEXP (x3, 1);
23504 38 : operands[3] = x8;
23505 38 : x4 = XEXP (x2, 1);
23506 38 : operands[4] = x4;
23507 38 : switch (GET_MODE (operands[0]))
23508 : {
23509 8 : case E_V32QImode:
23510 8 : if (pattern1183 (x2,
23511 : E_V32QImode) != 0
23512 8 : || !insn_condition_1685 (operands, insn))
23513 6 : return -1;
23514 : return 6595; /* *eqv32qi3_2_negate */
23515 :
23516 4 : case E_V16QImode:
23517 4 : if (pattern1183 (x2,
23518 : E_V16QImode) != 0
23519 4 : || !insn_condition_1558 (operands, insn))
23520 4 : return -1;
23521 : return 6596; /* *eqv16qi3_2_negate */
23522 :
23523 4 : case E_V16HImode:
23524 4 : if (pattern1183 (x2,
23525 : E_V16HImode) != 0
23526 4 : || !insn_condition_1685 (operands, insn))
23527 4 : return -1;
23528 : return 6597; /* *eqv16hi3_2_negate */
23529 :
23530 4 : case E_V8HImode:
23531 4 : if (pattern1183 (x2,
23532 : E_V8HImode) != 0
23533 4 : || !insn_condition_1558 (operands, insn))
23534 4 : return -1;
23535 : return 6598; /* *eqv8hi3_2_negate */
23536 :
23537 6 : case E_V8SImode:
23538 6 : if (pattern1183 (x2,
23539 : E_V8SImode) != 0
23540 6 : || !insn_condition_1685 (operands, insn))
23541 5 : return -1;
23542 : return 6599; /* *eqv8si3_2_negate */
23543 :
23544 4 : case E_V4SImode:
23545 4 : if (pattern1183 (x2,
23546 : E_V4SImode) != 0
23547 4 : || !insn_condition_1558 (operands, insn))
23548 4 : return -1;
23549 : return 6600; /* *eqv4si3_2_negate */
23550 :
23551 6 : case E_V4DImode:
23552 6 : if (pattern1183 (x2,
23553 : E_V4DImode) != 0
23554 6 : || !insn_condition_1685 (operands, insn))
23555 5 : return -1;
23556 : return 6601; /* *eqv4di3_2_negate */
23557 :
23558 2 : case E_V2DImode:
23559 2 : if (pattern1183 (x2,
23560 : E_V2DImode) != 0
23561 2 : || !insn_condition_1558 (operands, insn))
23562 2 : return -1;
23563 : return 6602; /* *eqv2di3_2_negate */
23564 :
23565 : default:
23566 : return -1;
23567 : }
23568 :
23569 : default:
23570 : return -1;
23571 : }
23572 : }
23573 :
23574 : int
23575 1201886 : recog_302 (rtx x1 ATTRIBUTE_UNUSED,
23576 : rtx_insn *insn ATTRIBUTE_UNUSED,
23577 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23578 : {
23579 1201886 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23580 1201886 : rtx x2, x3, x4, x5, x6, x7;
23581 1201886 : int res ATTRIBUTE_UNUSED;
23582 1201886 : x2 = XEXP (x1, 1);
23583 1201886 : x3 = XEXP (x2, 1);
23584 1201886 : x4 = XVECEXP (x3, 0, 0);
23585 1201886 : if (GET_CODE (x4) != CONST_INT)
23586 : return -1;
23587 1201886 : x5 = XVECEXP (x3, 0, 1);
23588 1201886 : if (GET_CODE (x5) == CONST_INT)
23589 : {
23590 1201886 : res = recog_300 (x1, insn, pnum_clobbers);
23591 1201886 : if (res >= 0)
23592 : return res;
23593 : }
23594 1095970 : operands[3] = x4;
23595 1095970 : res = recog_301 (x1, insn, pnum_clobbers);
23596 1095970 : if (res >= 0)
23597 : return res;
23598 597698 : if (GET_CODE (x5) != CONST_INT)
23599 : return -1;
23600 597698 : x6 = XVECEXP (x3, 0, 2);
23601 597698 : if (GET_CODE (x6) != CONST_INT)
23602 : return -1;
23603 597698 : x7 = XVECEXP (x3, 0, 3);
23604 597698 : if (GET_CODE (x7) != CONST_INT
23605 597698 : || pattern1354 (x2,
23606 : E_V4SImode,
23607 : E_V8SImode) != 0)
23608 : return -1;
23609 315785 : switch (XWINT (x4, 0))
23610 : {
23611 56011 : case 2L:
23612 56011 : if (XWINT (x5, 0) != 6L
23613 52224 : || XWINT (x6, 0) != 3L
23614 51872 : || XWINT (x7, 0) != 7L
23615 107841 : || !insn_condition_1343 (operands, insn))
23616 4181 : return -1;
23617 : return 7036; /* vec_interleave_highv4si */
23618 :
23619 195000 : case 0L:
23620 195000 : if (XWINT (x5, 0) != 4L
23621 189924 : || XWINT (x6, 0) != 1L
23622 188680 : || XWINT (x7, 0) != 5L)
23623 : return -1;
23624 188634 : if (insn_condition_1343 (operands, insn))
23625 : return 7042; /* vec_interleave_lowv4si */
23626 33 : if (!insn_condition_1690 (operands, insn))
23627 0 : return -1;
23628 : return 7044; /* *vec_interleave_lowv4si_sse */
23629 :
23630 : default:
23631 : return -1;
23632 : }
23633 : }
23634 :
23635 : int
23636 398578 : recog_303 (rtx x1 ATTRIBUTE_UNUSED,
23637 : rtx_insn *insn ATTRIBUTE_UNUSED,
23638 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23639 : {
23640 398578 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23641 398578 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23642 398578 : rtx x10, x11, x12, x13;
23643 398578 : int res ATTRIBUTE_UNUSED;
23644 398578 : x2 = XEXP (x1, 1);
23645 398578 : x3 = XEXP (x2, 1);
23646 398578 : if (pattern971 (x3) != 0)
23647 : return -1;
23648 398578 : x4 = XVECEXP (x3, 0, 0);
23649 398578 : switch (XWINT (x4, 0))
23650 : {
23651 232745 : case 0L:
23652 232745 : x5 = XVECEXP (x3, 0, 1);
23653 232745 : switch (XWINT (x5, 0))
23654 : {
23655 11936 : case 1L:
23656 11936 : x6 = XVECEXP (x3, 0, 2);
23657 11936 : if (XWINT (x6, 0) != 2L)
23658 : return -1;
23659 6265 : x7 = XVECEXP (x3, 0, 3);
23660 6265 : if (XWINT (x7, 0) != 3L)
23661 : return -1;
23662 6196 : x8 = XVECEXP (x3, 0, 4);
23663 6196 : if (XWINT (x8, 0) != 8L)
23664 : return -1;
23665 5500 : x9 = XVECEXP (x3, 0, 5);
23666 5500 : if (XWINT (x9, 0) != 9L)
23667 : return -1;
23668 5499 : x10 = XVECEXP (x3, 0, 6);
23669 5499 : if (XWINT (x10, 0) != 10L)
23670 : return -1;
23671 5499 : x11 = XVECEXP (x3, 0, 7);
23672 5499 : if (XWINT (x11, 0) != 11L)
23673 : return -1;
23674 5499 : x12 = XEXP (x2, 0);
23675 5499 : x13 = XEXP (x12, 1);
23676 5499 : operands[2] = x13;
23677 5499 : switch (GET_MODE (operands[0]))
23678 : {
23679 366 : case E_V8HImode:
23680 366 : if (pattern1525 (x2,
23681 : E_V8HImode,
23682 : E_V16HImode) != 0
23683 366 : || !insn_condition_1691 (operands, insn))
23684 49 : return -1;
23685 : return 5405; /* sse_movlhps_v8hi */
23686 :
23687 202 : case E_V8HFmode:
23688 202 : if (pattern1525 (x2,
23689 : E_V8HFmode,
23690 : E_V16HFmode) != 0
23691 202 : || !insn_condition_1692 (operands, insn))
23692 141 : return -1;
23693 : return 5406; /* sse_movlhps_v8hf */
23694 :
23695 0 : case E_V8BFmode:
23696 0 : if (pattern1525 (x2,
23697 : E_V8BFmode,
23698 : E_V16BFmode) != 0
23699 0 : || !insn_condition_1693 (operands, insn))
23700 0 : return -1;
23701 : return 5407; /* sse_movlhps_v8bf */
23702 :
23703 : default:
23704 : return -1;
23705 : }
23706 :
23707 196632 : case 8L:
23708 196632 : x6 = XVECEXP (x3, 0, 2);
23709 196632 : switch (XWINT (x6, 0))
23710 : {
23711 193120 : case 1L:
23712 193120 : x7 = XVECEXP (x3, 0, 3);
23713 193120 : if (XWINT (x7, 0) != 9L)
23714 : return -1;
23715 192734 : x12 = XEXP (x2, 0);
23716 192734 : x13 = XEXP (x12, 1);
23717 192734 : operands[2] = x13;
23718 192734 : x8 = XVECEXP (x3, 0, 4);
23719 192734 : switch (XWINT (x8, 0))
23720 : {
23721 253 : case 4L:
23722 253 : x9 = XVECEXP (x3, 0, 5);
23723 253 : if (XWINT (x9, 0) != 12L)
23724 : return -1;
23725 253 : x10 = XVECEXP (x3, 0, 6);
23726 253 : if (XWINT (x10, 0) != 5L)
23727 : return -1;
23728 251 : x11 = XVECEXP (x3, 0, 7);
23729 251 : if (XWINT (x11, 0) != 13L)
23730 : return -1;
23731 251 : switch (GET_MODE (operands[0]))
23732 : {
23733 124 : case E_V8SFmode:
23734 124 : if (pattern1458 (x2,
23735 : E_V8SFmode,
23736 : E_V16SFmode) != 0
23737 124 : || !insn_condition_1344 (operands, insn))
23738 11 : return -1;
23739 : return 5416; /* avx_unpcklps256 */
23740 :
23741 127 : case E_V8SImode:
23742 127 : if (pattern1458 (x2,
23743 : E_V8SImode,
23744 : E_V16SImode) != 0
23745 127 : || !insn_condition_1521 (operands, insn))
23746 2 : return -1;
23747 : return 7038; /* avx2_interleave_lowv8si */
23748 :
23749 : default:
23750 : return -1;
23751 : }
23752 :
23753 192454 : case 2L:
23754 192454 : x9 = XVECEXP (x3, 0, 5);
23755 192454 : if (XWINT (x9, 0) != 10L)
23756 : return -1;
23757 192454 : x10 = XVECEXP (x3, 0, 6);
23758 192454 : if (XWINT (x10, 0) != 3L)
23759 : return -1;
23760 192454 : x11 = XVECEXP (x3, 0, 7);
23761 192454 : if (XWINT (x11, 0) != 11L)
23762 : return -1;
23763 192454 : switch (GET_MODE (operands[0]))
23764 : {
23765 162946 : case E_V8HImode:
23766 162946 : if (pattern1526 (x2,
23767 : E_V8HImode,
23768 : E_V16HImode) != 0
23769 162946 : || !insn_condition_1622 (operands, insn))
23770 24132 : return -1;
23771 : return 7026; /* vec_interleave_lowv8hi */
23772 :
23773 16587 : case E_V8HFmode:
23774 16587 : if (pattern1526 (x2,
23775 : E_V8HFmode,
23776 : E_V16HFmode) != 0
23777 16587 : || !insn_condition_1622 (operands, insn))
23778 4217 : return -1;
23779 : return 7028; /* vec_interleave_lowv8hf */
23780 :
23781 12332 : case E_V8BFmode:
23782 12332 : if (pattern1526 (x2,
23783 : E_V8BFmode,
23784 : E_V16BFmode) != 0
23785 12332 : || !insn_condition_1622 (operands, insn))
23786 2112 : return -1;
23787 : return 7030; /* vec_interleave_lowv8bf */
23788 :
23789 : default:
23790 : return -1;
23791 : }
23792 :
23793 : default:
23794 : return -1;
23795 : }
23796 :
23797 2149 : case 2L:
23798 2149 : x7 = XVECEXP (x3, 0, 3);
23799 2149 : if (XWINT (x7, 0) != 10L)
23800 : return -1;
23801 1259 : x8 = XVECEXP (x3, 0, 4);
23802 1259 : if (XWINT (x8, 0) != 4L)
23803 : return -1;
23804 1259 : x9 = XVECEXP (x3, 0, 5);
23805 1259 : if (XWINT (x9, 0) != 12L)
23806 : return -1;
23807 1259 : x10 = XVECEXP (x3, 0, 6);
23808 1259 : if (XWINT (x10, 0) != 6L)
23809 : return -1;
23810 1259 : x11 = XVECEXP (x3, 0, 7);
23811 1259 : if (XWINT (x11, 0) != 14L)
23812 : return -1;
23813 1259 : switch (GET_MODE (operands[0]))
23814 : {
23815 200 : case E_V8DFmode:
23816 200 : if (!register_operand (operands[0], E_V8DFmode)
23817 200 : || GET_MODE (x2) != E_V8DFmode)
23818 : return -1;
23819 188 : x12 = XEXP (x2, 0);
23820 188 : if (GET_MODE (x12) != E_V16DFmode)
23821 : return -1;
23822 188 : if (nonimmediate_operand (operands[1], E_V8DFmode))
23823 : {
23824 188 : x13 = XEXP (x12, 1);
23825 188 : if (rtx_equal_p (x13, operands[1])
23826 188 : && insn_condition_27 (operands, insn))
23827 : return 5576; /* avx512f_movddup512 */
23828 : }
23829 111 : if (!register_operand (operands[1], E_V8DFmode))
23830 : return -1;
23831 110 : x13 = XEXP (x12, 1);
23832 110 : operands[2] = x13;
23833 110 : if (!nonimmediate_operand (operands[2], E_V8DFmode)
23834 110 : || !insn_condition_27 (operands, insn))
23835 0 : return -1;
23836 : return 5578; /* avx512f_unpcklpd512 */
23837 :
23838 118 : case E_V8DImode:
23839 118 : if (pattern1676 (x2,
23840 : E_V8DImode,
23841 : E_V16DImode) != 0
23842 118 : || !insn_condition_27 (operands, insn))
23843 6 : return -1;
23844 : return 5885; /* *avx512f_interleave_lowv8di */
23845 :
23846 : default:
23847 : return -1;
23848 : }
23849 :
23850 : default:
23851 : return -1;
23852 : }
23853 :
23854 3289 : case 0L:
23855 3289 : if (pattern1720 (x3) != 0
23856 516 : || pattern1855 (x2,
23857 : E_V8SFmode,
23858 : E_V16SFmode) != 0
23859 3373 : || !insn_condition_1344 (operands, insn))
23860 3205 : return -1;
23861 : return 5426; /* avx_movsldup256 */
23862 :
23863 : default:
23864 : return -1;
23865 : }
23866 :
23867 4844 : case 2L:
23868 4844 : x5 = XVECEXP (x3, 0, 1);
23869 4844 : if (XWINT (x5, 0) != 10L)
23870 : return -1;
23871 263 : x6 = XVECEXP (x3, 0, 2);
23872 263 : if (XWINT (x6, 0) != 3L)
23873 : return -1;
23874 240 : x7 = XVECEXP (x3, 0, 3);
23875 240 : if (XWINT (x7, 0) != 11L
23876 240 : || pattern1768 (x2) != 0)
23877 : return -1;
23878 240 : switch (GET_MODE (operands[0]))
23879 : {
23880 113 : case E_V8SFmode:
23881 113 : if (pattern1458 (x2,
23882 : E_V8SFmode,
23883 : E_V16SFmode) != 0
23884 113 : || !insn_condition_1344 (operands, insn))
23885 6 : return -1;
23886 : return 5410; /* avx_unpckhps256 */
23887 :
23888 127 : case E_V8SImode:
23889 127 : if (pattern1458 (x2,
23890 : E_V8SImode,
23891 : E_V16SImode) != 0
23892 127 : || !insn_condition_1521 (operands, insn))
23893 2 : return -1;
23894 : return 7032; /* avx2_interleave_highv8si */
23895 :
23896 : default:
23897 : return -1;
23898 : }
23899 :
23900 19671 : case 1L:
23901 19671 : x6 = XVECEXP (x3, 0, 2);
23902 19671 : if (XWINT (x6, 0) != 3L)
23903 : return -1;
23904 8033 : x8 = XVECEXP (x3, 0, 4);
23905 8033 : if (XWINT (x8, 0) != 5L)
23906 : return -1;
23907 7956 : x10 = XVECEXP (x3, 0, 6);
23908 7956 : if (XWINT (x10, 0) != 7L)
23909 : return -1;
23910 7940 : x5 = XVECEXP (x3, 0, 1);
23911 7940 : switch (XWINT (x5, 0))
23912 : {
23913 449 : case 1L:
23914 449 : x7 = XVECEXP (x3, 0, 3);
23915 449 : if (XWINT (x7, 0) != 3L)
23916 : return -1;
23917 449 : x9 = XVECEXP (x3, 0, 5);
23918 449 : if (XWINT (x9, 0) != 5L)
23919 : return -1;
23920 377 : x11 = XVECEXP (x3, 0, 7);
23921 377 : if (XWINT (x11, 0) != 7L
23922 377 : || pattern1855 (x2,
23923 : E_V8SFmode,
23924 : E_V16SFmode) != 0
23925 460 : || !insn_condition_1344 (operands, insn))
23926 294 : return -1;
23927 : return 5420; /* avx_movshdup256 */
23928 :
23929 1123 : case 9L:
23930 1123 : x7 = XVECEXP (x3, 0, 3);
23931 1123 : if (XWINT (x7, 0) != 11L)
23932 : return -1;
23933 1123 : x9 = XVECEXP (x3, 0, 5);
23934 1123 : if (XWINT (x9, 0) != 13L)
23935 : return -1;
23936 1123 : x11 = XVECEXP (x3, 0, 7);
23937 1123 : if (XWINT (x11, 0) != 15L)
23938 : return -1;
23939 1123 : x12 = XEXP (x2, 0);
23940 1123 : x13 = XEXP (x12, 1);
23941 1123 : operands[2] = x13;
23942 1123 : switch (GET_MODE (operands[0]))
23943 : {
23944 130 : case E_V8DFmode:
23945 130 : if (pattern1458 (x2,
23946 : E_V8DFmode,
23947 : E_V16DFmode) != 0
23948 130 : || !insn_condition_27 (operands, insn))
23949 8 : return -1;
23950 : return 5570; /* *avx512f_unpckhpd512 */
23951 :
23952 131 : case E_V8DImode:
23953 131 : if (pattern1458 (x2,
23954 : E_V8DImode,
23955 : E_V16DImode) != 0
23956 131 : || !insn_condition_27 (operands, insn))
23957 8 : return -1;
23958 : return 5879; /* *avx512f_interleave_highv8di */
23959 :
23960 : default:
23961 : return -1;
23962 : }
23963 :
23964 : default:
23965 : return -1;
23966 : }
23967 :
23968 108749 : case 4L:
23969 108749 : x5 = XVECEXP (x3, 0, 1);
23970 108749 : if (XWINT (x5, 0) != 12L)
23971 : return -1;
23972 102389 : x6 = XVECEXP (x3, 0, 2);
23973 102389 : if (XWINT (x6, 0) != 5L)
23974 : return -1;
23975 102363 : x7 = XVECEXP (x3, 0, 3);
23976 102363 : if (XWINT (x7, 0) != 13L
23977 102363 : || pattern1768 (x2) != 0)
23978 : return -1;
23979 102363 : switch (GET_MODE (operands[0]))
23980 : {
23981 102031 : case E_V8HImode:
23982 102031 : if (pattern1526 (x2,
23983 : E_V8HImode,
23984 : E_V16HImode) != 0
23985 102031 : || !insn_condition_1622 (operands, insn))
23986 10306 : return -1;
23987 : return 7008; /* vec_interleave_highv8hi */
23988 :
23989 0 : case E_V8HFmode:
23990 0 : if (pattern1526 (x2,
23991 : E_V8HFmode,
23992 : E_V16HFmode) != 0
23993 0 : || !insn_condition_1622 (operands, insn))
23994 0 : return -1;
23995 : return 7010; /* vec_interleave_highv8hf */
23996 :
23997 0 : case E_V8BFmode:
23998 0 : if (pattern1526 (x2,
23999 : E_V8BFmode,
24000 : E_V16BFmode) != 0
24001 0 : || !insn_condition_1622 (operands, insn))
24002 0 : return -1;
24003 : return 7012; /* vec_interleave_highv8bf */
24004 :
24005 : default:
24006 : return -1;
24007 : }
24008 :
24009 : default:
24010 : return -1;
24011 : }
24012 : }
24013 :
24014 : int
24015 428375 : recog_313 (rtx x1 ATTRIBUTE_UNUSED,
24016 : rtx_insn *insn ATTRIBUTE_UNUSED,
24017 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24018 : {
24019 428375 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24020 428375 : rtx x2, x3, x4, x5, x6, x7;
24021 428375 : int res ATTRIBUTE_UNUSED;
24022 428375 : x2 = XEXP (x1, 1);
24023 428375 : x3 = XEXP (x2, 1);
24024 428375 : x4 = XVECEXP (x3, 0, 0);
24025 428375 : if (GET_CODE (x4) != CONST_INT)
24026 : return -1;
24027 428375 : operands[2] = x4;
24028 428375 : res = recog_312 (x1, insn, pnum_clobbers);
24029 428375 : if (res >= 0)
24030 : return res;
24031 197905 : x5 = XVECEXP (x3, 0, 1);
24032 197905 : if (GET_CODE (x5) != CONST_INT)
24033 : return -1;
24034 197905 : x6 = XVECEXP (x3, 0, 2);
24035 197905 : if (GET_CODE (x6) != CONST_INT)
24036 : return -1;
24037 197905 : x7 = XVECEXP (x3, 0, 3);
24038 197905 : if (GET_CODE (x7) != CONST_INT)
24039 : return -1;
24040 197905 : switch (XWINT (x4, 0))
24041 : {
24042 108202 : case 0L:
24043 108202 : if (XWINT (x5, 0) != 1L
24044 45684 : || XWINT (x6, 0) != 2L
24045 43586 : || XWINT (x7, 0) != 3L)
24046 : return -1;
24047 43134 : switch (GET_MODE (operands[0]))
24048 : {
24049 5855 : case E_V4DFmode:
24050 5855 : if (!nonimmediate_operand (operands[0], E_V4DFmode)
24051 5855 : || GET_MODE (x2) != E_V4DFmode
24052 5855 : || !nonimmediate_operand (operands[1], E_V8DFmode)
24053 11698 : || !insn_condition_1711 (operands, insn))
24054 14 : return -1;
24055 : return 5516; /* vec_extract_lo_v8df */
24056 :
24057 3558 : case E_V4DImode:
24058 3558 : if (!nonimmediate_operand (operands[0], E_V4DImode)
24059 3558 : || GET_MODE (x2) != E_V4DImode
24060 3558 : || !nonimmediate_operand (operands[1], E_V8DImode)
24061 7028 : || !insn_condition_1711 (operands, insn))
24062 88 : return -1;
24063 : return 5517; /* vec_extract_lo_v8di */
24064 :
24065 15518 : case E_V4SImode:
24066 15518 : if (!nonimmediate_operand (operands[0], E_V4SImode)
24067 15518 : || GET_MODE (x2) != E_V4SImode
24068 15518 : || !nonimmediate_operand (operands[1], E_V8SImode)
24069 30957 : || !insn_condition_1709 (operands, insn))
24070 79 : return -1;
24071 : return 5540; /* vec_extract_lo_v8si */
24072 :
24073 17249 : case E_V4SFmode:
24074 17249 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
24075 17249 : || GET_MODE (x2) != E_V4SFmode
24076 17249 : || !nonimmediate_operand (operands[1], E_V8SFmode)
24077 34490 : || !insn_condition_1709 (operands, insn))
24078 9 : return -1;
24079 : return 5541; /* vec_extract_lo_v8sf */
24080 :
24081 : default:
24082 : return -1;
24083 : }
24084 :
24085 54196 : case 4L:
24086 54196 : if (XWINT (x5, 0) != 5L
24087 54196 : || XWINT (x6, 0) != 6L
24088 54196 : || XWINT (x7, 0) != 7L)
24089 : return -1;
24090 54196 : switch (GET_MODE (operands[0]))
24091 : {
24092 8486 : case E_V4DFmode:
24093 8486 : if (!nonimmediate_operand (operands[0], E_V4DFmode)
24094 8482 : || GET_MODE (x2) != E_V4DFmode
24095 8482 : || !register_operand (operands[1], E_V8DFmode)
24096 16708 : || !insn_condition_27 (operands, insn))
24097 264 : return -1;
24098 : return 5520; /* vec_extract_hi_v8df */
24099 :
24100 5164 : case E_V4DImode:
24101 5164 : if (!nonimmediate_operand (operands[0], E_V4DImode)
24102 5160 : || GET_MODE (x2) != E_V4DImode
24103 5160 : || !register_operand (operands[1], E_V8DImode)
24104 10060 : || !insn_condition_27 (operands, insn))
24105 268 : return -1;
24106 : return 5521; /* vec_extract_hi_v8di */
24107 :
24108 17747 : case E_V4SImode:
24109 17747 : if (!nonimmediate_operand (operands[0], E_V4SImode)
24110 17747 : || GET_MODE (x2) != E_V4SImode
24111 17747 : || !register_operand (operands[1], E_V8SImode)
24112 35232 : || !insn_condition_122 (operands, insn))
24113 262 : return -1;
24114 : return 5544; /* vec_extract_hi_v8si */
24115 :
24116 22799 : case E_V4SFmode:
24117 22799 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
24118 22789 : || GET_MODE (x2) != E_V4SFmode
24119 22789 : || !register_operand (operands[1], E_V8SFmode)
24120 44906 : || !insn_condition_122 (operands, insn))
24121 692 : return -1;
24122 : return 5545; /* vec_extract_hi_v8sf */
24123 :
24124 : default:
24125 : return -1;
24126 : }
24127 :
24128 : default:
24129 : return -1;
24130 : }
24131 : }
24132 :
24133 : int
24134 18478 : recog_318 (rtx x1 ATTRIBUTE_UNUSED,
24135 : rtx_insn *insn ATTRIBUTE_UNUSED,
24136 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24137 : {
24138 18478 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24139 18478 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
24140 18478 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
24141 18478 : rtx x18, x19;
24142 18478 : int res ATTRIBUTE_UNUSED;
24143 18478 : x2 = XEXP (x1, 1);
24144 18478 : x3 = XEXP (x2, 1);
24145 18478 : if (pattern972 (x3) != 0)
24146 : return -1;
24147 18478 : x4 = XVECEXP (x3, 0, 0);
24148 18478 : switch (XWINT (x4, 0))
24149 : {
24150 9802 : case 0L:
24151 9802 : if (pattern1834 (x3) != 0)
24152 : return -1;
24153 4764 : switch (pattern1846 (x2))
24154 : {
24155 556 : case 0:
24156 556 : if (!insn_condition_1711 (operands, insn))
24157 0 : return -1;
24158 : return 5546; /* vec_extract_lo_v32hi */
24159 :
24160 327 : case 1:
24161 327 : if (!insn_condition_1711 (operands, insn))
24162 0 : return -1;
24163 : return 5547; /* vec_extract_lo_v32hf */
24164 :
24165 24 : case 2:
24166 24 : if (!insn_condition_1711 (operands, insn))
24167 0 : return -1;
24168 : return 5548; /* vec_extract_lo_v32bf */
24169 :
24170 2661 : case 3:
24171 2661 : if (!insn_condition_1713 (operands, insn))
24172 1 : return -1;
24173 : return 5560; /* vec_extract_lo_v32qi */
24174 :
24175 : default:
24176 : return -1;
24177 : }
24178 :
24179 2758 : case 16L:
24180 2758 : x5 = XVECEXP (x3, 0, 1);
24181 2758 : if (XWINT (x5, 0) != 17L)
24182 : return -1;
24183 2758 : x6 = XVECEXP (x3, 0, 2);
24184 2758 : if (XWINT (x6, 0) != 18L)
24185 : return -1;
24186 2758 : x7 = XVECEXP (x3, 0, 3);
24187 2758 : if (XWINT (x7, 0) != 19L)
24188 : return -1;
24189 2758 : x8 = XVECEXP (x3, 0, 4);
24190 2758 : if (XWINT (x8, 0) != 20L)
24191 : return -1;
24192 2758 : x9 = XVECEXP (x3, 0, 5);
24193 2758 : if (XWINT (x9, 0) != 21L)
24194 : return -1;
24195 2758 : x10 = XVECEXP (x3, 0, 6);
24196 2758 : if (XWINT (x10, 0) != 22L)
24197 : return -1;
24198 2758 : x11 = XVECEXP (x3, 0, 7);
24199 2758 : if (XWINT (x11, 0) != 23L)
24200 : return -1;
24201 2758 : x12 = XVECEXP (x3, 0, 8);
24202 2758 : if (XWINT (x12, 0) != 24L)
24203 : return -1;
24204 2758 : x13 = XVECEXP (x3, 0, 9);
24205 2758 : if (XWINT (x13, 0) != 25L)
24206 : return -1;
24207 2758 : x14 = XVECEXP (x3, 0, 10);
24208 2758 : if (XWINT (x14, 0) != 26L)
24209 : return -1;
24210 2758 : x15 = XVECEXP (x3, 0, 11);
24211 2758 : if (XWINT (x15, 0) != 27L)
24212 : return -1;
24213 2758 : x16 = XVECEXP (x3, 0, 12);
24214 2758 : if (XWINT (x16, 0) != 28L)
24215 : return -1;
24216 2758 : x17 = XVECEXP (x3, 0, 13);
24217 2758 : if (XWINT (x17, 0) != 29L)
24218 : return -1;
24219 2758 : x18 = XVECEXP (x3, 0, 14);
24220 2758 : if (XWINT (x18, 0) != 30L)
24221 : return -1;
24222 2758 : x19 = XVECEXP (x3, 0, 15);
24223 2758 : if (XWINT (x19, 0) != 31L)
24224 : return -1;
24225 2758 : switch (GET_MODE (operands[0]))
24226 : {
24227 584 : case E_V16HImode:
24228 584 : if (!nonimmediate_operand (operands[0], E_V16HImode)
24229 584 : || GET_MODE (x2) != E_V16HImode
24230 584 : || !register_operand (operands[1], E_V32HImode)
24231 1166 : || !insn_condition_27 (operands, insn))
24232 2 : return -1;
24233 : return 5549; /* vec_extract_hi_v32hi */
24234 :
24235 170 : case E_V16HFmode:
24236 170 : if (!nonimmediate_operand (operands[0], E_V16HFmode)
24237 170 : || GET_MODE (x2) != E_V16HFmode
24238 170 : || !register_operand (operands[1], E_V32HFmode)
24239 334 : || !insn_condition_27 (operands, insn))
24240 6 : return -1;
24241 : return 5550; /* vec_extract_hi_v32hf */
24242 :
24243 18 : case E_V16BFmode:
24244 18 : if (!nonimmediate_operand (operands[0], E_V16BFmode)
24245 18 : || GET_MODE (x2) != E_V16BFmode
24246 18 : || !register_operand (operands[1], E_V32BFmode)
24247 36 : || !insn_condition_27 (operands, insn))
24248 0 : return -1;
24249 : return 5551; /* vec_extract_hi_v32bf */
24250 :
24251 1986 : case E_V16QImode:
24252 1986 : if (!nonimmediate_operand (operands[0], E_V16QImode)
24253 1986 : || GET_MODE (x2) != E_V16QImode
24254 1986 : || !register_operand (operands[1], E_V32QImode)
24255 3901 : || !insn_condition_122 (operands, insn))
24256 71 : return -1;
24257 : return 5561; /* vec_extract_hi_v32qi */
24258 :
24259 : default:
24260 : return -1;
24261 : }
24262 :
24263 : default:
24264 : return -1;
24265 : }
24266 : }
24267 :
24268 : int
24269 2830892 : recog_327 (rtx x1 ATTRIBUTE_UNUSED,
24270 : rtx_insn *insn ATTRIBUTE_UNUSED,
24271 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24272 : {
24273 2830892 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24274 2830892 : rtx x2, x3, x4, x5;
24275 2830892 : int res ATTRIBUTE_UNUSED;
24276 2830892 : x2 = XEXP (x1, 1);
24277 2830892 : x3 = XEXP (x2, 0);
24278 2830892 : switch (GET_CODE (x3))
24279 : {
24280 142332 : case NOT:
24281 142332 : x4 = XEXP (x3, 0);
24282 142332 : operands[1] = x4;
24283 142332 : switch (GET_CODE (operands[1]))
24284 : {
24285 358 : case GT:
24286 358 : case LT:
24287 358 : switch (pattern716 (x2))
24288 : {
24289 24 : case 0:
24290 24 : if (!insn_condition_1759 (operands, insn))
24291 0 : return -1;
24292 : return 3218; /* *minmaxv8sf3_3 */
24293 :
24294 6 : case 1:
24295 6 : if (!insn_condition_1760 (operands, insn))
24296 0 : return -1;
24297 : return 3219; /* *minmaxv4sf3_3 */
24298 :
24299 0 : case 2:
24300 0 : if (!insn_condition_1759 (operands, insn))
24301 0 : return -1;
24302 : return 3220; /* *minmaxv4df3_3 */
24303 :
24304 0 : case 3:
24305 0 : if (!insn_condition_1761 (operands, insn))
24306 0 : return -1;
24307 : return 3221; /* *minmaxv2df3_3 */
24308 :
24309 : default:
24310 : return -1;
24311 : }
24312 :
24313 126234 : case REG:
24314 126234 : case SUBREG:
24315 126234 : case MEM:
24316 126234 : case VEC_DUPLICATE:
24317 126234 : x5 = XEXP (x2, 1);
24318 126234 : operands[2] = x5;
24319 126234 : switch (GET_MODE (operands[0]))
24320 : {
24321 0 : case E_V16BFmode:
24322 0 : if (pattern641 (x2,
24323 : E_V16BFmode) != 0
24324 0 : || !insn_condition_1762 (operands, insn))
24325 0 : return -1;
24326 : return 3877; /* avx512bf16_andnotv16bf3 */
24327 :
24328 0 : case E_V8BFmode:
24329 0 : if (pattern641 (x2,
24330 : E_V8BFmode) != 0
24331 0 : || !insn_condition_1763 (operands, insn))
24332 0 : return -1;
24333 : return 3878; /* avx512bf16_andnotv8bf3 */
24334 :
24335 14 : case E_V16HFmode:
24336 14 : if (pattern641 (x2,
24337 : E_V16HFmode) != 0
24338 14 : || !insn_condition_1762 (operands, insn))
24339 0 : return -1;
24340 : return 3879; /* avx512fp16_andnotv16hf3 */
24341 :
24342 109 : case E_V8HFmode:
24343 109 : if (pattern641 (x2,
24344 : E_V8HFmode) != 0
24345 109 : || !insn_condition_1763 (operands, insn))
24346 18 : return -1;
24347 : return 3880; /* avx512fp16_andnotv8hf3 */
24348 :
24349 239 : case E_V8SFmode:
24350 239 : if (pattern641 (x2,
24351 : E_V8SFmode) != 0
24352 239 : || !insn_condition_1764 (operands, insn))
24353 28 : return -1;
24354 : return 3881; /* avx_andnotv8sf3 */
24355 :
24356 2446 : case E_V4SFmode:
24357 2446 : if (pattern641 (x2,
24358 : E_V4SFmode) != 0
24359 2446 : || !insn_condition_1765 (operands, insn))
24360 227 : return -1;
24361 : return 3883; /* sse_andnotv4sf3 */
24362 :
24363 327 : case E_V4DFmode:
24364 327 : if (pattern641 (x2,
24365 : E_V4DFmode) != 0
24366 327 : || !insn_condition_1766 (operands, insn))
24367 62 : return -1;
24368 : return 3885; /* avx_andnotv4df3 */
24369 :
24370 2057 : case E_V2DFmode:
24371 2057 : if (pattern641 (x2,
24372 : E_V2DFmode) != 0
24373 2057 : || !insn_condition_1767 (operands, insn))
24374 232 : return -1;
24375 : return 3887; /* sse2_andnotv2df3 */
24376 :
24377 0 : case E_V32BFmode:
24378 0 : if (pattern773 (x2,
24379 : E_V32BFmode) != 0
24380 0 : || !insn_condition_1768 (operands, insn))
24381 0 : return -1;
24382 : return 3889; /* avx512bf16_andnotv32bf3 */
24383 :
24384 16 : case E_V32HFmode:
24385 16 : if (pattern773 (x2,
24386 : E_V32HFmode) != 0
24387 16 : || !insn_condition_1768 (operands, insn))
24388 0 : return -1;
24389 : return 3890; /* avx512fp16_andnotv32hf3 */
24390 :
24391 111 : case E_V16SFmode:
24392 111 : if (pattern773 (x2,
24393 : E_V16SFmode) != 0
24394 111 : || !insn_condition_1769 (operands, insn))
24395 16 : return -1;
24396 : return 3891; /* avx512f_andnotv16sf3 */
24397 :
24398 90 : case E_V8DFmode:
24399 90 : if (pattern773 (x2,
24400 : E_V8DFmode) != 0
24401 90 : || !insn_condition_1770 (operands, insn))
24402 16 : return -1;
24403 : return 3893; /* avx512f_andnotv8df3 */
24404 :
24405 23 : case E_V1TImode:
24406 23 : if (pattern641 (x2,
24407 : E_V1TImode) != 0
24408 23 : || !insn_condition_148 (operands, insn))
24409 5 : return -1;
24410 : return 3966; /* *andnotv1ti3 */
24411 :
24412 425 : case E_V16SImode:
24413 425 : if (pattern974 (x2,
24414 : E_V16SImode) != 0
24415 425 : || !insn_condition_1771 (operands, insn))
24416 41 : return -1;
24417 : return 6699; /* *andnotv16si3 */
24418 :
24419 161 : case E_V8DImode:
24420 161 : if (pattern974 (x2,
24421 : E_V8DImode) != 0
24422 161 : || !insn_condition_1772 (operands, insn))
24423 35 : return -1;
24424 : return 6700; /* *andnotv8di3 */
24425 :
24426 6 : case E_V64QImode:
24427 6 : if (pattern974 (x2,
24428 : E_V64QImode) != 0
24429 6 : || !insn_condition_1773 (operands, insn))
24430 3 : return -1;
24431 : return 6701; /* *andnotv64qi3 */
24432 :
24433 22 : case E_V32QImode:
24434 22 : if (pattern974 (x2,
24435 : E_V32QImode) != 0
24436 22 : || !insn_condition_1774 (operands, insn))
24437 3 : return -1;
24438 : return 6702; /* *andnotv32qi3 */
24439 :
24440 4206 : case E_V16QImode:
24441 4206 : if (pattern974 (x2,
24442 : E_V16QImode) != 0
24443 4206 : || !insn_condition_1775 (operands, insn))
24444 374 : return -1;
24445 : return 6703; /* *andnotv16qi3 */
24446 :
24447 6 : case E_V32HImode:
24448 6 : if (pattern974 (x2,
24449 : E_V32HImode) != 0
24450 6 : || !insn_condition_1776 (operands, insn))
24451 3 : return -1;
24452 : return 6704; /* *andnotv32hi3 */
24453 :
24454 79 : case E_V16HImode:
24455 79 : if (pattern974 (x2,
24456 : E_V16HImode) != 0
24457 79 : || !insn_condition_1777 (operands, insn))
24458 16 : return -1;
24459 : return 6705; /* *andnotv16hi3 */
24460 :
24461 2343 : case E_V8HImode:
24462 2343 : if (pattern974 (x2,
24463 : E_V8HImode) != 0
24464 2343 : || !insn_condition_1778 (operands, insn))
24465 99 : return -1;
24466 : return 6706; /* *andnotv8hi3 */
24467 :
24468 541 : case E_V8SImode:
24469 541 : if (pattern974 (x2,
24470 : E_V8SImode) != 0
24471 541 : || !insn_condition_1779 (operands, insn))
24472 76 : return -1;
24473 : return 6707; /* *andnotv8si3 */
24474 :
24475 29117 : case E_V4SImode:
24476 29117 : if (pattern974 (x2,
24477 : E_V4SImode) != 0
24478 29117 : || !insn_condition_1780 (operands, insn))
24479 2342 : return -1;
24480 : return 6708; /* *andnotv4si3 */
24481 :
24482 445 : case E_V4DImode:
24483 445 : if (pattern974 (x2,
24484 : E_V4DImode) != 0
24485 445 : || !insn_condition_1781 (operands, insn))
24486 30 : return -1;
24487 : return 6709; /* *andnotv4di3 */
24488 :
24489 13025 : case E_V2DImode:
24490 13025 : if (pattern974 (x2,
24491 : E_V2DImode) != 0
24492 13025 : || !insn_condition_1782 (operands, insn))
24493 921 : return -1;
24494 : return 6710; /* *andnotv2di3 */
24495 :
24496 : default:
24497 : return -1;
24498 : }
24499 :
24500 : default:
24501 : return -1;
24502 : }
24503 :
24504 26549 : case GT:
24505 26549 : case LT:
24506 26549 : operands[1] = x3;
24507 26549 : switch (pattern559 (x2))
24508 : {
24509 14 : case 0:
24510 14 : if (insn_condition_1759 (operands, insn))
24511 : return 3222; /* *minmaxv8sf3_4 */
24512 : break;
24513 :
24514 21 : case 1:
24515 21 : if (insn_condition_1760 (operands, insn))
24516 : return 3223; /* *minmaxv4sf3_4 */
24517 : break;
24518 :
24519 0 : case 2:
24520 0 : if (insn_condition_1759 (operands, insn))
24521 : return 3224; /* *minmaxv4df3_4 */
24522 : break;
24523 :
24524 129 : case 3:
24525 129 : if (insn_condition_1761 (operands, insn))
24526 : return 3225; /* *minmaxv2df3_4 */
24527 : break;
24528 :
24529 : default:
24530 : break;
24531 : }
24532 26438 : x4 = XEXP (x3, 0);
24533 26438 : operands[1] = x4;
24534 26438 : switch (pattern561 (x2))
24535 : {
24536 0 : case 0:
24537 0 : if (!insn_condition_1783 (operands, insn))
24538 0 : return -1;
24539 : return 6384; /* *avx2_lshrv4di3_1 */
24540 :
24541 0 : case 1:
24542 0 : if (!insn_condition_1784 (operands, insn))
24543 0 : return -1;
24544 : return 6385; /* *avx2_lshrv2di3_1 */
24545 :
24546 8638 : case 2:
24547 8638 : switch (GET_MODE (operands[0]))
24548 : {
24549 5 : case E_V4DImode:
24550 5 : if (pattern994 (x2,
24551 : E_V4DImode) != 0
24552 5 : || !insn_condition_1785 (operands, insn))
24553 5 : return -1;
24554 : return 6386; /* *avx2_lshrv4di3_2 */
24555 :
24556 136 : case E_V2DImode:
24557 136 : if (pattern994 (x2,
24558 : E_V2DImode) != 0
24559 136 : || !insn_condition_163 (operands, insn))
24560 136 : return -1;
24561 : return 6387; /* *avx2_lshrv2di3_2 */
24562 :
24563 : default:
24564 : return -1;
24565 : }
24566 :
24567 : default:
24568 : return -1;
24569 : }
24570 :
24571 1489629 : case REG:
24572 1489629 : case SUBREG:
24573 1489629 : case MEM:
24574 1489629 : case VEC_DUPLICATE:
24575 1489629 : return recog_326 (x1, insn, pnum_clobbers);
24576 :
24577 : default:
24578 : return -1;
24579 : }
24580 : }
24581 :
24582 : int
24583 3363475 : recog_332 (rtx x1 ATTRIBUTE_UNUSED,
24584 : rtx_insn *insn ATTRIBUTE_UNUSED,
24585 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24586 : {
24587 3363475 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24588 3363475 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
24589 3363475 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
24590 3363475 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
24591 3363475 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
24592 3363475 : rtx x34, x35, x36, x37, x38, x39, x40, x41;
24593 3363475 : rtx x42, x43, x44, x45, x46, x47, x48, x49;
24594 3363475 : rtx x50, x51, x52, x53, x54, x55, x56, x57;
24595 3363475 : rtx x58, x59, x60, x61, x62, x63, x64, x65;
24596 3363475 : rtx x66, x67, x68, x69;
24597 3363475 : int res ATTRIBUTE_UNUSED;
24598 3363475 : x2 = XEXP (x1, 1);
24599 3363475 : x3 = XEXP (x2, 1);
24600 3363475 : if (GET_CODE (x3) != PARALLEL)
24601 : return -1;
24602 3363475 : x4 = XEXP (x1, 0);
24603 3363475 : operands[0] = x4;
24604 3363475 : x5 = XEXP (x2, 0);
24605 3363475 : switch (GET_CODE (x5))
24606 : {
24607 2423993 : case VEC_CONCAT:
24608 2423993 : x6 = XEXP (x5, 0);
24609 2423993 : switch (GET_CODE (x6))
24610 : {
24611 2206026 : case REG:
24612 2206026 : case SUBREG:
24613 2206026 : case MEM:
24614 2206026 : operands[1] = x6;
24615 2206026 : res = recog_310 (x1, insn, pnum_clobbers);
24616 2206026 : if (res >= 0)
24617 : return res;
24618 851213 : if (XVECLEN (x3, 0) < 1)
24619 : return -1;
24620 851213 : operands[4] = x3;
24621 851213 : switch (pattern847 (x2))
24622 : {
24623 0 : case 0:
24624 0 : if (insn_condition_1108 (operands, insn))
24625 : return 7424; /* *avx2_zero_extendv16qiv16hi2_2 */
24626 : break;
24627 :
24628 2 : case 1:
24629 2 : if (insn_condition_1108 (operands, insn))
24630 : return 7425; /* *avx2_zero_extendv16qiv16hi2_2 */
24631 : break;
24632 :
24633 0 : case 2:
24634 0 : if (insn_condition_1108 (operands, insn))
24635 : return 7426; /* *avx2_zero_extendv16qiv16hi2_2 */
24636 : break;
24637 :
24638 0 : case 3:
24639 0 : if (insn_condition_12 (operands, insn))
24640 : return 7432; /* *avx512bw_zero_extendv32qiv32hi2_2 */
24641 : break;
24642 :
24643 2 : case 4:
24644 2 : if (insn_condition_12 (operands, insn))
24645 : return 7433; /* *avx512bw_zero_extendv32qiv32hi2_2 */
24646 : break;
24647 :
24648 0 : case 5:
24649 0 : if (insn_condition_12 (operands, insn))
24650 : return 7434; /* *avx512bw_zero_extendv32qiv32hi2_2 */
24651 : break;
24652 :
24653 0 : case 6:
24654 0 : if (insn_condition_92 (operands, insn))
24655 : return 7448; /* *sse4_1_zero_extendv8qiv8hi2_4 */
24656 : break;
24657 :
24658 2 : case 7:
24659 2 : if (insn_condition_92 (operands, insn))
24660 : return 7449; /* *sse4_1_zero_extendv8qiv8hi2_4 */
24661 : break;
24662 :
24663 4 : case 8:
24664 4 : if (insn_condition_92 (operands, insn))
24665 : return 7450; /* *sse4_1_zero_extendv8qiv8hi2_4 */
24666 : break;
24667 :
24668 0 : case 9:
24669 0 : if (insn_condition_27 (operands, insn))
24670 : return 7486; /* *avx512f_zero_extendv16hiv16si2_2 */
24671 : break;
24672 :
24673 4 : case 10:
24674 4 : if (insn_condition_27 (operands, insn))
24675 : return 7487; /* *avx512f_zero_extendv16hiv16si2_2 */
24676 : break;
24677 :
24678 0 : case 11:
24679 0 : if (insn_condition_27 (operands, insn))
24680 : return 7488; /* *avx512f_zero_extendv16hiv16si2_2 */
24681 : break;
24682 :
24683 0 : case 12:
24684 0 : if (insn_condition_1108 (operands, insn))
24685 : return 7494; /* *avx2_zero_extendv8hiv8si2_2 */
24686 : break;
24687 :
24688 4 : case 13:
24689 4 : if (insn_condition_1108 (operands, insn))
24690 : return 7495; /* *avx2_zero_extendv8hiv8si2_2 */
24691 : break;
24692 :
24693 0 : case 14:
24694 0 : if (insn_condition_1108 (operands, insn))
24695 : return 7496; /* *avx2_zero_extendv8hiv8si2_2 */
24696 : break;
24697 :
24698 0 : case 15:
24699 0 : if (insn_condition_92 (operands, insn))
24700 : return 7510; /* *sse4_1_zero_extendv4hiv4si2_4 */
24701 : break;
24702 :
24703 4 : case 16:
24704 4 : if (insn_condition_92 (operands, insn))
24705 : return 7511; /* *sse4_1_zero_extendv4hiv4si2_4 */
24706 : break;
24707 :
24708 0 : case 17:
24709 0 : if (insn_condition_92 (operands, insn))
24710 : return 7512; /* *sse4_1_zero_extendv4hiv4si2_4 */
24711 : break;
24712 :
24713 : default:
24714 : break;
24715 : }
24716 851195 : operands[3] = x3;
24717 851195 : switch (pattern848 (x2))
24718 : {
24719 18 : case 0:
24720 18 : if (!insn_condition_1171 (operands, insn))
24721 0 : return -1;
24722 : return 8318; /* *vec_concatv64qi_0_1 */
24723 :
24724 18 : case 1:
24725 18 : if (!insn_condition_1172 (operands, insn))
24726 0 : return -1;
24727 : return 8319; /* *vec_concatv32qi_0_1 */
24728 :
24729 82 : case 2:
24730 82 : if (!insn_condition_163 (operands, insn))
24731 0 : return -1;
24732 : return 8320; /* *vec_concatv16qi_0_1 */
24733 :
24734 34 : case 3:
24735 34 : if (!insn_condition_1171 (operands, insn))
24736 0 : return -1;
24737 : return 8321; /* *vec_concatv32hi_0_1 */
24738 :
24739 34 : case 4:
24740 34 : if (!insn_condition_1172 (operands, insn))
24741 0 : return -1;
24742 : return 8322; /* *vec_concatv16hi_0_1 */
24743 :
24744 67 : case 5:
24745 67 : if (!insn_condition_163 (operands, insn))
24746 0 : return -1;
24747 : return 8323; /* *vec_concatv8hi_0_1 */
24748 :
24749 : default:
24750 : return -1;
24751 : }
24752 :
24753 428 : case SS_TRUNCATE:
24754 428 : x7 = XEXP (x5, 1);
24755 428 : if (GET_CODE (x7) != SS_TRUNCATE)
24756 : return -1;
24757 380 : x8 = XEXP (x6, 0);
24758 380 : operands[1] = x8;
24759 380 : x9 = XEXP (x7, 0);
24760 380 : operands[2] = x9;
24761 380 : switch (XVECLEN (x3, 0))
24762 : {
24763 190 : case 32:
24764 190 : if (pattern882 (x3) != 0)
24765 : return -1;
24766 190 : x10 = XVECEXP (x3, 0, 4);
24767 190 : if (GET_CODE (x10) != CONST_INT)
24768 : return -1;
24769 190 : x11 = XVECEXP (x3, 0, 5);
24770 190 : if (GET_CODE (x11) != CONST_INT)
24771 : return -1;
24772 190 : x12 = XVECEXP (x3, 0, 6);
24773 190 : if (GET_CODE (x12) != CONST_INT)
24774 : return -1;
24775 190 : x13 = XVECEXP (x3, 0, 7);
24776 190 : if (GET_CODE (x13) != CONST_INT)
24777 : return -1;
24778 190 : x14 = XVECEXP (x3, 0, 8);
24779 190 : if (GET_CODE (x14) != CONST_INT)
24780 : return -1;
24781 190 : x15 = XVECEXP (x3, 0, 9);
24782 190 : if (GET_CODE (x15) != CONST_INT)
24783 : return -1;
24784 190 : x16 = XVECEXP (x3, 0, 10);
24785 190 : if (GET_CODE (x16) != CONST_INT)
24786 : return -1;
24787 190 : x17 = XVECEXP (x3, 0, 11);
24788 190 : if (GET_CODE (x17) != CONST_INT
24789 190 : || pattern1752 (x3,
24790 : 23,
24791 : 22,
24792 : 21,
24793 : 20,
24794 : 8) != 0)
24795 : return -1;
24796 190 : x18 = XVECEXP (x3, 0, 17);
24797 190 : if (x18 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
24798 : return -1;
24799 190 : x19 = XVECEXP (x3, 0, 18);
24800 190 : if (x19 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
24801 : return -1;
24802 190 : x20 = XVECEXP (x3, 0, 19);
24803 190 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
24804 : return -1;
24805 190 : x21 = XVECEXP (x3, 0, 20);
24806 190 : if (GET_CODE (x21) != CONST_INT)
24807 : return -1;
24808 190 : x22 = XVECEXP (x3, 0, 21);
24809 190 : if (GET_CODE (x22) != CONST_INT)
24810 : return -1;
24811 190 : x23 = XVECEXP (x3, 0, 22);
24812 190 : if (GET_CODE (x23) != CONST_INT)
24813 : return -1;
24814 190 : x24 = XVECEXP (x3, 0, 23);
24815 190 : if (GET_CODE (x24) != CONST_INT)
24816 : return -1;
24817 190 : x25 = XVECEXP (x3, 0, 24);
24818 190 : if (GET_CODE (x25) != CONST_INT)
24819 : return -1;
24820 190 : x26 = XVECEXP (x3, 0, 25);
24821 190 : if (GET_CODE (x26) != CONST_INT)
24822 : return -1;
24823 190 : x27 = XVECEXP (x3, 0, 26);
24824 190 : if (GET_CODE (x27) != CONST_INT)
24825 : return -1;
24826 190 : x28 = XVECEXP (x3, 0, 27);
24827 190 : if (GET_CODE (x28) != CONST_INT
24828 190 : || pattern1933 (x3,
24829 : 31,
24830 : 30,
24831 : 29,
24832 : 28) != 0)
24833 : return -1;
24834 190 : switch (XWINT (x10, 0))
24835 : {
24836 119 : case 4L:
24837 119 : if (XWINT (x11, 0) != 5L
24838 119 : || XWINT (x12, 0) != 6L
24839 119 : || XWINT (x13, 0) != 7L
24840 119 : || XWINT (x14, 0) != 16L
24841 119 : || XWINT (x15, 0) != 17L
24842 119 : || XWINT (x16, 0) != 18L
24843 119 : || XWINT (x17, 0) != 19L
24844 119 : || XWINT (x21, 0) != 12L
24845 119 : || XWINT (x22, 0) != 13L
24846 119 : || XWINT (x23, 0) != 14L
24847 119 : || XWINT (x24, 0) != 15L
24848 119 : || pattern1958 (x3) != 0
24849 119 : || pattern1888 (x2,
24850 : E_V16HImode,
24851 : E_V16QImode,
24852 : E_V32QImode) != 0
24853 234 : || !insn_condition_1697 (operands, insn))
24854 4 : return -1;
24855 : return 6968; /* avx2_packsswb */
24856 :
24857 71 : case 16L:
24858 71 : if (XWINT (x11, 0) != 17L
24859 71 : || XWINT (x12, 0) != 18L
24860 71 : || XWINT (x13, 0) != 19L
24861 71 : || XWINT (x14, 0) != 4L
24862 71 : || XWINT (x15, 0) != 5L
24863 71 : || XWINT (x16, 0) != 6L
24864 71 : || XWINT (x17, 0) != 7L
24865 71 : || XWINT (x21, 0) != 24L
24866 71 : || XWINT (x22, 0) != 25L
24867 71 : || XWINT (x23, 0) != 26L
24868 71 : || XWINT (x24, 0) != 27L
24869 71 : || XWINT (x25, 0) != 12L
24870 71 : || XWINT (x26, 0) != 13L
24871 71 : || XWINT (x27, 0) != 14L
24872 71 : || XWINT (x28, 0) != 15L
24873 71 : || pattern1888 (x2,
24874 : E_V16SImode,
24875 : E_V16HImode,
24876 : E_V32HImode) != 0
24877 138 : || !insn_condition_12 (operands, insn))
24878 4 : return -1;
24879 : return 6976; /* avx512bw_packssdw */
24880 :
24881 : default:
24882 : return -1;
24883 : }
24884 :
24885 71 : case 64:
24886 71 : if (pattern885 (x3,
24887 : 35,
24888 : 34,
24889 : 33,
24890 : 32) != 0
24891 71 : || pattern1752 (x3,
24892 : 39,
24893 : 38,
24894 : 37,
24895 : 36,
24896 : 8) != 0
24897 71 : || pattern1873 (x3,
24898 : 13,
24899 : 12,
24900 : 11,
24901 : 10,
24902 : 9) != 0
24903 142 : || pattern1915 (x3,
24904 : 42,
24905 : 41,
24906 : 40,
24907 : 15,
24908 : 14) != 0)
24909 : return -1;
24910 71 : x28 = XVECEXP (x3, 0, 27);
24911 71 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 43]
24912 71 : || pattern1933 (x3,
24913 : 47,
24914 : 46,
24915 : 45,
24916 : 44) != 0)
24917 : return -1;
24918 71 : x29 = XVECEXP (x3, 0, 32);
24919 71 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 16])
24920 : return -1;
24921 71 : x30 = XVECEXP (x3, 0, 33);
24922 71 : if (x30 != const_int_rtx[MAX_SAVED_CONST_INT + 17])
24923 : return -1;
24924 71 : x31 = XVECEXP (x3, 0, 34);
24925 71 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 18])
24926 : return -1;
24927 71 : x32 = XVECEXP (x3, 0, 35);
24928 71 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 19])
24929 : return -1;
24930 71 : x33 = XVECEXP (x3, 0, 36);
24931 71 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 20])
24932 : return -1;
24933 71 : x34 = XVECEXP (x3, 0, 37);
24934 71 : if (x34 != const_int_rtx[MAX_SAVED_CONST_INT + 21])
24935 : return -1;
24936 71 : x35 = XVECEXP (x3, 0, 38);
24937 71 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 22])
24938 : return -1;
24939 71 : x36 = XVECEXP (x3, 0, 39);
24940 71 : if (x36 != const_int_rtx[MAX_SAVED_CONST_INT + 23])
24941 : return -1;
24942 71 : x37 = XVECEXP (x3, 0, 40);
24943 71 : if (x37 != const_int_rtx[MAX_SAVED_CONST_INT + 48])
24944 : return -1;
24945 71 : x38 = XVECEXP (x3, 0, 41);
24946 71 : if (x38 != const_int_rtx[MAX_SAVED_CONST_INT + 49])
24947 : return -1;
24948 71 : x39 = XVECEXP (x3, 0, 42);
24949 71 : if (x39 != const_int_rtx[MAX_SAVED_CONST_INT + 50])
24950 : return -1;
24951 71 : x40 = XVECEXP (x3, 0, 43);
24952 71 : if (x40 != const_int_rtx[MAX_SAVED_CONST_INT + 51])
24953 : return -1;
24954 71 : x41 = XVECEXP (x3, 0, 44);
24955 71 : if (x41 != const_int_rtx[MAX_SAVED_CONST_INT + 52])
24956 : return -1;
24957 71 : x42 = XVECEXP (x3, 0, 45);
24958 71 : if (x42 != const_int_rtx[MAX_SAVED_CONST_INT + 53])
24959 : return -1;
24960 71 : x43 = XVECEXP (x3, 0, 46);
24961 71 : if (x43 != const_int_rtx[MAX_SAVED_CONST_INT + 54])
24962 : return -1;
24963 71 : x44 = XVECEXP (x3, 0, 47);
24964 71 : if (x44 != const_int_rtx[MAX_SAVED_CONST_INT + 55])
24965 : return -1;
24966 71 : x45 = XVECEXP (x3, 0, 48);
24967 71 : if (x45 != const_int_rtx[MAX_SAVED_CONST_INT + 24])
24968 : return -1;
24969 71 : x46 = XVECEXP (x3, 0, 49);
24970 71 : if (x46 != const_int_rtx[MAX_SAVED_CONST_INT + 25])
24971 : return -1;
24972 71 : x47 = XVECEXP (x3, 0, 50);
24973 71 : if (x47 != const_int_rtx[MAX_SAVED_CONST_INT + 26])
24974 : return -1;
24975 71 : x48 = XVECEXP (x3, 0, 51);
24976 71 : if (x48 != const_int_rtx[MAX_SAVED_CONST_INT + 27])
24977 : return -1;
24978 71 : x49 = XVECEXP (x3, 0, 52);
24979 71 : if (x49 != const_int_rtx[MAX_SAVED_CONST_INT + 28])
24980 : return -1;
24981 71 : x50 = XVECEXP (x3, 0, 53);
24982 71 : if (x50 != const_int_rtx[MAX_SAVED_CONST_INT + 29])
24983 : return -1;
24984 71 : x51 = XVECEXP (x3, 0, 54);
24985 71 : if (x51 != const_int_rtx[MAX_SAVED_CONST_INT + 30])
24986 : return -1;
24987 71 : x52 = XVECEXP (x3, 0, 55);
24988 71 : if (x52 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
24989 : return -1;
24990 71 : x53 = XVECEXP (x3, 0, 56);
24991 71 : if (x53 != const_int_rtx[MAX_SAVED_CONST_INT + 56])
24992 : return -1;
24993 71 : x54 = XVECEXP (x3, 0, 57);
24994 71 : if (x54 != const_int_rtx[MAX_SAVED_CONST_INT + 57])
24995 : return -1;
24996 71 : x55 = XVECEXP (x3, 0, 58);
24997 71 : if (x55 != const_int_rtx[MAX_SAVED_CONST_INT + 58])
24998 : return -1;
24999 71 : x56 = XVECEXP (x3, 0, 59);
25000 71 : if (x56 != const_int_rtx[MAX_SAVED_CONST_INT + 59])
25001 : return -1;
25002 71 : x57 = XVECEXP (x3, 0, 60);
25003 71 : if (x57 != const_int_rtx[MAX_SAVED_CONST_INT + 60])
25004 : return -1;
25005 71 : x58 = XVECEXP (x3, 0, 61);
25006 71 : if (x58 != const_int_rtx[MAX_SAVED_CONST_INT + 61])
25007 : return -1;
25008 71 : x59 = XVECEXP (x3, 0, 62);
25009 71 : if (x59 != const_int_rtx[MAX_SAVED_CONST_INT + 62])
25010 : return -1;
25011 71 : x60 = XVECEXP (x3, 0, 63);
25012 71 : if (x60 != const_int_rtx[MAX_SAVED_CONST_INT + 63]
25013 71 : || pattern1888 (x2,
25014 : E_V32HImode,
25015 : E_V32QImode,
25016 : E_V64QImode) != 0
25017 138 : || !insn_condition_12 (operands, insn))
25018 4 : return -1;
25019 : return 6970; /* avx512bw_packsswb */
25020 :
25021 119 : case 16:
25022 119 : if (pattern883 (x3,
25023 : 10,
25024 : 9,
25025 : 8) != 0
25026 119 : || pattern1548 (x3,
25027 : 7,
25028 : 6,
25029 : 5,
25030 : 4,
25031 : 11) != 0
25032 119 : || pattern1888 (x2,
25033 : E_V8SImode,
25034 : E_V8HImode,
25035 : E_V16HImode) != 0
25036 234 : || !insn_condition_1697 (operands, insn))
25037 4 : return -1;
25038 : return 6974; /* avx2_packssdw */
25039 :
25040 : default:
25041 : return -1;
25042 : }
25043 :
25044 18805 : case VEC_CONCAT:
25045 18805 : switch (pattern553 (x2))
25046 : {
25047 2 : case 0:
25048 2 : if (!insn_condition_27 (operands, insn))
25049 0 : return -1;
25050 : return 7581; /* *avx512f_zero_extendv8siv8di2_2 */
25051 :
25052 2 : case 1:
25053 2 : if (!insn_condition_1108 (operands, insn))
25054 0 : return -1;
25055 : return 7587; /* *avx2_zero_extendv4siv4di2_2 */
25056 :
25057 2 : case 2:
25058 2 : if (!insn_condition_92 (operands, insn))
25059 0 : return -1;
25060 : return 7601; /* *sse4_1_zero_extendv2siv2di2_4 */
25061 :
25062 : default:
25063 : return -1;
25064 : }
25065 :
25066 : default:
25067 : return -1;
25068 : }
25069 :
25070 771147 : case REG:
25071 771147 : case SUBREG:
25072 771147 : case MEM:
25073 771147 : operands[1] = x5;
25074 771147 : res = recog_324 (x1, insn, pnum_clobbers);
25075 771147 : if (res >= 0)
25076 : return res;
25077 230632 : if (GET_CODE (x5) != SUBREG)
25078 : return -1;
25079 103006 : switch (pattern555 (x2))
25080 : {
25081 1 : case 0:
25082 1 : if (!insn_condition_813 (operands, insn))
25083 0 : return -1;
25084 : return 5917; /* *avx512bw_permvar_truncv16siv16hi_1_hf */
25085 :
25086 1 : case 1:
25087 1 : if (!insn_condition_959 (operands, insn))
25088 0 : return -1;
25089 : return 5919; /* *avx512f_permvar_truncv8siv8hi_1_hf */
25090 :
25091 : default:
25092 : return -1;
25093 : }
25094 :
25095 4517 : case UNSPEC:
25096 4517 : switch (XVECLEN (x5, 0))
25097 : {
25098 1944 : case 2:
25099 1944 : switch (pattern557 (x2))
25100 : {
25101 1 : case 0:
25102 1 : if (!insn_condition_813 (operands, insn))
25103 0 : return -1;
25104 : return 5916; /* *avx512bw_permvar_truncv16siv16hi_1 */
25105 :
25106 1 : case 1:
25107 1 : if (!insn_condition_1578 (operands, insn))
25108 0 : return -1;
25109 : return 5949; /* *avx512f_permvar_truncv16hiv16qi_1 */
25110 :
25111 1 : case 2:
25112 1 : if (!insn_condition_959 (operands, insn))
25113 0 : return -1;
25114 : return 5918; /* *avx512f_permvar_truncv8siv8hi_1 */
25115 :
25116 1 : case 3:
25117 1 : if (!insn_condition_864 (operands, insn))
25118 0 : return -1;
25119 : return 5920; /* *avx512f_vpermvar_truncv8div8si_1 */
25120 :
25121 1 : case 4:
25122 1 : if (!insn_condition_1822 (operands, insn))
25123 0 : return -1;
25124 : return 5936; /* *avx512f_permvar_truncv32hiv32qi_1 */
25125 :
25126 1 : case 5:
25127 1 : if (!insn_condition_197 (operands, insn))
25128 0 : return -1;
25129 : return 5950; /* *avx512f_permvar_truncv4div4si_1 */
25130 :
25131 : default:
25132 : return -1;
25133 : }
25134 :
25135 1158 : case 1:
25136 1158 : if (XINT (x5, 1) != 148
25137 612 : || GET_MODE (x5) != E_V8SFmode
25138 612 : || XVECLEN (x3, 0) != 4
25139 562 : || pattern882 (x3) != 0
25140 562 : || !register_operand (operands[0], E_V4SFmode)
25141 1658 : || GET_MODE (x2) != E_V4SFmode)
25142 : return -1;
25143 500 : x61 = XVECEXP (x5, 0, 0);
25144 500 : operands[1] = x61;
25145 500 : if (!register_operand (operands[1], E_V8HImode)
25146 500 : || !insn_condition_124 (operands, insn))
25147 118 : return -1;
25148 : return 8342; /* vcvtph2ps */
25149 :
25150 368 : case 4:
25151 368 : if (pnum_clobbers == NULL
25152 368 : || XINT (x5, 1) != 152)
25153 : return -1;
25154 318 : x62 = XVECEXP (x5, 0, 1);
25155 318 : if (GET_CODE (x62) != MEM)
25156 : return -1;
25157 318 : x63 = XEXP (x62, 0);
25158 318 : if (GET_CODE (x63) != UNSPEC
25159 318 : || XVECLEN (x63, 0) != 3
25160 318 : || XINT (x63, 1) != 153)
25161 : return -1;
25162 318 : x64 = XVECEXP (x5, 0, 2);
25163 318 : if (GET_CODE (x64) != MEM
25164 318 : || GET_MODE (x64) != E_BLKmode)
25165 : return -1;
25166 318 : x65 = XEXP (x64, 0);
25167 318 : if (GET_CODE (x65) != SCRATCH
25168 318 : || XVECLEN (x3, 0) != 4
25169 636 : || pattern882 (x3) != 0)
25170 : return -1;
25171 224 : x66 = XVECEXP (x63, 0, 1);
25172 224 : if (!register_operand (x66, E_V4DImode))
25173 : return -1;
25174 192 : x67 = XVECEXP (x63, 0, 2);
25175 192 : if (!const1248_operand (x67, E_SImode))
25176 : return -1;
25177 192 : x61 = XVECEXP (x5, 0, 0);
25178 192 : switch (GET_CODE (x61))
25179 : {
25180 63 : case REG:
25181 63 : case SUBREG:
25182 63 : operands[2] = x61;
25183 63 : operands[7] = x62;
25184 63 : x68 = XVECEXP (x63, 0, 0);
25185 63 : operands[3] = x68;
25186 63 : operands[4] = x66;
25187 63 : operands[6] = x67;
25188 63 : x69 = XVECEXP (x5, 0, 3);
25189 63 : operands[5] = x69;
25190 63 : switch (GET_MODE (operands[0]))
25191 : {
25192 35 : case E_V4SImode:
25193 35 : switch (pattern1910 (x2,
25194 : E_V4SImode,
25195 : E_SImode,
25196 : E_V8SImode))
25197 : {
25198 0 : case 0:
25199 0 : if (!insn_condition_1609 (operands, insn))
25200 : return -1;
25201 0 : *pnum_clobbers = 1;
25202 0 : return 8429; /* *avx2_gatherdiv8si_3 */
25203 :
25204 29 : case 1:
25205 29 : if (!insn_condition_1610 (operands, insn))
25206 : return -1;
25207 29 : *pnum_clobbers = 1;
25208 29 : return 8430; /* *avx2_gatherdiv8si_3 */
25209 :
25210 : default:
25211 : return -1;
25212 : }
25213 :
25214 28 : case E_V4SFmode:
25215 28 : switch (pattern1910 (x2,
25216 : E_V4SFmode,
25217 : E_SFmode,
25218 : E_V8SFmode))
25219 : {
25220 0 : case 0:
25221 0 : if (!insn_condition_1609 (operands, insn))
25222 : return -1;
25223 0 : *pnum_clobbers = 1;
25224 0 : return 8431; /* *avx2_gatherdiv8sf_3 */
25225 :
25226 16 : case 1:
25227 16 : if (!insn_condition_1610 (operands, insn))
25228 : return -1;
25229 16 : *pnum_clobbers = 1;
25230 16 : return 8432; /* *avx2_gatherdiv8sf_3 */
25231 :
25232 : default:
25233 : return -1;
25234 : }
25235 :
25236 : default:
25237 : return -1;
25238 : }
25239 :
25240 119 : case PC:
25241 119 : operands[6] = x62;
25242 119 : x68 = XVECEXP (x63, 0, 0);
25243 119 : operands[2] = x68;
25244 119 : operands[3] = x66;
25245 119 : operands[5] = x67;
25246 119 : x69 = XVECEXP (x5, 0, 3);
25247 119 : operands[4] = x69;
25248 119 : switch (GET_MODE (operands[0]))
25249 : {
25250 61 : case E_V4SImode:
25251 61 : switch (pattern1904 (x2,
25252 : E_V4SImode,
25253 : E_SImode,
25254 : E_V8SImode))
25255 : {
25256 0 : case 0:
25257 0 : if (!insn_condition_1609 (operands, insn))
25258 : return -1;
25259 0 : *pnum_clobbers = 1;
25260 0 : return 8433; /* *avx2_gatherdiv8si_4 */
25261 :
25262 14 : case 1:
25263 14 : if (!insn_condition_1610 (operands, insn))
25264 : return -1;
25265 14 : *pnum_clobbers = 1;
25266 14 : return 8434; /* *avx2_gatherdiv8si_4 */
25267 :
25268 : default:
25269 : return -1;
25270 : }
25271 :
25272 58 : case E_V4SFmode:
25273 58 : switch (pattern1904 (x2,
25274 : E_V4SFmode,
25275 : E_SFmode,
25276 : E_V8SFmode))
25277 : {
25278 0 : case 0:
25279 0 : if (!insn_condition_1609 (operands, insn))
25280 : return -1;
25281 0 : *pnum_clobbers = 1;
25282 0 : return 8435; /* *avx2_gatherdiv8sf_4 */
25283 :
25284 8 : case 1:
25285 8 : if (!insn_condition_1610 (operands, insn))
25286 : return -1;
25287 8 : *pnum_clobbers = 1;
25288 8 : return 8436; /* *avx2_gatherdiv8sf_4 */
25289 :
25290 : default:
25291 : return -1;
25292 : }
25293 :
25294 : default:
25295 : return -1;
25296 : }
25297 :
25298 : default:
25299 : return -1;
25300 : }
25301 :
25302 : default:
25303 : return -1;
25304 : }
25305 :
25306 : default:
25307 : return -1;
25308 : }
25309 : }
25310 :
25311 : int
25312 239098 : recog_338 (rtx x1 ATTRIBUTE_UNUSED,
25313 : rtx_insn *insn ATTRIBUTE_UNUSED,
25314 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25315 : {
25316 239098 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25317 239098 : rtx x2, x3, x4, x5, x6, x7, x8;
25318 239098 : int res ATTRIBUTE_UNUSED;
25319 239098 : x2 = XEXP (x1, 0);
25320 239098 : operands[0] = x2;
25321 239098 : x3 = XEXP (x1, 1);
25322 239098 : x4 = XEXP (x3, 1);
25323 239098 : operands[2] = x4;
25324 239098 : x5 = XEXP (x3, 0);
25325 239098 : switch (GET_CODE (x5))
25326 : {
25327 159941 : case REG:
25328 159941 : case SUBREG:
25329 159941 : case MEM:
25330 159941 : case VEC_DUPLICATE:
25331 159941 : return recog_299 (x1, insn, pnum_clobbers);
25332 :
25333 50881 : case NEG:
25334 50881 : x6 = XEXP (x5, 0);
25335 50881 : operands[1] = x6;
25336 50881 : x7 = XEXP (x3, 2);
25337 50881 : switch (GET_CODE (x7))
25338 : {
25339 32365 : case REG:
25340 32365 : case SUBREG:
25341 32365 : case MEM:
25342 32365 : case VEC_DUPLICATE:
25343 32365 : operands[3] = x7;
25344 32365 : switch (GET_MODE (operands[0]))
25345 : {
25346 9931 : case E_V4SFmode:
25347 9931 : if (!register_operand (operands[0], E_V4SFmode)
25348 9602 : || GET_MODE (x3) != E_V4SFmode
25349 19533 : || GET_MODE (x5) != E_V4SFmode)
25350 : return -1;
25351 9602 : if (nonimmediate_operand (operands[1], E_V4SFmode)
25352 8666 : && nonimmediate_operand (operands[2], E_V4SFmode)
25353 8491 : && nonimmediate_operand (operands[3], E_V4SFmode)
25354 9602 : && insn_condition_559 (operands, insn))
25355 : return 4110; /* *fma_fnmadd_v4sf */
25356 1155 : if (!bcst_vector_operand (operands[1], E_V4SFmode)
25357 219 : || !bcst_vector_operand (operands[2], E_V4SFmode)
25358 44 : || !bcst_vector_operand (operands[3], E_V4SFmode)
25359 1155 : || !insn_condition_1549 (operands, insn))
25360 1112 : return -1;
25361 : return 4130; /* *fma_fnmadd_v4sf */
25362 :
25363 7379 : case E_V2DFmode:
25364 7379 : if (!register_operand (operands[0], E_V2DFmode)
25365 7039 : || GET_MODE (x3) != E_V2DFmode
25366 14418 : || GET_MODE (x5) != E_V2DFmode)
25367 : return -1;
25368 7039 : if (nonimmediate_operand (operands[1], E_V2DFmode)
25369 6099 : && nonimmediate_operand (operands[2], E_V2DFmode)
25370 5931 : && nonimmediate_operand (operands[3], E_V2DFmode)
25371 7039 : && insn_condition_559 (operands, insn))
25372 : return 4111; /* *fma_fnmadd_v2df */
25373 1146 : if (!bcst_vector_operand (operands[1], E_V2DFmode)
25374 206 : || !bcst_vector_operand (operands[2], E_V2DFmode)
25375 38 : || !bcst_vector_operand (operands[3], E_V2DFmode)
25376 1146 : || !insn_condition_1549 (operands, insn))
25377 1110 : return -1;
25378 : return 4139; /* *fma_fnmadd_v2df */
25379 :
25380 3863 : case E_V8SFmode:
25381 3863 : if (!register_operand (operands[0], E_V8SFmode)
25382 3697 : || GET_MODE (x3) != E_V8SFmode
25383 7560 : || GET_MODE (x5) != E_V8SFmode)
25384 : return -1;
25385 3697 : if (nonimmediate_operand (operands[1], E_V8SFmode)
25386 3496 : && nonimmediate_operand (operands[2], E_V8SFmode)
25387 3145 : && nonimmediate_operand (operands[3], E_V8SFmode)
25388 3697 : && insn_condition_559 (operands, insn))
25389 : return 4112; /* *fma_fnmadd_v8sf */
25390 597 : if (!bcst_vector_operand (operands[1], E_V8SFmode)
25391 396 : || !bcst_vector_operand (operands[2], E_V8SFmode)
25392 45 : || !bcst_vector_operand (operands[3], E_V8SFmode)
25393 597 : || !insn_condition_1549 (operands, insn))
25394 559 : return -1;
25395 : return 4128; /* *fma_fnmadd_v8sf */
25396 :
25397 3158 : case E_V4DFmode:
25398 3158 : if (!register_operand (operands[0], E_V4DFmode)
25399 2997 : || GET_MODE (x3) != E_V4DFmode
25400 6155 : || GET_MODE (x5) != E_V4DFmode)
25401 : return -1;
25402 2997 : if (nonimmediate_operand (operands[1], E_V4DFmode)
25403 2573 : && nonimmediate_operand (operands[2], E_V4DFmode)
25404 2477 : && nonimmediate_operand (operands[3], E_V4DFmode)
25405 2997 : && insn_condition_559 (operands, insn))
25406 : return 4113; /* *fma_fnmadd_v4df */
25407 558 : if (!bcst_vector_operand (operands[1], E_V4DFmode)
25408 134 : || !bcst_vector_operand (operands[2], E_V4DFmode)
25409 38 : || !bcst_vector_operand (operands[3], E_V4DFmode)
25410 558 : || !insn_condition_1549 (operands, insn))
25411 522 : return -1;
25412 : return 4137; /* *fma_fnmadd_v4df */
25413 :
25414 34 : case E_V32HFmode:
25415 34 : if (pattern914 (x3,
25416 : E_V32HFmode) != 0
25417 34 : || !insn_condition_561 (operands, insn))
25418 4 : return -1;
25419 : return 4114; /* *fma_fnmadd_v32hf */
25420 :
25421 72 : case E_V16HFmode:
25422 72 : if (pattern914 (x3,
25423 : E_V16HFmode) != 0
25424 72 : || !insn_condition_1551 (operands, insn))
25425 1 : return -1;
25426 : return 4118; /* *fma_fnmadd_v16hf */
25427 :
25428 104 : case E_V8HFmode:
25429 104 : if (pattern914 (x3,
25430 : E_V8HFmode) != 0
25431 104 : || !insn_condition_1551 (operands, insn))
25432 15 : return -1;
25433 : return 4120; /* *fma_fnmadd_v8hf */
25434 :
25435 2457 : case E_V16SFmode:
25436 2457 : if (pattern914 (x3,
25437 : E_V16SFmode) != 0
25438 2457 : || !insn_condition_560 (operands, insn))
25439 651 : return -1;
25440 : return 4124; /* *fma_fnmadd_v16sf */
25441 :
25442 2662 : case E_V8DFmode:
25443 2662 : if (pattern914 (x3,
25444 : E_V8DFmode) != 0
25445 2662 : || !insn_condition_560 (operands, insn))
25446 671 : return -1;
25447 : return 4133; /* *fma_fnmadd_v8df */
25448 :
25449 72 : case E_V32BFmode:
25450 72 : if (pattern967 (x3,
25451 : E_V32BFmode) != 0
25452 72 : || !insn_condition_41 (operands, insn))
25453 4 : return -1;
25454 : return 9335; /* avx10_2_fnmaddbf16_v32bf */
25455 :
25456 72 : case E_V16BFmode:
25457 72 : if (pattern967 (x3,
25458 : E_V16BFmode) != 0
25459 72 : || !insn_condition_41 (operands, insn))
25460 4 : return -1;
25461 : return 9337; /* avx10_2_fnmaddbf16_v16bf */
25462 :
25463 88 : case E_V8BFmode:
25464 88 : if (pattern967 (x3,
25465 : E_V8BFmode) != 0
25466 88 : || !insn_condition_41 (operands, insn))
25467 4 : return -1;
25468 : return 9339; /* avx10_2_fnmaddbf16_v8bf */
25469 :
25470 : default:
25471 : return -1;
25472 : }
25473 :
25474 5774 : case NEG:
25475 5774 : x8 = XEXP (x7, 0);
25476 5774 : operands[3] = x8;
25477 5774 : switch (GET_MODE (operands[0]))
25478 : {
25479 897 : case E_V4SFmode:
25480 897 : if (pattern915 (x3,
25481 : E_V4SFmode) != 0)
25482 : return -1;
25483 824 : if (nonimmediate_operand (operands[1], E_V4SFmode)
25484 814 : && nonimmediate_operand (operands[2], E_V4SFmode)
25485 646 : && nonimmediate_operand (operands[3], E_V4SFmode)
25486 824 : && insn_condition_559 (operands, insn))
25487 : return 4169; /* *fma_fnmsub_v4sf */
25488 192 : if (!bcst_vector_operand (operands[1], E_V4SFmode)
25489 182 : || !bcst_vector_operand (operands[2], E_V4SFmode)
25490 14 : || !bcst_vector_operand (operands[3], E_V4SFmode)
25491 192 : || !insn_condition_1549 (operands, insn))
25492 185 : return -1;
25493 : return 4201; /* *fma_fnmsub_v4sf */
25494 :
25495 884 : case E_V2DFmode:
25496 884 : if (pattern915 (x3,
25497 : E_V2DFmode) != 0)
25498 : return -1;
25499 810 : if (nonimmediate_operand (operands[1], E_V2DFmode)
25500 810 : && nonimmediate_operand (operands[2], E_V2DFmode)
25501 642 : && nonimmediate_operand (operands[3], E_V2DFmode)
25502 810 : && insn_condition_559 (operands, insn))
25503 : return 4173; /* *fma_fnmsub_v2df */
25504 168 : if (!bcst_vector_operand (operands[1], E_V2DFmode)
25505 168 : || !bcst_vector_operand (operands[2], E_V2DFmode)
25506 0 : || !bcst_vector_operand (operands[3], E_V2DFmode)
25507 168 : || !insn_condition_1549 (operands, insn))
25508 168 : return -1;
25509 : return 4210; /* *fma_fnmsub_v2df */
25510 :
25511 1122 : case E_V8SFmode:
25512 1122 : if (pattern915 (x3,
25513 : E_V8SFmode) != 0)
25514 : return -1;
25515 1045 : if (nonimmediate_operand (operands[1], E_V8SFmode)
25516 1045 : && nonimmediate_operand (operands[2], E_V8SFmode)
25517 949 : && nonimmediate_operand (operands[3], E_V8SFmode)
25518 1045 : && insn_condition_559 (operands, insn))
25519 : return 4177; /* *fma_fnmsub_v8sf */
25520 99 : if (!bcst_vector_operand (operands[1], E_V8SFmode)
25521 99 : || !bcst_vector_operand (operands[2], E_V8SFmode)
25522 3 : || !bcst_vector_operand (operands[3], E_V8SFmode)
25523 99 : || !insn_condition_1549 (operands, insn))
25524 97 : return -1;
25525 : return 4199; /* *fma_fnmsub_v8sf */
25526 :
25527 1111 : case E_V4DFmode:
25528 1111 : if (pattern915 (x3,
25529 : E_V4DFmode) != 0)
25530 : return -1;
25531 1034 : if (nonimmediate_operand (operands[1], E_V4DFmode)
25532 1034 : && nonimmediate_operand (operands[2], E_V4DFmode)
25533 938 : && nonimmediate_operand (operands[3], E_V4DFmode)
25534 1034 : && insn_condition_559 (operands, insn))
25535 : return 4181; /* *fma_fnmsub_v4df */
25536 96 : if (!bcst_vector_operand (operands[1], E_V4DFmode)
25537 96 : || !bcst_vector_operand (operands[2], E_V4DFmode)
25538 0 : || !bcst_vector_operand (operands[3], E_V4DFmode)
25539 96 : || !insn_condition_1549 (operands, insn))
25540 96 : return -1;
25541 : return 4208; /* *fma_fnmsub_v4df */
25542 :
25543 34 : case E_V32HFmode:
25544 34 : if (pattern916 (x3,
25545 : E_V32HFmode) != 0
25546 34 : || !insn_condition_561 (operands, insn))
25547 4 : return -1;
25548 : return 4185; /* *fma_fnmsub_v32hf */
25549 :
25550 72 : case E_V16HFmode:
25551 72 : if (pattern916 (x3,
25552 : E_V16HFmode) != 0
25553 72 : || !insn_condition_1551 (operands, insn))
25554 1 : return -1;
25555 : return 4189; /* *fma_fnmsub_v16hf */
25556 :
25557 114 : case E_V8HFmode:
25558 114 : if (pattern916 (x3,
25559 : E_V8HFmode) != 0
25560 114 : || !insn_condition_1551 (operands, insn))
25561 25 : return -1;
25562 : return 4191; /* *fma_fnmsub_v8hf */
25563 :
25564 158 : case E_V16SFmode:
25565 158 : if (pattern916 (x3,
25566 : E_V16SFmode) != 0
25567 158 : || !insn_condition_560 (operands, insn))
25568 31 : return -1;
25569 : return 4195; /* *fma_fnmsub_v16sf */
25570 :
25571 29 : case E_V8DFmode:
25572 29 : if (pattern916 (x3,
25573 : E_V8DFmode) != 0
25574 29 : || !insn_condition_560 (operands, insn))
25575 5 : return -1;
25576 : return 4204; /* *fma_fnmsub_v8df */
25577 :
25578 72 : case E_V32BFmode:
25579 72 : if (pattern968 (x3,
25580 : E_V32BFmode) != 0
25581 72 : || !insn_condition_41 (operands, insn))
25582 4 : return -1;
25583 : return 9359; /* avx10_2_fnmsubbf16_v32bf */
25584 :
25585 72 : case E_V16BFmode:
25586 72 : if (pattern968 (x3,
25587 : E_V16BFmode) != 0
25588 72 : || !insn_condition_41 (operands, insn))
25589 4 : return -1;
25590 : return 9361; /* avx10_2_fnmsubbf16_v16bf */
25591 :
25592 88 : case E_V8BFmode:
25593 88 : if (pattern968 (x3,
25594 : E_V8BFmode) != 0
25595 88 : || !insn_condition_41 (operands, insn))
25596 4 : return -1;
25597 : return 9363; /* avx10_2_fnmsubbf16_v8bf */
25598 :
25599 : default:
25600 : return -1;
25601 : }
25602 :
25603 : default:
25604 : return -1;
25605 : }
25606 :
25607 : default:
25608 : return -1;
25609 : }
25610 : }
25611 :
25612 : int
25613 1858229 : recog_345 (rtx x1 ATTRIBUTE_UNUSED,
25614 : rtx_insn *insn ATTRIBUTE_UNUSED,
25615 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25616 : {
25617 1858229 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25618 1858229 : rtx x2, x3, x4, x5;
25619 1858229 : int res ATTRIBUTE_UNUSED;
25620 1858229 : x2 = XEXP (x1, 0);
25621 1858229 : operands[0] = x2;
25622 1858229 : x3 = XEXP (x1, 1);
25623 1858229 : x4 = XEXP (x3, 0);
25624 1858229 : switch (GET_CODE (x4))
25625 : {
25626 753487 : case REG:
25627 753487 : case SUBREG:
25628 753487 : case MEM:
25629 753487 : case VEC_DUPLICATE:
25630 753487 : operands[1] = x4;
25631 753487 : x5 = XEXP (x3, 1);
25632 753487 : operands[2] = x5;
25633 753487 : switch (GET_MODE (operands[0]))
25634 : {
25635 293 : case E_V32HFmode:
25636 293 : if (pattern226 (x3,
25637 : E_V32HFmode) != 0
25638 293 : || !insn_condition_1921 (operands, insn))
25639 79 : return -1;
25640 : return 2960; /* *mulv32hf3 */
25641 :
25642 401 : case E_V16HFmode:
25643 401 : if (pattern226 (x3,
25644 : E_V16HFmode) != 0
25645 401 : || !insn_condition_1922 (operands, insn))
25646 134 : return -1;
25647 : return 2964; /* *mulv16hf3 */
25648 :
25649 1320 : case E_V8HFmode:
25650 1320 : if (pattern226 (x3,
25651 : E_V8HFmode) != 0
25652 1320 : || !insn_condition_1923 (operands, insn))
25653 322 : return -1;
25654 : return 2968; /* *mulv8hf3 */
25655 :
25656 701 : case E_V16SFmode:
25657 701 : if (pattern226 (x3,
25658 : E_V16SFmode) != 0
25659 701 : || !insn_condition_1924 (operands, insn))
25660 94 : return -1;
25661 : return 2972; /* *mulv16sf3 */
25662 :
25663 22213 : case E_V8SFmode:
25664 22213 : if (pattern226 (x3,
25665 : E_V8SFmode) != 0
25666 22213 : || !insn_condition_1925 (operands, insn))
25667 962 : return -1;
25668 : return 2976; /* *mulv8sf3 */
25669 :
25670 115954 : case E_V4SFmode:
25671 115954 : if (pattern226 (x3,
25672 : E_V4SFmode) != 0
25673 115954 : || !insn_condition_1926 (operands, insn))
25674 13250 : return -1;
25675 : return 2980; /* *mulv4sf3 */
25676 :
25677 506 : case E_V8DFmode:
25678 506 : if (pattern226 (x3,
25679 : E_V8DFmode) != 0
25680 506 : || !insn_condition_1927 (operands, insn))
25681 89 : return -1;
25682 : return 2984; /* *mulv8df3 */
25683 :
25684 25152 : case E_V4DFmode:
25685 25152 : if (pattern226 (x3,
25686 : E_V4DFmode) != 0
25687 25152 : || !insn_condition_1928 (operands, insn))
25688 1392 : return -1;
25689 : return 2988; /* *mulv4df3 */
25690 :
25691 84685 : case E_V2DFmode:
25692 84685 : if (pattern226 (x3,
25693 : E_V2DFmode) != 0
25694 84685 : || !insn_condition_1929 (operands, insn))
25695 9394 : return -1;
25696 : return 2992; /* *mulv2df3 */
25697 :
25698 1324 : case E_V32HImode:
25699 1324 : if (pattern26 (x3,
25700 : E_V32HImode) != 0
25701 1324 : || !insn_condition_1930 (operands, insn))
25702 271 : return -1;
25703 : return 6263; /* *mulv32hi3 */
25704 :
25705 11677 : case E_V16HImode:
25706 11677 : if (pattern26 (x3,
25707 : E_V16HImode) != 0
25708 11677 : || !insn_condition_1931 (operands, insn))
25709 1874 : return -1;
25710 : return 6265; /* *mulv16hi3 */
25711 :
25712 78542 : case E_V8HImode:
25713 78542 : if (pattern26 (x3,
25714 : E_V8HImode) != 0
25715 78542 : || !insn_condition_1932 (operands, insn))
25716 18000 : return -1;
25717 : return 6267; /* *mulv8hi3 */
25718 :
25719 263 : case E_V8DImode:
25720 263 : if (pattern226 (x3,
25721 : E_V8DImode) != 0
25722 263 : || !insn_condition_1933 (operands, insn))
25723 61 : return -1;
25724 : return 6301; /* *avx512dq_mulv8di3 */
25725 :
25726 275 : case E_V4DImode:
25727 275 : if (pattern226 (x3,
25728 : E_V4DImode) != 0
25729 275 : || !insn_condition_1934 (operands, insn))
25730 73 : return -1;
25731 : return 6303; /* *avx512dq_mulv4di3 */
25732 :
25733 1632 : case E_V2DImode:
25734 1632 : if (pattern226 (x3,
25735 : E_V2DImode) != 0
25736 1632 : || !insn_condition_1935 (operands, insn))
25737 1390 : return -1;
25738 : return 6305; /* *avx512dq_mulv2di3 */
25739 :
25740 5119 : case E_V16SImode:
25741 5119 : if (pattern226 (x3,
25742 : E_V16SImode) != 0
25743 5119 : || !insn_condition_1936 (operands, insn))
25744 702 : return -1;
25745 : return 6307; /* *avx512f_mulv16si3 */
25746 :
25747 7999 : case E_V8SImode:
25748 7999 : if (pattern226 (x3,
25749 : E_V8SImode) != 0
25750 7999 : || !insn_condition_1937 (operands, insn))
25751 1131 : return -1;
25752 : return 6309; /* *avx2_mulv8si3 */
25753 :
25754 25541 : case E_V4SImode:
25755 25541 : if (pattern226 (x3,
25756 : E_V4SImode) != 0
25757 25541 : || !insn_condition_1938 (operands, insn))
25758 4208 : return -1;
25759 : return 6311; /* *sse4_1_mulv4si3 */
25760 :
25761 111 : case E_V32BFmode:
25762 111 : if (pattern12 (x3,
25763 : E_V32BFmode) != 0
25764 111 : || !insn_condition_41 (operands, insn))
25765 7 : return -1;
25766 : return 9303; /* avx10_2_mulbf16_v32bf */
25767 :
25768 111 : case E_V16BFmode:
25769 111 : if (pattern12 (x3,
25770 : E_V16BFmode) != 0
25771 111 : || !insn_condition_41 (operands, insn))
25772 7 : return -1;
25773 : return 9311; /* avx10_2_mulbf16_v16bf */
25774 :
25775 135 : case E_V8BFmode:
25776 135 : if (pattern12 (x3,
25777 : E_V8BFmode) != 0
25778 135 : || !insn_condition_41 (operands, insn))
25779 6 : return -1;
25780 : return 9319; /* avx10_2_mulbf16_v8bf */
25781 :
25782 : default:
25783 : return -1;
25784 : }
25785 :
25786 375552 : case ZERO_EXTEND:
25787 375552 : switch (pattern239 (x3,
25788 : ZERO_EXTEND))
25789 : {
25790 4917 : case 0:
25791 4917 : if (!insn_condition_1939 (operands, insn))
25792 0 : return -1;
25793 : return 6281; /* *vec_widen_umult_even_v16si */
25794 :
25795 7514 : case 1:
25796 7514 : if (!insn_condition_1940 (operands, insn))
25797 12 : return -1;
25798 : return 6283; /* *vec_widen_umult_even_v8si */
25799 :
25800 114731 : case 2:
25801 114731 : if (!insn_condition_1941 (operands, insn))
25802 497 : return -1;
25803 : return 6285; /* *vec_widen_umult_even_v4si */
25804 :
25805 : default:
25806 : return -1;
25807 : }
25808 :
25809 92198 : case SIGN_EXTEND:
25810 92198 : switch (pattern239 (x3,
25811 : SIGN_EXTEND))
25812 : {
25813 94 : case 0:
25814 94 : if (!insn_condition_1939 (operands, insn))
25815 3 : return -1;
25816 : return 6287; /* *vec_widen_smult_even_v16si */
25817 :
25818 1226 : case 1:
25819 1226 : if (!insn_condition_1682 (operands, insn))
25820 0 : return -1;
25821 : return 6289; /* *vec_widen_smult_even_v8si */
25822 :
25823 3691 : case 2:
25824 3691 : if (!insn_condition_1942 (operands, insn))
25825 4 : return -1;
25826 : return 6291; /* *sse4_1_mulv2siv2di3 */
25827 :
25828 : default:
25829 : return -1;
25830 : }
25831 :
25832 : default:
25833 : return -1;
25834 : }
25835 : }
25836 :
25837 : int
25838 12665 : recog_351 (rtx x1 ATTRIBUTE_UNUSED,
25839 : rtx_insn *insn ATTRIBUTE_UNUSED,
25840 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25841 : {
25842 12665 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25843 12665 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
25844 12665 : rtx x10, x11, x12, x13, x14, x15;
25845 12665 : int res ATTRIBUTE_UNUSED;
25846 12665 : x2 = XEXP (x1, 0);
25847 12665 : operands[0] = x2;
25848 12665 : x3 = XEXP (x1, 1);
25849 12665 : x4 = XEXP (x3, 0);
25850 12665 : switch (GET_CODE (x4))
25851 : {
25852 4361 : case REG:
25853 4361 : case SUBREG:
25854 4361 : switch (pattern55 (x3))
25855 : {
25856 108 : case 0:
25857 108 : if (!insn_condition_27 (operands, insn))
25858 0 : return -1;
25859 : return 5905; /* *avx512f_truncatev16siv16qi2 */
25860 :
25861 2128 : case 1:
25862 2128 : if (!insn_condition_533 (operands, insn))
25863 0 : return -1;
25864 : return 5947; /* *avx512vl_truncatev16hiv16qi2 */
25865 :
25866 96 : case 2:
25867 96 : if (!insn_condition_27 (operands, insn))
25868 0 : return -1;
25869 : return 5908; /* *avx512f_truncatev16siv16hi2 */
25870 :
25871 95 : case 3:
25872 95 : if (!insn_condition_27 (operands, insn))
25873 0 : return -1;
25874 : return 5911; /* *avx512f_truncatev8div8si2 */
25875 :
25876 90 : case 4:
25877 90 : if (!insn_condition_27 (operands, insn))
25878 0 : return -1;
25879 : return 5914; /* *avx512f_truncatev8div8hi2 */
25880 :
25881 97 : case 5:
25882 97 : if (!insn_condition_532 (operands, insn))
25883 0 : return -1;
25884 : return 5944; /* *avx512vl_truncatev8siv8hi2 */
25885 :
25886 1148 : case 6:
25887 1148 : if (!insn_condition_12 (operands, insn))
25888 0 : return -1;
25889 : return 5934; /* avx512bw_truncatev32hiv32qi2 */
25890 :
25891 91 : case 7:
25892 91 : if (!insn_condition_532 (operands, insn))
25893 0 : return -1;
25894 : return 5941; /* *avx512vl_truncatev4div4si2 */
25895 :
25896 : default:
25897 : return -1;
25898 : }
25899 :
25900 7879 : case LSHIFTRT:
25901 7879 : x5 = XEXP (x4, 1);
25902 7879 : if (GET_CODE (x5) != CONST_INT)
25903 : return -1;
25904 7836 : x6 = XEXP (x4, 0);
25905 7836 : switch (GET_CODE (x6))
25906 : {
25907 6260 : case MULT:
25908 6260 : if (XWINT (x5, 0) != 16L)
25909 : return -1;
25910 6260 : x7 = XEXP (x6, 0);
25911 6260 : switch (GET_CODE (x7))
25912 : {
25913 2858 : case SIGN_EXTEND:
25914 2858 : switch (pattern851 (x3,
25915 : SIGN_EXTEND))
25916 : {
25917 57 : case 0:
25918 57 : if (!insn_condition_1930 (operands, insn))
25919 0 : return -1;
25920 : return 6269; /* *smulv32hi3_highpart */
25921 :
25922 145 : case 1:
25923 145 : if (!insn_condition_1931 (operands, insn))
25924 0 : return -1;
25925 : return 6273; /* *smulv16hi3_highpart */
25926 :
25927 2240 : case 2:
25928 2240 : if (!insn_condition_1932 (operands, insn))
25929 0 : return -1;
25930 : return 6277; /* *smulv8hi3_highpart */
25931 :
25932 : default:
25933 : return -1;
25934 : }
25935 :
25936 3402 : case ZERO_EXTEND:
25937 3402 : switch (pattern851 (x3,
25938 : ZERO_EXTEND))
25939 : {
25940 53 : case 0:
25941 53 : if (!insn_condition_1930 (operands, insn))
25942 0 : return -1;
25943 : return 6271; /* *umulv32hi3_highpart */
25944 :
25945 183 : case 1:
25946 183 : if (!insn_condition_1931 (operands, insn))
25947 0 : return -1;
25948 : return 6275; /* *umulv16hi3_highpart */
25949 :
25950 2146 : case 2:
25951 2146 : if (!insn_condition_1932 (operands, insn))
25952 38 : return -1;
25953 : return 6279; /* *umulv8hi3_highpart */
25954 :
25955 : default:
25956 : return -1;
25957 : }
25958 :
25959 : default:
25960 : return -1;
25961 : }
25962 :
25963 1552 : case PLUS:
25964 1552 : if (XWINT (x5, 0) != 1L)
25965 : return -1;
25966 1537 : x7 = XEXP (x6, 0);
25967 1537 : switch (GET_CODE (x7))
25968 : {
25969 1079 : case PLUS:
25970 1079 : x8 = XEXP (x7, 0);
25971 1079 : if (GET_CODE (x8) != ZERO_EXTEND)
25972 : return -1;
25973 1079 : x9 = XEXP (x7, 1);
25974 1079 : if (GET_CODE (x9) != ZERO_EXTEND)
25975 : return -1;
25976 1043 : x10 = XEXP (x8, 0);
25977 1043 : operands[1] = x10;
25978 1043 : x11 = XEXP (x9, 0);
25979 1043 : operands[2] = x11;
25980 1043 : x12 = XEXP (x6, 1);
25981 1043 : operands[3] = x12;
25982 1043 : switch (GET_MODE (operands[0]))
25983 : {
25984 75 : case E_V64QImode:
25985 75 : if (pattern1460 (x3,
25986 : E_V64HImode,
25987 : E_V64QImode) != 0
25988 75 : || !insn_condition_1956 (operands, insn))
25989 0 : return -1;
25990 : return 7159; /* *avx512bw_uavgv64qi3 */
25991 :
25992 102 : case E_V32QImode:
25993 102 : if (pattern1460 (x3,
25994 : E_V32HImode,
25995 : E_V32QImode) != 0
25996 102 : || !insn_condition_1957 (operands, insn))
25997 2 : return -1;
25998 : return 7161; /* *avx2_uavgv32qi3 */
25999 :
26000 381 : case E_V16QImode:
26001 381 : if (pattern1460 (x3,
26002 : E_V16HImode,
26003 : E_V16QImode) != 0
26004 381 : || !insn_condition_1958 (operands, insn))
26005 125 : return -1;
26006 : return 7163; /* *sse2_uavgv16qi3 */
26007 :
26008 75 : case E_V32HImode:
26009 75 : if (pattern1460 (x3,
26010 : E_V32SImode,
26011 : E_V32HImode) != 0
26012 75 : || !insn_condition_1956 (operands, insn))
26013 0 : return -1;
26014 : return 7165; /* *avx512bw_uavgv32hi3 */
26015 :
26016 100 : case E_V16HImode:
26017 100 : if (pattern1460 (x3,
26018 : E_V16SImode,
26019 : E_V16HImode) != 0
26020 100 : || !insn_condition_1957 (operands, insn))
26021 2 : return -1;
26022 : return 7167; /* *avx2_uavgv16hi3 */
26023 :
26024 131 : case E_V8HImode:
26025 131 : if (pattern1460 (x3,
26026 : E_V8SImode,
26027 : E_V8HImode) != 0
26028 131 : || !insn_condition_1958 (operands, insn))
26029 6 : return -1;
26030 : return 7169; /* *sse2_uavgv8hi3 */
26031 :
26032 : default:
26033 : return -1;
26034 : }
26035 :
26036 402 : case LSHIFTRT:
26037 402 : if (pattern645 (x7) != 0)
26038 : return -1;
26039 397 : x8 = XEXP (x7, 0);
26040 397 : x10 = XEXP (x8, 0);
26041 397 : x13 = XEXP (x10, 0);
26042 397 : operands[1] = x13;
26043 397 : if (nonimmediate_operand (operands[1], E_V32HImode))
26044 : {
26045 55 : res = recog_328 (x1, insn, pnum_clobbers);
26046 55 : if (res >= 0)
26047 : return res;
26048 : }
26049 342 : x14 = XEXP (x8, 1);
26050 342 : x15 = XEXP (x14, 0);
26051 342 : operands[2] = x15;
26052 342 : x12 = XEXP (x6, 1);
26053 342 : operands[3] = x12;
26054 342 : switch (GET_MODE (operands[0]))
26055 : {
26056 0 : case E_V32HImode:
26057 0 : if (pattern1566 (x3,
26058 : E_V32HImode,
26059 : E_V32SImode) != 0
26060 0 : || !insn_condition_1959 (operands, insn))
26061 0 : return -1;
26062 : return 7282; /* *avx512bw_pmulhrswv32hi3 */
26063 :
26064 127 : case E_V16HImode:
26065 127 : if (pattern1566 (x3,
26066 : E_V16HImode,
26067 : E_V16SImode) != 0
26068 127 : || !insn_condition_1960 (operands, insn))
26069 7 : return -1;
26070 : return 7284; /* *avx2_pmulhrswv16hi3 */
26071 :
26072 157 : case E_V8HImode:
26073 157 : if (pattern1566 (x3,
26074 : E_V8HImode,
26075 : E_V8SImode) != 0
26076 157 : || !insn_condition_1961 (operands, insn))
26077 12 : return -1;
26078 : return 7286; /* *ssse3_pmulhrswv8hi3 */
26079 :
26080 : default:
26081 : return -1;
26082 : }
26083 :
26084 : default:
26085 : return -1;
26086 : }
26087 :
26088 : default:
26089 : return -1;
26090 : }
26091 :
26092 : default:
26093 : return -1;
26094 : }
26095 : }
26096 :
26097 : int
26098 82289 : recog_359 (rtx x1 ATTRIBUTE_UNUSED,
26099 : rtx_insn *insn ATTRIBUTE_UNUSED,
26100 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26101 : {
26102 82289 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26103 82289 : int res ATTRIBUTE_UNUSED;
26104 82289 : switch (pattern34 (x1))
26105 : {
26106 215 : case 0:
26107 215 : if (insn_condition_1682 (operands, insn))
26108 : return 6466; /* *avx2_uminv32qi3 */
26109 6 : if (!insn_condition_103 (operands, insn))
26110 6 : return -1;
26111 : return 6545; /* *avx512bw_uminv32qi3 */
26112 :
26113 380 : case 1:
26114 380 : if (insn_condition_1682 (operands, insn))
26115 : return 6470; /* *avx2_uminv16hi3 */
26116 14 : if (!insn_condition_103 (operands, insn))
26117 14 : return -1;
26118 : return 6561; /* *avx512bw_uminv16hi3 */
26119 :
26120 326 : case 2:
26121 326 : if (insn_condition_1682 (operands, insn))
26122 : return 6474; /* *avx2_uminv8si3 */
26123 5 : if (!insn_condition_104 (operands, insn))
26124 5 : return -1;
26125 : return 6489; /* *avx512f_uminv8si3 */
26126 :
26127 64 : case 3:
26128 64 : if (!insn_condition_59 (operands, insn))
26129 0 : return -1;
26130 : return 6481; /* *avx512f_uminv16si3 */
26131 :
26132 1500 : case 4:
26133 1500 : if (nonimmediate_operand (operands[1], E_V4SImode)
26134 1087 : && nonimmediate_operand (operands[2], E_V4SImode)
26135 2583 : && insn_condition_104 (operands, insn))
26136 : return 6497; /* *avx512f_uminv4si3 */
26137 1175 : if (!vector_operand (operands[1], E_V4SImode)
26138 762 : || !vector_operand (operands[2], E_V4SImode)
26139 1933 : || !insn_condition_1989 (operands, insn))
26140 445 : return -1;
26141 : return 6587; /* *sse4_1_uminv4si3 */
26142 :
26143 450 : case 5:
26144 450 : if (!insn_condition_59 (operands, insn))
26145 1 : return -1;
26146 : return 6505; /* *avx512f_uminv8di3 */
26147 :
26148 62 : case 6:
26149 62 : if (!insn_condition_104 (operands, insn))
26150 1 : return -1;
26151 : return 6513; /* *avx512f_uminv4di3 */
26152 :
26153 83 : case 7:
26154 83 : if (!insn_condition_104 (operands, insn))
26155 10 : return -1;
26156 : return 6521; /* *avx512f_uminv2di3 */
26157 :
26158 63 : case 8:
26159 63 : if (!insn_condition_918 (operands, insn))
26160 0 : return -1;
26161 : return 6529; /* *avx512bw_uminv64qi3 */
26162 :
26163 5954 : case 9:
26164 5954 : if (nonimmediate_operand (operands[1], E_V16QImode)
26165 4180 : && nonimmediate_operand (operands[2], E_V16QImode)
26166 10022 : && insn_condition_103 (operands, insn))
26167 : return 6537; /* *avx512bw_uminv16qi3 */
26168 4332 : if (!vector_operand (operands[1], E_V16QImode)
26169 2552 : || !vector_operand (operands[2], E_V16QImode)
26170 6765 : || !insn_condition_1660 (operands, insn))
26171 1928 : return -1;
26172 : return 6590; /* *uminv16qi3 */
26173 :
26174 64 : case 10:
26175 64 : if (!insn_condition_918 (operands, insn))
26176 0 : return -1;
26177 : return 6553; /* *avx512bw_uminv32hi3 */
26178 :
26179 2577 : case 11:
26180 2577 : if (nonimmediate_operand (operands[1], E_V8HImode)
26181 1717 : && nonimmediate_operand (operands[2], E_V8HImode)
26182 4212 : && insn_condition_103 (operands, insn))
26183 : return 6569; /* *avx512bw_uminv8hi3 */
26184 1396 : if (!vector_operand (operands[1], E_V8HImode)
26185 536 : || !vector_operand (operands[2], E_V8HImode)
26186 1850 : || !insn_condition_1989 (operands, insn))
26187 968 : return -1;
26188 : return 6583; /* *sse4_1_uminv8hi3 */
26189 :
26190 : default:
26191 : return -1;
26192 : }
26193 : }
26194 :
26195 : int
26196 10198 : recog_362 (rtx x1 ATTRIBUTE_UNUSED,
26197 : rtx_insn *insn ATTRIBUTE_UNUSED,
26198 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26199 : {
26200 10198 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26201 10198 : rtx x2, x3, x4;
26202 10198 : int res ATTRIBUTE_UNUSED;
26203 10198 : x2 = XEXP (x1, 0);
26204 10198 : operands[0] = x2;
26205 10198 : x3 = XEXP (x1, 1);
26206 10198 : x4 = XEXP (x3, 0);
26207 10198 : operands[1] = x4;
26208 10198 : switch (GET_MODE (operands[0]))
26209 : {
26210 140 : case E_V16SImode:
26211 140 : if (!register_operand (operands[0], E_V16SImode)
26212 136 : || GET_MODE (x3) != E_V16SImode
26213 136 : || !nonimmediate_operand (operands[1], E_V16SImode)
26214 252 : || !insn_condition_1354 (operands, insn))
26215 28 : return -1;
26216 : return 8755; /* clzv16si2 */
26217 :
26218 759 : case E_V8SImode:
26219 759 : if (!register_operand (operands[0], E_V8SImode)
26220 749 : || GET_MODE (x3) != E_V8SImode
26221 749 : || !nonimmediate_operand (operands[1], E_V8SImode)
26222 759 : || !insn_condition_1355 (operands, insn))
26223 246 : return -1;
26224 : return 8757; /* clzv8si2 */
26225 :
26226 74 : case E_V4SImode:
26227 74 : if (!register_operand (operands[0], E_V4SImode)
26228 65 : || GET_MODE (x3) != E_V4SImode
26229 65 : || !nonimmediate_operand (operands[1], E_V4SImode)
26230 74 : || !insn_condition_1355 (operands, insn))
26231 9 : return -1;
26232 : return 8759; /* clzv4si2 */
26233 :
26234 172 : case E_V8DImode:
26235 172 : if (!register_operand (operands[0], E_V8DImode)
26236 162 : || GET_MODE (x3) != E_V8DImode
26237 162 : || !nonimmediate_operand (operands[1], E_V8DImode)
26238 309 : || !insn_condition_1354 (operands, insn))
26239 35 : return -1;
26240 : return 8761; /* clzv8di2 */
26241 :
26242 219 : case E_V4DImode:
26243 219 : if (!register_operand (operands[0], E_V4DImode)
26244 207 : || GET_MODE (x3) != E_V4DImode
26245 207 : || !nonimmediate_operand (operands[1], E_V4DImode)
26246 219 : || !insn_condition_1355 (operands, insn))
26247 48 : return -1;
26248 : return 8763; /* clzv4di2 */
26249 :
26250 50 : case E_V2DImode:
26251 50 : if (!register_operand (operands[0], E_V2DImode)
26252 48 : || GET_MODE (x3) != E_V2DImode
26253 48 : || !nonimmediate_operand (operands[1], E_V2DImode)
26254 50 : || !insn_condition_1355 (operands, insn))
26255 2 : return -1;
26256 : return 8765; /* clzv2di2 */
26257 :
26258 : default:
26259 : return -1;
26260 : }
26261 : }
26262 :
26263 : int
26264 124923 : recog_369 (rtx x1 ATTRIBUTE_UNUSED,
26265 : rtx_insn *insn ATTRIBUTE_UNUSED,
26266 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26267 : {
26268 124923 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26269 124923 : rtx x2, x3;
26270 124923 : int res ATTRIBUTE_UNUSED;
26271 124923 : switch (pattern8 (x1, pnum_clobbers))
26272 : {
26273 6 : case 0:
26274 6 : if (!insn_condition_398 (operands, insn))
26275 : return -1;
26276 6 : *pnum_clobbers = 1;
26277 6 : return 1974; /* *umaxti3_doubleword */
26278 :
26279 1050 : case 1:
26280 1050 : if (!insn_condition_399 (operands, insn))
26281 : return -1;
26282 1050 : *pnum_clobbers = 1;
26283 1050 : return 1978; /* *umaxqi3_1 */
26284 :
26285 75 : case 2:
26286 75 : if (!insn_condition_400 (operands, insn))
26287 : return -1;
26288 75 : *pnum_clobbers = 1;
26289 75 : return 1982; /* *umaxhi3_1 */
26290 :
26291 71 : case 3:
26292 71 : if (!insn_condition_115 (operands, insn))
26293 0 : return -1;
26294 : return 2340; /* umaxv4hi3 */
26295 :
26296 0 : case 4:
26297 0 : if (!insn_condition_115 (operands, insn))
26298 0 : return -1;
26299 : return 2342; /* umaxv2si3 */
26300 :
26301 133 : case 5:
26302 133 : if (!insn_condition_1995 (operands, insn))
26303 0 : return -1;
26304 : return 2344; /* *mmx_umaxv8qi3 */
26305 :
26306 128 : case 6:
26307 128 : if (!insn_condition_141 (operands, insn))
26308 0 : return -1;
26309 : return 2346; /* umaxv4qi3 */
26310 :
26311 5 : case 7:
26312 5 : if (!insn_condition_141 (operands, insn))
26313 0 : return -1;
26314 : return 2348; /* umaxv2qi3 */
26315 :
26316 5 : case 8:
26317 5 : if (!insn_condition_92 (operands, insn))
26318 0 : return -1;
26319 : return 2350; /* umaxv2hi3 */
26320 :
26321 0 : case 9:
26322 0 : x2 = XEXP (x1, 1);
26323 0 : x3 = XEXP (x2, 1);
26324 0 : if (rtx_equal_p (x3, operands[1])
26325 0 : && insn_condition_1994 (operands, insn))
26326 : {
26327 0 : *pnum_clobbers = 1;
26328 0 : return 1992; /* *plus_within_umaxhi3_1 */
26329 : }
26330 0 : if (!rtx_equal_p (x3, operands[2])
26331 0 : || !insn_condition_1994 (operands, insn))
26332 : return -1;
26333 0 : *pnum_clobbers = 1;
26334 0 : return 1993; /* *plus_within_umaxhi3_2 */
26335 :
26336 0 : case 10:
26337 0 : if (!insn_condition_1994 (operands, insn))
26338 : return -1;
26339 0 : *pnum_clobbers = 1;
26340 0 : return 2004; /* *minus_within_umaxhi3 */
26341 :
26342 : default:
26343 : return -1;
26344 : }
26345 : }
26346 :
26347 : int
26348 56374 : recog_376 (rtx x1 ATTRIBUTE_UNUSED,
26349 : rtx_insn *insn ATTRIBUTE_UNUSED,
26350 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26351 : {
26352 56374 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26353 56374 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
26354 56374 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
26355 56374 : rtx x18;
26356 56374 : int res ATTRIBUTE_UNUSED;
26357 56374 : x2 = XVECEXP (x1, 0, 0);
26358 56374 : x3 = XEXP (x2, 1);
26359 56374 : switch (XINT (x3, 1))
26360 : {
26361 15 : case 104:
26362 15 : if (GET_MODE (x3) != E_TImode)
26363 : return -1;
26364 15 : x4 = XVECEXP (x1, 0, 1);
26365 15 : if (GET_CODE (x4) != UNSPEC
26366 15 : || XVECLEN (x4, 0) != 1
26367 15 : || XINT (x4, 1) != 107
26368 15 : || GET_MODE (x4) != E_DImode)
26369 : return -1;
26370 15 : x5 = XVECEXP (x4, 0, 0);
26371 15 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
26372 : return -1;
26373 15 : x6 = XEXP (x2, 0);
26374 15 : operands[0] = x6;
26375 15 : if (!push_operand (operands[0], E_TImode))
26376 : return -1;
26377 15 : x7 = XVECEXP (x3, 0, 0);
26378 15 : operands[1] = x7;
26379 15 : if (!register_operand (operands[1], E_DImode))
26380 : return -1;
26381 15 : x8 = XVECEXP (x3, 0, 1);
26382 15 : operands[2] = x8;
26383 15 : if (!register_operand (operands[2], E_DImode)
26384 15 : || !insn_condition_2001 (operands, insn))
26385 : return -1;
26386 : return 168; /* push2p_di */
26387 :
26388 16212 : case 37:
26389 16212 : x8 = XVECEXP (x3, 0, 1);
26390 16212 : if (GET_CODE (x8) != CONST_INT)
26391 : return -1;
26392 16212 : x6 = XEXP (x2, 0);
26393 16212 : if (GET_CODE (x6) != REG
26394 16212 : || REGNO (x6) != 17)
26395 : return -1;
26396 16212 : x7 = XVECEXP (x3, 0, 0);
26397 16212 : switch (GET_CODE (x7))
26398 : {
26399 14418 : case REG:
26400 14418 : case SUBREG:
26401 14418 : case MEM:
26402 14418 : operands[1] = x7;
26403 14418 : if (XWINT (x8, 0) == 0L)
26404 : {
26405 6739 : res = recog_374 (x1, insn, pnum_clobbers);
26406 6739 : if (res >= 0)
26407 : return res;
26408 : }
26409 8952 : x4 = XVECEXP (x1, 0, 1);
26410 8952 : if (GET_CODE (x4) != SET)
26411 : return -1;
26412 8745 : x9 = XEXP (x4, 1);
26413 8745 : if (GET_CODE (x9) != NEG
26414 7588 : || GET_MODE (x6) != E_CCOmode
26415 7588 : || GET_MODE (x3) != E_CCOmode)
26416 : return -1;
26417 7588 : operands[2] = x8;
26418 7588 : x10 = XEXP (x4, 0);
26419 7588 : operands[0] = x10;
26420 7588 : x11 = XEXP (x9, 0);
26421 7588 : if (!rtx_equal_p (x11, operands[1]))
26422 : return -1;
26423 7588 : switch (GET_MODE (operands[1]))
26424 : {
26425 844 : case E_QImode:
26426 844 : if (pattern1721 (x9,
26427 : E_QImode) != 0
26428 844 : || !insn_condition_2002 (operands, insn))
26429 : return -1;
26430 : return 1027; /* *negvqi3 */
26431 :
26432 844 : case E_HImode:
26433 844 : if (pattern1721 (x9,
26434 : E_HImode) != 0
26435 844 : || !insn_condition_2003 (operands, insn))
26436 : return -1;
26437 : return 1028; /* *negvhi3 */
26438 :
26439 3542 : case E_SImode:
26440 3542 : if (pattern1721 (x9,
26441 : E_SImode) != 0
26442 3542 : || !insn_condition_2004 (operands, insn))
26443 : return -1;
26444 : return 1029; /* *negvsi3 */
26445 :
26446 2358 : case E_DImode:
26447 2358 : if (pattern1721 (x9,
26448 : E_DImode) != 0
26449 2358 : || !insn_condition_2005 (operands, insn))
26450 : return -1;
26451 : return 1030; /* *negvdi3 */
26452 :
26453 : default:
26454 : return -1;
26455 : }
26456 :
26457 1093 : case AND:
26458 1093 : x12 = XEXP (x7, 1);
26459 1093 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
26460 188 : || XWINT (x8, 0) != 0L)
26461 : return -1;
26462 188 : x4 = XVECEXP (x1, 0, 1);
26463 188 : if (GET_CODE (x4) != SET
26464 161 : || GET_MODE (x6) != E_CCCmode
26465 161 : || GET_MODE (x3) != E_CCCmode)
26466 : return -1;
26467 161 : x13 = XEXP (x7, 0);
26468 161 : operands[1] = x13;
26469 161 : x10 = XEXP (x4, 0);
26470 161 : operands[0] = x10;
26471 161 : x9 = XEXP (x4, 1);
26472 161 : switch (GET_CODE (x9))
26473 : {
26474 1 : case LSHIFTRT:
26475 1 : switch (pattern1679 (x1))
26476 : {
26477 : case 0:
26478 : return 1519; /* lshrsi3_carry */
26479 :
26480 1 : case 1:
26481 1 : if (!insn_condition_52 (operands, insn))
26482 : return -1;
26483 : return 1521; /* lshrdi3_carry */
26484 :
26485 : default:
26486 : return -1;
26487 : }
26488 :
26489 1 : case ASHIFTRT:
26490 1 : switch (pattern1679 (x1))
26491 : {
26492 : case 0:
26493 : return 1520; /* ashrsi3_carry */
26494 :
26495 1 : case 1:
26496 1 : if (!insn_condition_52 (operands, insn))
26497 : return -1;
26498 : return 1522; /* ashrdi3_carry */
26499 :
26500 : default:
26501 : return -1;
26502 : }
26503 :
26504 : default:
26505 : return -1;
26506 : }
26507 :
26508 : default:
26509 : return -1;
26510 : }
26511 :
26512 613 : case 97:
26513 613 : if (pattern377 (x1) != 0)
26514 : return -1;
26515 613 : x7 = XVECEXP (x3, 0, 0);
26516 613 : operands[1] = x7;
26517 613 : x8 = XVECEXP (x3, 0, 1);
26518 613 : operands[2] = x8;
26519 613 : switch (GET_MODE (operands[0]))
26520 : {
26521 322 : case E_SImode:
26522 322 : if (pattern1461 (x3,
26523 : E_SImode) != 0
26524 322 : || !insn_condition_56 (operands, insn))
26525 : return -1;
26526 : return 1704; /* bmi_bextr_si */
26527 :
26528 291 : case E_DImode:
26529 291 : if (pattern1461 (x3,
26530 : E_DImode) != 0
26531 291 : || !insn_condition_57 (operands, insn))
26532 : return -1;
26533 : return 1705; /* bmi_bextr_di */
26534 :
26535 : default:
26536 : return -1;
26537 : }
26538 :
26539 98 : case 63:
26540 98 : if (GET_MODE (x3) != E_XFmode)
26541 : return -1;
26542 98 : x4 = XVECEXP (x1, 0, 1);
26543 98 : if (GET_CODE (x4) != CLOBBER)
26544 : return -1;
26545 90 : x6 = XEXP (x2, 0);
26546 90 : operands[0] = x6;
26547 90 : if (!register_operand (operands[0], E_XFmode))
26548 : return -1;
26549 90 : x7 = XVECEXP (x3, 0, 0);
26550 90 : operands[2] = x7;
26551 90 : if (!register_operand (operands[2], E_XFmode))
26552 : return -1;
26553 68 : x8 = XVECEXP (x3, 0, 1);
26554 68 : operands[1] = x8;
26555 68 : if (!register_operand (operands[1], E_XFmode))
26556 : return -1;
26557 51 : x10 = XEXP (x4, 0);
26558 51 : operands[3] = x10;
26559 51 : if (!scratch_operand (operands[3], E_XFmode)
26560 51 : || !insn_condition_109 (operands, insn))
26561 : return -1;
26562 : return 1860; /* atan2xf3 */
26563 :
26564 112 : case 64:
26565 112 : if (pattern573 (x1) != 0
26566 112 : || !insn_condition_109 (operands, insn))
26567 : return -1;
26568 : return 1861; /* fyl2xxf3_i387 */
26569 :
26570 39 : case 65:
26571 39 : if (pattern573 (x1) != 0
26572 39 : || !insn_condition_109 (operands, insn))
26573 : return -1;
26574 : return 1862; /* fyl2xp1xf3_i387 */
26575 :
26576 660 : case 81:
26577 660 : if (GET_MODE (x3) != E_XFmode)
26578 : return -1;
26579 660 : x4 = XVECEXP (x1, 0, 1);
26580 660 : if (GET_CODE (x4) != SET)
26581 : return -1;
26582 660 : x9 = XEXP (x4, 1);
26583 660 : if (pattern854 (x9,
26584 : E_XFmode,
26585 : 82,
26586 : 2,
26587 : UNSPEC) != 0)
26588 : return -1;
26589 660 : x6 = XEXP (x2, 0);
26590 660 : operands[0] = x6;
26591 660 : if (!register_operand (operands[0], E_XFmode)
26592 660 : || pattern1462 (x1) != 0
26593 660 : || !insn_condition_109 (operands, insn))
26594 : return -1;
26595 : return 1865; /* fscalexf4_i387 */
26596 :
26597 2868 : case 89:
26598 2868 : if (GET_MODE (x3) != E_CCZmode)
26599 : return -1;
26600 2868 : x4 = XVECEXP (x1, 0, 1);
26601 2868 : if (GET_CODE (x4) != CLOBBER)
26602 : return -1;
26603 2868 : x6 = XEXP (x2, 0);
26604 2868 : operands[0] = x6;
26605 2868 : if (!flags_reg_operand (operands[0], E_CCZmode))
26606 : return -1;
26607 2868 : x7 = XVECEXP (x3, 0, 0);
26608 2868 : operands[1] = x7;
26609 2868 : x8 = XVECEXP (x3, 0, 1);
26610 2868 : operands[2] = x8;
26611 2868 : x10 = XEXP (x4, 0);
26612 2868 : operands[3] = x10;
26613 2868 : switch (GET_MODE (operands[1]))
26614 : {
26615 11 : case E_SImode:
26616 11 : if (!memory_operand (operands[1], E_SImode)
26617 11 : || !memory_operand (operands[2], E_SImode)
26618 11 : || !scratch_operand (operands[3], E_SImode)
26619 22 : || !insn_condition_609 (operands, insn))
26620 : return -1;
26621 : return 2039; /* stack_protect_test_1_si */
26622 :
26623 2857 : case E_DImode:
26624 2857 : if (!memory_operand (operands[1], E_DImode)
26625 2857 : || !memory_operand (operands[2], E_DImode)
26626 2857 : || !scratch_operand (operands[3], E_DImode)
26627 5714 : || !insn_condition_610 (operands, insn))
26628 : return -1;
26629 : return 2040; /* stack_protect_test_1_di */
26630 :
26631 : default:
26632 : return -1;
26633 : }
26634 :
26635 844 : case 60:
26636 844 : if (pattern574 (x1) != 0
26637 844 : || !insn_condition_113 (operands, insn))
26638 : return -1;
26639 : return 2217; /* mmx_ieee_maxv2sf3 */
26640 :
26641 404 : case 59:
26642 404 : if (pattern574 (x1) != 0
26643 404 : || !insn_condition_113 (operands, insn))
26644 : return -1;
26645 : return 2218; /* mmx_ieee_minv2sf3 */
26646 :
26647 7479 : case 159:
26648 7479 : x6 = XEXP (x2, 0);
26649 7479 : if (GET_CODE (x6) != MEM)
26650 : return -1;
26651 7479 : operands[5] = x6;
26652 7479 : x14 = XEXP (x6, 0);
26653 7479 : if (GET_CODE (x14) != UNSPEC
26654 7479 : || XVECLEN (x14, 0) != 4
26655 7479 : || XINT (x14, 1) != 153)
26656 : return -1;
26657 7479 : x4 = XVECEXP (x1, 0, 1);
26658 7479 : if (GET_CODE (x4) != CLOBBER)
26659 : return -1;
26660 7274 : x15 = XVECEXP (x14, 0, 0);
26661 7274 : operands[0] = x15;
26662 7274 : x16 = XVECEXP (x14, 0, 1);
26663 7274 : operands[2] = x16;
26664 7274 : x17 = XVECEXP (x14, 0, 2);
26665 7274 : operands[4] = x17;
26666 7274 : if (!const1248_operand (operands[4], E_SImode))
26667 : return -1;
26668 7274 : x18 = XVECEXP (x14, 0, 3);
26669 7274 : operands[6] = x18;
26670 7274 : x8 = XVECEXP (x3, 0, 1);
26671 7274 : operands[3] = x8;
26672 7274 : x10 = XEXP (x4, 0);
26673 7274 : operands[1] = x10;
26674 7274 : x7 = XVECEXP (x3, 0, 0);
26675 7274 : if (!rtx_equal_p (x7, operands[6]))
26676 : return -1;
26677 6477 : switch (GET_MODE (operands[5]))
26678 : {
26679 778 : case E_V16SImode:
26680 778 : if (!vsib_mem_operator (operands[5], E_V16SImode)
26681 778 : || GET_MODE (x3) != E_V16SImode)
26682 : return -1;
26683 778 : switch (GET_MODE (x14))
26684 : {
26685 0 : case E_SImode:
26686 0 : switch (pattern1836 (
26687 : E_SImode))
26688 : {
26689 0 : case 0:
26690 0 : if (!insn_condition_1513 (operands, insn))
26691 : return -1;
26692 : return 8533; /* *avx512f_scattersiv16si */
26693 :
26694 0 : case 1:
26695 0 : if (!insn_condition_1513 (operands, insn))
26696 : return -1;
26697 : return 8557; /* *avx512f_scatterdiv16si */
26698 :
26699 : default:
26700 : return -1;
26701 : }
26702 :
26703 778 : case E_DImode:
26704 778 : switch (pattern1836 (
26705 : E_DImode))
26706 : {
26707 196 : case 0:
26708 196 : if (!insn_condition_1514 (operands, insn))
26709 : return -1;
26710 : return 8534; /* *avx512f_scattersiv16si */
26711 :
26712 356 : case 1:
26713 356 : if (!insn_condition_1514 (operands, insn))
26714 : return -1;
26715 : return 8558; /* *avx512f_scatterdiv16si */
26716 :
26717 : default:
26718 : return -1;
26719 : }
26720 :
26721 : default:
26722 : return -1;
26723 : }
26724 :
26725 813 : case E_V16SFmode:
26726 813 : if (!vsib_mem_operator (operands[5], E_V16SFmode)
26727 813 : || GET_MODE (x3) != E_V16SFmode)
26728 : return -1;
26729 813 : switch (GET_MODE (x14))
26730 : {
26731 0 : case E_SImode:
26732 0 : switch (pattern1837 (
26733 : E_SImode))
26734 : {
26735 0 : case 0:
26736 0 : if (!insn_condition_1513 (operands, insn))
26737 : return -1;
26738 : return 8535; /* *avx512f_scattersiv16sf */
26739 :
26740 0 : case 1:
26741 0 : if (!insn_condition_1513 (operands, insn))
26742 : return -1;
26743 : return 8559; /* *avx512f_scatterdiv16sf */
26744 :
26745 : default:
26746 : return -1;
26747 : }
26748 :
26749 813 : case E_DImode:
26750 813 : switch (pattern1837 (
26751 : E_DImode))
26752 : {
26753 261 : case 0:
26754 261 : if (!insn_condition_1514 (operands, insn))
26755 : return -1;
26756 : return 8536; /* *avx512f_scattersiv16sf */
26757 :
26758 268 : case 1:
26759 268 : if (!insn_condition_1514 (operands, insn))
26760 : return -1;
26761 : return 8560; /* *avx512f_scatterdiv16sf */
26762 :
26763 : default:
26764 : return -1;
26765 : }
26766 :
26767 : default:
26768 : return -1;
26769 : }
26770 :
26771 601 : case E_V8DImode:
26772 601 : switch (pattern1771 (x2,
26773 : E_V8DImode))
26774 : {
26775 0 : case 0:
26776 0 : if (!insn_condition_1513 (operands, insn))
26777 : return -1;
26778 : return 8537; /* *avx512f_scattersiv8di */
26779 :
26780 0 : case 1:
26781 0 : if (!insn_condition_1513 (operands, insn))
26782 : return -1;
26783 : return 8561; /* *avx512f_scatterdiv8di */
26784 :
26785 228 : case 2:
26786 228 : if (!insn_condition_1514 (operands, insn))
26787 : return -1;
26788 : return 8538; /* *avx512f_scattersiv8di */
26789 :
26790 205 : case 3:
26791 205 : if (!insn_condition_1514 (operands, insn))
26792 : return -1;
26793 : return 8562; /* *avx512f_scatterdiv8di */
26794 :
26795 : default:
26796 : return -1;
26797 : }
26798 :
26799 859 : case E_V8DFmode:
26800 859 : switch (pattern1771 (x2,
26801 : E_V8DFmode))
26802 : {
26803 19 : case 0:
26804 19 : if (!insn_condition_1513 (operands, insn))
26805 : return -1;
26806 : return 8539; /* *avx512f_scattersiv8df */
26807 :
26808 12 : case 1:
26809 12 : if (!insn_condition_1513 (operands, insn))
26810 : return -1;
26811 : return 8563; /* *avx512f_scatterdiv8df */
26812 :
26813 308 : case 2:
26814 308 : if (!insn_condition_1514 (operands, insn))
26815 : return -1;
26816 : return 8540; /* *avx512f_scattersiv8df */
26817 :
26818 222 : case 3:
26819 34869 : if (!insn_condition_1514 (operands, insn))
26820 : return -1;
26821 : return 8564; /* *avx512f_scatterdiv8df */
26822 :
26823 : default:
26824 : return -1;
26825 : }
26826 :
26827 474 : case E_V8SImode:
26828 474 : switch (pattern1772 (x2,
26829 : E_V8SImode))
26830 : {
26831 0 : case 0:
26832 0 : switch (pattern1889 (
26833 : E_SImode))
26834 : {
26835 0 : case 0:
26836 0 : if (!insn_condition_1515 (operands, insn))
26837 : return -1;
26838 : return 8541; /* *avx512f_scattersiv8si */
26839 :
26840 0 : case 1:
26841 0 : if (!insn_condition_1516 (operands, insn))
26842 : return -1;
26843 : return 8565; /* *avx512f_scatterdiv8si */
26844 :
26845 : default:
26846 : return -1;
26847 : }
26848 :
26849 434 : case 1:
26850 434 : switch (pattern1889 (
26851 : E_DImode))
26852 : {
26853 189 : case 0:
26854 189 : if (!insn_condition_1517 (operands, insn))
26855 : return -1;
26856 : return 8542; /* *avx512f_scattersiv8si */
26857 :
26858 173 : case 1:
26859 173 : if (!insn_condition_1518 (operands, insn))
26860 : return -1;
26861 : return 8566; /* *avx512f_scatterdiv8si */
26862 :
26863 : default:
26864 : return -1;
26865 : }
26866 :
26867 : default:
26868 : return -1;
26869 : }
26870 :
26871 398 : case E_V8SFmode:
26872 398 : switch (pattern1772 (x2,
26873 : E_V8SFmode))
26874 : {
26875 0 : case 0:
26876 0 : switch (pattern1890 (
26877 : E_SImode))
26878 : {
26879 0 : case 0:
26880 0 : if (!insn_condition_1515 (operands, insn))
26881 : return -1;
26882 : return 8543; /* *avx512f_scattersiv8sf */
26883 :
26884 0 : case 1:
26885 0 : if (!insn_condition_1516 (operands, insn))
26886 : return -1;
26887 : return 8567; /* *avx512f_scatterdiv8sf */
26888 :
26889 : default:
26890 : return -1;
26891 : }
26892 :
26893 358 : case 1:
26894 358 : switch (pattern1890 (
26895 : E_DImode))
26896 : {
26897 149 : case 0:
26898 149 : if (!insn_condition_1517 (operands, insn))
26899 : return -1;
26900 : return 8544; /* *avx512f_scattersiv8sf */
26901 :
26902 173 : case 1:
26903 173 : if (!insn_condition_1518 (operands, insn))
26904 : return -1;
26905 : return 8568; /* *avx512f_scatterdiv8sf */
26906 :
26907 : default:
26908 : return -1;
26909 : }
26910 :
26911 : default:
26912 : return -1;
26913 : }
26914 :
26915 384 : case E_V4DImode:
26916 384 : switch (pattern1774 (x2,
26917 : E_V4DImode))
26918 : {
26919 0 : case 0:
26920 0 : if (!insn_condition_1515 (operands, insn))
26921 : return -1;
26922 : return 8545; /* *avx512f_scattersiv4di */
26923 :
26924 0 : case 1:
26925 0 : if (!insn_condition_1516 (operands, insn))
26926 : return -1;
26927 : return 8569; /* *avx512f_scatterdiv4di */
26928 :
26929 169 : case 2:
26930 169 : if (!insn_condition_1517 (operands, insn))
26931 : return -1;
26932 : return 8546; /* *avx512f_scattersiv4di */
26933 :
26934 149 : case 3:
26935 149 : if (!insn_condition_1518 (operands, insn))
26936 : return -1;
26937 : return 8570; /* *avx512f_scatterdiv4di */
26938 :
26939 : default:
26940 : return -1;
26941 : }
26942 :
26943 384 : case E_V4DFmode:
26944 384 : switch (pattern1774 (x2,
26945 : E_V4DFmode))
26946 : {
26947 0 : case 0:
26948 0 : if (!insn_condition_1515 (operands, insn))
26949 : return -1;
26950 : return 8547; /* *avx512f_scattersiv4df */
26951 :
26952 0 : case 1:
26953 0 : if (!insn_condition_1516 (operands, insn))
26954 : return -1;
26955 : return 8571; /* *avx512f_scatterdiv4df */
26956 :
26957 169 : case 2:
26958 169 : if (!insn_condition_1517 (operands, insn))
26959 : return -1;
26960 : return 8548; /* *avx512f_scattersiv4df */
26961 :
26962 149 : case 3:
26963 149 : if (!insn_condition_1518 (operands, insn))
26964 : return -1;
26965 : return 8572; /* *avx512f_scatterdiv4df */
26966 :
26967 : default:
26968 : return -1;
26969 : }
26970 :
26971 526 : case E_V4SImode:
26972 526 : switch (pattern1776 (x2,
26973 : E_V4SImode))
26974 : {
26975 0 : case 0:
26976 0 : if (!insn_condition_1515 (operands, insn))
26977 : return -1;
26978 : return 8549; /* *avx512f_scattersiv4si */
26979 :
26980 0 : case 1:
26981 0 : if (!insn_condition_1516 (operands, insn))
26982 : return -1;
26983 : return 8573; /* *avx512f_scatterdiv4si */
26984 :
26985 200 : case 2:
26986 200 : if (!insn_condition_1517 (operands, insn))
26987 : return -1;
26988 : return 8550; /* *avx512f_scattersiv4si */
26989 :
26990 204 : case 3:
26991 204 : if (!insn_condition_1518 (operands, insn))
26992 : return -1;
26993 : return 8574; /* *avx512f_scatterdiv4si */
26994 :
26995 : default:
26996 : return -1;
26997 : }
26998 :
26999 444 : case E_V4SFmode:
27000 444 : switch (pattern1776 (x2,
27001 : E_V4SFmode))
27002 : {
27003 0 : case 0:
27004 0 : if (!insn_condition_1515 (operands, insn))
27005 : return -1;
27006 : return 8551; /* *avx512f_scattersiv4sf */
27007 :
27008 0 : case 1:
27009 0 : if (!insn_condition_1516 (operands, insn))
27010 : return -1;
27011 : return 8575; /* *avx512f_scatterdiv4sf */
27012 :
27013 164 : case 2:
27014 164 : if (!insn_condition_1517 (operands, insn))
27015 : return -1;
27016 : return 8552; /* *avx512f_scattersiv4sf */
27017 :
27018 204 : case 3:
27019 204 : if (!insn_condition_1518 (operands, insn))
27020 : return -1;
27021 : return 8576; /* *avx512f_scatterdiv4sf */
27022 :
27023 : default:
27024 : return -1;
27025 : }
27026 :
27027 408 : case E_V2DImode:
27028 408 : switch (pattern1776 (x2,
27029 : E_V2DImode))
27030 : {
27031 0 : case 0:
27032 0 : if (!insn_condition_1515 (operands, insn))
27033 : return -1;
27034 : return 8553; /* *avx512f_scattersiv2di */
27035 :
27036 0 : case 1:
27037 0 : if (!insn_condition_1516 (operands, insn))
27038 : return -1;
27039 : return 8577; /* *avx512f_scatterdiv2di */
27040 :
27041 196 : case 2:
27042 196 : if (!insn_condition_1517 (operands, insn))
27043 : return -1;
27044 : return 8554; /* *avx512f_scattersiv2di */
27045 :
27046 148 : case 3:
27047 148 : if (!insn_condition_1518 (operands, insn))
27048 : return -1;
27049 : return 8578; /* *avx512f_scatterdiv2di */
27050 :
27051 : default:
27052 : return -1;
27053 : }
27054 :
27055 408 : case E_V2DFmode:
27056 408 : switch (pattern1776 (x2,
27057 : E_V2DFmode))
27058 : {
27059 0 : case 0:
27060 0 : if (!insn_condition_1515 (operands, insn))
27061 : return -1;
27062 : return 8555; /* *avx512f_scattersiv2df */
27063 :
27064 0 : case 1:
27065 0 : if (!insn_condition_1516 (operands, insn))
27066 : return -1;
27067 : return 8579; /* *avx512f_scatterdiv2df */
27068 :
27069 196 : case 2:
27070 196 : if (!insn_condition_1517 (operands, insn))
27071 : return -1;
27072 : return 8556; /* *avx512f_scattersiv2df */
27073 :
27074 148 : case 3:
27075 148 : if (!insn_condition_1518 (operands, insn))
27076 : return -1;
27077 : return 8580; /* *avx512f_scatterdiv2df */
27078 :
27079 : default:
27080 : return -1;
27081 : }
27082 :
27083 : default:
27084 : return -1;
27085 : }
27086 :
27087 : default:
27088 : return -1;
27089 : }
27090 : }
27091 :
27092 : int
27093 54667 : recog_384 (rtx x1 ATTRIBUTE_UNUSED,
27094 : rtx_insn *insn ATTRIBUTE_UNUSED,
27095 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27096 : {
27097 54667 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27098 54667 : rtx x2, x3, x4, x5, x6, x7;
27099 54667 : int res ATTRIBUTE_UNUSED;
27100 54667 : x2 = XVECEXP (x1, 0, 0);
27101 54667 : x3 = XEXP (x2, 0);
27102 54667 : operands[0] = x3;
27103 54667 : x4 = XEXP (x2, 1);
27104 54667 : x5 = XEXP (x4, 0);
27105 54667 : operands[1] = x5;
27106 54667 : x6 = XVECEXP (x1, 0, 1);
27107 54667 : switch (GET_CODE (x6))
27108 : {
27109 46566 : case CLOBBER:
27110 46566 : if (!register_operand (operands[1], E_VOIDmode))
27111 : return -1;
27112 38697 : x7 = XEXP (x6, 0);
27113 38697 : operands[2] = x7;
27114 38697 : if (scratch_operand (operands[2], E_XFmode))
27115 : {
27116 10 : switch (pattern571 (x4))
27117 : {
27118 0 : case 0:
27119 0 : if (insn_condition_311 (operands, insn))
27120 : return 234; /* fix_trunchi_i387_fisttp */
27121 : break;
27122 :
27123 10 : case 1:
27124 10 : if (insn_condition_304 (operands, insn))
27125 : return 235; /* fix_truncsi_i387_fisttp */
27126 : break;
27127 :
27128 0 : case 2:
27129 0 : if (insn_condition_309 (operands, insn))
27130 : return 236; /* fix_truncdi_i387_fisttp */
27131 : break;
27132 :
27133 : default:
27134 : break;
27135 : }
27136 : }
27137 38687 : if (GET_CODE (x7) != REG
27138 38687 : || REGNO (x7) != 17
27139 77374 : || GET_MODE (x7) != E_CCmode)
27140 : return -1;
27141 38687 : switch (pattern571 (x4))
27142 : {
27143 10976 : case 0:
27144 10976 : if (!insn_condition_312 (operands, insn))
27145 0 : return -1;
27146 : return 237; /* *fix_trunchi_i387_1 */
27147 :
27148 8945 : case 1:
27149 8945 : if (!insn_condition_305 (operands, insn))
27150 0 : return -1;
27151 : return 238; /* *fix_truncsi_i387_1 */
27152 :
27153 18760 : case 2:
27154 18760 : if (!insn_condition_310 (operands, insn))
27155 0 : return -1;
27156 : return 239; /* *fix_truncdi_i387_1 */
27157 :
27158 : default:
27159 : return -1;
27160 : }
27161 :
27162 54 : case UNSPEC:
27163 54 : if (pattern723 (x1,
27164 : E_V2SFmode,
27165 : E_V2SImode) != 0
27166 54 : || !insn_condition_113 (operands, insn))
27167 0 : return -1;
27168 : return 2240; /* mmx_fix_truncv2sfv2si2 */
27169 :
27170 : default:
27171 : return -1;
27172 : }
27173 : }
27174 :
27175 : int
27176 257390 : recog_388 (rtx x1 ATTRIBUTE_UNUSED,
27177 : rtx_insn *insn ATTRIBUTE_UNUSED,
27178 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27179 : {
27180 257390 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27181 257390 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27182 257390 : rtx x10, x11, x12, x13, x14, x15, x16;
27183 257390 : int res ATTRIBUTE_UNUSED;
27184 257390 : if (pattern373 (x1) != 0)
27185 : return -1;
27186 226951 : x2 = XVECEXP (x1, 0, 0);
27187 226951 : x3 = XEXP (x2, 1);
27188 226951 : x4 = XEXP (x3, 0);
27189 226951 : x5 = XEXP (x4, 1);
27190 226951 : switch (GET_CODE (x5))
27191 : {
27192 0 : case AND:
27193 0 : switch (pattern404 (x3))
27194 : {
27195 0 : case 0:
27196 0 : x6 = XEXP (x3, 1);
27197 0 : x7 = XEXP (x6, 0);
27198 0 : x8 = XEXP (x7, 0);
27199 0 : x9 = XEXP (x8, 0);
27200 0 : operands[1] = x9;
27201 0 : if (nonimmediate_operand (operands[0], E_DImode))
27202 : {
27203 0 : x10 = XEXP (x5, 0);
27204 0 : operands[2] = x10;
27205 0 : x11 = XEXP (x4, 0);
27206 0 : if (rtx_equal_p (x11, operands[0]))
27207 : {
27208 0 : x12 = XEXP (x7, 1);
27209 0 : x13 = XEXP (x12, 1);
27210 0 : x14 = XEXP (x13, 0);
27211 0 : if (rtx_equal_p (x14, operands[2])
27212 0 : && insn_condition_563 (operands, insn))
27213 : return 1227; /* *x86_64_shrd */
27214 : }
27215 : }
27216 0 : operands[2] = x9;
27217 0 : if (!register_operand (operands[0], E_DImode))
27218 : return -1;
27219 0 : x11 = XEXP (x4, 0);
27220 0 : operands[1] = x11;
27221 0 : if (!nonimmediate_operand (operands[1], E_DImode))
27222 : return -1;
27223 0 : x10 = XEXP (x5, 0);
27224 0 : operands[3] = x10;
27225 0 : x12 = XEXP (x7, 1);
27226 0 : x13 = XEXP (x12, 1);
27227 0 : x14 = XEXP (x13, 0);
27228 0 : if (!rtx_equal_p (x14, operands[3])
27229 0 : || !insn_condition_298 (operands, insn))
27230 0 : return -1;
27231 : return 1233; /* *x86_64_shrd_ndd */
27232 :
27233 0 : case 1:
27234 0 : x6 = XEXP (x3, 1);
27235 0 : x7 = XEXP (x6, 0);
27236 0 : x8 = XEXP (x7, 0);
27237 0 : x9 = XEXP (x8, 0);
27238 0 : operands[1] = x9;
27239 0 : if (nonimmediate_operand (operands[0], E_SImode))
27240 : {
27241 0 : x10 = XEXP (x5, 0);
27242 0 : operands[2] = x10;
27243 0 : x11 = XEXP (x4, 0);
27244 0 : if (rtx_equal_p (x11, operands[0]))
27245 : {
27246 0 : x12 = XEXP (x7, 1);
27247 0 : x13 = XEXP (x12, 1);
27248 0 : x14 = XEXP (x13, 0);
27249 0 : if (rtx_equal_p (x14, operands[2]))
27250 : return 1263; /* *x86_shrd */
27251 : }
27252 : }
27253 0 : operands[2] = x9;
27254 0 : if (!register_operand (operands[0], E_SImode))
27255 : return -1;
27256 0 : x11 = XEXP (x4, 0);
27257 0 : operands[1] = x11;
27258 0 : if (!nonimmediate_operand (operands[1], E_SImode))
27259 : return -1;
27260 0 : x10 = XEXP (x5, 0);
27261 0 : operands[3] = x10;
27262 0 : x12 = XEXP (x7, 1);
27263 0 : x13 = XEXP (x12, 1);
27264 0 : x14 = XEXP (x13, 0);
27265 0 : if (!rtx_equal_p (x14, operands[3])
27266 0 : || !insn_condition_298 (operands, insn))
27267 0 : return -1;
27268 : return 1269; /* *x86_shrd_ndd */
27269 :
27270 : default:
27271 : return -1;
27272 : }
27273 :
27274 226880 : case CONST_INT:
27275 226880 : case CONST_WIDE_INT:
27276 226880 : case CONST_POLY_INT:
27277 226880 : case CONST_FIXED:
27278 226880 : case CONST_DOUBLE:
27279 226880 : case CONST_VECTOR:
27280 226880 : case CONST:
27281 226880 : case REG:
27282 226880 : case SUBREG:
27283 226880 : case LABEL_REF:
27284 226880 : case SYMBOL_REF:
27285 226880 : case HIGH:
27286 226880 : x6 = XEXP (x3, 1);
27287 226880 : switch (GET_CODE (x6))
27288 : {
27289 2437 : case SUBREG:
27290 2437 : switch (pattern405 (x3,
27291 : ASHIFT))
27292 : {
27293 0 : case 0:
27294 0 : operands[2] = x5;
27295 0 : if (pattern1741 (x3) == 0
27296 0 : && insn_condition_565 (operands, insn))
27297 : return 1239; /* *x86_64_shrd_1 */
27298 0 : operands[3] = x5;
27299 0 : if (pattern1742 (x3) == 0
27300 0 : && insn_condition_567 (operands, insn))
27301 : return 1245; /* *x86_64_shrd_ndd_1 */
27302 : break;
27303 :
27304 0 : case 1:
27305 0 : operands[2] = x5;
27306 0 : if (pattern1743 (x3) == 0
27307 0 : && insn_condition_569 (operands, insn))
27308 : return 1275; /* *x86_shrd_1 */
27309 0 : operands[3] = x5;
27310 0 : if (pattern1744 (x3) == 0
27311 0 : && insn_condition_571 (operands, insn))
27312 : return 1281; /* *x86_shrd_ndd_1 */
27313 : break;
27314 :
27315 : default:
27316 : break;
27317 : }
27318 : break;
27319 :
27320 1575 : case ASHIFT:
27321 1575 : switch (pattern407 (x3))
27322 : {
27323 492 : case 0:
27324 492 : if (insn_condition_579 (operands, insn))
27325 : return 1253; /* *x86_64_shrd_shld_1_nozext */
27326 : break;
27327 :
27328 75 : case 1:
27329 75 : if (insn_condition_581 (operands, insn))
27330 : return 1289; /* *x86_shrd_shld_1_nozext */
27331 : break;
27332 :
27333 3 : case 2:
27334 3 : x7 = XEXP (x6, 0);
27335 3 : operands[1] = x7;
27336 3 : if (nonimmediate_operand (operands[0], E_DImode))
27337 : {
27338 3 : operands[2] = x5;
27339 3 : x11 = XEXP (x4, 0);
27340 3 : if (rtx_equal_p (x11, operands[0]))
27341 : {
27342 0 : x15 = XEXP (x6, 1);
27343 0 : x16 = XEXP (x15, 1);
27344 0 : if (rtx_equal_p (x16, operands[2])
27345 0 : && insn_condition_582 (operands, insn))
27346 : return 1256; /* *x86_64_shrd_2 */
27347 : }
27348 : }
27349 3 : operands[2] = x7;
27350 3 : if (register_operand (operands[0], E_DImode))
27351 : {
27352 3 : x11 = XEXP (x4, 0);
27353 3 : operands[1] = x11;
27354 3 : if (nonimmediate_operand (operands[1], E_DImode))
27355 : {
27356 3 : operands[3] = x5;
27357 3 : x15 = XEXP (x6, 1);
27358 3 : x16 = XEXP (x15, 1);
27359 3 : if (rtx_equal_p (x16, operands[3])
27360 3 : && insn_condition_606 (operands, insn))
27361 : return 1259; /* *x86_64_shrd_ndd_2 */
27362 : }
27363 : }
27364 : break;
27365 :
27366 0 : case 3:
27367 0 : x7 = XEXP (x6, 0);
27368 0 : operands[1] = x7;
27369 0 : if (nonimmediate_operand (operands[0], E_SImode))
27370 : {
27371 0 : operands[2] = x5;
27372 0 : x11 = XEXP (x4, 0);
27373 0 : if (rtx_equal_p (x11, operands[0]))
27374 : {
27375 0 : x15 = XEXP (x6, 1);
27376 0 : x16 = XEXP (x15, 1);
27377 0 : if (rtx_equal_p (x16, operands[2])
27378 0 : && insn_condition_582 (operands, insn))
27379 : return 1292; /* *x86_shrd_2 */
27380 : }
27381 : }
27382 0 : operands[2] = x7;
27383 0 : if (register_operand (operands[0], E_SImode))
27384 : {
27385 0 : x11 = XEXP (x4, 0);
27386 0 : operands[1] = x11;
27387 0 : if (nonimmediate_operand (operands[1], E_SImode))
27388 : {
27389 0 : operands[3] = x5;
27390 0 : x15 = XEXP (x6, 1);
27391 0 : x16 = XEXP (x15, 1);
27392 0 : if (rtx_equal_p (x16, operands[3])
27393 0 : && insn_condition_583 (operands, insn))
27394 : return 1295; /* *x86_shrd_ndd_2 */
27395 : }
27396 : }
27397 : break;
27398 :
27399 : default:
27400 : break;
27401 : }
27402 : break;
27403 :
27404 : default:
27405 : break;
27406 : }
27407 226526 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
27408 16694 : || GET_CODE (x6) != ASHIFT)
27409 : return -1;
27410 21 : x7 = XEXP (x6, 0);
27411 21 : if (GET_CODE (x7) != LTU)
27412 : return -1;
27413 2 : x8 = XEXP (x7, 0);
27414 2 : if (GET_CODE (x8) != REG
27415 2 : || REGNO (x8) != 17
27416 4 : || GET_MODE (x8) != E_CCCmode)
27417 : return -1;
27418 2 : x12 = XEXP (x7, 1);
27419 2 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27420 : return -1;
27421 2 : x15 = XEXP (x6, 1);
27422 2 : if (GET_CODE (x15) != CONST_INT)
27423 : return -1;
27424 2 : x11 = XEXP (x4, 0);
27425 2 : operands[1] = x11;
27426 2 : switch (XWINT (x15, 0))
27427 : {
27428 0 : case 31L:
27429 0 : if (pattern1787 (x3,
27430 : E_SImode) != 0)
27431 0 : return -1;
27432 : return 1517; /* rcrsi2 */
27433 :
27434 2 : case 63L:
27435 2 : if (pattern1787 (x3,
27436 : E_DImode) != 0
27437 2 : || !insn_condition_52 (operands, insn))
27438 0 : return -1;
27439 : return 1518; /* rcrdi2 */
27440 :
27441 : default:
27442 : return -1;
27443 : }
27444 :
27445 : default:
27446 : return -1;
27447 : }
27448 : }
27449 :
27450 : int
27451 162827 : recog_394 (rtx x1 ATTRIBUTE_UNUSED,
27452 : rtx_insn *insn ATTRIBUTE_UNUSED,
27453 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27454 : {
27455 162827 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27456 162827 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27457 162827 : rtx x10, x11;
27458 162827 : int res ATTRIBUTE_UNUSED;
27459 162827 : x2 = XVECEXP (x1, 0, 0);
27460 162827 : x3 = XEXP (x2, 0);
27461 162827 : if (GET_CODE (x3) != REG
27462 162827 : || REGNO (x3) != 17)
27463 : return -1;
27464 162827 : x4 = XVECEXP (x1, 0, 1);
27465 162827 : if (GET_CODE (x4) != SET)
27466 : return -1;
27467 162827 : x5 = XEXP (x2, 1);
27468 162827 : x6 = XEXP (x5, 0);
27469 162827 : x7 = XEXP (x6, 1);
27470 162827 : operands[2] = x7;
27471 162827 : x8 = XEXP (x4, 0);
27472 162827 : operands[0] = x8;
27473 162827 : x9 = XEXP (x4, 1);
27474 162827 : switch (GET_CODE (x9))
27475 : {
27476 118284 : case AND:
27477 118284 : x10 = XEXP (x9, 0);
27478 118284 : if (!rtx_equal_p (x10, operands[1]))
27479 : return -1;
27480 116262 : x11 = XEXP (x9, 1);
27481 116262 : if (!rtx_equal_p (x11, operands[2]))
27482 : return -1;
27483 106044 : switch (GET_MODE (x6))
27484 : {
27485 27480 : case E_DImode:
27486 27480 : if (!nonimmediate_operand (operands[1], E_DImode)
27487 27415 : || !x86_64_szext_general_operand (operands[2], E_DImode)
27488 25013 : || !nonimmediate_operand (operands[0], E_DImode)
27489 25013 : || GET_MODE (x9) != E_DImode
27490 52493 : || !insn_condition_2117 (operands, insn))
27491 5743 : return -1;
27492 : return 781; /* *anddi_2 */
27493 :
27494 35048 : case E_QImode:
27495 35048 : if (pattern1469 (x9,
27496 : E_QImode) != 0)
27497 : return -1;
27498 31922 : if (insn_condition_2118 (operands, insn))
27499 : return 783; /* *andqi_2_maybe_si */
27500 4519 : if (!insn_condition_2119 (operands, insn))
27501 4519 : return -1;
27502 : return 784; /* *andqi_2 */
27503 :
27504 787 : case E_HImode:
27505 787 : if (pattern1469 (x9,
27506 : E_HImode) != 0
27507 787 : || !insn_condition_2120 (operands, insn))
27508 230 : return -1;
27509 : return 785; /* *andhi_2 */
27510 :
27511 42699 : case E_SImode:
27512 42699 : if (pattern1470 (x9,
27513 : E_SImode) != 0
27514 42699 : || !insn_condition_2121 (operands, insn))
27515 1828 : return -1;
27516 : return 786; /* *andsi_2 */
27517 :
27518 : default:
27519 : return -1;
27520 : }
27521 :
27522 560 : case ZERO_EXTEND:
27523 560 : if (pattern1467 (x1,
27524 : AND) != 0
27525 560 : || !insn_condition_2122 (operands, insn))
27526 560 : return -1;
27527 : return 782; /* *andsi_2_zext */
27528 :
27529 : default:
27530 : return -1;
27531 : }
27532 : }
27533 :
27534 : int
27535 258350 : recog_399 (rtx x1 ATTRIBUTE_UNUSED,
27536 : rtx_insn *insn ATTRIBUTE_UNUSED,
27537 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27538 : {
27539 258350 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27540 258350 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27541 258350 : int res ATTRIBUTE_UNUSED;
27542 258350 : switch (pattern397 (x1,
27543 : IOR))
27544 : {
27545 147906 : case 0:
27546 147906 : if (general_operand (operands[2], E_QImode))
27547 : {
27548 7379 : switch (pattern988 (x1,
27549 : IOR))
27550 : {
27551 0 : case 0:
27552 0 : if (insn_condition_29 (operands, insn))
27553 : return 815; /* *iorqi_exthi_1_cc */
27554 : break;
27555 :
27556 0 : case 1:
27557 0 : if (insn_condition_29 (operands, insn))
27558 : return 818; /* *iorqi_extsi_1_cc */
27559 : break;
27560 :
27561 0 : case 2:
27562 0 : if (insn_condition_34 (operands, insn))
27563 : return 821; /* *iorqi_extdi_1_cc */
27564 : break;
27565 :
27566 : default:
27567 : break;
27568 : }
27569 : }
27570 147906 : x2 = XVECEXP (x1, 0, 0);
27571 147906 : x3 = XEXP (x2, 0);
27572 147906 : if (GET_CODE (x3) != REG
27573 147906 : || REGNO (x3) != 17)
27574 : return -1;
27575 147906 : x4 = XEXP (x2, 1);
27576 147906 : x5 = XEXP (x4, 0);
27577 147906 : x6 = XEXP (x5, 0);
27578 147906 : operands[1] = x6;
27579 147906 : x7 = XVECEXP (x1, 0, 1);
27580 147906 : switch (GET_CODE (x7))
27581 : {
27582 113181 : case SET:
27583 113181 : x8 = XEXP (x7, 0);
27584 113181 : operands[0] = x8;
27585 113181 : x9 = XEXP (x7, 1);
27586 113181 : switch (GET_CODE (x9))
27587 : {
27588 97367 : case IOR:
27589 97367 : switch (pattern1471 (x1))
27590 : {
27591 2906 : case 0:
27592 2906 : if (!insn_condition_2136 (operands, insn))
27593 : return -1;
27594 : return 904; /* *iorqi_2 */
27595 :
27596 14 : case 1:
27597 14 : if (!insn_condition_2137 (operands, insn))
27598 : return -1;
27599 : return 906; /* *iorhi_2 */
27600 :
27601 33005 : case 2:
27602 33005 : if (!insn_condition_2138 (operands, insn))
27603 : return -1;
27604 : return 908; /* *iorsi_2 */
27605 :
27606 60923 : case 3:
27607 60923 : if (!insn_condition_2139 (operands, insn))
27608 : return -1;
27609 : return 910; /* *iordi_2 */
27610 :
27611 0 : case 4:
27612 0 : if (!insn_condition_2140 (operands, insn))
27613 : return -1;
27614 : return 914; /* *iorsi_2_zext_imm */
27615 :
27616 : default:
27617 : return -1;
27618 : }
27619 :
27620 24 : case ZERO_EXTEND:
27621 24 : if (pattern1467 (x1,
27622 : IOR) != 0
27623 24 : || !insn_condition_2140 (operands, insn))
27624 : return -1;
27625 : return 912; /* *iorsi_2_zext */
27626 :
27627 : default:
27628 : return -1;
27629 : }
27630 :
27631 34725 : case CLOBBER:
27632 34725 : x8 = XEXP (x7, 0);
27633 34725 : operands[0] = x8;
27634 34725 : if (GET_MODE (x3) == E_CCZmode
27635 34427 : && GET_MODE (x4) == E_CCZmode)
27636 : {
27637 34427 : switch (pattern1362 (x5))
27638 : {
27639 2312 : case 0:
27640 2312 : if (insn_condition_58 (operands, insn))
27641 : return 916; /* *iorqi_ccz_1 */
27642 : break;
27643 :
27644 153 : case 1:
27645 153 : if (insn_condition_59 (operands, insn))
27646 : return 917; /* *iorhi_ccz_1 */
27647 : break;
27648 :
27649 7516 : case 2:
27650 7516 : if (insn_condition_60 (operands, insn))
27651 : return 918; /* *iorsi_ccz_1 */
27652 : break;
27653 :
27654 6030 : case 3:
27655 6030 : if (insn_condition_61 (operands, insn))
27656 : return 919; /* *iordi_ccz_1 */
27657 : break;
27658 :
27659 : default:
27660 : break;
27661 : }
27662 : }
27663 34719 : switch (GET_MODE (x5))
27664 : {
27665 3224 : case E_QImode:
27666 3224 : if (!nonimmediate_operand (operands[1], E_QImode)
27667 2383 : || !general_operand (operands[2], E_QImode)
27668 2375 : || !scratch_operand (operands[0], E_QImode)
27669 5545 : || !insn_condition_744 (operands, insn))
27670 : return -1;
27671 : return 920; /* *iorqi_3 */
27672 :
27673 192 : case E_HImode:
27674 192 : if (!nonimmediate_operand (operands[1], E_HImode)
27675 191 : || !general_operand (operands[2], E_HImode)
27676 191 : || !scratch_operand (operands[0], E_HImode)
27677 341 : || !insn_condition_744 (operands, insn))
27678 : return -1;
27679 : return 922; /* *iorhi_3 */
27680 :
27681 16350 : case E_SImode:
27682 16350 : if (!nonimmediate_operand (operands[1], E_SImode)
27683 13046 : || !x86_64_general_operand (operands[2], E_SImode)
27684 8234 : || !scratch_operand (operands[0], E_SImode)
27685 23935 : || !insn_condition_744 (operands, insn))
27686 : return -1;
27687 : return 924; /* *iorsi_3 */
27688 :
27689 14953 : case E_DImode:
27690 14953 : if (!nonimmediate_operand (operands[1], E_DImode)
27691 11759 : || !x86_64_general_operand (operands[2], E_DImode)
27692 6954 : || !scratch_operand (operands[0], E_DImode)
27693 21187 : || !insn_condition_745 (operands, insn))
27694 : return -1;
27695 : return 926; /* *iordi_3 */
27696 :
27697 : default:
27698 : return -1;
27699 : }
27700 :
27701 : default:
27702 : return -1;
27703 : }
27704 :
27705 : case 1:
27706 : return 9914; /* atomic_or_fetch_cmp_0qi_1 */
27707 :
27708 252 : case 2:
27709 252 : return 9917; /* atomic_or_fetch_cmp_0hi_1 */
27710 :
27711 252 : case 3:
27712 252 : return 9920; /* atomic_or_fetch_cmp_0si_1 */
27713 :
27714 252 : case 4:
27715 252 : if (!insn_condition_52 (operands, insn))
27716 : return -1;
27717 : return 9923; /* atomic_or_fetch_cmp_0di_1 */
27718 :
27719 : default:
27720 : return -1;
27721 : }
27722 : }
27723 :
27724 : int
27725 439700 : recog_400 (rtx x1 ATTRIBUTE_UNUSED,
27726 : rtx_insn *insn ATTRIBUTE_UNUSED,
27727 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27728 : {
27729 439700 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27730 439700 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27731 439700 : rtx x10, x11, x12, x13, x14, x15;
27732 439700 : int res ATTRIBUTE_UNUSED;
27733 439700 : x2 = XVECEXP (x1, 0, 0);
27734 439700 : x3 = XEXP (x2, 1);
27735 439700 : x4 = XEXP (x3, 1);
27736 439700 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27737 : return -1;
27738 337311 : x5 = XEXP (x3, 0);
27739 337311 : x6 = XEXP (x5, 0);
27740 337311 : switch (GET_CODE (x6))
27741 : {
27742 162827 : case REG:
27743 162827 : case SUBREG:
27744 162827 : case MEM:
27745 162827 : operands[1] = x6;
27746 162827 : res = recog_394 (x1, insn, pnum_clobbers);
27747 162827 : if (res >= 0)
27748 : return res;
27749 72259 : if (GET_CODE (x6) != SUBREG)
27750 : return -1;
27751 20173 : switch (pattern858 (x1))
27752 : {
27753 442 : case 0:
27754 442 : if (!insn_condition_29 (operands, insn))
27755 : return -1;
27756 : return 814; /* *andqi_exthi_1_cc */
27757 :
27758 0 : case 1:
27759 0 : if (!insn_condition_29 (operands, insn))
27760 : return -1;
27761 : return 817; /* *andqi_extsi_1_cc */
27762 :
27763 0 : case 2:
27764 0 : if (!insn_condition_34 (operands, insn))
27765 : return -1;
27766 : return 820; /* *andqi_extdi_1_cc */
27767 :
27768 : default:
27769 : return -1;
27770 : }
27771 :
27772 14880 : case NOT:
27773 14880 : x7 = XEXP (x2, 0);
27774 14880 : if (GET_CODE (x7) != REG
27775 14880 : || REGNO (x7) != 17)
27776 : return -1;
27777 14880 : x8 = XVECEXP (x1, 0, 1);
27778 14880 : if (GET_CODE (x8) != CLOBBER)
27779 : return -1;
27780 213 : x9 = XEXP (x6, 0);
27781 213 : operands[1] = x9;
27782 213 : x10 = XEXP (x5, 1);
27783 213 : operands[2] = x10;
27784 213 : x11 = XEXP (x8, 0);
27785 213 : operands[0] = x11;
27786 213 : switch (GET_MODE (x5))
27787 : {
27788 2 : case E_SImode:
27789 2 : if (pattern1468 (x6,
27790 : E_SImode) != 0
27791 2 : || !insn_condition_739 (operands, insn))
27792 : return -1;
27793 : return 849; /* *andn_si_ccno */
27794 :
27795 211 : case E_DImode:
27796 211 : if (pattern1468 (x6,
27797 : E_DImode) != 0
27798 211 : || !insn_condition_740 (operands, insn))
27799 : return -1;
27800 : return 850; /* *andn_di_ccno */
27801 :
27802 : default:
27803 : return -1;
27804 : }
27805 :
27806 2243 : case NEG:
27807 2243 : x7 = XEXP (x2, 0);
27808 2243 : if (GET_CODE (x7) != REG
27809 2243 : || REGNO (x7) != 17)
27810 : return -1;
27811 2243 : x9 = XEXP (x6, 0);
27812 2243 : operands[1] = x9;
27813 2243 : x10 = XEXP (x5, 1);
27814 2243 : if (!rtx_equal_p (x10, operands[1]))
27815 : return -1;
27816 24 : x8 = XVECEXP (x1, 0, 1);
27817 24 : switch (GET_CODE (x8))
27818 : {
27819 16 : case SET:
27820 16 : x12 = XEXP (x8, 1);
27821 16 : if (GET_CODE (x12) != AND)
27822 : return -1;
27823 1 : x13 = XEXP (x12, 0);
27824 1 : if (GET_CODE (x13) != NEG)
27825 : return -1;
27826 1 : x11 = XEXP (x8, 0);
27827 1 : operands[0] = x11;
27828 1 : switch (pattern1534 (x1))
27829 : {
27830 1 : case 0:
27831 1 : if (!insn_condition_739 (operands, insn))
27832 : return -1;
27833 : return 1710; /* *bmi_blsi_si_cmp */
27834 :
27835 0 : case 1:
27836 0 : if (!insn_condition_740 (operands, insn))
27837 : return -1;
27838 : return 1711; /* *bmi_blsi_di_cmp */
27839 :
27840 : default:
27841 : return -1;
27842 : }
27843 :
27844 8 : case CLOBBER:
27845 8 : switch (pattern1275 (x1))
27846 : {
27847 6 : case 0:
27848 6 : if (!insn_condition_739 (operands, insn))
27849 : return -1;
27850 : return 1714; /* *bmi_blsi_si_ccno */
27851 :
27852 2 : case 1:
27853 2 : if (!insn_condition_740 (operands, insn))
27854 : return -1;
27855 : return 1715; /* *bmi_blsi_di_ccno */
27856 :
27857 : default:
27858 : return -1;
27859 : }
27860 :
27861 : default:
27862 : return -1;
27863 : }
27864 :
27865 47057 : case PLUS:
27866 47057 : x14 = XEXP (x6, 1);
27867 47057 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + -1]
27868 47057 : || pattern857 (x2,
27869 : E_CCZmode) != 0)
27870 : return -1;
27871 6325 : x9 = XEXP (x6, 0);
27872 6325 : operands[1] = x9;
27873 6325 : x10 = XEXP (x5, 1);
27874 6325 : if (!rtx_equal_p (x10, operands[1]))
27875 : return -1;
27876 3710 : x8 = XVECEXP (x1, 0, 1);
27877 3710 : switch (GET_CODE (x8))
27878 : {
27879 3710 : case SET:
27880 3710 : x12 = XEXP (x8, 1);
27881 3710 : if (GET_CODE (x12) != AND)
27882 : return -1;
27883 757 : x13 = XEXP (x12, 0);
27884 757 : if (GET_CODE (x13) != PLUS)
27885 : return -1;
27886 745 : x15 = XEXP (x13, 1);
27887 745 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
27888 : return -1;
27889 745 : x11 = XEXP (x8, 0);
27890 745 : operands[0] = x11;
27891 745 : switch (pattern1534 (x1))
27892 : {
27893 478 : case 0:
27894 478 : if (!insn_condition_56 (operands, insn))
27895 : return -1;
27896 : return 1722; /* *bmi_blsr_si_cmp */
27897 :
27898 132 : case 1:
27899 132 : if (!insn_condition_57 (operands, insn))
27900 : return -1;
27901 : return 1723; /* *bmi_blsr_di_cmp */
27902 :
27903 : default:
27904 : return -1;
27905 : }
27906 :
27907 0 : case CLOBBER:
27908 0 : switch (pattern1275 (x1))
27909 : {
27910 0 : case 0:
27911 0 : if (!insn_condition_56 (operands, insn))
27912 : return -1;
27913 : return 1726; /* *bmi_blsr_si_ccz */
27914 :
27915 0 : case 1:
27916 347174 : if (!insn_condition_57 (operands, insn))
27917 : return -1;
27918 : return 1727; /* *bmi_blsr_di_ccz */
27919 :
27920 : default:
27921 : return -1;
27922 : }
27923 :
27924 : default:
27925 : return -1;
27926 : }
27927 :
27928 1680 : case UNSPEC_VOLATILE:
27929 1680 : switch (pattern396 (x1,
27930 : AND))
27931 : {
27932 : case 0:
27933 : return 9913; /* atomic_and_fetch_cmp_0qi_1 */
27934 :
27935 380 : case 1:
27936 380 : return 9916; /* atomic_and_fetch_cmp_0hi_1 */
27937 :
27938 380 : case 2:
27939 380 : return 9919; /* atomic_and_fetch_cmp_0si_1 */
27940 :
27941 380 : case 3:
27942 380 : if (!insn_condition_52 (operands, insn))
27943 : return -1;
27944 : return 9922; /* atomic_and_fetch_cmp_0di_1 */
27945 :
27946 : default:
27947 : return -1;
27948 : }
27949 :
27950 : default:
27951 : return -1;
27952 : }
27953 : }
27954 :
27955 : int
27956 4704711 : recog_407 (rtx x1 ATTRIBUTE_UNUSED,
27957 : rtx_insn *insn ATTRIBUTE_UNUSED,
27958 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27959 : {
27960 4704711 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27961 4704711 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27962 4704711 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
27963 4704711 : rtx x18, x19;
27964 4704711 : int res ATTRIBUTE_UNUSED;
27965 4704711 : x2 = XVECEXP (x1, 0, 0);
27966 4704711 : x3 = XEXP (x2, 1);
27967 4704711 : x4 = XEXP (x3, 0);
27968 4704711 : switch (GET_CODE (x4))
27969 : {
27970 3101481 : case NE:
27971 3101481 : case EQ:
27972 3101481 : if (bt_comparison_operator (x4, E_VOIDmode))
27973 : {
27974 3101481 : res = recog_406 (x1, insn, pnum_clobbers);
27975 3101481 : if (res >= 0)
27976 : return res;
27977 : }
27978 3100163 : if (GET_CODE (x4) != NE)
27979 : return -1;
27980 1586990 : x5 = XEXP (x4, 1);
27981 1586990 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27982 : return -1;
27983 509123 : x6 = XEXP (x4, 0);
27984 509123 : switch (GET_CODE (x6))
27985 : {
27986 160075 : case REG:
27987 160075 : case SUBREG:
27988 160075 : operands[2] = x6;
27989 160075 : if (!register_operand (operands[2], E_QImode))
27990 : return -1;
27991 8670 : x7 = XEXP (x3, 1);
27992 8670 : if (GET_CODE (x7) != ZERO_EXTRACT)
27993 : return -1;
27994 362 : x8 = XEXP (x7, 1);
27995 362 : if (GET_CODE (x8) != UMIN
27996 362 : || GET_MODE (x8) != E_QImode)
27997 : return -1;
27998 362 : x9 = XEXP (x7, 2);
27999 362 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
28000 : return -1;
28001 362 : x10 = XEXP (x3, 2);
28002 362 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
28003 362 : || pattern373 (x1) != 0
28004 724 : || GET_MODE (x4) != E_QImode)
28005 : return -1;
28006 362 : x11 = XEXP (x7, 0);
28007 362 : operands[1] = x11;
28008 362 : x12 = XEXP (x8, 1);
28009 362 : operands[3] = x12;
28010 362 : if (!const_int_operand (operands[3], E_QImode))
28011 : return -1;
28012 362 : x13 = XEXP (x8, 0);
28013 362 : if (!rtx_equal_p (x13, operands[2]))
28014 : return -1;
28015 362 : switch (GET_MODE (operands[0]))
28016 : {
28017 193 : case E_SImode:
28018 193 : if (pattern1544 (x3,
28019 : E_SImode) != 0
28020 4673118 : || !insn_condition_68 (operands, insn))
28021 : return -1;
28022 : return 1728; /* *bmi2_bzhi_si3 */
28023 :
28024 169 : case E_DImode:
28025 169 : if (pattern1544 (x3,
28026 : E_DImode) != 0
28027 169 : || !insn_condition_69 (operands, insn))
28028 : return -1;
28029 : return 1729; /* *bmi2_bzhi_di3 */
28030 :
28031 : default:
28032 : return -1;
28033 : }
28034 :
28035 579 : case UNSPEC:
28036 579 : if (XVECLEN (x6, 0) != 1
28037 409 : || XINT (x6, 1) != 32)
28038 : return -1;
28039 157 : x14 = XVECEXP (x6, 0, 0);
28040 157 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
28041 : return -1;
28042 157 : x7 = XEXP (x3, 1);
28043 157 : if (GET_CODE (x7) != LABEL_REF)
28044 : return -1;
28045 157 : x10 = XEXP (x3, 2);
28046 157 : if (GET_CODE (x10) != PC)
28047 : return -1;
28048 157 : x15 = XEXP (x2, 0);
28049 157 : if (GET_CODE (x15) != PC)
28050 : return -1;
28051 157 : x16 = XVECEXP (x1, 0, 1);
28052 157 : if (GET_CODE (x16) != SET)
28053 : return -1;
28054 157 : x17 = XEXP (x16, 1);
28055 157 : if (pattern854 (x17,
28056 : E_SImode,
28057 : 46,
28058 : 1,
28059 : UNSPEC_VOLATILE) != 0)
28060 : return -1;
28061 157 : x11 = XEXP (x7, 0);
28062 157 : operands[1] = x11;
28063 157 : x18 = XEXP (x16, 0);
28064 157 : operands[0] = x18;
28065 157 : if (!register_operand (operands[0], E_SImode))
28066 : return -1;
28067 157 : x19 = XVECEXP (x17, 0, 0);
28068 157 : if (!rtx_equal_p (x19, operands[0])
28069 157 : || !insn_condition_506 (operands, insn))
28070 : return -1;
28071 : return 2126; /* xbegin_1 */
28072 :
28073 : default:
28074 : return -1;
28075 : }
28076 :
28077 150907 : case LTU:
28078 150907 : case UNLT:
28079 150907 : operands[1] = x4;
28080 150907 : if (!ix86_carry_flag_operator (operands[1], E_VOIDmode))
28081 : return -1;
28082 38977 : x6 = XEXP (x4, 0);
28083 38977 : if (GET_CODE (x6) != REG
28084 38977 : || REGNO (x6) != 17)
28085 : return -1;
28086 37747 : x5 = XEXP (x4, 1);
28087 37747 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
28088 : return -1;
28089 37747 : x7 = XEXP (x3, 1);
28090 37747 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
28091 : return -1;
28092 29985 : x10 = XEXP (x3, 2);
28093 29985 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
28094 29985 : || pattern373 (x1) != 0)
28095 : return -1;
28096 29985 : switch (pattern1617 (x3))
28097 : {
28098 : case 0:
28099 : return 1932; /* *x86_movsicc_0_m1 */
28100 :
28101 5805 : case 1:
28102 5805 : if (!insn_condition_52 (operands, insn))
28103 : return -1;
28104 : return 1933; /* *x86_movdicc_0_m1 */
28105 :
28106 : default:
28107 : return -1;
28108 : }
28109 :
28110 : default:
28111 : return -1;
28112 : }
28113 : }
28114 :
28115 : int
28116 3652265 : recog_408 (rtx x1 ATTRIBUTE_UNUSED,
28117 : rtx_insn *insn ATTRIBUTE_UNUSED,
28118 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28119 : {
28120 3652265 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28121 3652265 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28122 3652265 : rtx x10;
28123 3652265 : int res ATTRIBUTE_UNUSED;
28124 3652265 : x2 = XVECEXP (x1, 0, 0);
28125 3652265 : x3 = XEXP (x2, 0);
28126 3652265 : operands[0] = x3;
28127 3652265 : x4 = XEXP (x2, 1);
28128 3652265 : x5 = XEXP (x4, 0);
28129 3652265 : switch (GET_CODE (x5))
28130 : {
28131 2632094 : case REG:
28132 2632094 : case SUBREG:
28133 2632094 : case MEM:
28134 2632094 : x6 = XVECEXP (x1, 0, 1);
28135 2632094 : switch (GET_CODE (x6))
28136 : {
28137 2506376 : case CLOBBER:
28138 2506376 : x7 = XEXP (x6, 0);
28139 2506376 : if (GET_CODE (x7) != REG
28140 2506376 : || REGNO (x7) != 17
28141 5012752 : || GET_MODE (x7) != E_CCmode)
28142 : return -1;
28143 2506376 : operands[1] = x5;
28144 2506376 : x8 = XEXP (x4, 1);
28145 2506376 : operands[2] = x8;
28146 2506376 : switch (GET_MODE (operands[0]))
28147 : {
28148 38332 : case E_HImode:
28149 38332 : if (!register_operand (operands[0], E_HImode)
28150 38179 : || GET_MODE (x4) != E_HImode
28151 38179 : || !nonimmediate_operand (operands[1], E_HImode)
28152 37431 : || !general_operand (operands[2], E_HImode)
28153 38332 : || !insn_condition_481 (operands, insn))
28154 4638 : return -1;
28155 : return 620; /* *mulhi3_1 */
28156 :
28157 588848 : case E_SImode:
28158 588848 : if (pattern1368 (x4,
28159 : E_SImode) != 0
28160 588848 : || !insn_condition_785 (operands, insn))
28161 32408 : return -1;
28162 : return 622; /* *mulsi3_1 */
28163 :
28164 1832739 : case E_DImode:
28165 1832739 : if (pattern1368 (x4,
28166 : E_DImode) != 0
28167 1832739 : || !insn_condition_787 (operands, insn))
28168 111431 : return -1;
28169 : return 624; /* *muldi3_1 */
28170 :
28171 46448 : case E_QImode:
28172 46448 : if (pattern251 (x4,
28173 : E_QImode) != 0
28174 46448 : || !insn_condition_483 (operands, insn))
28175 6641 : return -1;
28176 : return 632; /* *mulqi3_1 */
28177 :
28178 : default:
28179 : return -1;
28180 : }
28181 :
28182 125623 : case SET:
28183 125623 : x9 = XEXP (x6, 1);
28184 125623 : if (GET_CODE (x9) != UMUL_HIGHPART)
28185 : return -1;
28186 75 : switch (pattern614 (x1))
28187 : {
28188 0 : case 0:
28189 0 : if (!insn_condition_2197 (operands, insn))
28190 0 : return -1;
28191 : return 644; /* *bmi2_umulsidi3_1 */
28192 :
28193 23 : case 1:
28194 23 : if (!insn_condition_801 (operands, insn))
28195 0 : return -1;
28196 : return 645; /* *bmi2_umulditi3_1 */
28197 :
28198 : default:
28199 : return -1;
28200 : }
28201 :
28202 78 : case UNSPEC:
28203 78 : if (XVECLEN (x6, 0) != 1
28204 78 : || XINT (x6, 1) != 109)
28205 : return -1;
28206 78 : x10 = XVECEXP (x6, 0, 0);
28207 78 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
28208 78 : || !register_operand (operands[0], E_V2SFmode)
28209 156 : || GET_MODE (x4) != E_V2SFmode)
28210 : return -1;
28211 78 : operands[1] = x5;
28212 78 : if (!nonimmediate_operand (operands[1], E_V2SFmode))
28213 : return -1;
28214 78 : x8 = XEXP (x4, 1);
28215 78 : operands[2] = x8;
28216 78 : if (!nonimmediate_operand (operands[2], E_V2SFmode)
28217 78 : || !insn_condition_2198 (operands, insn))
28218 9 : return -1;
28219 : return 2214; /* *mmx_mulv2sf3 */
28220 :
28221 : default:
28222 : return -1;
28223 : }
28224 :
28225 429263 : case ZERO_EXTEND:
28226 429263 : switch (pattern585 (x1,
28227 : ZERO_EXTEND))
28228 : {
28229 135327 : case 0:
28230 135327 : if (!insn_condition_51 (operands, insn))
28231 333 : return -1;
28232 : return 646; /* *umulsidi3_1 */
28233 :
28234 110032 : case 1:
28235 110032 : if (!insn_condition_52 (operands, insn))
28236 0 : return -1;
28237 : return 647; /* *umulditi3_1 */
28238 :
28239 3609 : case 2:
28240 3609 : if (!insn_condition_223 (operands, insn))
28241 0 : return -1;
28242 : return 655; /* *umulqihi3_1 */
28243 :
28244 : default:
28245 : return -1;
28246 : }
28247 :
28248 90028 : case SIGN_EXTEND:
28249 90028 : switch (pattern585 (x1,
28250 : SIGN_EXTEND))
28251 : {
28252 10420 : case 0:
28253 10420 : if (!insn_condition_789 (operands, insn))
28254 576 : return -1;
28255 : return 649; /* *mulsidi3_1 */
28256 :
28257 7434 : case 1:
28258 7434 : if (!insn_condition_486 (operands, insn))
28259 0 : return -1;
28260 : return 651; /* *mulditi3_1 */
28261 :
28262 968 : case 2:
28263 968 : if (!insn_condition_223 (operands, insn))
28264 0 : return -1;
28265 : return 653; /* *mulqihi3_1 */
28266 :
28267 : default:
28268 : return -1;
28269 : }
28270 :
28271 : default:
28272 : return -1;
28273 : }
28274 : }
28275 :
28276 : int
28277 61015 : recog_413 (rtx x1 ATTRIBUTE_UNUSED,
28278 : rtx_insn *insn ATTRIBUTE_UNUSED,
28279 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28280 : {
28281 61015 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28282 61015 : rtx x2, x3, x4, x5;
28283 61015 : int res ATTRIBUTE_UNUSED;
28284 61015 : x2 = XVECEXP (x1, 0, 0);
28285 61015 : x3 = XEXP (x2, 1);
28286 61015 : x4 = XEXP (x3, 1);
28287 61015 : operands[2] = x4;
28288 61015 : x5 = XVECEXP (x1, 0, 1);
28289 61015 : switch (pattern865 (x5))
28290 : {
28291 55539 : case 0:
28292 55539 : switch (GET_MODE (operands[0]))
28293 : {
28294 32655 : case E_DImode:
28295 32655 : if (pattern1474 (x3,
28296 : E_DImode) != 0)
28297 : return -1;
28298 31359 : if (insn_condition_797 (operands, insn))
28299 : return 841; /* *andndi3_doubleword_bmi */
28300 31359 : if (insn_condition_798 (operands, insn))
28301 : return 843; /* *andndi3_doubleword */
28302 23519 : if (!insn_condition_799 (operands, insn))
28303 23439 : return -1;
28304 : return 846; /* *andndi_1 */
28305 :
28306 71 : case E_TImode:
28307 71 : if (pattern1474 (x3,
28308 : E_TImode) != 0)
28309 : return -1;
28310 55 : if (insn_condition_57 (operands, insn))
28311 : return 842; /* *andnti3_doubleword_bmi */
28312 53 : if (!insn_condition_335 (operands, insn))
28313 0 : return -1;
28314 : return 844; /* *andnti3_doubleword */
28315 :
28316 9900 : case E_SImode:
28317 9900 : if (pattern1474 (x3,
28318 : E_SImode) != 0
28319 9900 : || !insn_condition_336 (operands, insn))
28320 9786 : return -1;
28321 : return 845; /* *andnsi_1 */
28322 :
28323 12143 : case E_QImode:
28324 12143 : if (pattern1475 (x3,
28325 : E_QImode) != 0
28326 12143 : || !insn_condition_336 (operands, insn))
28327 12139 : return -1;
28328 : return 847; /* *andnqi_1 */
28329 :
28330 188 : case E_HImode:
28331 188 : if (pattern1475 (x3,
28332 : E_HImode) != 0
28333 188 : || !insn_condition_336 (operands, insn))
28334 144 : return -1;
28335 : return 848; /* *andnhi_1 */
28336 :
28337 211 : case E_V4QImode:
28338 211 : if (pattern1475 (x3,
28339 : E_V4QImode) != 0)
28340 75 : return -1;
28341 : return 2431; /* *andnotv4qi3 */
28342 :
28343 123 : case E_V2QImode:
28344 123 : if (pattern1475 (x3,
28345 : E_V2QImode) != 0)
28346 60 : return -1;
28347 : return 2432; /* *andnotv2qi3 */
28348 :
28349 248 : case E_V2HImode:
28350 248 : if (pattern1475 (x3,
28351 : E_V2HImode) != 0)
28352 63 : return -1;
28353 : return 2433; /* *andnotv2hi3 */
28354 :
28355 : default:
28356 : return -1;
28357 : }
28358 :
28359 119 : case 1:
28360 119 : if (pattern1475 (x3,
28361 : E_QImode) != 0
28362 119 : || !insn_condition_27 (operands, insn))
28363 40 : return -1;
28364 : return 2759; /* kandnqi */
28365 :
28366 137 : case 2:
28367 137 : if (pattern1475 (x3,
28368 : E_HImode) != 0
28369 137 : || !insn_condition_27 (operands, insn))
28370 0 : return -1;
28371 : return 2760; /* kandnhi */
28372 :
28373 63 : case 3:
28374 63 : if (pattern1475 (x3,
28375 : E_SImode) != 0
28376 63 : || !insn_condition_120 (operands, insn))
28377 0 : return -1;
28378 : return 2761; /* kandnsi */
28379 :
28380 63 : case 4:
28381 63 : if (pattern1475 (x3,
28382 : E_DImode) != 0
28383 63 : || !insn_condition_120 (operands, insn))
28384 0 : return -1;
28385 : return 2762; /* kandndi */
28386 :
28387 : default:
28388 : return -1;
28389 : }
28390 : }
28391 :
28392 : int
28393 8743 : recog_415 (rtx x1 ATTRIBUTE_UNUSED,
28394 : rtx_insn *insn ATTRIBUTE_UNUSED,
28395 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28396 : {
28397 8743 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28398 8743 : rtx x2, x3, x4, x5, x6, x7;
28399 8743 : int res ATTRIBUTE_UNUSED;
28400 8743 : x2 = XVECEXP (x1, 0, 0);
28401 8743 : x3 = XEXP (x2, 1);
28402 8743 : x4 = XEXP (x3, 0);
28403 8743 : x5 = XEXP (x4, 0);
28404 8743 : switch (GET_CODE (x5))
28405 : {
28406 1737 : case ASHIFTRT:
28407 1737 : case LSHIFTRT:
28408 1737 : case SIGN_EXTRACT:
28409 1737 : case ZERO_EXTRACT:
28410 1737 : operands[3] = x5;
28411 1737 : x6 = XEXP (x5, 0);
28412 1737 : operands[2] = x6;
28413 1737 : switch (pattern1568 (x2))
28414 : {
28415 2 : case 0:
28416 2 : if (insn_condition_194 (operands, insn))
28417 : return 765; /* *xorqi_exthi_1_slp */
28418 : break;
28419 :
28420 2 : case 1:
28421 2 : if (insn_condition_194 (operands, insn))
28422 : return 768; /* *xorqi_extsi_1_slp */
28423 : break;
28424 :
28425 2 : case 2:
28426 2 : if (insn_condition_195 (operands, insn))
28427 : return 771; /* *xorqi_extdi_1_slp */
28428 : break;
28429 :
28430 : case 3:
28431 : return 789; /* *xorqi_exthi_0 */
28432 :
28433 23 : case 4:
28434 23 : return 792; /* *xorqi_extsi_0 */
28435 :
28436 28 : case 5:
28437 28 : if (insn_condition_52 (operands, insn))
28438 : return 795; /* *xorqi_extdi_0 */
28439 : break;
28440 :
28441 : default:
28442 : break;
28443 : }
28444 1646 : x7 = XEXP (x3, 1);
28445 1646 : if (GET_CODE (x7) != SUBREG)
28446 : return -1;
28447 965 : switch (pattern1572 (x2))
28448 : {
28449 1 : case 0:
28450 1 : if (!insn_condition_194 (operands, insn))
28451 : return -1;
28452 : return 774; /* *xorqi_exthi_2_slp */
28453 :
28454 1 : case 1:
28455 1 : if (!insn_condition_194 (operands, insn))
28456 : return -1;
28457 : return 777; /* *xorqi_extsi_2_slp */
28458 :
28459 1 : case 2:
28460 1 : if (!insn_condition_195 (operands, insn))
28461 : return -1;
28462 : return 780; /* *xorqi_extdi_2_slp */
28463 :
28464 : case 3:
28465 : return 798; /* *xorqi_ext2hi_0 */
28466 :
28467 7 : case 4:
28468 7 : return 801; /* *xorqi_ext2si_0 */
28469 :
28470 6 : case 5:
28471 6 : if (!insn_condition_52 (operands, insn))
28472 : return -1;
28473 : return 804; /* *xorqi_ext2di_0 */
28474 :
28475 : default:
28476 : return -1;
28477 : }
28478 :
28479 : default:
28480 : return -1;
28481 : }
28482 : }
28483 :
28484 : int
28485 920537 : recog_416 (rtx x1 ATTRIBUTE_UNUSED,
28486 : rtx_insn *insn ATTRIBUTE_UNUSED,
28487 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28488 : {
28489 920537 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28490 920537 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28491 920537 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
28492 920537 : rtx x18, x19, x20, x21, x22;
28493 920537 : int res ATTRIBUTE_UNUSED;
28494 920537 : x2 = XVECEXP (x1, 0, 0);
28495 920537 : x3 = XEXP (x2, 1);
28496 920537 : x4 = XEXP (x3, 0);
28497 920537 : switch (GET_CODE (x4))
28498 : {
28499 767799 : case REG:
28500 767799 : case SUBREG:
28501 767799 : case MEM:
28502 767799 : operands[1] = x4;
28503 767799 : switch (pattern592 (x1))
28504 : {
28505 152 : case 0:
28506 152 : if (insn_condition_194 (operands, insn))
28507 : return 759; /* *xorqi_1_slp */
28508 : break;
28509 :
28510 0 : case 1:
28511 0 : if (insn_condition_194 (operands, insn))
28512 : return 762; /* *xorhi_1_slp */
28513 : break;
28514 :
28515 353488 : case 2:
28516 353488 : if (x86_64_hilo_general_operand (operands[2], E_DImode)
28517 353488 : && insn_condition_760 (operands, insn))
28518 : return 852; /* *xordi3_doubleword */
28519 344918 : if (x86_64_general_operand (operands[2], E_DImode)
28520 344918 : && insn_condition_762 (operands, insn))
28521 : return 866; /* *xordi_1 */
28522 87386 : if (const_int_operand (operands[2], E_DImode)
28523 87386 : && insn_condition_763 (operands, insn))
28524 : return 871; /* *xordi_1_btc */
28525 : break;
28526 :
28527 10220 : case 3:
28528 10220 : if (insn_condition_243 (operands, insn))
28529 : return 854; /* *xorti3_doubleword */
28530 : break;
28531 :
28532 19922 : case 4:
28533 19922 : if (insn_condition_245 (operands, insn))
28534 : return 858; /* *xorhi_1 */
28535 : break;
28536 :
28537 222028 : case 5:
28538 222028 : if (insn_condition_765 (operands, insn))
28539 : return 862; /* *xorsi_1 */
28540 : break;
28541 :
28542 382 : case 6:
28543 382 : if (insn_condition_249 (operands, insn))
28544 : return 2445; /* *xorv4qi3 */
28545 : break;
28546 :
28547 371 : case 7:
28548 371 : if (insn_condition_250 (operands, insn))
28549 : return 2448; /* *xorv2qi3 */
28550 : break;
28551 :
28552 134 : case 8:
28553 134 : if (insn_condition_251 (operands, insn))
28554 : return 2451; /* *xorv2hi3 */
28555 : break;
28556 :
28557 65 : case 9:
28558 65 : if (insn_condition_27 (operands, insn))
28559 : return 2749; /* kxorqi */
28560 : break;
28561 :
28562 143 : case 10:
28563 143 : if (insn_condition_27 (operands, insn))
28564 : return 2752; /* kxorhi */
28565 : break;
28566 :
28567 65 : case 11:
28568 65 : if (insn_condition_120 (operands, insn))
28569 : return 2755; /* kxorsi */
28570 : break;
28571 :
28572 66 : case 12:
28573 66 : if (insn_condition_120 (operands, insn))
28574 : return 2758; /* kxordi */
28575 : break;
28576 :
28577 : default:
28578 : break;
28579 : }
28580 255060 : x5 = XVECEXP (x1, 0, 1);
28581 255060 : if (GET_CODE (x5) != CLOBBER
28582 255060 : || pattern593 (x1) != 0)
28583 : return -1;
28584 137235 : if (GET_CODE (x4) == SUBREG
28585 8866 : && known_eq (SUBREG_BYTE (x4), 0)
28586 145978 : && GET_MODE (x4) == E_QImode)
28587 : {
28588 8743 : res = recog_415 (x1, insn, pnum_clobbers);
28589 8743 : if (res >= 0)
28590 : return res;
28591 : }
28592 137112 : x6 = XEXP (x2, 0);
28593 137112 : operands[0] = x6;
28594 137112 : if (!nonimmediate_operand (operands[0], E_QImode))
28595 : return -1;
28596 137078 : operands[1] = x4;
28597 137078 : if (!nonimmediate_operand (operands[1], E_QImode))
28598 : return -1;
28599 134494 : x7 = XEXP (x3, 1);
28600 134494 : operands[2] = x7;
28601 134494 : if (!general_operand (operands[2], E_QImode)
28602 134494 : || !insn_condition_253 (operands, insn))
28603 5878 : return -1;
28604 : return 902; /* *xorqi_1 */
28605 :
28606 22978 : case AND:
28607 22978 : x8 = XEXP (x4, 0);
28608 22978 : if (GET_CODE (x8) != XOR)
28609 : return -1;
28610 996 : x5 = XVECEXP (x1, 0, 1);
28611 996 : if (pattern384 (x5) != 0)
28612 : return -1;
28613 707 : switch (pattern1093 (x2))
28614 : {
28615 42 : case 0:
28616 42 : if (!insn_condition_242 (operands, insn))
28617 0 : return -1;
28618 : return 872; /* *xor2andn */
28619 :
28620 352 : case 1:
28621 352 : if (!insn_condition_242 (operands, insn))
28622 317 : return -1;
28623 : return 873; /* *xor2andn */
28624 :
28625 0 : case 2:
28626 0 : if (!insn_condition_766 (operands, insn))
28627 0 : return -1;
28628 : return 874; /* *xor2andn */
28629 :
28630 : default:
28631 : return -1;
28632 : }
28633 :
28634 5635 : case ZERO_EXTEND:
28635 5635 : if (GET_MODE (x4) != E_DImode
28636 5635 : || pattern594 (x1) != 0)
28637 : return -1;
28638 2993 : x8 = XEXP (x4, 0);
28639 2993 : switch (GET_CODE (x8))
28640 : {
28641 2686 : case REG:
28642 2686 : case SUBREG:
28643 2686 : case MEM:
28644 2686 : operands[1] = x8;
28645 2686 : if (!nonimmediate_operand (operands[1], E_SImode))
28646 : return -1;
28647 1949 : x7 = XEXP (x3, 1);
28648 1949 : operands[2] = x7;
28649 1949 : if (!x86_64_zext_immediate_operand (operands[2], E_DImode)
28650 1949 : || !insn_condition_711 (operands, insn))
28651 1942 : return -1;
28652 : return 898; /* *xorsi_1_zext_imm */
28653 :
28654 192 : case MINUS:
28655 192 : if (GET_MODE (x8) != E_SImode)
28656 : return -1;
28657 192 : x9 = XEXP (x8, 0);
28658 192 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
28659 : return -1;
28660 192 : x10 = XEXP (x8, 1);
28661 192 : if (GET_CODE (x10) != SUBREG
28662 192 : || maybe_ne (SUBREG_BYTE (x10), 0)
28663 384 : || GET_MODE (x10) != E_SImode)
28664 : return -1;
28665 192 : x11 = XEXP (x10, 0);
28666 192 : if (GET_CODE (x11) != CLZ
28667 192 : || GET_MODE (x11) != E_DImode)
28668 : return -1;
28669 192 : x7 = XEXP (x3, 1);
28670 192 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
28671 : return -1;
28672 192 : x12 = XEXP (x11, 0);
28673 192 : operands[1] = x12;
28674 192 : if (!nonimmediate_operand (operands[1], E_DImode)
28675 192 : || !insn_condition_712 (operands, insn))
28676 19 : return -1;
28677 : return 1667; /* *bsr_rex64u_2 */
28678 :
28679 : default:
28680 : return -1;
28681 : }
28682 :
28683 12097 : case ASHIFT:
28684 12097 : if (pattern373 (x1) != 0)
28685 : return -1;
28686 11536 : x8 = XEXP (x4, 0);
28687 11536 : switch (GET_CODE (x8))
28688 : {
28689 11173 : case REG:
28690 11173 : case SUBREG:
28691 11173 : case MEM:
28692 11173 : switch (pattern1090 (x3))
28693 : {
28694 0 : case 0:
28695 0 : x7 = XEXP (x3, 1);
28696 0 : x13 = XEXP (x7, 0);
28697 0 : x14 = XEXP (x13, 0);
28698 0 : x15 = XEXP (x14, 0);
28699 0 : operands[1] = x15;
28700 0 : if (nonimmediate_operand (operands[0], E_DImode))
28701 : {
28702 0 : x16 = XEXP (x4, 1);
28703 0 : x17 = XEXP (x16, 0);
28704 0 : operands[2] = x17;
28705 0 : if (rtx_equal_p (x8, operands[0]))
28706 : {
28707 0 : x18 = XEXP (x13, 1);
28708 0 : x19 = XEXP (x18, 1);
28709 0 : x20 = XEXP (x19, 0);
28710 0 : if (rtx_equal_p (x20, operands[2])
28711 0 : && insn_condition_563 (operands, insn))
28712 : return 1103; /* *x86_64_shld */
28713 : }
28714 : }
28715 0 : operands[2] = x15;
28716 0 : if (!register_operand (operands[0], E_DImode))
28717 : return -1;
28718 0 : operands[1] = x8;
28719 0 : if (!nonimmediate_operand (operands[1], E_DImode))
28720 : return -1;
28721 0 : x16 = XEXP (x4, 1);
28722 0 : x17 = XEXP (x16, 0);
28723 0 : operands[3] = x17;
28724 0 : x18 = XEXP (x13, 1);
28725 0 : x19 = XEXP (x18, 1);
28726 0 : x20 = XEXP (x19, 0);
28727 0 : if (!rtx_equal_p (x20, operands[3])
28728 0 : || !insn_condition_298 (operands, insn))
28729 0 : return -1;
28730 : return 1109; /* *x86_64_shld_ndd */
28731 :
28732 0 : case 1:
28733 0 : x7 = XEXP (x3, 1);
28734 0 : x13 = XEXP (x7, 0);
28735 0 : x14 = XEXP (x13, 0);
28736 0 : x15 = XEXP (x14, 0);
28737 0 : operands[1] = x15;
28738 0 : x16 = XEXP (x4, 1);
28739 0 : x17 = XEXP (x16, 0);
28740 0 : operands[2] = x17;
28741 0 : if (rtx_equal_p (x8, operands[0]))
28742 : {
28743 0 : x18 = XEXP (x13, 1);
28744 0 : x19 = XEXP (x18, 1);
28745 0 : x20 = XEXP (x19, 0);
28746 0 : if (rtx_equal_p (x20, operands[2]))
28747 : return 1139; /* *x86_shld */
28748 : }
28749 0 : operands[2] = x15;
28750 0 : operands[1] = x8;
28751 0 : if (!nonimmediate_operand (operands[1], E_SImode))
28752 : return -1;
28753 0 : operands[3] = x17;
28754 0 : x18 = XEXP (x13, 1);
28755 0 : x19 = XEXP (x18, 1);
28756 0 : x20 = XEXP (x19, 0);
28757 0 : if (!rtx_equal_p (x20, operands[3])
28758 0 : || !insn_condition_298 (operands, insn))
28759 0 : return -1;
28760 : return 1145; /* *x86_shld_ndd */
28761 :
28762 0 : case 2:
28763 0 : x16 = XEXP (x4, 1);
28764 0 : operands[2] = x16;
28765 0 : if (pattern1741 (x3) == 0
28766 0 : && insn_condition_565 (operands, insn))
28767 : return 1115; /* *x86_64_shld_1 */
28768 0 : operands[3] = x16;
28769 0 : if (pattern1742 (x3) != 0
28770 0 : || !insn_condition_567 (operands, insn))
28771 0 : return -1;
28772 : return 1121; /* *x86_64_shld_ndd_1 */
28773 :
28774 0 : case 3:
28775 0 : x16 = XEXP (x4, 1);
28776 0 : operands[2] = x16;
28777 0 : if (pattern1743 (x3) == 0
28778 0 : && insn_condition_575 (operands, insn))
28779 : return 1151; /* *x86_shld_1 */
28780 0 : operands[3] = x16;
28781 0 : if (pattern1744 (x3) != 0
28782 0 : || !insn_condition_577 (operands, insn))
28783 0 : return -1;
28784 : return 1157; /* *x86_shld_ndd_1 */
28785 :
28786 6 : case 4:
28787 6 : if (!insn_condition_579 (operands, insn))
28788 6 : return -1;
28789 : return 1127; /* *x86_64_shld_shrd_1_nozext */
28790 :
28791 9 : case 5:
28792 9 : if (!insn_condition_581 (operands, insn))
28793 9 : return -1;
28794 : return 1163; /* *x86_shld_shrd_1_nozext */
28795 :
28796 0 : case 6:
28797 0 : x7 = XEXP (x3, 1);
28798 0 : x13 = XEXP (x7, 0);
28799 0 : operands[1] = x13;
28800 0 : if (nonimmediate_operand (operands[0], E_DImode))
28801 : {
28802 0 : x16 = XEXP (x4, 1);
28803 0 : operands[2] = x16;
28804 0 : if (rtx_equal_p (x8, operands[0]))
28805 : {
28806 0 : x21 = XEXP (x7, 1);
28807 0 : x22 = XEXP (x21, 1);
28808 0 : if (rtx_equal_p (x22, operands[2])
28809 0 : && insn_condition_582 (operands, insn))
28810 : return 1130; /* *x86_64_shld_2 */
28811 : }
28812 : }
28813 0 : operands[2] = x13;
28814 0 : if (!register_operand (operands[0], E_DImode))
28815 : return -1;
28816 0 : operands[1] = x8;
28817 0 : if (!nonimmediate_operand (operands[1], E_DImode))
28818 : return -1;
28819 0 : x16 = XEXP (x4, 1);
28820 0 : operands[3] = x16;
28821 0 : x21 = XEXP (x7, 1);
28822 0 : x22 = XEXP (x21, 1);
28823 0 : if (!rtx_equal_p (x22, operands[3])
28824 0 : || !insn_condition_583 (operands, insn))
28825 0 : return -1;
28826 : return 1133; /* *x86_64_shld_ndd_2 */
28827 :
28828 0 : case 7:
28829 0 : x7 = XEXP (x3, 1);
28830 0 : x13 = XEXP (x7, 0);
28831 0 : operands[1] = x13;
28832 0 : if (nonimmediate_operand (operands[0], E_SImode))
28833 : {
28834 0 : x16 = XEXP (x4, 1);
28835 0 : operands[2] = x16;
28836 0 : if (rtx_equal_p (x8, operands[0]))
28837 : {
28838 0 : x21 = XEXP (x7, 1);
28839 0 : x22 = XEXP (x21, 1);
28840 0 : if (rtx_equal_p (x22, operands[2])
28841 0 : && insn_condition_582 (operands, insn))
28842 : return 1166; /* *x86_shld_2 */
28843 : }
28844 : }
28845 0 : operands[2] = x13;
28846 0 : if (!register_operand (operands[0], E_SImode))
28847 : return -1;
28848 0 : operands[1] = x8;
28849 0 : if (!nonimmediate_operand (operands[1], E_SImode))
28850 : return -1;
28851 0 : x16 = XEXP (x4, 1);
28852 0 : operands[3] = x16;
28853 0 : x21 = XEXP (x7, 1);
28854 0 : x22 = XEXP (x21, 1);
28855 0 : if (!rtx_equal_p (x22, operands[3])
28856 0 : || !insn_condition_583 (operands, insn))
28857 0 : return -1;
28858 : return 1169; /* *x86_shld_ndd_2 */
28859 :
28860 : default:
28861 : return -1;
28862 : }
28863 :
28864 226 : case CONST_INT:
28865 226 : if (XWINT (x8, 0) != 1L)
28866 : return -1;
28867 222 : switch (pattern1205 (x3))
28868 : {
28869 179 : case 0:
28870 179 : x16 = XEXP (x4, 1);
28871 179 : operands[2] = x16;
28872 179 : if (register_operand (operands[2], E_QImode))
28873 : {
28874 145 : switch (pattern985 (x3))
28875 : {
28876 72 : case 0:
28877 72 : if (insn_condition_750 (operands, insn))
28878 : return 1524; /* *btcsi */
28879 : break;
28880 :
28881 29 : case 1:
28882 29 : if (insn_condition_751 (operands, insn))
28883 : return 1526; /* *btcdi */
28884 : break;
28885 :
28886 : default:
28887 : break;
28888 : }
28889 : }
28890 84 : if (GET_CODE (x16) != SUBREG)
28891 : return -1;
28892 84 : switch (pattern1371 (x3))
28893 : {
28894 1 : case 0:
28895 1 : if (!insn_condition_62 (operands, insn))
28896 0 : return -1;
28897 : return 1528; /* *btcsi_mask */
28898 :
28899 1 : case 1:
28900 1 : if (!insn_condition_63 (operands, insn))
28901 0 : return -1;
28902 : return 1530; /* *btcdi_mask */
28903 :
28904 : default:
28905 : return -1;
28906 : }
28907 :
28908 1 : case 1:
28909 1 : if (!insn_condition_62 (operands, insn))
28910 0 : return -1;
28911 : return 1532; /* *btcsi_mask_1 */
28912 :
28913 0 : case 2:
28914 0 : if (!insn_condition_63 (operands, insn))
28915 0 : return -1;
28916 : return 1534; /* *btcdi_mask_1 */
28917 :
28918 : default:
28919 : return -1;
28920 : }
28921 :
28922 : default:
28923 : return -1;
28924 : }
28925 :
28926 25356 : case LSHIFTRT:
28927 25356 : switch (pattern408 (x1))
28928 : {
28929 0 : case 0:
28930 0 : x7 = XEXP (x3, 1);
28931 0 : x13 = XEXP (x7, 0);
28932 0 : x14 = XEXP (x13, 0);
28933 0 : x15 = XEXP (x14, 0);
28934 0 : operands[1] = x15;
28935 0 : if (nonimmediate_operand (operands[0], E_DImode))
28936 : {
28937 0 : x16 = XEXP (x4, 1);
28938 0 : x17 = XEXP (x16, 0);
28939 0 : operands[2] = x17;
28940 0 : x8 = XEXP (x4, 0);
28941 0 : if (rtx_equal_p (x8, operands[0]))
28942 : {
28943 0 : x18 = XEXP (x13, 1);
28944 0 : x19 = XEXP (x18, 1);
28945 0 : x20 = XEXP (x19, 0);
28946 0 : if (rtx_equal_p (x20, operands[2])
28947 0 : && insn_condition_563 (operands, insn))
28948 : return 1231; /* *x86_64_shrd */
28949 : }
28950 : }
28951 0 : operands[2] = x15;
28952 0 : if (!register_operand (operands[0], E_DImode))
28953 : return -1;
28954 0 : x8 = XEXP (x4, 0);
28955 0 : operands[1] = x8;
28956 0 : if (!nonimmediate_operand (operands[1], E_DImode))
28957 : return -1;
28958 0 : x16 = XEXP (x4, 1);
28959 0 : x17 = XEXP (x16, 0);
28960 0 : operands[3] = x17;
28961 0 : x18 = XEXP (x13, 1);
28962 0 : x19 = XEXP (x18, 1);
28963 0 : x20 = XEXP (x19, 0);
28964 0 : if (!rtx_equal_p (x20, operands[3])
28965 0 : || !insn_condition_298 (operands, insn))
28966 0 : return -1;
28967 : return 1237; /* *x86_64_shrd_ndd */
28968 :
28969 0 : case 1:
28970 0 : x7 = XEXP (x3, 1);
28971 0 : x13 = XEXP (x7, 0);
28972 0 : x14 = XEXP (x13, 0);
28973 0 : x15 = XEXP (x14, 0);
28974 0 : operands[1] = x15;
28975 0 : if (nonimmediate_operand (operands[0], E_SImode))
28976 : {
28977 0 : x16 = XEXP (x4, 1);
28978 0 : x17 = XEXP (x16, 0);
28979 0 : operands[2] = x17;
28980 0 : x8 = XEXP (x4, 0);
28981 0 : if (rtx_equal_p (x8, operands[0]))
28982 : {
28983 0 : x18 = XEXP (x13, 1);
28984 0 : x19 = XEXP (x18, 1);
28985 0 : x20 = XEXP (x19, 0);
28986 0 : if (rtx_equal_p (x20, operands[2]))
28987 : return 1267; /* *x86_shrd */
28988 : }
28989 : }
28990 0 : operands[2] = x15;
28991 0 : if (!register_operand (operands[0], E_SImode))
28992 : return -1;
28993 0 : x8 = XEXP (x4, 0);
28994 0 : operands[1] = x8;
28995 0 : if (!nonimmediate_operand (operands[1], E_SImode))
28996 : return -1;
28997 0 : x16 = XEXP (x4, 1);
28998 0 : x17 = XEXP (x16, 0);
28999 0 : operands[3] = x17;
29000 0 : x18 = XEXP (x13, 1);
29001 0 : x19 = XEXP (x18, 1);
29002 0 : x20 = XEXP (x19, 0);
29003 0 : if (!rtx_equal_p (x20, operands[3])
29004 0 : || !insn_condition_298 (operands, insn))
29005 0 : return -1;
29006 : return 1273; /* *x86_shrd_ndd */
29007 :
29008 0 : case 2:
29009 0 : x16 = XEXP (x4, 1);
29010 0 : operands[2] = x16;
29011 0 : if (pattern1741 (x3) == 0
29012 0 : && insn_condition_565 (operands, insn))
29013 : return 1243; /* *x86_64_shrd_1 */
29014 0 : operands[3] = x16;
29015 0 : if (pattern1742 (x3) != 0
29016 0 : || !insn_condition_567 (operands, insn))
29017 0 : return -1;
29018 : return 1249; /* *x86_64_shrd_ndd_1 */
29019 :
29020 0 : case 3:
29021 0 : x16 = XEXP (x4, 1);
29022 0 : operands[2] = x16;
29023 0 : if (pattern1743 (x3) == 0
29024 0 : && insn_condition_569 (operands, insn))
29025 : return 1279; /* *x86_shrd_1 */
29026 0 : operands[3] = x16;
29027 0 : if (pattern1744 (x3) != 0
29028 0 : || !insn_condition_571 (operands, insn))
29029 0 : return -1;
29030 : return 1285; /* *x86_shrd_ndd_1 */
29031 :
29032 0 : case 4:
29033 0 : if (!insn_condition_579 (operands, insn))
29034 0 : return -1;
29035 : return 1255; /* *x86_64_shrd_shld_1_nozext */
29036 :
29037 29 : case 5:
29038 29 : if (!insn_condition_581 (operands, insn))
29039 29 : return -1;
29040 : return 1291; /* *x86_shrd_shld_1_nozext */
29041 :
29042 0 : case 6:
29043 0 : x7 = XEXP (x3, 1);
29044 0 : x13 = XEXP (x7, 0);
29045 0 : operands[1] = x13;
29046 0 : if (nonimmediate_operand (operands[0], E_DImode))
29047 : {
29048 0 : x16 = XEXP (x4, 1);
29049 0 : operands[2] = x16;
29050 0 : x8 = XEXP (x4, 0);
29051 0 : if (rtx_equal_p (x8, operands[0]))
29052 : {
29053 0 : x21 = XEXP (x7, 1);
29054 0 : x22 = XEXP (x21, 1);
29055 0 : if (rtx_equal_p (x22, operands[2])
29056 0 : && insn_condition_582 (operands, insn))
29057 : return 1258; /* *x86_64_shrd_2 */
29058 : }
29059 : }
29060 0 : operands[2] = x13;
29061 0 : if (!register_operand (operands[0], E_DImode))
29062 : return -1;
29063 0 : x8 = XEXP (x4, 0);
29064 0 : operands[1] = x8;
29065 0 : if (!nonimmediate_operand (operands[1], E_DImode))
29066 : return -1;
29067 0 : x16 = XEXP (x4, 1);
29068 0 : operands[3] = x16;
29069 0 : x21 = XEXP (x7, 1);
29070 0 : x22 = XEXP (x21, 1);
29071 0 : if (!rtx_equal_p (x22, operands[3])
29072 0 : || !insn_condition_606 (operands, insn))
29073 0 : return -1;
29074 : return 1261; /* *x86_64_shrd_ndd_2 */
29075 :
29076 0 : case 7:
29077 0 : x7 = XEXP (x3, 1);
29078 0 : x13 = XEXP (x7, 0);
29079 0 : operands[1] = x13;
29080 0 : if (nonimmediate_operand (operands[0], E_SImode))
29081 : {
29082 0 : x16 = XEXP (x4, 1);
29083 0 : operands[2] = x16;
29084 0 : x8 = XEXP (x4, 0);
29085 0 : if (rtx_equal_p (x8, operands[0]))
29086 : {
29087 0 : x21 = XEXP (x7, 1);
29088 0 : x22 = XEXP (x21, 1);
29089 0 : if (rtx_equal_p (x22, operands[2])
29090 0 : && insn_condition_582 (operands, insn))
29091 : return 1294; /* *x86_shrd_2 */
29092 : }
29093 : }
29094 0 : operands[2] = x13;
29095 0 : if (!register_operand (operands[0], E_SImode))
29096 : return -1;
29097 0 : x8 = XEXP (x4, 0);
29098 0 : operands[1] = x8;
29099 0 : if (!nonimmediate_operand (operands[1], E_SImode))
29100 : return -1;
29101 0 : x16 = XEXP (x4, 1);
29102 0 : operands[3] = x16;
29103 0 : x21 = XEXP (x7, 1);
29104 0 : x22 = XEXP (x21, 1);
29105 0 : if (!rtx_equal_p (x22, operands[3])
29106 0 : || !insn_condition_583 (operands, insn))
29107 0 : return -1;
29108 : return 1297; /* *x86_shrd_ndd_2 */
29109 :
29110 : default:
29111 : return -1;
29112 : }
29113 :
29114 1408 : case SIGN_EXTEND:
29115 1408 : if (GET_MODE (x4) != E_DImode)
29116 : return -1;
29117 652 : x8 = XEXP (x4, 0);
29118 652 : if (GET_CODE (x8) != MINUS
29119 10 : || GET_MODE (x8) != E_SImode)
29120 : return -1;
29121 10 : x9 = XEXP (x8, 0);
29122 10 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
29123 : return -1;
29124 8 : x10 = XEXP (x8, 1);
29125 8 : if (GET_CODE (x10) != SUBREG
29126 8 : || maybe_ne (SUBREG_BYTE (x10), 0)
29127 16 : || GET_MODE (x10) != E_SImode)
29128 : return -1;
29129 8 : x11 = XEXP (x10, 0);
29130 8 : if (GET_CODE (x11) != CLZ
29131 8 : || GET_MODE (x11) != E_DImode)
29132 : return -1;
29133 8 : x7 = XEXP (x3, 1);
29134 8 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 63])
29135 : return -1;
29136 8 : x5 = XVECEXP (x1, 0, 1);
29137 8 : if (pattern286 (x5,
29138 : E_CCmode,
29139 : 17) != 0)
29140 : return -1;
29141 8 : x6 = XEXP (x2, 0);
29142 8 : operands[0] = x6;
29143 8 : if (!register_operand (operands[0], E_DImode)
29144 8 : || GET_MODE (x3) != E_DImode)
29145 : return -1;
29146 8 : x12 = XEXP (x11, 0);
29147 8 : operands[1] = x12;
29148 8 : if (!nonimmediate_operand (operands[1], E_DImode)
29149 8 : || !insn_condition_712 (operands, insn))
29150 8 : return -1;
29151 : return 1666; /* *bsr_rex64_2 */
29152 :
29153 8126 : case PLUS:
29154 8126 : x16 = XEXP (x4, 1);
29155 8126 : if (GET_CODE (x16) != CONST_INT
29156 8126 : || pattern378 (x1) != 0)
29157 : return -1;
29158 1529 : x7 = XEXP (x3, 1);
29159 1529 : if (!rtx_equal_p (x7, operands[1]))
29160 : return -1;
29161 387 : switch (XWINT (x16, 0))
29162 : {
29163 291 : case -1L:
29164 291 : switch (GET_MODE (operands[0]))
29165 : {
29166 163 : case E_SImode:
29167 163 : if (pattern989 (x3,
29168 : E_SImode) != 0
29169 163 : || !insn_condition_56 (operands, insn))
29170 90 : return -1;
29171 : return 1716; /* *bmi_blsmsk_si */
29172 :
29173 120 : case E_DImode:
29174 120 : if (pattern989 (x3,
29175 : E_DImode) != 0
29176 120 : || !insn_condition_57 (operands, insn))
29177 48 : return -1;
29178 : return 1717; /* *bmi_blsmsk_di */
29179 :
29180 : default:
29181 : return -1;
29182 : }
29183 :
29184 94 : case 1L:
29185 94 : switch (GET_MODE (operands[0]))
29186 : {
29187 61 : case E_SImode:
29188 61 : if (pattern989 (x3,
29189 : E_SImode) != 0
29190 61 : || !insn_condition_758 (operands, insn))
29191 31 : return -1;
29192 : return 1750; /* *tbm_blcmsk_si */
29193 :
29194 30 : case E_DImode:
29195 30 : if (pattern989 (x3,
29196 : E_DImode) != 0
29197 30 : || !insn_condition_759 (operands, insn))
29198 0 : return -1;
29199 : return 1751; /* *tbm_blcmsk_di */
29200 :
29201 : default:
29202 : return -1;
29203 : }
29204 :
29205 : default:
29206 : return -1;
29207 : }
29208 :
29209 : default:
29210 : return -1;
29211 : }
29212 : }
29213 :
29214 : int
29215 128623858 : recog_439 (rtx x1 ATTRIBUTE_UNUSED,
29216 : rtx_insn *insn ATTRIBUTE_UNUSED,
29217 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29218 : {
29219 128623858 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29220 128623858 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29221 128623858 : rtx x10, x11, x12, x13, x14;
29222 128623858 : int res ATTRIBUTE_UNUSED;
29223 128623858 : x2 = XVECEXP (x1, 0, 0);
29224 128623858 : switch (GET_CODE (x2))
29225 : {
29226 126609782 : case SET:
29227 126609782 : return recog_438 (x1, insn, pnum_clobbers);
29228 :
29229 1719996 : case CALL:
29230 1719996 : x3 = XEXP (x2, 0);
29231 1719996 : if (GET_CODE (x3) != MEM
29232 1719996 : || GET_MODE (x3) != E_QImode)
29233 : return -1;
29234 1719996 : x4 = XEXP (x3, 0);
29235 1719996 : operands[0] = x4;
29236 1719996 : x5 = XEXP (x2, 1);
29237 1719996 : operands[1] = x5;
29238 1719996 : x6 = XVECEXP (x1, 0, 1);
29239 1719996 : switch (pattern746 (x6))
29240 : {
29241 989 : case 0:
29242 989 : switch (GET_MODE (operands[0]))
29243 : {
29244 88 : case E_SImode:
29245 88 : if (memory_operand (operands[0], E_SImode)
29246 88 : && insn_condition_2201 (operands, insn))
29247 : return 1600; /* *sibcall_memory */
29248 : break;
29249 :
29250 901 : case E_DImode:
29251 901 : if (memory_operand (operands[0], E_DImode)
29252 901 : && insn_condition_2202 (operands, insn))
29253 : return 1601; /* *sibcall_memory */
29254 : break;
29255 :
29256 : default:
29257 : break;
29258 : }
29259 : break;
29260 :
29261 1698532 : case 1:
29262 1698532 : x7 = XEXP (x6, 1);
29263 1698532 : x8 = XEXP (x7, 1);
29264 1698532 : operands[2] = x8;
29265 1698532 : if (immediate_operand (operands[2], E_SImode))
29266 : {
29267 1698532 : if (call_insn_operand (operands[0], E_SImode)
29268 1698532 : && insn_condition_2203 (operands, insn))
29269 : return 1602; /* *call_pop */
29270 843 : if (sibcall_insn_operand (operands[0], E_SImode)
29271 843 : && insn_condition_2204 (operands, insn))
29272 : return 1603; /* *sibcall_pop */
29273 : }
29274 : break;
29275 :
29276 : default:
29277 : break;
29278 : }
29279 21318 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
29280 19975 : || x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
29281 19975 : || pattern422 (x6,
29282 : 103,
29283 : 1) != 0
29284 41293 : || !insn_condition_122 (operands, insn))
29285 1343 : return -1;
29286 : return 7765; /* avx_vzeroupper_callee_abi */
29287 :
29288 26162 : case SIMPLE_RETURN:
29289 26162 : x6 = XVECEXP (x1, 0, 1);
29290 26162 : switch (GET_CODE (x6))
29291 : {
29292 522 : case UNSPEC:
29293 522 : if (XVECLEN (x6, 0) != 1)
29294 : return -1;
29295 522 : x9 = XVECEXP (x6, 0, 0);
29296 522 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
29297 : return -1;
29298 522 : switch (XINT (x6, 1))
29299 : {
29300 34 : case 100:
29301 34 : if (!insn_condition_170 (operands, insn))
29302 0 : return -1;
29303 : return 1620; /* interrupt_return */
29304 :
29305 488 : case 27:
29306 488 : if (!insn_condition_170 (operands, insn))
29307 0 : return -1;
29308 : return 1621; /* simple_return_internal_long */
29309 :
29310 : default:
29311 : return -1;
29312 : }
29313 :
29314 25640 : case USE:
29315 25640 : x10 = XEXP (x6, 0);
29316 25640 : operands[0] = x10;
29317 25640 : switch (GET_CODE (operands[0]))
29318 : {
29319 25622 : case CONST_INT:
29320 25622 : if (!const_int_operand (operands[0], E_SImode)
29321 25622 : || !insn_condition_170 (operands, insn))
29322 0 : return -1;
29323 : return 1622; /* simple_return_pop_internal */
29324 :
29325 18 : case REG:
29326 18 : case SUBREG:
29327 18 : switch (GET_MODE (operands[0]))
29328 : {
29329 8 : case E_SImode:
29330 8 : if (!register_operand (operands[0], E_SImode)
29331 8 : || !insn_condition_2224 (operands, insn))
29332 0 : return -1;
29333 : return 1623; /* *simple_return_indirect_internalsi */
29334 :
29335 10 : case E_DImode:
29336 10 : if (!register_operand (operands[0], E_DImode)
29337 10 : || !insn_condition_2225 (operands, insn))
29338 0 : return -1;
29339 : return 1624; /* *simple_return_indirect_internaldi */
29340 :
29341 : default:
29342 : return -1;
29343 : }
29344 :
29345 : default:
29346 : return -1;
29347 : }
29348 :
29349 : default:
29350 : return -1;
29351 : }
29352 :
29353 98 : case UNSPEC_VOLATILE:
29354 98 : if (XVECLEN (x2, 0) != 4
29355 64 : || XINT (x2, 1) != 97
29356 64 : || GET_MODE (x2) != E_V2DImode)
29357 : return -1;
29358 64 : x6 = XVECEXP (x1, 0, 1);
29359 64 : if (pattern286 (x6,
29360 : E_CCmode,
29361 : 17) != 0)
29362 : return -1;
29363 64 : x11 = XVECEXP (x2, 0, 0);
29364 64 : operands[0] = x11;
29365 64 : if (!register_operand (operands[0], E_V2DImode))
29366 : return -1;
29367 56 : x12 = XVECEXP (x2, 0, 1);
29368 56 : operands[1] = x12;
29369 56 : if (!register_operand (operands[1], E_V2DImode))
29370 : return -1;
29371 50 : x13 = XVECEXP (x2, 0, 2);
29372 50 : operands[2] = x13;
29373 50 : if (!register_operand (operands[2], E_V2DImode))
29374 : return -1;
29375 45 : x14 = XVECEXP (x2, 0, 3);
29376 45 : operands[3] = x14;
29377 45 : if (!register_operand (operands[3], E_SImode)
29378 45 : || !insn_condition_2210 (operands, insn))
29379 4 : return -1;
29380 : return 9055; /* loadiwkey */
29381 :
29382 : default:
29383 : return -1;
29384 : }
29385 : }
29386 :
29387 : int
29388 595669 : recog_442 (rtx x1 ATTRIBUTE_UNUSED,
29389 : rtx_insn *insn ATTRIBUTE_UNUSED,
29390 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29391 : {
29392 595669 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29393 595669 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29394 595669 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
29395 595669 : rtx x18, x19, x20;
29396 595669 : int res ATTRIBUTE_UNUSED;
29397 595669 : x2 = XVECEXP (x1, 0, 1);
29398 595669 : if (GET_CODE (x2) != SET)
29399 : return -1;
29400 595480 : x3 = XVECEXP (x1, 0, 0);
29401 595480 : x4 = XEXP (x3, 0);
29402 595480 : operands[0] = x4;
29403 595480 : x5 = XEXP (x3, 1);
29404 595480 : switch (XVECLEN (x5, 0))
29405 : {
29406 140 : case 1:
29407 140 : if (XINT (x5, 1) != 10
29408 138 : || GET_MODE (x5) != E_DImode)
29409 : return -1;
29410 138 : x6 = XVECEXP (x5, 0, 0);
29411 138 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
29412 : return -1;
29413 138 : x7 = XEXP (x2, 1);
29414 138 : if (pattern854 (x7,
29415 : E_DImode,
29416 : 10,
29417 : 1,
29418 : UNSPEC_VOLATILE) != 0
29419 138 : || pattern1212 (x1,
29420 : E_SImode,
29421 : 10) != 0
29422 276 : || !register_operand (operands[0], E_DImode))
29423 : return -1;
29424 138 : x8 = XEXP (x2, 0);
29425 138 : operands[1] = x8;
29426 138 : if (!register_operand (operands[1], E_DImode))
29427 : return -1;
29428 138 : x9 = XVECEXP (x1, 0, 2);
29429 138 : x10 = XEXP (x9, 0);
29430 138 : operands[2] = x10;
29431 138 : if (!register_operand (operands[2], E_SImode)
29432 138 : || !insn_condition_52 (operands, insn))
29433 24 : return -1;
29434 : return 2057; /* rdtscp_rex64 */
29435 :
29436 23886 : case 5:
29437 23886 : if (XINT (x5, 1) != 125)
29438 : return -1;
29439 23886 : x7 = XEXP (x2, 1);
29440 23886 : if (GET_CODE (x7) != UNSPEC_VOLATILE
29441 23886 : || XVECLEN (x7, 0) != 1
29442 23886 : || XINT (x7, 1) != 125
29443 47772 : || pattern1212 (x1,
29444 : E_CCZmode,
29445 : 125) != 0)
29446 : return -1;
29447 23886 : x9 = XVECEXP (x1, 0, 2);
29448 23886 : x10 = XEXP (x9, 0);
29449 23886 : if (GET_CODE (x10) != REG
29450 23886 : || REGNO (x10) != 17
29451 47772 : || GET_MODE (x10) != E_CCZmode)
29452 : return -1;
29453 23886 : x6 = XVECEXP (x5, 0, 0);
29454 23886 : operands[1] = x6;
29455 23886 : x11 = XVECEXP (x5, 0, 1);
29456 23886 : operands[2] = x11;
29457 23886 : x12 = XVECEXP (x5, 0, 2);
29458 23886 : operands[3] = x12;
29459 23886 : x13 = XVECEXP (x5, 0, 3);
29460 23886 : operands[4] = x13;
29461 23886 : x14 = XVECEXP (x5, 0, 4);
29462 23886 : operands[5] = x14;
29463 23886 : if (!const_int_operand (operands[5], E_SImode))
29464 : return -1;
29465 23886 : x8 = XEXP (x2, 0);
29466 23886 : if (!rtx_equal_p (x8, operands[1]))
29467 : return -1;
29468 23886 : switch (GET_MODE (operands[0]))
29469 : {
29470 22105 : case E_DImode:
29471 22105 : if (pattern1908 (x1,
29472 : E_DImode,
29473 : E_SImode) != 0
29474 22105 : || !insn_condition_2228 (operands, insn))
29475 3647 : return -1;
29476 : return 9850; /* atomic_compare_and_swapdi_doubleword */
29477 :
29478 1781 : case E_TImode:
29479 1781 : if (pattern1908 (x1,
29480 : E_TImode,
29481 : E_DImode) != 0
29482 1781 : || !insn_condition_2229 (operands, insn))
29483 197 : return -1;
29484 : return 9851; /* atomic_compare_and_swapti_doubleword */
29485 :
29486 : default:
29487 : return -1;
29488 : }
29489 :
29490 438590 : case 4:
29491 438590 : x7 = XEXP (x2, 1);
29492 438590 : if (GET_CODE (x7) != UNSPEC_VOLATILE
29493 438590 : || XVECLEN (x7, 0) != 1)
29494 : return -1;
29495 438590 : x15 = XVECEXP (x7, 0, 0);
29496 438590 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
29497 : return -1;
29498 438590 : x9 = XVECEXP (x1, 0, 2);
29499 438590 : if (GET_CODE (x9) != SET)
29500 : return -1;
29501 438590 : x10 = XEXP (x9, 0);
29502 438590 : if (GET_CODE (x10) != REG
29503 438590 : || REGNO (x10) != 17)
29504 : return -1;
29505 438590 : x6 = XVECEXP (x5, 0, 0);
29506 438590 : operands[1] = x6;
29507 438590 : x11 = XVECEXP (x5, 0, 1);
29508 438590 : operands[2] = x11;
29509 438590 : x12 = XVECEXP (x5, 0, 2);
29510 438590 : operands[3] = x12;
29511 438590 : x13 = XVECEXP (x5, 0, 3);
29512 438590 : operands[4] = x13;
29513 438590 : x8 = XEXP (x2, 0);
29514 438590 : if (!rtx_equal_p (x8, operands[1]))
29515 : return -1;
29516 438566 : switch (XINT (x5, 1))
29517 : {
29518 435964 : case 125:
29519 435964 : if (XINT (x7, 1) != 125)
29520 : return -1;
29521 435964 : x16 = XEXP (x9, 1);
29522 435964 : if (pattern1211 (x16,
29523 : E_CCZmode,
29524 : 125) != 0
29525 435964 : || !const_int_operand (operands[4], E_SImode)
29526 871928 : || GET_MODE (x10) != E_CCZmode)
29527 : return -1;
29528 435964 : switch (GET_MODE (operands[0]))
29529 : {
29530 66017 : case E_QImode:
29531 66017 : if (pattern1897 (x1,
29532 : E_QImode) != 0
29533 66017 : || !insn_condition_2230 (operands, insn))
29534 14687 : return -1;
29535 : return 9852; /* atomic_compare_and_swapqi_1 */
29536 :
29537 30595 : case E_HImode:
29538 30595 : if (pattern1897 (x1,
29539 : E_HImode) != 0
29540 30595 : || !insn_condition_2230 (operands, insn))
29541 4135 : return -1;
29542 : return 9853; /* atomic_compare_and_swaphi_1 */
29543 :
29544 166995 : case E_SImode:
29545 166995 : if (pattern1897 (x1,
29546 : E_SImode) != 0
29547 166995 : || !insn_condition_2230 (operands, insn))
29548 45152 : return -1;
29549 : return 9854; /* atomic_compare_and_swapsi_1 */
29550 :
29551 172357 : case E_DImode:
29552 172357 : if (pattern1897 (x1,
29553 : E_DImode) != 0
29554 172357 : || !insn_condition_2231 (operands, insn))
29555 31267 : return -1;
29556 : return 9855; /* atomic_compare_and_swapdi_1 */
29557 :
29558 : default:
29559 : return -1;
29560 : }
29561 :
29562 2602 : case 128:
29563 2602 : if (XINT (x7, 1) != 128)
29564 : return -1;
29565 2602 : x16 = XEXP (x9, 1);
29566 2602 : if (GET_CODE (x16) != COMPARE
29567 2602 : || GET_MODE (x16) != E_CCmode
29568 2602 : || !const_0_to_15_operand (operands[4], E_SImode)
29569 5204 : || GET_MODE (x10) != E_CCmode)
29570 : return -1;
29571 2602 : x17 = XEXP (x16, 0);
29572 2602 : if (!rtx_equal_p (x17, operands[1]))
29573 : return -1;
29574 2602 : x18 = XEXP (x16, 1);
29575 2602 : if (!rtx_equal_p (x18, operands[2]))
29576 : return -1;
29577 2532 : switch (GET_MODE (operands[0]))
29578 : {
29579 1266 : case E_SImode:
29580 1266 : if (pattern1897 (x1,
29581 : E_SImode) != 0
29582 1266 : || !insn_condition_2232 (operands, insn))
29583 557 : return -1;
29584 : return 9925; /* cmpccxadd_si */
29585 :
29586 1266 : case E_DImode:
29587 1266 : if (pattern1897 (x1,
29588 : E_DImode) != 0
29589 1266 : || !insn_condition_2232 (operands, insn))
29590 560 : return -1;
29591 : return 9926; /* cmpccxadd_di */
29592 :
29593 : default:
29594 : return -1;
29595 : }
29596 :
29597 : default:
29598 : return -1;
29599 : }
29600 :
29601 132864 : case 2:
29602 132864 : if (XINT (x5, 1) != 126)
29603 : return -1;
29604 132835 : x7 = XEXP (x2, 1);
29605 132835 : if (GET_CODE (x7) != PLUS)
29606 : return -1;
29607 124209 : x9 = XVECEXP (x1, 0, 2);
29608 124209 : if (pattern993 (x9,
29609 : E_CCmode,
29610 : 17) != 0)
29611 : return -1;
29612 123825 : x6 = XVECEXP (x5, 0, 0);
29613 123825 : operands[1] = x6;
29614 123825 : x11 = XVECEXP (x5, 0, 1);
29615 123825 : operands[3] = x11;
29616 123825 : if (!const_int_operand (operands[3], E_SImode))
29617 : return -1;
29618 123825 : x19 = XEXP (x7, 1);
29619 123825 : operands[2] = x19;
29620 123825 : x20 = XEXP (x7, 0);
29621 123825 : if (!rtx_equal_p (x20, operands[1]))
29622 : return -1;
29623 123576 : x8 = XEXP (x2, 0);
29624 123576 : if (!rtx_equal_p (x8, operands[1]))
29625 : return -1;
29626 123576 : switch (GET_MODE (operands[0]))
29627 : {
29628 12342 : case E_QImode:
29629 12342 : if (pattern1619 (x1,
29630 : E_QImode) != 0
29631 12342 : || !insn_condition_2211 (operands, insn))
29632 108 : return -1;
29633 : return 9856; /* atomic_fetch_addqi */
29634 :
29635 9921 : case E_HImode:
29636 9921 : if (pattern1619 (x1,
29637 : E_HImode) != 0
29638 9921 : || !insn_condition_2211 (operands, insn))
29639 118 : return -1;
29640 : return 9857; /* atomic_fetch_addhi */
29641 :
29642 81062 : case E_SImode:
29643 81062 : if (pattern1619 (x1,
29644 : E_SImode) != 0
29645 81062 : || !insn_condition_2211 (operands, insn))
29646 586 : return -1;
29647 : return 9858; /* atomic_fetch_addsi */
29648 :
29649 20251 : case E_DImode:
29650 20251 : if (pattern1619 (x1,
29651 : E_DImode) != 0
29652 20251 : || !insn_condition_2212 (operands, insn))
29653 84 : return -1;
29654 : return 9859; /* atomic_fetch_adddi */
29655 :
29656 : default:
29657 : return -1;
29658 : }
29659 :
29660 : default:
29661 : return -1;
29662 : }
29663 : }
29664 :
29665 : int
29666 9071256 : recog_448 (rtx x1 ATTRIBUTE_UNUSED,
29667 : rtx_insn *insn ATTRIBUTE_UNUSED,
29668 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29669 : {
29670 9071256 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29671 9071256 : rtx x2, x3, x4, x5, x6, x7, x8;
29672 9071256 : int res ATTRIBUTE_UNUSED;
29673 9071256 : x2 = XVECEXP (x1, 0, 0);
29674 9071256 : switch (GET_CODE (x2))
29675 : {
29676 8713493 : case SET:
29677 8713493 : return recog_447 (x1, insn, pnum_clobbers);
29678 :
29679 90 : case CALL:
29680 90 : x3 = XEXP (x2, 0);
29681 90 : if (GET_CODE (x3) != MEM
29682 90 : || GET_MODE (x3) != E_QImode
29683 180 : || pattern424 (x1) != 0)
29684 : return -1;
29685 0 : x4 = XEXP (x3, 0);
29686 0 : operands[0] = x4;
29687 0 : if (!memory_operand (operands[0], E_SImode))
29688 : return -1;
29689 0 : x5 = XEXP (x2, 1);
29690 0 : operands[1] = x5;
29691 0 : x6 = XVECEXP (x1, 0, 1);
29692 0 : x7 = XEXP (x6, 1);
29693 0 : x8 = XEXP (x7, 1);
29694 0 : operands[2] = x8;
29695 0 : if (!immediate_operand (operands[2], E_SImode)
29696 0 : || !insn_condition_2233 (operands, insn))
29697 0 : return -1;
29698 : return 1604; /* *sibcall_pop_memory */
29699 :
29700 : default:
29701 : return -1;
29702 : }
29703 : }
29704 :
29705 : int
29706 1512897 : recog_450 (rtx x1 ATTRIBUTE_UNUSED,
29707 : rtx_insn *insn ATTRIBUTE_UNUSED,
29708 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29709 : {
29710 1512897 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29711 1512897 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29712 1512897 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
29713 1512897 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
29714 1512897 : rtx x26, x27, x28;
29715 1512897 : int res ATTRIBUTE_UNUSED;
29716 1512897 : x2 = XVECEXP (x1, 0, 0);
29717 1512897 : if (GET_CODE (x2) != SET)
29718 : return -1;
29719 1430569 : x3 = XEXP (x2, 1);
29720 1430569 : switch (GET_CODE (x3))
29721 : {
29722 794170 : case CONST_INT:
29723 794170 : if (XWINT (x3, 0) != 0L)
29724 : return -1;
29725 794170 : x4 = XVECEXP (x1, 0, 1);
29726 794170 : if (GET_CODE (x4) != SET)
29727 : return -1;
29728 794168 : x5 = XEXP (x4, 1);
29729 794168 : if (GET_CODE (x5) != PLUS)
29730 : return -1;
29731 778865 : x6 = XVECEXP (x1, 0, 2);
29732 778865 : if (GET_CODE (x6) != SET)
29733 : return -1;
29734 778865 : x7 = XVECEXP (x1, 0, 4);
29735 778865 : if (GET_CODE (x7) != USE)
29736 : return -1;
29737 778865 : x8 = XEXP (x4, 0);
29738 778865 : operands[0] = x8;
29739 778865 : x9 = XEXP (x5, 0);
29740 778865 : switch (GET_CODE (x9))
29741 : {
29742 372951 : case ASHIFT:
29743 372951 : x10 = XEXP (x9, 1);
29744 372951 : if (GET_CODE (x10) != CONST_INT)
29745 : return -1;
29746 372951 : x11 = XEXP (x5, 1);
29747 372951 : operands[3] = x11;
29748 372951 : switch (XWINT (x10, 0))
29749 : {
29750 419 : case 3L:
29751 419 : switch (pattern1486 (x1,
29752 : 3,
29753 : E_DImode))
29754 : {
29755 0 : case 0:
29756 0 : if (!insn_condition_2249 (operands, insn))
29757 0 : return -1;
29758 : return 1908; /* *rep_movdi_rex64 */
29759 :
29760 228 : case 1:
29761 228 : if (!insn_condition_2250 (operands, insn))
29762 0 : return -1;
29763 : return 1909; /* *rep_movdi_rex64 */
29764 :
29765 0 : case 2:
29766 0 : if (!insn_condition_2251 (operands, insn))
29767 0 : return -1;
29768 : return 1922; /* *rep_stosdi_rex64 */
29769 :
29770 74 : case 3:
29771 74 : if (!insn_condition_2252 (operands, insn))
29772 0 : return -1;
29773 : return 1923; /* *rep_stosdi_rex64 */
29774 :
29775 : default:
29776 : return -1;
29777 : }
29778 :
29779 372508 : case 2L:
29780 372508 : switch (pattern1486 (x1,
29781 : 2,
29782 : E_SImode))
29783 : {
29784 4011 : case 0:
29785 4011 : if (!insn_condition_2253 (operands, insn))
29786 0 : return -1;
29787 : return 1910; /* *rep_movsi */
29788 :
29789 148510 : case 1:
29790 148510 : if (!insn_condition_2254 (operands, insn))
29791 0 : return -1;
29792 : return 1911; /* *rep_movsi */
29793 :
29794 1617 : case 2:
29795 1617 : if (!insn_condition_2255 (operands, insn))
29796 0 : return -1;
29797 : return 1924; /* *rep_stossi */
29798 :
29799 105462 : case 3:
29800 105462 : if (!insn_condition_2256 (operands, insn))
29801 0 : return -1;
29802 : return 1925; /* *rep_stossi */
29803 :
29804 : default:
29805 : return -1;
29806 : }
29807 :
29808 : default:
29809 : return -1;
29810 : }
29811 :
29812 355256 : case REG:
29813 355256 : case SUBREG:
29814 355256 : operands[3] = x9;
29815 355256 : x12 = XEXP (x6, 1);
29816 355256 : switch (GET_CODE (x12))
29817 : {
29818 209433 : case PLUS:
29819 209433 : x13 = XVECEXP (x1, 0, 3);
29820 209433 : if (GET_CODE (x13) != SET)
29821 : return -1;
29822 209433 : x14 = XEXP (x13, 1);
29823 209433 : if (GET_CODE (x14) != MEM
29824 209433 : || GET_MODE (x14) != E_BLKmode)
29825 : return -1;
29826 209433 : x15 = XEXP (x13, 0);
29827 209433 : if (GET_CODE (x15) != MEM
29828 209433 : || GET_MODE (x15) != E_BLKmode)
29829 : return -1;
29830 209433 : x16 = XEXP (x2, 0);
29831 209433 : operands[2] = x16;
29832 209433 : x11 = XEXP (x5, 1);
29833 209433 : operands[5] = x11;
29834 209433 : x17 = XEXP (x6, 0);
29835 209433 : operands[1] = x17;
29836 209433 : x18 = XEXP (x12, 0);
29837 209433 : operands[4] = x18;
29838 209433 : x19 = XEXP (x12, 1);
29839 209433 : if (!rtx_equal_p (x19, operands[5]))
29840 : return -1;
29841 167868 : x20 = XEXP (x14, 0);
29842 167868 : if (!rtx_equal_p (x20, operands[4]))
29843 : return -1;
29844 166918 : x21 = XEXP (x15, 0);
29845 166918 : if (!rtx_equal_p (x21, operands[3]))
29846 : return -1;
29847 166766 : x22 = XEXP (x7, 0);
29848 166766 : if (!rtx_equal_p (x22, operands[5]))
29849 : return -1;
29850 92573 : switch (GET_MODE (operands[2]))
29851 : {
29852 243 : case E_SImode:
29853 243 : if (pattern1898 (x1,
29854 : E_SImode) != 0
29855 243 : || !insn_condition_2253 (operands, insn))
29856 6 : return -1;
29857 : return 1912; /* *rep_movqi */
29858 :
29859 92330 : case E_DImode:
29860 92330 : if (pattern1898 (x1,
29861 : E_DImode) != 0
29862 92330 : || !insn_condition_2254 (operands, insn))
29863 7776 : return -1;
29864 : return 1913; /* *rep_movqi */
29865 :
29866 : default:
29867 : return -1;
29868 : }
29869 :
29870 141936 : case CONST_INT:
29871 141936 : if (XWINT (x12, 0) != 0L)
29872 : return -1;
29873 141936 : x17 = XEXP (x6, 0);
29874 141936 : if (GET_CODE (x17) != MEM
29875 141936 : || GET_MODE (x17) != E_BLKmode)
29876 : return -1;
29877 141936 : x13 = XVECEXP (x1, 0, 3);
29878 141936 : if (GET_CODE (x13) != USE)
29879 : return -1;
29880 141936 : x16 = XEXP (x2, 0);
29881 141936 : operands[1] = x16;
29882 141936 : x11 = XEXP (x5, 1);
29883 141936 : operands[4] = x11;
29884 141936 : x15 = XEXP (x13, 0);
29885 141936 : operands[2] = x15;
29886 141936 : if (!register_operand (operands[2], E_QImode))
29887 : return -1;
29888 36004 : x23 = XEXP (x17, 0);
29889 36004 : if (!rtx_equal_p (x23, operands[3]))
29890 : return -1;
29891 30989 : x22 = XEXP (x7, 0);
29892 30989 : if (!rtx_equal_p (x22, operands[4]))
29893 : return -1;
29894 30296 : switch (GET_MODE (operands[1]))
29895 : {
29896 55 : case E_SImode:
29897 55 : if (pattern1845 (x5,
29898 : E_SImode) != 0
29899 55 : || !insn_condition_2255 (operands, insn))
29900 0 : return -1;
29901 : return 1926; /* *rep_stosqi */
29902 :
29903 30241 : case E_DImode:
29904 30241 : if (pattern1845 (x5,
29905 : E_DImode) != 0
29906 30241 : || !insn_condition_2256 (operands, insn))
29907 6574 : return -1;
29908 : return 1927; /* *rep_stosqi */
29909 :
29910 : default:
29911 : return -1;
29912 : }
29913 :
29914 : default:
29915 : return -1;
29916 : }
29917 :
29918 : default:
29919 : return -1;
29920 : }
29921 :
29922 112692 : case IF_THEN_ELSE:
29923 112692 : if (pattern274 (x1) != 0)
29924 : return -1;
29925 76614 : x24 = XEXP (x3, 1);
29926 76614 : x25 = XEXP (x24, 0);
29927 76614 : x26 = XEXP (x25, 0);
29928 76614 : operands[4] = x26;
29929 76614 : x27 = XEXP (x24, 1);
29930 76614 : x28 = XEXP (x27, 0);
29931 76614 : operands[5] = x28;
29932 76614 : x4 = XVECEXP (x1, 0, 1);
29933 76614 : x8 = XEXP (x4, 0);
29934 76614 : operands[3] = x8;
29935 76614 : if (!immediate_operand (operands[3], E_SImode))
29936 : return -1;
29937 76614 : x6 = XVECEXP (x1, 0, 2);
29938 76614 : x17 = XEXP (x6, 0);
29939 76614 : operands[0] = x17;
29940 76614 : x13 = XVECEXP (x1, 0, 3);
29941 76614 : x15 = XEXP (x13, 0);
29942 76614 : operands[1] = x15;
29943 76614 : x7 = XVECEXP (x1, 0, 4);
29944 76614 : x22 = XEXP (x7, 0);
29945 76614 : operands[2] = x22;
29946 76614 : switch (GET_MODE (operands[6]))
29947 : {
29948 38160 : case E_SImode:
29949 38160 : if (pattern1920 (
29950 : E_SImode) != 0
29951 38160 : || !insn_condition_2257 (operands, insn))
29952 5883 : return -1;
29953 : return 1930; /* *cmpstrnqi_1 */
29954 :
29955 38454 : case E_DImode:
29956 38454 : if (pattern1920 (
29957 : E_DImode) != 0
29958 38454 : || !insn_condition_2258 (operands, insn))
29959 5195 : return -1;
29960 : return 1931; /* *cmpstrnqi_1 */
29961 :
29962 : default:
29963 : return -1;
29964 : }
29965 :
29966 : default:
29967 : return -1;
29968 : }
29969 : }
29970 :
29971 : int
29972 1897479242 : recog (rtx x1 ATTRIBUTE_UNUSED,
29973 : rtx_insn *insn ATTRIBUTE_UNUSED,
29974 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29975 : {
29976 1897479242 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29977 1897479242 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29978 1897479242 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
29979 1897479242 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
29980 1897479242 : rtx x26, x27;
29981 1897479242 : int res ATTRIBUTE_UNUSED;
29982 1897479242 : recog_data.insn = NULL;
29983 1897479242 : switch (GET_CODE (x1))
29984 : {
29985 1613507050 : case SET:
29986 1613507050 : return recog_455 (x1, insn, pnum_clobbers);
29987 :
29988 140019030 : case PARALLEL:
29989 140019030 : switch (XVECLEN (x1, 0))
29990 : {
29991 128623858 : case 2:
29992 128623858 : res = recog_439 (x1, insn, pnum_clobbers);
29993 128623858 : if (res >= 0)
29994 : return res;
29995 : break;
29996 :
29997 9071256 : case 3:
29998 9071256 : res = recog_448 (x1, insn, pnum_clobbers);
29999 9071256 : if (res >= 0)
30000 : return res;
30001 : break;
30002 :
30003 615590 : case 4:
30004 615590 : res = recog_449 (x1, insn, pnum_clobbers);
30005 615590 : if (res >= 0)
30006 : return res;
30007 : break;
30008 :
30009 1512897 : case 5:
30010 1512897 : res = recog_450 (x1, insn, pnum_clobbers);
30011 1512897 : if (res >= 0)
30012 : return res;
30013 : break;
30014 :
30015 77551 : case 6:
30016 77551 : res = recog_451 (x1, insn, pnum_clobbers);
30017 77551 : if (res >= 0)
30018 : return res;
30019 : break;
30020 :
30021 74430 : case 9:
30022 74430 : if (pattern37 (x1) == 0)
30023 : {
30024 73534 : x2 = XVECEXP (x1, 0, 0);
30025 73534 : switch (GET_CODE (x2))
30026 : {
30027 50655 : case SET:
30028 50655 : x3 = XEXP (x2, 1);
30029 50655 : if (GET_CODE (x3) == UNSPEC_VOLATILE
30030 50655 : && XVECLEN (x3, 0) == 1
30031 50655 : && XINT (x3, 1) == 40
30032 50655 : && GET_MODE (x3) == E_BLKmode)
30033 : {
30034 50655 : x4 = XVECEXP (x3, 0, 0);
30035 50655 : if (x4 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
30036 : {
30037 50655 : x5 = XEXP (x2, 0);
30038 50655 : operands[0] = x5;
30039 50655 : if (memory_operand (operands[0], E_BLKmode)
30040 50655 : && insn_condition_74 (operands, insn))
30041 : return 2084; /* fnstenv */
30042 : }
30043 : }
30044 : break;
30045 :
30046 22879 : case UNSPEC_VOLATILE:
30047 22879 : if (XVECLEN (x2, 0) == 1
30048 22879 : && XINT (x2, 1) == 41)
30049 : {
30050 22879 : x6 = XVECEXP (x2, 0, 0);
30051 22879 : operands[0] = x6;
30052 22879 : if (memory_operand (operands[0], E_BLKmode)
30053 22879 : && insn_condition_74 (operands, insn))
30054 : return 2085; /* fldenv */
30055 : }
30056 : break;
30057 :
30058 : default:
30059 : break;
30060 : }
30061 : }
30062 : break;
30063 :
30064 4688 : case 17:
30065 4688 : res = recog_452 (x1, insn, pnum_clobbers);
30066 4688 : if (res >= 0)
30067 : return res;
30068 : break;
30069 :
30070 : default:
30071 : break;
30072 : }
30073 43169438 : if (XVECLEN (x1, 0) >= 1)
30074 : {
30075 43169438 : res = recog_453 (x1, insn, pnum_clobbers);
30076 43169438 : if (res >= 0)
30077 : return res;
30078 : }
30079 43151652 : operands[0] = x1;
30080 43151652 : if (XVECLEN (operands[0], 0) >= 3
30081 43151652 : && restore_multiple (operands[0], E_VOIDmode))
30082 : {
30083 1031 : res = recog_454 (x1, insn, pnum_clobbers);
30084 1031 : if (res >= 0)
30085 : return res;
30086 : }
30087 43151548 : if (XVECLEN (operands[0], 0) < 5
30088 43151548 : || !restore_multiple (operands[0], E_VOIDmode))
30089 : return -1;
30090 927 : x2 = XVECEXP (x1, 0, 0);
30091 927 : if (GET_CODE (x2) != RETURN)
30092 : return -1;
30093 927 : x7 = XVECEXP (x1, 0, 1);
30094 927 : if (GET_CODE (x7) != USE)
30095 : return -1;
30096 927 : x8 = XVECEXP (x1, 0, 2);
30097 927 : if (GET_CODE (x8) != SET)
30098 : return -1;
30099 927 : x9 = XEXP (x8, 1);
30100 927 : if (GET_CODE (x9) != PLUS
30101 927 : || GET_MODE (x9) != E_DImode)
30102 : return -1;
30103 927 : x10 = XEXP (x9, 0);
30104 927 : if (GET_CODE (x10) != REG
30105 927 : || REGNO (x10) != 6
30106 1854 : || GET_MODE (x10) != E_DImode)
30107 : return -1;
30108 927 : x11 = XEXP (x9, 1);
30109 927 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
30110 : return -1;
30111 927 : x12 = XEXP (x8, 0);
30112 927 : if (GET_CODE (x12) != REG
30113 927 : || REGNO (x12) != 7
30114 1854 : || GET_MODE (x12) != E_DImode)
30115 : return -1;
30116 927 : x13 = XVECEXP (x1, 0, 3);
30117 927 : if (GET_CODE (x13) != SET)
30118 : return -1;
30119 927 : x14 = XEXP (x13, 1);
30120 927 : if (GET_CODE (x14) != MEM
30121 927 : || GET_MODE (x14) != E_DImode)
30122 : return -1;
30123 927 : x15 = XEXP (x14, 0);
30124 927 : if (GET_CODE (x15) != REG
30125 927 : || REGNO (x15) != 6
30126 1854 : || GET_MODE (x15) != E_DImode)
30127 : return -1;
30128 927 : x16 = XEXP (x13, 0);
30129 927 : if (GET_CODE (x16) != REG
30130 927 : || REGNO (x16) != 6
30131 1854 : || GET_MODE (x16) != E_DImode)
30132 : return -1;
30133 927 : x17 = XVECEXP (x1, 0, 4);
30134 927 : if (GET_CODE (x17) != CLOBBER)
30135 : return -1;
30136 927 : x18 = XEXP (x17, 0);
30137 927 : if (GET_CODE (x18) != MEM
30138 927 : || GET_MODE (x18) != E_BLKmode)
30139 : return -1;
30140 927 : x19 = XEXP (x18, 0);
30141 927 : if (GET_CODE (x19) != SCRATCH)
30142 : return -1;
30143 927 : x20 = XEXP (x7, 0);
30144 927 : operands[1] = x20;
30145 927 : switch (GET_MODE (operands[1]))
30146 : {
30147 0 : case E_SImode:
30148 0 : if (!symbol_operand (operands[1], E_SImode)
30149 0 : || !insn_condition_2260 (operands, insn))
30150 : return -1;
30151 : return 8846; /* *restore_multiple_leave_returnsi */
30152 :
30153 927 : case E_DImode:
30154 927 : if (!symbol_operand (operands[1], E_DImode)
30155 927 : || !insn_condition_2261 (operands, insn))
30156 : return -1;
30157 : return 8847; /* *restore_multiple_leave_returndi */
30158 :
30159 : default:
30160 : return -1;
30161 : }
30162 :
30163 11767340 : case CALL:
30164 11767340 : x21 = XEXP (x1, 0);
30165 11767340 : if (GET_CODE (x21) != MEM
30166 11767326 : || GET_MODE (x21) != E_QImode)
30167 : return -1;
30168 11767326 : x22 = XEXP (x21, 0);
30169 11767326 : operands[0] = x22;
30170 11767326 : x23 = XEXP (x1, 1);
30171 11767326 : operands[1] = x23;
30172 11767326 : if (call_insn_operand (operands[0], E_SImode)
30173 11767326 : && insn_condition_925 (operands, insn))
30174 : return 1594; /* *call */
30175 10342176 : if (call_insn_operand (operands[0], E_DImode)
30176 10342176 : && insn_condition_926 (operands, insn))
30177 : return 1595; /* *call */
30178 379253 : switch (GET_CODE (x22))
30179 : {
30180 31 : case ZERO_EXTEND:
30181 31 : if (GET_MODE (x22) == E_DImode)
30182 : {
30183 31 : x24 = XEXP (x22, 0);
30184 31 : operands[0] = x24;
30185 31 : if (GOT_memory_operand (operands[0], E_SImode))
30186 : {
30187 16 : operands[1] = x23;
30188 16 : if (insn_condition_927 (operands, insn))
30189 : return 1596; /* *call_got_x32 */
30190 : }
30191 : }
30192 : break;
30193 :
30194 15387 : case MEM:
30195 15387 : if (GET_MODE (x22) == E_SImode)
30196 : {
30197 739 : x24 = XEXP (x22, 0);
30198 739 : if (GET_CODE (x24) == PLUS
30199 625 : && GET_MODE (x24) == E_SImode)
30200 : {
30201 625 : x25 = XEXP (x24, 0);
30202 625 : operands[0] = x25;
30203 625 : if (register_no_elim_operand (operands[0], E_SImode))
30204 : {
30205 222 : x26 = XEXP (x24, 1);
30206 222 : operands[1] = x26;
30207 222 : if (GOT32_symbol_operand (operands[1], E_SImode))
30208 : {
30209 0 : operands[2] = x23;
30210 0 : if (insn_condition_2314 (operands, insn))
30211 : return 1597; /* *sibcall_GOT_32 */
30212 : }
30213 : }
30214 : }
30215 : }
30216 : break;
30217 :
30218 : default:
30219 : break;
30220 : }
30221 379253 : operands[0] = x22;
30222 379253 : operands[1] = x23;
30223 379253 : if (sibcall_insn_operand (operands[0], E_SImode)
30224 379253 : && insn_condition_929 (operands, insn))
30225 : return 1598; /* *sibcall */
30226 367887 : if (!sibcall_insn_operand (operands[0], E_DImode)
30227 367887 : || !insn_condition_930 (operands, insn))
30228 : return -1;
30229 : return 1599; /* *sibcall */
30230 :
30231 1152680 : case UNSPEC_VOLATILE:
30232 1152680 : return recog_456 (x1, insn, pnum_clobbers);
30233 :
30234 1487677 : case SIMPLE_RETURN:
30235 1487677 : if (!insn_condition_170 (operands, insn))
30236 : return -1;
30237 : return 1619; /* simple_return_internal */
30238 :
30239 242016 : case CONST_INT:
30240 242016 : if (XWINT (x1, 0) != 0L)
30241 : return -1;
30242 : return 1625; /* nop */
30243 :
30244 : case EH_RETURN:
30245 : return 1633; /* eh_return_internal */
30246 :
30247 38820 : case TRAP_IF:
30248 38820 : x21 = XEXP (x1, 0);
30249 38820 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
30250 : return -1;
30251 38820 : x23 = XEXP (x1, 1);
30252 38820 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
30253 : return -1;
30254 : return 2041; /* trap */
30255 :
30256 4680 : case PREFETCH:
30257 4680 : x23 = XEXP (x1, 1);
30258 4680 : if (GET_CODE (x23) != CONST_INT)
30259 : return -1;
30260 4680 : x21 = XEXP (x1, 0);
30261 4680 : operands[0] = x21;
30262 4680 : if (!address_operand (operands[0], E_VOIDmode))
30263 : return -1;
30264 3634 : switch (XWINT (x23, 0))
30265 : {
30266 3580 : case 0L:
30267 3580 : x27 = XEXP (x1, 2);
30268 3580 : operands[1] = x27;
30269 3580 : if (const_int_operand (operands[1], E_SImode)
30270 3580 : && insn_condition_2315 (operands, insn))
30271 : return 2043; /* *prefetch_sse */
30272 : break;
30273 :
30274 6 : case 2L:
30275 6 : x27 = XEXP (x1, 2);
30276 6 : if (x27 == const_int_rtx[MAX_SAVED_CONST_INT + 1]
30277 6 : && insn_condition_2316 (operands, insn))
30278 : return 2046; /* *prefetch_rst2 */
30279 : break;
30280 :
30281 : default:
30282 : break;
30283 : }
30284 48 : x27 = XEXP (x1, 2);
30285 48 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
30286 : return -1;
30287 48 : operands[1] = x23;
30288 48 : if (!const_int_operand (operands[1], E_SImode)
30289 172427429 : || !insn_condition_2317 (operands, insn))
30290 : return -1;
30291 : return 2044; /* *prefetch_3dnow */
30292 :
30293 : default:
30294 : return -1;
30295 : }
30296 : }
30297 :
30298 : rtx_insn *
30299 9686354 : split_6 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30300 : {
30301 9686354 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30302 9686354 : rtx x2, x3, x4, x5, x6, x7;
30303 9686354 : rtx_insn *res ATTRIBUTE_UNUSED;
30304 9686354 : x2 = XEXP (x1, 0);
30305 9686354 : operands[0] = x2;
30306 9686354 : x3 = XEXP (x1, 1);
30307 9686354 : x4 = XEXP (x3, 0);
30308 9686354 : switch (GET_CODE (x4))
30309 : {
30310 96312 : case AND:
30311 96312 : switch (pattern58 (x3))
30312 : {
30313 0 : case 0:
30314 0 : if (!insn_condition_2353 (operands, insn))
30315 : return NULL;
30316 0 : return gen_split_30 (insn, operands);
30317 :
30318 0 : case 1:
30319 0 : if (!insn_condition_2354 (operands, insn))
30320 : return NULL;
30321 0 : return gen_split_33 (insn, operands);
30322 :
30323 1362 : case 2:
30324 1362 : if (!insn_condition_2355 (operands, insn))
30325 : return NULL;
30326 0 : return gen_split_36 (insn, operands);
30327 :
30328 : default:
30329 : return NULL;
30330 : }
30331 :
30332 7579958 : case REG:
30333 7579958 : case SUBREG:
30334 7579958 : operands[1] = x4;
30335 7579958 : x5 = XEXP (x3, 1);
30336 7579958 : operands[2] = x5;
30337 7579958 : switch (GET_MODE (operands[0]))
30338 : {
30339 3504 : case E_QImode:
30340 3504 : if (pattern877 (x3,
30341 : E_QImode) != 0
30342 3504 : || !insn_condition_2356 (operands, insn))
30343 : return NULL;
30344 0 : return gen_split_137 (insn, operands);
30345 :
30346 2889 : case E_HImode:
30347 2889 : if (pattern877 (x3,
30348 : E_HImode) != 0
30349 2889 : || !insn_condition_2356 (operands, insn))
30350 : return NULL;
30351 0 : return gen_split_138 (insn, operands);
30352 :
30353 1335185 : case E_SImode:
30354 1335185 : if (pattern878 (x3,
30355 : E_SImode) != 0
30356 1335185 : || !insn_condition_2356 (operands, insn))
30357 : return NULL;
30358 27 : return gen_split_139 (insn, operands);
30359 :
30360 4679399 : case E_DImode:
30361 4679399 : if (pattern878 (x3,
30362 : E_DImode) != 0
30363 4679399 : || !insn_condition_2357 (operands, insn))
30364 : return NULL;
30365 24 : return gen_split_140 (insn, operands);
30366 :
30367 : default:
30368 : return NULL;
30369 : }
30370 :
30371 740959 : case PLUS:
30372 740959 : x6 = XEXP (x4, 0);
30373 740959 : switch (GET_CODE (x6))
30374 : {
30375 228573 : case REG:
30376 228573 : case SUBREG:
30377 228573 : switch (pattern463 (x3))
30378 : {
30379 324 : case 0:
30380 324 : if (!insn_condition_2358 (operands, insn))
30381 : return NULL;
30382 162 : return gen_split_158 (insn, operands);
30383 :
30384 144 : case 1:
30385 144 : if (!insn_condition_2358 (operands, insn))
30386 : return NULL;
30387 74 : return gen_split_159 (insn, operands);
30388 :
30389 : default:
30390 : return NULL;
30391 : }
30392 :
30393 95342 : case MULT:
30394 95342 : switch (pattern466 (x3))
30395 : {
30396 20 : case 0:
30397 20 : if (!insn_condition_2358 (operands, insn))
30398 : return NULL;
30399 10 : return gen_split_164 (insn, operands);
30400 :
30401 2 : case 1:
30402 2 : if (!insn_condition_2358 (operands, insn))
30403 : return NULL;
30404 1 : return gen_split_165 (insn, operands);
30405 :
30406 : default:
30407 : return NULL;
30408 : }
30409 :
30410 96586 : case ASHIFT:
30411 96586 : switch (pattern600 (x3))
30412 : {
30413 49 : case 0:
30414 49 : if (!insn_condition_2358 (operands, insn))
30415 : return NULL;
30416 25 : return gen_split_166 (insn, operands);
30417 :
30418 27 : case 1:
30419 27 : if (!insn_condition_2358 (operands, insn))
30420 : return NULL;
30421 16 : return gen_split_167 (insn, operands);
30422 :
30423 : default:
30424 : return NULL;
30425 : }
30426 :
30427 : default:
30428 : return NULL;
30429 : }
30430 :
30431 188005 : case MULT:
30432 188005 : switch (pattern438 (x3))
30433 : {
30434 233 : case 0:
30435 233 : if (!insn_condition_2358 (operands, insn))
30436 : return NULL;
30437 116 : return gen_split_160 (insn, operands);
30438 :
30439 0 : case 1:
30440 0 : if (!insn_condition_2358 (operands, insn))
30441 : return NULL;
30442 0 : return gen_split_161 (insn, operands);
30443 :
30444 : default:
30445 : return NULL;
30446 : }
30447 :
30448 699768 : case ASHIFT:
30449 699768 : x7 = XEXP (x4, 1);
30450 699768 : operands[2] = x7;
30451 699768 : x6 = XEXP (x4, 0);
30452 699768 : switch (GET_CODE (x6))
30453 : {
30454 608879 : case REG:
30455 608879 : case SUBREG:
30456 608879 : case MEM:
30457 608879 : x5 = XEXP (x3, 1);
30458 608879 : switch (GET_CODE (x5))
30459 : {
30460 589151 : case CONST_INT:
30461 589151 : case CONST_WIDE_INT:
30462 589151 : case CONST_POLY_INT:
30463 589151 : case CONST_FIXED:
30464 589151 : case CONST_DOUBLE:
30465 589151 : case CONST_VECTOR:
30466 589151 : case CONST:
30467 589151 : case REG:
30468 589151 : case SUBREG:
30469 589151 : case LABEL_REF:
30470 589151 : case SYMBOL_REF:
30471 589151 : case HIGH:
30472 589151 : operands[3] = x5;
30473 589151 : operands[1] = x6;
30474 589151 : switch (GET_MODE (operands[0]))
30475 : {
30476 1850 : case E_QImode:
30477 1850 : if (pattern1124 (x3,
30478 : E_QImode) != 0
30479 1850 : || !insn_condition_2358 (operands, insn))
30480 : return NULL;
30481 418 : return gen_split_162 (insn, operands);
30482 :
30483 4612 : case E_HImode:
30484 4612 : if (pattern1124 (x3,
30485 : E_HImode) != 0
30486 4612 : || !insn_condition_2358 (operands, insn))
30487 : return NULL;
30488 1771 : return gen_split_163 (insn, operands);
30489 :
30490 444503 : case E_DImode:
30491 444503 : if (pattern60 (x3,
30492 : E_DImode) != 0
30493 444503 : || !insn_condition_2359 (operands, insn))
30494 : return NULL;
30495 0 : return gen_split_480 (insn, operands);
30496 :
30497 30 : case E_TImode:
30498 30 : if (pattern60 (x3,
30499 : E_TImode) != 0
30500 30 : || !insn_condition_2360 (operands, insn))
30501 : return NULL;
30502 0 : return gen_split_483 (insn, operands);
30503 :
30504 : default:
30505 : return NULL;
30506 : }
30507 :
30508 10975 : case ZERO_EXTEND:
30509 10975 : switch (pattern62 (x3))
30510 : {
30511 3865 : case 0:
30512 3865 : if (!insn_condition_2361 (operands, insn))
30513 : return NULL;
30514 0 : return gen_split_444 (insn, operands);
30515 :
30516 0 : case 1:
30517 0 : if (!insn_condition_2362 (operands, insn))
30518 : return NULL;
30519 0 : return gen_split_447 (insn, operands);
30520 :
30521 : default:
30522 : return NULL;
30523 : }
30524 :
30525 524 : case LSHIFTRT:
30526 524 : operands[4] = x6;
30527 524 : switch (pattern64 (x3))
30528 : {
30529 18 : case 0:
30530 18 : if (!insn_condition_2363 (operands, insn))
30531 : return NULL;
30532 0 : return gen_split_576 (insn, operands);
30533 :
30534 12 : case 1:
30535 12 : if (!insn_condition_2364 (operands, insn))
30536 : return NULL;
30537 0 : return gen_split_588 (insn, operands);
30538 :
30539 : default:
30540 : return NULL;
30541 : }
30542 :
30543 : default:
30544 : return NULL;
30545 : }
30546 :
30547 4525 : case SIGN_EXTEND:
30548 4525 : switch (pattern67 (x3))
30549 : {
30550 6 : case 0:
30551 6 : if (!insn_condition_2361 (operands, insn))
30552 : return NULL;
30553 0 : return gen_split_456 (insn, operands);
30554 :
30555 0 : case 1:
30556 0 : if (!insn_condition_2362 (operands, insn))
30557 : return NULL;
30558 0 : return gen_split_462 (insn, operands);
30559 :
30560 188 : case 2:
30561 188 : if (!insn_condition_2365 (operands, insn))
30562 : return NULL;
30563 0 : return gen_split_486 (insn, operands);
30564 :
30565 1 : case 3:
30566 1 : if (!insn_condition_2366 (operands, insn))
30567 : return NULL;
30568 0 : return gen_split_492 (insn, operands);
30569 :
30570 : default:
30571 : return NULL;
30572 : }
30573 :
30574 717 : case ZERO_EXTEND:
30575 717 : switch (pattern67 (x3))
30576 : {
30577 106 : case 0:
30578 106 : if (!insn_condition_2361 (operands, insn))
30579 : return NULL;
30580 53 : return gen_split_459 (insn, operands);
30581 :
30582 316 : case 1:
30583 316 : if (!insn_condition_2362 (operands, insn))
30584 : return NULL;
30585 158 : return gen_split_465 (insn, operands);
30586 :
30587 13 : case 2:
30588 13 : if (!insn_condition_2365 (operands, insn))
30589 : return NULL;
30590 0 : return gen_split_489 (insn, operands);
30591 :
30592 5 : case 3:
30593 5 : if (!insn_condition_2366 (operands, insn))
30594 : return NULL;
30595 0 : return gen_split_495 (insn, operands);
30596 :
30597 : default:
30598 : return NULL;
30599 : }
30600 :
30601 : default:
30602 : return NULL;
30603 : }
30604 :
30605 10461 : case ZERO_EXTEND:
30606 10461 : switch (pattern72 (x3))
30607 : {
30608 0 : case 0:
30609 0 : if (!insn_condition_2367 (operands, insn))
30610 : return NULL;
30611 0 : return gen_split_450 (insn, operands);
30612 :
30613 0 : case 1:
30614 0 : if (!insn_condition_2368 (operands, insn))
30615 : return NULL;
30616 0 : return gen_split_453 (insn, operands);
30617 :
30618 0 : case 2:
30619 0 : if (!insn_condition_2367 (operands, insn))
30620 : return NULL;
30621 0 : return gen_split_468 (insn, operands);
30622 :
30623 0 : case 3:
30624 0 : if (!insn_condition_2368 (operands, insn))
30625 : return NULL;
30626 0 : return gen_split_474 (insn, operands);
30627 :
30628 0 : case 4:
30629 0 : if (!insn_condition_2367 (operands, insn))
30630 : return NULL;
30631 0 : return gen_split_471 (insn, operands);
30632 :
30633 0 : case 5:
30634 0 : if (!insn_condition_2368 (operands, insn))
30635 : return NULL;
30636 0 : return gen_split_477 (insn, operands);
30637 :
30638 219 : case 6:
30639 219 : if (!insn_condition_2369 (operands, insn))
30640 : return NULL;
30641 0 : return gen_split_498 (insn, operands);
30642 :
30643 24 : case 7:
30644 24 : if (!insn_condition_2370 (operands, insn))
30645 : return NULL;
30646 12 : return gen_split_501 (insn, operands);
30647 :
30648 : default:
30649 : return NULL;
30650 : }
30651 :
30652 53597 : case LSHIFTRT:
30653 53597 : switch (pattern73 (x3))
30654 : {
30655 196 : case 0:
30656 196 : if (!insn_condition_2363 (operands, insn))
30657 : return NULL;
30658 0 : return gen_split_639 (insn, operands);
30659 :
30660 21 : case 1:
30661 21 : if (!insn_condition_2364 (operands, insn))
30662 : return NULL;
30663 0 : return gen_split_651 (insn, operands);
30664 :
30665 : default:
30666 : return NULL;
30667 : }
30668 :
30669 : default:
30670 : return NULL;
30671 : }
30672 : }
30673 :
30674 : rtx_insn *
30675 389229 : split_13 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30676 : {
30677 389229 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30678 389229 : rtx x2, x3, x4;
30679 389229 : rtx_insn *res ATTRIBUTE_UNUSED;
30680 389229 : x2 = XEXP (x1, 0);
30681 389229 : operands[0] = x2;
30682 389229 : x3 = XEXP (x1, 1);
30683 389229 : x4 = XEXP (x3, 0);
30684 389229 : operands[1] = x4;
30685 389229 : switch (GET_MODE (operands[0]))
30686 : {
30687 123053 : case E_SFmode:
30688 123053 : if (GET_MODE (x3) != E_SFmode)
30689 : return NULL;
30690 123053 : if (sse_reg_operand (operands[0], E_SFmode)
30691 123053 : && nonimmediate_operand (operands[1], E_SImode))
30692 : {
30693 53807 : if (insn_condition_2394 (operands, insn))
30694 3 : return gen_split_87 (insn, operands);
30695 53804 : if (insn_condition_2395 (operands, insn))
30696 28916 : return gen_split_95 (insn, operands);
30697 : }
30698 94134 : if (register_operand (operands[0], E_SFmode)
30699 91164 : && register_operand (operands[1], E_DImode)
30700 121662 : && insn_condition_2396 (operands, insn))
30701 5 : return gen_split_89 (insn, operands);
30702 94129 : if (!sse_reg_operand (operands[0], E_SFmode)
30703 45171 : || !nonimmediate_operand (operands[1], E_DImode)
30704 114412 : || !insn_condition_2397 (operands, insn))
30705 : return NULL;
30706 12414 : return gen_split_96 (insn, operands);
30707 :
30708 223137 : case E_DFmode:
30709 223137 : if (GET_MODE (x3) != E_DFmode)
30710 : return NULL;
30711 223137 : if (sse_reg_operand (operands[0], E_DFmode)
30712 223137 : && nonimmediate_operand (operands[1], E_SImode))
30713 : {
30714 64659 : if (insn_condition_2394 (operands, insn))
30715 11 : return gen_split_88 (insn, operands);
30716 64648 : if (insn_condition_2395 (operands, insn))
30717 36335 : return gen_split_97 (insn, operands);
30718 : }
30719 186791 : if (register_operand (operands[0], E_DFmode)
30720 184678 : && register_operand (operands[1], E_DImode)
30721 257210 : && insn_condition_2398 (operands, insn))
30722 245 : return gen_split_90 (insn, operands);
30723 186546 : if (!sse_reg_operand (operands[0], E_DFmode)
30724 95086 : || !nonimmediate_operand (operands[1], E_DImode)
30725 253315 : || !insn_condition_2397 (operands, insn))
30726 : return NULL;
30727 37968 : return gen_split_98 (insn, operands);
30728 :
30729 20130 : case E_XFmode:
30730 20130 : if (!register_operand (operands[0], E_XFmode)
30731 19012 : || GET_MODE (x3) != E_XFmode
30732 19012 : || !register_operand (operands[1], E_DImode)
30733 22120 : || !insn_condition_2399 (operands, insn))
30734 : return NULL;
30735 432 : return gen_split_91 (insn, operands);
30736 :
30737 : default:
30738 : return NULL;
30739 : }
30740 : }
30741 :
30742 : rtx_insn *
30743 1098195 : split_17 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30744 : {
30745 1098195 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30746 1098195 : rtx x2, x3, x4, x5, x6;
30747 1098195 : rtx_insn *res ATTRIBUTE_UNUSED;
30748 1098195 : x2 = XVECEXP (x1, 0, 0);
30749 1098195 : x3 = XEXP (x2, 0);
30750 1098195 : operands[0] = x3;
30751 1098195 : x4 = XEXP (x2, 1);
30752 1098195 : x5 = XEXP (x4, 0);
30753 1098195 : if (rtx_equal_p (x5, operands[0]))
30754 : {
30755 747979 : x6 = XEXP (x4, 1);
30756 747979 : switch (XWINT (x6, 0))
30757 : {
30758 484 : case -65536L:
30759 484 : if (register_operand (operands[0], E_SImode)
30760 46 : && GET_MODE (x4) == E_SImode
30761 530 : && insn_condition_2448 (operands, insn))
30762 46 : return gen_split_328 (insn, operands);
30763 : break;
30764 :
30765 377 : case -256L:
30766 377 : switch (GET_MODE (operands[0]))
30767 : {
30768 14 : case E_HImode:
30769 14 : if (any_QIreg_operand (operands[0], E_HImode)
30770 8 : && GET_MODE (x4) == E_HImode
30771 22 : && insn_condition_2449 (operands, insn))
30772 8 : return gen_split_330 (insn, operands);
30773 : break;
30774 :
30775 95 : case E_SImode:
30776 95 : if (any_QIreg_operand (operands[0], E_SImode)
30777 68 : && GET_MODE (x4) == E_SImode
30778 163 : && insn_condition_2449 (operands, insn))
30779 68 : return gen_split_331 (insn, operands);
30780 : break;
30781 :
30782 : default:
30783 : break;
30784 : }
30785 : break;
30786 :
30787 28 : case -65281L:
30788 28 : switch (GET_MODE (operands[0]))
30789 : {
30790 0 : case E_HImode:
30791 0 : if (QIreg_operand (operands[0], E_HImode)
30792 0 : && GET_MODE (x4) == E_HImode
30793 0 : && insn_condition_2449 (operands, insn))
30794 0 : return gen_split_333 (insn, operands);
30795 : break;
30796 :
30797 24 : case E_SImode:
30798 24 : if (QIreg_operand (operands[0], E_SImode)
30799 5 : && GET_MODE (x4) == E_SImode
30800 29 : && insn_condition_2449 (operands, insn))
30801 5 : return gen_split_334 (insn, operands);
30802 : break;
30803 :
30804 : default:
30805 : break;
30806 : }
30807 : break;
30808 :
30809 : default:
30810 : break;
30811 : }
30812 : }
30813 1098068 : operands[1] = x5;
30814 1098068 : x6 = XEXP (x4, 1);
30815 1098068 : operands[2] = x6;
30816 1098068 : switch (GET_MODE (operands[0]))
30817 : {
30818 76318 : case E_HImode:
30819 76318 : if (GET_MODE (x4) != E_HImode
30820 76318 : || !const_int_operand (operands[2], E_HImode))
30821 : return NULL;
30822 76318 : if (QIreg_operand (operands[0], E_HImode)
30823 37038 : && register_operand (operands[1], E_HImode)
30824 113341 : && insn_condition_2450 (operands, insn))
30825 614 : return gen_split_381 (insn, operands);
30826 75704 : if (!any_QIreg_operand (operands[0], E_HImode)
30827 38815 : || !general_operand (operands[1], E_HImode)
30828 114519 : || !insn_condition_2451 (operands, insn))
30829 : return NULL;
30830 27 : return gen_split_384 (insn, operands);
30831 :
30832 498594 : case E_SImode:
30833 498594 : if (GET_MODE (x4) != E_SImode
30834 498594 : || !const_int_operand (operands[2], E_SImode))
30835 : return NULL;
30836 498594 : if (QIreg_operand (operands[0], E_SImode)
30837 314089 : && register_operand (operands[1], E_SImode)
30838 812668 : && insn_condition_2450 (operands, insn))
30839 2733 : return gen_split_382 (insn, operands);
30840 495861 : if (!any_QIreg_operand (operands[0], E_SImode)
30841 348701 : || !general_operand (operands[1], E_SImode)
30842 844562 : || !insn_condition_2451 (operands, insn))
30843 : return NULL;
30844 313 : return gen_split_385 (insn, operands);
30845 :
30846 : default:
30847 : return NULL;
30848 : }
30849 : }
30850 :
30851 : rtx_insn *
30852 770287 : split_21 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30853 : {
30854 770287 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30855 770287 : rtx x2, x3, x4, x5, x6;
30856 770287 : rtx_insn *res ATTRIBUTE_UNUSED;
30857 770287 : x2 = XVECEXP (x1, 0, 0);
30858 770287 : switch (pattern991 (x2))
30859 : {
30860 767304 : case 0:
30861 767304 : x3 = XEXP (x2, 0);
30862 767304 : operands[0] = x3;
30863 767304 : x4 = XEXP (x2, 1);
30864 767304 : x5 = XEXP (x4, 1);
30865 767304 : if (GET_CODE (x5) == SUBREG)
30866 : {
30867 12456 : switch (pattern1477 (x4))
30868 : {
30869 170 : case 0:
30870 170 : if (insn_condition_2459 (operands, insn))
30871 44 : return gen_split_619 (insn, operands);
30872 : break;
30873 :
30874 28 : case 1:
30875 28 : if (insn_condition_2460 (operands, insn))
30876 28 : return gen_split_621 (insn, operands);
30877 : break;
30878 :
30879 : default:
30880 : break;
30881 : }
30882 : }
30883 767232 : if (GET_MODE (x4) == E_SImode
30884 767232 : && nonimmediate_operand (operands[1], E_SImode))
30885 : {
30886 180413 : if (register_operand (operands[0], E_SImode))
30887 : {
30888 180081 : operands[2] = x5;
30889 180081 : if (register_operand (operands[2], E_QImode)
30890 180081 : && insn_condition_2419 (operands, insn))
30891 8 : return gen_split_668 (insn, operands);
30892 : }
30893 180405 : if (GET_CODE (x5) == SUBREG)
30894 : {
30895 4287 : switch (pattern1581 (x5))
30896 : {
30897 602 : case 0:
30898 602 : if (insn_condition_2461 (operands, insn))
30899 602 : return gen_split_685 (insn, operands);
30900 : break;
30901 :
30902 0 : case 1:
30903 0 : if (insn_condition_2462 (operands, insn))
30904 0 : return gen_split_697 (insn, operands);
30905 : break;
30906 :
30907 0 : case 2:
30908 0 : if (insn_condition_2463 (operands, insn))
30909 0 : return gen_split_709 (insn, operands);
30910 : break;
30911 :
30912 : default:
30913 : break;
30914 : }
30915 : }
30916 : }
30917 766622 : operands[2] = x5;
30918 766622 : switch (pattern1381 (x2))
30919 : {
30920 506114 : case 0:
30921 506114 : if (register_operand (operands[1], E_DImode)
30922 441587 : && nonmemory_operand (operands[2], E_QImode)
30923 506114 : && insn_condition_2464 (operands, insn))
30924 1458 : return gen_split_627 (insn, operands);
30925 504656 : if (nonimmediate_operand (operands[1], E_DImode)
30926 440202 : && register_operand (operands[2], E_QImode)
30927 504656 : && insn_condition_2420 (operands, insn))
30928 13 : return gen_split_670 (insn, operands);
30929 : break;
30930 :
30931 13891 : case 1:
30932 13891 : if (insn_condition_2465 (operands, insn))
30933 2922 : return gen_split_629 (insn, operands);
30934 : break;
30935 :
30936 85 : case 2:
30937 85 : if (insn_condition_2416 (operands, insn))
30938 1 : return gen_split_674 (insn, operands);
30939 : break;
30940 :
30941 3 : case 3:
30942 3 : if (insn_condition_2416 (operands, insn))
30943 0 : return gen_split_676 (insn, operands);
30944 : break;
30945 :
30946 : default:
30947 : break;
30948 : }
30949 762228 : if (GET_MODE (x4) != E_DImode
30950 762228 : || !nonimmediate_operand (operands[1], E_DImode))
30951 : return NULL;
30952 440580 : switch (GET_CODE (x5))
30953 : {
30954 424298 : case CONST_INT:
30955 424298 : if (pattern1282 (x2) != 0
30956 424298 : || !insn_condition_2384 (operands, insn))
30957 : return NULL;
30958 2688 : return gen_split_663 (insn, operands);
30959 :
30960 5633 : case SUBREG:
30961 5633 : if (maybe_ne (SUBREG_BYTE (x5), 0)
30962 5633 : || GET_MODE (x5) != E_QImode)
30963 : return NULL;
30964 5633 : operands[0] = x3;
30965 5633 : if (!nonimmediate_operand (operands[0], E_DImode))
30966 : return NULL;
30967 5633 : x6 = XEXP (x5, 0);
30968 5633 : switch (pattern1283 (x6))
30969 : {
30970 139 : case 0:
30971 139 : if (!insn_condition_2466 (operands, insn))
30972 : return NULL;
30973 130 : return gen_split_688 (insn, operands);
30974 :
30975 0 : case 1:
30976 0 : if (!insn_condition_2467 (operands, insn))
30977 : return NULL;
30978 0 : return gen_split_700 (insn, operands);
30979 :
30980 0 : case 2:
30981 0 : if (!insn_condition_2468 (operands, insn))
30982 : return NULL;
30983 0 : return gen_split_712 (insn, operands);
30984 :
30985 : default:
30986 : return NULL;
30987 : }
30988 :
30989 : default:
30990 : return NULL;
30991 : }
30992 :
30993 33 : case 1:
30994 33 : if (register_operand (operands[0], E_DImode)
30995 33 : && register_operand (operands[1], E_DImode)
30996 60 : && insn_condition_2459 (operands, insn))
30997 9 : return gen_split_623 (insn, operands);
30998 24 : if (!nonimmediate_operand (operands[0], E_DImode)
30999 24 : || !nonimmediate_operand (operands[1], E_DImode)
31000 42 : || !insn_condition_2466 (operands, insn))
31001 : return NULL;
31002 18 : return gen_split_694 (insn, operands);
31003 :
31004 1 : case 2:
31005 1 : if (!insn_condition_2460 (operands, insn))
31006 : return NULL;
31007 1 : return gen_split_625 (insn, operands);
31008 :
31009 1 : case 3:
31010 1 : if (!insn_condition_2461 (operands, insn))
31011 : return NULL;
31012 1 : return gen_split_691 (insn, operands);
31013 :
31014 2 : case 4:
31015 2 : if (!insn_condition_2462 (operands, insn))
31016 : return NULL;
31017 2 : return gen_split_703 (insn, operands);
31018 :
31019 74 : case 5:
31020 74 : if (!insn_condition_2467 (operands, insn))
31021 : return NULL;
31022 74 : return gen_split_706 (insn, operands);
31023 :
31024 331 : case 6:
31025 331 : if (!insn_condition_2463 (operands, insn))
31026 : return NULL;
31027 273 : return gen_split_715 (insn, operands);
31028 :
31029 640 : case 7:
31030 640 : if (!insn_condition_2468 (operands, insn))
31031 : return NULL;
31032 379 : return gen_split_718 (insn, operands);
31033 :
31034 : default:
31035 : return NULL;
31036 : }
31037 : }
31038 :
31039 : rtx_insn *
31040 1556176 : split_27 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31041 : {
31042 1556176 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31043 1556176 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
31044 1556176 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
31045 1556176 : rtx_insn *res ATTRIBUTE_UNUSED;
31046 1556176 : x2 = XVECEXP (x1, 0, 0);
31047 1556176 : x3 = XEXP (x2, 1);
31048 1556176 : x4 = XEXP (x3, 0);
31049 1556176 : switch (GET_CODE (x4))
31050 : {
31051 382881 : case PLUS:
31052 382881 : if (pattern606 (x1,
31053 : E_CCCmode) != 0
31054 382881 : || GET_MODE (x3) != E_CCCmode)
31055 : return NULL;
31056 104705 : x5 = XEXP (x4, 0);
31057 104705 : operands[1] = x5;
31058 104705 : x6 = XEXP (x4, 1);
31059 104705 : operands[2] = x6;
31060 104705 : x7 = XVECEXP (x1, 0, 1);
31061 104705 : x8 = XEXP (x7, 0);
31062 104705 : operands[0] = x8;
31063 104705 : x9 = XEXP (x3, 1);
31064 104705 : if (!rtx_equal_p (x9, operands[1]))
31065 : return NULL;
31066 104032 : x10 = XEXP (x7, 1);
31067 104032 : x11 = XEXP (x10, 0);
31068 104032 : if (!rtx_equal_p (x11, operands[1]))
31069 : return NULL;
31070 104032 : x12 = XEXP (x10, 1);
31071 104032 : if (!rtx_equal_p (x12, operands[2]))
31072 : return NULL;
31073 104032 : switch (GET_MODE (x4))
31074 : {
31075 43290 : case E_DImode:
31076 43290 : if (pattern1725 (x10,
31077 : E_DImode) != 0
31078 43290 : || !insn_condition_2431 (operands, insn))
31079 : return NULL;
31080 994 : return gen_split_208 (insn, operands);
31081 :
31082 1072 : case E_TImode:
31083 1072 : if (pattern1725 (x10,
31084 : E_TImode) != 0
31085 1072 : || !insn_condition_2434 (operands, insn))
31086 : return NULL;
31087 536 : return gen_split_209 (insn, operands);
31088 :
31089 : default:
31090 : return NULL;
31091 : }
31092 :
31093 192034 : case AND:
31094 192034 : x9 = XEXP (x3, 1);
31095 192034 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31096 : return NULL;
31097 161566 : x5 = XEXP (x4, 0);
31098 161566 : switch (GET_CODE (x5))
31099 : {
31100 1423 : case SUBREG:
31101 1423 : switch (pattern858 (x1))
31102 : {
31103 446 : case 0:
31104 446 : if (!insn_condition_2533 (operands, insn))
31105 : return NULL;
31106 0 : return gen_split_354 (insn, operands);
31107 :
31108 0 : case 1:
31109 0 : if (!insn_condition_2533 (operands, insn))
31110 : return NULL;
31111 0 : return gen_split_357 (insn, operands);
31112 :
31113 0 : case 2:
31114 0 : if (!insn_condition_2534 (operands, insn))
31115 : return NULL;
31116 0 : return gen_split_360 (insn, operands);
31117 :
31118 : default:
31119 : return NULL;
31120 : }
31121 :
31122 1884 : case NOT:
31123 1884 : if (GET_MODE (x5) != E_SImode)
31124 : return NULL;
31125 1144 : x7 = XVECEXP (x1, 0, 1);
31126 1144 : if (GET_CODE (x7) != CLOBBER)
31127 : return NULL;
31128 1144 : x13 = XEXP (x2, 0);
31129 1144 : operands[0] = x13;
31130 1144 : if (!flags_reg_operand (operands[0], E_VOIDmode))
31131 : return NULL;
31132 1144 : operands[1] = x3;
31133 1144 : if (!compare_operator (operands[1], E_VOIDmode)
31134 1144 : || GET_MODE (x4) != E_SImode)
31135 : return NULL;
31136 1144 : x14 = XEXP (x5, 0);
31137 1144 : operands[2] = x14;
31138 1144 : if (!general_reg_operand (operands[2], E_SImode))
31139 : return NULL;
31140 6 : x6 = XEXP (x4, 1);
31141 6 : operands[3] = x6;
31142 6 : if (!nonimmediate_operand (operands[3], E_SImode))
31143 : return NULL;
31144 6 : x8 = XEXP (x7, 0);
31145 6 : if (!rtx_equal_p (x8, operands[2])
31146 6 : || !insn_condition_2535 (operands, insn))
31147 : return NULL;
31148 2 : return gen_split_392 (insn, operands);
31149 :
31150 842 : case NEG:
31151 842 : x7 = XVECEXP (x1, 0, 1);
31152 842 : if (GET_CODE (x7) != SET)
31153 : return NULL;
31154 3 : x10 = XEXP (x7, 1);
31155 3 : if (GET_CODE (x10) != AND)
31156 : return NULL;
31157 3 : x11 = XEXP (x10, 0);
31158 3 : if (GET_CODE (x11) != NEG)
31159 : return NULL;
31160 3 : x13 = XEXP (x2, 0);
31161 3 : operands[3] = x13;
31162 3 : if (!flags_reg_operand (operands[3], E_VOIDmode))
31163 : return NULL;
31164 3 : operands[4] = x3;
31165 3 : if (!compare_operator (operands[4], E_VOIDmode))
31166 : return NULL;
31167 3 : switch (pattern1545 (x1))
31168 : {
31169 3 : case 0:
31170 3 : if (!insn_condition_2536 (operands, insn))
31171 : return NULL;
31172 1 : return gen_split_954 (insn, operands);
31173 :
31174 0 : case 1:
31175 0 : if (!insn_condition_2537 (operands, insn))
31176 : return NULL;
31177 0 : return gen_split_955 (insn, operands);
31178 :
31179 : default:
31180 : return NULL;
31181 : }
31182 :
31183 4633 : case PLUS:
31184 4633 : x15 = XEXP (x5, 1);
31185 4633 : if (x15 != const_int_rtx[MAX_SAVED_CONST_INT + -1]
31186 4633 : || pattern722 (x1,
31187 : SET,
31188 : E_CCZmode) != 0)
31189 : return NULL;
31190 6 : x7 = XVECEXP (x1, 0, 1);
31191 6 : x10 = XEXP (x7, 1);
31192 6 : if (GET_CODE (x10) != AND)
31193 : return NULL;
31194 6 : x11 = XEXP (x10, 0);
31195 6 : if (GET_CODE (x11) != PLUS)
31196 : return NULL;
31197 6 : x16 = XEXP (x11, 1);
31198 6 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + -1]
31199 6 : || GET_MODE (x3) != E_CCZmode)
31200 : return NULL;
31201 6 : switch (pattern1545 (x1))
31202 : {
31203 6 : case 0:
31204 6 : if (!insn_condition_2531 (operands, insn))
31205 : return NULL;
31206 1 : return gen_split_960 (insn, operands);
31207 :
31208 0 : case 1:
31209 0 : if (!insn_condition_2532 (operands, insn))
31210 : return NULL;
31211 0 : return gen_split_961 (insn, operands);
31212 :
31213 : default:
31214 : return NULL;
31215 : }
31216 :
31217 : default:
31218 : return NULL;
31219 : }
31220 :
31221 308639 : case IOR:
31222 308639 : switch (pattern610 (x1,
31223 : IOR))
31224 : {
31225 0 : case 0:
31226 0 : if (!insn_condition_2533 (operands, insn))
31227 : return NULL;
31228 0 : return gen_split_355 (insn, operands);
31229 :
31230 0 : case 1:
31231 0 : if (!insn_condition_2533 (operands, insn))
31232 : return NULL;
31233 0 : return gen_split_358 (insn, operands);
31234 :
31235 0 : case 2:
31236 0 : if (!insn_condition_2534 (operands, insn))
31237 : return NULL;
31238 0 : return gen_split_361 (insn, operands);
31239 :
31240 : default:
31241 : return NULL;
31242 : }
31243 :
31244 9022 : case XOR:
31245 9022 : switch (pattern610 (x1,
31246 : XOR))
31247 : {
31248 0 : case 0:
31249 0 : if (!insn_condition_2533 (operands, insn))
31250 : return NULL;
31251 0 : return gen_split_356 (insn, operands);
31252 :
31253 0 : case 1:
31254 0 : if (!insn_condition_2533 (operands, insn))
31255 : return NULL;
31256 0 : return gen_split_359 (insn, operands);
31257 :
31258 0 : case 2:
31259 0 : if (!insn_condition_2534 (operands, insn))
31260 : return NULL;
31261 0 : return gen_split_362 (insn, operands);
31262 :
31263 : default:
31264 : return NULL;
31265 : }
31266 :
31267 448 : case NOT:
31268 448 : x9 = XEXP (x3, 1);
31269 448 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31270 : return NULL;
31271 70 : x7 = XVECEXP (x1, 0, 1);
31272 70 : if (GET_CODE (x7) != SET)
31273 : return NULL;
31274 70 : x13 = XEXP (x2, 0);
31275 70 : operands[0] = x13;
31276 70 : if (!flags_reg_operand (operands[0], E_VOIDmode))
31277 : return NULL;
31278 70 : operands[2] = x3;
31279 70 : if (!compare_operator (operands[2], E_VOIDmode))
31280 : return NULL;
31281 70 : x5 = XEXP (x4, 0);
31282 70 : operands[3] = x5;
31283 70 : x8 = XEXP (x7, 0);
31284 70 : operands[1] = x8;
31285 70 : x10 = XEXP (x7, 1);
31286 70 : switch (GET_CODE (x10))
31287 : {
31288 70 : case NOT:
31289 70 : x11 = XEXP (x10, 0);
31290 70 : if (!rtx_equal_p (x11, operands[3]))
31291 : return NULL;
31292 70 : switch (GET_MODE (x4))
31293 : {
31294 1 : case E_QImode:
31295 1 : if (!nonimmediate_operand (operands[3], E_QImode)
31296 1 : || !nonimmediate_operand (operands[1], E_QImode)
31297 1 : || GET_MODE (x10) != E_QImode
31298 2 : || !insn_condition_29 (operands, insn))
31299 : return NULL;
31300 1 : return gen_split_558 (insn, operands);
31301 :
31302 0 : case E_HImode:
31303 0 : if (!nonimmediate_operand (operands[3], E_HImode)
31304 0 : || !nonimmediate_operand (operands[1], E_HImode)
31305 0 : || GET_MODE (x10) != E_HImode
31306 0 : || !insn_condition_29 (operands, insn))
31307 : return NULL;
31308 0 : return gen_split_559 (insn, operands);
31309 :
31310 30 : case E_SImode:
31311 30 : if (!nonimmediate_operand (operands[3], E_SImode)
31312 30 : || !nonimmediate_operand (operands[1], E_SImode)
31313 30 : || GET_MODE (x10) != E_SImode
31314 60 : || !insn_condition_29 (operands, insn))
31315 : return NULL;
31316 30 : return gen_split_560 (insn, operands);
31317 :
31318 39 : case E_DImode:
31319 39 : if (!nonimmediate_operand (operands[3], E_DImode)
31320 39 : || !nonimmediate_operand (operands[1], E_DImode)
31321 39 : || GET_MODE (x10) != E_DImode
31322 78 : || !insn_condition_34 (operands, insn))
31323 : return NULL;
31324 39 : return gen_split_561 (insn, operands);
31325 :
31326 : default:
31327 : return NULL;
31328 : }
31329 :
31330 0 : case ZERO_EXTEND:
31331 0 : if (pattern1272 (x1,
31332 : NOT) != 0
31333 0 : || !nonimmediate_operand (operands[3], E_SImode)
31334 0 : || !register_operand (operands[1], E_DImode))
31335 : return NULL;
31336 0 : x11 = XEXP (x10, 0);
31337 0 : x17 = XEXP (x11, 0);
31338 0 : if (!rtx_equal_p (x17, operands[3])
31339 0 : || !insn_condition_29 (operands, insn))
31340 : return NULL;
31341 0 : return gen_split_562 (insn, operands);
31342 :
31343 : default:
31344 : return NULL;
31345 : }
31346 :
31347 91693 : case REG:
31348 91693 : case SUBREG:
31349 91693 : case MEM:
31350 91693 : operands[1] = x4;
31351 91693 : x9 = XEXP (x3, 1);
31352 91693 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31353 : return NULL;
31354 24567 : x13 = XEXP (x2, 0);
31355 24567 : if (GET_CODE (x13) != REG
31356 24567 : || REGNO (x13) != 17)
31357 : return NULL;
31358 24567 : x7 = XVECEXP (x1, 0, 1);
31359 24567 : if (GET_CODE (x7) != SET)
31360 : return NULL;
31361 9400 : x8 = XEXP (x7, 0);
31362 9400 : operands[0] = x8;
31363 9400 : x10 = XEXP (x7, 1);
31364 9400 : switch (GET_CODE (x10))
31365 : {
31366 384 : case CTZ:
31367 384 : if (GET_MODE (x13) != E_CCCmode
31368 72 : || GET_MODE (x3) != E_CCCmode)
31369 : return NULL;
31370 72 : x11 = XEXP (x10, 0);
31371 72 : if (!rtx_equal_p (x11, operands[1]))
31372 : return NULL;
31373 72 : switch (pattern1532 (x10))
31374 : {
31375 45 : case 0:
31376 45 : if (!insn_condition_2538 (operands, insn))
31377 : return NULL;
31378 6 : return gen_split_915 (insn, operands);
31379 :
31380 27 : case 1:
31381 27 : if (!insn_condition_2539 (operands, insn))
31382 : return NULL;
31383 5 : return gen_split_916 (insn, operands);
31384 :
31385 : default:
31386 : return NULL;
31387 : }
31388 :
31389 9016 : case MINUS:
31390 9016 : switch (pattern1274 (x1))
31391 : {
31392 3925 : case 0:
31393 3925 : if (!insn_condition_2540 (operands, insn))
31394 : return NULL;
31395 1039 : return gen_split_922 (insn, operands);
31396 :
31397 5083 : case 1:
31398 5083 : if (!insn_condition_2541 (operands, insn))
31399 : return NULL;
31400 1303 : return gen_split_925 (insn, operands);
31401 :
31402 : default:
31403 : return NULL;
31404 : }
31405 :
31406 : default:
31407 : return NULL;
31408 : }
31409 :
31410 : default:
31411 : return NULL;
31412 : }
31413 : }
31414 :
31415 : rtx_insn *
31416 149399 : split_30 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31417 : {
31418 149399 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31419 149399 : rtx x2, x3, x4, x5, x6, x7, x8;
31420 149399 : rtx_insn *res ATTRIBUTE_UNUSED;
31421 149399 : if (pattern373 (x1) != 0)
31422 : return NULL;
31423 105650 : x2 = XVECEXP (x1, 0, 0);
31424 105650 : x3 = XEXP (x2, 1);
31425 105650 : x4 = XEXP (x3, 0);
31426 105650 : switch (GET_CODE (x4))
31427 : {
31428 12 : case REG:
31429 12 : case SUBREG:
31430 12 : case MEM:
31431 12 : operands[1] = x4;
31432 12 : switch (pattern1190 (x3))
31433 : {
31434 0 : case 0:
31435 0 : if (!insn_condition_2555 (operands, insn))
31436 : return NULL;
31437 0 : return gen_split_65 (insn, operands);
31438 :
31439 0 : case 1:
31440 0 : if (!insn_condition_2555 (operands, insn))
31441 : return NULL;
31442 0 : return gen_split_66 (insn, operands);
31443 :
31444 0 : case 2:
31445 0 : if (!insn_condition_2555 (operands, insn))
31446 : return NULL;
31447 0 : return gen_split_67 (insn, operands);
31448 :
31449 : default:
31450 : return NULL;
31451 : }
31452 :
31453 14367 : case PLUS:
31454 14367 : if (GET_MODE (x4) != E_SImode
31455 14090 : || !register_operand (operands[0], E_DImode)
31456 28457 : || GET_MODE (x3) != E_DImode)
31457 : return NULL;
31458 14090 : x5 = XEXP (x4, 0);
31459 14090 : switch (GET_CODE (x5))
31460 : {
31461 13914 : case REG:
31462 13914 : case SUBREG:
31463 13914 : operands[1] = x5;
31464 13914 : if (!register_operand (operands[1], E_SImode))
31465 : return NULL;
31466 13914 : x6 = XEXP (x4, 1);
31467 13914 : operands[2] = x6;
31468 13914 : if (!x86_64_nonmemory_operand (operands[2], E_SImode))
31469 : return NULL;
31470 11134 : if (insn_condition_2556 (operands, insn))
31471 0 : return gen_split_132 (insn, operands);
31472 11134 : if (!insn_condition_2557 (operands, insn))
31473 : return NULL;
31474 2584 : return gen_split_141 (insn, operands);
31475 :
31476 0 : case UNSPEC:
31477 0 : if (pattern1193 (x5) != 0)
31478 : return NULL;
31479 0 : x6 = XEXP (x4, 1);
31480 0 : operands[1] = x6;
31481 0 : if (!register_operand (operands[1], E_SImode)
31482 0 : || !insn_condition_2407 (operands, insn))
31483 : return NULL;
31484 0 : return gen_split_977 (insn, operands);
31485 :
31486 : default:
31487 : return NULL;
31488 : }
31489 :
31490 2640 : case ASHIFT:
31491 2640 : if (GET_MODE (x4) != E_SImode
31492 2625 : || GET_MODE (x3) != E_DImode)
31493 : return NULL;
31494 2625 : x5 = XEXP (x4, 0);
31495 2625 : operands[1] = x5;
31496 2625 : x6 = XEXP (x4, 1);
31497 2625 : operands[2] = x6;
31498 2625 : switch (GET_CODE (operands[2]))
31499 : {
31500 370 : case REG:
31501 370 : case SUBREG:
31502 370 : if (!register_operand (operands[2], E_QImode)
31503 323 : || !register_operand (operands[0], E_DImode)
31504 323 : || !nonimmediate_operand (operands[1], E_SImode)
31505 370 : || !insn_condition_2558 (operands, insn))
31506 : return NULL;
31507 2 : return gen_split_604 (insn, operands);
31508 :
31509 2241 : case CONST_INT:
31510 2241 : if (!const_0_to_3_operand (operands[2], E_VOIDmode)
31511 1471 : || !general_reg_operand (operands[0], E_DImode)
31512 1471 : || !index_reg_operand (operands[1], E_SImode)
31513 3712 : || !insn_condition_2559 (operands, insn))
31514 : return NULL;
31515 67 : return gen_split_615 (insn, operands);
31516 :
31517 : default:
31518 : return NULL;
31519 : }
31520 :
31521 27586 : case LSHIFTRT:
31522 27586 : if (pattern1213 (x3) != 0
31523 27586 : || !insn_condition_2558 (operands, insn))
31524 : return NULL;
31525 0 : return gen_split_672 (insn, operands);
31526 :
31527 3800 : case ASHIFTRT:
31528 3800 : if (pattern1213 (x3) != 0
31529 3800 : || !insn_condition_2558 (operands, insn))
31530 : return NULL;
31531 0 : return gen_split_673 (insn, operands);
31532 :
31533 15 : case ROTATE:
31534 15 : if (pattern1214 (x3) != 0
31535 15 : || !insn_condition_2560 (operands, insn))
31536 : return NULL;
31537 0 : return gen_split_834 (insn, operands);
31538 :
31539 92 : case ROTATERT:
31540 92 : if (pattern1214 (x3) != 0
31541 92 : || !insn_condition_2560 (operands, insn))
31542 : return NULL;
31543 0 : return gen_split_835 (insn, operands);
31544 :
31545 530 : case CTZ:
31546 530 : if (pattern1215 (x3,
31547 : E_SImode,
31548 : E_DImode) != 0
31549 530 : || !insn_condition_2561 (operands, insn))
31550 : return NULL;
31551 163 : return gen_split_921 (insn, operands);
31552 :
31553 31406 : case MINUS:
31554 31406 : if (GET_MODE (x4) != E_SImode)
31555 : return NULL;
31556 31304 : x5 = XEXP (x4, 0);
31557 31304 : if (GET_CODE (x5) != CONST_INT
31558 1360 : || !register_operand (operands[0], E_DImode)
31559 32664 : || GET_MODE (x3) != E_DImode)
31560 : return NULL;
31561 1360 : x6 = XEXP (x4, 1);
31562 1360 : if (GET_MODE (x6) != E_SImode)
31563 : return NULL;
31564 1360 : switch (pattern1194 (x4))
31565 : {
31566 1308 : case 0:
31567 1308 : if (!insn_condition_2562 (operands, insn))
31568 : return NULL;
31569 322 : return gen_split_924 (insn, operands);
31570 :
31571 36 : case 1:
31572 36 : if (!insn_condition_2562 (operands, insn))
31573 : return NULL;
31574 7 : return gen_split_927 (insn, operands);
31575 :
31576 : default:
31577 : return NULL;
31578 : }
31579 :
31580 1264 : case XOR:
31581 1264 : if (GET_MODE (x4) != E_SImode)
31582 : return NULL;
31583 1229 : x5 = XEXP (x4, 0);
31584 1229 : if (GET_CODE (x5) != MINUS
31585 40 : || pattern1195 (x4) != 0
31586 40 : || !register_operand (operands[0], E_DImode)
31587 1269 : || GET_MODE (x3) != E_DImode)
31588 : return NULL;
31589 40 : x7 = XEXP (x5, 1);
31590 40 : x8 = XEXP (x7, 0);
31591 40 : operands[1] = x8;
31592 40 : if (!nonimmediate_operand (operands[1], E_SImode)
31593 40 : || !insn_condition_2492 (operands, insn))
31594 : return NULL;
31595 26 : return gen_split_931 (insn, operands);
31596 :
31597 0 : case CLZ:
31598 0 : if (pattern1215 (x3,
31599 : E_SImode,
31600 : E_DImode) != 0
31601 0 : || !insn_condition_2524 (operands, insn))
31602 : return NULL;
31603 0 : return gen_split_943 (insn, operands);
31604 :
31605 5 : case POPCOUNT:
31606 5 : x5 = XEXP (x4, 0);
31607 5 : operands[1] = x5;
31608 5 : switch (GET_MODE (operands[0]))
31609 : {
31610 3 : case E_DImode:
31611 3 : if (pattern379 (x3,
31612 : E_SImode,
31613 : E_DImode) != 0
31614 3 : || !insn_condition_2525 (operands, insn))
31615 : return NULL;
31616 1 : return gen_split_967 (insn, operands);
31617 :
31618 2 : case E_SImode:
31619 2 : if (pattern379 (x3,
31620 : E_HImode,
31621 : E_SImode) != 0
31622 2 : || !insn_condition_2563 (operands, insn))
31623 : return NULL;
31624 2 : return gen_split_969 (insn, operands);
31625 :
31626 : default:
31627 : return NULL;
31628 : }
31629 :
31630 : default:
31631 : return NULL;
31632 : }
31633 : }
31634 :
31635 : rtx_insn *
31636 12777 : split_34 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31637 : {
31638 12777 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31639 12777 : rtx x2, x3, x4, x5, x6;
31640 12777 : rtx_insn *res ATTRIBUTE_UNUSED;
31641 12777 : switch (pattern440 (x1))
31642 : {
31643 1 : case 0:
31644 1 : if (!insn_condition_2584 (operands, insn))
31645 : return NULL;
31646 1 : return gen_split_741 (insn, operands);
31647 :
31648 1 : case 1:
31649 1 : if (!insn_condition_2585 (operands, insn))
31650 : return NULL;
31651 1 : return gen_split_743 (insn, operands);
31652 :
31653 1 : case 2:
31654 1 : if (!insn_condition_2586 (operands, insn))
31655 : return NULL;
31656 1 : return gen_split_745 (insn, operands);
31657 :
31658 1 : case 3:
31659 1 : if (!insn_condition_2587 (operands, insn))
31660 : return NULL;
31661 1 : return gen_split_747 (insn, operands);
31662 :
31663 0 : case 4:
31664 0 : if (!insn_condition_2588 (operands, insn))
31665 : return NULL;
31666 0 : return gen_split_773 (insn, operands);
31667 :
31668 0 : case 5:
31669 0 : if (!insn_condition_2589 (operands, insn))
31670 : return NULL;
31671 0 : return gen_split_775 (insn, operands);
31672 :
31673 4 : case 6:
31674 4 : if (!insn_condition_2590 (operands, insn))
31675 : return NULL;
31676 4 : return gen_split_777 (insn, operands);
31677 :
31678 0 : case 7:
31679 0 : if (!insn_condition_2591 (operands, insn))
31680 : return NULL;
31681 0 : return gen_split_779 (insn, operands);
31682 :
31683 0 : case 8:
31684 0 : if (!insn_condition_2588 (operands, insn))
31685 : return NULL;
31686 0 : return gen_split_805 (insn, operands);
31687 :
31688 0 : case 9:
31689 0 : if (!insn_condition_2589 (operands, insn))
31690 : return NULL;
31691 0 : return gen_split_807 (insn, operands);
31692 :
31693 2 : case 10:
31694 2 : if (!insn_condition_2590 (operands, insn))
31695 : return NULL;
31696 2 : return gen_split_809 (insn, operands);
31697 :
31698 0 : case 11:
31699 0 : if (!insn_condition_2591 (operands, insn))
31700 : return NULL;
31701 0 : return gen_split_811 (insn, operands);
31702 :
31703 11807 : case 12:
31704 11807 : x2 = XVECEXP (x1, 0, 0);
31705 11807 : x3 = XEXP (x2, 0);
31706 11807 : operands[0] = x3;
31707 11807 : x4 = XEXP (x2, 1);
31708 11807 : switch (pattern1219 (x4))
31709 : {
31710 213 : case 0:
31711 213 : if (insn_condition_2584 (operands, insn))
31712 213 : return gen_split_725 (insn, operands);
31713 : break;
31714 :
31715 209 : case 1:
31716 209 : if (insn_condition_2585 (operands, insn))
31717 209 : return gen_split_727 (insn, operands);
31718 : break;
31719 :
31720 218 : case 2:
31721 218 : if (insn_condition_2586 (operands, insn))
31722 218 : return gen_split_729 (insn, operands);
31723 : break;
31724 :
31725 89 : case 3:
31726 89 : if (insn_condition_2587 (operands, insn))
31727 89 : return gen_split_731 (insn, operands);
31728 : break;
31729 :
31730 0 : case 4:
31731 0 : if (insn_condition_2588 (operands, insn))
31732 0 : return gen_split_757 (insn, operands);
31733 : break;
31734 :
31735 0 : case 5:
31736 0 : if (insn_condition_2589 (operands, insn))
31737 0 : return gen_split_759 (insn, operands);
31738 : break;
31739 :
31740 0 : case 6:
31741 0 : if (insn_condition_2590 (operands, insn))
31742 0 : return gen_split_761 (insn, operands);
31743 : break;
31744 :
31745 0 : case 7:
31746 0 : if (insn_condition_2591 (operands, insn))
31747 0 : return gen_split_763 (insn, operands);
31748 : break;
31749 :
31750 0 : case 8:
31751 0 : if (insn_condition_2588 (operands, insn))
31752 0 : return gen_split_789 (insn, operands);
31753 : break;
31754 :
31755 0 : case 9:
31756 0 : if (insn_condition_2589 (operands, insn))
31757 0 : return gen_split_791 (insn, operands);
31758 : break;
31759 :
31760 0 : case 10:
31761 0 : if (insn_condition_2590 (operands, insn))
31762 0 : return gen_split_793 (insn, operands);
31763 : break;
31764 :
31765 0 : case 11:
31766 0 : if (insn_condition_2591 (operands, insn))
31767 0 : return gen_split_795 (insn, operands);
31768 : break;
31769 :
31770 6643 : case 12:
31771 6643 : x5 = XEXP (x4, 1);
31772 6643 : operands[2] = x5;
31773 6643 : switch (pattern1382 (x4))
31774 : {
31775 4333 : case 0:
31776 4333 : if (insn_condition_2592 (operands, insn))
31777 136 : return gen_split_832 (insn, operands);
31778 : break;
31779 :
31780 688 : case 1:
31781 688 : if (insn_condition_2593 (operands, insn))
31782 2 : return gen_split_833 (insn, operands);
31783 : break;
31784 :
31785 : default:
31786 : break;
31787 : }
31788 6505 : if (XWINT (x5, 0) == 8L
31789 109 : && register_operand (operands[0], E_HImode)
31790 6505 : && GET_MODE (x4) == E_HImode)
31791 : {
31792 0 : x6 = XEXP (x4, 0);
31793 0 : if (rtx_equal_p (x6, operands[0]))
31794 0 : return gen_split_841 (insn, operands);
31795 : }
31796 : break;
31797 :
31798 : default:
31799 : break;
31800 : }
31801 10940 : x5 = XEXP (x4, 1);
31802 10940 : operands[2] = x5;
31803 10940 : switch (pattern1220 (x2))
31804 : {
31805 3 : case 0:
31806 3 : if (!insn_condition_2416 (operands, insn))
31807 : return NULL;
31808 0 : return gen_split_837 (insn, operands);
31809 :
31810 3 : case 1:
31811 3 : if (!insn_condition_2416 (operands, insn))
31812 : return NULL;
31813 0 : return gen_split_839 (insn, operands);
31814 :
31815 : default:
31816 : return NULL;
31817 : }
31818 :
31819 : default:
31820 : return NULL;
31821 : }
31822 : }
31823 :
31824 : rtx_insn *
31825 146225 : split_41 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31826 : {
31827 146225 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31828 146225 : rtx x2, x3, x4, x5, x6, x7, x8;
31829 146225 : rtx_insn *res ATTRIBUTE_UNUSED;
31830 146225 : x2 = XVECEXP (x1, 0, 0);
31831 146225 : x3 = XEXP (x2, 0);
31832 146225 : operands[0] = x3;
31833 146225 : x4 = XEXP (x2, 1);
31834 146225 : x5 = XEXP (x4, 0);
31835 146225 : switch (GET_CODE (x5))
31836 : {
31837 27647 : case LSHIFTRT:
31838 27647 : if (GET_MODE (x5) != E_SImode)
31839 : return NULL;
31840 27574 : x6 = XVECEXP (x1, 0, 1);
31841 27574 : if (pattern286 (x6,
31842 : E_CCmode,
31843 : 17) != 0
31844 27569 : || !mask_reg_operand (operands[0], E_DImode)
31845 27575 : || GET_MODE (x4) != E_DImode)
31846 : return NULL;
31847 1 : x7 = XEXP (x5, 0);
31848 1 : operands[1] = x7;
31849 1 : if (!mask_reg_operand (operands[1], E_SImode))
31850 : return NULL;
31851 1 : x8 = XEXP (x5, 1);
31852 1 : operands[2] = x8;
31853 1 : if (!const_0_to_31_operand (operands[2], E_VOIDmode)
31854 1 : || !insn_condition_2671 (operands, insn))
31855 : return NULL;
31856 1 : return gen_split_1327 (insn, operands);
31857 :
31858 209 : case UNSPEC:
31859 209 : if (pattern383 (x1) != 0)
31860 : return NULL;
31861 150 : switch (pattern1089 (x1))
31862 : {
31863 0 : case 0:
31864 0 : if (!insn_condition_2672 (operands, insn))
31865 : return NULL;
31866 0 : return gen_split_1447 (insn, operands);
31867 :
31868 0 : case 1:
31869 0 : if (!insn_condition_2673 (operands, insn))
31870 : return NULL;
31871 0 : return gen_split_1468 (insn, operands);
31872 :
31873 0 : case 2:
31874 0 : if (!insn_condition_2674 (operands, insn))
31875 : return NULL;
31876 0 : return gen_split_1474 (insn, operands);
31877 :
31878 0 : case 3:
31879 0 : if (!insn_condition_2675 (operands, insn))
31880 : return NULL;
31881 0 : return gen_split_1510 (insn, operands);
31882 :
31883 0 : case 4:
31884 0 : if (!insn_condition_2676 (operands, insn))
31885 : return NULL;
31886 0 : return gen_split_1519 (insn, operands);
31887 :
31888 2 : case 5:
31889 2 : if (!insn_condition_2677 (operands, insn))
31890 : return NULL;
31891 2 : return gen_split_1450 (insn, operands);
31892 :
31893 2 : case 6:
31894 2 : if (!insn_condition_2678 (operands, insn))
31895 : return NULL;
31896 2 : return gen_split_1453 (insn, operands);
31897 :
31898 2 : case 7:
31899 2 : if (!insn_condition_2679 (operands, insn))
31900 : return NULL;
31901 2 : return gen_split_1456 (insn, operands);
31902 :
31903 2 : case 8:
31904 2 : if (!insn_condition_2680 (operands, insn))
31905 : return NULL;
31906 2 : return gen_split_1459 (insn, operands);
31907 :
31908 2 : case 9:
31909 2 : if (!insn_condition_2681 (operands, insn))
31910 : return NULL;
31911 2 : return gen_split_1462 (insn, operands);
31912 :
31913 2 : case 10:
31914 2 : if (!insn_condition_2682 (operands, insn))
31915 : return NULL;
31916 2 : return gen_split_1471 (insn, operands);
31917 :
31918 2 : case 11:
31919 2 : if (!insn_condition_2683 (operands, insn))
31920 : return NULL;
31921 2 : return gen_split_1477 (insn, operands);
31922 :
31923 2 : case 12:
31924 2 : if (!insn_condition_2684 (operands, insn))
31925 : return NULL;
31926 2 : return gen_split_1480 (insn, operands);
31927 :
31928 2 : case 13:
31929 2 : if (!insn_condition_2685 (operands, insn))
31930 : return NULL;
31931 2 : return gen_split_1483 (insn, operands);
31932 :
31933 2 : case 14:
31934 2 : if (!insn_condition_2686 (operands, insn))
31935 : return NULL;
31936 2 : return gen_split_1486 (insn, operands);
31937 :
31938 2 : case 15:
31939 2 : if (!insn_condition_2687 (operands, insn))
31940 : return NULL;
31941 2 : return gen_split_1489 (insn, operands);
31942 :
31943 2 : case 16:
31944 2 : if (!insn_condition_2688 (operands, insn))
31945 : return NULL;
31946 2 : return gen_split_1522 (insn, operands);
31947 :
31948 0 : case 17:
31949 0 : if (!insn_condition_2689 (operands, insn))
31950 : return NULL;
31951 0 : return gen_split_1465 (insn, operands);
31952 :
31953 0 : case 18:
31954 0 : if (!insn_condition_2690 (operands, insn))
31955 : return NULL;
31956 0 : return gen_split_1513 (insn, operands);
31957 :
31958 0 : case 19:
31959 0 : if (!insn_condition_2691 (operands, insn))
31960 : return NULL;
31961 0 : return gen_split_1516 (insn, operands);
31962 :
31963 0 : case 20:
31964 0 : if (!insn_condition_2692 (operands, insn))
31965 : return NULL;
31966 0 : return gen_split_1507 (insn, operands);
31967 :
31968 2 : case 21:
31969 2 : if (!insn_condition_2693 (operands, insn))
31970 : return NULL;
31971 2 : return gen_split_1448 (insn, operands);
31972 :
31973 2 : case 22:
31974 2 : if (!insn_condition_2694 (operands, insn))
31975 : return NULL;
31976 2 : return gen_split_1469 (insn, operands);
31977 :
31978 2 : case 23:
31979 2 : if (!insn_condition_2695 (operands, insn))
31980 : return NULL;
31981 2 : return gen_split_1475 (insn, operands);
31982 :
31983 2 : case 24:
31984 2 : if (!insn_condition_2696 (operands, insn))
31985 : return NULL;
31986 2 : return gen_split_1511 (insn, operands);
31987 :
31988 2 : case 25:
31989 2 : if (!insn_condition_2697 (operands, insn))
31990 : return NULL;
31991 2 : return gen_split_1520 (insn, operands);
31992 :
31993 2 : case 26:
31994 2 : if (!insn_condition_2698 (operands, insn))
31995 : return NULL;
31996 2 : return gen_split_1451 (insn, operands);
31997 :
31998 2 : case 27:
31999 2 : if (!insn_condition_2699 (operands, insn))
32000 : return NULL;
32001 2 : return gen_split_1454 (insn, operands);
32002 :
32003 2 : case 28:
32004 2 : if (!insn_condition_2700 (operands, insn))
32005 : return NULL;
32006 2 : return gen_split_1457 (insn, operands);
32007 :
32008 2 : case 29:
32009 2 : if (!insn_condition_2701 (operands, insn))
32010 : return NULL;
32011 2 : return gen_split_1460 (insn, operands);
32012 :
32013 2 : case 30:
32014 2 : if (!insn_condition_2702 (operands, insn))
32015 : return NULL;
32016 2 : return gen_split_1463 (insn, operands);
32017 :
32018 2 : case 31:
32019 2 : if (!insn_condition_2703 (operands, insn))
32020 : return NULL;
32021 2 : return gen_split_1472 (insn, operands);
32022 :
32023 2 : case 32:
32024 2 : if (!insn_condition_2704 (operands, insn))
32025 : return NULL;
32026 2 : return gen_split_1478 (insn, operands);
32027 :
32028 2 : case 33:
32029 2 : if (!insn_condition_2705 (operands, insn))
32030 : return NULL;
32031 2 : return gen_split_1481 (insn, operands);
32032 :
32033 2 : case 34:
32034 2 : if (!insn_condition_2706 (operands, insn))
32035 : return NULL;
32036 2 : return gen_split_1484 (insn, operands);
32037 :
32038 2 : case 35:
32039 2 : if (!insn_condition_2707 (operands, insn))
32040 : return NULL;
32041 2 : return gen_split_1487 (insn, operands);
32042 :
32043 2 : case 36:
32044 2 : if (!insn_condition_2708 (operands, insn))
32045 : return NULL;
32046 2 : return gen_split_1490 (insn, operands);
32047 :
32048 2 : case 37:
32049 2 : if (!insn_condition_2709 (operands, insn))
32050 : return NULL;
32051 2 : return gen_split_1523 (insn, operands);
32052 :
32053 0 : case 38:
32054 0 : if (!insn_condition_2710 (operands, insn))
32055 : return NULL;
32056 0 : return gen_split_1466 (insn, operands);
32057 :
32058 0 : case 39:
32059 0 : if (!insn_condition_2711 (operands, insn))
32060 : return NULL;
32061 0 : return gen_split_1514 (insn, operands);
32062 :
32063 0 : case 40:
32064 0 : if (!insn_condition_2712 (operands, insn))
32065 : return NULL;
32066 0 : return gen_split_1517 (insn, operands);
32067 :
32068 0 : case 41:
32069 0 : if (!insn_condition_2713 (operands, insn))
32070 : return NULL;
32071 0 : return gen_split_1508 (insn, operands);
32072 :
32073 2 : case 42:
32074 2 : if (!insn_condition_2714 (operands, insn))
32075 : return NULL;
32076 2 : return gen_split_1449 (insn, operands);
32077 :
32078 2 : case 43:
32079 2 : if (!insn_condition_2715 (operands, insn))
32080 : return NULL;
32081 2 : return gen_split_1470 (insn, operands);
32082 :
32083 2 : case 44:
32084 2 : if (!insn_condition_2716 (operands, insn))
32085 : return NULL;
32086 2 : return gen_split_1476 (insn, operands);
32087 :
32088 2 : case 45:
32089 2 : if (!insn_condition_2717 (operands, insn))
32090 : return NULL;
32091 2 : return gen_split_1512 (insn, operands);
32092 :
32093 2 : case 46:
32094 2 : if (!insn_condition_2718 (operands, insn))
32095 : return NULL;
32096 2 : return gen_split_1521 (insn, operands);
32097 :
32098 2 : case 47:
32099 2 : if (!insn_condition_2719 (operands, insn))
32100 : return NULL;
32101 2 : return gen_split_1452 (insn, operands);
32102 :
32103 2 : case 48:
32104 2 : if (!insn_condition_2720 (operands, insn))
32105 : return NULL;
32106 2 : return gen_split_1455 (insn, operands);
32107 :
32108 2 : case 49:
32109 2 : if (!insn_condition_2721 (operands, insn))
32110 : return NULL;
32111 2 : return gen_split_1458 (insn, operands);
32112 :
32113 2 : case 50:
32114 2 : if (!insn_condition_2722 (operands, insn))
32115 : return NULL;
32116 2 : return gen_split_1461 (insn, operands);
32117 :
32118 2 : case 51:
32119 2 : if (!insn_condition_2723 (operands, insn))
32120 : return NULL;
32121 2 : return gen_split_1464 (insn, operands);
32122 :
32123 2 : case 52:
32124 2 : if (!insn_condition_2724 (operands, insn))
32125 : return NULL;
32126 2 : return gen_split_1473 (insn, operands);
32127 :
32128 2 : case 53:
32129 2 : if (!insn_condition_2725 (operands, insn))
32130 : return NULL;
32131 2 : return gen_split_1479 (insn, operands);
32132 :
32133 2 : case 54:
32134 2 : if (!insn_condition_2726 (operands, insn))
32135 : return NULL;
32136 2 : return gen_split_1482 (insn, operands);
32137 :
32138 2 : case 55:
32139 2 : if (!insn_condition_2727 (operands, insn))
32140 : return NULL;
32141 2 : return gen_split_1485 (insn, operands);
32142 :
32143 2 : case 56:
32144 2 : if (!insn_condition_2728 (operands, insn))
32145 : return NULL;
32146 2 : return gen_split_1488 (insn, operands);
32147 :
32148 2 : case 57:
32149 2 : if (!insn_condition_2729 (operands, insn))
32150 : return NULL;
32151 2 : return gen_split_1491 (insn, operands);
32152 :
32153 2 : case 58:
32154 2 : if (!insn_condition_2730 (operands, insn))
32155 : return NULL;
32156 2 : return gen_split_1524 (insn, operands);
32157 :
32158 2 : case 59:
32159 2 : if (!insn_condition_2731 (operands, insn))
32160 : return NULL;
32161 2 : return gen_split_1467 (insn, operands);
32162 :
32163 2 : case 60:
32164 2 : if (!insn_condition_2732 (operands, insn))
32165 : return NULL;
32166 2 : return gen_split_1515 (insn, operands);
32167 :
32168 2 : case 61:
32169 2 : if (!insn_condition_2733 (operands, insn))
32170 : return NULL;
32171 2 : return gen_split_1518 (insn, operands);
32172 :
32173 0 : case 62:
32174 0 : if (!insn_condition_2734 (operands, insn))
32175 : return NULL;
32176 0 : return gen_split_1509 (insn, operands);
32177 :
32178 0 : case 63:
32179 0 : if (!insn_condition_2735 (operands, insn))
32180 : return NULL;
32181 0 : return gen_split_1561 (insn, operands);
32182 :
32183 0 : case 64:
32184 0 : if (!insn_condition_2736 (operands, insn))
32185 : return NULL;
32186 0 : return gen_split_1564 (insn, operands);
32187 :
32188 0 : case 65:
32189 0 : if (!insn_condition_2737 (operands, insn))
32190 : return NULL;
32191 0 : return gen_split_1573 (insn, operands);
32192 :
32193 0 : case 66:
32194 0 : if (!insn_condition_2672 (operands, insn))
32195 : return NULL;
32196 0 : return gen_split_1579 (insn, operands);
32197 :
32198 0 : case 67:
32199 0 : if (!insn_condition_2738 (operands, insn))
32200 : return NULL;
32201 0 : return gen_split_1567 (insn, operands);
32202 :
32203 0 : case 68:
32204 0 : if (!insn_condition_2739 (operands, insn))
32205 : return NULL;
32206 0 : return gen_split_1570 (insn, operands);
32207 :
32208 2 : case 69:
32209 2 : if (!insn_condition_2740 (operands, insn))
32210 : return NULL;
32211 2 : return gen_split_1576 (insn, operands);
32212 :
32213 2 : case 70:
32214 2 : if (!insn_condition_2677 (operands, insn))
32215 : return NULL;
32216 2 : return gen_split_1582 (insn, operands);
32217 :
32218 2 : case 71:
32219 2 : if (!insn_condition_2678 (operands, insn))
32220 : return NULL;
32221 2 : return gen_split_1585 (insn, operands);
32222 :
32223 2 : case 72:
32224 2 : if (!insn_condition_2679 (operands, insn))
32225 : return NULL;
32226 2 : return gen_split_1588 (insn, operands);
32227 :
32228 2 : case 73:
32229 2 : if (!insn_condition_2680 (operands, insn))
32230 : return NULL;
32231 2 : return gen_split_1591 (insn, operands);
32232 :
32233 2 : case 74:
32234 2 : if (!insn_condition_2681 (operands, insn))
32235 : return NULL;
32236 2 : return gen_split_1594 (insn, operands);
32237 :
32238 0 : case 75:
32239 0 : if (!insn_condition_2741 (operands, insn))
32240 : return NULL;
32241 0 : return gen_split_1562 (insn, operands);
32242 :
32243 2 : case 76:
32244 2 : if (!insn_condition_2742 (operands, insn))
32245 : return NULL;
32246 2 : return gen_split_1565 (insn, operands);
32247 :
32248 2 : case 77:
32249 2 : if (!insn_condition_2743 (operands, insn))
32250 : return NULL;
32251 2 : return gen_split_1574 (insn, operands);
32252 :
32253 2 : case 78:
32254 2 : if (!insn_condition_2693 (operands, insn))
32255 : return NULL;
32256 2 : return gen_split_1580 (insn, operands);
32257 :
32258 0 : case 79:
32259 0 : if (!insn_condition_2744 (operands, insn))
32260 : return NULL;
32261 0 : return gen_split_1568 (insn, operands);
32262 :
32263 0 : case 80:
32264 0 : if (!insn_condition_2745 (operands, insn))
32265 : return NULL;
32266 0 : return gen_split_1571 (insn, operands);
32267 :
32268 2 : case 81:
32269 2 : if (!insn_condition_2746 (operands, insn))
32270 : return NULL;
32271 2 : return gen_split_1577 (insn, operands);
32272 :
32273 2 : case 82:
32274 2 : if (!insn_condition_2698 (operands, insn))
32275 : return NULL;
32276 2 : return gen_split_1583 (insn, operands);
32277 :
32278 2 : case 83:
32279 2 : if (!insn_condition_2699 (operands, insn))
32280 : return NULL;
32281 2 : return gen_split_1586 (insn, operands);
32282 :
32283 2 : case 84:
32284 2 : if (!insn_condition_2700 (operands, insn))
32285 : return NULL;
32286 2 : return gen_split_1589 (insn, operands);
32287 :
32288 2 : case 85:
32289 2 : if (!insn_condition_2701 (operands, insn))
32290 : return NULL;
32291 2 : return gen_split_1592 (insn, operands);
32292 :
32293 2 : case 86:
32294 2 : if (!insn_condition_2702 (operands, insn))
32295 : return NULL;
32296 2 : return gen_split_1595 (insn, operands);
32297 :
32298 0 : case 87:
32299 0 : if (!insn_condition_2747 (operands, insn))
32300 : return NULL;
32301 0 : return gen_split_1563 (insn, operands);
32302 :
32303 2 : case 88:
32304 2 : if (!insn_condition_2748 (operands, insn))
32305 : return NULL;
32306 2 : return gen_split_1566 (insn, operands);
32307 :
32308 2 : case 89:
32309 2 : if (!insn_condition_2749 (operands, insn))
32310 : return NULL;
32311 2 : return gen_split_1575 (insn, operands);
32312 :
32313 2 : case 90:
32314 2 : if (!insn_condition_2714 (operands, insn))
32315 : return NULL;
32316 2 : return gen_split_1581 (insn, operands);
32317 :
32318 2 : case 91:
32319 2 : if (!insn_condition_2750 (operands, insn))
32320 : return NULL;
32321 2 : return gen_split_1569 (insn, operands);
32322 :
32323 2 : case 92:
32324 2 : if (!insn_condition_2751 (operands, insn))
32325 : return NULL;
32326 2 : return gen_split_1572 (insn, operands);
32327 :
32328 2 : case 93:
32329 2 : if (!insn_condition_2752 (operands, insn))
32330 : return NULL;
32331 2 : return gen_split_1578 (insn, operands);
32332 :
32333 2 : case 94:
32334 2 : if (!insn_condition_2719 (operands, insn))
32335 : return NULL;
32336 2 : return gen_split_1584 (insn, operands);
32337 :
32338 2 : case 95:
32339 2 : if (!insn_condition_2720 (operands, insn))
32340 : return NULL;
32341 2 : return gen_split_1587 (insn, operands);
32342 :
32343 2 : case 96:
32344 2 : if (!insn_condition_2721 (operands, insn))
32345 : return NULL;
32346 2 : return gen_split_1590 (insn, operands);
32347 :
32348 2 : case 97:
32349 2 : if (!insn_condition_2722 (operands, insn))
32350 : return NULL;
32351 2 : return gen_split_1593 (insn, operands);
32352 :
32353 2 : case 98:
32354 2 : if (!insn_condition_2723 (operands, insn))
32355 : return NULL;
32356 2 : return gen_split_1596 (insn, operands);
32357 :
32358 : default:
32359 : return NULL;
32360 : }
32361 :
32362 : default:
32363 : return NULL;
32364 : }
32365 : }
32366 :
32367 : rtx_insn *
32368 95063806 : split_49 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32369 : {
32370 95063806 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32371 95063806 : rtx x2, x3, x4;
32372 95063806 : rtx_insn *res ATTRIBUTE_UNUSED;
32373 95063806 : x2 = XEXP (x1, 1);
32374 95063806 : operands[1] = x2;
32375 95063806 : x3 = XEXP (x1, 0);
32376 95063806 : operands[0] = x3;
32377 95063806 : switch (GET_MODE (operands[0]))
32378 : {
32379 27973 : case E_V8QImode:
32380 27973 : if (nonimmediate_gr_operand (operands[0], E_V8QImode)
32381 16030 : && nonimmediate_gr_operand (operands[1], E_V8QImode)
32382 27973 : && insn_condition_2335 (operands, insn))
32383 659 : return gen_split_1062 (insn, operands);
32384 27314 : if (general_reg_operand (operands[0], E_V8QImode)
32385 2444 : && memory_operand (operands[1], E_V8QImode)
32386 29461 : && insn_condition_2831 (operands, insn))
32387 5 : return gen_split_1092 (insn, operands);
32388 : break;
32389 :
32390 43137 : case E_V4HImode:
32391 43137 : if (nonimmediate_gr_operand (operands[0], E_V4HImode)
32392 25420 : && nonimmediate_gr_operand (operands[1], E_V4HImode)
32393 43137 : && insn_condition_2335 (operands, insn))
32394 285 : return gen_split_1063 (insn, operands);
32395 42852 : if (general_reg_operand (operands[0], E_V4HImode)
32396 679 : && memory_operand (operands[1], E_V4HImode)
32397 43219 : && insn_condition_2831 (operands, insn))
32398 13 : return gen_split_1093 (insn, operands);
32399 : break;
32400 :
32401 651264 : case E_V2SImode:
32402 651264 : if (nonimmediate_gr_operand (operands[0], E_V2SImode)
32403 436010 : && nonimmediate_gr_operand (operands[1], E_V2SImode)
32404 651264 : && insn_condition_2335 (operands, insn))
32405 59440 : return gen_split_1064 (insn, operands);
32406 591824 : if (general_reg_operand (operands[0], E_V2SImode)
32407 13762 : && memory_operand (operands[1], E_V2SImode)
32408 603685 : && insn_condition_2831 (operands, insn))
32409 84 : return gen_split_1096 (insn, operands);
32410 : break;
32411 :
32412 3417 : case E_V1DImode:
32413 3417 : if (nonimmediate_gr_operand (operands[0], E_V1DImode)
32414 938 : && nonimmediate_gr_operand (operands[1], E_V1DImode)
32415 3417 : && insn_condition_2335 (operands, insn))
32416 0 : return gen_split_1065 (insn, operands);
32417 3417 : if (general_reg_operand (operands[0], E_V1DImode)
32418 228 : && memory_operand (operands[1], E_V1DImode)
32419 3479 : && insn_condition_2831 (operands, insn))
32420 23 : return gen_split_1098 (insn, operands);
32421 : break;
32422 :
32423 47525 : case E_V2SFmode:
32424 47525 : if (nonimmediate_gr_operand (operands[0], E_V2SFmode)
32425 27067 : && nonimmediate_gr_operand (operands[1], E_V2SFmode)
32426 47525 : && insn_condition_2335 (operands, insn))
32427 0 : return gen_split_1066 (insn, operands);
32428 47525 : if (general_reg_operand (operands[0], E_V2SFmode)
32429 3148 : && memory_operand (operands[1], E_V2SFmode)
32430 50357 : && insn_condition_2831 (operands, insn))
32431 69 : return gen_split_1097 (insn, operands);
32432 : break;
32433 :
32434 917 : case E_V4HFmode:
32435 917 : if (nonimmediate_gr_operand (operands[0], E_V4HFmode)
32436 436 : && nonimmediate_gr_operand (operands[1], E_V4HFmode)
32437 917 : && insn_condition_2335 (operands, insn))
32438 0 : return gen_split_1067 (insn, operands);
32439 917 : if (general_reg_operand (operands[0], E_V4HFmode)
32440 19 : && memory_operand (operands[1], E_V4HFmode)
32441 932 : && insn_condition_2831 (operands, insn))
32442 0 : return gen_split_1094 (insn, operands);
32443 : break;
32444 :
32445 216 : case E_V4BFmode:
32446 216 : if (nonimmediate_gr_operand (operands[0], E_V4BFmode)
32447 59 : && nonimmediate_gr_operand (operands[1], E_V4BFmode)
32448 216 : && insn_condition_2335 (operands, insn))
32449 0 : return gen_split_1068 (insn, operands);
32450 216 : if (general_reg_operand (operands[0], E_V4BFmode)
32451 3 : && memory_operand (operands[1], E_V4BFmode)
32452 216 : && insn_condition_2831 (operands, insn))
32453 0 : return gen_split_1095 (insn, operands);
32454 : break;
32455 :
32456 34037 : case E_V4QImode:
32457 34037 : if (push_operand (operands[0], E_V4QImode)
32458 34037 : && sse_reg_operand (operands[1], E_V4QImode))
32459 : {
32460 0 : if (insn_condition_2832 (operands, insn))
32461 0 : return gen_split_1076 (insn, operands);
32462 0 : if (insn_condition_2833 (operands, insn))
32463 0 : return gen_split_1081 (insn, operands);
32464 : }
32465 34037 : if (general_reg_operand (operands[0], E_V4QImode)
32466 3974 : && memory_operand (operands[1], E_V4QImode)
32467 37021 : && insn_condition_2834 (operands, insn))
32468 21 : return gen_split_1087 (insn, operands);
32469 : break;
32470 :
32471 12332 : case E_V2HImode:
32472 12332 : if (push_operand (operands[0], E_V2HImode)
32473 12332 : && sse_reg_operand (operands[1], E_V2HImode))
32474 : {
32475 0 : if (insn_condition_2832 (operands, insn))
32476 0 : return gen_split_1077 (insn, operands);
32477 0 : if (insn_condition_2833 (operands, insn))
32478 0 : return gen_split_1082 (insn, operands);
32479 : }
32480 12332 : if (general_reg_operand (operands[0], E_V2HImode)
32481 890 : && memory_operand (operands[1], E_V2HImode)
32482 12830 : && insn_condition_2834 (operands, insn))
32483 2 : return gen_split_1088 (insn, operands);
32484 : break;
32485 :
32486 1666 : case E_V1SImode:
32487 1666 : if (push_operand (operands[0], E_V1SImode)
32488 1666 : && sse_reg_operand (operands[1], E_V1SImode))
32489 : {
32490 0 : if (insn_condition_2832 (operands, insn))
32491 0 : return gen_split_1078 (insn, operands);
32492 0 : if (insn_condition_2833 (operands, insn))
32493 0 : return gen_split_1083 (insn, operands);
32494 : }
32495 1666 : if (general_reg_operand (operands[0], E_V1SImode)
32496 552 : && memory_operand (operands[1], E_V1SImode)
32497 1767 : && insn_condition_2834 (operands, insn))
32498 39 : return gen_split_1089 (insn, operands);
32499 : break;
32500 :
32501 2058 : case E_V2HFmode:
32502 2058 : if (push_operand (operands[0], E_V2HFmode)
32503 2058 : && sse_reg_operand (operands[1], E_V2HFmode))
32504 : {
32505 0 : if (insn_condition_2832 (operands, insn))
32506 0 : return gen_split_1079 (insn, operands);
32507 0 : if (insn_condition_2833 (operands, insn))
32508 0 : return gen_split_1084 (insn, operands);
32509 : }
32510 2058 : if (general_reg_operand (operands[0], E_V2HFmode)
32511 285 : && memory_operand (operands[1], E_V2HFmode)
32512 2304 : && insn_condition_2834 (operands, insn))
32513 0 : return gen_split_1090 (insn, operands);
32514 : break;
32515 :
32516 219 : case E_V2BFmode:
32517 219 : if (push_operand (operands[0], E_V2BFmode)
32518 219 : && sse_reg_operand (operands[1], E_V2BFmode))
32519 : {
32520 0 : if (insn_condition_2832 (operands, insn))
32521 0 : return gen_split_1080 (insn, operands);
32522 0 : if (insn_condition_2833 (operands, insn))
32523 0 : return gen_split_1085 (insn, operands);
32524 : }
32525 219 : if (general_reg_operand (operands[0], E_V2BFmode)
32526 3 : && memory_operand (operands[1], E_V2BFmode)
32527 219 : && insn_condition_2834 (operands, insn))
32528 0 : return gen_split_1091 (insn, operands);
32529 : break;
32530 :
32531 63104 : case E_V2QImode:
32532 63104 : if (general_reg_operand (operands[0], E_V2QImode)
32533 8511 : && memory_operand (operands[1], E_V2QImode)
32534 70637 : && insn_condition_2834 (operands, insn))
32535 62 : return gen_split_1086 (insn, operands);
32536 63042 : if (push_operand (operands[0], E_V2QImode)
32537 63042 : && sse_reg_operand (operands[1], E_V2QImode))
32538 : {
32539 0 : if (insn_condition_2835 (operands, insn))
32540 0 : return gen_split_1112 (insn, operands);
32541 0 : if (insn_condition_2836 (operands, insn))
32542 0 : return gen_split_1113 (insn, operands);
32543 : }
32544 : break;
32545 :
32546 30 : case E_P2QImode:
32547 30 : if (nonimmediate_operand (operands[0], E_P2QImode)
32548 30 : && nonimmediate_operand (operands[1], E_P2QImode)
32549 60 : && insn_condition_2837 (operands, insn))
32550 30 : return gen_split_2487 (insn, operands);
32551 : break;
32552 :
32553 6 : case E_P2HImode:
32554 6 : if (nonimmediate_operand (operands[0], E_P2HImode)
32555 6 : && nonimmediate_operand (operands[1], E_P2HImode)
32556 12 : && insn_condition_2837 (operands, insn))
32557 6 : return gen_split_2488 (insn, operands);
32558 : break;
32559 :
32560 : default:
32561 : break;
32562 : }
32563 95003068 : if (GET_CODE (x2) != SUBREG)
32564 : return NULL;
32565 1095533 : operands[0] = x3;
32566 1095533 : switch (SUBREG_BYTE (x2))
32567 : {
32568 154201 : case 8:
32569 154201 : if (GET_MODE (x2) != E_DFmode
32570 154201 : || !register_operand (operands[0], E_DFmode))
32571 : return NULL;
32572 721 : x4 = XEXP (x2, 0);
32573 721 : operands[1] = x4;
32574 721 : if (!register_operand (operands[1], E_V2DFmode)
32575 721 : || !insn_condition_148 (operands, insn))
32576 : return NULL;
32577 27 : return gen_split_1789 (insn, operands);
32578 :
32579 933405 : case 0:
32580 933405 : x4 = XEXP (x2, 0);
32581 933405 : switch (GET_CODE (x4))
32582 : {
32583 893147 : case REG:
32584 893147 : case SUBREG:
32585 893147 : operands[1] = x4;
32586 893147 : switch (GET_MODE (operands[0]))
32587 : {
32588 4181 : case E_DFmode:
32589 4181 : if (!register_operand (operands[0], E_DFmode)
32590 4016 : || GET_MODE (x2) != E_DFmode
32591 4016 : || !register_operand (operands[1], E_V2DFmode)
32592 5393 : || !insn_condition_148 (operands, insn))
32593 : return NULL;
32594 1212 : return gen_split_1791 (insn, operands);
32595 :
32596 176100 : case E_SImode:
32597 176100 : if (!nonimmediate_operand (operands[0], E_SImode)
32598 173952 : || GET_MODE (x2) != E_SImode
32599 173952 : || !register_operand (operands[1], E_VOIDmode)
32600 350052 : || !insn_condition_2838 (operands, insn))
32601 : return NULL;
32602 45763 : return gen_split_2050 (insn, operands);
32603 :
32604 218838 : case E_DImode:
32605 218838 : if (!nonimmediate_operand (operands[0], E_DImode)
32606 218043 : || GET_MODE (x2) != E_DImode
32607 218043 : || !register_operand (operands[1], E_VOIDmode)
32608 436881 : || !insn_condition_2839 (operands, insn))
32609 : return NULL;
32610 31937 : return gen_split_2051 (insn, operands);
32611 :
32612 : default:
32613 : return NULL;
32614 : }
32615 :
32616 3 : case SS_TRUNCATE:
32617 3 : switch (pattern758 (x2))
32618 : {
32619 0 : case 0:
32620 0 : if (!insn_condition_2840 (operands, insn))
32621 : return NULL;
32622 0 : return gen_split_1803 (insn, operands);
32623 :
32624 0 : case 1:
32625 0 : if (!insn_condition_2840 (operands, insn))
32626 : return NULL;
32627 0 : return gen_split_1806 (insn, operands);
32628 :
32629 0 : case 2:
32630 0 : if (!insn_condition_2840 (operands, insn))
32631 : return NULL;
32632 0 : return gen_split_1809 (insn, operands);
32633 :
32634 0 : case 3:
32635 0 : if (!insn_condition_2840 (operands, insn))
32636 : return NULL;
32637 0 : return gen_split_1825 (insn, operands);
32638 :
32639 0 : case 4:
32640 0 : if (!insn_condition_2841 (operands, insn))
32641 : return NULL;
32642 0 : return gen_split_1812 (insn, operands);
32643 :
32644 0 : case 5:
32645 0 : if (!insn_condition_2840 (operands, insn))
32646 : return NULL;
32647 0 : return gen_split_1815 (insn, operands);
32648 :
32649 0 : case 6:
32650 0 : if (!insn_condition_2842 (operands, insn))
32651 : return NULL;
32652 0 : return gen_split_1832 (insn, operands);
32653 :
32654 0 : case 7:
32655 0 : if (!insn_condition_2840 (operands, insn))
32656 : return NULL;
32657 0 : return gen_split_1819 (insn, operands);
32658 :
32659 0 : case 8:
32660 0 : if (!insn_condition_2840 (operands, insn))
32661 : return NULL;
32662 0 : return gen_split_1822 (insn, operands);
32663 :
32664 0 : case 9:
32665 0 : if (!insn_condition_2840 (operands, insn))
32666 : return NULL;
32667 0 : return gen_split_1829 (insn, operands);
32668 :
32669 : default:
32670 : return NULL;
32671 : }
32672 :
32673 6 : case TRUNCATE:
32674 6 : switch (pattern758 (x2))
32675 : {
32676 0 : case 0:
32677 0 : if (!insn_condition_2840 (operands, insn))
32678 : return NULL;
32679 0 : return gen_split_1804 (insn, operands);
32680 :
32681 0 : case 1:
32682 0 : if (!insn_condition_2840 (operands, insn))
32683 : return NULL;
32684 0 : return gen_split_1807 (insn, operands);
32685 :
32686 0 : case 2:
32687 0 : if (!insn_condition_2840 (operands, insn))
32688 : return NULL;
32689 0 : return gen_split_1810 (insn, operands);
32690 :
32691 0 : case 3:
32692 0 : if (!insn_condition_2840 (operands, insn))
32693 : return NULL;
32694 0 : return gen_split_1826 (insn, operands);
32695 :
32696 1 : case 4:
32697 1 : if (!insn_condition_2841 (operands, insn))
32698 : return NULL;
32699 1 : return gen_split_1813 (insn, operands);
32700 :
32701 1 : case 5:
32702 1 : if (!insn_condition_2840 (operands, insn))
32703 : return NULL;
32704 1 : return gen_split_1816 (insn, operands);
32705 :
32706 0 : case 6:
32707 0 : if (!insn_condition_2842 (operands, insn))
32708 : return NULL;
32709 0 : return gen_split_1833 (insn, operands);
32710 :
32711 0 : case 7:
32712 0 : if (!insn_condition_2840 (operands, insn))
32713 : return NULL;
32714 0 : return gen_split_1820 (insn, operands);
32715 :
32716 1 : case 8:
32717 1 : if (!insn_condition_2840 (operands, insn))
32718 : return NULL;
32719 1 : return gen_split_1823 (insn, operands);
32720 :
32721 0 : case 9:
32722 0 : if (!insn_condition_2840 (operands, insn))
32723 : return NULL;
32724 0 : return gen_split_1830 (insn, operands);
32725 :
32726 : default:
32727 : return NULL;
32728 : }
32729 :
32730 3 : case US_TRUNCATE:
32731 3 : switch (pattern758 (x2))
32732 : {
32733 0 : case 0:
32734 0 : if (!insn_condition_2840 (operands, insn))
32735 : return NULL;
32736 0 : return gen_split_1805 (insn, operands);
32737 :
32738 0 : case 1:
32739 0 : if (!insn_condition_2840 (operands, insn))
32740 : return NULL;
32741 0 : return gen_split_1808 (insn, operands);
32742 :
32743 0 : case 2:
32744 0 : if (!insn_condition_2840 (operands, insn))
32745 : return NULL;
32746 0 : return gen_split_1811 (insn, operands);
32747 :
32748 0 : case 3:
32749 0 : if (!insn_condition_2840 (operands, insn))
32750 : return NULL;
32751 0 : return gen_split_1827 (insn, operands);
32752 :
32753 0 : case 4:
32754 0 : if (!insn_condition_2841 (operands, insn))
32755 : return NULL;
32756 0 : return gen_split_1814 (insn, operands);
32757 :
32758 0 : case 5:
32759 0 : if (!insn_condition_2840 (operands, insn))
32760 : return NULL;
32761 0 : return gen_split_1817 (insn, operands);
32762 :
32763 0 : case 6:
32764 0 : if (!insn_condition_2842 (operands, insn))
32765 : return NULL;
32766 0 : return gen_split_1834 (insn, operands);
32767 :
32768 0 : case 7:
32769 0 : if (!insn_condition_2840 (operands, insn))
32770 : return NULL;
32771 0 : return gen_split_1821 (insn, operands);
32772 :
32773 0 : case 8:
32774 0 : if (!insn_condition_2840 (operands, insn))
32775 : return NULL;
32776 0 : return gen_split_1824 (insn, operands);
32777 :
32778 0 : case 9:
32779 0 : if (!insn_condition_2840 (operands, insn))
32780 : return NULL;
32781 0 : return gen_split_1831 (insn, operands);
32782 :
32783 : default:
32784 : return NULL;
32785 : }
32786 :
32787 : default:
32788 : return NULL;
32789 : }
32790 :
32791 : default:
32792 : return NULL;
32793 : }
32794 : }
32795 :
32796 : rtx_insn *
32797 1108 : split_62 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32798 : {
32799 1108 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32800 1108 : rtx x2, x3, x4;
32801 1108 : rtx_insn *res ATTRIBUTE_UNUSED;
32802 1108 : switch (GET_CODE (operands[4]))
32803 : {
32804 1063 : case REG:
32805 1063 : case SUBREG:
32806 1063 : case MEM:
32807 1063 : x2 = XEXP (x1, 1);
32808 1063 : switch (pattern1325 (x2))
32809 : {
32810 6 : case 0:
32811 6 : if (insn_condition_2902 (operands, insn))
32812 6 : return gen_split_1419 (insn, operands);
32813 : break;
32814 :
32815 9 : case 1:
32816 9 : if (insn_condition_2840 (operands, insn))
32817 9 : return gen_split_1420 (insn, operands);
32818 : break;
32819 :
32820 6 : case 2:
32821 6 : if (insn_condition_2902 (operands, insn))
32822 6 : return gen_split_1421 (insn, operands);
32823 : break;
32824 :
32825 6 : case 3:
32826 6 : if (insn_condition_2903 (operands, insn))
32827 6 : return gen_split_1422 (insn, operands);
32828 : break;
32829 :
32830 : default:
32831 : break;
32832 : }
32833 : break;
32834 :
32835 38 : case CONST_INT:
32836 38 : case CONST_DOUBLE:
32837 38 : case CONST_VECTOR:
32838 38 : x2 = XEXP (x1, 1);
32839 38 : x3 = XEXP (x2, 2);
32840 38 : x4 = XVECEXP (x3, 0, 2);
32841 38 : if (x4 == const_int_rtx[MAX_SAVED_CONST_INT + 1])
32842 : {
32843 0 : switch (GET_MODE (operands[0]))
32844 : {
32845 0 : case E_V32HImode:
32846 0 : if (pattern1582 (x2,
32847 : E_V32HImode,
32848 : E_SImode) == 0)
32849 : {
32850 0 : if (vector_all_ones_operand (operands[1], E_V32HImode)
32851 0 : && insn_condition_2904 (operands, insn))
32852 0 : return gen_split_1867 (insn, operands);
32853 0 : if (const1_operand (operands[1], E_V32HImode)
32854 0 : && insn_condition_1129 (operands, insn))
32855 0 : return gen_split_1886 (insn, operands);
32856 : }
32857 : break;
32858 :
32859 0 : case E_V16HImode:
32860 0 : if (pattern1582 (x2,
32861 : E_V16HImode,
32862 : E_HImode) == 0)
32863 : {
32864 0 : if (vector_all_ones_operand (operands[1], E_V16HImode)
32865 0 : && insn_condition_2905 (operands, insn))
32866 0 : return gen_split_1868 (insn, operands);
32867 0 : if (const1_operand (operands[1], E_V16HImode)
32868 0 : && insn_condition_1130 (operands, insn))
32869 0 : return gen_split_1887 (insn, operands);
32870 : }
32871 : break;
32872 :
32873 0 : case E_V8HImode:
32874 0 : if (pattern1582 (x2,
32875 : E_V8HImode,
32876 : E_QImode) == 0)
32877 : {
32878 0 : if (vector_all_ones_operand (operands[1], E_V8HImode)
32879 0 : && insn_condition_2905 (operands, insn))
32880 0 : return gen_split_1869 (insn, operands);
32881 0 : if (const1_operand (operands[1], E_V8HImode)
32882 0 : && insn_condition_1130 (operands, insn))
32883 0 : return gen_split_1888 (insn, operands);
32884 : }
32885 : break;
32886 :
32887 0 : case E_V16SImode:
32888 0 : if (pattern1582 (x2,
32889 : E_V16SImode,
32890 : E_HImode) == 0)
32891 : {
32892 0 : if (vector_all_ones_operand (operands[1], E_V16SImode)
32893 0 : && insn_condition_2842 (operands, insn))
32894 0 : return gen_split_1870 (insn, operands);
32895 0 : if (const1_operand (operands[1], E_V16SImode)
32896 0 : && insn_condition_864 (operands, insn))
32897 0 : return gen_split_1889 (insn, operands);
32898 : }
32899 : break;
32900 :
32901 0 : case E_V8SImode:
32902 0 : if (pattern1582 (x2,
32903 : E_V8SImode,
32904 : E_QImode) == 0)
32905 : {
32906 0 : if (vector_all_ones_operand (operands[1], E_V8SImode)
32907 0 : && insn_condition_2906 (operands, insn))
32908 0 : return gen_split_1871 (insn, operands);
32909 0 : if (const1_operand (operands[1], E_V8SImode)
32910 0 : && insn_condition_1131 (operands, insn))
32911 0 : return gen_split_1890 (insn, operands);
32912 : }
32913 : break;
32914 :
32915 0 : case E_V4SImode:
32916 0 : if (pattern1582 (x2,
32917 : E_V4SImode,
32918 : E_QImode) == 0)
32919 : {
32920 0 : if (vector_all_ones_operand (operands[1], E_V4SImode)
32921 0 : && insn_condition_2906 (operands, insn))
32922 0 : return gen_split_1872 (insn, operands);
32923 0 : if (const1_operand (operands[1], E_V4SImode)
32924 0 : && insn_condition_1131 (operands, insn))
32925 0 : return gen_split_1891 (insn, operands);
32926 : }
32927 : break;
32928 :
32929 0 : case E_V8DImode:
32930 0 : if (pattern1582 (x2,
32931 : E_V8DImode,
32932 : E_QImode) == 0)
32933 : {
32934 0 : if (vector_all_ones_operand (operands[1], E_V8DImode)
32935 0 : && insn_condition_2842 (operands, insn))
32936 0 : return gen_split_1873 (insn, operands);
32937 0 : if (const1_operand (operands[1], E_V8DImode)
32938 0 : && insn_condition_864 (operands, insn))
32939 0 : return gen_split_1892 (insn, operands);
32940 : }
32941 : break;
32942 :
32943 0 : case E_V4DImode:
32944 0 : if (pattern1582 (x2,
32945 : E_V4DImode,
32946 : E_QImode) == 0)
32947 : {
32948 0 : if (vector_all_ones_operand (operands[1], E_V4DImode)
32949 0 : && insn_condition_2906 (operands, insn))
32950 0 : return gen_split_1874 (insn, operands);
32951 0 : if (const1_operand (operands[1], E_V4DImode)
32952 0 : && insn_condition_1131 (operands, insn))
32953 0 : return gen_split_1893 (insn, operands);
32954 : }
32955 : break;
32956 :
32957 0 : case E_V2DImode:
32958 0 : if (pattern1582 (x2,
32959 : E_V2DImode,
32960 : E_QImode) == 0)
32961 : {
32962 0 : if (vector_all_ones_operand (operands[1], E_V2DImode)
32963 0 : && insn_condition_2906 (operands, insn))
32964 0 : return gen_split_1875 (insn, operands);
32965 0 : if (const1_operand (operands[1], E_V2DImode)
32966 0 : && insn_condition_1131 (operands, insn))
32967 0 : return gen_split_1894 (insn, operands);
32968 : }
32969 : break;
32970 :
32971 : default:
32972 : break;
32973 : }
32974 : }
32975 : break;
32976 :
32977 : default:
32978 : break;
32979 : }
32980 1081 : x2 = XEXP (x1, 1);
32981 1081 : x3 = XEXP (x2, 2);
32982 1081 : x4 = XVECEXP (x3, 0, 2);
32983 1081 : operands[5] = x4;
32984 1081 : switch (pattern1326 (x2))
32985 : {
32986 12 : case 0:
32987 12 : if (vector_all_ones_operand (operands[1], E_V16QImode)
32988 12 : && const0_operand (operands[2], E_V16QImode))
32989 : {
32990 6 : if (nonimm_or_0_operand (operands[3], E_V16QImode)
32991 6 : && nonimm_or_0_operand (operands[4], E_V16QImode)
32992 12 : && insn_condition_2907 (operands, insn))
32993 6 : return gen_split_1923 (insn, operands);
32994 0 : if (nonimmediate_operand (operands[3], E_V16QImode)
32995 0 : && nonimmediate_operand (operands[4], E_V16QImode)
32996 0 : && insn_condition_2908 (operands, insn))
32997 0 : return gen_split_1945 (insn, operands);
32998 : }
32999 6 : if (!const0_operand (operands[1], E_V16QImode)
33000 6 : || !vector_all_ones_operand (operands[2], E_V16QImode)
33001 3 : || !nonimmediate_operand (operands[3], E_V16QImode)
33002 3 : || !nonimmediate_operand (operands[4], E_V16QImode)
33003 9 : || !insn_condition_2909 (operands, insn))
33004 : return NULL;
33005 3 : return gen_split_1961 (insn, operands);
33006 :
33007 12 : case 1:
33008 12 : if (vector_all_ones_operand (operands[1], E_V8HImode)
33009 12 : && const0_operand (operands[2], E_V8HImode))
33010 : {
33011 6 : if (nonimm_or_0_operand (operands[3], E_V8HImode)
33012 6 : && nonimm_or_0_operand (operands[4], E_V8HImode)
33013 12 : && insn_condition_2907 (operands, insn))
33014 6 : return gen_split_1924 (insn, operands);
33015 0 : if (nonimmediate_operand (operands[3], E_V8HImode)
33016 0 : && nonimmediate_operand (operands[4], E_V8HImode)
33017 0 : && insn_condition_2908 (operands, insn))
33018 0 : return gen_split_1947 (insn, operands);
33019 : }
33020 6 : if (!const0_operand (operands[1], E_V8HImode)
33021 6 : || !vector_all_ones_operand (operands[2], E_V8HImode)
33022 3 : || !nonimmediate_operand (operands[3], E_V8HImode)
33023 3 : || !nonimmediate_operand (operands[4], E_V8HImode)
33024 9 : || !insn_condition_2909 (operands, insn))
33025 : return NULL;
33026 3 : return gen_split_1962 (insn, operands);
33027 :
33028 289 : case 2:
33029 289 : if (vector_all_ones_operand (operands[1], E_V4SImode)
33030 289 : && const0_operand (operands[2], E_V4SImode))
33031 : {
33032 9 : if (nonimm_or_0_operand (operands[3], E_V4SImode)
33033 8 : && nonimm_or_0_operand (operands[4], E_V4SImode)
33034 17 : && insn_condition_2907 (operands, insn))
33035 8 : return gen_split_1925 (insn, operands);
33036 1 : if (nonimmediate_operand (operands[3], E_V4SImode)
33037 0 : && nonimmediate_operand (operands[4], E_V4SImode)
33038 1 : && insn_condition_2908 (operands, insn))
33039 0 : return gen_split_1949 (insn, operands);
33040 : }
33041 281 : if (!const0_operand (operands[1], E_V4SImode)
33042 10 : || !vector_all_ones_operand (operands[2], E_V4SImode)
33043 3 : || !nonimmediate_operand (operands[3], E_V4SImode)
33044 3 : || !nonimmediate_operand (operands[4], E_V4SImode)
33045 284 : || !insn_condition_2909 (operands, insn))
33046 : return NULL;
33047 3 : return gen_split_1963 (insn, operands);
33048 :
33049 12 : case 3:
33050 12 : if (vector_all_ones_operand (operands[1], E_V2DImode)
33051 12 : && const0_operand (operands[2], E_V2DImode))
33052 : {
33053 6 : if (nonimm_or_0_operand (operands[3], E_V2DImode)
33054 6 : && nonimm_or_0_operand (operands[4], E_V2DImode)
33055 12 : && insn_condition_2907 (operands, insn))
33056 6 : return gen_split_1926 (insn, operands);
33057 0 : if (nonimmediate_operand (operands[3], E_V2DImode)
33058 0 : && nonimmediate_operand (operands[4], E_V2DImode)
33059 0 : && insn_condition_2908 (operands, insn))
33060 0 : return gen_split_1951 (insn, operands);
33061 : }
33062 6 : if (!const0_operand (operands[1], E_V2DImode)
33063 6 : || !vector_all_ones_operand (operands[2], E_V2DImode)
33064 3 : || !nonimmediate_operand (operands[3], E_V2DImode)
33065 3 : || !nonimmediate_operand (operands[4], E_V2DImode)
33066 9 : || !insn_condition_2909 (operands, insn))
33067 : return NULL;
33068 3 : return gen_split_1964 (insn, operands);
33069 :
33070 17 : case 4:
33071 17 : if (vector_all_ones_operand (operands[1], E_V32QImode)
33072 17 : && const0_operand (operands[2], E_V32QImode))
33073 : {
33074 11 : if (nonimm_or_0_operand (operands[3], E_V32QImode)
33075 11 : && nonimm_or_0_operand (operands[4], E_V32QImode)
33076 22 : && insn_condition_2907 (operands, insn))
33077 7 : return gen_split_1927 (insn, operands);
33078 4 : if (nonimmediate_operand (operands[3], E_V32QImode)
33079 4 : && nonimmediate_operand (operands[4], E_V32QImode)
33080 8 : && insn_condition_2908 (operands, insn))
33081 4 : return gen_split_1953 (insn, operands);
33082 : }
33083 6 : if (!const0_operand (operands[1], E_V32QImode)
33084 6 : || !vector_all_ones_operand (operands[2], E_V32QImode)
33085 3 : || !nonimmediate_operand (operands[3], E_V32QImode)
33086 3 : || !nonimmediate_operand (operands[4], E_V32QImode)
33087 9 : || !insn_condition_2909 (operands, insn))
33088 : return NULL;
33089 3 : return gen_split_1965 (insn, operands);
33090 :
33091 15 : case 5:
33092 15 : if (vector_all_ones_operand (operands[1], E_V16HImode)
33093 15 : && const0_operand (operands[2], E_V16HImode))
33094 : {
33095 9 : if (nonimm_or_0_operand (operands[3], E_V16HImode)
33096 9 : && nonimm_or_0_operand (operands[4], E_V16HImode)
33097 18 : && insn_condition_2907 (operands, insn))
33098 5 : return gen_split_1928 (insn, operands);
33099 4 : if (nonimmediate_operand (operands[3], E_V16HImode)
33100 4 : && nonimmediate_operand (operands[4], E_V16HImode)
33101 8 : && insn_condition_2908 (operands, insn))
33102 4 : return gen_split_1955 (insn, operands);
33103 : }
33104 6 : if (!const0_operand (operands[1], E_V16HImode)
33105 6 : || !vector_all_ones_operand (operands[2], E_V16HImode)
33106 3 : || !nonimmediate_operand (operands[3], E_V16HImode)
33107 3 : || !nonimmediate_operand (operands[4], E_V16HImode)
33108 9 : || !insn_condition_2909 (operands, insn))
33109 : return NULL;
33110 3 : return gen_split_1966 (insn, operands);
33111 :
33112 276 : case 6:
33113 276 : if (vector_all_ones_operand (operands[1], E_V8SImode)
33114 276 : && const0_operand (operands[2], E_V8SImode))
33115 : {
33116 15 : if (nonimm_or_0_operand (operands[3], E_V8SImode)
33117 13 : && nonimm_or_0_operand (operands[4], E_V8SImode)
33118 28 : && insn_condition_2907 (operands, insn))
33119 7 : return gen_split_1929 (insn, operands);
33120 8 : if (nonimmediate_operand (operands[3], E_V8SImode)
33121 6 : && nonimmediate_operand (operands[4], E_V8SImode)
33122 13 : && insn_condition_2908 (operands, insn))
33123 4 : return gen_split_1957 (insn, operands);
33124 : }
33125 265 : if (!const0_operand (operands[1], E_V8SImode)
33126 7 : || !vector_all_ones_operand (operands[2], E_V8SImode)
33127 3 : || !nonimmediate_operand (operands[3], E_V8SImode)
33128 3 : || !nonimmediate_operand (operands[4], E_V8SImode)
33129 268 : || !insn_condition_2909 (operands, insn))
33130 : return NULL;
33131 3 : return gen_split_1967 (insn, operands);
33132 :
33133 15 : case 7:
33134 15 : if (vector_all_ones_operand (operands[1], E_V4DImode)
33135 15 : && const0_operand (operands[2], E_V4DImode))
33136 : {
33137 9 : if (nonimm_or_0_operand (operands[3], E_V4DImode)
33138 9 : && nonimm_or_0_operand (operands[4], E_V4DImode)
33139 18 : && insn_condition_2907 (operands, insn))
33140 5 : return gen_split_1930 (insn, operands);
33141 4 : if (nonimmediate_operand (operands[3], E_V4DImode)
33142 4 : && nonimmediate_operand (operands[4], E_V4DImode)
33143 8 : && insn_condition_2908 (operands, insn))
33144 4 : return gen_split_1959 (insn, operands);
33145 : }
33146 6 : if (!const0_operand (operands[1], E_V4DImode)
33147 6 : || !vector_all_ones_operand (operands[2], E_V4DImode)
33148 3 : || !nonimmediate_operand (operands[3], E_V4DImode)
33149 3 : || !nonimmediate_operand (operands[4], E_V4DImode)
33150 9 : || !insn_condition_2909 (operands, insn))
33151 : return NULL;
33152 3 : return gen_split_1968 (insn, operands);
33153 :
33154 : default:
33155 : return NULL;
33156 : }
33157 : }
33158 :
33159 : rtx_insn *
33160 1985288 : split_72 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33161 : {
33162 1985288 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33163 1985288 : rtx x2, x3, x4, x5, x6, x7;
33164 1985288 : rtx_insn *res ATTRIBUTE_UNUSED;
33165 1985288 : x2 = XEXP (x1, 1);
33166 1985288 : switch (XVECLEN (x2, 0))
33167 : {
33168 1651398 : case 1:
33169 1651398 : if (XINT (x2, 1) != 176)
33170 : return NULL;
33171 8 : switch (pattern355 (x2))
33172 : {
33173 2 : case 0:
33174 2 : if (!insn_condition_2954 (operands, insn))
33175 : return NULL;
33176 2 : return gen_split_1245 (insn, operands);
33177 :
33178 2 : case 1:
33179 2 : if (!insn_condition_2955 (operands, insn))
33180 : return NULL;
33181 2 : return gen_split_1246 (insn, operands);
33182 :
33183 2 : case 2:
33184 2 : if (!insn_condition_2955 (operands, insn))
33185 : return NULL;
33186 2 : return gen_split_1247 (insn, operands);
33187 :
33188 0 : case 3:
33189 0 : if (!insn_condition_2954 (operands, insn))
33190 : return NULL;
33191 0 : return gen_split_1248 (insn, operands);
33192 :
33193 0 : case 4:
33194 0 : if (!insn_condition_2955 (operands, insn))
33195 : return NULL;
33196 0 : return gen_split_1249 (insn, operands);
33197 :
33198 0 : case 5:
33199 0 : if (!insn_condition_2955 (operands, insn))
33200 : return NULL;
33201 0 : return gen_split_1250 (insn, operands);
33202 :
33203 0 : case 6:
33204 0 : if (!insn_condition_2954 (operands, insn))
33205 : return NULL;
33206 0 : return gen_split_1251 (insn, operands);
33207 :
33208 0 : case 7:
33209 0 : if (!insn_condition_2955 (operands, insn))
33210 : return NULL;
33211 0 : return gen_split_1252 (insn, operands);
33212 :
33213 0 : case 8:
33214 0 : if (!insn_condition_2955 (operands, insn))
33215 : return NULL;
33216 0 : return gen_split_1253 (insn, operands);
33217 :
33218 2 : case 9:
33219 2 : if (!insn_condition_2954 (operands, insn))
33220 : return NULL;
33221 2 : return gen_split_1254 (insn, operands);
33222 :
33223 0 : case 10:
33224 0 : if (!insn_condition_2955 (operands, insn))
33225 : return NULL;
33226 0 : return gen_split_1255 (insn, operands);
33227 :
33228 0 : case 11:
33229 0 : if (!insn_condition_2955 (operands, insn))
33230 : return NULL;
33231 0 : return gen_split_1256 (insn, operands);
33232 :
33233 0 : case 12:
33234 0 : if (!insn_condition_2956 (operands, insn))
33235 : return NULL;
33236 0 : return gen_split_1263 (insn, operands);
33237 :
33238 0 : case 13:
33239 0 : if (!insn_condition_2957 (operands, insn))
33240 : return NULL;
33241 0 : return gen_split_1264 (insn, operands);
33242 :
33243 0 : case 14:
33244 0 : if (!insn_condition_2957 (operands, insn))
33245 : return NULL;
33246 0 : return gen_split_1265 (insn, operands);
33247 :
33248 0 : case 15:
33249 0 : if (!insn_condition_2956 (operands, insn))
33250 : return NULL;
33251 0 : return gen_split_1266 (insn, operands);
33252 :
33253 0 : case 16:
33254 0 : if (!insn_condition_2957 (operands, insn))
33255 : return NULL;
33256 0 : return gen_split_1267 (insn, operands);
33257 :
33258 0 : case 17:
33259 0 : if (!insn_condition_2957 (operands, insn))
33260 : return NULL;
33261 0 : return gen_split_1268 (insn, operands);
33262 :
33263 0 : case 18:
33264 0 : if (!insn_condition_2956 (operands, insn))
33265 : return NULL;
33266 0 : return gen_split_1269 (insn, operands);
33267 :
33268 0 : case 19:
33269 0 : if (!insn_condition_2957 (operands, insn))
33270 : return NULL;
33271 0 : return gen_split_1270 (insn, operands);
33272 :
33273 0 : case 20:
33274 0 : if (!insn_condition_2957 (operands, insn))
33275 : return NULL;
33276 0 : return gen_split_1271 (insn, operands);
33277 :
33278 0 : case 21:
33279 0 : if (!insn_condition_2956 (operands, insn))
33280 : return NULL;
33281 0 : return gen_split_1272 (insn, operands);
33282 :
33283 0 : case 22:
33284 0 : if (!insn_condition_2957 (operands, insn))
33285 : return NULL;
33286 0 : return gen_split_1273 (insn, operands);
33287 :
33288 0 : case 23:
33289 0 : if (!insn_condition_2957 (operands, insn))
33290 : return NULL;
33291 0 : return gen_split_1274 (insn, operands);
33292 :
33293 : default:
33294 : return NULL;
33295 : }
33296 :
33297 98474 : case 3:
33298 98474 : switch (XINT (x2, 1))
33299 : {
33300 12706 : case 48:
33301 12706 : x3 = XVECEXP (x2, 0, 2);
33302 12706 : switch (GET_CODE (x3))
33303 : {
33304 742 : case LT:
33305 742 : x4 = XVECEXP (x2, 0, 0);
33306 742 : operands[1] = x4;
33307 742 : switch (pattern696 (x2))
33308 : {
33309 40 : case 0:
33310 40 : if (insn_condition_2958 (operands, insn))
33311 24 : return gen_split_1391 (insn, operands);
33312 : break;
33313 :
33314 217 : case 1:
33315 217 : if (insn_condition_2959 (operands, insn))
33316 185 : return gen_split_1392 (insn, operands);
33317 : break;
33318 :
33319 46 : case 2:
33320 46 : if (insn_condition_2958 (operands, insn))
33321 14 : return gen_split_1393 (insn, operands);
33322 : break;
33323 :
33324 39 : case 3:
33325 39 : if (insn_condition_2960 (operands, insn))
33326 37 : return gen_split_1394 (insn, operands);
33327 : break;
33328 :
33329 32 : case 4:
33330 32 : if (insn_condition_2961 (operands, insn))
33331 16 : return gen_split_2125 (insn, operands);
33332 : break;
33333 :
33334 42 : case 5:
33335 42 : if (insn_condition_2962 (operands, insn))
33336 21 : return gen_split_2126 (insn, operands);
33337 : break;
33338 :
33339 38 : case 6:
33340 38 : if (insn_condition_2961 (operands, insn))
33341 19 : return gen_split_2127 (insn, operands);
33342 : break;
33343 :
33344 46 : case 7:
33345 46 : if (insn_condition_2963 (operands, insn))
33346 23 : return gen_split_2128 (insn, operands);
33347 : break;
33348 :
33349 27 : case 8:
33350 27 : if (insn_condition_2964 (operands, insn))
33351 27 : return gen_split_2153 (insn, operands);
33352 : break;
33353 :
33354 48 : case 9:
33355 48 : if (insn_condition_2965 (operands, insn))
33356 48 : return gen_split_2154 (insn, operands);
33357 : break;
33358 :
33359 : default:
33360 : break;
33361 : }
33362 328 : x5 = XEXP (x3, 0);
33363 328 : if (GET_CODE (x5) != SUBREG)
33364 : return NULL;
33365 48 : switch (pattern698 (x2))
33366 : {
33367 1 : case 0:
33368 1 : if (!insn_condition_2966 (operands, insn))
33369 : return NULL;
33370 1 : return gen_split_2157 (insn, operands);
33371 :
33372 1 : case 1:
33373 1 : if (!insn_condition_2967 (operands, insn))
33374 : return NULL;
33375 1 : return gen_split_2158 (insn, operands);
33376 :
33377 : default:
33378 : return NULL;
33379 : }
33380 :
33381 131 : case GT:
33382 131 : x4 = XVECEXP (x2, 0, 0);
33383 131 : operands[1] = x4;
33384 131 : switch (pattern701 (x2))
33385 : {
33386 0 : case 0:
33387 0 : if (insn_condition_2961 (operands, insn))
33388 0 : return gen_split_2129 (insn, operands);
33389 : break;
33390 :
33391 0 : case 1:
33392 0 : if (insn_condition_2962 (operands, insn))
33393 0 : return gen_split_2130 (insn, operands);
33394 : break;
33395 :
33396 0 : case 2:
33397 0 : if (insn_condition_2961 (operands, insn))
33398 0 : return gen_split_2131 (insn, operands);
33399 : break;
33400 :
33401 0 : case 3:
33402 0 : if (insn_condition_2963 (operands, insn))
33403 0 : return gen_split_2132 (insn, operands);
33404 : break;
33405 :
33406 0 : case 4:
33407 0 : if (insn_condition_2964 (operands, insn))
33408 0 : return gen_split_2155 (insn, operands);
33409 : break;
33410 :
33411 0 : case 5:
33412 0 : if (insn_condition_2965 (operands, insn))
33413 0 : return gen_split_2156 (insn, operands);
33414 : break;
33415 :
33416 : default:
33417 : break;
33418 : }
33419 131 : x5 = XEXP (x3, 0);
33420 131 : if (GET_CODE (x5) != SUBREG)
33421 : return NULL;
33422 6 : switch (pattern703 (x2))
33423 : {
33424 0 : case 0:
33425 0 : if (!insn_condition_2966 (operands, insn))
33426 : return NULL;
33427 0 : return gen_split_2159 (insn, operands);
33428 :
33429 0 : case 1:
33430 0 : if (!insn_condition_2967 (operands, insn))
33431 : return NULL;
33432 0 : return gen_split_2160 (insn, operands);
33433 :
33434 : default:
33435 : return NULL;
33436 : }
33437 :
33438 5524 : case SUBREG:
33439 5524 : if (maybe_ne (SUBREG_BYTE (x3), 0))
33440 : return NULL;
33441 5524 : x4 = XVECEXP (x2, 0, 0);
33442 5524 : operands[1] = x4;
33443 5524 : x6 = XVECEXP (x2, 0, 1);
33444 5524 : operands[2] = x6;
33445 5524 : x5 = XEXP (x3, 0);
33446 5524 : switch (GET_CODE (x5))
33447 : {
33448 254 : case LT:
33449 254 : x7 = XEXP (x5, 0);
33450 254 : operands[3] = x7;
33451 254 : switch (pattern1262 (x2))
33452 : {
33453 50 : case 0:
33454 50 : if (insn_condition_2962 (operands, insn))
33455 25 : return gen_split_2133 (insn, operands);
33456 : break;
33457 :
33458 32 : case 1:
33459 32 : if (insn_condition_2962 (operands, insn))
33460 16 : return gen_split_2134 (insn, operands);
33461 : break;
33462 :
33463 18 : case 2:
33464 18 : if (insn_condition_2961 (operands, insn))
33465 9 : return gen_split_2135 (insn, operands);
33466 : break;
33467 :
33468 24 : case 3:
33469 24 : if (insn_condition_2961 (operands, insn))
33470 12 : return gen_split_2136 (insn, operands);
33471 : break;
33472 :
33473 : default:
33474 : break;
33475 : }
33476 192 : if (GET_CODE (x7) != SUBREG)
33477 : return NULL;
33478 18 : switch (pattern1263 (x2))
33479 : {
33480 6 : case 0:
33481 6 : if (!insn_condition_2968 (operands, insn))
33482 : return NULL;
33483 6 : return gen_split_2141 (insn, operands);
33484 :
33485 0 : case 1:
33486 0 : if (!insn_condition_2968 (operands, insn))
33487 : return NULL;
33488 0 : return gen_split_2142 (insn, operands);
33489 :
33490 0 : case 2:
33491 0 : if (!insn_condition_2969 (operands, insn))
33492 : return NULL;
33493 0 : return gen_split_2143 (insn, operands);
33494 :
33495 0 : case 3:
33496 0 : if (!insn_condition_2969 (operands, insn))
33497 : return NULL;
33498 0 : return gen_split_2144 (insn, operands);
33499 :
33500 : default:
33501 : return NULL;
33502 : }
33503 :
33504 617 : case GT:
33505 617 : x7 = XEXP (x5, 0);
33506 617 : operands[3] = x7;
33507 617 : switch (pattern1264 (x2))
33508 : {
33509 0 : case 0:
33510 0 : if (insn_condition_2962 (operands, insn))
33511 0 : return gen_split_2137 (insn, operands);
33512 : break;
33513 :
33514 0 : case 1:
33515 0 : if (insn_condition_2962 (operands, insn))
33516 0 : return gen_split_2138 (insn, operands);
33517 : break;
33518 :
33519 0 : case 2:
33520 0 : if (insn_condition_2961 (operands, insn))
33521 0 : return gen_split_2139 (insn, operands);
33522 : break;
33523 :
33524 0 : case 3:
33525 0 : if (insn_condition_2961 (operands, insn))
33526 0 : return gen_split_2140 (insn, operands);
33527 : break;
33528 :
33529 : default:
33530 : break;
33531 : }
33532 617 : if (GET_CODE (x7) != SUBREG)
33533 : return NULL;
33534 8 : switch (pattern1265 (x2))
33535 : {
33536 0 : case 0:
33537 0 : if (!insn_condition_2968 (operands, insn))
33538 : return NULL;
33539 0 : return gen_split_2145 (insn, operands);
33540 :
33541 0 : case 1:
33542 0 : if (!insn_condition_2968 (operands, insn))
33543 : return NULL;
33544 0 : return gen_split_2146 (insn, operands);
33545 :
33546 0 : case 2:
33547 0 : if (!insn_condition_2969 (operands, insn))
33548 : return NULL;
33549 0 : return gen_split_2147 (insn, operands);
33550 :
33551 0 : case 3:
33552 0 : if (!insn_condition_2969 (operands, insn))
33553 : return NULL;
33554 0 : return gen_split_2148 (insn, operands);
33555 :
33556 : default:
33557 : return NULL;
33558 : }
33559 :
33560 0 : case NOT:
33561 0 : x7 = XEXP (x5, 0);
33562 0 : operands[3] = x7;
33563 0 : if (!register_operand (operands[3], E_VOIDmode))
33564 : return NULL;
33565 0 : switch (GET_MODE (operands[0]))
33566 : {
33567 0 : case E_V32QImode:
33568 0 : if (pattern1487 (x2,
33569 : E_V32QImode) != 0
33570 0 : || !insn_condition_2970 (operands, insn))
33571 : return NULL;
33572 0 : return gen_split_2151 (insn, operands);
33573 :
33574 0 : case E_V16QImode:
33575 0 : if (pattern1487 (x2,
33576 : E_V16QImode) != 0
33577 0 : || !insn_condition_2971 (operands, insn))
33578 : return NULL;
33579 0 : return gen_split_2152 (insn, operands);
33580 :
33581 : default:
33582 : return NULL;
33583 : }
33584 :
33585 : default:
33586 : return NULL;
33587 : }
33588 :
33589 1 : case NOT:
33590 1 : x4 = XVECEXP (x2, 0, 0);
33591 1 : operands[1] = x4;
33592 1 : x6 = XVECEXP (x2, 0, 1);
33593 1 : operands[2] = x6;
33594 1 : x5 = XEXP (x3, 0);
33595 1 : operands[3] = x5;
33596 1 : switch (GET_MODE (operands[0]))
33597 : {
33598 0 : case E_V32QImode:
33599 0 : if (pattern1224 (x2,
33600 : E_V32QImode) != 0
33601 0 : || !insn_condition_1555 (operands, insn))
33602 : return NULL;
33603 0 : return gen_split_2149 (insn, operands);
33604 :
33605 1 : case E_V16QImode:
33606 1 : if (pattern1224 (x2,
33607 : E_V16QImode) != 0
33608 1 : || !insn_condition_92 (operands, insn))
33609 : return NULL;
33610 0 : return gen_split_2150 (insn, operands);
33611 :
33612 : default:
33613 : return NULL;
33614 : }
33615 :
33616 : default:
33617 : return NULL;
33618 : }
33619 :
33620 104 : case 216:
33621 104 : switch (pattern623 (x2))
33622 : {
33623 1 : case 0:
33624 1 : if (!insn_condition_2972 (operands, insn))
33625 : return NULL;
33626 1 : return gen_split_1639 (insn, operands);
33627 :
33628 1 : case 1:
33629 1 : if (!insn_condition_2973 (operands, insn))
33630 : return NULL;
33631 1 : return gen_split_1640 (insn, operands);
33632 :
33633 1 : case 2:
33634 1 : if (!insn_condition_2973 (operands, insn))
33635 : return NULL;
33636 1 : return gen_split_1641 (insn, operands);
33637 :
33638 : default:
33639 : return NULL;
33640 : }
33641 :
33642 101 : case 218:
33643 101 : switch (pattern623 (x2))
33644 : {
33645 1 : case 0:
33646 1 : if (!insn_condition_2972 (operands, insn))
33647 : return NULL;
33648 1 : return gen_split_1642 (insn, operands);
33649 :
33650 1 : case 1:
33651 1 : if (!insn_condition_2973 (operands, insn))
33652 : return NULL;
33653 1 : return gen_split_1643 (insn, operands);
33654 :
33655 1 : case 2:
33656 1 : if (!insn_condition_2973 (operands, insn))
33657 : return NULL;
33658 1 : return gen_split_1644 (insn, operands);
33659 :
33660 : default:
33661 : return NULL;
33662 : }
33663 :
33664 5945 : case 154:
33665 5945 : x4 = XVECEXP (x2, 0, 0);
33666 5945 : if (GET_CODE (x4) != CONST_VECTOR)
33667 : return NULL;
33668 2 : switch (pattern527 (x2))
33669 : {
33670 1 : case 0:
33671 1 : if (!insn_condition_2974 (operands, insn))
33672 : return NULL;
33673 1 : return gen_split_2052 (insn, operands);
33674 :
33675 0 : case 1:
33676 0 : if (!insn_condition_2975 (operands, insn))
33677 : return NULL;
33678 0 : return gen_split_2053 (insn, operands);
33679 :
33680 : default:
33681 : return NULL;
33682 : }
33683 :
33684 3985 : case 44:
33685 3985 : x4 = XVECEXP (x2, 0, 0);
33686 3985 : operands[1] = x4;
33687 3985 : x3 = XVECEXP (x2, 0, 2);
33688 3985 : operands[2] = x3;
33689 3985 : switch (pattern826 (x2))
33690 : {
33691 0 : case 0:
33692 0 : if (!insn_condition_2976 (operands, insn))
33693 : return NULL;
33694 0 : return gen_split_2412 (insn, operands);
33695 :
33696 0 : case 1:
33697 0 : if (!insn_condition_2977 (operands, insn))
33698 : return NULL;
33699 0 : return gen_split_2413 (insn, operands);
33700 :
33701 0 : case 2:
33702 0 : if (!insn_condition_2842 (operands, insn))
33703 : return NULL;
33704 0 : return gen_split_2414 (insn, operands);
33705 :
33706 0 : case 3:
33707 0 : if (!insn_condition_2976 (operands, insn))
33708 : return NULL;
33709 0 : return gen_split_2415 (insn, operands);
33710 :
33711 0 : case 4:
33712 0 : if (!insn_condition_2977 (operands, insn))
33713 : return NULL;
33714 0 : return gen_split_2416 (insn, operands);
33715 :
33716 0 : case 5:
33717 0 : if (!insn_condition_2842 (operands, insn))
33718 : return NULL;
33719 0 : return gen_split_2417 (insn, operands);
33720 :
33721 0 : case 6:
33722 0 : if (!insn_condition_2976 (operands, insn))
33723 : return NULL;
33724 0 : return gen_split_2418 (insn, operands);
33725 :
33726 0 : case 7:
33727 0 : if (!insn_condition_2977 (operands, insn))
33728 : return NULL;
33729 0 : return gen_split_2419 (insn, operands);
33730 :
33731 0 : case 8:
33732 0 : if (!insn_condition_2842 (operands, insn))
33733 : return NULL;
33734 0 : return gen_split_2420 (insn, operands);
33735 :
33736 0 : case 9:
33737 0 : if (!insn_condition_2976 (operands, insn))
33738 : return NULL;
33739 0 : return gen_split_2421 (insn, operands);
33740 :
33741 0 : case 10:
33742 0 : if (!insn_condition_2977 (operands, insn))
33743 : return NULL;
33744 0 : return gen_split_2422 (insn, operands);
33745 :
33746 0 : case 11:
33747 0 : if (!insn_condition_2842 (operands, insn))
33748 : return NULL;
33749 0 : return gen_split_2423 (insn, operands);
33750 :
33751 0 : case 12:
33752 0 : if (!insn_condition_2976 (operands, insn))
33753 : return NULL;
33754 0 : return gen_split_2424 (insn, operands);
33755 :
33756 0 : case 13:
33757 0 : if (!insn_condition_2977 (operands, insn))
33758 : return NULL;
33759 0 : return gen_split_2425 (insn, operands);
33760 :
33761 0 : case 14:
33762 0 : if (!insn_condition_2842 (operands, insn))
33763 : return NULL;
33764 0 : return gen_split_2426 (insn, operands);
33765 :
33766 0 : case 15:
33767 0 : if (!insn_condition_2976 (operands, insn))
33768 : return NULL;
33769 0 : return gen_split_2427 (insn, operands);
33770 :
33771 0 : case 16:
33772 0 : if (!insn_condition_2977 (operands, insn))
33773 : return NULL;
33774 0 : return gen_split_2428 (insn, operands);
33775 :
33776 0 : case 17:
33777 0 : if (!insn_condition_2842 (operands, insn))
33778 : return NULL;
33779 0 : return gen_split_2429 (insn, operands);
33780 :
33781 0 : case 18:
33782 0 : if (!insn_condition_2976 (operands, insn))
33783 : return NULL;
33784 0 : return gen_split_2430 (insn, operands);
33785 :
33786 0 : case 19:
33787 0 : if (!insn_condition_2977 (operands, insn))
33788 : return NULL;
33789 0 : return gen_split_2431 (insn, operands);
33790 :
33791 0 : case 20:
33792 0 : if (!insn_condition_2842 (operands, insn))
33793 : return NULL;
33794 0 : return gen_split_2432 (insn, operands);
33795 :
33796 1 : case 21:
33797 1 : if (!insn_condition_2976 (operands, insn))
33798 : return NULL;
33799 1 : return gen_split_2433 (insn, operands);
33800 :
33801 0 : case 22:
33802 0 : if (!insn_condition_2977 (operands, insn))
33803 : return NULL;
33804 0 : return gen_split_2434 (insn, operands);
33805 :
33806 0 : case 23:
33807 0 : if (!insn_condition_2978 (operands, insn))
33808 : return NULL;
33809 0 : return gen_split_2435 (insn, operands);
33810 :
33811 : default:
33812 : return NULL;
33813 : }
33814 :
33815 2800 : case 170:
33816 2800 : x4 = XVECEXP (x2, 0, 0);
33817 2800 : operands[1] = x4;
33818 2800 : x6 = XVECEXP (x2, 0, 1);
33819 2800 : operands[2] = x6;
33820 2800 : x3 = XVECEXP (x2, 0, 2);
33821 2800 : operands[3] = x3;
33822 2800 : switch (pattern957 (x2))
33823 : {
33824 18 : case 0:
33825 18 : if (!insn_condition_2979 (operands, insn))
33826 : return NULL;
33827 18 : return gen_split_2463 (insn, operands);
33828 :
33829 18 : case 1:
33830 18 : if (!insn_condition_2980 (operands, insn))
33831 : return NULL;
33832 18 : return gen_split_2464 (insn, operands);
33833 :
33834 18 : case 2:
33835 18 : if (!insn_condition_2981 (operands, insn))
33836 : return NULL;
33837 18 : return gen_split_2465 (insn, operands);
33838 :
33839 19 : case 3:
33840 19 : if (!insn_condition_2982 (operands, insn))
33841 : return NULL;
33842 19 : return gen_split_2466 (insn, operands);
33843 :
33844 18 : case 4:
33845 18 : if (!insn_condition_2983 (operands, insn))
33846 : return NULL;
33847 18 : return gen_split_2467 (insn, operands);
33848 :
33849 18 : case 5:
33850 18 : if (!insn_condition_2984 (operands, insn))
33851 : return NULL;
33852 18 : return gen_split_2468 (insn, operands);
33853 :
33854 18 : case 6:
33855 18 : if (!insn_condition_2985 (operands, insn))
33856 : return NULL;
33857 18 : return gen_split_2469 (insn, operands);
33858 :
33859 18 : case 7:
33860 18 : if (!insn_condition_2986 (operands, insn))
33861 : return NULL;
33862 18 : return gen_split_2470 (insn, operands);
33863 :
33864 18 : case 8:
33865 18 : if (!insn_condition_2987 (operands, insn))
33866 : return NULL;
33867 18 : return gen_split_2471 (insn, operands);
33868 :
33869 18 : case 9:
33870 18 : if (!insn_condition_2988 (operands, insn))
33871 : return NULL;
33872 18 : return gen_split_2472 (insn, operands);
33873 :
33874 18 : case 10:
33875 18 : if (!insn_condition_2989 (operands, insn))
33876 : return NULL;
33877 18 : return gen_split_2473 (insn, operands);
33878 :
33879 18 : case 11:
33880 18 : if (!insn_condition_2990 (operands, insn))
33881 : return NULL;
33882 18 : return gen_split_2474 (insn, operands);
33883 :
33884 14 : case 12:
33885 14 : if (!insn_condition_2991 (operands, insn))
33886 : return NULL;
33887 14 : return gen_split_2475 (insn, operands);
33888 :
33889 18 : case 13:
33890 18 : if (!insn_condition_2992 (operands, insn))
33891 : return NULL;
33892 18 : return gen_split_2476 (insn, operands);
33893 :
33894 18 : case 14:
33895 18 : if (!insn_condition_2993 (operands, insn))
33896 : return NULL;
33897 18 : return gen_split_2477 (insn, operands);
33898 :
33899 18 : case 15:
33900 18 : if (!insn_condition_2994 (operands, insn))
33901 : return NULL;
33902 18 : return gen_split_2478 (insn, operands);
33903 :
33904 18 : case 16:
33905 18 : if (!insn_condition_2995 (operands, insn))
33906 : return NULL;
33907 18 : return gen_split_2479 (insn, operands);
33908 :
33909 18 : case 17:
33910 18 : if (!insn_condition_2996 (operands, insn))
33911 : return NULL;
33912 18 : return gen_split_2480 (insn, operands);
33913 :
33914 : default:
33915 : return NULL;
33916 : }
33917 :
33918 : default:
33919 : return NULL;
33920 : }
33921 :
33922 7818 : case 4:
33923 7818 : return split_60 (x1, insn);
33924 :
33925 : default:
33926 : return NULL;
33927 : }
33928 : }
33929 :
33930 : rtx_insn *
33931 9601690 : peephole2_8 (rtx x1 ATTRIBUTE_UNUSED,
33932 : rtx_insn *insn ATTRIBUTE_UNUSED,
33933 : int *pmatch_len_ ATTRIBUTE_UNUSED)
33934 : {
33935 9601690 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33936 9601690 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
33937 9601690 : rtx_insn *res ATTRIBUTE_UNUSED;
33938 9601690 : x2 = XEXP (x1, 1);
33939 9601690 : operands[1] = x2;
33940 9601690 : x3 = XEXP (x1, 0);
33941 9601690 : operands[0] = x3;
33942 9601690 : switch (GET_CODE (operands[0]))
33943 : {
33944 9195866 : case REG:
33945 9195866 : case SUBREG:
33946 9195866 : if (peep2_current_count < 2
33947 9195866 : || peep2_current_count < 3)
33948 : return NULL;
33949 7189413 : x4 = PATTERN (peep2_next_insn (1));
33950 7189413 : if (GET_CODE (x4) != PARALLEL
33951 537020 : || XVECLEN (x4, 0) != 2)
33952 : return NULL;
33953 527631 : x5 = XVECEXP (x4, 0, 0);
33954 527631 : if (GET_CODE (x5) != SET)
33955 : return NULL;
33956 525880 : x6 = PATTERN (peep2_next_insn (2));
33957 525880 : if (GET_CODE (x6) != SET)
33958 : return NULL;
33959 386772 : switch (GET_MODE (operands[0]))
33960 : {
33961 24157 : case E_QImode:
33962 24157 : if (!memory_operand (operands[1], E_QImode))
33963 : return NULL;
33964 24131 : if (general_reg_operand (operands[0], E_QImode))
33965 : {
33966 24121 : switch (pattern1549 (x4,
33967 : E_QImode))
33968 : {
33969 0 : case 0:
33970 0 : if (insn_condition_3130 (operands, insn))
33971 : {
33972 0 : *pmatch_len_ = 2;
33973 0 : res = gen_peephole2_80 (insn, operands);
33974 0 : if (res != NULL_RTX)
33975 : return res;
33976 : }
33977 : break;
33978 :
33979 0 : case 1:
33980 0 : if (insn_condition_3131 (operands, insn))
33981 : {
33982 0 : *pmatch_len_ = 2;
33983 0 : res = gen_peephole2_84 (insn, operands);
33984 0 : if (res != NULL_RTX)
33985 : return res;
33986 : }
33987 : break;
33988 :
33989 0 : case 2:
33990 0 : if (insn_condition_3130 (operands, insn))
33991 : {
33992 0 : *pmatch_len_ = 2;
33993 0 : res = gen_peephole2_130 (insn, operands);
33994 0 : if (res != NULL_RTX)
33995 : return res;
33996 : }
33997 : break;
33998 :
33999 0 : case 3:
34000 0 : if (insn_condition_3130 (operands, insn))
34001 : {
34002 0 : *pmatch_len_ = 2;
34003 0 : res = gen_peephole2_92 (insn, operands);
34004 0 : if (res != NULL_RTX)
34005 : return res;
34006 : }
34007 : break;
34008 :
34009 0 : case 4:
34010 0 : if (insn_condition_3132 (operands, insn))
34011 : {
34012 0 : *pmatch_len_ = 3;
34013 0 : res = gen_peephole2_96 (insn, operands);
34014 0 : if (res != NULL_RTX)
34015 : return res;
34016 : }
34017 : break;
34018 :
34019 0 : case 5:
34020 0 : if (insn_condition_3130 (operands, insn))
34021 : {
34022 0 : *pmatch_len_ = 2;
34023 0 : res = gen_peephole2_110 (insn, operands);
34024 0 : if (res != NULL_RTX)
34025 : return res;
34026 : }
34027 : break;
34028 :
34029 0 : case 6:
34030 0 : if (insn_condition_3132 (operands, insn))
34031 : {
34032 0 : *pmatch_len_ = 3;
34033 0 : res = gen_peephole2_114 (insn, operands);
34034 0 : if (res != NULL_RTX)
34035 : return res;
34036 : }
34037 : break;
34038 :
34039 : default:
34040 : break;
34041 : }
34042 : }
34043 24131 : if (!register_operand (operands[0], E_QImode))
34044 : return NULL;
34045 24131 : switch (pattern1551 (x4,
34046 : E_QImode))
34047 : {
34048 121 : case 0:
34049 121 : x7 = XEXP (x6, 0);
34050 121 : if (rtx_equal_p (x7, operands[1])
34051 121 : && insn_condition_3133 (operands, insn))
34052 : {
34053 101 : *pmatch_len_ = 2;
34054 101 : res = gen_peephole2_322 (insn, operands);
34055 101 : if (res != NULL_RTX)
34056 : return res;
34057 : }
34058 20 : if (peep2_current_count < 4
34059 20 : || pattern1875 (x7,
34060 : E_QImode) != 0
34061 20 : || !insn_condition_3134 (operands, insn))
34062 : return NULL;
34063 0 : *pmatch_len_ = 3;
34064 0 : return gen_peephole2_354 (insn, operands);
34065 :
34066 16740 : case 1:
34067 16740 : x8 = XEXP (x5, 1);
34068 16740 : operands[3] = x8;
34069 16740 : if (pattern1689 (x4) == 0)
34070 : {
34071 1071 : x7 = XEXP (x6, 0);
34072 1071 : if (rtx_equal_p (x7, operands[1]))
34073 : {
34074 230 : x9 = PATTERN (peep2_next_insn (3));
34075 230 : if (pattern1892 (x9) == 0
34076 230 : && insn_condition_3135 (operands, insn))
34077 : {
34078 0 : *pmatch_len_ = 3;
34079 0 : res = gen_peephole2_346 (insn, operands);
34080 0 : if (res != NULL_RTX)
34081 : return res;
34082 : }
34083 : }
34084 1071 : if (peep2_current_count >= 5
34085 974 : && pattern1918 (x7,
34086 : E_QImode) == 0
34087 1071 : && insn_condition_3136 (operands, insn))
34088 : {
34089 0 : *pmatch_len_ = 4;
34090 0 : res = gen_peephole2_352 (insn, operands);
34091 0 : if (res != NULL_RTX)
34092 : return res;
34093 : }
34094 : }
34095 16740 : if (GET_CODE (x8) != XOR
34096 1438 : || pattern1690 (x4,
34097 : E_QImode) != 0
34098 16742 : || !insn_condition_3137 (operands, insn))
34099 : return NULL;
34100 2 : *pmatch_len_ = 3;
34101 2 : return gen_peephole2_364 (insn, operands);
34102 :
34103 : default:
34104 : return NULL;
34105 : }
34106 :
34107 8684 : case E_HImode:
34108 8684 : if (!memory_operand (operands[1], E_HImode))
34109 : return NULL;
34110 8684 : if (general_reg_operand (operands[0], E_HImode))
34111 : {
34112 8671 : switch (pattern1549 (x4,
34113 : E_HImode))
34114 : {
34115 0 : case 0:
34116 0 : if (insn_condition_3130 (operands, insn))
34117 : {
34118 0 : *pmatch_len_ = 2;
34119 0 : res = gen_peephole2_81 (insn, operands);
34120 0 : if (res != NULL_RTX)
34121 : return res;
34122 : }
34123 : break;
34124 :
34125 0 : case 1:
34126 0 : if (insn_condition_3131 (operands, insn))
34127 : {
34128 0 : *pmatch_len_ = 2;
34129 0 : res = gen_peephole2_85 (insn, operands);
34130 0 : if (res != NULL_RTX)
34131 : return res;
34132 : }
34133 : break;
34134 :
34135 0 : case 2:
34136 0 : if (insn_condition_3130 (operands, insn))
34137 : {
34138 0 : *pmatch_len_ = 2;
34139 0 : res = gen_peephole2_131 (insn, operands);
34140 0 : if (res != NULL_RTX)
34141 : return res;
34142 : }
34143 : break;
34144 :
34145 0 : case 3:
34146 0 : if (insn_condition_3130 (operands, insn))
34147 : {
34148 0 : *pmatch_len_ = 2;
34149 0 : res = gen_peephole2_93 (insn, operands);
34150 0 : if (res != NULL_RTX)
34151 : return res;
34152 : }
34153 : break;
34154 :
34155 0 : case 4:
34156 0 : if (insn_condition_3132 (operands, insn))
34157 : {
34158 0 : *pmatch_len_ = 3;
34159 0 : res = gen_peephole2_97 (insn, operands);
34160 0 : if (res != NULL_RTX)
34161 : return res;
34162 : }
34163 : break;
34164 :
34165 0 : case 5:
34166 0 : if (insn_condition_3130 (operands, insn))
34167 : {
34168 0 : *pmatch_len_ = 2;
34169 0 : res = gen_peephole2_111 (insn, operands);
34170 0 : if (res != NULL_RTX)
34171 : return res;
34172 : }
34173 : break;
34174 :
34175 0 : case 6:
34176 0 : if (insn_condition_3132 (operands, insn))
34177 : {
34178 0 : *pmatch_len_ = 3;
34179 0 : res = gen_peephole2_115 (insn, operands);
34180 0 : if (res != NULL_RTX)
34181 : return res;
34182 : }
34183 : break;
34184 :
34185 : default:
34186 : break;
34187 : }
34188 : }
34189 8684 : if (!register_operand (operands[0], E_HImode))
34190 : return NULL;
34191 8684 : switch (pattern1551 (x4,
34192 : E_HImode))
34193 : {
34194 1861 : case 0:
34195 1861 : x7 = XEXP (x6, 0);
34196 1861 : if (rtx_equal_p (x7, operands[1])
34197 1861 : && insn_condition_3133 (operands, insn))
34198 : {
34199 1844 : *pmatch_len_ = 2;
34200 1844 : res = gen_peephole2_323 (insn, operands);
34201 1844 : if (res != NULL_RTX)
34202 : return res;
34203 : }
34204 17 : if (peep2_current_count < 4
34205 17 : || pattern1875 (x7,
34206 : E_HImode) != 0
34207 17 : || !insn_condition_3134 (operands, insn))
34208 : return NULL;
34209 0 : *pmatch_len_ = 3;
34210 0 : return gen_peephole2_355 (insn, operands);
34211 :
34212 3030 : case 1:
34213 3030 : x8 = XEXP (x5, 1);
34214 3030 : operands[3] = x8;
34215 3030 : if (pattern1689 (x4) == 0)
34216 : {
34217 319 : x7 = XEXP (x6, 0);
34218 319 : if (rtx_equal_p (x7, operands[1]))
34219 : {
34220 270 : x9 = PATTERN (peep2_next_insn (3));
34221 270 : if (pattern1892 (x9) == 0
34222 270 : && insn_condition_3138 (operands, insn))
34223 : {
34224 0 : *pmatch_len_ = 3;
34225 0 : res = gen_peephole2_347 (insn, operands);
34226 0 : if (res != NULL_RTX)
34227 : return res;
34228 : }
34229 : }
34230 319 : if (peep2_current_count >= 5
34231 297 : && pattern1918 (x7,
34232 : E_HImode) == 0
34233 319 : && insn_condition_3139 (operands, insn))
34234 : {
34235 0 : *pmatch_len_ = 4;
34236 0 : res = gen_peephole2_353 (insn, operands);
34237 0 : if (res != NULL_RTX)
34238 : return res;
34239 : }
34240 : }
34241 3030 : if (GET_CODE (x8) != XOR
34242 85 : || pattern1690 (x4,
34243 : E_HImode) != 0
34244 3032 : || !insn_condition_3140 (operands, insn))
34245 : return NULL;
34246 2 : *pmatch_len_ = 3;
34247 2 : return gen_peephole2_365 (insn, operands);
34248 :
34249 : default:
34250 : return NULL;
34251 : }
34252 :
34253 : default:
34254 : return NULL;
34255 : }
34256 :
34257 405240 : case MEM:
34258 405240 : switch (GET_MODE (operands[0]))
34259 : {
34260 1110 : case E_QImode:
34261 1110 : if (!push_operand (operands[0], E_QImode)
34262 0 : || !memory_operand (operands[1], E_QImode)
34263 1110 : || !insn_condition_3141 (operands, insn))
34264 : return NULL;
34265 0 : *pmatch_len_ = 0;
34266 0 : return gen_peephole2_276 (insn, operands);
34267 :
34268 0 : case E_HImode:
34269 0 : if (!push_operand (operands[0], E_HImode)
34270 0 : || !memory_operand (operands[1], E_HImode)
34271 0 : || !insn_condition_3141 (operands, insn))
34272 : return NULL;
34273 0 : *pmatch_len_ = 0;
34274 0 : return gen_peephole2_277 (insn, operands);
34275 :
34276 345 : case E_SFmode:
34277 345 : if (!push_operand (operands[0], E_SFmode)
34278 345 : || !memory_operand (operands[1], E_SFmode)
34279 690 : || !insn_condition_3141 (operands, insn))
34280 : return NULL;
34281 0 : *pmatch_len_ = 0;
34282 0 : return gen_peephole2_280 (insn, operands);
34283 :
34284 : default:
34285 : return NULL;
34286 : }
34287 :
34288 : default:
34289 : return NULL;
34290 : }
34291 : }
34292 :
34293 : rtx_insn *
34294 31656587 : peephole2_20 (rtx x1 ATTRIBUTE_UNUSED,
34295 : rtx_insn *insn ATTRIBUTE_UNUSED,
34296 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34297 : {
34298 31656587 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34299 31656587 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34300 31656587 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34301 31656587 : rtx x18, x19, x20, x21, x22, x23;
34302 31656587 : rtx_insn *res ATTRIBUTE_UNUSED;
34303 31656587 : x2 = XEXP (x1, 0);
34304 31656587 : if (!flags_reg_operand (x2, E_VOIDmode))
34305 : return NULL;
34306 526135 : x3 = XEXP (x1, 1);
34307 526135 : operands[0] = x3;
34308 526135 : operands[4] = x2;
34309 526135 : res = peephole2_19 (x1, insn, pmatch_len_);
34310 526135 : if (res != NULL_RTX)
34311 : return res;
34312 498106 : if (peep2_current_count < 4)
34313 : return NULL;
34314 393472 : operands[6] = x2;
34315 393472 : x4 = PATTERN (peep2_next_insn (1));
34316 393472 : if (GET_CODE (x4) != PARALLEL
34317 12889 : || XVECLEN (x4, 0) != 2)
34318 : return NULL;
34319 12778 : x5 = XVECEXP (x4, 0, 0);
34320 12778 : if (GET_CODE (x5) != SET)
34321 : return NULL;
34322 12778 : x6 = XEXP (x5, 0);
34323 12778 : operands[7] = x6;
34324 12778 : if (!flags_reg_operand (operands[7], E_VOIDmode))
34325 : return NULL;
34326 1738 : x7 = XEXP (x5, 1);
34327 1738 : operands[1] = x7;
34328 1738 : x8 = XVECEXP (x4, 0, 1);
34329 1738 : operands[5] = x8;
34330 1738 : x9 = PATTERN (peep2_next_insn (2));
34331 1738 : if (GET_CODE (x9) != SET)
34332 : return NULL;
34333 1734 : x10 = XEXP (x9, 1);
34334 1734 : if (!ix86_comparison_operator (x10, E_QImode))
34335 : return NULL;
34336 1130 : operands[3] = x10;
34337 1130 : x11 = XEXP (x10, 0);
34338 1130 : if (GET_CODE (x11) != REG
34339 1130 : || REGNO (x11) != 17)
34340 : return NULL;
34341 1130 : x12 = XEXP (x10, 1);
34342 1130 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34343 : return NULL;
34344 1130 : x13 = XEXP (x9, 0);
34345 1130 : operands[2] = x13;
34346 1130 : if (!register_operand (operands[2], E_QImode))
34347 : return NULL;
34348 757 : x14 = PATTERN (peep2_next_insn (3));
34349 757 : switch (GET_CODE (x14))
34350 : {
34351 682 : case SET:
34352 682 : x15 = XEXP (x14, 1);
34353 682 : if (GET_CODE (x15) != ZERO_EXTEND)
34354 : return NULL;
34355 582 : x16 = XEXP (x14, 0);
34356 582 : operands[4] = x16;
34357 582 : if (!any_QIreg_operand (operands[4], E_VOIDmode))
34358 : return NULL;
34359 582 : x17 = XEXP (x15, 0);
34360 582 : if (!rtx_equal_p (x17, operands[2])
34361 582 : || !insn_condition_3191 (operands, insn))
34362 : return NULL;
34363 372 : *pmatch_len_ = 3;
34364 372 : return gen_peephole2_197 (insn, operands);
34365 :
34366 49 : case PARALLEL:
34367 49 : if (XVECLEN (x14, 0) != 2)
34368 : return NULL;
34369 49 : x18 = XVECEXP (x14, 0, 0);
34370 49 : if (GET_CODE (x18) != SET)
34371 : return NULL;
34372 49 : x19 = XEXP (x18, 1);
34373 49 : if (GET_CODE (x19) != ZERO_EXTEND)
34374 : return NULL;
34375 0 : x20 = XVECEXP (x14, 0, 1);
34376 0 : if (GET_CODE (x20) != CLOBBER)
34377 : return NULL;
34378 0 : x21 = XEXP (x20, 0);
34379 0 : if (GET_CODE (x21) != REG
34380 0 : || REGNO (x21) != 17
34381 0 : || GET_MODE (x21) != E_CCmode)
34382 : return NULL;
34383 0 : x22 = XEXP (x18, 0);
34384 0 : operands[4] = x22;
34385 0 : if (!any_QIreg_operand (operands[4], E_VOIDmode))
34386 : return NULL;
34387 0 : x23 = XEXP (x19, 0);
34388 0 : if (!rtx_equal_p (x23, operands[2])
34389 0 : || !insn_condition_3191 (operands, insn))
34390 : return NULL;
34391 0 : *pmatch_len_ = 3;
34392 0 : return gen_peephole2_200 (insn, operands);
34393 :
34394 : default:
34395 : return NULL;
34396 : }
34397 : }
34398 :
34399 : rtx_insn *
34400 2048139 : peephole2_23 (rtx x1 ATTRIBUTE_UNUSED,
34401 : rtx_insn *insn ATTRIBUTE_UNUSED,
34402 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34403 : {
34404 2048139 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34405 2048139 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34406 2048139 : rtx x10, x11, x12;
34407 2048139 : rtx_insn *res ATTRIBUTE_UNUSED;
34408 2048139 : x2 = PATTERN (peep2_next_insn (1));
34409 2048139 : if (pattern454 (x2,
34410 : CALL,
34411 : 2) != 0)
34412 : return NULL;
34413 0 : x3 = XVECEXP (x2, 0, 0);
34414 0 : x4 = XEXP (x3, 1);
34415 0 : x5 = XEXP (x4, 0);
34416 0 : if (GET_CODE (x5) != MEM
34417 0 : || GET_MODE (x5) != E_QImode)
34418 : return NULL;
34419 0 : x6 = XVECEXP (x2, 0, 1);
34420 0 : if (pattern1294 (x6) != 0)
34421 : return NULL;
34422 0 : x7 = XEXP (x6, 0);
34423 0 : if (GET_CODE (x7) != REG
34424 0 : || REGNO (x7) != 7
34425 0 : || GET_MODE (x7) != E_SImode)
34426 : return NULL;
34427 0 : x8 = XEXP (x3, 0);
34428 0 : operands[2] = x8;
34429 0 : x9 = XEXP (x4, 1);
34430 0 : operands[3] = x9;
34431 0 : x10 = XEXP (x6, 1);
34432 0 : x11 = XEXP (x10, 1);
34433 0 : operands[4] = x11;
34434 0 : if (!immediate_operand (operands[4], E_SImode))
34435 : return NULL;
34436 0 : x12 = XEXP (x5, 0);
34437 0 : if (!rtx_equal_p (x12, operands[0])
34438 0 : || !insn_condition_3153 (operands, insn))
34439 : return NULL;
34440 0 : *pmatch_len_ = 1;
34441 0 : return gen_peephole2_214 (insn, operands);
34442 : }
34443 :
34444 : rtx_insn *
34445 31585528 : peephole2_26 (rtx x1 ATTRIBUTE_UNUSED,
34446 : rtx_insn *insn ATTRIBUTE_UNUSED,
34447 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34448 : {
34449 31585528 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34450 31585528 : rtx x2, x3, x4, x5, x6;
34451 31585528 : rtx_insn *res ATTRIBUTE_UNUSED;
34452 31585528 : if (!memory_operand (operands[1], E_SImode)
34453 31585528 : || !register_operand (operands[0], E_SImode))
34454 : return NULL;
34455 1914621 : x2 = PATTERN (peep2_next_insn (1));
34456 1914621 : switch (GET_CODE (x2))
34457 : {
34458 231287 : case PARALLEL:
34459 231287 : if (XVECLEN (x2, 0) != 2)
34460 : return NULL;
34461 228523 : x3 = XVECEXP (x2, 0, 0);
34462 228523 : if (GET_CODE (x3) != SET)
34463 : return NULL;
34464 227041 : x4 = PATTERN (peep2_next_insn (2));
34465 227041 : if (GET_CODE (x4) != SET)
34466 : return NULL;
34467 172859 : x5 = XEXP (x3, 1);
34468 172859 : switch (GET_CODE (x5))
34469 : {
34470 135481 : case PLUS:
34471 135481 : case MINUS:
34472 135481 : case AND:
34473 135481 : case IOR:
34474 135481 : case XOR:
34475 135481 : if (peep2_current_count < 4)
34476 : return NULL;
34477 129278 : operands[3] = x5;
34478 129278 : res = peephole2_25 (x1, insn, pmatch_len_);
34479 129278 : if (res != NULL_RTX)
34480 : return res;
34481 129278 : if (GET_CODE (x5) != XOR
34482 8516 : || pattern1396 (x2,
34483 : E_SImode) != 0
34484 4066 : || pattern1874 (x4,
34485 : E_SImode) != 0
34486 129281 : || !insn_condition_3207 (operands, insn))
34487 : return NULL;
34488 2 : *pmatch_len_ = 3;
34489 2 : return gen_peephole2_344 (insn, operands);
34490 :
34491 8741 : case COMPARE:
34492 8741 : if (pattern1295 (x2,
34493 : E_SImode) != 0
34494 8741 : || pattern1550 (x2) != 0)
34495 : return NULL;
34496 590 : x6 = XEXP (x4, 0);
34497 590 : if (rtx_equal_p (x6, operands[1])
34498 590 : && insn_condition_3133 (operands, insn))
34499 : {
34500 337 : *pmatch_len_ = 2;
34501 337 : res = gen_peephole2_324 (insn, operands);
34502 337 : if (res != NULL_RTX)
34503 : return res;
34504 : }
34505 253 : if (peep2_current_count < 4
34506 253 : || pattern1875 (x6,
34507 : E_SImode) != 0
34508 253 : || !insn_condition_3134 (operands, insn))
34509 : return NULL;
34510 0 : *pmatch_len_ = 3;
34511 0 : return gen_peephole2_356 (insn, operands);
34512 :
34513 : default:
34514 : return NULL;
34515 : }
34516 :
34517 1659812 : case SET:
34518 1659812 : if (pattern890 (x2,
34519 : E_SImode) != 0
34520 1659812 : || !insn_condition_3208 (operands, insn))
34521 : return NULL;
34522 2 : *pmatch_len_ = 4;
34523 2 : return gen_peephole2_360 (insn, operands);
34524 :
34525 : default:
34526 : return NULL;
34527 : }
34528 : }
34529 :
34530 : rtx_insn *
34531 2155579 : peephole2_31 (rtx x1 ATTRIBUTE_UNUSED,
34532 : rtx_insn *insn ATTRIBUTE_UNUSED,
34533 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34534 : {
34535 2155579 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34536 2155579 : rtx x2, x3, x4, x5, x6;
34537 2155579 : rtx_insn *res ATTRIBUTE_UNUSED;
34538 2155579 : x2 = XEXP (x1, 0);
34539 2155579 : switch (GET_MODE (x2))
34540 : {
34541 798682 : case E_SImode:
34542 798682 : if (!memory_operand (x2, E_SImode))
34543 : return NULL;
34544 225276 : operands[1] = x2;
34545 225276 : res = peephole2_30 (x1, insn, pmatch_len_);
34546 225276 : if (res != NULL_RTX)
34547 : return res;
34548 210430 : operands[0] = x2;
34549 210430 : if (!insn_condition_3223 (operands, insn))
34550 : return NULL;
34551 0 : *pmatch_len_ = 0;
34552 0 : return gen_peephole2_283 (insn, operands);
34553 :
34554 998215 : case E_DImode:
34555 998215 : operands[1] = x2;
34556 998215 : if (!memory_operand (operands[1], E_DImode))
34557 : return NULL;
34558 296745 : if (peep2_current_count >= 2)
34559 : {
34560 284036 : x3 = PATTERN (peep2_next_insn (1));
34561 284036 : if (GET_CODE (x3) == SET)
34562 : {
34563 270342 : x4 = XEXP (x3, 1);
34564 270342 : if (x4 == const_int_rtx[MAX_SAVED_CONST_INT + 0])
34565 : {
34566 91741 : x5 = XEXP (x3, 0);
34567 91741 : operands[2] = x5;
34568 91741 : if (memory_operand (operands[2], E_DImode))
34569 : {
34570 65019 : if (peep2_current_count >= 3)
34571 : {
34572 63902 : x6 = PATTERN (peep2_next_insn (2));
34573 63902 : if (pattern1296 (x6,
34574 : E_DImode) == 0
34575 63902 : && insn_condition_3224 (operands, insn))
34576 : {
34577 953 : *pmatch_len_ = 3;
34578 953 : res = gen_peephole2_241 (insn, operands);
34579 953 : if (res != NULL_RTX)
34580 : return res;
34581 : }
34582 : }
34583 64066 : if (insn_condition_3224 (operands, insn))
34584 : {
34585 5447 : *pmatch_len_ = 1;
34586 5447 : res = gen_peephole2_243 (insn, operands);
34587 5447 : if (res != NULL_RTX)
34588 : return res;
34589 : }
34590 : }
34591 : }
34592 : }
34593 : }
34594 290345 : if (!insn_condition_3224 (operands, insn))
34595 : return NULL;
34596 30895 : *pmatch_len_ = 0;
34597 30895 : return gen_peephole2_245 (insn, operands);
34598 :
34599 : default:
34600 : return NULL;
34601 : }
34602 : }
34603 :
34604 : rtx_insn *
34605 3941034 : peephole2_36 (rtx x1 ATTRIBUTE_UNUSED,
34606 : rtx_insn *insn ATTRIBUTE_UNUSED,
34607 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34608 : {
34609 3941034 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34610 3941034 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34611 3941034 : rtx x10, x11;
34612 3941034 : rtx_insn *res ATTRIBUTE_UNUSED;
34613 3941034 : x2 = XEXP (x1, 1);
34614 3941034 : if (XWINT (x2, 0) == -1L)
34615 : {
34616 133473 : switch (GET_MODE (operands[0]))
34617 : {
34618 979 : case E_HImode:
34619 979 : if (general_reg_operand (operands[0], E_HImode)
34620 979 : && insn_condition_3231 (operands, insn))
34621 : {
34622 60 : *pmatch_len_ = 0;
34623 60 : res = gen_peephole2_370 (insn, operands);
34624 60 : if (res != NULL_RTX)
34625 : return res;
34626 : }
34627 : break;
34628 :
34629 72583 : case E_SImode:
34630 72583 : if (general_reg_operand (operands[0], E_SImode)
34631 72583 : && insn_condition_3231 (operands, insn))
34632 : {
34633 24723 : *pmatch_len_ = 0;
34634 24723 : res = gen_peephole2_371 (insn, operands);
34635 24723 : if (res != NULL_RTX)
34636 : return res;
34637 : }
34638 : break;
34639 :
34640 55682 : case E_DImode:
34641 55682 : if (general_reg_operand (operands[0], E_DImode)
34642 55682 : && insn_condition_3232 (operands, insn))
34643 : {
34644 3209 : *pmatch_len_ = 0;
34645 3209 : res = gen_peephole2_372 (insn, operands);
34646 3209 : if (res != NULL_RTX)
34647 : return res;
34648 : }
34649 : break;
34650 :
34651 : default:
34652 : break;
34653 : }
34654 : }
34655 3913042 : if (peep2_current_count < 2
34656 3913042 : || peep2_current_count < 3)
34657 : return NULL;
34658 3307946 : operands[2] = x2;
34659 3307946 : x3 = PATTERN (peep2_next_insn (1));
34660 3307946 : if (pattern628 (x3,
34661 : 2) != 0)
34662 : return NULL;
34663 3727 : x4 = XVECEXP (x3, 0, 0);
34664 3727 : x5 = XEXP (x4, 1);
34665 3727 : if (XINT (x5, 1) != 126)
34666 : return NULL;
34667 3727 : x6 = XVECEXP (x3, 0, 1);
34668 3727 : if (GET_CODE (x6) != SET)
34669 : return NULL;
34670 3727 : x7 = XEXP (x6, 1);
34671 3727 : if (GET_CODE (x7) != PLUS
34672 3727 : || pattern1552 (x3) != 0
34673 7454 : || pattern1753 (x3) != 0)
34674 : return NULL;
34675 2515 : x8 = PATTERN (peep2_next_insn (2));
34676 2515 : x9 = XEXP (x8, 1);
34677 2515 : x10 = XEXP (x9, 1);
34678 2515 : operands[3] = x10;
34679 2515 : x11 = XEXP (x9, 0);
34680 2515 : if (!rtx_equal_p (x11, operands[0]))
34681 : return NULL;
34682 2503 : switch (GET_MODE (operands[0]))
34683 : {
34684 446 : case E_HImode:
34685 446 : if (pattern1931 (x3,
34686 : E_HImode) != 0
34687 446 : || !insn_condition_3230 (operands, insn))
34688 : return NULL;
34689 0 : *pmatch_len_ = 2;
34690 0 : return gen_peephole2_451 (insn, operands);
34691 :
34692 588 : case E_SImode:
34693 588 : if (pattern1931 (x3,
34694 : E_SImode) != 0
34695 588 : || !insn_condition_3230 (operands, insn))
34696 : return NULL;
34697 0 : *pmatch_len_ = 2;
34698 0 : return gen_peephole2_452 (insn, operands);
34699 :
34700 853 : case E_DImode:
34701 853 : if (pattern1931 (x3,
34702 : E_DImode) != 0
34703 853 : || !insn_condition_3233 (operands, insn))
34704 : return NULL;
34705 0 : *pmatch_len_ = 2;
34706 0 : return gen_peephole2_453 (insn, operands);
34707 :
34708 : default:
34709 : return NULL;
34710 : }
34711 : }
34712 :
34713 : rtx_insn *
34714 60518 : peephole2_42 (rtx x1 ATTRIBUTE_UNUSED,
34715 : rtx_insn *insn ATTRIBUTE_UNUSED,
34716 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34717 : {
34718 60518 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34719 60518 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34720 60518 : rtx x10, x11, x12, x13, x14;
34721 60518 : rtx_insn *res ATTRIBUTE_UNUSED;
34722 60518 : x2 = XVECEXP (x1, 0, 1);
34723 60518 : x3 = XEXP (x2, 1);
34724 60518 : if (GET_CODE (x3) != PLUS)
34725 : return NULL;
34726 60518 : x4 = XVECEXP (x1, 0, 0);
34727 60518 : x5 = XEXP (x4, 0);
34728 60518 : if (GET_MODE (x5) != E_CCCmode)
34729 : return NULL;
34730 8315 : x6 = XEXP (x4, 1);
34731 8315 : if (GET_MODE (x6) != E_CCCmode)
34732 : return NULL;
34733 8315 : x7 = XEXP (x6, 1);
34734 8315 : if (!rtx_equal_p (x7, operands[0]))
34735 : return NULL;
34736 8090 : x8 = XEXP (x3, 0);
34737 8090 : if (!rtx_equal_p (x8, operands[0]))
34738 : return NULL;
34739 8090 : x9 = XEXP (x3, 1);
34740 8090 : if (!rtx_equal_p (x9, operands[1]))
34741 : return NULL;
34742 8090 : x10 = XEXP (x2, 0);
34743 8090 : if (!rtx_equal_p (x10, operands[0]))
34744 : return NULL;
34745 8090 : x11 = PATTERN (peep2_next_insn (1));
34746 8090 : x12 = XEXP (x11, 1);
34747 8090 : if (!rtx_equal_p (x12, operands[0]))
34748 : return NULL;
34749 1190 : x13 = XEXP (x11, 0);
34750 1190 : if (!rtx_equal_p (x13, operands[1]))
34751 : return NULL;
34752 226 : x14 = XEXP (x6, 0);
34753 226 : switch (GET_MODE (x14))
34754 : {
34755 0 : case E_QImode:
34756 0 : if (!general_reg_operand (operands[0], E_QImode)
34757 0 : || !memory_operand (operands[1], E_QImode)
34758 0 : || GET_MODE (x3) != E_QImode
34759 0 : || !insn_condition_3272 (operands, insn))
34760 : return NULL;
34761 0 : *pmatch_len_ = 1;
34762 0 : return gen_peephole2_126 (insn, operands);
34763 :
34764 0 : case E_HImode:
34765 0 : if (!general_reg_operand (operands[0], E_HImode)
34766 0 : || !memory_operand (operands[1], E_HImode)
34767 0 : || GET_MODE (x3) != E_HImode
34768 0 : || !insn_condition_3272 (operands, insn))
34769 : return NULL;
34770 0 : *pmatch_len_ = 1;
34771 0 : return gen_peephole2_127 (insn, operands);
34772 :
34773 33 : case E_SImode:
34774 33 : if (!general_reg_operand (operands[0], E_SImode)
34775 33 : || !memory_operand (operands[1], E_SImode)
34776 14 : || GET_MODE (x3) != E_SImode
34777 47 : || !insn_condition_3272 (operands, insn))
34778 : return NULL;
34779 14 : *pmatch_len_ = 1;
34780 14 : return gen_peephole2_128 (insn, operands);
34781 :
34782 193 : case E_DImode:
34783 193 : if (!general_reg_operand (operands[0], E_DImode)
34784 193 : || !memory_operand (operands[1], E_DImode)
34785 66 : || GET_MODE (x3) != E_DImode
34786 259 : || !insn_condition_3273 (operands, insn))
34787 : return NULL;
34788 64 : *pmatch_len_ = 1;
34789 64 : return gen_peephole2_129 (insn, operands);
34790 :
34791 : default:
34792 : return NULL;
34793 : }
34794 : }
34795 :
34796 : rtx_insn *
34797 241577 : peephole2_44 (rtx x1 ATTRIBUTE_UNUSED,
34798 : rtx_insn *insn ATTRIBUTE_UNUSED,
34799 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34800 : {
34801 241577 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34802 241577 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34803 241577 : rtx x10, x11, x12, x13, x14;
34804 241577 : rtx_insn *res ATTRIBUTE_UNUSED;
34805 241577 : if (peep2_current_count < 2)
34806 : return NULL;
34807 240590 : x2 = XVECEXP (x1, 0, 1);
34808 240590 : if (GET_CODE (x2) != SET)
34809 : return NULL;
34810 20 : x3 = XEXP (x2, 1);
34811 20 : if (GET_CODE (x3) != UMUL_HIGHPART)
34812 : return NULL;
34813 20 : x4 = XVECEXP (x1, 0, 0);
34814 20 : x5 = XEXP (x4, 0);
34815 20 : operands[0] = x5;
34816 20 : x6 = XEXP (x4, 1);
34817 20 : x7 = XEXP (x6, 0);
34818 20 : operands[2] = x7;
34819 20 : x8 = XEXP (x6, 1);
34820 20 : operands[3] = x8;
34821 20 : x9 = XEXP (x2, 0);
34822 20 : operands[1] = x9;
34823 20 : x10 = XEXP (x3, 0);
34824 20 : if (!rtx_equal_p (x10, operands[2]))
34825 : return NULL;
34826 20 : x11 = XEXP (x3, 1);
34827 20 : if (!rtx_equal_p (x11, operands[3]))
34828 : return NULL;
34829 20 : x12 = PATTERN (peep2_next_insn (1));
34830 20 : if (GET_CODE (x12) != SET)
34831 : return NULL;
34832 15 : x13 = XEXP (x12, 0);
34833 15 : operands[4] = x13;
34834 15 : x14 = XEXP (x12, 1);
34835 15 : operands[5] = x14;
34836 15 : switch (GET_MODE (operands[0]))
34837 : {
34838 0 : case E_SImode:
34839 0 : if (pattern1628 (x1,
34840 : E_SImode) != 0
34841 0 : || !insn_condition_3282 (operands, insn))
34842 : return NULL;
34843 0 : *pmatch_len_ = 1;
34844 0 : return gen_peephole2_134 (insn, operands);
34845 :
34846 15 : case E_DImode:
34847 15 : if (pattern1628 (x1,
34848 : E_DImode) != 0
34849 15 : || !insn_condition_3283 (operands, insn))
34850 : return NULL;
34851 1 : *pmatch_len_ = 1;
34852 1 : return gen_peephole2_135 (insn, operands);
34853 :
34854 : default:
34855 : return NULL;
34856 : }
34857 : }
34858 :
34859 : rtx_insn *
34860 113 : peephole2_46 (rtx x1 ATTRIBUTE_UNUSED,
34861 : rtx_insn *insn ATTRIBUTE_UNUSED,
34862 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34863 : {
34864 113 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34865 113 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34866 113 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34867 113 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
34868 113 : rtx x26;
34869 113 : rtx_insn *res ATTRIBUTE_UNUSED;
34870 113 : if (peep2_current_count < 2
34871 113 : || peep2_current_count < 3)
34872 : return NULL;
34873 112 : x2 = XVECEXP (x1, 0, 0);
34874 112 : x3 = XEXP (x2, 1);
34875 112 : if (GET_MODE (x3) != E_HImode)
34876 : return NULL;
34877 7 : x4 = XVECEXP (x1, 0, 1);
34878 7 : if (pattern286 (x4,
34879 : E_CCmode,
34880 : 17) != 0)
34881 : return NULL;
34882 7 : x5 = XEXP (x2, 0);
34883 7 : operands[1] = x5;
34884 7 : if (!register_operand (operands[1], E_HImode))
34885 : return NULL;
34886 7 : x6 = XEXP (x3, 0);
34887 7 : operands[2] = x6;
34888 7 : if (!nonimmediate_operand (operands[2], E_HImode))
34889 : return NULL;
34890 7 : x7 = PATTERN (peep2_next_insn (1));
34891 7 : if (GET_CODE (x7) != SET)
34892 : return NULL;
34893 7 : x8 = PATTERN (peep2_next_insn (2));
34894 7 : if (GET_CODE (x8) != SET)
34895 : return NULL;
34896 2 : x9 = XEXP (x7, 1);
34897 2 : switch (GET_CODE (x9))
34898 : {
34899 0 : case ZERO_EXTEND:
34900 0 : if (peep2_current_count < 4)
34901 : return NULL;
34902 0 : x10 = XEXP (x7, 0);
34903 0 : operands[3] = x10;
34904 0 : if (!register_operand (operands[3], E_VOIDmode))
34905 : return NULL;
34906 0 : x11 = XEXP (x9, 0);
34907 0 : if (!rtx_equal_p (x11, operands[1])
34908 0 : || pattern1820 (x8) != 0)
34909 : return NULL;
34910 0 : x12 = XEXP (x8, 1);
34911 0 : x13 = XEXP (x12, 0);
34912 0 : x14 = XEXP (x13, 0);
34913 0 : operands[4] = x14;
34914 0 : if (!register_operand (operands[4], E_QImode))
34915 : return NULL;
34916 0 : x15 = PATTERN (peep2_next_insn (3));
34917 0 : if (GET_CODE (x15) != SET)
34918 : return NULL;
34919 0 : x16 = XEXP (x15, 1);
34920 0 : if (GET_CODE (x16) != IF_THEN_ELSE)
34921 : return NULL;
34922 0 : x17 = XEXP (x16, 0);
34923 0 : if (!bt_comparison_operator (x17, E_VOIDmode))
34924 : return NULL;
34925 0 : operands[5] = x17;
34926 0 : if (pattern1940 (x15) != 0)
34927 : return NULL;
34928 0 : x18 = XEXP (x16, 1);
34929 0 : x19 = XEXP (x18, 0);
34930 0 : operands[6] = x19;
34931 0 : if (!insn_condition_3285 (operands, insn))
34932 : return NULL;
34933 0 : *pmatch_len_ = 3;
34934 0 : return gen_peephole2_218 (insn, operands);
34935 :
34936 2 : case COMPARE:
34937 2 : if (GET_MODE (x9) != E_CCZmode)
34938 : return NULL;
34939 2 : x11 = XEXP (x9, 0);
34940 2 : if (GET_CODE (x11) != AND
34941 2 : || GET_MODE (x11) != E_QImode)
34942 : return NULL;
34943 2 : x20 = XEXP (x11, 1);
34944 2 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
34945 2 : || pattern1490 (x7,
34946 : 0) != 0)
34947 : return NULL;
34948 2 : x21 = XEXP (x11, 0);
34949 2 : operands[3] = x21;
34950 2 : if (!register_operand (operands[3], E_QImode))
34951 : return NULL;
34952 2 : x12 = XEXP (x8, 1);
34953 2 : if (GET_CODE (x12) != IF_THEN_ELSE)
34954 : return NULL;
34955 2 : x13 = XEXP (x12, 0);
34956 2 : if (!bt_comparison_operator (x13, E_VOIDmode))
34957 : return NULL;
34958 2 : operands[4] = x13;
34959 2 : x14 = XEXP (x13, 0);
34960 2 : if (GET_CODE (x14) != REG
34961 2 : || REGNO (x14) != 17
34962 4 : || GET_MODE (x14) != E_CCZmode)
34963 : return NULL;
34964 2 : x22 = XEXP (x13, 1);
34965 2 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
34966 : return NULL;
34967 2 : x23 = XEXP (x12, 1);
34968 2 : if (GET_CODE (x23) != LABEL_REF)
34969 : return NULL;
34970 2 : x24 = XEXP (x12, 2);
34971 2 : if (GET_CODE (x24) != PC)
34972 : return NULL;
34973 2 : x25 = XEXP (x8, 0);
34974 2 : if (GET_CODE (x25) != PC)
34975 : return NULL;
34976 2 : x26 = XEXP (x23, 0);
34977 2 : operands[5] = x26;
34978 2 : if (!insn_condition_3286 (operands, insn))
34979 : return NULL;
34980 2 : *pmatch_len_ = 2;
34981 2 : return gen_peephole2_219 (insn, operands);
34982 :
34983 : default:
34984 : return NULL;
34985 : }
34986 : }
34987 :
34988 : rtx_insn *
34989 6819761 : peephole2_51 (rtx x1 ATTRIBUTE_UNUSED,
34990 : rtx_insn *insn ATTRIBUTE_UNUSED,
34991 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34992 : {
34993 6819761 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34994 6819761 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34995 6819761 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
34996 6819761 : rtx x18, x19;
34997 6819761 : rtx_insn *res ATTRIBUTE_UNUSED;
34998 6819761 : x2 = XVECEXP (x1, 0, 0);
34999 6819761 : if (GET_CODE (x2) != SET)
35000 : return NULL;
35001 6548673 : x3 = XEXP (x2, 1);
35002 6548673 : switch (GET_CODE (x3))
35003 : {
35004 41754 : case REG:
35005 41754 : res = peephole2_38 (x1, insn, pmatch_len_);
35006 41754 : if (res != NULL_RTX)
35007 : return res;
35008 : break;
35009 :
35010 1479602 : case CONST_INT:
35011 1479602 : res = peephole2_40 (x1, insn, pmatch_len_);
35012 1479602 : if (res != NULL_RTX)
35013 : return res;
35014 : break;
35015 :
35016 2850630 : case PLUS:
35017 2850630 : res = peephole2_41 (x1, insn, pmatch_len_);
35018 2850630 : if (res != NULL_RTX)
35019 : return res;
35020 : break;
35021 :
35022 314510 : case COMPARE:
35023 314510 : res = peephole2_43 (x1, insn, pmatch_len_);
35024 314510 : if (res != NULL_RTX)
35025 : return res;
35026 : break;
35027 :
35028 241577 : case MULT:
35029 241577 : res = peephole2_44 (x1, insn, pmatch_len_);
35030 241577 : if (res != NULL_RTX)
35031 : return res;
35032 : break;
35033 :
35034 38520 : case NEG:
35035 38520 : res = peephole2_45 (x1, insn, pmatch_len_);
35036 38520 : if (res != NULL_RTX)
35037 : return res;
35038 : break;
35039 :
35040 230977 : case ASHIFT:
35041 230977 : if (pattern287 (x1) == 0)
35042 : {
35043 230212 : x4 = XEXP (x3, 1);
35044 230212 : operands[2] = x4;
35045 230212 : if (nonmemory_operand (operands[2], E_QImode))
35046 : {
35047 230212 : switch (GET_MODE (operands[0]))
35048 : {
35049 156473 : case E_DImode:
35050 156473 : if (register_operand (operands[0], E_DImode)
35051 155984 : && GET_MODE (x3) == E_DImode
35052 155984 : && nonmemory_operand (operands[1], E_DImode)
35053 312447 : && insn_condition_3296 (operands, insn))
35054 : {
35055 4084 : *pmatch_len_ = 0;
35056 4084 : res = gen_peephole2_185 (insn, operands);
35057 4084 : if (res != NULL_RTX)
35058 : return res;
35059 : }
35060 : break;
35061 :
35062 1511 : case E_TImode:
35063 1511 : if (register_operand (operands[0], E_TImode)
35064 1511 : && GET_MODE (x3) == E_TImode
35065 1511 : && nonmemory_operand (operands[1], E_TImode)
35066 3022 : && insn_condition_778 (operands, insn))
35067 : {
35068 1511 : *pmatch_len_ = 0;
35069 1511 : res = gen_peephole2_186 (insn, operands);
35070 1511 : if (res != NULL_RTX)
35071 : return res;
35072 : }
35073 : break;
35074 :
35075 : default:
35076 : break;
35077 : }
35078 : }
35079 : }
35080 : break;
35081 :
35082 186910 : case LSHIFTRT:
35083 186910 : switch (pattern289 (x1))
35084 : {
35085 120800 : case 0:
35086 120800 : if (insn_condition_3296 (operands, insn))
35087 : {
35088 10035 : *pmatch_len_ = 0;
35089 10035 : res = gen_peephole2_187 (insn, operands);
35090 10035 : if (res != NULL_RTX)
35091 : return res;
35092 : }
35093 : break;
35094 :
35095 4034 : case 1:
35096 4034 : if (insn_condition_778 (operands, insn))
35097 : {
35098 4034 : *pmatch_len_ = 0;
35099 4034 : res = gen_peephole2_189 (insn, operands);
35100 4034 : if (res != NULL_RTX)
35101 : return res;
35102 : }
35103 : break;
35104 :
35105 : default:
35106 : break;
35107 : }
35108 : break;
35109 :
35110 166523 : case ASHIFTRT:
35111 166523 : switch (pattern289 (x1))
35112 : {
35113 124594 : case 0:
35114 124594 : if (insn_condition_3296 (operands, insn))
35115 : {
35116 1246 : *pmatch_len_ = 0;
35117 1246 : res = gen_peephole2_188 (insn, operands);
35118 1246 : if (res != NULL_RTX)
35119 : return res;
35120 : }
35121 : break;
35122 :
35123 324 : case 1:
35124 324 : if (insn_condition_778 (operands, insn))
35125 : {
35126 324 : *pmatch_len_ = 0;
35127 324 : res = gen_peephole2_190 (insn, operands);
35128 324 : if (res != NULL_RTX)
35129 : return res;
35130 : }
35131 : break;
35132 :
35133 : default:
35134 : break;
35135 : }
35136 : break;
35137 :
35138 3606 : case NOT:
35139 3606 : if (GET_MODE (x3) == E_DImode)
35140 : {
35141 3509 : x5 = XEXP (x3, 0);
35142 3509 : if (GET_CODE (x5) == ZERO_EXTRACT
35143 3509 : && pattern414 (x1) == 0)
35144 : {
35145 3494 : x6 = XEXP (x5, 0);
35146 3494 : if (rtx_equal_p (x6, operands[0]))
35147 : {
35148 3494 : x7 = XEXP (x5, 2);
35149 3494 : if (rtx_equal_p (x7, operands[1])
35150 3494 : && insn_condition_3266 (operands, insn))
35151 : {
35152 0 : *pmatch_len_ = 0;
35153 0 : res = gen_peephole2_193 (insn, operands);
35154 0 : if (res != NULL_RTX)
35155 : return res;
35156 : }
35157 : }
35158 : }
35159 : }
35160 : break;
35161 :
35162 113 : case POPCOUNT:
35163 113 : res = peephole2_46 (x1, insn, pmatch_len_);
35164 113 : if (res != NULL_RTX)
35165 : return res;
35166 : break;
35167 :
35168 : default:
35169 : break;
35170 : }
35171 6527023 : if (peep2_current_count >= 2)
35172 : {
35173 6073249 : res = peephole2_47 (x1, insn, pmatch_len_);
35174 6073249 : if (res != NULL_RTX)
35175 : return res;
35176 : }
35177 6522465 : x8 = XVECEXP (x1, 0, 1);
35178 6522465 : if (GET_CODE (x8) != CLOBBER)
35179 : return NULL;
35180 6216169 : switch (GET_CODE (x3))
35181 : {
35182 4531859 : case COMPARE:
35183 4531859 : case PLUS:
35184 4531859 : case MINUS:
35185 4531859 : case MULT:
35186 4531859 : case DIV:
35187 4531859 : case MOD:
35188 4531859 : case UDIV:
35189 4531859 : case UMOD:
35190 4531859 : case AND:
35191 4531859 : case IOR:
35192 4531859 : case XOR:
35193 4531859 : case ASHIFT:
35194 4531859 : case ROTATE:
35195 4531859 : case ASHIFTRT:
35196 4531859 : case LSHIFTRT:
35197 4531859 : case ROTATERT:
35198 4531859 : case SMIN:
35199 4531859 : case SMAX:
35200 4531859 : case UMIN:
35201 4531859 : case UMAX:
35202 4531859 : x9 = XEXP (x2, 0);
35203 4531859 : operands[0] = x9;
35204 4531859 : res = peephole2_49 (x1, insn, pmatch_len_);
35205 4531859 : if (res != NULL_RTX)
35206 : return res;
35207 4443600 : x10 = XEXP (x8, 0);
35208 4443600 : if (GET_CODE (x10) != REG
35209 4443590 : || REGNO (x10) != 17
35210 8832069 : || GET_MODE (x10) != E_CCmode)
35211 : return NULL;
35212 4388469 : switch (GET_CODE (x3))
35213 : {
35214 3576231 : case PLUS:
35215 3576231 : case MINUS:
35216 3576231 : case AND:
35217 3576231 : case IOR:
35218 3576231 : case XOR:
35219 3576231 : if (peep2_current_count >= 2)
35220 : {
35221 3338210 : res = peephole2_50 (x1, insn, pmatch_len_);
35222 3338210 : if (res != NULL_RTX)
35223 : return res;
35224 : }
35225 3576231 : if (GET_CODE (x3) != PLUS
35226 3576231 : || pattern455 (x2) != 0)
35227 : return NULL;
35228 1191571 : switch (pattern1491 (x2))
35229 : {
35230 922363 : case 0:
35231 922363 : if (insn_condition_3297 (operands, insn))
35232 : {
35233 8093 : *pmatch_len_ = 0;
35234 8093 : res = gen_peephole2_390 (insn, operands);
35235 8093 : if (res != NULL_RTX)
35236 : return res;
35237 : }
35238 914309 : if (insn_condition_3298 (operands, insn))
35239 : {
35240 0 : *pmatch_len_ = 0;
35241 0 : res = gen_peephole2_391 (insn, operands);
35242 0 : if (res != NULL_RTX)
35243 : return res;
35244 : }
35245 914309 : if (insn_condition_3299 (operands, insn))
35246 : {
35247 26408 : *pmatch_len_ = 0;
35248 26408 : res = gen_peephole2_394 (insn, operands);
35249 26408 : if (res != NULL_RTX)
35250 : return res;
35251 : }
35252 887979 : if (insn_condition_3300 (operands, insn))
35253 : {
35254 0 : *pmatch_len_ = 0;
35255 0 : res = gen_peephole2_395 (insn, operands);
35256 0 : if (res != NULL_RTX)
35257 : return res;
35258 : }
35259 887979 : if (insn_condition_3301 (operands, insn))
35260 : {
35261 7603 : *pmatch_len_ = 0;
35262 7603 : res = gen_peephole2_410 (insn, operands);
35263 7603 : if (res != NULL_RTX)
35264 : return res;
35265 : }
35266 880427 : if (insn_condition_3302 (operands, insn))
35267 : {
35268 0 : *pmatch_len_ = 0;
35269 0 : res = gen_peephole2_411 (insn, operands);
35270 0 : if (res != NULL_RTX)
35271 : return res;
35272 : }
35273 880427 : if (insn_condition_3303 (operands, insn))
35274 : {
35275 22139 : *pmatch_len_ = 0;
35276 22139 : res = gen_peephole2_414 (insn, operands);
35277 22139 : if (res != NULL_RTX)
35278 : return res;
35279 : }
35280 859183 : if (insn_condition_3304 (operands, insn))
35281 : {
35282 2 : *pmatch_len_ = 0;
35283 2 : res = gen_peephole2_415 (insn, operands);
35284 2 : if (res != NULL_RTX)
35285 : return res;
35286 : }
35287 859181 : if (insn_condition_3305 (operands, insn))
35288 : {
35289 6 : *pmatch_len_ = 0;
35290 6 : res = gen_peephole2_418 (insn, operands);
35291 6 : if (res != NULL_RTX)
35292 : return res;
35293 : }
35294 859175 : if (!insn_condition_3306 (operands, insn))
35295 : return NULL;
35296 0 : *pmatch_len_ = 0;
35297 0 : return gen_peephole2_419 (insn, operands);
35298 :
35299 269208 : case 1:
35300 269208 : if (insn_condition_3307 (operands, insn))
35301 : {
35302 0 : *pmatch_len_ = 0;
35303 0 : res = gen_peephole2_392 (insn, operands);
35304 0 : if (res != NULL_RTX)
35305 : return res;
35306 : }
35307 269208 : if (insn_condition_3308 (operands, insn))
35308 : {
35309 6235 : *pmatch_len_ = 0;
35310 6235 : res = gen_peephole2_393 (insn, operands);
35311 6235 : if (res != NULL_RTX)
35312 : return res;
35313 : }
35314 262973 : if (insn_condition_3309 (operands, insn))
35315 : {
35316 0 : *pmatch_len_ = 0;
35317 0 : res = gen_peephole2_396 (insn, operands);
35318 0 : if (res != NULL_RTX)
35319 : return res;
35320 : }
35321 262973 : if (insn_condition_3310 (operands, insn))
35322 : {
35323 722 : *pmatch_len_ = 0;
35324 722 : res = gen_peephole2_397 (insn, operands);
35325 722 : if (res != NULL_RTX)
35326 : return res;
35327 : }
35328 262251 : if (insn_condition_3311 (operands, insn))
35329 : {
35330 0 : *pmatch_len_ = 0;
35331 0 : res = gen_peephole2_412 (insn, operands);
35332 0 : if (res != NULL_RTX)
35333 : return res;
35334 : }
35335 262251 : if (insn_condition_3312 (operands, insn))
35336 : {
35337 335 : *pmatch_len_ = 0;
35338 335 : res = gen_peephole2_413 (insn, operands);
35339 335 : if (res != NULL_RTX)
35340 : return res;
35341 : }
35342 261916 : if (insn_condition_3313 (operands, insn))
35343 : {
35344 0 : *pmatch_len_ = 0;
35345 0 : res = gen_peephole2_416 (insn, operands);
35346 0 : if (res != NULL_RTX)
35347 : return res;
35348 : }
35349 261916 : if (insn_condition_3314 (operands, insn))
35350 : {
35351 29919 : *pmatch_len_ = 0;
35352 29919 : res = gen_peephole2_417 (insn, operands);
35353 29919 : if (res != NULL_RTX)
35354 : return res;
35355 : }
35356 231997 : if (insn_condition_3315 (operands, insn))
35357 : {
35358 0 : *pmatch_len_ = 0;
35359 0 : res = gen_peephole2_420 (insn, operands);
35360 0 : if (res != NULL_RTX)
35361 : return res;
35362 : }
35363 231997 : if (!insn_condition_3316 (operands, insn))
35364 : return NULL;
35365 0 : *pmatch_len_ = 0;
35366 0 : return gen_peephole2_421 (insn, operands);
35367 :
35368 : default:
35369 : return NULL;
35370 : }
35371 :
35372 241548 : case MULT:
35373 241548 : operands[0] = x9;
35374 241548 : x5 = XEXP (x3, 0);
35375 241548 : operands[1] = x5;
35376 241548 : x4 = XEXP (x3, 1);
35377 241548 : operands[2] = x4;
35378 241548 : switch (GET_MODE (operands[0]))
35379 : {
35380 62492 : case E_SImode:
35381 62492 : if (GET_MODE (x3) != E_SImode)
35382 : return NULL;
35383 62492 : if (const359_operand (operands[2], E_SImode))
35384 : {
35385 559 : if (register_operand (operands[0], E_SImode)
35386 559 : && index_reg_operand (operands[1], E_SImode))
35387 : {
35388 471 : *pmatch_len_ = 0;
35389 471 : res = gen_peephole2_423 (insn, operands);
35390 471 : if (res != NULL_RTX)
35391 : return res;
35392 : }
35393 88 : if (index_reg_operand (operands[0], E_SImode)
35394 88 : && nonimmediate_operand (operands[1], E_SImode)
35395 176 : && insn_condition_3317 (operands, insn))
35396 : {
35397 0 : *pmatch_len_ = 0;
35398 0 : res = gen_peephole2_425 (insn, operands);
35399 0 : if (res != NULL_RTX)
35400 : return res;
35401 : }
35402 : }
35403 62021 : if (!register_operand (operands[0], E_SImode))
35404 : return NULL;
35405 62021 : if (memory_operand (operands[1], E_SImode)
35406 2214 : && immediate_operand (operands[2], E_SImode)
35407 64235 : && insn_condition_3318 (operands, insn))
35408 : {
35409 0 : *pmatch_len_ = 0;
35410 0 : res = gen_peephole2_427 (insn, operands);
35411 0 : if (res != NULL_RTX)
35412 : return res;
35413 : }
35414 62021 : if (!nonimmediate_operand (operands[1], E_SImode)
35415 62021 : || !const_int_operand (operands[2], E_SImode)
35416 78902 : || !insn_condition_3319 (operands, insn))
35417 : return NULL;
35418 0 : *pmatch_len_ = 0;
35419 0 : return gen_peephole2_431 (insn, operands);
35420 :
35421 165223 : case E_DImode:
35422 165223 : if (GET_MODE (x3) != E_DImode)
35423 : return NULL;
35424 165223 : if (const359_operand (operands[2], E_DImode))
35425 : {
35426 1049 : if (register_operand (operands[0], E_DImode)
35427 1049 : && index_reg_operand (operands[1], E_DImode)
35428 1967 : && insn_condition_3320 (operands, insn))
35429 : {
35430 918 : *pmatch_len_ = 0;
35431 918 : res = gen_peephole2_424 (insn, operands);
35432 918 : if (res != NULL_RTX)
35433 : return res;
35434 : }
35435 131 : if (index_reg_operand (operands[0], E_DImode)
35436 131 : && nonimmediate_operand (operands[1], E_DImode)
35437 262 : && insn_condition_3321 (operands, insn))
35438 : {
35439 15 : *pmatch_len_ = 0;
35440 15 : res = gen_peephole2_426 (insn, operands);
35441 15 : if (res != NULL_RTX)
35442 : return res;
35443 : }
35444 : }
35445 164290 : if (!register_operand (operands[0], E_DImode))
35446 : return NULL;
35447 164290 : if (memory_operand (operands[1], E_DImode)
35448 781 : && immediate_operand (operands[2], E_DImode)
35449 165071 : && insn_condition_3322 (operands, insn))
35450 : {
35451 0 : *pmatch_len_ = 0;
35452 0 : res = gen_peephole2_428 (insn, operands);
35453 0 : if (res != NULL_RTX)
35454 : return res;
35455 : }
35456 164290 : if (!nonimmediate_operand (operands[1], E_DImode)
35457 150951 : || !const_int_operand (operands[2], E_DImode)
35458 193367 : || !insn_condition_3323 (operands, insn))
35459 : return NULL;
35460 0 : *pmatch_len_ = 0;
35461 0 : return gen_peephole2_432 (insn, operands);
35462 :
35463 2285 : case E_HImode:
35464 2285 : if (pattern1400 (x3,
35465 : E_HImode) != 0
35466 2285 : || !insn_condition_3319 (operands, insn))
35467 : return NULL;
35468 0 : *pmatch_len_ = 0;
35469 0 : return gen_peephole2_430 (insn, operands);
35470 :
35471 : default:
35472 : return NULL;
35473 : }
35474 :
35475 225228 : case ASHIFT:
35476 225228 : if (peep2_current_count < 2)
35477 : return NULL;
35478 222350 : operands[0] = x9;
35479 222350 : if (!register_operand (operands[0], E_VOIDmode))
35480 : return NULL;
35481 221007 : x5 = XEXP (x3, 0);
35482 221007 : operands[1] = x5;
35483 221007 : if (!register_operand (operands[1], E_VOIDmode))
35484 : return NULL;
35485 220907 : x4 = XEXP (x3, 1);
35486 220907 : operands[2] = x4;
35487 220907 : if (!const_int_operand (operands[2], E_VOIDmode))
35488 : return NULL;
35489 197181 : x11 = PATTERN (peep2_next_insn (1));
35490 197181 : if (pattern454 (x11,
35491 : PLUS,
35492 : 2) != 0)
35493 : return NULL;
35494 29116 : x12 = XVECEXP (x11, 0, 1);
35495 29116 : if (GET_CODE (x12) != CLOBBER)
35496 : return NULL;
35497 29116 : x13 = XEXP (x12, 0);
35498 29116 : if (GET_CODE (x13) != REG
35499 29116 : || REGNO (x13) != 17
35500 58232 : || GET_MODE (x13) != E_CCmode)
35501 : return NULL;
35502 29116 : x14 = XVECEXP (x11, 0, 0);
35503 29116 : x15 = XEXP (x14, 0);
35504 29116 : operands[3] = x15;
35505 29116 : if (!register_operand (operands[3], E_VOIDmode))
35506 : return NULL;
35507 28519 : x16 = XEXP (x14, 1);
35508 28519 : x17 = XEXP (x16, 1);
35509 28519 : operands[4] = x17;
35510 28519 : if (!x86_64_general_operand (operands[4], E_VOIDmode))
35511 : return NULL;
35512 28519 : x18 = XEXP (x16, 0);
35513 28519 : if (!rtx_equal_p (x18, operands[0]))
35514 : return NULL;
35515 21759 : if (insn_condition_3324 (operands, insn))
35516 : {
35517 885 : *pmatch_len_ = 1;
35518 885 : res = gen_peephole2_433 (insn, operands);
35519 885 : if (res != NULL_RTX)
35520 : return res;
35521 : }
35522 20908 : if (!insn_condition_3325 (operands, insn))
35523 : return NULL;
35524 456 : *pmatch_len_ = 1;
35525 456 : return gen_peephole2_434 (insn, operands);
35526 :
35527 : default:
35528 : return NULL;
35529 : }
35530 :
35531 40580 : case ZERO_EXTEND:
35532 40580 : if (GET_MODE (x3) != E_DImode)
35533 : return NULL;
35534 40523 : x5 = XEXP (x3, 0);
35535 40523 : if (GET_CODE (x5) != MULT
35536 1398 : || GET_MODE (x5) != E_SImode
35537 41921 : || pattern853 (x1,
35538 : E_DImode) != 0)
35539 : return NULL;
35540 1398 : x6 = XEXP (x5, 0);
35541 1398 : operands[1] = x6;
35542 1398 : if (!memory_operand (operands[1], E_SImode))
35543 : return NULL;
35544 2 : x19 = XEXP (x5, 1);
35545 2 : operands[2] = x19;
35546 2 : if (!immediate_operand (operands[2], E_SImode)
35547 2 : || !insn_condition_3326 (operands, insn))
35548 : return NULL;
35549 0 : *pmatch_len_ = 0;
35550 0 : return gen_peephole2_429 (insn, operands);
35551 :
35552 : default:
35553 : return NULL;
35554 : }
35555 : }
|