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 40168 : pattern2 (rtx x1, int *pnum_clobbers)
57 : {
58 40168 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
59 40168 : rtx x2, x3, x4, x5, x6, x7;
60 40168 : int res ATTRIBUTE_UNUSED;
61 40168 : x2 = XEXP (x1, 1);
62 40168 : x3 = XEXP (x2, 0);
63 40168 : operands[1] = x3;
64 40168 : x4 = XEXP (x2, 1);
65 40168 : switch (GET_CODE (x4))
66 : {
67 21 : case AND:
68 21 : if (pnum_clobbers == NULL
69 21 : || GET_MODE (x4) != E_QImode)
70 : return -1;
71 21 : x5 = XEXP (x1, 0);
72 21 : operands[0] = x5;
73 21 : x6 = XEXP (x4, 0);
74 21 : operands[2] = x6;
75 21 : if (!register_operand (operands[2], E_QImode))
76 : return -1;
77 15 : return pattern1 (x2); /* [-1, 1] */
78 :
79 46 : case PLUS:
80 46 : if (pnum_clobbers == NULL
81 46 : || GET_MODE (x4) != E_QImode)
82 : return -1;
83 46 : x5 = XEXP (x1, 0);
84 46 : operands[0] = x5;
85 46 : x6 = XEXP (x4, 0);
86 46 : operands[2] = x6;
87 46 : if (!nonimmediate_operand (operands[2], E_QImode))
88 : return -1;
89 46 : res = pattern1 (x2);
90 46 : if (res >= 0)
91 0 : return res + 2; /* [2, 3] */
92 : return -1;
93 :
94 40 : case MINUS:
95 40 : if (pnum_clobbers == NULL
96 40 : || GET_MODE (x4) != E_QImode)
97 : return -1;
98 40 : x5 = XEXP (x1, 0);
99 40 : operands[0] = x5;
100 40 : x6 = XEXP (x4, 0);
101 40 : operands[3] = x6;
102 40 : if (!const_int_operand (operands[3], E_QImode))
103 : return -1;
104 13 : x7 = XEXP (x4, 1);
105 13 : operands[2] = x7;
106 13 : if (!nonimmediate_operand (operands[2], E_QImode))
107 : return -1;
108 10 : res = pattern0 (x2);
109 10 : if (res >= 0)
110 0 : return res + 4; /* [4, 5] */
111 : return -1;
112 :
113 : case CONST_INT:
114 : case CONST_WIDE_INT:
115 : case CONST_POLY_INT:
116 : case CONST_FIXED:
117 : case CONST_DOUBLE:
118 : case CONST_VECTOR:
119 : case CONST:
120 : case REG:
121 : case SUBREG:
122 : case LABEL_REF:
123 : case SYMBOL_REF:
124 : case HIGH:
125 : return 6;
126 :
127 : default:
128 : return -1;
129 : }
130 : }
131 :
132 : int
133 24295 : pattern16 (rtx x1)
134 : {
135 24295 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
136 24295 : rtx x2, x3;
137 24295 : int res ATTRIBUTE_UNUSED;
138 24295 : x2 = XEXP (x1, 1);
139 24295 : x3 = XEXP (x2, 0);
140 24295 : operands[2] = x3;
141 24295 : if (!register_operand (operands[2], E_QImode))
142 : return -1;
143 21033 : return pattern15 (x1); /* [-1, 1] */
144 : }
145 :
146 : int
147 25580 : pattern21 (rtx x1, machine_mode i1)
148 : {
149 25580 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
150 25580 : rtx x2;
151 25580 : int res ATTRIBUTE_UNUSED;
152 25580 : if (GET_MODE (x1) != i1)
153 : return -1;
154 25580 : x2 = XEXP (x1, 0);
155 25580 : if (GET_MODE (x2) != i1
156 25580 : || !nonimmediate_operand (operands[1], i1)
157 47087 : || !x86_64_general_operand (operands[2], i1))
158 4091 : return -1;
159 : return 0;
160 : }
161 :
162 : int
163 73086 : pattern25 (rtx x1)
164 : {
165 73086 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
166 73086 : rtx x2, x3, x4, x5, x6, x7;
167 73086 : int res ATTRIBUTE_UNUSED;
168 73086 : x2 = XEXP (x1, 0);
169 73086 : operands[0] = x2;
170 73086 : x3 = XEXP (x1, 1);
171 73086 : x4 = XEXP (x3, 0);
172 73086 : switch (GET_CODE (x4))
173 : {
174 684 : case VEC_SELECT:
175 684 : x5 = XEXP (x4, 1);
176 684 : if (GET_CODE (x5) != PARALLEL
177 684 : || XVECLEN (x5, 0) != 1)
178 : return -1;
179 153 : x6 = XVECEXP (x5, 0, 0);
180 153 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
181 : return -1;
182 109 : x7 = XEXP (x4, 0);
183 109 : operands[1] = x7;
184 109 : switch (GET_MODE (operands[0]))
185 : {
186 97 : case E_SImode:
187 97 : return pattern23 (x3,
188 97 : E_SImode); /* [-1, 2] */
189 :
190 12 : case E_DImode:
191 12 : res = pattern23 (x3,
192 : E_DImode);
193 12 : if (res >= 0)
194 3 : return res + 3; /* [3, 5] */
195 : return -1;
196 :
197 : default:
198 : return -1;
199 : }
200 :
201 14665 : case SUBREG:
202 14665 : case MEM:
203 14665 : operands[1] = x4;
204 14665 : if (!memory_operand (operands[1], E_HFmode))
205 : return -1;
206 0 : res = pattern24 (x3);
207 0 : if (res >= 0)
208 0 : return res + 6; /* [6, 7] */
209 : return -1;
210 :
211 : default:
212 : return -1;
213 : }
214 : }
215 :
216 : int
217 592 : pattern32 (rtx x1, machine_mode i1)
218 : {
219 592 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
220 592 : int res ATTRIBUTE_UNUSED;
221 592 : if (!register_operand (operands[0], i1)
222 530 : || GET_MODE (x1) != i1
223 530 : || !nonimmediate_operand (operands[1], i1)
224 1122 : || !const_0_to_255_operand (operands[2], E_SImode))
225 62 : return -1;
226 : return 0;
227 : }
228 :
229 : int
230 859947 : pattern35 (rtx x1)
231 : {
232 859947 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
233 859947 : rtx x2, x3, x4, x5;
234 859947 : int res ATTRIBUTE_UNUSED;
235 859947 : x2 = XEXP (x1, 0);
236 859947 : operands[0] = x2;
237 859947 : x3 = XEXP (x1, 1);
238 859947 : x4 = XEXP (x3, 0);
239 859947 : switch (GET_CODE (x4))
240 : {
241 236401 : case REG:
242 236401 : case SUBREG:
243 236401 : case MEM:
244 236401 : operands[1] = x4;
245 236401 : switch (GET_MODE (operands[0]))
246 : {
247 5445 : case E_V16HImode:
248 5445 : if (!register_operand (operands[0], E_V16HImode)
249 5418 : || GET_MODE (x3) != E_V16HImode
250 10863 : || !nonimmediate_operand (operands[1], E_V16QImode))
251 483 : return -1;
252 : return 0;
253 :
254 1844 : case E_V32HImode:
255 1844 : if (!register_operand (operands[0], E_V32HImode)
256 1830 : || GET_MODE (x3) != E_V32HImode
257 3674 : || !nonimmediate_operand (operands[1], E_V32QImode))
258 14 : return -1;
259 : return 1;
260 :
261 1391 : case E_V8HImode:
262 1391 : if (!register_operand (operands[0], E_V8HImode)
263 1389 : || GET_MODE (x3) != E_V8HImode
264 2780 : || !memory_operand (operands[1], E_V8QImode))
265 371 : return -1;
266 : return 2;
267 :
268 1470 : case E_V16SImode:
269 1470 : if (!register_operand (operands[0], E_V16SImode)
270 1470 : || GET_MODE (x3) != E_V16SImode)
271 : return -1;
272 1396 : switch (GET_MODE (operands[1]))
273 : {
274 157 : case E_V16QImode:
275 157 : if (!nonimmediate_operand (operands[1], E_V16QImode))
276 6 : return -1;
277 : return 3;
278 :
279 1239 : case E_V16HImode:
280 1239 : if (!nonimmediate_operand (operands[1], E_V16HImode))
281 0 : return -1;
282 : return 4;
283 :
284 : default:
285 : return -1;
286 : }
287 :
288 4466 : case E_V8SImode:
289 4466 : if (!register_operand (operands[0], E_V8SImode)
290 4466 : || GET_MODE (x3) != E_V8SImode)
291 : return -1;
292 4442 : switch (GET_MODE (operands[1]))
293 : {
294 23 : case E_V8QImode:
295 23 : if (!memory_operand (operands[1], E_V8QImode))
296 9 : return -1;
297 : return 5;
298 :
299 4419 : case E_V8HImode:
300 4419 : if (!nonimmediate_operand (operands[1], E_V8HImode))
301 0 : return -1;
302 : return 6;
303 :
304 : default:
305 : return -1;
306 : }
307 :
308 235 : case E_V4SImode:
309 235 : if (!register_operand (operands[0], E_V4SImode)
310 235 : || GET_MODE (x3) != E_V4SImode)
311 : return -1;
312 231 : switch (GET_MODE (operands[1]))
313 : {
314 64 : case E_V4QImode:
315 64 : if (!memory_operand (operands[1], E_V4QImode))
316 16 : return -1;
317 : return 7;
318 :
319 161 : case E_V4HImode:
320 161 : if (!memory_operand (operands[1], E_V4HImode))
321 82 : return -1;
322 : return 8;
323 :
324 : default:
325 : return -1;
326 : }
327 :
328 1633 : case E_V8DImode:
329 1633 : if (!register_operand (operands[0], E_V8DImode)
330 1633 : || GET_MODE (x3) != E_V8DImode)
331 : return -1;
332 1322 : switch (GET_MODE (operands[1]))
333 : {
334 14 : case E_V8QImode:
335 14 : if (!memory_operand (operands[1], E_V8QImode))
336 1 : return -1;
337 : return 9;
338 :
339 146 : case E_V8HImode:
340 146 : if (!nonimmediate_operand (operands[1], E_V8HImode))
341 6 : return -1;
342 : return 10;
343 :
344 1162 : case E_V8SImode:
345 1162 : if (!nonimmediate_operand (operands[1], E_V8SImode))
346 0 : return -1;
347 : return 11;
348 :
349 : default:
350 : return -1;
351 : }
352 :
353 4457 : case E_V4DImode:
354 4457 : if (!register_operand (operands[0], E_V4DImode)
355 4457 : || GET_MODE (x3) != E_V4DImode)
356 : return -1;
357 3878 : switch (GET_MODE (operands[1]))
358 : {
359 18 : case E_V4QImode:
360 18 : if (!memory_operand (operands[1], E_V4QImode))
361 5 : return -1;
362 : return 12;
363 :
364 244 : case E_V4HImode:
365 244 : if (!memory_operand (operands[1], E_V4HImode))
366 1 : return -1;
367 : return 13;
368 :
369 3616 : case E_V4SImode:
370 3616 : if (!nonimmediate_operand (operands[1], E_V4SImode))
371 0 : return -1;
372 : return 14;
373 :
374 : default:
375 : return -1;
376 : }
377 :
378 68 : case E_V2DImode:
379 68 : if (!register_operand (operands[0], E_V2DImode)
380 68 : || GET_MODE (x3) != E_V2DImode)
381 : return -1;
382 58 : switch (GET_MODE (operands[1]))
383 : {
384 17 : case E_V2QImode:
385 17 : if (!memory_operand (operands[1], E_V2QImode))
386 3 : return -1;
387 : return 15;
388 :
389 14 : case E_V2HImode:
390 14 : if (!memory_operand (operands[1], E_V2HImode))
391 1 : return -1;
392 : return 16;
393 :
394 27 : case E_V2SImode:
395 27 : if (!memory_operand (operands[1], E_V2SImode))
396 1 : return -1;
397 : return 17;
398 :
399 : default:
400 : return -1;
401 : }
402 :
403 : default:
404 : return -1;
405 : }
406 :
407 80578 : case VEC_SELECT:
408 80578 : x5 = XEXP (x4, 1);
409 80578 : if (GET_CODE (x5) != PARALLEL)
410 0 : return -1;
411 : return 18;
412 :
413 : default:
414 : return -1;
415 : }
416 : }
417 :
418 : int
419 200623 : pattern54 (rtx x1, int *pnum_clobbers)
420 : {
421 200623 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
422 200623 : rtx x2, x3, x4, x5, x6, x7;
423 200623 : int res ATTRIBUTE_UNUSED;
424 200623 : if (pnum_clobbers == NULL)
425 : return -1;
426 200394 : x2 = XEXP (x1, 1);
427 200394 : x3 = XEXP (x2, 1);
428 200394 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
429 : return -1;
430 38732 : x4 = XEXP (x1, 0);
431 38732 : if (GET_CODE (x4) != REG
432 38732 : || REGNO (x4) != 17)
433 : return -1;
434 38732 : x5 = XEXP (x2, 0);
435 38732 : x6 = XEXP (x5, 0);
436 38732 : operands[1] = x6;
437 38732 : x7 = XEXP (x5, 1);
438 38732 : operands[2] = x7;
439 38732 : switch (GET_MODE (x5))
440 : {
441 615 : case E_QImode:
442 615 : if (!nonimmediate_operand (operands[1], E_QImode)
443 615 : || !const_1_to_31_operand (operands[2], E_QImode))
444 83 : return -1;
445 : return 0;
446 :
447 781 : case E_HImode:
448 781 : if (!nonimmediate_operand (operands[1], E_HImode)
449 781 : || !const_1_to_31_operand (operands[2], E_QImode))
450 39 : return -1;
451 : return 1;
452 :
453 4028 : case E_SImode:
454 4028 : if (!nonimmediate_operand (operands[1], E_SImode)
455 4028 : || !const_1_to_31_operand (operands[2], E_QImode))
456 1610 : return -1;
457 : return 2;
458 :
459 32636 : case E_DImode:
460 32636 : if (!nonimmediate_operand (operands[1], E_DImode)
461 32636 : || !const_1_to_63_operand (operands[2], E_QImode))
462 3668 : return -1;
463 : return 3;
464 :
465 : default:
466 : return -1;
467 : }
468 : }
469 :
470 : int
471 6125 : pattern64 (rtx x1)
472 : {
473 6125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
474 6125 : rtx x2, x3, x4;
475 6125 : int res ATTRIBUTE_UNUSED;
476 6125 : x2 = XEXP (x1, 1);
477 6125 : x3 = XEXP (x2, 0);
478 6125 : operands[1] = x3;
479 6125 : x4 = XEXP (x2, 1);
480 6125 : operands[3] = x4;
481 6125 : return pattern63 (x1); /* [-1, 1] */
482 : }
483 :
484 : int
485 101769 : pattern65 (rtx x1, machine_mode i1, machine_mode i2)
486 : {
487 101769 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
488 101769 : rtx x2, x3, x4;
489 101769 : int res ATTRIBUTE_UNUSED;
490 101769 : if (!nonimmediate_operand (operands[0], i2)
491 101769 : || GET_MODE (x1) != i2)
492 : return -1;
493 101709 : x2 = XEXP (x1, 0);
494 101709 : if (GET_MODE (x2) != i2)
495 : return -1;
496 101709 : x3 = XEXP (x2, 0);
497 101709 : if (GET_MODE (x3) != i2
498 101709 : || !nonimmediate_operand (operands[1], i1))
499 : return -1;
500 99146 : x4 = XEXP (x1, 1);
501 99146 : if (GET_MODE (x4) != i2
502 99146 : || !nonimmediate_operand (operands[3], i1))
503 1206 : return -1;
504 : return 0;
505 : }
506 :
507 : int
508 0 : pattern69 (rtx x1, machine_mode i1, machine_mode i2)
509 : {
510 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
511 0 : rtx x2, x3, x4;
512 0 : int res ATTRIBUTE_UNUSED;
513 0 : if (!nonimmediate_operand (operands[0], i2)
514 0 : || GET_MODE (x1) != i2)
515 : return -1;
516 0 : x2 = XEXP (x1, 0);
517 0 : if (GET_MODE (x2) != i2
518 0 : || !nonimmediate_operand (operands[1], i1))
519 : return -1;
520 0 : x3 = XEXP (x1, 1);
521 0 : if (GET_MODE (x3) != i2)
522 : return -1;
523 0 : x4 = XEXP (x3, 0);
524 0 : if (GET_MODE (x4) != i2
525 0 : || !nonimmediate_operand (operands[2], i1))
526 0 : return -1;
527 : return 0;
528 : }
529 :
530 : int
531 539910 : pattern75 (rtx x1)
532 : {
533 539910 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
534 539910 : rtx x2, x3, x4, x5;
535 539910 : int res ATTRIBUTE_UNUSED;
536 539910 : x2 = XEXP (x1, 0);
537 539910 : operands[0] = x2;
538 539910 : x3 = XEXP (x1, 1);
539 539910 : x4 = XEXP (x3, 0);
540 539910 : operands[1] = x4;
541 539910 : x5 = XEXP (x3, 1);
542 539910 : operands[2] = x5;
543 539910 : if (!const_int_operand (operands[2], E_VOIDmode))
544 : return -1;
545 518460 : switch (GET_MODE (operands[0]))
546 : {
547 3048 : case E_QImode:
548 3048 : if (!mask_reg_operand (operands[0], E_QImode)
549 0 : || GET_MODE (x3) != E_QImode
550 3048 : || !mask_reg_operand (operands[1], E_QImode))
551 3048 : return -1;
552 : return 0;
553 :
554 2834 : case E_HImode:
555 2834 : if (!mask_reg_operand (operands[0], E_HImode)
556 0 : || GET_MODE (x3) != E_HImode
557 2834 : || !mask_reg_operand (operands[1], E_HImode))
558 2834 : return -1;
559 : return 1;
560 :
561 39946 : case E_SImode:
562 39946 : if (!mask_reg_operand (operands[0], E_SImode)
563 0 : || GET_MODE (x3) != E_SImode
564 39946 : || !mask_reg_operand (operands[1], E_SImode))
565 39946 : return -1;
566 : return 2;
567 :
568 166524 : case E_DImode:
569 166524 : if (!mask_reg_operand (operands[0], E_DImode)
570 0 : || GET_MODE (x3) != E_DImode
571 166524 : || !mask_reg_operand (operands[1], E_DImode))
572 166524 : return -1;
573 : return 3;
574 :
575 : default:
576 : return -1;
577 : }
578 : }
579 :
580 : int
581 517 : pattern82 (rtx x1, int *pnum_clobbers, machine_mode i1)
582 : {
583 517 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
584 517 : rtx x2, x3, x4;
585 517 : int res ATTRIBUTE_UNUSED;
586 517 : if (pnum_clobbers == NULL)
587 : return -1;
588 517 : x2 = XEXP (x1, 1);
589 517 : if (GET_MODE (x2) != i1)
590 : return -1;
591 517 : x3 = XEXP (x1, 0);
592 517 : operands[0] = x3;
593 517 : if (!register_operand (operands[0], i1))
594 : return -1;
595 500 : x4 = XVECEXP (x2, 0, 0);
596 500 : operands[1] = x4;
597 500 : if (!register_operand (operands[1], i1))
598 366 : return -1;
599 : return 0;
600 : }
601 :
602 : int
603 48174 : pattern85 (rtx x1)
604 : {
605 48174 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
606 48174 : rtx x2, x3, x4, x5;
607 48174 : int res ATTRIBUTE_UNUSED;
608 48174 : x2 = XEXP (x1, 0);
609 48174 : operands[0] = x2;
610 48174 : x3 = XEXP (x1, 1);
611 48174 : x4 = XVECEXP (x3, 0, 0);
612 48174 : operands[1] = x4;
613 48174 : x5 = XVECEXP (x3, 0, 1);
614 48174 : operands[2] = x5;
615 48174 : switch (GET_MODE (operands[0]))
616 : {
617 402 : case E_HFmode:
618 402 : return pattern84 (x3,
619 402 : E_HFmode); /* [-1, 0] */
620 :
621 31639 : case E_SFmode:
622 31639 : if (pattern84 (x3,
623 : E_SFmode) != 0)
624 5058 : return -1;
625 : return 1;
626 :
627 5650 : case E_DFmode:
628 5650 : if (pattern84 (x3,
629 : E_DFmode) != 0)
630 1483 : return -1;
631 : return 2;
632 :
633 : default:
634 : return -1;
635 : }
636 : }
637 :
638 : int
639 56 : pattern92 (rtx x1)
640 : {
641 56 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
642 56 : rtx x2;
643 56 : int res ATTRIBUTE_UNUSED;
644 56 : if (!register_operand (operands[0], E_HImode)
645 56 : || GET_MODE (x1) != E_HImode)
646 : return -1;
647 56 : x2 = XVECEXP (x1, 0, 0);
648 56 : switch (GET_MODE (x2))
649 : {
650 28 : case E_V16QImode:
651 28 : if (!vector_operand (operands[1], E_V16QImode)
652 28 : || !vector_operand (operands[2], E_V16QImode)
653 56 : || !const0_operand (operands[3], E_V16QImode))
654 14 : return -1;
655 : return 0;
656 :
657 28 : case E_V16HImode:
658 28 : if (!vector_operand (operands[1], E_V16HImode)
659 28 : || !vector_operand (operands[2], E_V16HImode)
660 56 : || !const0_operand (operands[3], E_V16HImode))
661 14 : return -1;
662 : return 1;
663 :
664 : default:
665 : return -1;
666 : }
667 : }
668 :
669 : int
670 1822 : pattern99 (rtx x1, int *pnum_clobbers, machine_mode i1)
671 : {
672 1822 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
673 1822 : int res ATTRIBUTE_UNUSED;
674 1822 : if (pnum_clobbers == NULL
675 1822 : || !nonimmediate_operand (operands[0], i1)
676 1822 : || GET_MODE (x1) != i1
677 1822 : || !nonimmediate_operand (operands[1], i1)
678 3640 : || !nonimmediate_or_x86_64_const_vector_operand (operands[2], i1))
679 41 : return -1;
680 : return 0;
681 : }
682 :
683 : int
684 14296 : pattern103 (rtx x1)
685 : {
686 14296 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
687 14296 : rtx x2, x3, x4;
688 14296 : int res ATTRIBUTE_UNUSED;
689 14296 : x2 = XEXP (x1, 0);
690 14296 : if (GET_MODE (x2) != E_QImode
691 8724 : || !register_operand (operands[0], E_HImode)
692 14494 : || GET_MODE (x1) != E_HImode)
693 : return -1;
694 198 : x3 = XEXP (x2, 0);
695 198 : operands[1] = x3;
696 198 : if (!nonimmediate_operand (operands[1], E_QImode))
697 : return -1;
698 179 : x4 = XEXP (x2, 1);
699 179 : operands[2] = x4;
700 179 : if (!x86_64_general_operand (operands[2], E_QImode))
701 0 : return -1;
702 : return 0;
703 : }
704 :
705 : int
706 13939382 : pattern107 (rtx x1, machine_mode i1, int i2, int i3)
707 : {
708 13939382 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
709 13939382 : int res ATTRIBUTE_UNUSED;
710 13939382 : if (GET_CODE (x1) != UNSPEC
711 25690 : || XVECLEN (x1, 0) != i3
712 19749 : || XINT (x1, 1) != i2
713 17691 : || GET_MODE (x1) != i1)
714 13921691 : return -1;
715 : return 0;
716 : }
717 :
718 : int
719 11233 : pattern109 (rtx x1, machine_mode i1, machine_mode i2)
720 : {
721 11233 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
722 11233 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
723 11233 : rtx x10;
724 11233 : int res ATTRIBUTE_UNUSED;
725 11233 : x2 = XEXP (x1, 0);
726 11233 : x3 = XEXP (x2, 0);
727 11233 : x4 = XEXP (x3, 0);
728 11233 : x5 = XEXP (x4, 0);
729 11233 : operands[2] = x5;
730 11233 : if (!nonimmediate_operand (operands[2], i2))
731 : return -1;
732 11211 : x6 = XEXP (x3, 1);
733 11211 : operands[3] = x6;
734 11211 : if (!const_int_operand (operands[3], E_QImode))
735 : return -1;
736 11211 : x7 = XEXP (x2, 1);
737 11211 : x8 = XEXP (x7, 0);
738 11211 : operands[4] = x8;
739 11211 : if (!nonimmediate_operand (operands[4], i2))
740 : return -1;
741 11186 : x9 = XEXP (x1, 1);
742 11186 : switch (GET_CODE (x9))
743 : {
744 2101 : case REG:
745 2101 : case SUBREG:
746 2101 : operands[1] = x9;
747 2101 : if (!register_operand (operands[1], i1))
748 0 : return -1;
749 : return 0;
750 :
751 14 : case ZERO_EXTEND:
752 14 : if (GET_MODE (x9) != i1)
753 : return -1;
754 14 : x10 = XEXP (x9, 0);
755 14 : operands[1] = x10;
756 14 : if (!nonimmediate_operand (operands[1], i2))
757 9 : return -1;
758 : return 1;
759 :
760 : default:
761 : return -1;
762 : }
763 : }
764 :
765 : int
766 1241 : pattern117 (rtx x1)
767 : {
768 1241 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
769 1241 : rtx x2, x3, x4, x5;
770 1241 : int res ATTRIBUTE_UNUSED;
771 1241 : x2 = XEXP (x1, 1);
772 1241 : if (GET_MODE (x2) != E_BLKmode)
773 : return -1;
774 1241 : x3 = XEXP (x1, 0);
775 1241 : operands[0] = x3;
776 1241 : if (!memory_operand (operands[0], E_BLKmode))
777 : return -1;
778 1241 : x4 = XVECEXP (x2, 0, 0);
779 1241 : operands[1] = x4;
780 1241 : if (!register_operand (operands[1], E_SImode))
781 : return -1;
782 1200 : x5 = XVECEXP (x2, 0, 1);
783 1200 : operands[2] = x5;
784 1200 : if (!register_operand (operands[2], E_SImode))
785 482 : return -1;
786 : return 0;
787 : }
788 :
789 : int
790 865 : pattern123 (rtx x1, machine_mode i1)
791 : {
792 865 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
793 865 : rtx x2;
794 865 : int res ATTRIBUTE_UNUSED;
795 865 : if (!memory_operand (operands[0], i1)
796 865 : || GET_MODE (x1) != i1)
797 : return -1;
798 865 : x2 = XEXP (x1, 0);
799 865 : if (GET_MODE (x2) != i1)
800 : return -1;
801 865 : switch (GET_MODE (operands[1]))
802 : {
803 452 : case E_V4SImode:
804 452 : if (!register_operand (operands[1], E_V4SImode))
805 0 : return -1;
806 : return 0;
807 :
808 413 : case E_V4DImode:
809 413 : if (!register_operand (operands[1], E_V4DImode))
810 0 : return -1;
811 : return 1;
812 :
813 : default:
814 : return -1;
815 : }
816 : }
817 :
818 : int
819 42029 : pattern127 (rtx x1, int *pnum_clobbers)
820 : {
821 42029 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
822 42029 : rtx x2, x3, x4, x5;
823 42029 : int res ATTRIBUTE_UNUSED;
824 42029 : if (pnum_clobbers == NULL)
825 : return -1;
826 42029 : x2 = XEXP (x1, 0);
827 42029 : if (GET_MODE (x2) != E_DImode)
828 : return -1;
829 5504 : x3 = XEXP (x2, 0);
830 5504 : if (GET_CODE (x3) != ASHIFT
831 502 : || GET_MODE (x3) != E_DImode)
832 : return -1;
833 502 : x4 = XEXP (x3, 0);
834 502 : if (GET_CODE (x4) != ZERO_EXTEND
835 28 : || GET_MODE (x4) != E_DImode)
836 : return -1;
837 28 : x5 = XEXP (x2, 1);
838 28 : if (GET_CODE (x5) != ZERO_EXTEND
839 14 : || GET_MODE (x5) != E_DImode)
840 : return -1;
841 14 : return pattern110 (x1,
842 : E_DImode,
843 14 : E_SImode); /* [-1, 1] */
844 : }
845 :
846 : int
847 2621 : pattern131 (rtx x1)
848 : {
849 2621 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
850 2621 : rtx x2, x3, x4;
851 2621 : int res ATTRIBUTE_UNUSED;
852 2621 : x2 = XEXP (x1, 0);
853 2621 : if (GET_MODE (x2) != E_SImode
854 105 : || !register_operand (operands[0], E_DImode)
855 2726 : || GET_MODE (x1) != E_DImode)
856 : return -1;
857 105 : x3 = XEXP (x2, 0);
858 105 : operands[1] = x3;
859 105 : if (!register_operand (operands[1], E_SImode))
860 : return -1;
861 105 : x4 = XEXP (x2, 1);
862 105 : operands[2] = x4;
863 105 : if (!nonimmediate_operand (operands[2], E_SImode))
864 8 : return -1;
865 : return 0;
866 : }
867 :
868 : int
869 455 : pattern135 (rtx x1, int *pnum_clobbers, machine_mode i1, machine_mode i2)
870 : {
871 455 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
872 455 : rtx x2, x3;
873 455 : int res ATTRIBUTE_UNUSED;
874 455 : if (pnum_clobbers == NULL)
875 : return -1;
876 455 : x2 = XEXP (x1, 0);
877 455 : if (GET_MODE (x2) != E_SImode
878 454 : || !register_operand (operands[0], i2)
879 907 : || GET_MODE (x1) != i2)
880 : return -1;
881 452 : x3 = XEXP (x2, 0);
882 452 : operands[1] = x3;
883 452 : if (!nonimmediate_operand (operands[1], i1))
884 68 : return -1;
885 : return 0;
886 : }
887 :
888 : int
889 23379 : pattern139 (rtx x1, rtx_code i1)
890 : {
891 23379 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
892 23379 : rtx x2, x3, x4, x5, x6;
893 23379 : int res ATTRIBUTE_UNUSED;
894 23379 : x2 = XEXP (x1, 1);
895 23379 : if (maybe_ne (SUBREG_BYTE (x2), 0))
896 : return -1;
897 22741 : x3 = XEXP (x2, 0);
898 22741 : if (GET_CODE (x3) != i1)
899 : return -1;
900 1261 : x4 = XEXP (x3, 0);
901 1261 : if (GET_CODE (x4) != ZERO_EXTEND)
902 : return -1;
903 995 : switch (GET_MODE (operands[0]))
904 : {
905 896 : case E_DImode:
906 896 : if (GET_MODE (x1) != E_DImode)
907 : return -1;
908 896 : x5 = XEXP (x1, 0);
909 896 : if (GET_MODE (x5) != E_DImode)
910 : return -1;
911 896 : x6 = XEXP (x5, 1);
912 896 : if (!const_0_to_63_operand (x6, E_QImode))
913 0 : return -1;
914 : return 0;
915 :
916 99 : case E_SImode:
917 99 : if (GET_MODE (x1) != E_SImode)
918 : return -1;
919 99 : x5 = XEXP (x1, 0);
920 99 : if (GET_MODE (x5) != E_SImode)
921 : return -1;
922 99 : x6 = XEXP (x5, 1);
923 99 : if (!const_0_to_31_operand (x6, E_QImode))
924 0 : return -1;
925 : return 1;
926 :
927 : default:
928 : return -1;
929 : }
930 : }
931 :
932 : int
933 1076 : pattern146 (rtx x1, machine_mode i1)
934 : {
935 1076 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
936 1076 : rtx x2;
937 1076 : int res ATTRIBUTE_UNUSED;
938 1076 : if (!register_operand (operands[0], i1)
939 1076 : || GET_MODE (x1) != i1)
940 : return -1;
941 1029 : x2 = XEXP (x1, 0);
942 1029 : if (GET_MODE (x2) != i1
943 1029 : || !register_operand (operands[3], i1))
944 109 : return -1;
945 : return 0;
946 : }
947 :
948 : int
949 316053 : pattern149 (rtx x1, int *pnum_clobbers)
950 : {
951 316053 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
952 316053 : rtx x2, x3, x4, x5;
953 316053 : int res ATTRIBUTE_UNUSED;
954 316053 : x2 = XEXP (x1, 0);
955 316053 : x3 = XEXP (x2, 0);
956 316053 : switch (GET_CODE (x3))
957 : {
958 245236 : case REG:
959 245236 : case SUBREG:
960 245236 : case MEM:
961 245236 : x4 = XEXP (x2, 1);
962 245236 : switch (GET_CODE (x4))
963 : {
964 243715 : case CONST_INT:
965 243715 : case CONST_WIDE_INT:
966 243715 : case CONST_POLY_INT:
967 243715 : case CONST_FIXED:
968 243715 : case CONST_DOUBLE:
969 243715 : case CONST_VECTOR:
970 243715 : case CONST:
971 243715 : case REG:
972 243715 : case SUBREG:
973 243715 : case LABEL_REF:
974 243715 : case SYMBOL_REF:
975 243715 : case HIGH:
976 243715 : x5 = XEXP (x1, 1);
977 243715 : switch (GET_CODE (x5))
978 : {
979 12178 : case CONST_INT:
980 12178 : case CONST_WIDE_INT:
981 12178 : operands[3] = x5;
982 12178 : operands[1] = x3;
983 12178 : operands[2] = x4;
984 12178 : switch (GET_MODE (operands[0]))
985 : {
986 8071 : case E_SImode:
987 8071 : return pattern59 (x1,
988 8071 : E_SImode); /* [-1, 0] */
989 :
990 1709 : case E_DImode:
991 1709 : if (GET_MODE (x1) != E_DImode
992 1709 : || GET_MODE (x2) != E_DImode)
993 0 : return -1;
994 : return 1;
995 :
996 : default:
997 : return -1;
998 : }
999 :
1000 24463 : case ZERO_EXTEND:
1001 24463 : if (pattern138 (x1) != 0)
1002 24102 : return -1;
1003 : return 2;
1004 :
1005 11228 : case SUBREG:
1006 11228 : res = pattern139 (x1,
1007 : LSHIFTRT);
1008 11228 : if (res >= 0)
1009 807 : return res + 3; /* [3, 4] */
1010 : return -1;
1011 :
1012 3328 : case LSHIFTRT:
1013 3328 : res = pattern141 (x1, pnum_clobbers);
1014 3328 : if (res >= 0)
1015 473 : return res + 5; /* [5, 8] */
1016 : return -1;
1017 :
1018 : default:
1019 : return -1;
1020 : }
1021 :
1022 468 : case AND:
1023 468 : res = pattern144 (x1);
1024 468 : if (res >= 0)
1025 360 : return res + 9; /* [9, 10] */
1026 : return -1;
1027 :
1028 : default:
1029 : return -1;
1030 : }
1031 :
1032 379 : case SIGN_EXTEND:
1033 379 : res = pattern145 (x1,
1034 : E_SImode,
1035 : E_DImode);
1036 379 : if (res >= 0)
1037 69 : return res + 11; /* [11, 12] */
1038 : return -1;
1039 :
1040 40367 : case ZERO_EXTEND:
1041 40367 : res = pattern145 (x1,
1042 : E_SImode,
1043 : E_DImode);
1044 40367 : if (res >= 0)
1045 452 : return res + 13; /* [13, 14] */
1046 : return -1;
1047 :
1048 1466 : case CONST_INT:
1049 1466 : if (pnum_clobbers == NULL
1050 1466 : || XWINT (x3, 0) != 1L)
1051 : return -1;
1052 804 : res = pattern148 (x1);
1053 804 : if (res >= 0)
1054 732 : return res + 15; /* [15, 17] */
1055 : return -1;
1056 :
1057 : default:
1058 : return -1;
1059 : }
1060 : }
1061 :
1062 : int
1063 9327 : pattern167 (rtx x1, machine_mode i1, machine_mode i2)
1064 : {
1065 9327 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1066 9327 : rtx x2;
1067 9327 : int res ATTRIBUTE_UNUSED;
1068 9327 : if (!register_operand (operands[0], i1)
1069 9327 : || GET_MODE (x1) != i1)
1070 : return -1;
1071 8924 : x2 = XEXP (x1, 0);
1072 8924 : if (GET_MODE (x2) != i1
1073 8924 : || !vector_operand (operands[1], i1)
1074 8826 : || !vector_operand (operands[2], i1)
1075 8348 : || !nonimm_or_0_operand (operands[3], i1)
1076 16986 : || !register_operand (operands[4], i2))
1077 1300 : return -1;
1078 : return 0;
1079 : }
1080 :
1081 : int
1082 8732 : pattern173 (rtx x1)
1083 : {
1084 8732 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1085 8732 : rtx x2, x3, x4, x5, x6;
1086 8732 : int res ATTRIBUTE_UNUSED;
1087 8732 : x2 = XEXP (x1, 0);
1088 8732 : x3 = XEXP (x2, 0);
1089 8732 : operands[1] = x3;
1090 8732 : x4 = XEXP (x2, 1);
1091 8732 : operands[2] = x4;
1092 8732 : x5 = XEXP (x1, 2);
1093 8732 : switch (GET_CODE (x5))
1094 : {
1095 8041 : case REG:
1096 8041 : case SUBREG:
1097 8041 : operands[4] = x5;
1098 8041 : x6 = XEXP (x1, 1);
1099 8041 : operands[3] = x6;
1100 8041 : switch (GET_MODE (operands[0]))
1101 : {
1102 0 : case E_V32HFmode:
1103 0 : return pattern167 (x1,
1104 : E_V32HFmode,
1105 0 : E_SImode); /* [-1, 0] */
1106 :
1107 120 : case E_V16HFmode:
1108 120 : if (pattern167 (x1,
1109 : E_V16HFmode,
1110 : E_HImode) != 0)
1111 60 : return -1;
1112 : return 1;
1113 :
1114 0 : case E_V8HFmode:
1115 0 : if (pattern167 (x1,
1116 : E_V8HFmode,
1117 : E_QImode) != 0)
1118 0 : return -1;
1119 : return 2;
1120 :
1121 0 : case E_V16SFmode:
1122 0 : if (pattern167 (x1,
1123 : E_V16SFmode,
1124 : E_HImode) != 0)
1125 0 : return -1;
1126 : return 3;
1127 :
1128 80 : case E_V8SFmode:
1129 80 : if (pattern167 (x1,
1130 : E_V8SFmode,
1131 : E_QImode) != 0)
1132 40 : return -1;
1133 : return 4;
1134 :
1135 0 : case E_V4SFmode:
1136 0 : if (pattern167 (x1,
1137 : E_V4SFmode,
1138 : E_QImode) != 0)
1139 0 : return -1;
1140 : return 5;
1141 :
1142 0 : case E_V8DFmode:
1143 0 : if (pattern167 (x1,
1144 : E_V8DFmode,
1145 : E_QImode) != 0)
1146 0 : return -1;
1147 : return 6;
1148 :
1149 132 : case E_V4DFmode:
1150 132 : if (pattern167 (x1,
1151 : E_V4DFmode,
1152 : E_QImode) != 0)
1153 72 : return -1;
1154 : return 7;
1155 :
1156 0 : case E_V2DFmode:
1157 0 : if (pattern167 (x1,
1158 : E_V2DFmode,
1159 : E_QImode) != 0)
1160 0 : return -1;
1161 : return 8;
1162 :
1163 486 : case E_V16SImode:
1164 486 : if (pattern168 (x1,
1165 : E_V16SImode,
1166 : E_HImode) != 0)
1167 80 : return -1;
1168 : return 9;
1169 :
1170 564 : case E_V8SImode:
1171 564 : if (pattern168 (x1,
1172 : E_V8SImode,
1173 : E_QImode) != 0)
1174 140 : return -1;
1175 : return 10;
1176 :
1177 350 : case E_V4SImode:
1178 350 : if (pattern169 (x1,
1179 : E_QImode,
1180 : E_V4SImode) != 0)
1181 2 : return -1;
1182 : return 11;
1183 :
1184 949 : case E_V8DImode:
1185 949 : if (pattern168 (x1,
1186 : E_V8DImode,
1187 : E_QImode) != 0)
1188 92 : return -1;
1189 : return 12;
1190 :
1191 680 : case E_V4DImode:
1192 680 : if (pattern168 (x1,
1193 : E_V4DImode,
1194 : E_QImode) != 0)
1195 164 : return -1;
1196 : return 13;
1197 :
1198 452 : case E_V2DImode:
1199 452 : if (pattern168 (x1,
1200 : E_V2DImode,
1201 : E_QImode) != 0)
1202 14 : return -1;
1203 : return 14;
1204 :
1205 458 : case E_V64QImode:
1206 458 : if (pattern168 (x1,
1207 : E_V64QImode,
1208 : E_DImode) != 0)
1209 32 : return -1;
1210 : return 15;
1211 :
1212 412 : case E_V16QImode:
1213 412 : if (pattern169 (x1,
1214 : E_HImode,
1215 : E_V16QImode) != 0)
1216 16 : return -1;
1217 : return 16;
1218 :
1219 542 : case E_V32QImode:
1220 542 : if (pattern168 (x1,
1221 : E_V32QImode,
1222 : E_SImode) != 0)
1223 110 : return -1;
1224 : return 17;
1225 :
1226 462 : case E_V32HImode:
1227 462 : if (pattern168 (x1,
1228 : E_V32HImode,
1229 : E_SImode) != 0)
1230 52 : return -1;
1231 : return 18;
1232 :
1233 658 : case E_V16HImode:
1234 658 : if (pattern168 (x1,
1235 : E_V16HImode,
1236 : E_HImode) != 0)
1237 170 : return -1;
1238 : return 19;
1239 :
1240 412 : case E_V8HImode:
1241 412 : if (pattern168 (x1,
1242 : E_V8HImode,
1243 : E_QImode) != 0)
1244 36 : return -1;
1245 : return 20;
1246 :
1247 426 : case E_V32BFmode:
1248 426 : if (pattern170 (x1,
1249 : E_V32BFmode,
1250 : E_SImode) != 0)
1251 48 : return -1;
1252 : return 21;
1253 :
1254 432 : case E_V16BFmode:
1255 432 : if (pattern170 (x1,
1256 : E_V16BFmode,
1257 : E_HImode) != 0)
1258 44 : return -1;
1259 : return 22;
1260 :
1261 426 : case E_V8BFmode:
1262 426 : if (pattern170 (x1,
1263 : E_V8BFmode,
1264 : E_QImode) != 0)
1265 36 : return -1;
1266 : return 23;
1267 :
1268 : default:
1269 : return -1;
1270 : }
1271 :
1272 407 : case CONST_INT:
1273 407 : res = pattern172 (x1);
1274 407 : if (res >= 0)
1275 0 : return res + 24; /* [24, 26] */
1276 : return -1;
1277 :
1278 : default:
1279 : return -1;
1280 : }
1281 : }
1282 :
1283 : int
1284 9 : pattern190 (rtx x1, machine_mode i1, machine_mode i2)
1285 : {
1286 9 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1287 9 : rtx x2;
1288 9 : int res ATTRIBUTE_UNUSED;
1289 9 : if (!register_operand (operands[0], i1)
1290 9 : || GET_MODE (x1) != i1)
1291 : return -1;
1292 6 : x2 = XEXP (x1, 0);
1293 6 : if (GET_MODE (x2) != i1
1294 6 : || !memory_operand (operands[1], i2)
1295 6 : || !nonimm_or_0_operand (operands[2], i1)
1296 12 : || !register_operand (operands[3], E_QImode))
1297 0 : return -1;
1298 : return 0;
1299 : }
1300 :
1301 : int
1302 1604 : pattern194 (rtx x1, machine_mode i1)
1303 : {
1304 1604 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1305 1604 : int res ATTRIBUTE_UNUSED;
1306 1604 : if (!register_operand (operands[0], i1)
1307 1396 : || GET_MODE (x1) != i1
1308 1396 : || !vector_operand (operands[1], i1)
1309 2977 : || !vector_operand (operands[2], i1))
1310 239 : return -1;
1311 : return 0;
1312 : }
1313 :
1314 : int
1315 116 : pattern196 (rtx x1)
1316 : {
1317 116 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1318 116 : rtx x2, x3, x4, x5;
1319 116 : int res ATTRIBUTE_UNUSED;
1320 116 : x2 = XEXP (x1, 1);
1321 116 : if (GET_MODE (x2) != E_V32HImode)
1322 : return -1;
1323 116 : x3 = XEXP (x1, 0);
1324 116 : operands[0] = x3;
1325 116 : if (!register_operand (operands[0], E_V32HImode))
1326 : return -1;
1327 108 : x4 = XVECEXP (x2, 0, 0);
1328 108 : operands[1] = x4;
1329 108 : if (!nonimmediate_operand (operands[1], E_V32HImode))
1330 : return -1;
1331 108 : x5 = XVECEXP (x2, 0, 1);
1332 108 : operands[2] = x5;
1333 108 : if (!const_0_to_255_operand (operands[2], E_SImode))
1334 0 : return -1;
1335 : return 0;
1336 : }
1337 :
1338 : int
1339 413 : pattern199 (rtx x1, machine_mode i1)
1340 : {
1341 413 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1342 413 : rtx x2, x3, x4, x5;
1343 413 : int res ATTRIBUTE_UNUSED;
1344 413 : x2 = XEXP (x1, 1);
1345 413 : if (GET_MODE (x2) != i1)
1346 : return -1;
1347 413 : x3 = XEXP (x1, 0);
1348 413 : operands[0] = x3;
1349 413 : if (!register_operand (operands[0], i1))
1350 : return -1;
1351 398 : x4 = XVECEXP (x2, 0, 0);
1352 398 : operands[1] = x4;
1353 398 : if (!register_operand (operands[1], i1))
1354 : return -1;
1355 325 : x5 = XVECEXP (x2, 0, 1);
1356 325 : operands[2] = x5;
1357 325 : if (!register_operand (operands[2], i1))
1358 58 : return -1;
1359 : return 0;
1360 : }
1361 :
1362 : int
1363 2646 : pattern203 (rtx x1, machine_mode i1, machine_mode i2)
1364 : {
1365 2646 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1366 2646 : int res ATTRIBUTE_UNUSED;
1367 2646 : if (!register_operand (operands[0], i1)
1368 2598 : || GET_MODE (x1) != i1
1369 2598 : || !register_operand (operands[1], i2)
1370 5066 : || !nonimmediate_operand (operands[2], i2))
1371 313 : return -1;
1372 : return 0;
1373 : }
1374 :
1375 : int
1376 560 : pattern205 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
1377 : {
1378 560 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1379 560 : int res ATTRIBUTE_UNUSED;
1380 560 : if (!register_operand (operands[0], i3)
1381 550 : || GET_MODE (x1) != i3
1382 550 : || !register_operand (operands[1], i2)
1383 1094 : || !nonimmediate_operand (operands[2], i1))
1384 26 : return -1;
1385 : return 0;
1386 : }
1387 :
1388 : int
1389 212 : pattern208 (rtx x1)
1390 : {
1391 212 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1392 212 : rtx x2, x3, x4, x5;
1393 212 : int res ATTRIBUTE_UNUSED;
1394 212 : x2 = XEXP (x1, 1);
1395 212 : if (GET_MODE (x2) != E_V16QImode)
1396 : return -1;
1397 212 : x3 = XEXP (x1, 0);
1398 212 : operands[0] = x3;
1399 212 : if (!register_operand (operands[0], E_V16QImode))
1400 : return -1;
1401 212 : x4 = XVECEXP (x2, 0, 0);
1402 212 : operands[1] = x4;
1403 212 : if (!register_operand (operands[1], E_V16SImode))
1404 : return -1;
1405 212 : x5 = XVECEXP (x2, 0, 1);
1406 212 : operands[2] = x5;
1407 212 : if (!nonimmediate_operand (operands[2], E_V16SFmode))
1408 0 : return -1;
1409 : return 0;
1410 : }
1411 :
1412 : int
1413 200 : pattern212 (rtx x1)
1414 : {
1415 200 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1416 200 : rtx x2, x3;
1417 200 : int res ATTRIBUTE_UNUSED;
1418 200 : x2 = XEXP (x1, 1);
1419 200 : if (GET_MODE (x2) != E_V4SImode)
1420 : return -1;
1421 200 : x3 = XEXP (x1, 0);
1422 200 : operands[0] = x3;
1423 200 : return pattern211 (x2); /* [-1, 0] */
1424 : }
1425 :
1426 : int
1427 943 : pattern214 (rtx x1)
1428 : {
1429 943 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1430 943 : rtx x2, x3, x4, x5, x6;
1431 943 : int res ATTRIBUTE_UNUSED;
1432 943 : x2 = XEXP (x1, 0);
1433 943 : operands[0] = x2;
1434 943 : x3 = XEXP (x1, 1);
1435 943 : x4 = XVECEXP (x3, 0, 0);
1436 943 : operands[1] = x4;
1437 943 : x5 = XVECEXP (x3, 0, 1);
1438 943 : operands[2] = x5;
1439 943 : x6 = XVECEXP (x3, 0, 2);
1440 943 : operands[3] = x6;
1441 943 : switch (GET_MODE (operands[0]))
1442 : {
1443 204 : case E_V8DImode:
1444 204 : return pattern213 (x3,
1445 204 : E_V8DImode); /* [-1, 0] */
1446 :
1447 379 : case E_V4DImode:
1448 379 : if (pattern213 (x3,
1449 : E_V4DImode) != 0)
1450 132 : return -1;
1451 : return 1;
1452 :
1453 360 : case E_V2DImode:
1454 360 : if (pattern213 (x3,
1455 : E_V2DImode) != 0)
1456 121 : return -1;
1457 : return 2;
1458 :
1459 : default:
1460 : return -1;
1461 : }
1462 : }
1463 :
1464 : int
1465 5793 : pattern219 (rtx x1)
1466 : {
1467 5793 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1468 5793 : rtx x2, x3, x4, x5, x6;
1469 5793 : int res ATTRIBUTE_UNUSED;
1470 5793 : x2 = XEXP (x1, 0);
1471 5793 : operands[0] = x2;
1472 5793 : x3 = XEXP (x1, 1);
1473 5793 : x4 = XVECEXP (x3, 0, 0);
1474 5793 : operands[1] = x4;
1475 5793 : x5 = XVECEXP (x3, 0, 1);
1476 5793 : operands[2] = x5;
1477 5793 : x6 = XVECEXP (x3, 0, 2);
1478 5793 : operands[3] = x6;
1479 5793 : switch (GET_MODE (operands[0]))
1480 : {
1481 2204 : case E_V8SImode:
1482 2204 : return pattern213 (x3,
1483 2204 : E_V8SImode); /* [-1, 0] */
1484 :
1485 1885 : case E_V4SImode:
1486 1885 : if (pattern213 (x3,
1487 : E_V4SImode) != 0)
1488 369 : return -1;
1489 : return 1;
1490 :
1491 1704 : case E_V16SImode:
1492 1704 : if (pattern213 (x3,
1493 : E_V16SImode) != 0)
1494 216 : return -1;
1495 : return 2;
1496 :
1497 : default:
1498 : return -1;
1499 : }
1500 : }
1501 :
1502 : int
1503 248 : pattern222 (rtx x1)
1504 : {
1505 248 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1506 248 : rtx x2, x3, x4, x5, x6;
1507 248 : int res ATTRIBUTE_UNUSED;
1508 248 : x2 = XEXP (x1, 1);
1509 248 : x3 = XVECEXP (x2, 0, 0);
1510 248 : if (GET_CODE (x3) != REG
1511 248 : || REGNO (x3) != 92
1512 496 : || GET_MODE (x3) != E_V32SFmode)
1513 : return -1;
1514 248 : x4 = XEXP (x1, 0);
1515 248 : operands[0] = x4;
1516 248 : x5 = XVECEXP (x2, 0, 1);
1517 248 : operands[1] = x5;
1518 248 : if (!const_0_to_7_operand (operands[1], E_QImode))
1519 : return -1;
1520 248 : x6 = XVECEXP (x2, 0, 2);
1521 248 : operands[2] = x6;
1522 248 : if (!nonmemory_operand (operands[2], E_SImode))
1523 : return -1;
1524 248 : switch (GET_MODE (operands[0]))
1525 : {
1526 124 : case E_V32HFmode:
1527 124 : if (!register_operand (operands[0], E_V32HFmode)
1528 124 : || GET_MODE (x2) != E_V32HFmode)
1529 8 : return -1;
1530 : return 0;
1531 :
1532 124 : case E_V32BFmode:
1533 124 : if (!register_operand (operands[0], E_V32BFmode)
1534 124 : || GET_MODE (x2) != E_V32BFmode)
1535 8 : return -1;
1536 : return 1;
1537 :
1538 : default:
1539 : return -1;
1540 : }
1541 : }
1542 :
1543 : int
1544 20544 : pattern231 (rtx x1)
1545 : {
1546 20544 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1547 20544 : rtx x2, x3, x4, x5, x6;
1548 20544 : int res ATTRIBUTE_UNUSED;
1549 20544 : x2 = XEXP (x1, 0);
1550 20544 : switch (XVECLEN (x2, 0))
1551 : {
1552 12094 : case 2:
1553 12094 : x3 = XVECEXP (x2, 0, 0);
1554 12094 : operands[1] = x3;
1555 12094 : x4 = XVECEXP (x2, 0, 1);
1556 12094 : operands[2] = x4;
1557 12094 : x5 = XEXP (x1, 1);
1558 12094 : operands[3] = x5;
1559 12094 : switch (XINT (x2, 1))
1560 : {
1561 7 : case 220:
1562 7 : switch (GET_MODE (operands[0]))
1563 : {
1564 7 : case E_V32HFmode:
1565 7 : return pattern229 (x1,
1566 7 : E_V32HFmode); /* [-1, 0] */
1567 :
1568 0 : case E_V16HFmode:
1569 0 : if (pattern229 (x1,
1570 : E_V16HFmode) != 0)
1571 0 : return -1;
1572 : return 1;
1573 :
1574 0 : case E_V8HFmode:
1575 0 : if (pattern229 (x1,
1576 : E_V8HFmode) != 0)
1577 0 : return -1;
1578 : return 2;
1579 :
1580 : default:
1581 : return -1;
1582 : }
1583 :
1584 7 : case 221:
1585 7 : switch (GET_MODE (operands[0]))
1586 : {
1587 7 : case E_V32HFmode:
1588 7 : if (pattern229 (x1,
1589 : E_V32HFmode) != 0)
1590 4 : return -1;
1591 : return 3;
1592 :
1593 0 : case E_V16HFmode:
1594 0 : if (pattern229 (x1,
1595 : E_V16HFmode) != 0)
1596 0 : return -1;
1597 : return 4;
1598 :
1599 0 : case E_V8HFmode:
1600 0 : if (pattern229 (x1,
1601 : E_V8HFmode) != 0)
1602 0 : return -1;
1603 : return 5;
1604 :
1605 : default:
1606 : return -1;
1607 : }
1608 :
1609 : default:
1610 : return -1;
1611 : }
1612 :
1613 1575 : case 3:
1614 1575 : x3 = XVECEXP (x2, 0, 0);
1615 1575 : operands[1] = x3;
1616 1575 : x4 = XVECEXP (x2, 0, 1);
1617 1575 : operands[2] = x4;
1618 1575 : x6 = XVECEXP (x2, 0, 2);
1619 1575 : operands[3] = x6;
1620 1575 : x5 = XEXP (x1, 1);
1621 1575 : operands[4] = x5;
1622 1575 : switch (XINT (x2, 1))
1623 : {
1624 8 : case 216:
1625 8 : switch (GET_MODE (operands[0]))
1626 : {
1627 8 : case E_V32HFmode:
1628 8 : if (pattern230 (x1,
1629 : E_V32HFmode) != 0)
1630 6 : return -1;
1631 : return 6;
1632 :
1633 0 : case E_V16HFmode:
1634 0 : if (pattern230 (x1,
1635 : E_V16HFmode) != 0)
1636 0 : return -1;
1637 : return 7;
1638 :
1639 0 : case E_V8HFmode:
1640 0 : if (pattern230 (x1,
1641 : E_V8HFmode) != 0)
1642 0 : return -1;
1643 : return 8;
1644 :
1645 : default:
1646 : return -1;
1647 : }
1648 :
1649 8 : case 218:
1650 8 : switch (GET_MODE (operands[0]))
1651 : {
1652 8 : case E_V32HFmode:
1653 8 : if (pattern230 (x1,
1654 : E_V32HFmode) != 0)
1655 6 : return -1;
1656 : return 9;
1657 :
1658 0 : case E_V16HFmode:
1659 0 : if (pattern230 (x1,
1660 : E_V16HFmode) != 0)
1661 0 : return -1;
1662 : return 10;
1663 :
1664 0 : case E_V8HFmode:
1665 0 : if (pattern230 (x1,
1666 : E_V8HFmode) != 0)
1667 0 : return -1;
1668 : return 11;
1669 :
1670 : default:
1671 : return -1;
1672 : }
1673 :
1674 : default:
1675 : return -1;
1676 : }
1677 :
1678 : default:
1679 : return -1;
1680 : }
1681 : }
1682 :
1683 : int
1684 57773 : pattern240 (rtx x1, machine_mode i1)
1685 : {
1686 57773 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1687 57773 : int res ATTRIBUTE_UNUSED;
1688 57773 : if (!register_operand (operands[0], i1)
1689 57568 : || GET_MODE (x1) != i1
1690 57568 : || !register_operand (operands[1], i1)
1691 104381 : || !const0_operand (operands[2], i1))
1692 12414 : return -1;
1693 : return 0;
1694 : }
1695 :
1696 : int
1697 135956 : pattern241 (rtx x1)
1698 : {
1699 135956 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1700 135956 : rtx x2, x3;
1701 135956 : int res ATTRIBUTE_UNUSED;
1702 135956 : x2 = XEXP (x1, 0);
1703 135956 : operands[1] = x2;
1704 135956 : x3 = XEXP (x1, 1);
1705 135956 : operands[2] = x3;
1706 135956 : switch (GET_MODE (operands[0]))
1707 : {
1708 13 : case E_V16HImode:
1709 13 : return pattern240 (x1,
1710 13 : E_V16HImode); /* [-1, 0] */
1711 :
1712 19691 : case E_V8HImode:
1713 19691 : if (pattern240 (x1,
1714 : E_V8HImode) != 0)
1715 1705 : return -1;
1716 : return 1;
1717 :
1718 276 : case E_V8SImode:
1719 276 : if (pattern240 (x1,
1720 : E_V8SImode) != 0)
1721 255 : return -1;
1722 : return 2;
1723 :
1724 28327 : case E_V4SImode:
1725 28327 : if (pattern240 (x1,
1726 : E_V4SImode) != 0)
1727 9581 : return -1;
1728 : return 3;
1729 :
1730 : default:
1731 : return -1;
1732 : }
1733 : }
1734 :
1735 : int
1736 5652438 : pattern242 ()
1737 : {
1738 5652438 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1739 5652438 : int res ATTRIBUTE_UNUSED;
1740 5652438 : switch (GET_MODE (operands[0]))
1741 : {
1742 57 : case E_V32HFmode:
1743 57 : if (!register_operand (operands[0], E_V32HFmode)
1744 57 : || !ternlog_operand (operands[1], E_V32HFmode))
1745 24 : return -1;
1746 : return 0;
1747 :
1748 48 : case E_V16HFmode:
1749 48 : if (!register_operand (operands[0], E_V16HFmode)
1750 48 : || !ternlog_operand (operands[1], E_V16HFmode))
1751 23 : return -1;
1752 : return 1;
1753 :
1754 710 : case E_V8HFmode:
1755 710 : if (!register_operand (operands[0], E_V8HFmode)
1756 710 : || !ternlog_operand (operands[1], E_V8HFmode))
1757 556 : return -1;
1758 : return 2;
1759 :
1760 4 : case E_V32BFmode:
1761 4 : if (!register_operand (operands[0], E_V32BFmode)
1762 4 : || !ternlog_operand (operands[1], E_V32BFmode))
1763 4 : return -1;
1764 : return 3;
1765 :
1766 4 : case E_V16BFmode:
1767 4 : if (!register_operand (operands[0], E_V16BFmode)
1768 4 : || !ternlog_operand (operands[1], E_V16BFmode))
1769 4 : return -1;
1770 : return 4;
1771 :
1772 4 : case E_V8BFmode:
1773 4 : if (!register_operand (operands[0], E_V8BFmode)
1774 4 : || !ternlog_operand (operands[1], E_V8BFmode))
1775 4 : return -1;
1776 : return 5;
1777 :
1778 364 : case E_V16SFmode:
1779 364 : if (!register_operand (operands[0], E_V16SFmode)
1780 364 : || !ternlog_operand (operands[1], E_V16SFmode))
1781 310 : return -1;
1782 : return 6;
1783 :
1784 1469 : case E_V8SFmode:
1785 1469 : if (!register_operand (operands[0], E_V8SFmode)
1786 1469 : || !ternlog_operand (operands[1], E_V8SFmode))
1787 1442 : return -1;
1788 : return 7;
1789 :
1790 189240 : case E_V4SFmode:
1791 189240 : if (!register_operand (operands[0], E_V4SFmode)
1792 189240 : || !ternlog_operand (operands[1], E_V4SFmode))
1793 147627 : return -1;
1794 : return 8;
1795 :
1796 321 : case E_V8DFmode:
1797 321 : if (!register_operand (operands[0], E_V8DFmode)
1798 321 : || !ternlog_operand (operands[1], E_V8DFmode))
1799 267 : return -1;
1800 : return 9;
1801 :
1802 3724 : case E_V4DFmode:
1803 3724 : if (!register_operand (operands[0], E_V4DFmode)
1804 3724 : || !ternlog_operand (operands[1], E_V4DFmode))
1805 3625 : return -1;
1806 : return 10;
1807 :
1808 196712 : case E_V2DFmode:
1809 196712 : if (!register_operand (operands[0], E_V2DFmode)
1810 196712 : || !ternlog_operand (operands[1], E_V2DFmode))
1811 154915 : return -1;
1812 : return 11;
1813 :
1814 : default:
1815 : return -1;
1816 : }
1817 : }
1818 :
1819 : int
1820 685543 : pattern253 (rtx x1)
1821 : {
1822 685543 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1823 685543 : rtx x2, x3, x4, x5, x6, x7, x8;
1824 685543 : int res ATTRIBUTE_UNUSED;
1825 685543 : x2 = XVECEXP (x1, 0, 0);
1826 685543 : x3 = XEXP (x2, 0);
1827 685543 : operands[0] = x3;
1828 685543 : x4 = XEXP (x2, 1);
1829 685543 : x5 = XEXP (x4, 0);
1830 685543 : operands[1] = x5;
1831 685543 : x6 = XEXP (x4, 1);
1832 685543 : operands[2] = x6;
1833 685543 : x7 = XVECEXP (x1, 0, 1);
1834 685543 : switch (GET_CODE (x7))
1835 : {
1836 635957 : case CLOBBER:
1837 635957 : x8 = XEXP (x7, 0);
1838 635957 : if (GET_CODE (x8) != REG
1839 635957 : || REGNO (x8) != 17
1840 1271914 : || GET_MODE (x8) != E_CCmode)
1841 : return -1;
1842 635957 : switch (GET_MODE (operands[0]))
1843 : {
1844 496193 : case E_DImode:
1845 496193 : return pattern250 (x4,
1846 496193 : E_DImode); /* [-1, 0] */
1847 :
1848 769 : case E_TImode:
1849 769 : if (pattern250 (x4,
1850 : E_TImode) != 0)
1851 179 : return -1;
1852 : return 1;
1853 :
1854 1852 : case E_QImode:
1855 1852 : if (pattern250 (x4,
1856 : E_QImode) != 0)
1857 267 : return -1;
1858 : return 2;
1859 :
1860 1538 : case E_HImode:
1861 1538 : if (pattern250 (x4,
1862 : E_HImode) != 0)
1863 246 : return -1;
1864 : return 3;
1865 :
1866 135605 : case E_SImode:
1867 135605 : if (pattern250 (x4,
1868 : E_SImode) != 0)
1869 29669 : return -1;
1870 : return 4;
1871 :
1872 : default:
1873 : return -1;
1874 : }
1875 :
1876 0 : case UNSPEC:
1877 0 : if (pattern252 (x1) != 0)
1878 0 : return -1;
1879 : return 5;
1880 :
1881 : default:
1882 : return -1;
1883 : }
1884 : }
1885 :
1886 : int
1887 810190 : pattern264 (rtx x1)
1888 : {
1889 810190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1890 810190 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
1891 810190 : rtx x10, x11;
1892 810190 : int res ATTRIBUTE_UNUSED;
1893 810190 : x2 = XVECEXP (x1, 0, 1);
1894 810190 : if (GET_CODE (x2) != SET)
1895 : return -1;
1896 810117 : x3 = XEXP (x2, 1);
1897 810117 : if (GET_CODE (x3) != UMOD)
1898 : return -1;
1899 732415 : x4 = XVECEXP (x1, 0, 0);
1900 732415 : x5 = XEXP (x4, 0);
1901 732415 : operands[0] = x5;
1902 732415 : x6 = XEXP (x4, 1);
1903 732415 : x7 = XEXP (x6, 0);
1904 732415 : operands[2] = x7;
1905 732415 : x8 = XEXP (x6, 1);
1906 732415 : operands[3] = x8;
1907 732415 : x9 = XEXP (x2, 0);
1908 732415 : operands[1] = x9;
1909 732415 : x10 = XEXP (x3, 0);
1910 732415 : if (!rtx_equal_p (x10, operands[2]))
1911 : return -1;
1912 655187 : x11 = XEXP (x3, 1);
1913 655187 : if (!rtx_equal_p (x11, operands[3]))
1914 : return -1;
1915 642301 : switch (GET_CODE (operands[3]))
1916 : {
1917 : case REG:
1918 : case SUBREG:
1919 : case MEM:
1920 : return 0;
1921 :
1922 68987 : case CONST_INT:
1923 68987 : return 1;
1924 :
1925 : default:
1926 : return -1;
1927 : }
1928 : }
1929 :
1930 : int
1931 811 : pattern271 (rtx x1)
1932 : {
1933 811 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1934 811 : rtx x2, x3, x4, x5;
1935 811 : int res ATTRIBUTE_UNUSED;
1936 811 : x2 = XVECEXP (x1, 0, 1);
1937 811 : x3 = XVECEXP (x2, 0, 0);
1938 811 : operands[2] = x3;
1939 811 : switch (GET_MODE (operands[0]))
1940 : {
1941 446 : case E_SImode:
1942 446 : x4 = XVECEXP (x1, 0, 0);
1943 446 : x5 = XEXP (x4, 1);
1944 446 : return pattern270 (x5,
1945 446 : E_SImode); /* [-1, 0] */
1946 :
1947 365 : case E_DImode:
1948 365 : x4 = XVECEXP (x1, 0, 0);
1949 365 : x5 = XEXP (x4, 1);
1950 365 : if (pattern270 (x5,
1951 : E_DImode) != 0)
1952 0 : return -1;
1953 : return 1;
1954 :
1955 : default:
1956 : return -1;
1957 : }
1958 : }
1959 :
1960 : int
1961 643087 : pattern276 (rtx x1)
1962 : {
1963 643087 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
1964 643087 : rtx x2, x3, x4, x5, x6, x7, x8;
1965 643087 : int res ATTRIBUTE_UNUSED;
1966 643087 : x2 = XEXP (x1, 1);
1967 643087 : if (GET_MODE (x2) != E_QImode)
1968 : return -1;
1969 475104 : x3 = XEXP (x2, 0);
1970 475104 : if (!ix86_comparison_operator (x3, E_VOIDmode))
1971 : return -1;
1972 1112 : operands[1] = x3;
1973 1112 : x4 = XEXP (x3, 0);
1974 1112 : if (GET_CODE (x4) != REG
1975 1112 : || REGNO (x4) != 17)
1976 : return -1;
1977 510 : x5 = XEXP (x3, 1);
1978 510 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1979 : return -1;
1980 510 : x6 = XEXP (x2, 1);
1981 510 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
1982 : return -1;
1983 0 : x7 = XEXP (x1, 0);
1984 0 : switch (GET_CODE (x7))
1985 : {
1986 0 : case REG:
1987 0 : case SUBREG:
1988 0 : case MEM:
1989 0 : operands[0] = x7;
1990 0 : if (!nonimmediate_operand (operands[0], E_QImode))
1991 0 : return -1;
1992 : return 0;
1993 :
1994 0 : case STRICT_LOW_PART:
1995 0 : x8 = XEXP (x7, 0);
1996 0 : operands[0] = x8;
1997 0 : if (!register_operand (operands[0], E_QImode))
1998 0 : return -1;
1999 : return 1;
2000 :
2001 : default:
2002 : return -1;
2003 : }
2004 : }
2005 :
2006 : int
2007 17882097 : pattern285 (rtx x1)
2008 : {
2009 17882097 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2010 17882097 : rtx x2, x3, x4, x5, x6, x7, x8;
2011 17882097 : int res ATTRIBUTE_UNUSED;
2012 17882097 : x2 = XEXP (x1, 1);
2013 17882097 : x3 = XEXP (x2, 0);
2014 17882097 : x4 = XEXP (x3, 0);
2015 17882097 : if (GET_CODE (x4) != REG
2016 17882097 : || REGNO (x4) != 17)
2017 : return -1;
2018 8953917 : x5 = XEXP (x3, 1);
2019 8953917 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2020 : return -1;
2021 8953917 : x6 = XEXP (x1, 0);
2022 8953917 : operands[0] = x6;
2023 8953917 : x7 = XEXP (x2, 1);
2024 8953917 : switch (GET_CODE (x7))
2025 : {
2026 2792164 : case REG:
2027 2792164 : case SUBREG:
2028 2792164 : case MEM:
2029 2792164 : operands[2] = x7;
2030 2792164 : x8 = XEXP (x2, 2);
2031 2792164 : operands[3] = x8;
2032 2792164 : return 0;
2033 :
2034 4578 : case ZERO_EXTEND:
2035 4578 : if (GET_MODE (x7) != E_DImode)
2036 : return -1;
2037 1501 : x8 = XEXP (x2, 2);
2038 1501 : if (GET_CODE (x8) != ZERO_EXTEND
2039 11 : || GET_MODE (x8) != E_DImode)
2040 1490 : return -1;
2041 : return 1;
2042 :
2043 : default:
2044 : return -1;
2045 : }
2046 : }
2047 :
2048 : int
2049 697 : pattern294 (rtx x1)
2050 : {
2051 697 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2052 697 : rtx x2, x3, x4, x5;
2053 697 : int res ATTRIBUTE_UNUSED;
2054 697 : x2 = XEXP (x1, 1);
2055 697 : if (GET_MODE (x2) != E_CCmode)
2056 : return -1;
2057 84 : x3 = XEXP (x1, 0);
2058 84 : if (GET_CODE (x3) != REG
2059 84 : || REGNO (x3) != 17
2060 168 : || GET_MODE (x3) != E_CCmode)
2061 : return -1;
2062 84 : x4 = XVECEXP (x2, 0, 0);
2063 84 : operands[2] = x4;
2064 84 : if (!register_operand (operands[2], E_V16QImode))
2065 : return -1;
2066 76 : x5 = XVECEXP (x2, 0, 1);
2067 76 : operands[3] = x5;
2068 76 : return 0;
2069 : }
2070 :
2071 : int
2072 525 : pattern300 (rtx x1, machine_mode i1)
2073 : {
2074 525 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2075 525 : int res ATTRIBUTE_UNUSED;
2076 525 : if (!register_operand (operands[0], i1)
2077 525 : || GET_MODE (x1) != i1)
2078 : return -1;
2079 507 : return pattern299 (); /* [-1, 2] */
2080 : }
2081 :
2082 : int
2083 5 : pattern302 (rtx x1, int *pnum_clobbers)
2084 : {
2085 5 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2086 5 : rtx x2, x3, x4;
2087 5 : int res ATTRIBUTE_UNUSED;
2088 5 : if (pnum_clobbers == NULL)
2089 : return -1;
2090 5 : x2 = XEXP (x1, 0);
2091 5 : x3 = XEXP (x2, 0);
2092 5 : operands[0] = x3;
2093 5 : x4 = XEXP (x1, 1);
2094 5 : return pattern44 (x4); /* [-1, 1] */
2095 : }
2096 :
2097 : int
2098 1087 : pattern307 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
2099 : {
2100 1087 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2101 1087 : rtx x2, x3;
2102 1087 : int res ATTRIBUTE_UNUSED;
2103 1087 : if (!register_operand (operands[0], i3)
2104 1087 : || GET_MODE (x1) != i3)
2105 : return -1;
2106 1063 : x2 = XEXP (x1, 0);
2107 1063 : if (GET_MODE (x2) != i2
2108 1063 : || !register_operand (operands[1], i1))
2109 : return -1;
2110 853 : x3 = XEXP (x1, 1);
2111 853 : if (GET_MODE (x3) != i2
2112 853 : || !register_mmxmem_operand (operands[2], i1))
2113 116 : return -1;
2114 : return 0;
2115 : }
2116 :
2117 : int
2118 6062 : pattern312 (rtx x1)
2119 : {
2120 6062 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2121 6062 : rtx x2, x3, x4, x5, x6;
2122 6062 : int res ATTRIBUTE_UNUSED;
2123 6062 : x2 = XEXP (x1, 0);
2124 6062 : if (XVECLEN (x2, 0) != 1
2125 2003 : || XINT (x2, 1) != 43
2126 630 : || GET_MODE (x2) != E_V4SImode)
2127 : return -1;
2128 630 : x3 = XEXP (x1, 1);
2129 630 : if (XVECLEN (x3, 0) != 2)
2130 : return -1;
2131 630 : x4 = XVECEXP (x3, 0, 0);
2132 630 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2133 : return -1;
2134 630 : x5 = XVECEXP (x3, 0, 1);
2135 630 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
2136 630 : || !register_operand (operands[0], E_V2SImode)
2137 1259 : || GET_MODE (x1) != E_V2SImode)
2138 : return -1;
2139 629 : x6 = XVECEXP (x2, 0, 0);
2140 629 : operands[1] = x6;
2141 629 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
2142 81 : return -1;
2143 : return 0;
2144 : }
2145 :
2146 : int
2147 1066 : pattern318 (rtx x1)
2148 : {
2149 1066 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2150 1066 : rtx x2;
2151 1066 : int res ATTRIBUTE_UNUSED;
2152 1066 : if (!register_operand (operands[0], E_SImode)
2153 1066 : || GET_MODE (x1) != E_SImode)
2154 : return -1;
2155 1061 : x2 = XEXP (x1, 0);
2156 1061 : switch (GET_MODE (x2))
2157 : {
2158 419 : case E_QImode:
2159 419 : if (!nonimmediate_operand (operands[1], E_QImode))
2160 47 : return -1;
2161 : return 0;
2162 :
2163 642 : case E_HImode:
2164 642 : if (!nonimmediate_operand (operands[1], E_HImode))
2165 96 : return -1;
2166 : return 1;
2167 :
2168 : default:
2169 : return -1;
2170 : }
2171 : }
2172 :
2173 : int
2174 43227 : pattern322 (rtx x1, machine_mode i1)
2175 : {
2176 43227 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2177 43227 : rtx x2, x3, x4, x5;
2178 43227 : int res ATTRIBUTE_UNUSED;
2179 43227 : if (!register_operand (operands[0], i1)
2180 3692 : || GET_MODE (x1) != i1
2181 46919 : || !register_operand (operands[1], i1))
2182 : return -1;
2183 1757 : x2 = XEXP (x1, 1);
2184 1757 : x3 = XEXP (x2, 0);
2185 1757 : x4 = XEXP (x3, 0);
2186 1757 : operands[2] = x4;
2187 1757 : if (!int248_register_operand (operands[2], E_VOIDmode))
2188 : return -1;
2189 1366 : x5 = XEXP (x3, 1);
2190 1366 : operands[3] = x5;
2191 1366 : if (!const_int_operand (operands[3], E_VOIDmode))
2192 0 : return -1;
2193 : return 0;
2194 : }
2195 :
2196 : int
2197 2 : pattern327 (rtx x1)
2198 : {
2199 2 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2200 2 : rtx x2;
2201 2 : int res ATTRIBUTE_UNUSED;
2202 2 : if (!memory_operand (operands[0], E_SImode)
2203 2 : || GET_MODE (x1) != E_SImode)
2204 : return -1;
2205 0 : x2 = XEXP (x1, 0);
2206 0 : switch (GET_MODE (x2))
2207 : {
2208 0 : case E_V4QImode:
2209 0 : switch (GET_MODE (operands[1]))
2210 : {
2211 0 : case E_V4SImode:
2212 0 : if (!register_operand (operands[1], E_V4SImode))
2213 0 : return -1;
2214 : return 0;
2215 :
2216 0 : case E_V4DImode:
2217 0 : if (!register_operand (operands[1], E_V4DImode))
2218 0 : return -1;
2219 : return 1;
2220 :
2221 : default:
2222 : return -1;
2223 : }
2224 :
2225 0 : case E_V2HImode:
2226 0 : if (!register_operand (operands[1], E_V2DImode))
2227 0 : return -1;
2228 : return 2;
2229 :
2230 : default:
2231 : return -1;
2232 : }
2233 : }
2234 :
2235 : int
2236 589 : pattern334 (rtx x1)
2237 : {
2238 589 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2239 589 : rtx x2, x3;
2240 589 : int res ATTRIBUTE_UNUSED;
2241 589 : x2 = XVECEXP (x1, 0, 0);
2242 589 : operands[1] = x2;
2243 589 : x3 = XVECEXP (x1, 0, 1);
2244 589 : operands[2] = x3;
2245 589 : return pattern333 (x1); /* [-1, 2] */
2246 : }
2247 :
2248 : int
2249 56 : pattern336 (rtx x1)
2250 : {
2251 56 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2252 56 : rtx x2;
2253 56 : int res ATTRIBUTE_UNUSED;
2254 56 : if (!register_operand (operands[0], E_SImode)
2255 56 : || GET_MODE (x1) != E_SImode)
2256 : return -1;
2257 56 : x2 = XVECEXP (x1, 0, 0);
2258 56 : switch (GET_MODE (x2))
2259 : {
2260 28 : case E_V32QImode:
2261 28 : if (!vector_operand (operands[1], E_V32QImode)
2262 28 : || !vector_operand (operands[2], E_V32QImode)
2263 56 : || !const0_operand (operands[3], E_V32QImode))
2264 14 : return -1;
2265 : return 0;
2266 :
2267 28 : case E_V32HImode:
2268 28 : if (!vector_operand (operands[1], E_V32HImode)
2269 28 : || !vector_operand (operands[2], E_V32HImode)
2270 56 : || !const0_operand (operands[3], E_V32HImode))
2271 14 : return -1;
2272 : return 1;
2273 :
2274 : default:
2275 : return -1;
2276 : }
2277 : }
2278 :
2279 : int
2280 261 : pattern342 (rtx x1, machine_mode i1, machine_mode i2)
2281 : {
2282 261 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2283 261 : rtx x2, x3, x4;
2284 261 : int res ATTRIBUTE_UNUSED;
2285 261 : if (!register_operand (operands[0], i2)
2286 261 : || GET_MODE (x1) != i2)
2287 : return -1;
2288 237 : x2 = XEXP (x1, 0);
2289 237 : if (GET_MODE (x2) != i2)
2290 : return -1;
2291 237 : x3 = XEXP (x2, 0);
2292 237 : if (GET_MODE (x3) != i1)
2293 : return -1;
2294 237 : x4 = XEXP (x3, 0);
2295 237 : if (GET_MODE (x4) != i1
2296 237 : || !register_operand (operands[1], i2)
2297 446 : || !nonimmediate_operand (operands[2], i1))
2298 149 : return -1;
2299 : return 0;
2300 : }
2301 :
2302 : int
2303 8 : pattern345 (rtx x1, machine_mode i1)
2304 : {
2305 8 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2306 8 : rtx x2, x3;
2307 8 : int res ATTRIBUTE_UNUSED;
2308 8 : if (!register_operand (operands[0], i1)
2309 8 : || GET_MODE (x1) != i1)
2310 : return -1;
2311 8 : x2 = XEXP (x1, 0);
2312 8 : if (GET_MODE (x2) != i1)
2313 : return -1;
2314 8 : x3 = XEXP (x2, 0);
2315 8 : if (GET_MODE (x3) != E_DImode
2316 8 : || !const0_operand (operands[2], i1))
2317 : return -1;
2318 8 : switch (GET_MODE (operands[1]))
2319 : {
2320 4 : case E_HImode:
2321 4 : if (!nonimmediate_operand (operands[1], E_HImode))
2322 0 : return -1;
2323 : return 0;
2324 :
2325 4 : case E_SImode:
2326 4 : if (!nonimmediate_operand (operands[1], E_SImode))
2327 0 : return -1;
2328 : return 1;
2329 :
2330 : default:
2331 : return -1;
2332 : }
2333 : }
2334 :
2335 : int
2336 572 : pattern352 (rtx x1, machine_mode i1)
2337 : {
2338 572 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2339 572 : int res ATTRIBUTE_UNUSED;
2340 572 : if (!register_operand (operands[0], i1)
2341 544 : || GET_MODE (x1) != i1
2342 544 : || !float_vector_all_ones_operand (operands[1], i1)
2343 48 : || !const0_operand (operands[2], i1)
2344 48 : || !register_operand (operands[3], i1)
2345 620 : || !nonimmediate_operand (operands[4], i1))
2346 548 : return -1;
2347 : return 0;
2348 : }
2349 :
2350 : int
2351 61 : pattern355 (rtx x1)
2352 : {
2353 61 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2354 61 : rtx x2;
2355 61 : int res ATTRIBUTE_UNUSED;
2356 61 : x2 = XVECEXP (x1, 0, 0);
2357 61 : operands[1] = x2;
2358 61 : switch (GET_MODE (operands[0]))
2359 : {
2360 14 : case E_V16SImode:
2361 14 : if (!register_operand (operands[0], E_V16SImode)
2362 14 : || GET_MODE (x1) != E_V16SImode
2363 28 : || !memory_operand (operands[1], E_V16SImode))
2364 0 : return -1;
2365 : return 0;
2366 :
2367 14 : case E_V8SImode:
2368 14 : if (!register_operand (operands[0], E_V8SImode)
2369 14 : || GET_MODE (x1) != E_V8SImode
2370 28 : || !memory_operand (operands[1], E_V8SImode))
2371 0 : return -1;
2372 : return 1;
2373 :
2374 14 : case E_V4SImode:
2375 14 : if (!register_operand (operands[0], E_V4SImode)
2376 14 : || GET_MODE (x1) != E_V4SImode
2377 28 : || !memory_operand (operands[1], E_V4SImode))
2378 0 : return -1;
2379 : return 2;
2380 :
2381 0 : case E_V8DImode:
2382 0 : if (!register_operand (operands[0], E_V8DImode)
2383 0 : || GET_MODE (x1) != E_V8DImode
2384 0 : || !memory_operand (operands[1], E_V8DImode))
2385 0 : return -1;
2386 : return 3;
2387 :
2388 0 : case E_V4DImode:
2389 0 : if (!register_operand (operands[0], E_V4DImode)
2390 0 : || GET_MODE (x1) != E_V4DImode
2391 0 : || !memory_operand (operands[1], E_V4DImode))
2392 0 : return -1;
2393 : return 4;
2394 :
2395 0 : case E_V2DImode:
2396 0 : if (!register_operand (operands[0], E_V2DImode)
2397 0 : || GET_MODE (x1) != E_V2DImode
2398 0 : || !memory_operand (operands[1], E_V2DImode))
2399 0 : return -1;
2400 : return 5;
2401 :
2402 0 : case E_V16SFmode:
2403 0 : if (!register_operand (operands[0], E_V16SFmode)
2404 0 : || GET_MODE (x1) != E_V16SFmode
2405 0 : || !memory_operand (operands[1], E_V16SFmode))
2406 0 : return -1;
2407 : return 6;
2408 :
2409 0 : case E_V8SFmode:
2410 0 : if (!register_operand (operands[0], E_V8SFmode)
2411 0 : || GET_MODE (x1) != E_V8SFmode
2412 0 : || !memory_operand (operands[1], E_V8SFmode))
2413 0 : return -1;
2414 : return 7;
2415 :
2416 0 : case E_V4SFmode:
2417 0 : if (!register_operand (operands[0], E_V4SFmode)
2418 0 : || GET_MODE (x1) != E_V4SFmode
2419 0 : || !memory_operand (operands[1], E_V4SFmode))
2420 0 : return -1;
2421 : return 8;
2422 :
2423 19 : case E_V8DFmode:
2424 19 : if (!register_operand (operands[0], E_V8DFmode)
2425 19 : || GET_MODE (x1) != E_V8DFmode
2426 38 : || !memory_operand (operands[1], E_V8DFmode))
2427 0 : return -1;
2428 : return 9;
2429 :
2430 0 : case E_V4DFmode:
2431 0 : if (!register_operand (operands[0], E_V4DFmode)
2432 0 : || GET_MODE (x1) != E_V4DFmode
2433 0 : || !memory_operand (operands[1], E_V4DFmode))
2434 0 : return -1;
2435 : return 10;
2436 :
2437 0 : case E_V2DFmode:
2438 0 : if (!register_operand (operands[0], E_V2DFmode)
2439 0 : || GET_MODE (x1) != E_V2DFmode
2440 0 : || !memory_operand (operands[1], E_V2DFmode))
2441 0 : return -1;
2442 : return 11;
2443 :
2444 0 : case E_V64QImode:
2445 0 : if (!register_operand (operands[0], E_V64QImode)
2446 0 : || GET_MODE (x1) != E_V64QImode
2447 0 : || !memory_operand (operands[1], E_V64QImode))
2448 0 : return -1;
2449 : return 12;
2450 :
2451 0 : case E_V16QImode:
2452 0 : if (!register_operand (operands[0], E_V16QImode)
2453 0 : || GET_MODE (x1) != E_V16QImode
2454 0 : || !memory_operand (operands[1], E_V16QImode))
2455 0 : return -1;
2456 : return 13;
2457 :
2458 0 : case E_V32QImode:
2459 0 : if (!register_operand (operands[0], E_V32QImode)
2460 0 : || GET_MODE (x1) != E_V32QImode
2461 0 : || !memory_operand (operands[1], E_V32QImode))
2462 0 : return -1;
2463 : return 14;
2464 :
2465 0 : case E_V32HImode:
2466 0 : if (!register_operand (operands[0], E_V32HImode)
2467 0 : || GET_MODE (x1) != E_V32HImode
2468 0 : || !memory_operand (operands[1], E_V32HImode))
2469 0 : return -1;
2470 : return 15;
2471 :
2472 0 : case E_V16HImode:
2473 0 : if (!register_operand (operands[0], E_V16HImode)
2474 0 : || GET_MODE (x1) != E_V16HImode
2475 0 : || !memory_operand (operands[1], E_V16HImode))
2476 0 : return -1;
2477 : return 16;
2478 :
2479 0 : case E_V8HImode:
2480 0 : if (!register_operand (operands[0], E_V8HImode)
2481 0 : || GET_MODE (x1) != E_V8HImode
2482 0 : || !memory_operand (operands[1], E_V8HImode))
2483 0 : return -1;
2484 : return 17;
2485 :
2486 0 : case E_V32HFmode:
2487 0 : if (!register_operand (operands[0], E_V32HFmode)
2488 0 : || GET_MODE (x1) != E_V32HFmode
2489 0 : || !memory_operand (operands[1], E_V32HFmode))
2490 0 : return -1;
2491 : return 18;
2492 :
2493 0 : case E_V16HFmode:
2494 0 : if (!register_operand (operands[0], E_V16HFmode)
2495 0 : || GET_MODE (x1) != E_V16HFmode
2496 0 : || !memory_operand (operands[1], E_V16HFmode))
2497 0 : return -1;
2498 : return 19;
2499 :
2500 0 : case E_V8HFmode:
2501 0 : if (!register_operand (operands[0], E_V8HFmode)
2502 0 : || GET_MODE (x1) != E_V8HFmode
2503 0 : || !memory_operand (operands[1], E_V8HFmode))
2504 0 : return -1;
2505 : return 20;
2506 :
2507 0 : case E_V32BFmode:
2508 0 : if (!register_operand (operands[0], E_V32BFmode)
2509 0 : || GET_MODE (x1) != E_V32BFmode
2510 0 : || !memory_operand (operands[1], E_V32BFmode))
2511 0 : return -1;
2512 : return 21;
2513 :
2514 0 : case E_V16BFmode:
2515 0 : if (!register_operand (operands[0], E_V16BFmode)
2516 0 : || GET_MODE (x1) != E_V16BFmode
2517 0 : || !memory_operand (operands[1], E_V16BFmode))
2518 0 : return -1;
2519 : return 22;
2520 :
2521 0 : case E_V8BFmode:
2522 0 : if (!register_operand (operands[0], E_V8BFmode)
2523 0 : || GET_MODE (x1) != E_V8BFmode
2524 0 : || !memory_operand (operands[1], E_V8BFmode))
2525 0 : return -1;
2526 : return 23;
2527 :
2528 : default:
2529 : return -1;
2530 : }
2531 : }
2532 :
2533 : int
2534 25014 : pattern372 (rtx x1, rtx_code i1)
2535 : {
2536 25014 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2537 25014 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2538 25014 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
2539 25014 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
2540 25014 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
2541 25014 : rtx x34, x35;
2542 25014 : int res ATTRIBUTE_UNUSED;
2543 25014 : x2 = XEXP (x1, 0);
2544 25014 : x3 = XEXP (x2, 0);
2545 25014 : x4 = XEXP (x3, 0);
2546 25014 : if (GET_CODE (x4) != VEC_SELECT)
2547 : return -1;
2548 381 : x5 = XEXP (x4, 1);
2549 381 : if (GET_CODE (x5) != PARALLEL)
2550 : return -1;
2551 381 : x6 = XEXP (x2, 1);
2552 381 : if (GET_CODE (x6) != i1)
2553 : return -1;
2554 252 : x7 = XEXP (x6, 0);
2555 252 : if (GET_CODE (x7) != VEC_SELECT)
2556 : return -1;
2557 190 : x8 = XEXP (x7, 1);
2558 190 : if (GET_CODE (x8) != PARALLEL)
2559 : return -1;
2560 190 : x9 = XEXP (x1, 1);
2561 190 : if (GET_CODE (x9) != PLUS)
2562 : return -1;
2563 190 : x10 = XEXP (x9, 0);
2564 190 : if (GET_CODE (x10) != i1)
2565 : return -1;
2566 190 : x11 = XEXP (x10, 0);
2567 190 : if (GET_CODE (x11) != VEC_SELECT)
2568 : return -1;
2569 190 : x12 = XEXP (x11, 1);
2570 190 : if (GET_CODE (x12) != PARALLEL)
2571 : return -1;
2572 190 : x13 = XEXP (x9, 1);
2573 190 : if (GET_CODE (x13) != i1)
2574 : return -1;
2575 190 : x14 = XEXP (x13, 0);
2576 190 : if (GET_CODE (x14) != VEC_SELECT)
2577 : return -1;
2578 190 : x15 = XEXP (x14, 1);
2579 190 : if (GET_CODE (x15) != PARALLEL)
2580 : return -1;
2581 190 : x16 = XEXP (x4, 0);
2582 190 : operands[1] = x16;
2583 190 : x17 = XEXP (x7, 0);
2584 190 : if (!rtx_equal_p (x17, operands[1]))
2585 : return -1;
2586 190 : x18 = XEXP (x11, 0);
2587 190 : if (!rtx_equal_p (x18, operands[1]))
2588 : return -1;
2589 190 : x19 = XEXP (x14, 0);
2590 190 : if (!rtx_equal_p (x19, operands[1]))
2591 : return -1;
2592 190 : switch (XVECLEN (x5, 0))
2593 : {
2594 90 : case 4:
2595 90 : x20 = XVECEXP (x5, 0, 0);
2596 90 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2597 : return -1;
2598 90 : x21 = XVECEXP (x5, 0, 1);
2599 90 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
2600 : return -1;
2601 90 : x22 = XVECEXP (x5, 0, 2);
2602 90 : if (x22 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
2603 : return -1;
2604 90 : x23 = XVECEXP (x5, 0, 3);
2605 90 : if (x23 != const_int_rtx[MAX_SAVED_CONST_INT + 12]
2606 90 : || XVECLEN (x8, 0) != 4)
2607 : return -1;
2608 90 : x24 = XVECEXP (x8, 0, 0);
2609 90 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
2610 : return -1;
2611 90 : x25 = XVECEXP (x8, 0, 1);
2612 90 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
2613 : return -1;
2614 90 : x26 = XVECEXP (x8, 0, 2);
2615 90 : if (x26 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
2616 : return -1;
2617 90 : x27 = XVECEXP (x8, 0, 3);
2618 90 : if (x27 != const_int_rtx[MAX_SAVED_CONST_INT + 13]
2619 90 : || XVECLEN (x12, 0) != 4)
2620 : return -1;
2621 90 : x28 = XVECEXP (x12, 0, 0);
2622 90 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2623 : return -1;
2624 90 : x29 = XVECEXP (x12, 0, 1);
2625 90 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
2626 : return -1;
2627 90 : x30 = XVECEXP (x12, 0, 2);
2628 90 : if (x30 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
2629 : return -1;
2630 90 : x31 = XVECEXP (x12, 0, 3);
2631 90 : if (x31 != const_int_rtx[MAX_SAVED_CONST_INT + 14]
2632 90 : || XVECLEN (x15, 0) != 4)
2633 : return -1;
2634 90 : x32 = XVECEXP (x15, 0, 0);
2635 90 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
2636 : return -1;
2637 90 : x33 = XVECEXP (x15, 0, 1);
2638 90 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 7])
2639 : return -1;
2640 90 : x34 = XVECEXP (x15, 0, 2);
2641 90 : if (x34 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
2642 : return -1;
2643 90 : x35 = XVECEXP (x15, 0, 3);
2644 90 : if (x35 != const_int_rtx[MAX_SAVED_CONST_INT + 15]
2645 90 : || pattern371 (x1,
2646 : E_V4QImode,
2647 : E_V4SImode,
2648 : E_V16QImode) != 0)
2649 4 : return -1;
2650 : return 0;
2651 :
2652 100 : case 2:
2653 100 : x20 = XVECEXP (x5, 0, 0);
2654 100 : if (x20 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2655 : return -1;
2656 100 : x21 = XVECEXP (x5, 0, 1);
2657 100 : if (x21 != const_int_rtx[MAX_SAVED_CONST_INT + 4]
2658 100 : || XVECLEN (x8, 0) != 2)
2659 : return -1;
2660 100 : x24 = XVECEXP (x8, 0, 0);
2661 100 : if (x24 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
2662 : return -1;
2663 100 : x25 = XVECEXP (x8, 0, 1);
2664 100 : if (x25 != const_int_rtx[MAX_SAVED_CONST_INT + 5]
2665 100 : || XVECLEN (x12, 0) != 2)
2666 : return -1;
2667 100 : x28 = XVECEXP (x12, 0, 0);
2668 100 : if (x28 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
2669 : return -1;
2670 100 : x29 = XVECEXP (x12, 0, 1);
2671 100 : if (x29 != const_int_rtx[MAX_SAVED_CONST_INT + 6]
2672 100 : || XVECLEN (x15, 0) != 2)
2673 : return -1;
2674 100 : x32 = XVECEXP (x15, 0, 0);
2675 100 : if (x32 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
2676 : return -1;
2677 100 : x33 = XVECEXP (x15, 0, 1);
2678 100 : if (x33 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
2679 100 : || pattern371 (x1,
2680 : E_V2HImode,
2681 : E_V2DImode,
2682 : E_V8HImode) != 0)
2683 4 : return -1;
2684 : return 1;
2685 :
2686 : default:
2687 : return -1;
2688 : }
2689 : }
2690 :
2691 : int
2692 871365 : pattern400 (rtx x1)
2693 : {
2694 871365 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2695 871365 : rtx x2, x3, x4, x5, x6, x7, x8;
2696 871365 : int res ATTRIBUTE_UNUSED;
2697 871365 : x2 = XVECEXP (x1, 0, 0);
2698 871365 : x3 = XEXP (x2, 1);
2699 871365 : x4 = XEXP (x3, 0);
2700 871365 : if (GET_CODE (x4) != REG
2701 871365 : || REGNO (x4) != 17)
2702 : return -1;
2703 17147 : x5 = XEXP (x3, 1);
2704 17147 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2705 : return -1;
2706 17147 : x6 = XVECEXP (x1, 0, 1);
2707 17147 : if (GET_CODE (x6) != CLOBBER)
2708 : return -1;
2709 10090 : x7 = XEXP (x6, 0);
2710 10090 : if (GET_CODE (x7) != REG
2711 10090 : || REGNO (x7) != 17
2712 20054 : || GET_MODE (x7) != E_CCmode)
2713 : return -1;
2714 9964 : x8 = XEXP (x2, 0);
2715 9964 : operands[0] = x8;
2716 9964 : switch (GET_MODE (operands[0]))
2717 : {
2718 14 : case E_HImode:
2719 14 : if (!register_operand (operands[0], E_HImode)
2720 14 : || !ix86_comparison_operator (operands[1], E_HImode))
2721 0 : return -1;
2722 : return 0;
2723 :
2724 1762 : case E_SImode:
2725 1762 : if (!register_operand (operands[0], E_SImode)
2726 1762 : || !ix86_comparison_operator (operands[1], E_SImode))
2727 0 : return -1;
2728 : return 1;
2729 :
2730 : default:
2731 : return -1;
2732 : }
2733 : }
2734 :
2735 : int
2736 63983 : pattern408 (rtx x1)
2737 : {
2738 63983 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2739 63983 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2740 63983 : int res ATTRIBUTE_UNUSED;
2741 63983 : x2 = XVECEXP (x1, 0, 1);
2742 63983 : if (GET_CODE (x2) != CLOBBER)
2743 : return -1;
2744 59443 : x3 = XEXP (x2, 0);
2745 59443 : if (GET_CODE (x3) != REG
2746 59443 : || REGNO (x3) != 17
2747 118886 : || GET_MODE (x3) != E_CCmode)
2748 : return -1;
2749 59443 : x4 = XVECEXP (x1, 0, 0);
2750 59443 : x5 = XEXP (x4, 0);
2751 59443 : operands[0] = x5;
2752 59443 : x6 = XEXP (x4, 1);
2753 59443 : x7 = XEXP (x6, 0);
2754 59443 : x8 = XEXP (x7, 1);
2755 59443 : switch (GET_CODE (x8))
2756 : {
2757 13683 : case AND:
2758 13683 : return pattern404 (x6); /* [-1, 1] */
2759 :
2760 45177 : case CONST_INT:
2761 45177 : case CONST_WIDE_INT:
2762 45177 : case CONST_POLY_INT:
2763 45177 : case CONST_FIXED:
2764 45177 : case CONST_DOUBLE:
2765 45177 : case CONST_VECTOR:
2766 45177 : case CONST:
2767 45177 : case REG:
2768 45177 : case SUBREG:
2769 45177 : case LABEL_REF:
2770 45177 : case SYMBOL_REF:
2771 45177 : case HIGH:
2772 45177 : x9 = XEXP (x6, 1);
2773 45177 : switch (GET_CODE (x9))
2774 : {
2775 1382 : case SUBREG:
2776 1382 : res = pattern405 (x6,
2777 : ASHIFT);
2778 1382 : if (res >= 0)
2779 661 : return res + 2; /* [2, 3] */
2780 : return -1;
2781 :
2782 1915 : case ASHIFT:
2783 1915 : res = pattern407 (x6);
2784 1915 : if (res >= 0)
2785 472 : return res + 4; /* [4, 7] */
2786 : return -1;
2787 :
2788 : default:
2789 : return -1;
2790 : }
2791 :
2792 : default:
2793 : return -1;
2794 : }
2795 : }
2796 :
2797 : int
2798 431 : pattern415 (rtx x1)
2799 : {
2800 431 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2801 431 : int res ATTRIBUTE_UNUSED;
2802 431 : switch (GET_MODE (operands[0]))
2803 : {
2804 416 : case E_QImode:
2805 416 : if (!register_operand (operands[0], E_QImode)
2806 416 : || GET_MODE (x1) != E_QImode
2807 832 : || !register_operand (operands[1], E_QImode))
2808 39 : return -1;
2809 : return 0;
2810 :
2811 15 : case E_HImode:
2812 15 : if (!register_operand (operands[0], E_HImode)
2813 15 : || GET_MODE (x1) != E_HImode
2814 30 : || !register_operand (operands[1], E_HImode))
2815 0 : return -1;
2816 : return 1;
2817 :
2818 : default:
2819 : return -1;
2820 : }
2821 : }
2822 :
2823 : int
2824 147180 : pattern419 (rtx x1, machine_mode i1, machine_mode i2)
2825 : {
2826 147180 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2827 147180 : rtx x2;
2828 147180 : int res ATTRIBUTE_UNUSED;
2829 147180 : if (!register_operand (operands[0], i2)
2830 147180 : || GET_MODE (x1) != i2)
2831 : return -1;
2832 147180 : x2 = XEXP (x1, 0);
2833 147180 : if (GET_MODE (x2) != i2
2834 147180 : || !nonimmediate_operand (operands[1], i1))
2835 32433 : return -1;
2836 : return 0;
2837 : }
2838 :
2839 : int
2840 47491 : pattern422 (rtx x1, int i1, int i2)
2841 : {
2842 47491 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2843 47491 : rtx x2;
2844 47491 : int res ATTRIBUTE_UNUSED;
2845 47491 : if (GET_CODE (x1) != UNSPEC
2846 25579 : || XVECLEN (x1, 0) != 1
2847 25579 : || XINT (x1, 1) != i1)
2848 : return -1;
2849 25579 : x2 = XVECEXP (x1, 0, 0);
2850 25579 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
2851 0 : return -1;
2852 : return 0;
2853 : }
2854 :
2855 : int
2856 0 : pattern425 (machine_mode i1, machine_mode i2)
2857 : {
2858 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2859 0 : int res ATTRIBUTE_UNUSED;
2860 0 : if (!nonimmediate_operand (operands[3], i2)
2861 0 : || !nonimmediate_operand (operands[4], i1)
2862 0 : || !scratch_operand (operands[1], i1)
2863 0 : || !scratch_operand (operands[2], i1))
2864 0 : return -1;
2865 : return 0;
2866 : }
2867 :
2868 : int
2869 1537299 : pattern429 (rtx x1, machine_mode i1)
2870 : {
2871 1537299 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2872 1537299 : rtx x2, x3, x4, x5;
2873 1537299 : int res ATTRIBUTE_UNUSED;
2874 1537299 : if (!register_operand (operands[0], i1))
2875 : return -1;
2876 1536357 : x2 = XVECEXP (x1, 0, 0);
2877 1536357 : x3 = XEXP (x2, 1);
2878 1536357 : if (GET_MODE (x3) != i1
2879 1536357 : || !register_operand (operands[2], i1)
2880 1470822 : || !nonimmediate_operand (operands[3], i1)
2881 2977584 : || !register_operand (operands[1], i1))
2882 : return -1;
2883 1441073 : x4 = XVECEXP (x1, 0, 1);
2884 1441073 : x5 = XEXP (x4, 1);
2885 1441073 : if (GET_MODE (x5) != i1)
2886 0 : return -1;
2887 : return 0;
2888 : }
2889 :
2890 : int
2891 110413 : pattern433 (rtx x1, rtx_code i1)
2892 : {
2893 110413 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2894 110413 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
2895 110413 : rtx x10, x11, x12, x13, x14;
2896 110413 : int res ATTRIBUTE_UNUSED;
2897 110413 : x2 = XVECEXP (x1, 0, 1);
2898 110413 : if (GET_CODE (x2) != SET)
2899 : return -1;
2900 110413 : x3 = XEXP (x2, 1);
2901 110413 : if (GET_CODE (x3) != i1)
2902 : return -1;
2903 110413 : x4 = XVECEXP (x1, 0, 3);
2904 110413 : x5 = XEXP (x4, 0);
2905 110413 : if (GET_CODE (x5) != REG
2906 110413 : || REGNO (x5) != 17
2907 220826 : || GET_MODE (x5) != E_CCmode)
2908 : return -1;
2909 110413 : x6 = XVECEXP (x1, 0, 0);
2910 110413 : x7 = XEXP (x6, 0);
2911 110413 : operands[0] = x7;
2912 110413 : x8 = XEXP (x6, 1);
2913 110413 : x9 = XEXP (x8, 0);
2914 110413 : operands[2] = x9;
2915 110413 : x10 = XEXP (x8, 1);
2916 110413 : operands[3] = x10;
2917 110413 : x11 = XEXP (x2, 0);
2918 110413 : operands[1] = x11;
2919 110413 : x12 = XEXP (x3, 0);
2920 110413 : if (!rtx_equal_p (x12, operands[2]))
2921 : return -1;
2922 110413 : x13 = XEXP (x3, 1);
2923 110413 : if (!rtx_equal_p (x13, operands[3]))
2924 : return -1;
2925 110413 : x14 = XVECEXP (x1, 0, 2);
2926 110413 : switch (GET_CODE (x14))
2927 : {
2928 39 : case UNSPEC:
2929 39 : return pattern430 (x1); /* [-1, 1] */
2930 :
2931 110374 : case USE:
2932 110374 : res = pattern432 (x1);
2933 110374 : if (res >= 0)
2934 110374 : return res + 2; /* [2, 4] */
2935 : return -1;
2936 :
2937 : default:
2938 : return -1;
2939 : }
2940 : }
2941 :
2942 : int
2943 161198 : pattern443 (rtx x1)
2944 : {
2945 161198 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2946 161198 : rtx x2, x3, x4, x5, x6;
2947 161198 : int res ATTRIBUTE_UNUSED;
2948 161198 : x2 = XVECEXP (x1, 0, 1);
2949 161198 : if (GET_CODE (x2) != CLOBBER)
2950 : return -1;
2951 161198 : x3 = XEXP (x2, 0);
2952 161198 : if (GET_CODE (x3) != REG
2953 161198 : || REGNO (x3) != 17
2954 270988 : || GET_MODE (x3) != E_CCmode)
2955 : return -1;
2956 109784 : x4 = XVECEXP (x1, 0, 0);
2957 109784 : x5 = XEXP (x4, 0);
2958 109784 : operands[0] = x5;
2959 109784 : x6 = XEXP (x4, 1);
2960 109784 : return pattern254 (x6); /* [-1, 4] */
2961 : }
2962 :
2963 : int
2964 18 : pattern446 (rtx x1, machine_mode i1, machine_mode i2)
2965 : {
2966 18 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2967 18 : rtx x2, x3, x4, x5, x6, x7;
2968 18 : int res ATTRIBUTE_UNUSED;
2969 18 : x2 = XEXP (x1, 0);
2970 18 : x3 = XEXP (x2, 0);
2971 18 : x4 = XEXP (x3, 1);
2972 18 : x5 = XVECEXP (x4, 0, 0);
2973 18 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
2974 : return -1;
2975 18 : x6 = XVECEXP (x4, 0, 1);
2976 18 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
2977 18 : || !register_operand (operands[0], E_V2DImode)
2978 12 : || GET_MODE (x1) != E_V2DImode
2979 12 : || GET_MODE (x2) != E_V2DImode
2980 30 : || GET_MODE (x3) != i2)
2981 : return -1;
2982 12 : x7 = XEXP (x3, 0);
2983 12 : if (GET_MODE (x7) != i1
2984 12 : || !nonimm_or_0_operand (operands[2], E_V2DImode))
2985 0 : return -1;
2986 : return 0;
2987 : }
2988 :
2989 : int
2990 20243 : pattern449 (rtx x1)
2991 : {
2992 20243 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
2993 20243 : rtx x2, x3, x4, x5, x6;
2994 20243 : int res ATTRIBUTE_UNUSED;
2995 20243 : x2 = XEXP (x1, 0);
2996 20243 : x3 = XEXP (x2, 1);
2997 20243 : if (GET_CODE (x3) != UNSPEC
2998 303 : || XVECLEN (x3, 0) != 1
2999 303 : || XINT (x3, 1) != 146)
3000 : return -1;
3001 295 : x4 = XVECEXP (x3, 0, 0);
3002 295 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3003 : return -1;
3004 295 : x5 = XEXP (x1, 1);
3005 295 : if (GET_CODE (x5) != UNSPEC
3006 295 : || XVECLEN (x5, 0) != 1
3007 295 : || XINT (x5, 1) != 146)
3008 : return -1;
3009 295 : x6 = XVECEXP (x5, 0, 0);
3010 295 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3011 0 : return -1;
3012 : return 0;
3013 : }
3014 :
3015 : int
3016 3983074 : pattern454 (rtx x1, rtx_code i1, int i2)
3017 : {
3018 3983074 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3019 3983074 : rtx x2, x3;
3020 3983074 : int res ATTRIBUTE_UNUSED;
3021 3983074 : if (GET_CODE (x1) != PARALLEL
3022 499864 : || XVECLEN (x1, 0) != i2)
3023 : return -1;
3024 305399 : x2 = XVECEXP (x1, 0, 0);
3025 305399 : if (GET_CODE (x2) != SET)
3026 : return -1;
3027 303232 : x3 = XEXP (x2, 1);
3028 303232 : if (GET_CODE (x3) != i1)
3029 271057 : return -1;
3030 : return 0;
3031 : }
3032 :
3033 : int
3034 3802 : pattern457 (rtx x1)
3035 : {
3036 3802 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3037 3802 : rtx x2, x3, x4;
3038 3802 : int res ATTRIBUTE_UNUSED;
3039 3802 : if (GET_CODE (x1) != ZERO_EXTRACT)
3040 : return -1;
3041 2301 : x2 = XEXP (x1, 1);
3042 2301 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
3043 : return -1;
3044 385 : x3 = XEXP (x1, 2);
3045 385 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
3046 : return -1;
3047 385 : x4 = XEXP (x1, 0);
3048 385 : operands[0] = x4;
3049 385 : if (!int248_register_operand (operands[0], E_VOIDmode))
3050 0 : return -1;
3051 : return 0;
3052 : }
3053 :
3054 : int
3055 924879 : pattern461 (rtx x1, machine_mode i1)
3056 : {
3057 924879 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3058 924879 : int res ATTRIBUTE_UNUSED;
3059 924879 : if (!register_operand (operands[0], i1)
3060 924879 : || GET_MODE (x1) != i1)
3061 : return -1;
3062 890435 : switch (GET_MODE (operands[1]))
3063 : {
3064 10996 : case E_HImode:
3065 10996 : if (!nonimmediate_operand (operands[1], E_HImode))
3066 5 : return -1;
3067 : return 0;
3068 :
3069 526499 : case E_SImode:
3070 526499 : if (!nonimmediate_operand (operands[1], E_SImode))
3071 1188 : return -1;
3072 : return 1;
3073 :
3074 347896 : case E_DImode:
3075 347896 : if (!nonimmediate_operand (operands[1], E_DImode))
3076 152 : return -1;
3077 : return 2;
3078 :
3079 : default:
3080 : return -1;
3081 : }
3082 : }
3083 :
3084 : int
3085 2442 : pattern467 (rtx x1, int *pnum_clobbers)
3086 : {
3087 2442 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3088 2442 : rtx x2, x3, x4, x5, x6, x7;
3089 2442 : int res ATTRIBUTE_UNUSED;
3090 2442 : if (pnum_clobbers == NULL)
3091 : return -1;
3092 2442 : x2 = XEXP (x1, 0);
3093 2442 : x3 = XEXP (x2, 0);
3094 2442 : x4 = XEXP (x3, 1);
3095 2442 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3096 : return -1;
3097 2330 : x5 = XEXP (x3, 0);
3098 2330 : operands[3] = x5;
3099 2330 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
3100 : return -1;
3101 1372 : x6 = XEXP (x2, 1);
3102 1372 : operands[1] = x6;
3103 1372 : x7 = XEXP (x1, 1);
3104 1372 : operands[2] = x7;
3105 1372 : switch (GET_MODE (operands[0]))
3106 : {
3107 : case E_QImode:
3108 : return 0;
3109 :
3110 0 : case E_HImode:
3111 0 : return 1;
3112 :
3113 : default:
3114 : return -1;
3115 : }
3116 : }
3117 :
3118 : int
3119 342 : pattern473 (rtx x1)
3120 : {
3121 342 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3122 342 : rtx x2, x3;
3123 342 : int res ATTRIBUTE_UNUSED;
3124 342 : if (GET_MODE (x1) != E_SImode)
3125 : return -1;
3126 330 : x2 = XEXP (x1, 0);
3127 330 : if (GET_CODE (x2) != ASHIFT
3128 72 : || GET_MODE (x2) != E_SImode)
3129 : return -1;
3130 72 : x3 = XEXP (x2, 0);
3131 72 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
3132 46 : return -1;
3133 : return 0;
3134 : }
3135 :
3136 : int
3137 3623 : pattern477 (rtx x1, machine_mode i1)
3138 : {
3139 3623 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3140 3623 : rtx x2;
3141 3623 : int res ATTRIBUTE_UNUSED;
3142 3623 : if (!nonimmediate_operand (operands[0], i1)
3143 3619 : || GET_MODE (x1) != i1
3144 7242 : || !x86_64_general_operand (operands[1], i1))
3145 : return -1;
3146 3613 : x2 = XEXP (x1, 1);
3147 3613 : if (GET_MODE (x2) != i1)
3148 0 : return -1;
3149 : return 0;
3150 : }
3151 :
3152 : int
3153 15739 : pattern480 (rtx x1)
3154 : {
3155 15739 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3156 15739 : rtx x2, x3, x4;
3157 15739 : int res ATTRIBUTE_UNUSED;
3158 15739 : x2 = XEXP (x1, 1);
3159 15739 : x3 = XEXP (x2, 0);
3160 15739 : x4 = XEXP (x3, 1);
3161 15739 : operands[3] = x4;
3162 15739 : if (!const_int_operand (operands[3], E_VOIDmode))
3163 : return -1;
3164 15723 : return pattern14 (x1); /* [-1, 1] */
3165 : }
3166 :
3167 : int
3168 0 : pattern484 (rtx x1)
3169 : {
3170 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3171 0 : rtx x2, x3, x4, x5, x6, x7;
3172 0 : int res ATTRIBUTE_UNUSED;
3173 0 : x2 = XVECEXP (x1, 0, 0);
3174 0 : x3 = XEXP (x2, 0);
3175 0 : if (GET_CODE (x3) != VEC_SELECT)
3176 : return -1;
3177 0 : x4 = XEXP (x3, 1);
3178 0 : if (GET_CODE (x4) != PARALLEL
3179 0 : || XVECLEN (x4, 0) != 1)
3180 : return -1;
3181 0 : x5 = XVECEXP (x4, 0, 0);
3182 0 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3183 : return -1;
3184 0 : x6 = XEXP (x3, 0);
3185 0 : operands[1] = x6;
3186 0 : x7 = XVECEXP (x1, 0, 1);
3187 0 : operands[2] = x7;
3188 0 : if (!const48_operand (operands[2], E_SImode))
3189 : return -1;
3190 0 : switch (GET_MODE (operands[0]))
3191 : {
3192 0 : case E_SImode:
3193 0 : return pattern483 (x1,
3194 0 : E_SImode); /* [-1, 2] */
3195 :
3196 0 : case E_DImode:
3197 0 : res = pattern483 (x1,
3198 : E_DImode);
3199 0 : if (res >= 0)
3200 0 : return res + 3; /* [3, 5] */
3201 : return -1;
3202 :
3203 : default:
3204 : return -1;
3205 : }
3206 : }
3207 :
3208 : int
3209 1140 : pattern490 (rtx x1, machine_mode i1, machine_mode i2)
3210 : {
3211 1140 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3212 1140 : rtx x2, x3;
3213 1140 : int res ATTRIBUTE_UNUSED;
3214 1140 : if (!register_operand (operands[0], i2)
3215 1140 : || GET_MODE (x1) != i2)
3216 : return -1;
3217 1042 : x2 = XEXP (x1, 0);
3218 1042 : if (GET_MODE (x2) != i2
3219 1042 : || !vector_operand (operands[1], i2)
3220 1024 : || !vector_operand (operands[2], i2)
3221 2066 : || !nonimm_or_0_operand (operands[3], i2))
3222 : return -1;
3223 1016 : x3 = XEXP (x1, 2);
3224 1016 : if (GET_MODE (x3) != i1
3225 1016 : || !register_operand (operands[4], E_QImode))
3226 108 : return -1;
3227 : return 0;
3228 : }
3229 :
3230 : int
3231 3172 : pattern495 (rtx x1)
3232 : {
3233 3172 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3234 3172 : rtx x2, x3, x4, x5, x6;
3235 3172 : int res ATTRIBUTE_UNUSED;
3236 3172 : x2 = XEXP (x1, 0);
3237 3172 : x3 = XVECEXP (x2, 0, 0);
3238 3172 : operands[1] = x3;
3239 3172 : x4 = XVECEXP (x2, 0, 1);
3240 3172 : operands[2] = x4;
3241 3172 : x5 = XEXP (x1, 1);
3242 3172 : operands[3] = x5;
3243 3172 : x6 = XEXP (x1, 2);
3244 3172 : operands[4] = x6;
3245 3172 : switch (GET_MODE (operands[0]))
3246 : {
3247 1080 : case E_V64QImode:
3248 1080 : return pattern494 (x1,
3249 : E_DImode,
3250 : E_V64QImode,
3251 1080 : E_V32HFmode); /* [-1, 0] */
3252 :
3253 1064 : case E_V32QImode:
3254 1064 : if (pattern494 (x1,
3255 : E_SImode,
3256 : E_V32QImode,
3257 : E_V16HFmode) != 0)
3258 124 : return -1;
3259 : return 1;
3260 :
3261 1028 : case E_V16QImode:
3262 1028 : if (pattern494 (x1,
3263 : E_HImode,
3264 : E_V16QImode,
3265 : E_V8HFmode) != 0)
3266 84 : return -1;
3267 : return 2;
3268 :
3269 : default:
3270 : return -1;
3271 : }
3272 : }
3273 :
3274 : int
3275 2245 : pattern499 (rtx x1)
3276 : {
3277 2245 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3278 2245 : rtx x2, x3, x4, x5, x6;
3279 2245 : int res ATTRIBUTE_UNUSED;
3280 2245 : x2 = XEXP (x1, 0);
3281 2245 : x3 = XVECEXP (x2, 0, 0);
3282 2245 : operands[1] = x3;
3283 2245 : x4 = XVECEXP (x2, 0, 1);
3284 2245 : operands[2] = x4;
3285 2245 : if (!const_0_to_255_operand (operands[2], E_SImode))
3286 : return -1;
3287 2245 : x5 = XEXP (x1, 1);
3288 2245 : operands[3] = x5;
3289 2245 : x6 = XEXP (x1, 2);
3290 2245 : operands[4] = x6;
3291 2245 : switch (GET_MODE (operands[0]))
3292 : {
3293 753 : case E_V32BFmode:
3294 753 : return pattern498 (x1,
3295 : E_V32BFmode,
3296 753 : E_SImode); /* [-1, 0] */
3297 :
3298 752 : case E_V16BFmode:
3299 752 : if (pattern498 (x1,
3300 : E_V16BFmode,
3301 : E_HImode) != 0)
3302 105 : return -1;
3303 : return 1;
3304 :
3305 740 : case E_V8BFmode:
3306 740 : if (pattern498 (x1,
3307 : E_V8BFmode,
3308 : E_QImode) != 0)
3309 92 : return -1;
3310 : return 2;
3311 :
3312 : default:
3313 : return -1;
3314 : }
3315 : }
3316 :
3317 : int
3318 1728 : pattern508 (rtx x1)
3319 : {
3320 1728 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3321 1728 : rtx x2, x3, x4, x5, x6, x7;
3322 1728 : int res ATTRIBUTE_UNUSED;
3323 1728 : x2 = XEXP (x1, 0);
3324 1728 : x3 = XVECEXP (x2, 0, 0);
3325 1728 : operands[1] = x3;
3326 1728 : x4 = XVECEXP (x2, 0, 1);
3327 1728 : operands[2] = x4;
3328 1728 : x5 = XVECEXP (x2, 0, 2);
3329 1728 : operands[3] = x5;
3330 1728 : x6 = XEXP (x1, 2);
3331 1728 : if (!register_operand (x6, E_QImode))
3332 : return -1;
3333 1534 : x7 = XEXP (x1, 1);
3334 1534 : switch (GET_CODE (x7))
3335 : {
3336 736 : case CONST_INT:
3337 736 : case CONST_DOUBLE:
3338 736 : case CONST_VECTOR:
3339 736 : operands[4] = x7;
3340 736 : operands[5] = x6;
3341 736 : switch (GET_MODE (operands[0]))
3342 : {
3343 247 : case E_V8DImode:
3344 247 : return pattern506 (x1,
3345 247 : E_V8DImode); /* [-1, 0] */
3346 :
3347 249 : case E_V4DImode:
3348 249 : if (pattern506 (x1,
3349 : E_V4DImode) != 0)
3350 40 : return -1;
3351 : return 1;
3352 :
3353 240 : case E_V2DImode:
3354 240 : if (pattern506 (x1,
3355 : E_V2DImode) != 0)
3356 33 : return -1;
3357 : return 2;
3358 :
3359 : default:
3360 : return -1;
3361 : }
3362 :
3363 761 : case REG:
3364 761 : case SUBREG:
3365 761 : if (!rtx_equal_p (x7, operands[1]))
3366 : return -1;
3367 761 : operands[4] = x6;
3368 761 : switch (GET_MODE (operands[0]))
3369 : {
3370 284 : case E_V8DImode:
3371 284 : if (pattern507 (x1,
3372 : E_V8DImode) != 0)
3373 27 : return -1;
3374 : return 3;
3375 :
3376 242 : case E_V4DImode:
3377 242 : if (pattern507 (x1,
3378 : E_V4DImode) != 0)
3379 27 : return -1;
3380 : return 4;
3381 :
3382 235 : case E_V2DImode:
3383 235 : if (pattern507 (x1,
3384 : E_V2DImode) != 0)
3385 22 : return -1;
3386 : return 5;
3387 :
3388 : default:
3389 : return -1;
3390 : }
3391 :
3392 : default:
3393 : return -1;
3394 : }
3395 : }
3396 :
3397 : int
3398 8312 : pattern517 (rtx x1)
3399 : {
3400 8312 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3401 8312 : rtx x2, x3, x4, x5, x6, x7;
3402 8312 : int res ATTRIBUTE_UNUSED;
3403 8312 : x2 = XEXP (x1, 0);
3404 8312 : x3 = XVECEXP (x2, 0, 0);
3405 8312 : operands[1] = x3;
3406 8312 : x4 = XVECEXP (x2, 0, 1);
3407 8312 : operands[2] = x4;
3408 8312 : x5 = XVECEXP (x2, 0, 2);
3409 8312 : operands[3] = x5;
3410 8312 : x6 = XEXP (x1, 2);
3411 8312 : operands[4] = x6;
3412 8312 : x7 = XEXP (x1, 1);
3413 8312 : switch (GET_CODE (x7))
3414 : {
3415 4048 : case REG:
3416 4048 : case SUBREG:
3417 4048 : if (!rtx_equal_p (x7, operands[1]))
3418 : return -1;
3419 4048 : switch (GET_MODE (operands[0]))
3420 : {
3421 1372 : case E_V16SImode:
3422 1372 : return pattern511 (x1,
3423 : E_V16SImode,
3424 1372 : E_HImode); /* [-1, 0] */
3425 :
3426 1368 : case E_V8SImode:
3427 1368 : if (pattern511 (x1,
3428 : E_V8SImode,
3429 : E_QImode) != 0)
3430 132 : return -1;
3431 : return 1;
3432 :
3433 1308 : case E_V4SImode:
3434 1308 : if (pattern511 (x1,
3435 : E_V4SImode,
3436 : E_QImode) != 0)
3437 84 : return -1;
3438 : return 2;
3439 :
3440 : default:
3441 : return -1;
3442 : }
3443 :
3444 4204 : case CONST_INT:
3445 4204 : case CONST_DOUBLE:
3446 4204 : case CONST_VECTOR:
3447 4204 : operands[5] = x7;
3448 4204 : switch (GET_MODE (operands[0]))
3449 : {
3450 1432 : case E_V16SImode:
3451 1432 : if (pattern516 (x1,
3452 : E_V16SImode,
3453 : E_HImode) != 0)
3454 216 : return -1;
3455 : return 3;
3456 :
3457 1428 : case E_V8SImode:
3458 1428 : if (pattern516 (x1,
3459 : E_V8SImode,
3460 : E_QImode) != 0)
3461 216 : return -1;
3462 : return 4;
3463 :
3464 1344 : case E_V4SImode:
3465 1344 : if (pattern516 (x1,
3466 : E_V4SImode,
3467 : E_QImode) != 0)
3468 132 : return -1;
3469 : return 5;
3470 :
3471 : default:
3472 : return -1;
3473 : }
3474 :
3475 : default:
3476 : return -1;
3477 : }
3478 : }
3479 :
3480 : int
3481 0 : pattern525 (rtx x1)
3482 : {
3483 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3484 0 : rtx x2, x3, x4;
3485 0 : int res ATTRIBUTE_UNUSED;
3486 0 : x2 = XVECEXP (x1, 0, 0);
3487 0 : x3 = XEXP (x2, 0);
3488 0 : operands[1] = x3;
3489 0 : x4 = XVECEXP (x1, 0, 1);
3490 0 : operands[2] = x4;
3491 0 : if (!const48_operand (operands[2], E_SImode))
3492 : return -1;
3493 0 : switch (GET_MODE (operands[0]))
3494 : {
3495 0 : case E_V8HImode:
3496 0 : return pattern524 (x1,
3497 : E_V8HFmode,
3498 0 : E_V8HImode); /* [-1, 0] */
3499 :
3500 0 : case E_V16HImode:
3501 0 : if (pattern524 (x1,
3502 : E_V16HFmode,
3503 : E_V16HImode) != 0)
3504 0 : return -1;
3505 : return 1;
3506 :
3507 0 : case E_V32HImode:
3508 0 : if (pattern524 (x1,
3509 : E_V32HFmode,
3510 : E_V32HImode) != 0)
3511 0 : return -1;
3512 : return 2;
3513 :
3514 0 : case E_V8SImode:
3515 0 : if (!register_operand (operands[0], E_V8SImode)
3516 0 : || GET_MODE (x1) != E_V8SImode
3517 0 : || GET_MODE (x2) != E_V8SImode)
3518 : return -1;
3519 0 : switch (GET_MODE (operands[1]))
3520 : {
3521 0 : case E_V8HFmode:
3522 0 : if (!register_operand (operands[1], E_V8HFmode))
3523 0 : return -1;
3524 : return 3;
3525 :
3526 0 : case E_V8DFmode:
3527 0 : if (!register_operand (operands[1], E_V8DFmode))
3528 0 : return -1;
3529 : return 4;
3530 :
3531 : default:
3532 : return -1;
3533 : }
3534 :
3535 0 : case E_V16SImode:
3536 0 : if (!register_operand (operands[0], E_V16SImode)
3537 0 : || GET_MODE (x1) != E_V16SImode
3538 0 : || GET_MODE (x2) != E_V16SImode)
3539 : return -1;
3540 0 : switch (GET_MODE (operands[1]))
3541 : {
3542 0 : case E_V16HFmode:
3543 0 : if (!register_operand (operands[1], E_V16HFmode))
3544 0 : return -1;
3545 : return 5;
3546 :
3547 0 : case E_V16SFmode:
3548 0 : if (!register_operand (operands[1], E_V16SFmode))
3549 0 : return -1;
3550 : return 6;
3551 :
3552 : default:
3553 : return -1;
3554 : }
3555 :
3556 0 : case E_V8DImode:
3557 0 : if (!register_operand (operands[0], E_V8DImode)
3558 0 : || GET_MODE (x1) != E_V8DImode
3559 0 : || GET_MODE (x2) != E_V8DImode)
3560 : return -1;
3561 0 : switch (GET_MODE (operands[1]))
3562 : {
3563 0 : case E_V8HFmode:
3564 0 : if (!register_operand (operands[1], E_V8HFmode))
3565 0 : return -1;
3566 : return 7;
3567 :
3568 0 : case E_V8DFmode:
3569 0 : if (!register_operand (operands[1], E_V8DFmode))
3570 0 : return -1;
3571 : return 8;
3572 :
3573 0 : case E_V8SFmode:
3574 0 : if (!register_operand (operands[1], E_V8SFmode))
3575 0 : return -1;
3576 : return 9;
3577 :
3578 : default:
3579 : return -1;
3580 : }
3581 :
3582 : default:
3583 : return -1;
3584 : }
3585 : }
3586 :
3587 : int
3588 1222 : pattern536 (rtx x1, machine_mode i1, machine_mode i2)
3589 : {
3590 1222 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3591 1222 : rtx x2, x3, x4;
3592 1222 : int res ATTRIBUTE_UNUSED;
3593 1222 : if (!register_operand (operands[0], i1)
3594 1222 : || GET_MODE (x1) != i1)
3595 : return -1;
3596 1216 : x2 = XEXP (x1, 0);
3597 1216 : if (GET_MODE (x2) != i2)
3598 : return -1;
3599 1216 : x3 = XEXP (x2, 0);
3600 1216 : if (GET_MODE (x3) != i2)
3601 : return -1;
3602 1216 : x4 = XEXP (x2, 1);
3603 1216 : if (GET_MODE (x4) != i2
3604 1216 : || !nonimm_or_0_operand (operands[2], i1))
3605 25 : return -1;
3606 : return 0;
3607 : }
3608 :
3609 : int
3610 1758 : pattern538 ()
3611 : {
3612 1758 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3613 1758 : int res ATTRIBUTE_UNUSED;
3614 1758 : switch (GET_MODE (operands[1]))
3615 : {
3616 576 : case E_V8HImode:
3617 576 : if (!register_operand (operands[1], E_V8HImode))
3618 0 : return -1;
3619 : return 0;
3620 :
3621 600 : case E_V8SImode:
3622 600 : if (!register_operand (operands[1], E_V8SImode))
3623 0 : return -1;
3624 : return 1;
3625 :
3626 582 : case E_V8DImode:
3627 582 : if (!register_operand (operands[1], E_V8DImode))
3628 0 : return -1;
3629 : return 2;
3630 :
3631 : default:
3632 : return -1;
3633 : }
3634 : }
3635 :
3636 : int
3637 8053 : pattern542 (rtx x1, machine_mode i1, int i2)
3638 : {
3639 8053 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3640 8053 : rtx x2, x3;
3641 8053 : int res ATTRIBUTE_UNUSED;
3642 8053 : if (XVECLEN (x1, 0) != i2
3643 7931 : || GET_MODE (x1) != i1)
3644 : return -1;
3645 7931 : x2 = XVECEXP (x1, 0, 0);
3646 7931 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3647 : return -1;
3648 7929 : x3 = XVECEXP (x1, 0, 1);
3649 7929 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3650 0 : return -1;
3651 : return 0;
3652 : }
3653 :
3654 : int
3655 2750 : pattern544 (rtx x1)
3656 : {
3657 2750 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3658 2750 : rtx x2;
3659 2750 : int res ATTRIBUTE_UNUSED;
3660 2750 : switch (GET_MODE (operands[0]))
3661 : {
3662 1768 : case E_V16QImode:
3663 1768 : if (!register_operand (operands[0], E_V16QImode)
3664 1768 : || GET_MODE (x1) != E_V16QImode)
3665 : return -1;
3666 1752 : x2 = XEXP (x1, 0);
3667 1752 : switch (GET_MODE (x2))
3668 : {
3669 397 : case E_V4QImode:
3670 397 : return pattern543 (
3671 397 : E_V12QImode); /* [-1, 1] */
3672 :
3673 181 : case E_V2QImode:
3674 181 : if (!register_operand (operands[1], E_V2DImode)
3675 181 : || !const0_operand (operands[2], E_V14QImode))
3676 5 : return -1;
3677 : return 2;
3678 :
3679 1174 : case E_V8QImode:
3680 1174 : if (!const0_operand (operands[2], E_V8QImode))
3681 : return -1;
3682 1172 : switch (GET_MODE (operands[1]))
3683 : {
3684 201 : case E_V8SImode:
3685 201 : if (!register_operand (operands[1], E_V8SImode))
3686 17 : return -1;
3687 : return 3;
3688 :
3689 787 : case E_V8HImode:
3690 787 : if (!register_operand (operands[1], E_V8HImode))
3691 222 : return -1;
3692 : return 4;
3693 :
3694 : default:
3695 : return -1;
3696 : }
3697 :
3698 : default:
3699 : return -1;
3700 : }
3701 :
3702 526 : case E_V8HImode:
3703 526 : if (!register_operand (operands[0], E_V8HImode)
3704 526 : || GET_MODE (x1) != E_V8HImode)
3705 : return -1;
3706 526 : x2 = XEXP (x1, 0);
3707 526 : switch (GET_MODE (x2))
3708 : {
3709 358 : case E_V4HImode:
3710 358 : res = pattern543 (
3711 : E_V4HImode);
3712 358 : if (res >= 0)
3713 347 : return res + 5; /* [5, 6] */
3714 : return -1;
3715 :
3716 168 : case E_V2HImode:
3717 168 : if (!register_operand (operands[1], E_V2DImode)
3718 168 : || !const0_operand (operands[2], E_V6HImode))
3719 4 : return -1;
3720 : return 7;
3721 :
3722 : default:
3723 : return -1;
3724 : }
3725 :
3726 214 : case E_V4SImode:
3727 214 : if (!register_operand (operands[0], E_V4SImode)
3728 214 : || GET_MODE (x1) != E_V4SImode)
3729 : return -1;
3730 202 : x2 = XEXP (x1, 0);
3731 202 : if (GET_MODE (x2) != E_V2SImode
3732 202 : || !register_operand (operands[1], E_V2DImode)
3733 394 : || !const0_operand (operands[2], E_V2SImode))
3734 10 : return -1;
3735 : return 8;
3736 :
3737 : default:
3738 : return -1;
3739 : }
3740 : }
3741 :
3742 : int
3743 31312 : pattern559 (rtx x1)
3744 : {
3745 31312 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3746 31312 : rtx x2, x3, x4, x5;
3747 31312 : int res ATTRIBUTE_UNUSED;
3748 31312 : x2 = XEXP (x1, 0);
3749 31312 : x3 = XEXP (x2, 0);
3750 31312 : operands[2] = x3;
3751 31312 : x4 = XEXP (x2, 1);
3752 31312 : operands[3] = x4;
3753 31312 : x5 = XEXP (x1, 1);
3754 31312 : operands[4] = x5;
3755 31312 : switch (GET_MODE (operands[0]))
3756 : {
3757 86 : case E_V8SFmode:
3758 86 : return pattern558 (x1,
3759 86 : E_V8SFmode); /* [-1, 0] */
3760 :
3761 354 : case E_V4SFmode:
3762 354 : if (pattern558 (x1,
3763 : E_V4SFmode) != 0)
3764 323 : return -1;
3765 : return 1;
3766 :
3767 30 : case E_V4DFmode:
3768 30 : if (pattern558 (x1,
3769 : E_V4DFmode) != 0)
3770 30 : return -1;
3771 : return 2;
3772 :
3773 747 : case E_V2DFmode:
3774 747 : if (pattern558 (x1,
3775 : E_V2DFmode) != 0)
3776 602 : return -1;
3777 : return 3;
3778 :
3779 : default:
3780 : return -1;
3781 : }
3782 : }
3783 :
3784 : int
3785 12329 : pattern563 (rtx x1, machine_mode i1)
3786 : {
3787 12329 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3788 12329 : rtx x2;
3789 12329 : int res ATTRIBUTE_UNUSED;
3790 12329 : if (!register_operand (operands[0], i1)
3791 12329 : || GET_MODE (x1) != i1)
3792 : return -1;
3793 11992 : x2 = XEXP (x1, 0);
3794 11992 : switch (GET_MODE (x2))
3795 : {
3796 641 : case E_V4QImode:
3797 641 : if (!register_operand (operands[1], E_V16QImode))
3798 129 : return -1;
3799 : return 0;
3800 :
3801 10427 : case E_V4HImode:
3802 10427 : if (!register_operand (operands[1], E_V8HImode))
3803 3127 : return -1;
3804 : return 1;
3805 :
3806 : default:
3807 : return -1;
3808 : }
3809 : }
3810 :
3811 : int
3812 15 : pattern565 (rtx x1)
3813 : {
3814 15 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3815 15 : rtx x2, x3, x4, x5, x6;
3816 15 : int res ATTRIBUTE_UNUSED;
3817 15 : x2 = XVECEXP (x1, 0, 0);
3818 15 : x3 = XEXP (x2, 1);
3819 15 : if (GET_MODE (x3) != E_DImode)
3820 : return -1;
3821 15 : x4 = XVECEXP (x1, 0, 1);
3822 15 : if (GET_CODE (x4) != SET)
3823 : return -1;
3824 15 : x5 = XEXP (x4, 1);
3825 15 : if (GET_CODE (x5) != UNSPEC
3826 15 : || XVECLEN (x5, 0) != 1
3827 15 : || XINT (x5, 1) != 106
3828 15 : || GET_MODE (x5) != E_DImode)
3829 : return -1;
3830 15 : x6 = XVECEXP (x5, 0, 0);
3831 15 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
3832 0 : return -1;
3833 : return 0;
3834 : }
3835 :
3836 : int
3837 1109 : pattern568 (rtx x1)
3838 : {
3839 1109 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3840 1109 : rtx x2, x3, x4, x5, x6, x7;
3841 1109 : int res ATTRIBUTE_UNUSED;
3842 1109 : x2 = XVECEXP (x1, 0, 0);
3843 1109 : x3 = XEXP (x2, 0);
3844 1109 : operands[0] = x3;
3845 1109 : x4 = XEXP (x2, 1);
3846 1109 : x5 = XVECEXP (x4, 0, 0);
3847 1109 : operands[1] = x5;
3848 1109 : x6 = XVECEXP (x1, 0, 1);
3849 1109 : switch (GET_CODE (x6))
3850 : {
3851 1107 : case CLOBBER:
3852 1107 : x7 = XEXP (x6, 0);
3853 1107 : if (GET_CODE (x7) != REG
3854 1107 : || REGNO (x7) != 17
3855 2214 : || GET_MODE (x7) != E_CCmode)
3856 : return -1;
3857 1107 : switch (GET_MODE (operands[0]))
3858 : {
3859 387 : case E_SImode:
3860 387 : if (!register_operand (operands[0], E_SImode)
3861 387 : || GET_MODE (x4) != E_SImode
3862 774 : || !nonimmediate_operand (operands[1], E_SImode))
3863 2 : return -1;
3864 : return 0;
3865 :
3866 382 : case E_DImode:
3867 382 : if (!register_operand (operands[0], E_DImode)
3868 382 : || GET_MODE (x4) != E_DImode
3869 764 : || !nonimmediate_operand (operands[1], E_DImode))
3870 2 : return -1;
3871 : return 1;
3872 :
3873 338 : case E_HImode:
3874 338 : if (!register_operand (operands[0], E_HImode)
3875 338 : || GET_MODE (x4) != E_HImode
3876 676 : || !nonimmediate_operand (operands[1], E_HImode))
3877 3 : return -1;
3878 : return 2;
3879 :
3880 : default:
3881 : return -1;
3882 : }
3883 :
3884 0 : case UNSPEC:
3885 0 : if (XVECLEN (x6, 0) != 1
3886 0 : || XINT (x6, 1) != 35)
3887 : return -1;
3888 0 : res = pattern567 (x1);
3889 0 : if (res >= 0)
3890 0 : return res + 3; /* [3, 4] */
3891 : return -1;
3892 :
3893 : default:
3894 : return -1;
3895 : }
3896 : }
3897 :
3898 : int
3899 151 : pattern573 (rtx x1)
3900 : {
3901 151 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3902 151 : rtx x2, x3, x4, x5, x6, x7, x8;
3903 151 : int res ATTRIBUTE_UNUSED;
3904 151 : x2 = XVECEXP (x1, 0, 0);
3905 151 : x3 = XEXP (x2, 1);
3906 151 : if (GET_MODE (x3) != E_XFmode)
3907 : return -1;
3908 151 : x4 = XVECEXP (x1, 0, 1);
3909 151 : if (GET_CODE (x4) != CLOBBER)
3910 : return -1;
3911 151 : x5 = XEXP (x2, 0);
3912 151 : operands[0] = x5;
3913 151 : if (!register_operand (operands[0], E_XFmode))
3914 : return -1;
3915 151 : x6 = XVECEXP (x3, 0, 0);
3916 151 : operands[1] = x6;
3917 151 : if (!register_operand (operands[1], E_XFmode))
3918 : return -1;
3919 114 : x7 = XVECEXP (x3, 0, 1);
3920 114 : operands[2] = x7;
3921 114 : if (!register_operand (operands[2], E_XFmode))
3922 : return -1;
3923 88 : x8 = XEXP (x4, 0);
3924 88 : operands[3] = x8;
3925 88 : if (!scratch_operand (operands[3], E_XFmode))
3926 0 : return -1;
3927 : return 0;
3928 : }
3929 :
3930 : int
3931 5125 : pattern577 (rtx x1, machine_mode i1)
3932 : {
3933 5125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3934 5125 : int res ATTRIBUTE_UNUSED;
3935 5125 : if (!register_operand (operands[0], i1)
3936 5125 : || GET_MODE (x1) != i1
3937 5125 : || !nonimmediate_operand (operands[1], i1)
3938 9869 : || !general_operand (operands[2], i1))
3939 381 : return -1;
3940 : return 0;
3941 : }
3942 :
3943 : int
3944 5125 : pattern578 (rtx x1)
3945 : {
3946 5125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3947 5125 : rtx x2, x3, x4;
3948 5125 : int res ATTRIBUTE_UNUSED;
3949 5125 : x2 = XEXP (x1, 0);
3950 5125 : x3 = XEXP (x2, 0);
3951 5125 : operands[0] = x3;
3952 5125 : switch (GET_MODE (operands[0]))
3953 : {
3954 4463 : case E_QImode:
3955 4463 : x4 = XEXP (x1, 1);
3956 4463 : return pattern577 (x4,
3957 4463 : E_QImode); /* [-1, 0] */
3958 :
3959 662 : case E_HImode:
3960 662 : x4 = XEXP (x1, 1);
3961 662 : if (pattern577 (x4,
3962 : E_HImode) != 0)
3963 136 : return -1;
3964 : return 1;
3965 :
3966 : default:
3967 : return -1;
3968 : }
3969 : }
3970 :
3971 : int
3972 369770 : pattern583 (rtx x1, machine_mode i1, machine_mode i2)
3973 : {
3974 369770 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3975 369770 : rtx x2, x3;
3976 369770 : int res ATTRIBUTE_UNUSED;
3977 369770 : x2 = XEXP (x1, 0);
3978 369770 : if (GET_MODE (x2) != i2
3979 369770 : || !register_operand (operands[1], i1))
3980 : return -1;
3981 352927 : x3 = XEXP (x1, 1);
3982 352927 : if (GET_MODE (x3) != i2
3983 352927 : || !nonimmediate_operand (operands[2], i1))
3984 1939 : return -1;
3985 : return 0;
3986 : }
3987 :
3988 : int
3989 519291 : pattern585 (rtx x1, rtx_code i1)
3990 : {
3991 519291 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
3992 519291 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
3993 519291 : int res ATTRIBUTE_UNUSED;
3994 519291 : x2 = XVECEXP (x1, 0, 0);
3995 519291 : x3 = XEXP (x2, 1);
3996 519291 : x4 = XEXP (x3, 1);
3997 519291 : if (GET_CODE (x4) != i1)
3998 : return -1;
3999 307667 : x5 = XVECEXP (x1, 0, 1);
4000 307667 : if (GET_CODE (x5) != CLOBBER)
4001 : return -1;
4002 287053 : x6 = XEXP (x5, 0);
4003 287053 : if (GET_CODE (x6) != REG
4004 287053 : || REGNO (x6) != 17
4005 574106 : || GET_MODE (x6) != E_CCmode)
4006 : return -1;
4007 287053 : x7 = XEXP (x3, 0);
4008 287053 : x8 = XEXP (x7, 0);
4009 287053 : operands[1] = x8;
4010 287053 : x9 = XEXP (x4, 0);
4011 287053 : operands[2] = x9;
4012 287053 : switch (GET_MODE (operands[0]))
4013 : {
4014 157838 : case E_DImode:
4015 157838 : return pattern584 (x3,
4016 : E_SImode,
4017 157838 : E_DImode); /* [-1, 0] */
4018 :
4019 123148 : case E_TImode:
4020 123148 : if (pattern584 (x3,
4021 : E_DImode,
4022 : E_TImode) != 0)
4023 5682 : return -1;
4024 : return 1;
4025 :
4026 5414 : case E_HImode:
4027 5414 : if (pattern584 (x3,
4028 : E_QImode,
4029 : E_HImode) != 0)
4030 837 : return -1;
4031 : return 2;
4032 :
4033 : default:
4034 : return -1;
4035 : }
4036 : }
4037 :
4038 : int
4039 772681 : pattern593 (rtx x1)
4040 : {
4041 772681 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4042 772681 : rtx x2, x3, x4, x5;
4043 772681 : int res ATTRIBUTE_UNUSED;
4044 772681 : x2 = XVECEXP (x1, 0, 1);
4045 772681 : x3 = XEXP (x2, 0);
4046 772681 : if (GET_CODE (x3) != REG
4047 772681 : || REGNO (x3) != 17
4048 1545362 : || GET_MODE (x3) != E_CCmode)
4049 : return -1;
4050 772681 : x4 = XVECEXP (x1, 0, 0);
4051 772681 : x5 = XEXP (x4, 1);
4052 772681 : if (GET_MODE (x5) != E_QImode)
4053 178192 : return -1;
4054 : return 0;
4055 : }
4056 :
4057 : int
4058 5167 : pattern595 (rtx x1)
4059 : {
4060 5167 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4061 5167 : rtx x2, x3;
4062 5167 : int res ATTRIBUTE_UNUSED;
4063 5167 : if (!ix86_carry_flag_operator (operands[1], E_VOIDmode))
4064 : return -1;
4065 4275 : x2 = XEXP (x1, 0);
4066 4275 : if (GET_CODE (x2) != REG
4067 4275 : || REGNO (x2) != 17)
4068 : return -1;
4069 2840 : x3 = XEXP (x1, 1);
4070 2840 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4071 0 : return -1;
4072 : return 0;
4073 : }
4074 :
4075 : int
4076 343 : pattern597 (rtx x1)
4077 : {
4078 343 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4079 343 : int res ATTRIBUTE_UNUSED;
4080 343 : if (GET_MODE (x1) != E_BLKmode
4081 343 : || !memory_operand (operands[0], E_BLKmode)
4082 343 : || !register_operand (operands[1], E_SImode)
4083 666 : || !register_operand (operands[2], E_SImode))
4084 141 : return -1;
4085 : return 0;
4086 : }
4087 :
4088 : int
4089 214 : pattern599 ()
4090 : {
4091 214 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4092 214 : int res ATTRIBUTE_UNUSED;
4093 214 : if (!register_operand (operands[1], E_SImode)
4094 214 : || !register_operand (operands[2], E_SImode))
4095 : return -1;
4096 184 : switch (GET_MODE (operands[0]))
4097 : {
4098 0 : case E_SImode:
4099 0 : if (!register_operand (operands[0], E_SImode))
4100 0 : return -1;
4101 : return 0;
4102 :
4103 184 : case E_DImode:
4104 184 : if (!register_operand (operands[0], E_DImode))
4105 0 : return -1;
4106 : return 1;
4107 :
4108 : default:
4109 : return -1;
4110 : }
4111 : }
4112 :
4113 : int
4114 342 : pattern604 (rtx x1)
4115 : {
4116 342 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4117 342 : rtx x2, x3, x4, x5, x6;
4118 342 : int res ATTRIBUTE_UNUSED;
4119 342 : x2 = XEXP (x1, 1);
4120 342 : if (GET_MODE (x2) != E_QImode)
4121 : return -1;
4122 342 : switch (GET_CODE (x2))
4123 : {
4124 298 : case SUBREG:
4125 298 : if (maybe_ne (SUBREG_BYTE (x2), 0))
4126 : return -1;
4127 298 : x3 = XEXP (x2, 0);
4128 298 : switch (GET_CODE (x3))
4129 : {
4130 100 : case AND:
4131 100 : operands[4] = x3;
4132 100 : if (!and_operator (operands[4], E_VOIDmode))
4133 : return -1;
4134 100 : return pattern602 (x1); /* [-1, 3] */
4135 :
4136 0 : case PLUS:
4137 0 : res = pattern602 (x1);
4138 0 : if (res >= 0)
4139 0 : return res + 4; /* [4, 7] */
4140 : return -1;
4141 :
4142 0 : case MINUS:
4143 0 : x4 = XEXP (x3, 0);
4144 0 : operands[3] = x4;
4145 0 : if (!const_int_operand (operands[3], E_VOIDmode))
4146 : return -1;
4147 0 : x5 = XEXP (x3, 1);
4148 0 : operands[2] = x5;
4149 0 : if (!int248_register_operand (operands[2], E_VOIDmode))
4150 : return -1;
4151 0 : res = pattern601 (x1);
4152 0 : if (res >= 0)
4153 0 : return res + 8; /* [8, 11] */
4154 : return -1;
4155 :
4156 : default:
4157 : return -1;
4158 : }
4159 :
4160 7 : case AND:
4161 7 : res = pattern603 (x1);
4162 7 : if (res >= 0)
4163 4 : return res + 12; /* [12, 15] */
4164 : return -1;
4165 :
4166 15 : case PLUS:
4167 15 : res = pattern603 (x1);
4168 15 : if (res >= 0)
4169 15 : return res + 16; /* [16, 19] */
4170 : return -1;
4171 :
4172 6 : case MINUS:
4173 6 : x3 = XEXP (x2, 0);
4174 6 : operands[3] = x3;
4175 6 : if (!const_int_operand (operands[3], E_QImode))
4176 : return -1;
4177 4 : x6 = XEXP (x2, 1);
4178 4 : operands[2] = x6;
4179 4 : if (!register_operand (operands[2], E_QImode))
4180 : return -1;
4181 4 : res = pattern601 (x1);
4182 4 : if (res >= 0)
4183 4 : return res + 20; /* [20, 23] */
4184 : return -1;
4185 :
4186 : default:
4187 : return -1;
4188 : }
4189 : }
4190 :
4191 : int
4192 2117 : pattern616 (rtx x1)
4193 : {
4194 2117 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4195 2117 : int res ATTRIBUTE_UNUSED;
4196 2117 : if (!register_operand (operands[0], E_DImode)
4197 2102 : || GET_MODE (x1) != E_DImode
4198 2102 : || !general_operand (operands[1], E_V64QImode)
4199 4209 : || !general_operand (operands[2], E_V64QImode))
4200 41 : return -1;
4201 : return 0;
4202 : }
4203 :
4204 : int
4205 4415 : pattern617 (rtx x1)
4206 : {
4207 4415 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4208 4415 : int res ATTRIBUTE_UNUSED;
4209 4415 : if (!register_operand (operands[0], E_SImode)
4210 4415 : || GET_MODE (x1) != E_SImode)
4211 : return -1;
4212 4385 : switch (GET_MODE (operands[1]))
4213 : {
4214 1714 : case E_V32QImode:
4215 1714 : if (!general_operand (operands[1], E_V32QImode)
4216 1714 : || !general_operand (operands[2], E_V32QImode))
4217 22 : return -1;
4218 : return 0;
4219 :
4220 2470 : case E_V32HImode:
4221 2470 : if (!general_operand (operands[1], E_V32HImode)
4222 2470 : || !general_operand (operands[2], E_V32HImode))
4223 35 : return -1;
4224 : return 1;
4225 :
4226 : default:
4227 : return -1;
4228 : }
4229 : }
4230 :
4231 : int
4232 52 : pattern621 (rtx x1, machine_mode i1, machine_mode i2)
4233 : {
4234 52 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4235 52 : rtx x2;
4236 52 : int res ATTRIBUTE_UNUSED;
4237 52 : if (!register_operand (operands[0], i1)
4238 40 : || GET_MODE (x1) != i1
4239 92 : || !vector_operand (operands[1], i1))
4240 : return -1;
4241 30 : x2 = XVECEXP (x1, 0, 1);
4242 30 : if (GET_MODE (x2) != i1
4243 30 : || !bcst_vector_operand (operands[2], i2)
4244 42 : || !vector_operand (operands[3], i1))
4245 18 : return -1;
4246 : return 0;
4247 : }
4248 :
4249 : int
4250 18 : pattern624 (rtx x1, machine_mode i1, machine_mode i2)
4251 : {
4252 18 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4253 18 : rtx x2, x3;
4254 18 : int res ATTRIBUTE_UNUSED;
4255 18 : if (!register_operand (operands[0], i1)
4256 18 : || GET_MODE (x1) != i1)
4257 : return -1;
4258 18 : x2 = XEXP (x1, 0);
4259 18 : if (GET_MODE (x2) != i1)
4260 : return -1;
4261 18 : x3 = XEXP (x2, 0);
4262 18 : if (GET_MODE (x3) != i2
4263 18 : || !nonimmediate_operand (operands[1], i2)
4264 36 : || !vector_operand (operands[2], i1))
4265 0 : return -1;
4266 : return 0;
4267 : }
4268 :
4269 : int
4270 26716727 : pattern628 (rtx x1, int i1)
4271 : {
4272 26716727 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4273 26716727 : rtx x2, x3;
4274 26716727 : int res ATTRIBUTE_UNUSED;
4275 26716727 : if (GET_CODE (x1) != PARALLEL
4276 2457212 : || XVECLEN (x1, 0) != 3)
4277 : return -1;
4278 61574 : x2 = XVECEXP (x1, 0, 0);
4279 61574 : if (GET_CODE (x2) != SET)
4280 : return -1;
4281 55978 : x3 = XEXP (x2, 1);
4282 55978 : if (GET_CODE (x3) != UNSPEC_VOLATILE
4283 19220 : || XVECLEN (x3, 0) != i1)
4284 43279 : return -1;
4285 : return 0;
4286 : }
4287 :
4288 : int
4289 25993 : pattern629 (rtx x1)
4290 : {
4291 25993 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4292 25993 : rtx x2;
4293 25993 : int res ATTRIBUTE_UNUSED;
4294 25993 : if (GET_CODE (x1) != SUBREG
4295 7814 : || maybe_ne (SUBREG_BYTE (x1), 0)
4296 33807 : || GET_MODE (x1) != E_QImode)
4297 : return -1;
4298 7814 : x2 = XEXP (x1, 0);
4299 7814 : switch (GET_CODE (x2))
4300 : {
4301 : case ASHIFTRT:
4302 : case LSHIFTRT:
4303 : case SIGN_EXTRACT:
4304 : case ZERO_EXTRACT:
4305 : return 0;
4306 :
4307 : default:
4308 : return -1;
4309 : }
4310 : }
4311 :
4312 : int
4313 60 : pattern631 (rtx x1)
4314 : {
4315 60 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4316 60 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4317 60 : int res ATTRIBUTE_UNUSED;
4318 60 : x2 = XEXP (x1, 1);
4319 60 : x3 = XVECEXP (x2, 0, 1);
4320 60 : if (GET_CODE (x3) != AND)
4321 : return -1;
4322 60 : x4 = XEXP (x1, 0);
4323 60 : if (GET_MODE (x4) != E_CCZmode
4324 60 : || GET_MODE (x2) != E_CCZmode)
4325 : return -1;
4326 60 : x5 = XVECEXP (x2, 0, 0);
4327 60 : x6 = XEXP (x5, 0);
4328 60 : operands[0] = x6;
4329 60 : x7 = XEXP (x5, 1);
4330 60 : operands[1] = x7;
4331 60 : x8 = XEXP (x3, 0);
4332 60 : if (!rtx_equal_p (x8, operands[0]))
4333 : return -1;
4334 60 : x9 = XEXP (x3, 1);
4335 60 : if (!rtx_equal_p (x9, operands[1]))
4336 : return -1;
4337 60 : switch (GET_MODE (x5))
4338 : {
4339 0 : case E_V16QImode:
4340 0 : if (!register_operand (operands[0], E_V16QImode)
4341 0 : || !vector_operand (operands[1], E_V16QImode)
4342 0 : || GET_MODE (x3) != E_V16QImode)
4343 0 : return -1;
4344 : return 0;
4345 :
4346 0 : case E_V8HImode:
4347 0 : if (!register_operand (operands[0], E_V8HImode)
4348 0 : || !vector_operand (operands[1], E_V8HImode)
4349 0 : || GET_MODE (x3) != E_V8HImode)
4350 0 : return -1;
4351 : return 1;
4352 :
4353 0 : case E_V4SImode:
4354 0 : if (!register_operand (operands[0], E_V4SImode)
4355 0 : || !vector_operand (operands[1], E_V4SImode)
4356 0 : || GET_MODE (x3) != E_V4SImode)
4357 0 : return -1;
4358 : return 2;
4359 :
4360 34 : case E_V2DImode:
4361 34 : if (!register_operand (operands[0], E_V2DImode)
4362 14 : || !vector_operand (operands[1], E_V2DImode)
4363 48 : || GET_MODE (x3) != E_V2DImode)
4364 20 : return -1;
4365 : return 3;
4366 :
4367 6 : case E_V1TImode:
4368 6 : if (!register_operand (operands[0], E_V1TImode)
4369 2 : || !vector_operand (operands[1], E_V1TImode)
4370 8 : || GET_MODE (x3) != E_V1TImode)
4371 4 : return -1;
4372 : return 4;
4373 :
4374 0 : case E_V4SFmode:
4375 0 : if (!register_operand (operands[0], E_V4SFmode)
4376 0 : || !vector_operand (operands[1], E_V4SFmode)
4377 0 : || GET_MODE (x3) != E_V4SFmode)
4378 0 : return -1;
4379 : return 5;
4380 :
4381 0 : case E_V2DFmode:
4382 0 : if (!register_operand (operands[0], E_V2DFmode)
4383 0 : || !vector_operand (operands[1], E_V2DFmode)
4384 0 : || GET_MODE (x3) != E_V2DFmode)
4385 0 : return -1;
4386 : return 6;
4387 :
4388 0 : case E_V32QImode:
4389 0 : if (!register_operand (operands[0], E_V32QImode)
4390 0 : || !vector_operand (operands[1], E_V32QImode)
4391 0 : || GET_MODE (x3) != E_V32QImode)
4392 0 : return -1;
4393 : return 7;
4394 :
4395 0 : case E_V16HImode:
4396 0 : if (!register_operand (operands[0], E_V16HImode)
4397 0 : || !vector_operand (operands[1], E_V16HImode)
4398 0 : || GET_MODE (x3) != E_V16HImode)
4399 0 : return -1;
4400 : return 8;
4401 :
4402 0 : case E_V8SImode:
4403 0 : if (!register_operand (operands[0], E_V8SImode)
4404 0 : || !vector_operand (operands[1], E_V8SImode)
4405 0 : || GET_MODE (x3) != E_V8SImode)
4406 0 : return -1;
4407 : return 9;
4408 :
4409 20 : case E_V4DImode:
4410 20 : if (!register_operand (operands[0], E_V4DImode)
4411 10 : || !vector_operand (operands[1], E_V4DImode)
4412 30 : || GET_MODE (x3) != E_V4DImode)
4413 10 : return -1;
4414 : return 10;
4415 :
4416 0 : case E_V2TImode:
4417 0 : if (!register_operand (operands[0], E_V2TImode)
4418 0 : || !vector_operand (operands[1], E_V2TImode)
4419 0 : || GET_MODE (x3) != E_V2TImode)
4420 0 : return -1;
4421 : return 11;
4422 :
4423 0 : case E_V8SFmode:
4424 0 : if (!register_operand (operands[0], E_V8SFmode)
4425 0 : || !vector_operand (operands[1], E_V8SFmode)
4426 0 : || GET_MODE (x3) != E_V8SFmode)
4427 0 : return -1;
4428 : return 12;
4429 :
4430 0 : case E_V4DFmode:
4431 0 : if (!register_operand (operands[0], E_V4DFmode)
4432 0 : || !vector_operand (operands[1], E_V4DFmode)
4433 0 : || GET_MODE (x3) != E_V4DFmode)
4434 0 : return -1;
4435 : return 13;
4436 :
4437 : default:
4438 : return -1;
4439 : }
4440 : }
4441 :
4442 : int
4443 669 : pattern655 (rtx x1, machine_mode i1)
4444 : {
4445 669 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4446 669 : rtx x2, x3;
4447 669 : int res ATTRIBUTE_UNUSED;
4448 669 : if (!register_operand (operands[0], i1)
4449 669 : || GET_MODE (x1) != i1)
4450 : return -1;
4451 648 : x2 = XEXP (x1, 0);
4452 648 : if (GET_MODE (x2) != i1)
4453 : return -1;
4454 648 : x3 = XEXP (x2, 0);
4455 648 : if (GET_MODE (x3) != i1
4456 648 : || !nonimmediate_operand (operands[1], i1))
4457 6 : return -1;
4458 : return 0;
4459 : }
4460 :
4461 : int
4462 659 : pattern660 (rtx x1, machine_mode i1)
4463 : {
4464 659 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4465 659 : rtx x2;
4466 659 : int res ATTRIBUTE_UNUSED;
4467 659 : if (!memory_operand (operands[0], i1)
4468 659 : || GET_MODE (x1) != i1)
4469 : return -1;
4470 627 : x2 = XVECEXP (x1, 0, 0);
4471 627 : if (GET_MODE (x2) != i1
4472 627 : || !register_operand (operands[1], i1))
4473 23 : return -1;
4474 : return 0;
4475 : }
4476 :
4477 : int
4478 3442 : pattern664 (rtx x1)
4479 : {
4480 3442 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4481 3442 : rtx x2, x3, x4;
4482 3442 : int res ATTRIBUTE_UNUSED;
4483 3442 : x2 = XEXP (x1, 0);
4484 3442 : x3 = XVECEXP (x2, 0, 0);
4485 3442 : operands[1] = x3;
4486 3442 : x4 = XEXP (x1, 2);
4487 3442 : switch (GET_CODE (x4))
4488 : {
4489 2878 : case REG:
4490 2878 : case SUBREG:
4491 2878 : operands[3] = x4;
4492 2878 : switch (GET_MODE (operands[0]))
4493 : {
4494 482 : case E_V16SFmode:
4495 482 : return pattern662 (x1,
4496 : E_V16SFmode,
4497 482 : E_HImode); /* [-1, 0] */
4498 :
4499 480 : case E_V8SFmode:
4500 480 : if (pattern662 (x1,
4501 : E_V8SFmode,
4502 : E_QImode) != 0)
4503 32 : return -1;
4504 : return 1;
4505 :
4506 473 : case E_V4SFmode:
4507 473 : if (pattern662 (x1,
4508 : E_V4SFmode,
4509 : E_QImode) != 0)
4510 25 : return -1;
4511 : return 2;
4512 :
4513 486 : case E_V8DFmode:
4514 486 : if (pattern662 (x1,
4515 : E_V8DFmode,
4516 : E_QImode) != 0)
4517 36 : return -1;
4518 : return 3;
4519 :
4520 480 : case E_V4DFmode:
4521 480 : if (pattern662 (x1,
4522 : E_V4DFmode,
4523 : E_QImode) != 0)
4524 32 : return -1;
4525 : return 4;
4526 :
4527 477 : case E_V2DFmode:
4528 477 : if (pattern662 (x1,
4529 : E_V2DFmode,
4530 : E_QImode) != 0)
4531 25 : return -1;
4532 : return 5;
4533 :
4534 : default:
4535 : return -1;
4536 : }
4537 :
4538 524 : case CONST_INT:
4539 524 : if (XWINT (x4, 0) != 1L)
4540 : return -1;
4541 378 : switch (GET_MODE (operands[0]))
4542 : {
4543 182 : case E_V4SFmode:
4544 182 : if (pattern663 (x1,
4545 : E_V4SFmode) != 0)
4546 22 : return -1;
4547 : return 6;
4548 :
4549 196 : case E_V2DFmode:
4550 196 : if (pattern663 (x1,
4551 : E_V2DFmode) != 0)
4552 26 : return -1;
4553 : return 7;
4554 :
4555 : default:
4556 : return -1;
4557 : }
4558 :
4559 : default:
4560 : return -1;
4561 : }
4562 : }
4563 :
4564 : int
4565 14989 : pattern676 (rtx x1)
4566 : {
4567 14989 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4568 14989 : rtx x2, x3;
4569 14989 : int res ATTRIBUTE_UNUSED;
4570 14989 : x2 = XEXP (x1, 2);
4571 14989 : switch (GET_CODE (x2))
4572 : {
4573 12589 : case REG:
4574 12589 : case SUBREG:
4575 12589 : operands[4] = x2;
4576 12589 : switch (GET_MODE (operands[0]))
4577 : {
4578 : case E_V32HFmode:
4579 : return 0;
4580 :
4581 1988 : case E_V16HFmode:
4582 1988 : return 1;
4583 :
4584 996 : case E_V8HFmode:
4585 996 : return 2;
4586 :
4587 431 : case E_V16SFmode:
4588 431 : return 3;
4589 :
4590 1278 : case E_V8SFmode:
4591 1278 : return 4;
4592 :
4593 868 : case E_V4SFmode:
4594 868 : return 5;
4595 :
4596 1270 : case E_V8DFmode:
4597 1270 : return 6;
4598 :
4599 1338 : case E_V4DFmode:
4600 1338 : return 7;
4601 :
4602 868 : case E_V2DFmode:
4603 868 : return 8;
4604 :
4605 1044 : case E_V32BFmode:
4606 1044 : return 9;
4607 :
4608 1060 : case E_V16BFmode:
4609 1060 : return 10;
4610 :
4611 1044 : case E_V8BFmode:
4612 1044 : return 11;
4613 :
4614 : default:
4615 : return -1;
4616 : }
4617 :
4618 1922 : case CONST_INT:
4619 1922 : if (XWINT (x2, 0) != 1L)
4620 : return -1;
4621 1362 : x3 = XEXP (x1, 1);
4622 1362 : if (!rtx_equal_p (x3, operands[1]))
4623 : return -1;
4624 1270 : switch (GET_MODE (operands[0]))
4625 : {
4626 : case E_V8HFmode:
4627 : return 12;
4628 :
4629 : case E_V4SFmode:
4630 : return 13;
4631 :
4632 : case E_V2DFmode:
4633 : return 14;
4634 :
4635 : default:
4636 : return -1;
4637 : }
4638 :
4639 : default:
4640 : return -1;
4641 : }
4642 : }
4643 :
4644 : int
4645 374 : pattern684 (rtx x1)
4646 : {
4647 374 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4648 374 : int res ATTRIBUTE_UNUSED;
4649 374 : if (!register_operand (operands[0], E_V2DImode)
4650 374 : || GET_MODE (x1) != E_V2DImode)
4651 : return -1;
4652 344 : switch (GET_MODE (operands[1]))
4653 : {
4654 110 : case E_V8HFmode:
4655 110 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
4656 0 : return -1;
4657 : return 0;
4658 :
4659 116 : case E_V2DFmode:
4660 116 : if (!vector_operand (operands[1], E_V2DFmode))
4661 2 : return -1;
4662 : return 1;
4663 :
4664 118 : case E_V4SFmode:
4665 118 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
4666 4 : return -1;
4667 : return 2;
4668 :
4669 : default:
4670 : return -1;
4671 : }
4672 : }
4673 :
4674 : int
4675 0 : pattern690 (rtx x1)
4676 : {
4677 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4678 0 : rtx x2, x3, x4, x5, x6, x7;
4679 0 : int res ATTRIBUTE_UNUSED;
4680 0 : x2 = XVECEXP (x1, 0, 0);
4681 0 : x3 = XEXP (x2, 0);
4682 0 : x4 = XEXP (x3, 0);
4683 0 : operands[1] = x4;
4684 0 : x5 = XEXP (x3, 1);
4685 0 : operands[2] = x5;
4686 0 : x6 = XVECEXP (x1, 0, 1);
4687 0 : if (!const48_operand (x6, E_SImode))
4688 : return -1;
4689 0 : x7 = XEXP (x2, 2);
4690 0 : switch (GET_CODE (x7))
4691 : {
4692 0 : case REG:
4693 0 : case SUBREG:
4694 0 : return pattern689 (x1); /* [-1, 2] */
4695 :
4696 0 : case CONST_INT:
4697 0 : res = pattern687 (x1);
4698 0 : if (res >= 0)
4699 0 : return res + 3; /* [3, 5] */
4700 : return -1;
4701 :
4702 : default:
4703 : return -1;
4704 : }
4705 : }
4706 :
4707 : int
4708 313 : pattern694 (rtx x1, machine_mode i1, machine_mode i2)
4709 : {
4710 313 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4711 313 : rtx x2;
4712 313 : int res ATTRIBUTE_UNUSED;
4713 313 : if (!register_operand (operands[0], i2)
4714 293 : || GET_MODE (x1) != i2
4715 293 : || !register_operand (operands[1], i2)
4716 585 : || !vector_operand (operands[2], i2))
4717 : return -1;
4718 264 : x2 = XVECEXP (x1, 0, 2);
4719 264 : if (GET_MODE (x2) != i2
4720 264 : || !register_operand (operands[3], i1)
4721 519 : || !const0_operand (operands[4], i1))
4722 9 : return -1;
4723 : return 0;
4724 : }
4725 :
4726 : int
4727 133 : pattern698 (rtx x1)
4728 : {
4729 133 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4730 133 : rtx x2, x3, x4, x5, x6, x7, x8;
4731 133 : int res ATTRIBUTE_UNUSED;
4732 133 : x2 = XVECEXP (x1, 0, 2);
4733 133 : x3 = XEXP (x2, 0);
4734 133 : if (maybe_ne (SUBREG_BYTE (x3), 0))
4735 : return -1;
4736 133 : x4 = XEXP (x3, 0);
4737 133 : if (GET_CODE (x4) != NOT)
4738 : return -1;
4739 6 : x5 = XVECEXP (x1, 0, 0);
4740 6 : operands[2] = x5;
4741 6 : x6 = XVECEXP (x1, 0, 1);
4742 6 : operands[1] = x6;
4743 6 : x7 = XEXP (x4, 0);
4744 6 : operands[3] = x7;
4745 6 : if (!register_operand (operands[3], E_VOIDmode))
4746 : return -1;
4747 6 : x8 = XEXP (x2, 1);
4748 6 : operands[4] = x8;
4749 6 : switch (GET_MODE (operands[0]))
4750 : {
4751 3 : case E_V32QImode:
4752 3 : return pattern697 (x1,
4753 3 : E_V32QImode); /* [-1, 0] */
4754 :
4755 3 : case E_V16QImode:
4756 3 : if (pattern697 (x1,
4757 : E_V16QImode) != 0)
4758 0 : return -1;
4759 : return 1;
4760 :
4761 : default:
4762 : return -1;
4763 : }
4764 : }
4765 :
4766 : int
4767 44 : pattern703 (rtx x1)
4768 : {
4769 44 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4770 44 : rtx x2, x3, x4, x5, x6, x7, x8;
4771 44 : int res ATTRIBUTE_UNUSED;
4772 44 : x2 = XVECEXP (x1, 0, 2);
4773 44 : x3 = XEXP (x2, 0);
4774 44 : if (maybe_ne (SUBREG_BYTE (x3), 0))
4775 : return -1;
4776 44 : x4 = XEXP (x3, 0);
4777 44 : if (GET_CODE (x4) != NOT)
4778 : return -1;
4779 0 : x5 = XVECEXP (x1, 0, 0);
4780 0 : operands[2] = x5;
4781 0 : x6 = XVECEXP (x1, 0, 1);
4782 0 : operands[1] = x6;
4783 0 : x7 = XEXP (x4, 0);
4784 0 : operands[3] = x7;
4785 0 : if (!register_operand (operands[3], E_VOIDmode))
4786 : return -1;
4787 0 : x8 = XEXP (x2, 1);
4788 0 : operands[4] = x8;
4789 0 : switch (GET_MODE (operands[0]))
4790 : {
4791 0 : case E_V32QImode:
4792 0 : return pattern702 (x1,
4793 0 : E_V32QImode); /* [-1, 0] */
4794 :
4795 0 : case E_V16QImode:
4796 0 : if (pattern702 (x1,
4797 : E_V16QImode) != 0)
4798 0 : return -1;
4799 : return 1;
4800 :
4801 : default:
4802 : return -1;
4803 : }
4804 : }
4805 :
4806 : int
4807 588 : pattern708 (rtx x1)
4808 : {
4809 588 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4810 588 : rtx x2, x3;
4811 588 : int res ATTRIBUTE_UNUSED;
4812 588 : if (!register_operand (operands[0], E_V16QImode)
4813 588 : || GET_MODE (x1) != E_V16QImode)
4814 : return -1;
4815 588 : x2 = XEXP (x1, 1);
4816 588 : operands[2] = x2;
4817 588 : x3 = XEXP (x1, 0);
4818 588 : switch (GET_MODE (x3))
4819 : {
4820 294 : case E_V4QImode:
4821 294 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
4822 294 : || !const0_operand (operands[2], E_V12QImode))
4823 12 : return -1;
4824 : return 0;
4825 :
4826 294 : case E_V8QImode:
4827 294 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
4828 294 : || !const0_operand (operands[2], E_V8QImode))
4829 12 : return -1;
4830 : return 1;
4831 :
4832 : default:
4833 : return -1;
4834 : }
4835 : }
4836 :
4837 : int
4838 303 : pattern715 (rtx x1, machine_mode i1)
4839 : {
4840 303 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4841 303 : rtx x2;
4842 303 : int res ATTRIBUTE_UNUSED;
4843 303 : if (!register_operand (operands[0], i1)
4844 303 : || GET_MODE (x1) != i1)
4845 : return -1;
4846 281 : x2 = XEXP (x1, 0);
4847 281 : if (GET_MODE (x2) != i1
4848 281 : || !ieee_maxmin_comparison_operator (operands[1], i1)
4849 281 : || !nonimmediate_operand (operands[2], i1)
4850 264 : || !const0_operand (operands[3], i1)
4851 323 : || !nonimmediate_operand (operands[4], i1))
4852 239 : return -1;
4853 : return 0;
4854 : }
4855 :
4856 : int
4857 26 : pattern720 (rtx x1)
4858 : {
4859 26 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4860 26 : rtx x2, x3, x4, x5, x6, x7;
4861 26 : int res ATTRIBUTE_UNUSED;
4862 26 : x2 = XEXP (x1, 0);
4863 26 : x3 = XEXP (x2, 0);
4864 26 : x4 = XEXP (x3, 0);
4865 26 : x5 = XEXP (x4, 0);
4866 26 : x6 = XEXP (x5, 0);
4867 26 : operands[1] = x6;
4868 26 : if (!memory_operand (operands[1], E_SImode))
4869 : return -1;
4870 16 : x7 = XEXP (x2, 1);
4871 16 : switch (XVECLEN (x7, 0))
4872 : {
4873 10 : case 4:
4874 10 : return pattern717 (x1,
4875 : E_V16QImode,
4876 10 : E_V4QImode); /* [-1, 1] */
4877 :
4878 6 : case 2:
4879 6 : if (pattern718 (x1,
4880 : E_V2HImode,
4881 : E_V8HImode) != 0)
4882 1 : return -1;
4883 : return 2;
4884 :
4885 : default:
4886 : return -1;
4887 : }
4888 : }
4889 :
4890 : int
4891 6 : pattern724 (rtx x1)
4892 : {
4893 6 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4894 6 : rtx x2, x3, x4, x5, x6;
4895 6 : int res ATTRIBUTE_UNUSED;
4896 6 : x2 = XVECEXP (x1, 0, 0);
4897 6 : x3 = XEXP (x2, 1);
4898 6 : x4 = XEXP (x3, 1);
4899 6 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4900 : return -1;
4901 6 : x5 = XEXP (x2, 0);
4902 6 : if (GET_CODE (x5) != REG
4903 6 : || REGNO (x5) != 17
4904 12 : || GET_MODE (x5) != E_CCZmode)
4905 : return -1;
4906 6 : x6 = XVECEXP (x1, 0, 1);
4907 6 : if (GET_CODE (x6) != CLOBBER
4908 2 : || GET_MODE (x3) != E_CCZmode)
4909 4 : return -1;
4910 : return 0;
4911 : }
4912 :
4913 : int
4914 1746 : pattern727 (rtx x1)
4915 : {
4916 1746 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4917 1746 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
4918 1746 : rtx x10, x11;
4919 1746 : int res ATTRIBUTE_UNUSED;
4920 1746 : x2 = XVECEXP (x1, 0, 0);
4921 1746 : x3 = XEXP (x2, 1);
4922 1746 : x4 = XEXP (x3, 0);
4923 1746 : x5 = XEXP (x4, 1);
4924 1746 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
4925 : return -1;
4926 1517 : x6 = XEXP (x3, 1);
4927 1517 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
4928 : return -1;
4929 1497 : x7 = XVECEXP (x1, 0, 1);
4930 1497 : if (GET_CODE (x7) != CLOBBER)
4931 : return -1;
4932 934 : x8 = XEXP (x7, 0);
4933 934 : if (GET_CODE (x8) != REG
4934 934 : || REGNO (x8) != 17
4935 1488 : || GET_MODE (x8) != E_CCmode)
4936 : return -1;
4937 514 : x9 = XEXP (x2, 0);
4938 514 : operands[0] = x9;
4939 514 : if (!register_operand (operands[0], E_QImode)
4940 514 : || GET_MODE (x3) != E_QImode)
4941 : return -1;
4942 450 : x10 = XEXP (x4, 0);
4943 450 : operands[1] = x10;
4944 450 : x11 = XEXP (x4, 2);
4945 450 : operands[2] = x11;
4946 450 : if (!register_operand (operands[2], E_QImode))
4947 : return -1;
4948 371 : switch (GET_MODE (x4))
4949 : {
4950 138 : case E_SImode:
4951 138 : if (!nonimmediate_operand (operands[1], E_SImode))
4952 64 : return -1;
4953 : return 0;
4954 :
4955 233 : case E_DImode:
4956 233 : if (!nonimmediate_operand (operands[1], E_DImode))
4957 112 : return -1;
4958 : return 1;
4959 :
4960 : default:
4961 : return -1;
4962 : }
4963 : }
4964 :
4965 : int
4966 59472 : pattern736 (rtx x1, machine_mode i1)
4967 : {
4968 59472 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4969 59472 : int res ATTRIBUTE_UNUSED;
4970 59472 : if (!register_operand (operands[0], i1)
4971 59036 : || GET_MODE (x1) != i1
4972 59036 : || !vector_operand (operands[1], i1)
4973 117842 : || !vector_operand (operands[2], i1))
4974 11725 : return -1;
4975 : return 0;
4976 : }
4977 :
4978 : int
4979 10986 : pattern740 (rtx x1)
4980 : {
4981 10986 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4982 10986 : rtx x2, x3, x4, x5;
4983 10986 : int res ATTRIBUTE_UNUSED;
4984 10986 : x2 = XVECEXP (x1, 0, 1);
4985 10986 : x3 = XEXP (x2, 0);
4986 10986 : if (GET_CODE (x3) != REG
4987 10986 : || REGNO (x3) != 17
4988 21972 : || GET_MODE (x3) != E_CCmode)
4989 : return -1;
4990 10986 : x4 = XVECEXP (x1, 0, 0);
4991 10986 : x5 = XEXP (x4, 1);
4992 10986 : return pattern441 (x5); /* [-1, 1] */
4993 : }
4994 :
4995 : int
4996 1722626 : pattern746 (rtx x1)
4997 : {
4998 1722626 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
4999 1722626 : rtx x2, x3, x4, x5;
5000 1722626 : int res ATTRIBUTE_UNUSED;
5001 1722626 : switch (GET_CODE (x1))
5002 : {
5003 21512 : case UNSPEC:
5004 21512 : if (XVECLEN (x1, 0) != 1
5005 21511 : || XINT (x1, 1) != 34)
5006 : return -1;
5007 1535 : x2 = XVECEXP (x1, 0, 0);
5008 1535 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5009 0 : return -1;
5010 : return 0;
5011 :
5012 1701114 : case SET:
5013 1701114 : x3 = XEXP (x1, 1);
5014 1701114 : if (GET_CODE (x3) != PLUS
5015 1698572 : || GET_MODE (x3) != E_SImode)
5016 : return -1;
5017 1698532 : x4 = XEXP (x3, 0);
5018 1698532 : if (GET_CODE (x4) != REG
5019 1698532 : || REGNO (x4) != 7
5020 3397064 : || GET_MODE (x4) != E_SImode)
5021 : return -1;
5022 1698532 : x5 = XEXP (x1, 0);
5023 1698532 : if (GET_CODE (x5) != REG
5024 1698532 : || REGNO (x5) != 7
5025 3397064 : || GET_MODE (x5) != E_SImode)
5026 0 : return -1;
5027 : return 1;
5028 :
5029 : default:
5030 : return -1;
5031 : }
5032 : }
5033 :
5034 : int
5035 0 : pattern749 (rtx x1)
5036 : {
5037 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5038 0 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5039 0 : int res ATTRIBUTE_UNUSED;
5040 0 : x2 = XVECEXP (x1, 0, 2);
5041 0 : x3 = XEXP (x2, 0);
5042 0 : if (GET_CODE (x3) != REG
5043 0 : || REGNO (x3) != 17
5044 0 : || GET_MODE (x3) != E_CCmode)
5045 : return -1;
5046 0 : x4 = XVECEXP (x1, 0, 0);
5047 0 : x5 = XEXP (x4, 0);
5048 0 : operands[0] = x5;
5049 0 : if (!register_operand (operands[0], E_SImode))
5050 : return -1;
5051 0 : x6 = XEXP (x4, 1);
5052 0 : x7 = XEXP (x6, 0);
5053 0 : operands[1] = x7;
5054 0 : if (!nonimmediate_operand (operands[1], E_SImode))
5055 : return -1;
5056 0 : x8 = XVECEXP (x1, 0, 1);
5057 0 : x9 = XEXP (x8, 0);
5058 0 : operands[2] = x9;
5059 0 : if (!scratch_operand (operands[2], E_SImode))
5060 0 : return -1;
5061 : return 0;
5062 : }
5063 :
5064 : int
5065 552 : pattern756 (rtx x1, machine_mode i1, unsigned int i2)
5066 : {
5067 552 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5068 552 : rtx x2, x3;
5069 552 : int res ATTRIBUTE_UNUSED;
5070 552 : x2 = XEXP (x1, 1);
5071 552 : if (GET_MODE (x2) != i1)
5072 : return -1;
5073 552 : x3 = XEXP (x1, 0);
5074 552 : if (GET_CODE (x3) != REG
5075 552 : || REGNO (x3) != i2
5076 1104 : || GET_MODE (x3) != i1)
5077 0 : return -1;
5078 : return 0;
5079 : }
5080 :
5081 : int
5082 125 : pattern759 (rtx x1, machine_mode i1, int i2, machine_mode i3)
5083 : {
5084 125 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5085 125 : rtx x2;
5086 125 : int res ATTRIBUTE_UNUSED;
5087 125 : if (GET_MODE (x1) != i3)
5088 : return -1;
5089 105 : x2 = XEXP (x1, 0);
5090 105 : if (GET_CODE (x2) != UNSPEC
5091 1 : || XVECLEN (x2, 0) != 1
5092 1 : || XINT (x2, 1) != i2
5093 1 : || GET_MODE (x2) != i1)
5094 104 : return -1;
5095 : return 0;
5096 : }
5097 :
5098 : int
5099 137930 : pattern761 (rtx x1, machine_mode i1)
5100 : {
5101 137930 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5102 137930 : rtx x2;
5103 137930 : int res ATTRIBUTE_UNUSED;
5104 137930 : if (peep2_current_count < 2
5105 137930 : || peep2_current_count < 3
5106 127446 : || !general_reg_operand (operands[0], i1)
5107 235064 : || !general_reg_operand (operands[1], i1))
5108 : return -1;
5109 91671 : x2 = PATTERN (peep2_next_insn (2));
5110 91671 : if (GET_CODE (x2) != SET)
5111 : return -1;
5112 62157 : switch (GET_CODE (x1))
5113 : {
5114 : case SET:
5115 : return 0;
5116 :
5117 27577 : case PARALLEL:
5118 27577 : return 1;
5119 :
5120 : default:
5121 : return -1;
5122 : }
5123 : }
5124 :
5125 : int
5126 235759 : pattern764 (rtx x1, machine_mode i1)
5127 : {
5128 235759 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5129 235759 : rtx x2, x3, x4, x5, x6;
5130 235759 : int res ATTRIBUTE_UNUSED;
5131 235759 : if (!register_operand (operands[0], i1)
5132 235759 : || GET_CODE (x1) != SET)
5133 : return -1;
5134 190691 : x2 = XEXP (x1, 1);
5135 190691 : if (GET_CODE (x2) != PLUS
5136 7810 : || GET_MODE (x2) != E_SImode)
5137 : return -1;
5138 5590 : x3 = XEXP (x1, 0);
5139 5590 : operands[3] = x3;
5140 5590 : if (!register_operand (operands[3], E_SImode))
5141 : return -1;
5142 5590 : x4 = XEXP (x2, 0);
5143 5590 : operands[4] = x4;
5144 5590 : if (!register_operand (operands[4], E_SImode))
5145 : return -1;
5146 5508 : x5 = XEXP (x2, 1);
5147 5508 : operands[2] = x5;
5148 5508 : if (!nonmemory_operand (operands[2], E_SImode))
5149 : return -1;
5150 5503 : x6 = PATTERN (peep2_next_insn (2));
5151 5503 : return pattern763 (x6,
5152 5503 : i1); /* [-1, 0] */
5153 : }
5154 :
5155 : int
5156 270 : pattern770 (rtx x1, machine_mode i1)
5157 : {
5158 270 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5159 270 : rtx x2, x3;
5160 270 : int res ATTRIBUTE_UNUSED;
5161 270 : if (!register_operand (operands[0], i1)
5162 270 : || GET_MODE (x1) != i1
5163 270 : || !register_operand (operands[1], i1)
5164 432 : || !register_operand (operands[2], i1))
5165 : return -1;
5166 90 : x2 = XVECEXP (x1, 0, 2);
5167 90 : if (GET_MODE (x2) != i1)
5168 : return -1;
5169 90 : x3 = XEXP (x2, 0);
5170 90 : if (GET_MODE (x3) != i1
5171 90 : || !register_operand (operands[3], i1)
5172 72 : || !nonmemory_operand (operands[4], i1)
5173 162 : || !const0_operand (operands[5], i1))
5174 54 : return -1;
5175 : return 0;
5176 : }
5177 :
5178 : int
5179 13219 : pattern776 (machine_mode i1)
5180 : {
5181 13219 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5182 13219 : int res ATTRIBUTE_UNUSED;
5183 13219 : if (!register_operand (operands[0], i1)
5184 13219 : || !sse_comparison_operator (operands[3], i1)
5185 12322 : || !register_operand (operands[1], i1)
5186 24137 : || !nonimmediate_operand (operands[2], i1))
5187 3284 : return -1;
5188 : return 0;
5189 : }
5190 :
5191 : int
5192 455 : pattern780 (rtx x1)
5193 : {
5194 455 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5195 455 : rtx x2, x3;
5196 455 : int res ATTRIBUTE_UNUSED;
5197 455 : x2 = XEXP (x1, 1);
5198 455 : if (GET_MODE (x2) != E_CCCmode)
5199 : return -1;
5200 455 : x3 = XEXP (x1, 0);
5201 455 : if (REGNO (x3) != 17
5202 455 : || GET_MODE (x3) != E_CCCmode
5203 455 : || !register_operand (operands[0], E_SImode)
5204 437 : || !register_operand (operands[1], E_SImode)
5205 882 : || !register_operand (operands[2], E_SImode))
5206 247 : return -1;
5207 : return 0;
5208 : }
5209 :
5210 : int
5211 470 : pattern785 (rtx x1, machine_mode i1)
5212 : {
5213 470 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5214 470 : rtx x2, x3;
5215 470 : int res ATTRIBUTE_UNUSED;
5216 470 : if (!nonimmediate_operand (operands[0], i1)
5217 470 : || GET_MODE (x1) != i1)
5218 : return -1;
5219 470 : x2 = XEXP (x1, 0);
5220 470 : if (GET_MODE (x2) != i1
5221 470 : || !nonimmediate_operand (operands[1], i1))
5222 : return -1;
5223 188 : x3 = XEXP (x2, 1);
5224 188 : if (GET_MODE (x3) != i1
5225 188 : || !x86_64_immediate_operand (operands[2], i1))
5226 56 : return -1;
5227 : return 0;
5228 : }
5229 :
5230 : int
5231 10534 : pattern791 (rtx x1, machine_mode i1)
5232 : {
5233 10534 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5234 10534 : rtx x2;
5235 10534 : int res ATTRIBUTE_UNUSED;
5236 10534 : if (!register_operand (operands[0], i1)
5237 10534 : || GET_MODE (x1) != i1)
5238 : return -1;
5239 9774 : x2 = XEXP (x1, 0);
5240 9774 : if (GET_MODE (x2) != i1
5241 9774 : || !nonimmediate_operand (operands[1], i1))
5242 3076 : return -1;
5243 : return 0;
5244 : }
5245 :
5246 : int
5247 16210 : pattern794 (rtx x1, machine_mode i1, machine_mode i2)
5248 : {
5249 16210 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5250 16210 : rtx x2, x3;
5251 16210 : int res ATTRIBUTE_UNUSED;
5252 16210 : if (!nonimmediate_operand (operands[0], i2)
5253 16164 : || GET_MODE (x1) != i2
5254 32374 : || !nonimmediate_operand (operands[1], i2))
5255 : return -1;
5256 14939 : x2 = XEXP (x1, 1);
5257 14939 : x3 = XEXP (x2, 0);
5258 14939 : operands[2] = x3;
5259 14939 : if (!nonimmediate_operand (operands[2], i1))
5260 7466 : return -1;
5261 : return 0;
5262 : }
5263 :
5264 : int
5265 0 : pattern799 (rtx x1, machine_mode i1, machine_mode i2)
5266 : {
5267 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5268 0 : int res ATTRIBUTE_UNUSED;
5269 0 : if (!vector_all_ones_operand (operands[3], i1)
5270 0 : || !const0_operand (operands[4], i1)
5271 0 : || GET_MODE (x1) != i2
5272 0 : || !register_operand (operands[1], i1)
5273 0 : || !const0_operand (operands[2], i1))
5274 0 : return -1;
5275 : return 0;
5276 : }
5277 :
5278 : int
5279 176979 : pattern802 (rtx x1)
5280 : {
5281 176979 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5282 176979 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5283 176979 : rtx x10, x11, x12;
5284 176979 : int res ATTRIBUTE_UNUSED;
5285 176979 : x2 = XEXP (x1, 0);
5286 176979 : if (maybe_ne (SUBREG_BYTE (x2), 0))
5287 : return -1;
5288 176975 : x3 = XEXP (x2, 0);
5289 176975 : switch (GET_CODE (x3))
5290 : {
5291 4591 : case UNSPEC:
5292 4591 : if (XVECLEN (x3, 0) != 2
5293 4269 : || XINT (x3, 1) != 49
5294 24 : || GET_MODE (x3) != E_V16QImode
5295 24 : || !register_operand (operands[0], E_DImode)
5296 14 : || GET_MODE (x1) != E_DImode
5297 4605 : || GET_MODE (x2) != E_V2DImode)
5298 : return -1;
5299 14 : x4 = XVECEXP (x3, 0, 0);
5300 14 : operands[1] = x4;
5301 14 : if (!register_operand (operands[1], E_V16QImode))
5302 : return -1;
5303 14 : x5 = XVECEXP (x3, 0, 1);
5304 14 : operands[2] = x5;
5305 14 : return 0;
5306 :
5307 1501 : case VEC_SELECT:
5308 1501 : if (GET_MODE (x3) != E_V4SImode)
5309 : return -1;
5310 522 : x6 = XEXP (x3, 1);
5311 522 : if (GET_CODE (x6) != PARALLEL
5312 522 : || XVECLEN (x6, 0) != 4)
5313 : return -1;
5314 522 : x7 = XVECEXP (x6, 0, 0);
5315 522 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5316 : return -1;
5317 324 : x8 = XVECEXP (x6, 0, 1);
5318 324 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5319 : return -1;
5320 220 : x9 = XVECEXP (x6, 0, 2);
5321 220 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5322 : return -1;
5323 7 : x10 = XVECEXP (x6, 0, 3);
5324 7 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
5325 7 : || !register_operand (operands[0], E_DImode)
5326 6 : || GET_MODE (x1) != E_DImode
5327 13 : || GET_MODE (x2) != E_V2DImode)
5328 : return -1;
5329 6 : x11 = XEXP (x3, 0);
5330 6 : operands[1] = x11;
5331 6 : if (!register_operand (operands[1], E_V4SImode))
5332 1 : return -1;
5333 : return 1;
5334 :
5335 445 : case VEC_CONCAT:
5336 445 : if (GET_MODE (x3) != E_V16QImode)
5337 : return -1;
5338 98 : x11 = XEXP (x3, 0);
5339 98 : if (GET_CODE (x11) != UNSPEC
5340 0 : || XVECLEN (x11, 0) != 1
5341 0 : || XINT (x11, 1) != 302
5342 0 : || GET_MODE (x11) != E_V4QImode
5343 0 : || !memory_operand (operands[0], E_SImode)
5344 0 : || GET_MODE (x1) != E_SImode
5345 98 : || GET_MODE (x2) != E_V4SImode)
5346 : return -1;
5347 0 : x12 = XVECEXP (x11, 0, 0);
5348 0 : operands[1] = x12;
5349 0 : if (!register_operand (operands[1], E_V4SImode))
5350 : return -1;
5351 0 : x6 = XEXP (x3, 1);
5352 0 : operands[2] = x6;
5353 0 : if (!const0_operand (operands[2], E_V12QImode))
5354 0 : return -1;
5355 : return 2;
5356 :
5357 : default:
5358 : return -1;
5359 : }
5360 : }
5361 :
5362 : int
5363 21226 : pattern819 (rtx x1, machine_mode i1)
5364 : {
5365 21226 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5366 21226 : int res ATTRIBUTE_UNUSED;
5367 21226 : if (!register_operand (operands[0], i1)
5368 21176 : || GET_MODE (x1) != i1
5369 21176 : || !nonimmediate_operand (operands[1], i1)
5370 41672 : || !register_operand (operands[2], i1))
5371 2908 : return -1;
5372 : return 0;
5373 : }
5374 :
5375 : int
5376 1005 : pattern824 (rtx x1, machine_mode i1, machine_mode i2)
5377 : {
5378 1005 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5379 1005 : rtx x2, x3;
5380 1005 : int res ATTRIBUTE_UNUSED;
5381 1005 : if (!memory_operand (operands[0], i1)
5382 887 : || GET_MODE (x1) != i1
5383 1892 : || !register_operand (operands[1], i2))
5384 : return -1;
5385 663 : x2 = XVECEXP (x1, 0, 1);
5386 663 : operands[2] = x2;
5387 663 : if (!register_operand (operands[2], i1))
5388 : return -1;
5389 552 : x3 = XVECEXP (x1, 0, 2);
5390 552 : if (!rtx_equal_p (x3, operands[0]))
5391 4 : return -1;
5392 : return 0;
5393 : }
5394 :
5395 : int
5396 1102493 : pattern831 (rtx x1, machine_mode i1, machine_mode i2)
5397 : {
5398 1102493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5399 1102493 : rtx x2;
5400 1102493 : int res ATTRIBUTE_UNUSED;
5401 1102493 : if (!register_operand (operands[0], i2)
5402 904961 : || GET_MODE (x1) != i2
5403 2007454 : || !register_operand (operands[1], i1))
5404 : return -1;
5405 882200 : x2 = XEXP (x1, 1);
5406 882200 : operands[2] = x2;
5407 882200 : if (!nonimmediate_operand (operands[2], i1))
5408 1302 : return -1;
5409 : return 0;
5410 : }
5411 :
5412 : int
5413 133943 : pattern835 (machine_mode i1)
5414 : {
5415 133943 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5416 133943 : int res ATTRIBUTE_UNUSED;
5417 133943 : if (!register_operand (operands[0], i1)
5418 133929 : || !sse_comparison_operator (operands[3], i1)
5419 132621 : || !register_operand (operands[1], i1)
5420 232272 : || !vector_operand (operands[2], i1))
5421 45726 : return -1;
5422 : return 0;
5423 : }
5424 :
5425 : int
5426 13260 : pattern839 (rtx x1, machine_mode i1, machine_mode i2)
5427 : {
5428 13260 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5429 13260 : rtx x2;
5430 13260 : int res ATTRIBUTE_UNUSED;
5431 13260 : if (!register_operand (operands[0], i1)
5432 13260 : || GET_MODE (x1) != i1)
5433 : return -1;
5434 13089 : x2 = XEXP (x1, 0);
5435 13089 : if (GET_MODE (x2) != i2
5436 13089 : || !const0_operand (operands[2], i1))
5437 374 : return -1;
5438 : return 0;
5439 : }
5440 :
5441 : int
5442 71482 : pattern844 (rtx x1)
5443 : {
5444 71482 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5445 71482 : rtx x2, x3, x4, x5;
5446 71482 : int res ATTRIBUTE_UNUSED;
5447 71482 : x2 = XEXP (x1, 0);
5448 71482 : x3 = XEXP (x2, 1);
5449 71482 : operands[2] = x3;
5450 71482 : x4 = XEXP (x1, 1);
5451 71482 : if (XVECLEN (x4, 0) < 1)
5452 : return -1;
5453 71482 : operands[3] = x4;
5454 71482 : x5 = XVECEXP (x4, 0, 0);
5455 71482 : operands[4] = x5;
5456 71482 : if (!const_int_operand (operands[4], E_VOIDmode))
5457 : return -1;
5458 71482 : switch (GET_MODE (operands[0]))
5459 : {
5460 11954 : case E_V4SImode:
5461 11954 : return pattern839 (x1,
5462 : E_V4SImode,
5463 11954 : E_V8SImode); /* [-1, 0] */
5464 :
5465 1306 : case E_V4SFmode:
5466 1306 : if (pattern839 (x1,
5467 : E_V4SFmode,
5468 : E_V8SFmode) != 0)
5469 156 : return -1;
5470 : return 1;
5471 :
5472 117 : case E_V32QImode:
5473 117 : if (pattern840 (x1,
5474 : E_V32QImode,
5475 : E_V64QImode) != 0)
5476 64 : return -1;
5477 : return 2;
5478 :
5479 103 : case E_V64QImode:
5480 103 : if (pattern840 (x1,
5481 : E_V64QImode,
5482 : E_V128QImode) != 0)
5483 50 : return -1;
5484 : return 3;
5485 :
5486 19689 : case E_V16QImode:
5487 19689 : if (pattern841 (x1,
5488 : E_V16QImode,
5489 : E_V32QImode) != 0)
5490 9130 : return -1;
5491 : return 4;
5492 :
5493 152 : case E_V32HImode:
5494 152 : if (pattern840 (x1,
5495 : E_V32HImode,
5496 : E_V64HImode) != 0)
5497 92 : return -1;
5498 : return 5;
5499 :
5500 163 : case E_V16HImode:
5501 163 : if (pattern840 (x1,
5502 : E_V16HImode,
5503 : E_V32HImode) != 0)
5504 103 : return -1;
5505 : return 6;
5506 :
5507 25672 : case E_V8HImode:
5508 25672 : if (pattern841 (x1,
5509 : E_V8HImode,
5510 : E_V16HImode) != 0)
5511 12215 : return -1;
5512 : return 7;
5513 :
5514 186 : case E_V16SImode:
5515 186 : if (pattern842 (x1,
5516 : E_V16SImode,
5517 : E_V32SImode) != 0)
5518 6 : return -1;
5519 : return 8;
5520 :
5521 187 : case E_V8SImode:
5522 187 : if (pattern842 (x1,
5523 : E_V8SImode,
5524 : E_V16SImode) != 0)
5525 30 : return -1;
5526 : return 9;
5527 :
5528 21 : case E_V8DImode:
5529 21 : if (pattern843 (x1,
5530 : E_V8DImode,
5531 : E_V16DImode) != 0)
5532 1 : return -1;
5533 : return 10;
5534 :
5535 41 : case E_V4DImode:
5536 41 : if (pattern843 (x1,
5537 : E_V4DImode,
5538 : E_V8DImode) != 0)
5539 21 : return -1;
5540 : return 11;
5541 :
5542 98 : case E_V2DImode:
5543 98 : if (pattern843 (x1,
5544 : E_V2DImode,
5545 : E_V4DImode) != 0)
5546 64 : return -1;
5547 : return 12;
5548 :
5549 0 : case E_V32HFmode:
5550 0 : if (pattern843 (x1,
5551 : E_V32HFmode,
5552 : E_V64HFmode) != 0)
5553 0 : return -1;
5554 : return 13;
5555 :
5556 0 : case E_V16HFmode:
5557 0 : if (pattern843 (x1,
5558 : E_V16HFmode,
5559 : E_V32HFmode) != 0)
5560 0 : return -1;
5561 : return 14;
5562 :
5563 28 : case E_V8HFmode:
5564 28 : if (pattern843 (x1,
5565 : E_V8HFmode,
5566 : E_V16HFmode) != 0)
5567 28 : return -1;
5568 : return 15;
5569 :
5570 0 : case E_V32BFmode:
5571 0 : if (pattern843 (x1,
5572 : E_V32BFmode,
5573 : E_V64BFmode) != 0)
5574 0 : return -1;
5575 : return 16;
5576 :
5577 0 : case E_V16BFmode:
5578 0 : if (pattern843 (x1,
5579 : E_V16BFmode,
5580 : E_V32BFmode) != 0)
5581 0 : return -1;
5582 : return 17;
5583 :
5584 0 : case E_V8BFmode:
5585 0 : if (pattern843 (x1,
5586 : E_V8BFmode,
5587 : E_V16BFmode) != 0)
5588 0 : return -1;
5589 : return 18;
5590 :
5591 38 : case E_V16SFmode:
5592 38 : if (pattern843 (x1,
5593 : E_V16SFmode,
5594 : E_V32SFmode) != 0)
5595 18 : return -1;
5596 : return 19;
5597 :
5598 58 : case E_V8SFmode:
5599 58 : if (pattern843 (x1,
5600 : E_V8SFmode,
5601 : E_V16SFmode) != 0)
5602 38 : return -1;
5603 : return 20;
5604 :
5605 41 : case E_V8DFmode:
5606 41 : if (pattern843 (x1,
5607 : E_V8DFmode,
5608 : E_V16DFmode) != 0)
5609 21 : return -1;
5610 : return 21;
5611 :
5612 101 : case E_V4DFmode:
5613 101 : if (pattern843 (x1,
5614 : E_V4DFmode,
5615 : E_V8DFmode) != 0)
5616 81 : return -1;
5617 : return 22;
5618 :
5619 18 : case E_V2DFmode:
5620 18 : if (pattern843 (x1,
5621 : E_V2DFmode,
5622 : E_V4DFmode) != 0)
5623 18 : return -1;
5624 : return 23;
5625 :
5626 : default:
5627 : return -1;
5628 : }
5629 : }
5630 :
5631 : int
5632 63026 : pattern865 (rtx x1)
5633 : {
5634 63026 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5635 63026 : rtx x2, x3;
5636 63026 : int res ATTRIBUTE_UNUSED;
5637 63026 : switch (GET_CODE (x1))
5638 : {
5639 56758 : case CLOBBER:
5640 56758 : x2 = XEXP (x1, 0);
5641 56758 : if (GET_CODE (x2) != REG
5642 56758 : || REGNO (x2) != 17
5643 113516 : || GET_MODE (x2) != E_CCmode)
5644 0 : return -1;
5645 : return 0;
5646 :
5647 705 : case UNSPEC:
5648 705 : if (XVECLEN (x1, 0) != 1
5649 705 : || XINT (x1, 1) != 173)
5650 : return -1;
5651 705 : x3 = XVECEXP (x1, 0, 0);
5652 705 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5653 : return -1;
5654 705 : switch (GET_MODE (operands[0]))
5655 : {
5656 : case E_QImode:
5657 : return 1;
5658 :
5659 : case E_HImode:
5660 : return 2;
5661 :
5662 : case E_SImode:
5663 : return 3;
5664 :
5665 : case E_DImode:
5666 : return 4;
5667 :
5668 : default:
5669 : return -1;
5670 : }
5671 :
5672 : default:
5673 : return -1;
5674 : }
5675 : }
5676 :
5677 : int
5678 8751 : pattern868 (rtx x1, int *pnum_clobbers)
5679 : {
5680 8751 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5681 8751 : rtx x2, x3, x4, x5, x6, x7;
5682 8751 : int res ATTRIBUTE_UNUSED;
5683 8751 : x2 = XVECEXP (x1, 0, 1);
5684 8751 : x3 = XEXP (x2, 0);
5685 8751 : operands[2] = x3;
5686 8751 : if (!memory_operand (operands[2], E_HImode))
5687 : return -1;
5688 8751 : x4 = XVECEXP (x1, 0, 2);
5689 8751 : x5 = XEXP (x4, 0);
5690 8751 : operands[3] = x5;
5691 8751 : if (!memory_operand (operands[3], E_HImode))
5692 : return -1;
5693 8751 : switch (GET_MODE (operands[0]))
5694 : {
5695 0 : case E_DImode:
5696 0 : if (pnum_clobbers == NULL
5697 0 : || !nonimmediate_operand (operands[0], E_DImode))
5698 : return -1;
5699 0 : x6 = XVECEXP (x1, 0, 0);
5700 0 : x7 = XEXP (x6, 1);
5701 0 : if (GET_MODE (x7) != E_DImode)
5702 0 : return -1;
5703 : return 0;
5704 :
5705 4897 : case E_HImode:
5706 4897 : if (!nonimmediate_operand (operands[0], E_HImode))
5707 : return -1;
5708 4897 : x6 = XVECEXP (x1, 0, 0);
5709 4897 : x7 = XEXP (x6, 1);
5710 4897 : if (GET_MODE (x7) != E_HImode)
5711 0 : return -1;
5712 : return 1;
5713 :
5714 3854 : case E_SImode:
5715 3854 : if (!nonimmediate_operand (operands[0], E_SImode))
5716 : return -1;
5717 3854 : x6 = XVECEXP (x1, 0, 0);
5718 3854 : x7 = XEXP (x6, 1);
5719 3854 : if (GET_MODE (x7) != E_SImode)
5720 0 : return -1;
5721 : return 2;
5722 :
5723 : default:
5724 : return -1;
5725 : }
5726 : }
5727 :
5728 : int
5729 6014584 : pattern878 (rtx x1, machine_mode i1)
5730 : {
5731 6014584 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5732 6014584 : int res ATTRIBUTE_UNUSED;
5733 6014584 : if (!register_operand (operands[0], i1)
5734 6011743 : || GET_MODE (x1) != i1
5735 6011743 : || !register_operand (operands[1], i1)
5736 12022258 : || !x86_64_nonmemory_operand (operands[2], i1))
5737 162512 : return -1;
5738 : return 0;
5739 : }
5740 :
5741 : int
5742 146159 : pattern882 (rtx x1)
5743 : {
5744 146159 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5745 146159 : rtx x2, x3, x4, x5;
5746 146159 : int res ATTRIBUTE_UNUSED;
5747 146159 : x2 = XVECEXP (x1, 0, 0);
5748 146159 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5749 : return -1;
5750 68616 : x3 = XVECEXP (x1, 0, 1);
5751 68616 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5752 : return -1;
5753 11925 : x4 = XVECEXP (x1, 0, 2);
5754 11925 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5755 : return -1;
5756 9958 : x5 = XVECEXP (x1, 0, 3);
5757 9958 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
5758 370 : return -1;
5759 : return 0;
5760 : }
5761 :
5762 : int
5763 376 : pattern885 (rtx x1, int i1, int i2, int i3, int i4)
5764 : {
5765 376 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5766 376 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
5767 376 : int res ATTRIBUTE_UNUSED;
5768 376 : x2 = XVECEXP (x1, 0, 0);
5769 376 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5770 : return -1;
5771 208 : x3 = XVECEXP (x1, 0, 1);
5772 208 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
5773 : return -1;
5774 208 : x4 = XVECEXP (x1, 0, 2);
5775 208 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
5776 : return -1;
5777 208 : x5 = XVECEXP (x1, 0, 3);
5778 208 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
5779 : return -1;
5780 208 : x6 = XVECEXP (x1, 0, 4);
5781 208 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 4])
5782 : return -1;
5783 208 : x7 = XVECEXP (x1, 0, 5);
5784 208 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
5785 : return -1;
5786 208 : x8 = XVECEXP (x1, 0, 6);
5787 208 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
5788 : return -1;
5789 208 : x9 = XVECEXP (x1, 0, 7);
5790 208 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
5791 208 : || pattern884 (x1,
5792 : i1,
5793 : i2,
5794 : i3,
5795 : i4) != 0)
5796 0 : return -1;
5797 : return 0;
5798 : }
5799 :
5800 : int
5801 14291606 : pattern891 ()
5802 : {
5803 14291606 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5804 14291606 : int res ATTRIBUTE_UNUSED;
5805 14291606 : switch (GET_MODE (operands[0]))
5806 : {
5807 6594512 : case E_DImode:
5808 6594512 : if (!nonimmediate_operand (operands[0], E_DImode)
5809 6594512 : || !general_operand (operands[1], E_DImode))
5810 444203 : return -1;
5811 : return 0;
5812 :
5813 409603 : case E_TImode:
5814 409603 : if (!nonimmediate_operand (operands[0], E_TImode)
5815 409603 : || !general_operand (operands[1], E_TImode))
5816 2234 : return -1;
5817 : return 1;
5818 :
5819 : default:
5820 : return -1;
5821 : }
5822 : }
5823 :
5824 : int
5825 176 : pattern893 (rtx x1)
5826 : {
5827 176 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5828 176 : rtx x2, x3, x4, x5, x6, x7;
5829 176 : int res ATTRIBUTE_UNUSED;
5830 176 : x2 = XVECEXP (x1, 0, 0);
5831 176 : if (GET_CODE (x2) != VEC_SELECT)
5832 : return -1;
5833 176 : x3 = XEXP (x2, 1);
5834 176 : if (GET_CODE (x3) != PARALLEL
5835 176 : || XVECLEN (x3, 0) != 1)
5836 : return -1;
5837 176 : x4 = XVECEXP (x3, 0, 0);
5838 176 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5839 : return -1;
5840 176 : x5 = XVECEXP (x1, 0, 1);
5841 176 : if (GET_CODE (x5) != VEC_SELECT)
5842 : return -1;
5843 176 : x6 = XEXP (x5, 1);
5844 176 : if (GET_CODE (x6) != PARALLEL
5845 176 : || XVECLEN (x6, 0) != 1)
5846 : return -1;
5847 176 : x7 = XVECEXP (x6, 0, 0);
5848 176 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5849 0 : return -1;
5850 : return 0;
5851 : }
5852 :
5853 : int
5854 28728 : pattern895 (rtx x1)
5855 : {
5856 28728 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5857 28728 : rtx x2, x3, x4, x5, x6, x7;
5858 28728 : int res ATTRIBUTE_UNUSED;
5859 28728 : x2 = XVECEXP (x1, 0, 2);
5860 28728 : if (maybe_ne (SUBREG_BYTE (x2), 0))
5861 : return -1;
5862 28728 : x3 = XEXP (x2, 0);
5863 28728 : if (GET_CODE (x3) != EQ)
5864 : return -1;
5865 3077 : x4 = XEXP (x3, 0);
5866 3077 : if (GET_CODE (x4) != EQ)
5867 : return -1;
5868 424 : x5 = XEXP (x4, 0);
5869 424 : operands[3] = x5;
5870 424 : x6 = XEXP (x4, 1);
5871 424 : operands[4] = x6;
5872 424 : x7 = XEXP (x3, 1);
5873 424 : operands[5] = x7;
5874 424 : switch (GET_MODE (operands[0]))
5875 : {
5876 75 : case E_V8QImode:
5877 75 : if (!register_operand (operands[0], E_V8QImode)
5878 75 : || GET_MODE (x1) != E_V8QImode
5879 75 : || !register_operand (operands[1], E_V8QImode)
5880 42 : || !register_operand (operands[2], E_V8QImode)
5881 96 : || GET_MODE (x2) != E_V8QImode)
5882 : return -1;
5883 21 : switch (GET_MODE (x3))
5884 : {
5885 21 : case E_V4HImode:
5886 21 : return pattern894 (x4,
5887 21 : E_V4HImode); /* [-1, 0] */
5888 :
5889 0 : case E_V2SImode:
5890 0 : if (pattern894 (x4,
5891 : E_V2SImode) != 0)
5892 0 : return -1;
5893 : return 1;
5894 :
5895 : default:
5896 : return -1;
5897 : }
5898 :
5899 315 : case E_V4QImode:
5900 315 : if (!register_operand (operands[0], E_V4QImode)
5901 315 : || GET_MODE (x1) != E_V4QImode
5902 315 : || !register_operand (operands[1], E_V4QImode)
5903 174 : || !register_operand (operands[2], E_V4QImode)
5904 93 : || GET_MODE (x2) != E_V4QImode
5905 93 : || GET_MODE (x3) != E_V2HImode
5906 408 : || pattern894 (x4,
5907 : E_V2HImode) != 0)
5908 270 : return -1;
5909 : return 2;
5910 :
5911 : default:
5912 : return -1;
5913 : }
5914 : }
5915 :
5916 : int
5917 65 : pattern909 (rtx x1, machine_mode i1)
5918 : {
5919 65 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5920 65 : int res ATTRIBUTE_UNUSED;
5921 65 : if (!register_operand (operands[0], i1)
5922 65 : || GET_MODE (x1) != i1
5923 65 : || !register_operand (operands[2], i1)
5924 44 : || !register_operand (operands[1], i1)
5925 99 : || !const_0_to_7_operand (operands[3], E_SImode))
5926 31 : return -1;
5927 : return 0;
5928 : }
5929 :
5930 : int
5931 438 : pattern913 (rtx x1, machine_mode i1)
5932 : {
5933 438 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5934 438 : rtx x2;
5935 438 : int res ATTRIBUTE_UNUSED;
5936 438 : if (!register_operand (operands[0], i1)
5937 422 : || GET_MODE (x1) != i1
5938 422 : || !bcst_vector_operand (operands[1], i1)
5939 856 : || !bcst_vector_operand (operands[2], i1))
5940 : return -1;
5941 409 : x2 = XEXP (x1, 2);
5942 409 : if (GET_MODE (x2) != i1
5943 409 : || !bcst_vector_operand (operands[3], i1))
5944 19 : return -1;
5945 : return 0;
5946 : }
5947 :
5948 : int
5949 8 : pattern918 (rtx x1)
5950 : {
5951 8 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5952 8 : rtx x2, x3, x4;
5953 8 : int res ATTRIBUTE_UNUSED;
5954 8 : if (GET_CODE (x1) != VEC_SELECT)
5955 : return -1;
5956 8 : x2 = XEXP (x1, 1);
5957 8 : if (GET_CODE (x2) != PARALLEL
5958 8 : || XVECLEN (x2, 0) != 1)
5959 : return -1;
5960 8 : x3 = XVECEXP (x2, 0, 0);
5961 8 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
5962 : return -1;
5963 8 : x4 = XEXP (x1, 0);
5964 8 : operands[1] = x4;
5965 8 : switch (GET_MODE (x1))
5966 : {
5967 4 : case E_DFmode:
5968 4 : if (!nonimmediate_operand (operands[1], E_V2DFmode))
5969 0 : return -1;
5970 : return 0;
5971 :
5972 4 : case E_SFmode:
5973 4 : if (!nonimmediate_operand (operands[1], E_V4SFmode))
5974 0 : return -1;
5975 : return 1;
5976 :
5977 : default:
5978 : return -1;
5979 : }
5980 : }
5981 :
5982 : int
5983 1486 : pattern926 (rtx x1, machine_mode i1)
5984 : {
5985 1486 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
5986 1486 : rtx x2, x3;
5987 1486 : int res ATTRIBUTE_UNUSED;
5988 1486 : if (!register_operand (operands[0], i1)
5989 1486 : || GET_MODE (x1) != i1)
5990 : return -1;
5991 1438 : x2 = XVECEXP (x1, 0, 0);
5992 1438 : if (GET_MODE (x2) != i1)
5993 : return -1;
5994 1438 : x3 = XVECEXP (x2, 0, 0);
5995 1438 : switch (GET_MODE (x3))
5996 : {
5997 718 : case E_DFmode:
5998 718 : if (!register_operand (operands[1], E_V2DFmode))
5999 14 : return -1;
6000 : return 0;
6001 :
6002 720 : case E_SFmode:
6003 720 : if (!register_operand (operands[1], E_V4SFmode))
6004 12 : return -1;
6005 : return 1;
6006 :
6007 : default:
6008 : return -1;
6009 : }
6010 : }
6011 :
6012 : int
6013 5899 : pattern932 (rtx x1, machine_mode i1, machine_mode i2)
6014 : {
6015 5899 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6016 5899 : rtx x2, x3, x4;
6017 5899 : int res ATTRIBUTE_UNUSED;
6018 5899 : if (!register_operand (operands[0], i2)
6019 5899 : || GET_MODE (x1) != i2)
6020 : return -1;
6021 5727 : x2 = XEXP (x1, 0);
6022 5727 : if (GET_MODE (x2) != i2)
6023 : return -1;
6024 5727 : x3 = XEXP (x2, 0);
6025 5727 : if (GET_MODE (x3) != i2)
6026 : return -1;
6027 5727 : x4 = XEXP (x3, 0);
6028 5727 : if (GET_MODE (x4) != i1)
6029 0 : return -1;
6030 : return 0;
6031 : }
6032 :
6033 : int
6034 1898 : pattern937 (rtx x1, machine_mode i1)
6035 : {
6036 1898 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6037 1898 : rtx x2, x3;
6038 1898 : int res ATTRIBUTE_UNUSED;
6039 1898 : if (!register_operand (operands[0], i1)
6040 1898 : || GET_MODE (x1) != i1)
6041 : return -1;
6042 1663 : x2 = XEXP (x1, 0);
6043 1663 : operands[2] = x2;
6044 1663 : if (!register_operand (operands[2], i1))
6045 : return -1;
6046 1444 : x3 = XEXP (x1, 1);
6047 1444 : operands[1] = x3;
6048 1444 : if (!reg_or_0_operand (operands[1], i1))
6049 67 : return -1;
6050 : return 0;
6051 : }
6052 :
6053 : int
6054 721 : pattern942 (rtx x1, machine_mode i1)
6055 : {
6056 721 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6057 721 : rtx x2;
6058 721 : int res ATTRIBUTE_UNUSED;
6059 721 : if (!register_operand (operands[0], i1)
6060 721 : || GET_MODE (x1) != i1)
6061 : return -1;
6062 665 : x2 = XEXP (x1, 0);
6063 665 : if (GET_MODE (x2) != i1
6064 665 : || !nonimm_or_0_operand (operands[2], i1)
6065 1304 : || !register_operand (operands[3], E_QImode))
6066 : return -1;
6067 565 : switch (GET_MODE (operands[1]))
6068 : {
6069 408 : case E_V8SImode:
6070 408 : if (!nonimmediate_operand (operands[1], E_V8SImode))
6071 0 : return -1;
6072 : return 0;
6073 :
6074 157 : case E_V8DImode:
6075 157 : if (!nonimmediate_operand (operands[1], E_V8DImode))
6076 0 : return -1;
6077 : return 1;
6078 :
6079 : default:
6080 : return -1;
6081 : }
6082 : }
6083 :
6084 : int
6085 1128 : pattern948 (rtx x1, machine_mode i1, machine_mode i2)
6086 : {
6087 1128 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6088 1128 : rtx x2, x3, x4;
6089 1128 : int res ATTRIBUTE_UNUSED;
6090 1128 : if (!register_operand (operands[0], i1)
6091 1128 : || GET_MODE (x1) != i1)
6092 : return -1;
6093 1092 : x2 = XVECEXP (x1, 0, 0);
6094 1092 : if (GET_MODE (x2) != i1)
6095 : return -1;
6096 1092 : x3 = XEXP (x2, 0);
6097 1092 : if (GET_MODE (x3) != i1)
6098 : return -1;
6099 1092 : x4 = XEXP (x3, 0);
6100 1092 : if (GET_MODE (x4) != i2
6101 1092 : || !register_operand (operands[1], i1))
6102 : return -1;
6103 1064 : switch (GET_MODE (operands[2]))
6104 : {
6105 532 : case E_SImode:
6106 532 : if (!register_operand (operands[2], E_SImode))
6107 0 : return -1;
6108 : return 0;
6109 :
6110 532 : case E_DImode:
6111 532 : if (!register_operand (operands[2], E_DImode))
6112 0 : return -1;
6113 : return 1;
6114 :
6115 : default:
6116 : return -1;
6117 : }
6118 : }
6119 :
6120 : int
6121 1286 : pattern953 (rtx x1)
6122 : {
6123 1286 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6124 1286 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6125 1286 : int res ATTRIBUTE_UNUSED;
6126 1286 : x2 = XVECEXP (x1, 0, 0);
6127 1286 : x3 = XEXP (x2, 0);
6128 1286 : x4 = XVECEXP (x3, 0, 0);
6129 1286 : operands[1] = x4;
6130 1286 : x5 = XVECEXP (x3, 0, 1);
6131 1286 : operands[2] = x5;
6132 1286 : x6 = XVECEXP (x1, 0, 1);
6133 1286 : if (!const_4_or_8_to_11_operand (x6, E_SImode))
6134 : return -1;
6135 1286 : x7 = XEXP (x2, 2);
6136 1286 : switch (GET_CODE (x7))
6137 : {
6138 926 : case UNSPEC:
6139 926 : if (XVECLEN (x7, 0) != 1
6140 926 : || XINT (x7, 1) != 222
6141 926 : || GET_MODE (x7) != E_SImode
6142 926 : || !register_operand (operands[0], E_V32HFmode)
6143 870 : || GET_MODE (x1) != E_V32HFmode
6144 870 : || GET_MODE (x2) != E_V32HFmode
6145 870 : || GET_MODE (x3) != E_V32HFmode
6146 870 : || !register_operand (operands[1], E_V32HFmode)
6147 1776 : || !register_operand (operands[2], E_V32HFmode))
6148 : return -1;
6149 834 : x8 = XEXP (x2, 1);
6150 834 : operands[3] = x8;
6151 834 : if (!nonimm_or_0_operand (operands[3], E_V32HFmode))
6152 : return -1;
6153 830 : x9 = XVECEXP (x7, 0, 0);
6154 830 : operands[4] = x9;
6155 830 : if (!register_operand (operands[4], E_HImode))
6156 : return -1;
6157 766 : operands[5] = x6;
6158 766 : return 0;
6159 :
6160 360 : case CONST_INT:
6161 360 : if (XWINT (x7, 0) != 3L
6162 360 : || !register_operand (operands[0], E_V8HFmode)
6163 334 : || GET_MODE (x1) != E_V8HFmode
6164 334 : || GET_MODE (x2) != E_V8HFmode
6165 334 : || GET_MODE (x3) != E_V8HFmode
6166 334 : || !nonimmediate_operand (operands[1], E_V8HFmode)
6167 694 : || !register_operand (operands[2], E_V8HFmode))
6168 : return -1;
6169 324 : operands[3] = x6;
6170 324 : x8 = XEXP (x2, 1);
6171 324 : if (!rtx_equal_p (x8, operands[1]))
6172 0 : return -1;
6173 : return 1;
6174 :
6175 : default:
6176 : return -1;
6177 : }
6178 : }
6179 :
6180 : int
6181 400 : pattern962 (rtx x1)
6182 : {
6183 400 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6184 400 : rtx x2;
6185 400 : int res ATTRIBUTE_UNUSED;
6186 400 : x2 = XEXP (x1, 0);
6187 400 : if (GET_MODE (x2) != E_V8QImode
6188 400 : || !register_operand (operands[0], E_V16QImode)
6189 400 : || GET_MODE (x1) != E_V16QImode
6190 400 : || !register_operand (operands[1], E_V16QImode)
6191 392 : || !nonimmediate_operand (operands[2], E_V8HFmode)
6192 758 : || !const0_operand (operands[3], E_V8QImode))
6193 42 : return -1;
6194 : return 0;
6195 : }
6196 :
6197 : int
6198 703010 : pattern964 (rtx x1, machine_mode i1, machine_mode i2)
6199 : {
6200 703010 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6201 703010 : int res ATTRIBUTE_UNUSED;
6202 703010 : if (!register_operand (operands[0], i2)
6203 684389 : || GET_MODE (x1) != i2
6204 684389 : || !nonimmediate_operand (operands[1], i1)
6205 1365349 : || !const0_operand (operands[2], i1))
6206 47618 : return -1;
6207 : return 0;
6208 : }
6209 :
6210 : int
6211 241 : pattern965 (rtx x1, machine_mode i1)
6212 : {
6213 241 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6214 241 : int res ATTRIBUTE_UNUSED;
6215 241 : if (!register_operand (operands[0], i1)
6216 232 : || GET_MODE (x1) != i1
6217 232 : || !nonimmediate_operand (operands[1], i1)
6218 223 : || !nonimmediate_operand (operands[2], i1)
6219 464 : || !nonimmediate_operand (operands[3], i1))
6220 18 : return -1;
6221 : return 0;
6222 : }
6223 :
6224 : int
6225 28219 : pattern969 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
6226 : {
6227 28219 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6228 28219 : rtx x2;
6229 28219 : int res ATTRIBUTE_UNUSED;
6230 28219 : if (!register_operand (operands[0], i3)
6231 28219 : || GET_MODE (x1) != i3)
6232 : return -1;
6233 23837 : x2 = XEXP (x1, 0);
6234 23837 : if (GET_MODE (x2) != i2
6235 23837 : || !nonimmediate_operand (operands[1], i1))
6236 6098 : return -1;
6237 : return 0;
6238 : }
6239 :
6240 : int
6241 695 : pattern973 (rtx x1, machine_mode i1, machine_mode i2)
6242 : {
6243 695 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6244 695 : rtx x2;
6245 695 : int res ATTRIBUTE_UNUSED;
6246 695 : if (!register_operand (operands[0], i1)
6247 695 : || GET_MODE (x1) != i1)
6248 : return -1;
6249 667 : x2 = XEXP (x1, 0);
6250 667 : if (GET_MODE (x2) != i2
6251 667 : || !nonimmediate_operand (operands[1], i1))
6252 38 : return -1;
6253 : return 0;
6254 : }
6255 :
6256 : int
6257 86 : pattern976 (rtx x1, int *pnum_clobbers)
6258 : {
6259 86 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6260 86 : rtx x2, x3, x4, x5, x6;
6261 86 : int res ATTRIBUTE_UNUSED;
6262 86 : x2 = XVECEXP (x1, 0, 0);
6263 86 : x3 = XEXP (x2, 1);
6264 86 : x4 = XEXP (x3, 0);
6265 86 : x5 = XEXP (x4, 0);
6266 86 : operands[1] = x5;
6267 86 : if (!nonimmediate_operand (operands[1], E_SImode))
6268 : return -1;
6269 42 : x6 = XVECEXP (x1, 0, 1);
6270 42 : return pattern859 (x6, pnum_clobbers,
6271 42 : E_DImode); /* [-1, 1] */
6272 : }
6273 :
6274 : int
6275 0 : pattern980 (rtx x1, machine_mode i1)
6276 : {
6277 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6278 0 : rtx x2, x3;
6279 0 : int res ATTRIBUTE_UNUSED;
6280 0 : if (!nonimmediate_operand (operands[0], i1)
6281 0 : || GET_MODE (x1) != i1)
6282 : return -1;
6283 0 : x2 = XEXP (x1, 0);
6284 0 : if (GET_MODE (x2) != i1
6285 0 : || !nonimmediate_operand (operands[1], i1))
6286 : return -1;
6287 0 : x3 = XEXP (x2, 1);
6288 0 : if (GET_MODE (x3) != i1
6289 0 : || !immediate_operand (operands[2], i1))
6290 0 : return -1;
6291 : return 0;
6292 : }
6293 :
6294 : int
6295 8297 : pattern985 (rtx x1)
6296 : {
6297 8297 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6298 8297 : rtx x2;
6299 8297 : int res ATTRIBUTE_UNUSED;
6300 8297 : x2 = XEXP (x1, 1);
6301 8297 : operands[1] = x2;
6302 8297 : switch (GET_MODE (operands[0]))
6303 : {
6304 659 : case E_SImode:
6305 659 : return pattern984 (x1,
6306 659 : E_SImode); /* [-1, 0] */
6307 :
6308 7494 : case E_DImode:
6309 7494 : if (pattern984 (x1,
6310 : E_DImode) != 0)
6311 3047 : return -1;
6312 : return 1;
6313 :
6314 : default:
6315 : return -1;
6316 : }
6317 : }
6318 :
6319 : int
6320 23706 : pattern990 (rtx x1)
6321 : {
6322 23706 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6323 23706 : rtx x2, x3, x4, x5, x6;
6324 23706 : int res ATTRIBUTE_UNUSED;
6325 23706 : x2 = XEXP (x1, 0);
6326 23706 : operands[0] = x2;
6327 23706 : x3 = XEXP (x1, 1);
6328 23706 : x4 = XEXP (x3, 0);
6329 23706 : x5 = XEXP (x4, 0);
6330 23706 : operands[1] = x5;
6331 23706 : x6 = XEXP (x3, 1);
6332 23706 : if (!rtx_equal_p (x6, operands[1]))
6333 : return -1;
6334 873 : switch (GET_MODE (operands[0]))
6335 : {
6336 379 : case E_SImode:
6337 379 : return pattern989 (x3,
6338 379 : E_SImode); /* [-1, 0] */
6339 :
6340 476 : case E_DImode:
6341 476 : if (pattern989 (x3,
6342 : E_DImode) != 0)
6343 0 : return -1;
6344 : return 1;
6345 :
6346 : default:
6347 : return -1;
6348 : }
6349 : }
6350 :
6351 : int
6352 656 : pattern994 (rtx x1, machine_mode i1)
6353 : {
6354 656 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6355 656 : rtx x2;
6356 656 : int res ATTRIBUTE_UNUSED;
6357 656 : if (!register_operand (operands[0], i1)
6358 656 : || GET_MODE (x1) != i1)
6359 : return -1;
6360 646 : x2 = XEXP (x1, 0);
6361 646 : if (GET_MODE (x2) != i1
6362 646 : || !register_operand (operands[1], i1)
6363 51 : || !const0_operand (operands[2], i1)
6364 675 : || !const1_operand (operands[3], i1))
6365 646 : return -1;
6366 : return 0;
6367 : }
6368 :
6369 : int
6370 4957641 : pattern997 (rtx x1, machine_mode i1)
6371 : {
6372 4957641 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6373 4957641 : rtx x2, x3;
6374 4957641 : int res ATTRIBUTE_UNUSED;
6375 4957641 : if (!immediate_operand (operands[1], i1)
6376 4957641 : || GET_CODE (x1) != SET)
6377 : return -1;
6378 3910812 : x2 = XEXP (x1, 0);
6379 3910812 : operands[2] = x2;
6380 3910812 : if (!mask_reg_operand (operands[2], i1))
6381 : return -1;
6382 2957 : x3 = XEXP (x1, 1);
6383 2957 : if (!rtx_equal_p (x3, operands[0]))
6384 6 : return -1;
6385 : return 0;
6386 : }
6387 :
6388 : int
6389 4687061 : pattern1001 (rtx x1, machine_mode i1)
6390 : {
6391 4687061 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6392 4687061 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6393 4687061 : int res ATTRIBUTE_UNUSED;
6394 4687061 : operands[1] = x1;
6395 4687061 : if (!general_reg_operand (operands[1], i1))
6396 : return -1;
6397 1119653 : x2 = PATTERN (peep2_next_insn (2));
6398 1119653 : if (GET_CODE (x2) != PARALLEL
6399 175034 : || XVECLEN (x2, 0) != 2)
6400 : return -1;
6401 162392 : x3 = XVECEXP (x2, 0, 0);
6402 162392 : if (GET_CODE (x3) != SET)
6403 : return -1;
6404 162205 : x4 = XEXP (x3, 0);
6405 162205 : if (GET_CODE (x4) != REG
6406 162205 : || REGNO (x4) != 17)
6407 : return -1;
6408 19627 : x5 = XVECEXP (x2, 0, 1);
6409 19627 : if (GET_CODE (x5) != SET)
6410 : return -1;
6411 18926 : x6 = XEXP (x3, 1);
6412 18926 : operands[5] = x6;
6413 18926 : x7 = XEXP (x5, 1);
6414 18926 : operands[6] = x7;
6415 18926 : x8 = XEXP (x5, 0);
6416 18926 : if (!rtx_equal_p (x8, operands[0]))
6417 : return -1;
6418 10906 : x9 = PATTERN (peep2_next_insn (3));
6419 10906 : return pattern1000 (x9,
6420 10906 : i1); /* [-1, 0] */
6421 : }
6422 :
6423 : int
6424 146485 : pattern1004 (rtx x1)
6425 : {
6426 146485 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6427 146485 : int res ATTRIBUTE_UNUSED;
6428 146485 : switch (GET_MODE (operands[0]))
6429 : {
6430 63413 : case E_QImode:
6431 63413 : if (!register_operand (operands[0], E_QImode)
6432 63413 : || GET_MODE (x1) != E_QImode)
6433 154 : return -1;
6434 : return 0;
6435 :
6436 61667 : case E_HImode:
6437 61667 : if (!register_operand (operands[0], E_HImode)
6438 61667 : || GET_MODE (x1) != E_HImode)
6439 90 : return -1;
6440 : return 1;
6441 :
6442 : default:
6443 : return -1;
6444 : }
6445 : }
6446 :
6447 : int
6448 7326 : pattern1008 (rtx x1, machine_mode i1)
6449 : {
6450 7326 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6451 7326 : int res ATTRIBUTE_UNUSED;
6452 7326 : if (!register_operand (operands[0], i1)
6453 7319 : || GET_MODE (x1) != i1
6454 7319 : || !register_operand (operands[1], i1)
6455 14614 : || !register_operand (operands[2], i1))
6456 51 : return -1;
6457 : return 0;
6458 : }
6459 :
6460 : int
6461 4098 : pattern1010 (rtx x1)
6462 : {
6463 4098 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6464 4098 : rtx x2, x3;
6465 4098 : int res ATTRIBUTE_UNUSED;
6466 4098 : x2 = XEXP (x1, 1);
6467 4098 : switch (GET_CODE (x2))
6468 : {
6469 1300 : case CONST_INT:
6470 1300 : if (!register_operand (operands[0], E_QImode)
6471 1300 : || GET_MODE (x1) != E_QImode)
6472 : return -1;
6473 684 : x3 = XEXP (x1, 0);
6474 684 : if (GET_MODE (x3) != E_QImode)
6475 : return -1;
6476 684 : switch (XWINT (x2, 0))
6477 : {
6478 13 : case 15L:
6479 13 : switch (GET_MODE (operands[1]))
6480 : {
6481 8 : case E_V4SImode:
6482 8 : if (!nonimm_or_0_operand (operands[1], E_V4SImode)
6483 8 : || !nonimm_or_0_operand (operands[2], E_V4SImode))
6484 4 : return -1;
6485 : return 0;
6486 :
6487 4 : case E_V4DImode:
6488 4 : if (!nonimm_or_0_operand (operands[1], E_V4DImode)
6489 4 : || !nonimm_or_0_operand (operands[2], E_V4DImode))
6490 4 : return -1;
6491 : return 1;
6492 :
6493 : default:
6494 : return -1;
6495 : }
6496 :
6497 69 : case 3L:
6498 69 : if (!nonimm_or_0_operand (operands[1], E_V2DImode)
6499 69 : || !nonimm_or_0_operand (operands[2], E_V2DImode))
6500 69 : return -1;
6501 : return 2;
6502 :
6503 : default:
6504 : return -1;
6505 : }
6506 :
6507 2692 : case REG:
6508 2692 : case SUBREG:
6509 2692 : operands[3] = x2;
6510 2692 : switch (GET_MODE (operands[0]))
6511 : {
6512 1064 : case E_HImode:
6513 1064 : if (!register_operand (operands[0], E_HImode)
6514 1064 : || GET_MODE (x1) != E_HImode)
6515 : return -1;
6516 1050 : x3 = XEXP (x1, 0);
6517 1050 : if (GET_MODE (x3) != E_HImode
6518 1050 : || !register_operand (operands[3], E_HImode))
6519 : return -1;
6520 1050 : switch (GET_MODE (operands[1]))
6521 : {
6522 86 : case E_V16QImode:
6523 86 : if (!nonimm_or_0_operand (operands[1], E_V16QImode)
6524 86 : || !nonimm_or_0_operand (operands[2], E_V16QImode))
6525 0 : return -1;
6526 : return 3;
6527 :
6528 91 : case E_V16HImode:
6529 91 : if (!nonimm_or_0_operand (operands[1], E_V16HImode)
6530 91 : || !nonimm_or_0_operand (operands[2], E_V16HImode))
6531 0 : return -1;
6532 : return 4;
6533 :
6534 869 : case E_V16SImode:
6535 869 : if (!nonimm_or_0_operand (operands[1], E_V16SImode)
6536 869 : || !nonimm_or_0_operand (operands[2], E_V16SImode))
6537 8 : return -1;
6538 : return 5;
6539 :
6540 : default:
6541 : return -1;
6542 : }
6543 :
6544 550 : case E_QImode:
6545 550 : if (!register_operand (operands[0], E_QImode)
6546 550 : || GET_MODE (x1) != E_QImode)
6547 : return -1;
6548 512 : x3 = XEXP (x1, 0);
6549 512 : if (GET_MODE (x3) != E_QImode
6550 512 : || !register_operand (operands[3], E_QImode))
6551 : return -1;
6552 512 : switch (GET_MODE (operands[1]))
6553 : {
6554 91 : case E_V8HImode:
6555 91 : if (!nonimm_or_0_operand (operands[1], E_V8HImode)
6556 91 : || !nonimm_or_0_operand (operands[2], E_V8HImode))
6557 0 : return -1;
6558 : return 6;
6559 :
6560 77 : case E_V8SImode:
6561 77 : if (!nonimm_or_0_operand (operands[1], E_V8SImode)
6562 77 : || !nonimm_or_0_operand (operands[2], E_V8SImode))
6563 0 : return -1;
6564 : return 7;
6565 :
6566 81 : case E_V4SImode:
6567 81 : if (!nonimm_or_0_operand (operands[1], E_V4SImode)
6568 81 : || !nonimm_or_0_operand (operands[2], E_V4SImode))
6569 0 : return -1;
6570 : return 8;
6571 :
6572 80 : case E_V8DImode:
6573 80 : if (!nonimm_or_0_operand (operands[1], E_V8DImode)
6574 80 : || !nonimm_or_0_operand (operands[2], E_V8DImode))
6575 2 : return -1;
6576 : return 9;
6577 :
6578 80 : case E_V4DImode:
6579 80 : if (!nonimm_or_0_operand (operands[1], E_V4DImode)
6580 80 : || !nonimm_or_0_operand (operands[2], E_V4DImode))
6581 2 : return -1;
6582 : return 10;
6583 :
6584 99 : case E_V2DImode:
6585 99 : if (!nonimm_or_0_operand (operands[1], E_V2DImode)
6586 99 : || !nonimm_or_0_operand (operands[2], E_V2DImode))
6587 2 : return -1;
6588 : return 11;
6589 :
6590 : default:
6591 : return -1;
6592 : }
6593 :
6594 : default:
6595 : return -1;
6596 : }
6597 :
6598 : default:
6599 : return -1;
6600 : }
6601 : }
6602 :
6603 : int
6604 24 : pattern1029 (rtx x1)
6605 : {
6606 24 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6607 24 : rtx x2;
6608 24 : int res ATTRIBUTE_UNUSED;
6609 24 : if (!register_operand (operands[0], E_SImode)
6610 24 : || GET_MODE (x1) != E_SImode)
6611 : return -1;
6612 24 : x2 = XEXP (x1, 0);
6613 24 : if (GET_MODE (x2) != E_SImode)
6614 : return -1;
6615 24 : switch (GET_MODE (operands[1]))
6616 : {
6617 0 : case E_V32HFmode:
6618 0 : if (!register_operand (operands[1], E_V32HFmode)
6619 0 : || !nonimmediate_operand (operands[2], E_V32HFmode)
6620 0 : || !const_0_to_31_operand (operands[3], E_SImode))
6621 0 : return -1;
6622 : return 0;
6623 :
6624 3 : case E_V32QImode:
6625 3 : if (!register_operand (operands[1], E_V32QImode)
6626 3 : || !nonimmediate_operand (operands[2], E_V32QImode)
6627 6 : || !const_0_to_7_operand (operands[3], E_SImode))
6628 0 : return -1;
6629 : return 1;
6630 :
6631 21 : case E_V32HImode:
6632 21 : if (!register_operand (operands[1], E_V32HImode)
6633 21 : || !nonimmediate_operand (operands[2], E_V32HImode)
6634 42 : || !const_0_to_7_operand (operands[3], E_SImode))
6635 0 : return -1;
6636 : return 2;
6637 :
6638 : default:
6639 : return -1;
6640 : }
6641 : }
6642 :
6643 : int
6644 517 : pattern1034 (rtx x1)
6645 : {
6646 517 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6647 517 : rtx x2;
6648 517 : int res ATTRIBUTE_UNUSED;
6649 517 : if (!register_operand (operands[0], E_V16SImode)
6650 517 : || GET_MODE (x1) != E_V16SImode)
6651 : return -1;
6652 462 : x2 = XEXP (x1, 0);
6653 462 : if (GET_MODE (x2) != E_V16SImode
6654 462 : || !nonimm_or_0_operand (operands[2], E_V16SImode)
6655 897 : || !register_operand (operands[3], E_HImode))
6656 : return -1;
6657 366 : switch (GET_MODE (operands[1]))
6658 : {
6659 198 : case E_V16HFmode:
6660 198 : if (!vector_operand (operands[1], E_V16HFmode))
6661 0 : return -1;
6662 : return 0;
6663 :
6664 168 : case E_V16SFmode:
6665 168 : if (!vector_operand (operands[1], E_V16SFmode))
6666 0 : return -1;
6667 : return 1;
6668 :
6669 : default:
6670 : return -1;
6671 : }
6672 : }
6673 :
6674 : int
6675 199 : pattern1039 (rtx x1, machine_mode i1)
6676 : {
6677 199 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6678 199 : rtx x2;
6679 199 : int res ATTRIBUTE_UNUSED;
6680 199 : if (!register_operand (operands[0], i1)
6681 199 : || GET_MODE (x1) != i1)
6682 : return -1;
6683 199 : x2 = XEXP (x1, 0);
6684 199 : if (GET_MODE (x2) != i1
6685 199 : || !nonimmediate_operand (operands[1], i1)
6686 398 : || !const0_operand (operands[2], i1))
6687 66 : return -1;
6688 : return 0;
6689 : }
6690 :
6691 : int
6692 3351 : pattern1043 (rtx x1, machine_mode i1)
6693 : {
6694 3351 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6695 3351 : rtx x2, x3, x4;
6696 3351 : int res ATTRIBUTE_UNUSED;
6697 3351 : if (!register_operand (operands[0], i1)
6698 3351 : || GET_MODE (x1) != i1)
6699 : return -1;
6700 3239 : x2 = XEXP (x1, 0);
6701 3239 : if (GET_MODE (x2) != i1)
6702 : return -1;
6703 3239 : x3 = XVECEXP (x2, 0, 0);
6704 3239 : if (!register_operand (x3, i1))
6705 : return -1;
6706 3201 : x4 = XVECEXP (x2, 0, 1);
6707 3201 : if (!register_operand (x4, i1))
6708 52 : return -1;
6709 : return 0;
6710 : }
6711 :
6712 : int
6713 1293 : pattern1049 (rtx x1, machine_mode i1, machine_mode i2)
6714 : {
6715 1293 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6716 1293 : rtx x2;
6717 1293 : int res ATTRIBUTE_UNUSED;
6718 1293 : if (!register_operand (operands[0], i1)
6719 1293 : || GET_MODE (x1) != i1)
6720 : return -1;
6721 901 : x2 = XEXP (x1, 0);
6722 901 : if (GET_MODE (x2) != i1
6723 901 : || !nonimmediate_operand (operands[2], i2)
6724 1802 : || !const0_operand (operands[1], i1))
6725 35 : return -1;
6726 : return 0;
6727 : }
6728 :
6729 : int
6730 0 : pattern1053 (rtx x1, machine_mode i1, machine_mode i2)
6731 : {
6732 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6733 0 : rtx x2, x3;
6734 0 : int res ATTRIBUTE_UNUSED;
6735 0 : if (!register_operand (operands[0], i1)
6736 0 : || GET_MODE (x1) != i1
6737 0 : || !vector_operand (operands[1], i1)
6738 0 : || !vector_operand (operands[2], i1))
6739 : return -1;
6740 0 : x2 = XEXP (x1, 2);
6741 0 : if (GET_MODE (x2) != i2)
6742 : return -1;
6743 0 : x3 = XVECEXP (x2, 0, 0);
6744 0 : if (GET_MODE (x3) != i1
6745 0 : || !register_operand (operands[3], i1)
6746 0 : || !const0_operand (operands[4], i1))
6747 0 : return -1;
6748 : return 0;
6749 : }
6750 :
6751 : int
6752 1961 : pattern1057 (rtx x1, machine_mode i1, machine_mode i2)
6753 : {
6754 1961 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6755 1961 : rtx x2, x3;
6756 1961 : int res ATTRIBUTE_UNUSED;
6757 1961 : if (!register_operand (operands[0], i1)
6758 1961 : || GET_MODE (x1) != i1)
6759 : return -1;
6760 1867 : x2 = XEXP (x1, 0);
6761 1867 : if (GET_MODE (x2) != i1)
6762 : return -1;
6763 1867 : x3 = XEXP (x2, 0);
6764 1867 : if (GET_MODE (x3) != i1
6765 1867 : || !register_operand (operands[1], i1)
6766 1857 : || !nonimmediate_operand (operands[2], i1)
6767 1760 : || !nonimm_or_0_operand (operands[3], i1)
6768 3576 : || !register_operand (operands[4], i2))
6769 289 : return -1;
6770 : return 0;
6771 : }
6772 :
6773 : int
6774 221 : pattern1061 (rtx x1, machine_mode i1)
6775 : {
6776 221 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6777 221 : rtx x2;
6778 221 : int res ATTRIBUTE_UNUSED;
6779 221 : if (!register_operand (operands[0], i1)
6780 221 : || GET_MODE (x1) != i1)
6781 : return -1;
6782 213 : x2 = XVECEXP (x1, 0, 0);
6783 213 : if (GET_MODE (x2) != i1
6784 213 : || !register_operand (operands[1], i1))
6785 7 : return -1;
6786 : return 0;
6787 : }
6788 :
6789 : int
6790 213 : pattern1066 (rtx x1, machine_mode i1, machine_mode i2)
6791 : {
6792 213 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6793 213 : rtx x2;
6794 213 : int res ATTRIBUTE_UNUSED;
6795 213 : x2 = XVECEXP (x1, 0, 0);
6796 213 : if (GET_MODE (x2) != i2
6797 213 : || !register_operand (operands[0], i2)
6798 209 : || GET_MODE (x1) != i2
6799 209 : || !register_operand (operands[1], i1)
6800 418 : || !const48_operand (operands[2], E_SImode))
6801 8 : return -1;
6802 : return 0;
6803 : }
6804 :
6805 : int
6806 122 : pattern1070 (rtx x1)
6807 : {
6808 122 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6809 122 : rtx x2;
6810 122 : int res ATTRIBUTE_UNUSED;
6811 122 : if (!register_operand (operands[0], E_V16HFmode)
6812 122 : || GET_MODE (x1) != E_V16HFmode)
6813 : return -1;
6814 118 : x2 = XVECEXP (x1, 0, 0);
6815 118 : if (GET_MODE (x2) != E_V16HFmode)
6816 : return -1;
6817 118 : switch (GET_MODE (operands[1]))
6818 : {
6819 0 : case E_V16HImode:
6820 0 : if (!register_operand (operands[1], E_V16HImode))
6821 0 : return -1;
6822 : return 0;
6823 :
6824 118 : case E_V16SImode:
6825 118 : if (!register_operand (operands[1], E_V16SImode))
6826 10 : return -1;
6827 : return 1;
6828 :
6829 : default:
6830 : return -1;
6831 : }
6832 : }
6833 :
6834 : int
6835 7022 : pattern1075 (rtx x1, machine_mode i1, machine_mode i2)
6836 : {
6837 7022 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6838 7022 : int res ATTRIBUTE_UNUSED;
6839 7022 : if (!register_operand (operands[0], i2)
6840 6854 : || GET_MODE (x1) != i2
6841 6854 : || !nonimmediate_operand (operands[1], i2)
6842 6829 : || !nonimm_or_0_operand (operands[2], i2)
6843 13747 : || !register_operand (operands[3], i1))
6844 297 : return -1;
6845 : return 0;
6846 : }
6847 :
6848 : int
6849 20035 : pattern1081 (rtx x1)
6850 : {
6851 20035 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6852 20035 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
6853 20035 : rtx x10;
6854 20035 : int res ATTRIBUTE_UNUSED;
6855 20035 : x2 = XEXP (x1, 1);
6856 20035 : x3 = XEXP (x2, 0);
6857 20035 : if (GET_MODE (x3) != E_QImode)
6858 : return -1;
6859 19687 : x4 = XEXP (x3, 0);
6860 19687 : if (GET_CODE (x4) != SUBREG
6861 19676 : || maybe_ne (SUBREG_BYTE (x4), 0)
6862 39363 : || GET_MODE (x4) != E_QImode)
6863 : return -1;
6864 19676 : x5 = XEXP (x4, 0);
6865 19676 : switch (GET_CODE (x5))
6866 : {
6867 19676 : case ASHIFTRT:
6868 19676 : case LSHIFTRT:
6869 19676 : case SIGN_EXTRACT:
6870 19676 : case ZERO_EXTRACT:
6871 19676 : operands[3] = x5;
6872 19676 : x6 = XEXP (x1, 0);
6873 19676 : if (GET_CODE (x6) != ZERO_EXTRACT)
6874 : return -1;
6875 19676 : x7 = XEXP (x6, 1);
6876 19676 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6877 : return -1;
6878 19676 : x8 = XEXP (x6, 2);
6879 19676 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
6880 : return -1;
6881 19676 : x9 = XEXP (x6, 0);
6882 19676 : operands[0] = x9;
6883 19676 : if (!int248_register_operand (operands[0], E_VOIDmode))
6884 : return -1;
6885 19676 : x10 = XEXP (x5, 0);
6886 19676 : operands[1] = x10;
6887 19676 : if (!int248_register_operand (operands[1], E_VOIDmode))
6888 35 : return -1;
6889 : return 0;
6890 :
6891 : default:
6892 : return -1;
6893 : }
6894 : }
6895 :
6896 : int
6897 328 : pattern1087 (rtx x1, machine_mode i1)
6898 : {
6899 328 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
6900 328 : rtx x2, x3, x4, x5, x6;
6901 328 : int res ATTRIBUTE_UNUSED;
6902 328 : if (!register_operand (operands[0], i1))
6903 : return -1;
6904 328 : x2 = XVECEXP (x1, 0, 0);
6905 328 : x3 = XEXP (x2, 1);
6906 328 : if (GET_MODE (x3) != i1)
6907 : return -1;
6908 328 : x4 = XEXP (x3, 0);
6909 328 : switch (GET_MODE (x4))
6910 : {
6911 70 : case E_HImode:
6912 70 : if (!register_operand (operands[4], E_HImode))
6913 : return -1;
6914 70 : x5 = XVECEXP (x1, 0, 1);
6915 70 : x6 = XEXP (x5, 1);
6916 70 : if (GET_MODE (x6) != E_HImode)
6917 : return -1;
6918 70 : switch (GET_MODE (operands[1]))
6919 : {
6920 14 : case E_V16SImode:
6921 14 : if (!nonimmediate_operand (operands[1], E_V16SImode)
6922 12 : || !nonimmediate_operand (operands[2], E_V16SImode)
6923 26 : || !const_0_to_7_operand (operands[3], E_SImode))
6924 2 : return -1;
6925 : return 0;
6926 :
6927 14 : case E_V16HFmode:
6928 14 : if (!nonimmediate_operand (operands[1], E_V16HFmode)
6929 12 : || !nonimmediate_operand (operands[2], E_V16HFmode)
6930 26 : || !const_0_to_31_operand (operands[3], E_SImode))
6931 2 : return -1;
6932 : return 1;
6933 :
6934 14 : case E_V16SFmode:
6935 14 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
6936 12 : || !nonimmediate_operand (operands[2], E_V16SFmode)
6937 26 : || !const_0_to_31_operand (operands[3], E_SImode))
6938 2 : return -1;
6939 : return 2;
6940 :
6941 14 : case E_V16QImode:
6942 14 : if (!nonimmediate_operand (operands[1], E_V16QImode)
6943 12 : || !nonimmediate_operand (operands[2], E_V16QImode)
6944 26 : || !const_0_to_7_operand (operands[3], E_SImode))
6945 2 : return -1;
6946 : return 3;
6947 :
6948 14 : case E_V16HImode:
6949 14 : if (!nonimmediate_operand (operands[1], E_V16HImode)
6950 12 : || !nonimmediate_operand (operands[2], E_V16HImode)
6951 26 : || !const_0_to_7_operand (operands[3], E_SImode))
6952 2 : return -1;
6953 : return 4;
6954 :
6955 : default:
6956 : return -1;
6957 : }
6958 :
6959 237 : case E_QImode:
6960 237 : if (!register_operand (operands[4], E_QImode))
6961 : return -1;
6962 237 : x5 = XVECEXP (x1, 0, 1);
6963 237 : x6 = XEXP (x5, 1);
6964 237 : if (GET_MODE (x6) != E_QImode)
6965 : return -1;
6966 237 : switch (GET_MODE (operands[1]))
6967 : {
6968 21 : case E_V8SImode:
6969 21 : if (!nonimmediate_operand (operands[1], E_V8SImode)
6970 18 : || !nonimmediate_operand (operands[2], E_V8SImode)
6971 39 : || !const_0_to_7_operand (operands[3], E_SImode))
6972 3 : return -1;
6973 : return 5;
6974 :
6975 21 : case E_V4SImode:
6976 21 : if (!nonimmediate_operand (operands[1], E_V4SImode)
6977 18 : || !nonimmediate_operand (operands[2], E_V4SImode)
6978 39 : || !const_0_to_7_operand (operands[3], E_SImode))
6979 3 : return -1;
6980 : return 6;
6981 :
6982 21 : case E_V8DImode:
6983 21 : if (!nonimmediate_operand (operands[1], E_V8DImode)
6984 18 : || !nonimmediate_operand (operands[2], E_V8DImode)
6985 39 : || !const_0_to_7_operand (operands[3], E_SImode))
6986 3 : return -1;
6987 : return 7;
6988 :
6989 21 : case E_V4DImode:
6990 21 : if (!nonimmediate_operand (operands[1], E_V4DImode)
6991 18 : || !nonimmediate_operand (operands[2], E_V4DImode)
6992 39 : || !const_0_to_7_operand (operands[3], E_SImode))
6993 3 : return -1;
6994 : return 8;
6995 :
6996 21 : case E_V2DImode:
6997 21 : if (!nonimmediate_operand (operands[1], E_V2DImode)
6998 18 : || !nonimmediate_operand (operands[2], E_V2DImode)
6999 39 : || !const_0_to_7_operand (operands[3], E_SImode))
7000 3 : return -1;
7001 : return 9;
7002 :
7003 15 : case E_V8HFmode:
7004 15 : if (!nonimmediate_operand (operands[1], E_V8HFmode)
7005 15 : || !nonimmediate_operand (operands[2], E_V8HFmode)
7006 30 : || !const_0_to_31_operand (operands[3], E_SImode))
7007 0 : return -1;
7008 : return 10;
7009 :
7010 21 : case E_V8SFmode:
7011 21 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
7012 18 : || !nonimmediate_operand (operands[2], E_V8SFmode)
7013 39 : || !const_0_to_31_operand (operands[3], E_SImode))
7014 3 : return -1;
7015 : return 11;
7016 :
7017 21 : case E_V4SFmode:
7018 21 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
7019 18 : || !nonimmediate_operand (operands[2], E_V4SFmode)
7020 39 : || !const_0_to_31_operand (operands[3], E_SImode))
7021 3 : return -1;
7022 : return 12;
7023 :
7024 21 : case E_V8DFmode:
7025 21 : if (!nonimmediate_operand (operands[1], E_V8DFmode)
7026 18 : || !nonimmediate_operand (operands[2], E_V8DFmode)
7027 39 : || !const_0_to_31_operand (operands[3], E_SImode))
7028 3 : return -1;
7029 : return 13;
7030 :
7031 21 : case E_V4DFmode:
7032 21 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
7033 18 : || !nonimmediate_operand (operands[2], E_V4DFmode)
7034 39 : || !const_0_to_31_operand (operands[3], E_SImode))
7035 3 : return -1;
7036 : return 14;
7037 :
7038 21 : case E_V2DFmode:
7039 21 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
7040 18 : || !nonimmediate_operand (operands[2], E_V2DFmode)
7041 39 : || !const_0_to_31_operand (operands[3], E_SImode))
7042 3 : return -1;
7043 : return 15;
7044 :
7045 12 : case E_V8HImode:
7046 12 : if (!nonimmediate_operand (operands[1], E_V8HImode)
7047 12 : || !nonimmediate_operand (operands[2], E_V8HImode)
7048 24 : || !const_0_to_7_operand (operands[3], E_SImode))
7049 0 : return -1;
7050 : return 16;
7051 :
7052 : default:
7053 : return -1;
7054 : }
7055 :
7056 21 : case E_SImode:
7057 21 : if (!register_operand (operands[4], E_SImode))
7058 : return -1;
7059 21 : x5 = XVECEXP (x1, 0, 1);
7060 21 : x6 = XEXP (x5, 1);
7061 21 : if (GET_MODE (x6) != E_SImode)
7062 : return -1;
7063 21 : switch (GET_MODE (operands[1]))
7064 : {
7065 7 : case E_V32HFmode:
7066 7 : if (!nonimmediate_operand (operands[1], E_V32HFmode)
7067 6 : || !nonimmediate_operand (operands[2], E_V32HFmode)
7068 13 : || !const_0_to_31_operand (operands[3], E_SImode))
7069 1 : return -1;
7070 : return 17;
7071 :
7072 7 : case E_V32QImode:
7073 7 : if (!nonimmediate_operand (operands[1], E_V32QImode)
7074 6 : || !nonimmediate_operand (operands[2], E_V32QImode)
7075 13 : || !const_0_to_7_operand (operands[3], E_SImode))
7076 1 : return -1;
7077 : return 18;
7078 :
7079 7 : case E_V32HImode:
7080 7 : if (!nonimmediate_operand (operands[1], E_V32HImode)
7081 6 : || !nonimmediate_operand (operands[2], E_V32HImode)
7082 13 : || !const_0_to_7_operand (operands[3], E_SImode))
7083 1 : return -1;
7084 : return 19;
7085 :
7086 : default:
7087 : return -1;
7088 : }
7089 :
7090 0 : case E_DImode:
7091 0 : if (!nonimmediate_operand (operands[1], E_V64QImode)
7092 0 : || !nonimmediate_operand (operands[2], E_V64QImode)
7093 0 : || !const_0_to_7_operand (operands[3], E_SImode)
7094 0 : || !register_operand (operands[4], E_DImode))
7095 : return -1;
7096 0 : x5 = XVECEXP (x1, 0, 1);
7097 0 : x6 = XEXP (x5, 1);
7098 0 : if (GET_MODE (x6) != E_DImode)
7099 0 : return -1;
7100 : return 20;
7101 :
7102 : default:
7103 : return -1;
7104 : }
7105 : }
7106 :
7107 : int
7108 189 : pattern1134 (rtx x1)
7109 : {
7110 189 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7111 189 : int res ATTRIBUTE_UNUSED;
7112 189 : switch (GET_MODE (x1))
7113 : {
7114 0 : case E_DImode:
7115 0 : if (!nonimmediate_operand (operands[1], E_V64QImode)
7116 0 : || !nonimmediate_operand (operands[2], E_V64QImode))
7117 0 : return -1;
7118 : return 0;
7119 :
7120 46 : case E_HImode:
7121 46 : switch (GET_MODE (operands[1]))
7122 : {
7123 14 : case E_V16QImode:
7124 14 : if (!nonimmediate_operand (operands[1], E_V16QImode)
7125 14 : || !nonimmediate_operand (operands[2], E_V16QImode))
7126 2 : return -1;
7127 : return 1;
7128 :
7129 16 : case E_V16HImode:
7130 16 : if (!nonimmediate_operand (operands[1], E_V16HImode)
7131 16 : || !nonimmediate_operand (operands[2], E_V16HImode))
7132 2 : return -1;
7133 : return 2;
7134 :
7135 16 : case E_V16SImode:
7136 16 : if (!nonimmediate_operand (operands[1], E_V16SImode)
7137 16 : || !nonimmediate_operand (operands[2], E_V16SImode))
7138 2 : return -1;
7139 : return 3;
7140 :
7141 : default:
7142 : return -1;
7143 : }
7144 :
7145 14 : case E_SImode:
7146 14 : switch (GET_MODE (operands[1]))
7147 : {
7148 7 : case E_V32QImode:
7149 7 : if (!nonimmediate_operand (operands[1], E_V32QImode)
7150 7 : || !nonimmediate_operand (operands[2], E_V32QImode))
7151 1 : return -1;
7152 : return 4;
7153 :
7154 7 : case E_V32HImode:
7155 7 : if (!nonimmediate_operand (operands[1], E_V32HImode)
7156 7 : || !nonimmediate_operand (operands[2], E_V32HImode))
7157 1 : return -1;
7158 : return 5;
7159 :
7160 : default:
7161 : return -1;
7162 : }
7163 :
7164 129 : case E_QImode:
7165 129 : switch (GET_MODE (operands[1]))
7166 : {
7167 24 : case E_V8HImode:
7168 24 : if (!nonimmediate_operand (operands[1], E_V8HImode)
7169 24 : || !nonimmediate_operand (operands[2], E_V8HImode))
7170 0 : return -1;
7171 : return 6;
7172 :
7173 21 : case E_V8SImode:
7174 21 : if (!nonimmediate_operand (operands[1], E_V8SImode)
7175 21 : || !nonimmediate_operand (operands[2], E_V8SImode))
7176 3 : return -1;
7177 : return 7;
7178 :
7179 21 : case E_V4SImode:
7180 21 : if (!nonimmediate_operand (operands[1], E_V4SImode)
7181 21 : || !nonimmediate_operand (operands[2], E_V4SImode))
7182 3 : return -1;
7183 : return 8;
7184 :
7185 21 : case E_V8DImode:
7186 21 : if (!nonimmediate_operand (operands[1], E_V8DImode)
7187 21 : || !nonimmediate_operand (operands[2], E_V8DImode))
7188 3 : return -1;
7189 : return 9;
7190 :
7191 21 : case E_V4DImode:
7192 21 : if (!nonimmediate_operand (operands[1], E_V4DImode)
7193 21 : || !nonimmediate_operand (operands[2], E_V4DImode))
7194 3 : return -1;
7195 : return 10;
7196 :
7197 21 : case E_V2DImode:
7198 21 : if (!nonimmediate_operand (operands[1], E_V2DImode)
7199 21 : || !nonimmediate_operand (operands[2], E_V2DImode))
7200 3 : return -1;
7201 : return 11;
7202 :
7203 : default:
7204 : return -1;
7205 : }
7206 :
7207 : default:
7208 : return -1;
7209 : }
7210 : }
7211 :
7212 : int
7213 3060 : pattern1151 (rtx x1, machine_mode i1, machine_mode i2)
7214 : {
7215 3060 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7216 3060 : rtx x2;
7217 3060 : int res ATTRIBUTE_UNUSED;
7218 3060 : if (!register_operand (operands[0], i2)
7219 3060 : || GET_MODE (x1) != i2)
7220 : return -1;
7221 2945 : x2 = XEXP (x1, 0);
7222 2945 : if (GET_MODE (x2) != i2
7223 2945 : || !nonimmediate_operand (operands[1], i2)
7224 2897 : || !register_operand (operands[2], i2)
7225 2896 : || !nonimm_or_0_operand (operands[3], i2)
7226 5751 : || !register_operand (operands[4], i1))
7227 602 : return -1;
7228 : return 0;
7229 : }
7230 :
7231 : int
7232 2795 : pattern1156 (rtx x1, machine_mode i1)
7233 : {
7234 2795 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7235 2795 : rtx x2, x3;
7236 2795 : int res ATTRIBUTE_UNUSED;
7237 2795 : if (!register_operand (operands[0], i1)
7238 2795 : || GET_MODE (x1) != i1)
7239 : return -1;
7240 2729 : x2 = XEXP (x1, 0);
7241 2729 : if (GET_MODE (x2) != i1)
7242 : return -1;
7243 2729 : x3 = XEXP (x2, 0);
7244 2729 : if (GET_MODE (x3) != i1
7245 2729 : || !register_operand (operands[1], i1)
7246 2729 : || !nonimmediate_operand (operands[2], i1)
7247 5458 : || !nonimm_or_0_operand (operands[4], i1))
7248 0 : return -1;
7249 : return 0;
7250 : }
7251 :
7252 : int
7253 1278 : pattern1163 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
7254 : {
7255 1278 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7256 1278 : rtx x2, x3, x4, x5, x6;
7257 1278 : int res ATTRIBUTE_UNUSED;
7258 1278 : if (!register_operand (operands[0], i2)
7259 1278 : || GET_MODE (x1) != i2)
7260 : return -1;
7261 1246 : x2 = XEXP (x1, 0);
7262 1246 : if (GET_MODE (x2) != i2)
7263 : return -1;
7264 1246 : x3 = XEXP (x2, 0);
7265 1246 : if (GET_MODE (x3) != i3)
7266 : return -1;
7267 1246 : x4 = XEXP (x3, 0);
7268 1246 : if (GET_MODE (x4) != i3)
7269 : return -1;
7270 1246 : x5 = XEXP (x4, 0);
7271 1246 : if (GET_MODE (x5) != i3
7272 1246 : || !vector_operand (operands[1], i2))
7273 : return -1;
7274 1246 : x6 = XEXP (x4, 1);
7275 1246 : if (GET_MODE (x6) != i3
7276 1246 : || !vector_operand (operands[2], i2)
7277 1246 : || !nonimm_or_0_operand (operands[3], i2)
7278 2462 : || !register_operand (operands[4], i1))
7279 118 : return -1;
7280 : return 0;
7281 : }
7282 :
7283 : int
7284 940 : pattern1169 (rtx x1, machine_mode i1)
7285 : {
7286 940 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7287 940 : rtx x2, x3, x4;
7288 940 : int res ATTRIBUTE_UNUSED;
7289 940 : if (!register_operand (operands[0], i1)
7290 940 : || GET_MODE (x1) != i1)
7291 : return -1;
7292 892 : x2 = XVECEXP (x1, 0, 0);
7293 892 : if (GET_MODE (x2) != i1)
7294 : return -1;
7295 892 : x3 = XEXP (x2, 0);
7296 892 : if (GET_MODE (x3) != i1)
7297 : return -1;
7298 892 : x4 = XEXP (x3, 0);
7299 892 : if (GET_MODE (x4) != i1
7300 892 : || !register_operand (operands[1], i1)
7301 868 : || !nonimmediate_operand (operands[2], i1)
7302 1756 : || !nonimm_or_0_operand (operands[3], i1))
7303 56 : return -1;
7304 : return 0;
7305 : }
7306 :
7307 : int
7308 350 : pattern1175 (rtx x1)
7309 : {
7310 350 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7311 350 : rtx x2;
7312 350 : int res ATTRIBUTE_UNUSED;
7313 350 : x2 = XVECEXP (x1, 0, 0);
7314 350 : if (GET_MODE (x2) != E_V32HFmode
7315 350 : || !register_operand (operands[0], E_V32HFmode)
7316 324 : || GET_MODE (x1) != E_V32HFmode
7317 324 : || !register_operand (operands[1], E_V32HFmode)
7318 308 : || !register_operand (operands[2], E_V32HFmode)
7319 650 : || !const_4_or_8_to_11_operand (operands[3], E_SImode))
7320 50 : return -1;
7321 : return 0;
7322 : }
7323 :
7324 : int
7325 436 : pattern1178 (rtx x1, machine_mode i1, machine_mode i2)
7326 : {
7327 436 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7328 436 : int res ATTRIBUTE_UNUSED;
7329 436 : if (!register_operand (operands[0], i2)
7330 401 : || GET_MODE (x1) != i2
7331 401 : || !register_operand (operands[1], i2)
7332 339 : || !register_operand (operands[2], i2)
7333 761 : || !nonimmediate_operand (operands[3], i1))
7334 111 : return -1;
7335 : return 0;
7336 : }
7337 :
7338 : int
7339 76 : pattern1183 (rtx x1, machine_mode i1)
7340 : {
7341 76 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7342 76 : rtx x2, x3;
7343 76 : int res ATTRIBUTE_UNUSED;
7344 76 : if (!register_operand (operands[0], i1)
7345 76 : || GET_MODE (x1) != i1)
7346 : return -1;
7347 76 : x2 = XEXP (x1, 0);
7348 76 : if (GET_MODE (x2) != i1)
7349 : return -1;
7350 76 : x3 = XEXP (x2, 0);
7351 76 : if (GET_MODE (x3) != i1
7352 76 : || !nonimmediate_operand (operands[1], i1)
7353 76 : || !general_operand (operands[2], i1)
7354 76 : || !const0_operand (operands[3], i1)
7355 84 : || !const0_operand (operands[4], i1))
7356 68 : return -1;
7357 : return 0;
7358 : }
7359 :
7360 : int
7361 3537 : pattern1189 (rtx x1)
7362 : {
7363 3537 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7364 3537 : rtx x2, x3, x4, x5;
7365 3537 : int res ATTRIBUTE_UNUSED;
7366 3537 : x2 = XVECEXP (x1, 0, 1);
7367 3537 : x3 = XEXP (x2, 0);
7368 3537 : operands[2] = x3;
7369 3537 : switch (GET_MODE (operands[0]))
7370 : {
7371 16 : case E_SImode:
7372 16 : x4 = XVECEXP (x1, 0, 0);
7373 16 : x5 = XEXP (x4, 1);
7374 16 : return pattern1188 (x5,
7375 16 : E_SImode); /* [-1, 1] */
7376 :
7377 3521 : case E_DImode:
7378 3521 : x4 = XVECEXP (x1, 0, 0);
7379 3521 : x5 = XEXP (x4, 1);
7380 3521 : res = pattern1188 (x5,
7381 : E_DImode);
7382 3521 : if (res >= 0)
7383 3521 : return res + 2; /* [2, 3] */
7384 : return -1;
7385 :
7386 : default:
7387 : return -1;
7388 : }
7389 : }
7390 :
7391 : int
7392 0 : pattern1193 (rtx x1)
7393 : {
7394 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7395 0 : rtx x2;
7396 0 : int res ATTRIBUTE_UNUSED;
7397 0 : if (XVECLEN (x1, 0) != 1
7398 0 : || XINT (x1, 1) != 18
7399 0 : || GET_MODE (x1) != E_SImode)
7400 : return -1;
7401 0 : x2 = XVECEXP (x1, 0, 0);
7402 0 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7403 0 : return -1;
7404 : return 0;
7405 : }
7406 :
7407 : int
7408 145 : pattern1195 (rtx x1)
7409 : {
7410 145 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7411 145 : rtx x2, x3, x4, x5;
7412 145 : int res ATTRIBUTE_UNUSED;
7413 145 : x2 = XEXP (x1, 0);
7414 145 : if (GET_MODE (x2) != E_SImode)
7415 : return -1;
7416 145 : x3 = XEXP (x2, 0);
7417 145 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
7418 : return -1;
7419 121 : x4 = XEXP (x2, 1);
7420 121 : if (GET_CODE (x4) != CLZ
7421 121 : || GET_MODE (x4) != E_SImode)
7422 : return -1;
7423 121 : x5 = XEXP (x1, 1);
7424 121 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 31])
7425 0 : return -1;
7426 : return 0;
7427 : }
7428 :
7429 : int
7430 0 : pattern1200 (rtx x1, machine_mode i1)
7431 : {
7432 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7433 0 : rtx x2, x3;
7434 0 : int res ATTRIBUTE_UNUSED;
7435 0 : if (!nonimmediate_operand (operands[0], i1)
7436 0 : || GET_MODE (x1) != i1)
7437 : return -1;
7438 0 : x2 = XEXP (x1, 0);
7439 0 : if (GET_MODE (x2) != i1)
7440 : return -1;
7441 0 : x3 = XEXP (x2, 0);
7442 0 : if (GET_MODE (x3) != i1
7443 0 : || !nonimmediate_operand (operands[1], i1)
7444 0 : || !immediate_operand (operands[2], i1))
7445 0 : return -1;
7446 : return 0;
7447 : }
7448 :
7449 : int
7450 1101 : pattern1205 (rtx x1)
7451 : {
7452 1101 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7453 1101 : rtx x2, x3, x4, x5, x6;
7454 1101 : int res ATTRIBUTE_UNUSED;
7455 1101 : x2 = XEXP (x1, 0);
7456 1101 : x3 = XEXP (x2, 1);
7457 1101 : switch (GET_CODE (x3))
7458 : {
7459 : case REG:
7460 : case SUBREG:
7461 : return 0;
7462 :
7463 3 : case AND:
7464 3 : if (GET_MODE (x3) != E_QImode)
7465 : return -1;
7466 3 : x4 = XEXP (x3, 0);
7467 3 : operands[1] = x4;
7468 3 : if (!register_operand (operands[1], E_QImode))
7469 : return -1;
7470 3 : x5 = XEXP (x3, 1);
7471 3 : operands[2] = x5;
7472 3 : if (!const_int_operand (operands[2], E_QImode))
7473 : return -1;
7474 3 : x6 = XEXP (x1, 1);
7475 3 : operands[3] = x6;
7476 3 : switch (GET_MODE (operands[0]))
7477 : {
7478 3 : case E_SImode:
7479 3 : if (pattern1100 (x1,
7480 : E_SImode) != 0)
7481 : return -1;
7482 : return 1;
7483 :
7484 0 : case E_DImode:
7485 0 : if (pattern1100 (x1,
7486 : E_DImode) != 0)
7487 : return -1;
7488 : return 2;
7489 :
7490 : default:
7491 : return -1;
7492 : }
7493 :
7494 : default:
7495 : return -1;
7496 : }
7497 : }
7498 :
7499 : int
7500 540 : pattern1215 (rtx x1, machine_mode i1, machine_mode i2)
7501 : {
7502 540 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7503 540 : rtx x2, x3;
7504 540 : int res ATTRIBUTE_UNUSED;
7505 540 : x2 = XEXP (x1, 0);
7506 540 : if (GET_MODE (x2) != E_SImode
7507 540 : || !register_operand (operands[0], i2)
7508 1080 : || GET_MODE (x1) != i2)
7509 : return -1;
7510 540 : x3 = XEXP (x2, 0);
7511 540 : operands[1] = x3;
7512 540 : if (!nonimmediate_operand (operands[1], i1))
7513 10 : return -1;
7514 : return 0;
7515 : }
7516 :
7517 : int
7518 26635 : pattern1219 (rtx x1)
7519 : {
7520 26635 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7521 26635 : rtx x2, x3;
7522 26635 : int res ATTRIBUTE_UNUSED;
7523 26635 : x2 = XEXP (x1, 1);
7524 26635 : switch (GET_CODE (x2))
7525 : {
7526 5017 : case SUBREG:
7527 5017 : if (maybe_ne (SUBREG_BYTE (x2), 0)
7528 5017 : || GET_MODE (x2) != E_QImode)
7529 : return -1;
7530 5017 : x3 = XEXP (x1, 0);
7531 5017 : operands[1] = x3;
7532 5017 : return pattern1207 (x1); /* [-1, 11] */
7533 :
7534 : case CONST_INT:
7535 : return 12;
7536 :
7537 : default:
7538 : return -1;
7539 : }
7540 : }
7541 :
7542 : int
7543 1 : pattern1224 (rtx x1, machine_mode i1)
7544 : {
7545 1 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7546 1 : rtx x2;
7547 1 : int res ATTRIBUTE_UNUSED;
7548 1 : if (!register_operand (operands[0], i1)
7549 1 : || GET_MODE (x1) != i1
7550 1 : || !vector_operand (operands[1], i1)
7551 2 : || !register_operand (operands[2], i1))
7552 : return -1;
7553 0 : x2 = XVECEXP (x1, 0, 2);
7554 0 : if (GET_MODE (x2) != i1
7555 0 : || !register_operand (operands[3], i1))
7556 0 : return -1;
7557 : return 0;
7558 : }
7559 :
7560 : int
7561 187 : pattern1228 (rtx x1, machine_mode i1)
7562 : {
7563 187 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7564 187 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7565 187 : rtx x10, x11, x12;
7566 187 : int res ATTRIBUTE_UNUSED;
7567 187 : x2 = XVECEXP (x1, 0, 0);
7568 187 : x3 = XEXP (x2, 1);
7569 187 : x4 = XEXP (x3, 0);
7570 187 : if (!rtx_equal_p (x4, operands[0]))
7571 : return -1;
7572 187 : x5 = XVECEXP (x1, 0, 1);
7573 187 : x6 = XEXP (x5, 1);
7574 187 : if (GET_CODE (x6) != MINUS)
7575 : return -1;
7576 187 : x7 = XEXP (x2, 0);
7577 187 : if (GET_MODE (x7) != E_CCmode
7578 187 : || GET_MODE (x3) != E_CCmode)
7579 : return -1;
7580 187 : x8 = XEXP (x3, 1);
7581 187 : operands[2] = x8;
7582 187 : if (!memory_operand (operands[2], i1))
7583 : return -1;
7584 109 : x9 = XEXP (x6, 0);
7585 109 : if (!rtx_equal_p (x9, operands[0]))
7586 : return -1;
7587 109 : x10 = XEXP (x6, 1);
7588 109 : if (!rtx_equal_p (x10, operands[2]))
7589 : return -1;
7590 109 : x11 = PATTERN (peep2_next_insn (2));
7591 109 : x12 = XEXP (x11, 0);
7592 109 : if (!rtx_equal_p (x12, operands[1]))
7593 96 : return -1;
7594 : return 0;
7595 : }
7596 :
7597 : int
7598 10011 : pattern1233 (rtx x1, machine_mode i1)
7599 : {
7600 10011 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7601 10011 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7602 10011 : rtx x10, x11, x12;
7603 10011 : int res ATTRIBUTE_UNUSED;
7604 10011 : x2 = XVECEXP (x1, 0, 0);
7605 10011 : x3 = XEXP (x2, 1);
7606 10011 : if (GET_MODE (x3) != i1)
7607 : return -1;
7608 9950 : x4 = XEXP (x3, 0);
7609 9950 : if (GET_CODE (x4) != MINUS
7610 9 : || GET_MODE (x4) != i1)
7611 : return -1;
7612 9 : x5 = XEXP (x4, 1);
7613 9 : if (!ix86_carry_flag_operator (x5, i1))
7614 : return -1;
7615 9 : operands[4] = x5;
7616 9 : x6 = XEXP (x5, 1);
7617 9 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
7618 : return -1;
7619 9 : x7 = XVECEXP (x1, 0, 1);
7620 9 : if (GET_CODE (x7) != CLOBBER)
7621 : return -1;
7622 9 : x8 = XEXP (x7, 0);
7623 9 : if (GET_CODE (x8) != REG
7624 9 : || REGNO (x8) != 17
7625 18 : || GET_MODE (x8) != E_CCmode)
7626 : return -1;
7627 9 : x9 = XEXP (x5, 0);
7628 9 : operands[3] = x9;
7629 9 : if (!flags_reg_operand (operands[3], E_VOIDmode))
7630 : return -1;
7631 9 : x10 = XEXP (x3, 1);
7632 9 : operands[2] = x10;
7633 9 : if (!memory_operand (operands[2], i1))
7634 : return -1;
7635 8 : x11 = XEXP (x4, 0);
7636 8 : if (!rtx_equal_p (x11, operands[0]))
7637 : return -1;
7638 8 : x12 = XEXP (x2, 0);
7639 8 : return pattern1231 (x12,
7640 8 : i1); /* [-1, 1] */
7641 : }
7642 :
7643 : int
7644 618 : pattern1240 (rtx x1, machine_mode i1, rtx_code i2, machine_mode i3, rtx_code i4)
7645 : {
7646 618 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7647 618 : rtx x2;
7648 618 : int res ATTRIBUTE_UNUSED;
7649 618 : if (GET_CODE (x1) != i4
7650 618 : || GET_MODE (x1) != i3)
7651 : return -1;
7652 618 : x2 = XEXP (x1, 0);
7653 618 : if (GET_CODE (x2) != i2
7654 618 : || GET_MODE (x2) != i1)
7655 0 : return -1;
7656 : return 0;
7657 : }
7658 :
7659 : int
7660 161 : pattern1243 (rtx x1, machine_mode i1)
7661 : {
7662 161 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7663 161 : rtx x2, x3;
7664 161 : int res ATTRIBUTE_UNUSED;
7665 161 : if (!nonimmediate_operand (operands[0], i1)
7666 161 : || GET_MODE (x1) != i1)
7667 : return -1;
7668 161 : x2 = XEXP (x1, 0);
7669 161 : if (GET_MODE (x2) != i1)
7670 : return -1;
7671 161 : x3 = XEXP (x2, 0);
7672 161 : if (GET_MODE (x3) != i1
7673 161 : || !nonimmediate_operand (operands[1], i1)
7674 273 : || !x86_64_general_operand (operands[2], i1))
7675 49 : return -1;
7676 : return 0;
7677 : }
7678 :
7679 : int
7680 334 : pattern1247 (rtx x1, machine_mode i1)
7681 : {
7682 334 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7683 334 : int res ATTRIBUTE_UNUSED;
7684 334 : if (!nonimmediate_operand (operands[0], i1)
7685 334 : || GET_MODE (x1) != i1
7686 334 : || !nonimmediate_operand (operands[1], i1)
7687 656 : || !ix86_carry_flag_unset_operator (operands[2], i1))
7688 149 : return -1;
7689 : return 0;
7690 : }
7691 :
7692 : int
7693 964 : pattern1251 (rtx x1, machine_mode i1)
7694 : {
7695 964 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7696 964 : rtx x2;
7697 964 : int res ATTRIBUTE_UNUSED;
7698 964 : if (!register_operand (operands[0], i1)
7699 964 : || GET_MODE (x1) != i1)
7700 : return -1;
7701 890 : x2 = XEXP (x1, 0);
7702 890 : if (GET_MODE (x2) != i1
7703 890 : || !nonimmediate_operand (operands[2], i1)
7704 1766 : || !register_operand (operands[1], i1))
7705 123 : return -1;
7706 : return 0;
7707 : }
7708 :
7709 : int
7710 715 : pattern1255 (rtx x1, machine_mode i1, machine_mode i2)
7711 : {
7712 715 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7713 715 : rtx x2, x3, x4;
7714 715 : int res ATTRIBUTE_UNUSED;
7715 715 : if (!register_operand (operands[0], i1)
7716 715 : || GET_MODE (x1) != i1)
7717 : return -1;
7718 623 : x2 = XEXP (x1, 0);
7719 623 : if (GET_MODE (x2) != i1)
7720 : return -1;
7721 623 : x3 = XEXP (x2, 0);
7722 623 : if (GET_MODE (x3) != i2
7723 623 : || !register_operand (operands[1], i1))
7724 : return -1;
7725 623 : x4 = XEXP (x3, 1);
7726 623 : operands[2] = x4;
7727 623 : if (!nonimmediate_operand (operands[2], i1))
7728 0 : return -1;
7729 : return 0;
7730 : }
7731 :
7732 : int
7733 652 : pattern1259 (rtx x1)
7734 : {
7735 652 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7736 652 : int res ATTRIBUTE_UNUSED;
7737 652 : if (!const48_operand (operands[3], E_SImode))
7738 : return -1;
7739 652 : switch (GET_MODE (operands[0]))
7740 : {
7741 130 : case E_V32HFmode:
7742 130 : return pattern1258 (x1,
7743 130 : E_V32HFmode); /* [-1, 0] */
7744 :
7745 0 : case E_V16HFmode:
7746 0 : if (pattern1258 (x1,
7747 : E_V16HFmode) != 0)
7748 0 : return -1;
7749 : return 1;
7750 :
7751 0 : case E_V8HFmode:
7752 0 : if (pattern1258 (x1,
7753 : E_V8HFmode) != 0)
7754 0 : return -1;
7755 : return 2;
7756 :
7757 282 : case E_V16SFmode:
7758 282 : if (pattern1258 (x1,
7759 : E_V16SFmode) != 0)
7760 9 : return -1;
7761 : return 3;
7762 :
7763 0 : case E_V8SFmode:
7764 0 : if (pattern1258 (x1,
7765 : E_V8SFmode) != 0)
7766 0 : return -1;
7767 : return 4;
7768 :
7769 0 : case E_V4SFmode:
7770 0 : if (pattern1258 (x1,
7771 : E_V4SFmode) != 0)
7772 0 : return -1;
7773 : return 5;
7774 :
7775 240 : case E_V8DFmode:
7776 240 : if (pattern1258 (x1,
7777 : E_V8DFmode) != 0)
7778 9 : return -1;
7779 : return 6;
7780 :
7781 0 : case E_V4DFmode:
7782 0 : if (pattern1258 (x1,
7783 : E_V4DFmode) != 0)
7784 0 : return -1;
7785 : return 7;
7786 :
7787 0 : case E_V2DFmode:
7788 0 : if (pattern1258 (x1,
7789 : E_V2DFmode) != 0)
7790 0 : return -1;
7791 : return 8;
7792 :
7793 : default:
7794 : return -1;
7795 : }
7796 : }
7797 :
7798 : int
7799 315 : pattern1266 (rtx x1, machine_mode i1, machine_mode i2)
7800 : {
7801 315 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7802 315 : rtx x2;
7803 315 : int res ATTRIBUTE_UNUSED;
7804 315 : if (!register_operand (operands[0], i1)
7805 306 : || GET_MODE (x1) != i1
7806 621 : || !nonimmediate_operand (operands[2], i2))
7807 : return -1;
7808 306 : x2 = XEXP (x1, 1);
7809 306 : if (GET_MODE (x2) != i2
7810 306 : || !register_operand (operands[1], i1))
7811 18 : return -1;
7812 : return 0;
7813 : }
7814 :
7815 : int
7816 37 : pattern1267 (rtx x1, int i1, int i2, int i3, int i4, int i5)
7817 : {
7818 37 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7819 37 : rtx x2, x3, x4, x5, x6;
7820 37 : int res ATTRIBUTE_UNUSED;
7821 37 : x2 = XVECEXP (x1, 0, 3);
7822 37 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i5])
7823 : return -1;
7824 37 : x3 = XVECEXP (x1, 0, 4);
7825 37 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
7826 : return -1;
7827 37 : x4 = XVECEXP (x1, 0, 5);
7828 37 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
7829 : return -1;
7830 37 : x5 = XVECEXP (x1, 0, 6);
7831 37 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
7832 : return -1;
7833 37 : x6 = XVECEXP (x1, 0, 7);
7834 37 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
7835 0 : return -1;
7836 : return 0;
7837 : }
7838 :
7839 : int
7840 10543 : pattern1269 (rtx x1)
7841 : {
7842 10543 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7843 10543 : rtx x2, x3, x4;
7844 10543 : int res ATTRIBUTE_UNUSED;
7845 10543 : x2 = XEXP (x1, 0);
7846 10543 : x3 = XEXP (x2, 0);
7847 10543 : operands[1] = x3;
7848 10543 : x4 = XEXP (x2, 1);
7849 10543 : operands[2] = x4;
7850 10543 : if (!const_int_operand (operands[2], E_QImode))
7851 : return -1;
7852 10530 : switch (GET_MODE (operands[0]))
7853 : {
7854 8484 : case E_SImode:
7855 8484 : return pattern1268 (x1,
7856 : E_DImode,
7857 8484 : E_SImode); /* [-1, 0] */
7858 :
7859 288 : case E_DImode:
7860 288 : if (pattern1268 (x1,
7861 : E_TImode,
7862 : E_DImode) != 0)
7863 0 : return -1;
7864 : return 1;
7865 :
7866 : default:
7867 : return -1;
7868 : }
7869 : }
7870 :
7871 : int
7872 69965 : pattern1274 (rtx x1)
7873 : {
7874 69965 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7875 69965 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
7876 69965 : int res ATTRIBUTE_UNUSED;
7877 69965 : x2 = XVECEXP (x1, 0, 1);
7878 69965 : x3 = XEXP (x2, 1);
7879 69965 : x4 = XEXP (x3, 0);
7880 69965 : if (GET_CODE (x4) != CONST_INT)
7881 : return -1;
7882 69287 : x5 = XEXP (x3, 1);
7883 69287 : if (GET_CODE (x5) != CLZ)
7884 : return -1;
7885 69015 : x6 = XVECEXP (x1, 0, 0);
7886 69015 : x7 = XEXP (x6, 0);
7887 69015 : if (GET_MODE (x7) != E_CCZmode)
7888 : return -1;
7889 69015 : x8 = XEXP (x6, 1);
7890 69015 : if (GET_MODE (x8) != E_CCZmode)
7891 : return -1;
7892 69015 : x9 = XEXP (x5, 0);
7893 69015 : if (!rtx_equal_p (x9, operands[1]))
7894 : return -1;
7895 68928 : switch (XWINT (x4, 0))
7896 : {
7897 35933 : case 63L:
7898 35933 : return pattern1273 (x3,
7899 35933 : E_DImode); /* [-1, 0] */
7900 :
7901 32995 : case 31L:
7902 32995 : if (pattern1273 (x3,
7903 : E_SImode) != 0)
7904 6 : return -1;
7905 : return 1;
7906 :
7907 : default:
7908 : return -1;
7909 : }
7910 : }
7911 :
7912 : int
7913 463 : pattern1280 (rtx x1, machine_mode i1)
7914 : {
7915 463 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7916 463 : rtx x2, x3;
7917 463 : int res ATTRIBUTE_UNUSED;
7918 463 : if (!register_operand (operands[0], i1)
7919 463 : || GET_MODE (x1) != i1)
7920 : return -1;
7921 453 : x2 = XEXP (x1, 0);
7922 453 : if (GET_MODE (x2) != i1)
7923 : return -1;
7924 453 : x3 = XEXP (x2, 0);
7925 453 : if (GET_MODE (x3) != i1
7926 453 : || !nonimmediate_operand (operands[1], i1))
7927 2 : return -1;
7928 : return 0;
7929 : }
7930 :
7931 : int
7932 56603 : pattern1283 (rtx x1)
7933 : {
7934 56603 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7935 56603 : rtx x2, x3;
7936 56603 : int res ATTRIBUTE_UNUSED;
7937 56603 : switch (GET_CODE (x1))
7938 : {
7939 11435 : case AND:
7940 11435 : x2 = XEXP (x1, 0);
7941 11435 : operands[2] = x2;
7942 11435 : if (!int248_register_operand (operands[2], E_VOIDmode))
7943 : return -1;
7944 9065 : x3 = XEXP (x1, 1);
7945 9065 : operands[3] = x3;
7946 9065 : if (!const_int_operand (operands[3], E_VOIDmode))
7947 0 : return -1;
7948 : return 0;
7949 :
7950 0 : case PLUS:
7951 0 : x2 = XEXP (x1, 0);
7952 0 : operands[2] = x2;
7953 0 : if (!int248_register_operand (operands[2], E_VOIDmode))
7954 : return -1;
7955 0 : x3 = XEXP (x1, 1);
7956 0 : operands[3] = x3;
7957 0 : if (!const_int_operand (operands[3], E_VOIDmode))
7958 0 : return -1;
7959 : return 1;
7960 :
7961 0 : case MINUS:
7962 0 : x2 = XEXP (x1, 0);
7963 0 : operands[3] = x2;
7964 0 : if (!const_int_operand (operands[3], E_VOIDmode))
7965 : return -1;
7966 0 : x3 = XEXP (x1, 1);
7967 0 : operands[2] = x3;
7968 0 : if (!int248_register_operand (operands[2], E_VOIDmode))
7969 0 : return -1;
7970 : return 2;
7971 :
7972 : default:
7973 : return -1;
7974 : }
7975 : }
7976 :
7977 : int
7978 2060 : pattern1294 (rtx x1)
7979 : {
7980 2060 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
7981 2060 : rtx x2, x3;
7982 2060 : int res ATTRIBUTE_UNUSED;
7983 2060 : if (GET_CODE (x1) != SET)
7984 : return -1;
7985 2042 : x2 = XEXP (x1, 1);
7986 2042 : if (GET_CODE (x2) != PLUS
7987 2042 : || GET_MODE (x2) != E_SImode)
7988 : return -1;
7989 2042 : x3 = XEXP (x2, 0);
7990 2042 : if (GET_CODE (x3) != REG
7991 2042 : || REGNO (x3) != 7
7992 4084 : || GET_MODE (x3) != E_SImode)
7993 0 : return -1;
7994 : return 0;
7995 : }
7996 :
7997 : int
7998 2 : pattern1298 (rtx x1, machine_mode i1, machine_mode i2)
7999 : {
8000 2 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8001 2 : int res ATTRIBUTE_UNUSED;
8002 2 : if (!vector_all_ones_operand (operands[3], i1)
8003 2 : || !const0_operand (operands[4], i1)
8004 2 : || GET_MODE (x1) != i2
8005 2 : || !vector_operand (operands[0], i1)
8006 4 : || !const0_operand (operands[1], i1))
8007 0 : return -1;
8008 : return 0;
8009 : }
8010 :
8011 : int
8012 325 : pattern1303 (rtx x1, machine_mode i1, machine_mode i2)
8013 : {
8014 325 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8015 325 : rtx x2, x3;
8016 325 : int res ATTRIBUTE_UNUSED;
8017 325 : if (GET_CODE (x1) != SIGN_EXTEND
8018 325 : || GET_MODE (x1) != i2)
8019 : return -1;
8020 325 : x2 = XEXP (x1, 0);
8021 325 : if (GET_CODE (x2) != VEC_SELECT
8022 325 : || GET_MODE (x2) != i1)
8023 : return -1;
8024 325 : x3 = XEXP (x2, 1);
8025 325 : if (GET_CODE (x3) != PARALLEL)
8026 0 : return -1;
8027 : return 0;
8028 : }
8029 :
8030 : int
8031 5121 : pattern1306 (rtx x1, machine_mode i1)
8032 : {
8033 5121 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8034 5121 : rtx x2;
8035 5121 : int res ATTRIBUTE_UNUSED;
8036 5121 : if (!nonimmediate_operand (operands[0], i1)
8037 5121 : || GET_MODE (x1) != i1)
8038 : return -1;
8039 5121 : x2 = XEXP (x1, 0);
8040 5121 : if (GET_MODE (x2) != i1
8041 5121 : || !nonimmediate_operand (operands[1], i1)
8042 4092 : || !ix86_carry_flag_operator (operands[4], i1)
8043 9213 : || !x86_64_general_operand (operands[2], i1))
8044 1731 : return -1;
8045 : return 0;
8046 : }
8047 :
8048 : int
8049 666 : pattern1313 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8050 : {
8051 666 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8052 666 : rtx x2;
8053 666 : int res ATTRIBUTE_UNUSED;
8054 666 : if (!register_operand (operands[0], i2)
8055 666 : || GET_MODE (x1) != i2)
8056 : return -1;
8057 640 : x2 = XEXP (x1, 0);
8058 640 : if (GET_MODE (x2) != i2
8059 640 : || !register_operand (operands[1], i3)
8060 640 : || !nonimmediate_operand (operands[2], i3)
8061 640 : || !nonimm_or_0_operand (operands[4], i2)
8062 1259 : || !register_operand (operands[5], i1))
8063 54 : return -1;
8064 : return 0;
8065 : }
8066 :
8067 : int
8068 519 : pattern1319 (rtx x1, machine_mode i1, machine_mode i2)
8069 : {
8070 519 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8071 519 : rtx x2, x3;
8072 519 : int res ATTRIBUTE_UNUSED;
8073 519 : if (!register_operand (operands[0], i1)
8074 519 : || GET_MODE (x1) != i1)
8075 : return -1;
8076 513 : x2 = XEXP (x1, 0);
8077 513 : if (GET_MODE (x2) != i1)
8078 : return -1;
8079 513 : x3 = XEXP (x2, 0);
8080 513 : if (GET_MODE (x3) != i1
8081 513 : || !memory_operand (operands[1], i2)
8082 511 : || !nonimm_or_0_operand (operands[2], i1)
8083 1022 : || !const0_operand (operands[4], i1))
8084 4 : return -1;
8085 : return 0;
8086 : }
8087 :
8088 : int
8089 1746 : pattern1324 (rtx x1, machine_mode i1, machine_mode i2)
8090 : {
8091 1746 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8092 1746 : int res ATTRIBUTE_UNUSED;
8093 1746 : if (!register_operand (operands[0], i2)
8094 1741 : || GET_MODE (x1) != i2
8095 1741 : || !vector_all_ones_operand (operands[1], i2)
8096 384 : || !const0_operand (operands[2], i2)
8097 384 : || !register_operand (operands[3], i1)
8098 1851 : || !nonimmediate_operand (operands[4], i1))
8099 1641 : return -1;
8100 : return 0;
8101 : }
8102 :
8103 : int
8104 1487 : pattern1330 (rtx x1, machine_mode i1, machine_mode i2)
8105 : {
8106 1487 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8107 1487 : int res ATTRIBUTE_UNUSED;
8108 1487 : if (!nonimmediate_operand (operands[2], i2)
8109 1472 : || GET_MODE (x1) != i2
8110 1472 : || !nonimmediate_operand (operands[3], i2)
8111 2941 : || !register_operand (operands[4], i1))
8112 33 : return -1;
8113 : return 0;
8114 : }
8115 :
8116 : int
8117 2292 : pattern1332 (rtx x1, machine_mode i1, machine_mode i2)
8118 : {
8119 2292 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8120 2292 : rtx x2, x3;
8121 2292 : int res ATTRIBUTE_UNUSED;
8122 2292 : if (!register_operand (operands[0], i1)
8123 2292 : || GET_MODE (x1) != i1)
8124 : return -1;
8125 2143 : x2 = XEXP (x1, 0);
8126 2143 : if (GET_MODE (x2) != i1)
8127 : return -1;
8128 2143 : x3 = XEXP (x2, 0);
8129 2143 : if (GET_MODE (x3) != i1
8130 2143 : || !vector_operand (operands[2], i1)
8131 4280 : || !register_operand (operands[4], i2))
8132 12 : return -1;
8133 : return 0;
8134 : }
8135 :
8136 : int
8137 378 : pattern1337 (rtx x1, machine_mode i1)
8138 : {
8139 378 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8140 378 : rtx x2;
8141 378 : int res ATTRIBUTE_UNUSED;
8142 378 : if (!register_operand (operands[0], i1)
8143 378 : || GET_MODE (x1) != i1)
8144 : return -1;
8145 367 : x2 = XEXP (x1, 0);
8146 367 : if (GET_MODE (x2) != i1
8147 367 : || !vector_operand (operands[1], i1))
8148 28 : return -1;
8149 : return 0;
8150 : }
8151 :
8152 : int
8153 2454 : pattern1341 (rtx x1)
8154 : {
8155 2454 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8156 2454 : rtx x2, x3;
8157 2454 : int res ATTRIBUTE_UNUSED;
8158 2454 : if (!register_operand (operands[0], E_V16SImode)
8159 2454 : || GET_MODE (x1) != E_V16SImode)
8160 : return -1;
8161 2421 : x2 = XVECEXP (x1, 0, 0);
8162 2421 : if (GET_MODE (x2) != E_V16SImode)
8163 : return -1;
8164 2421 : x3 = XEXP (x2, 0);
8165 2421 : if (GET_MODE (x3) != E_V16SImode
8166 2421 : || !nonimm_or_0_operand (operands[2], E_V16SImode)
8167 4842 : || !register_operand (operands[3], E_HImode))
8168 : return -1;
8169 2388 : switch (GET_MODE (operands[1]))
8170 : {
8171 1260 : case E_V16HFmode:
8172 1260 : if (!register_operand (operands[1], E_V16HFmode))
8173 24 : return -1;
8174 : return 0;
8175 :
8176 1128 : case E_V16SFmode:
8177 1128 : if (!register_operand (operands[1], E_V16SFmode))
8178 0 : return -1;
8179 : return 1;
8180 :
8181 : default:
8182 : return -1;
8183 : }
8184 : }
8185 :
8186 : int
8187 972 : pattern1347 (rtx x1)
8188 : {
8189 972 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8190 972 : rtx x2, x3;
8191 972 : int res ATTRIBUTE_UNUSED;
8192 972 : if (!register_operand (operands[0], E_V16HFmode)
8193 972 : || GET_MODE (x1) != E_V16HFmode)
8194 : return -1;
8195 944 : x2 = XVECEXP (x1, 0, 0);
8196 944 : if (GET_MODE (x2) != E_V16HFmode)
8197 : return -1;
8198 944 : x3 = XEXP (x2, 0);
8199 944 : if (GET_MODE (x3) != E_V16HFmode
8200 944 : || !nonimm_or_0_operand (operands[2], E_V16HFmode)
8201 1888 : || !register_operand (operands[3], E_HImode))
8202 : return -1;
8203 924 : switch (GET_MODE (operands[1]))
8204 : {
8205 0 : case E_V16HImode:
8206 0 : if (!register_operand (operands[1], E_V16HImode))
8207 0 : return -1;
8208 : return 0;
8209 :
8210 924 : case E_V16SImode:
8211 924 : if (!register_operand (operands[1], E_V16SImode))
8212 16 : return -1;
8213 : return 1;
8214 :
8215 : default:
8216 : return -1;
8217 : }
8218 : }
8219 :
8220 : int
8221 1432 : pattern1353 (rtx x1)
8222 : {
8223 1432 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8224 1432 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8225 1432 : rtx x10, x11, x12;
8226 1432 : int res ATTRIBUTE_UNUSED;
8227 1432 : x2 = XEXP (x1, 0);
8228 1432 : x3 = XEXP (x2, 0);
8229 1432 : x4 = XEXP (x3, 0);
8230 1432 : x5 = XEXP (x4, 1);
8231 1432 : x6 = XVECEXP (x5, 0, 0);
8232 1432 : if (GET_CODE (x6) != CONST_INT)
8233 : return -1;
8234 1432 : x7 = XVECEXP (x5, 0, 1);
8235 1432 : if (GET_CODE (x7) != CONST_INT)
8236 : return -1;
8237 1432 : x8 = XEXP (x2, 1);
8238 1432 : x9 = XEXP (x8, 0);
8239 1432 : x10 = XEXP (x9, 1);
8240 1432 : if (XVECLEN (x10, 0) != 2)
8241 : return -1;
8242 1432 : x11 = XVECEXP (x10, 0, 0);
8243 1432 : if (GET_CODE (x11) != CONST_INT)
8244 : return -1;
8245 1432 : x12 = XVECEXP (x10, 0, 1);
8246 1432 : if (GET_CODE (x12) != CONST_INT
8247 1432 : || !register_operand (operands[0], E_V2DImode)
8248 1341 : || GET_MODE (x1) != E_V2DImode
8249 1341 : || GET_MODE (x2) != E_V2DImode
8250 1341 : || GET_MODE (x3) != E_V2DImode
8251 1341 : || GET_MODE (x4) != E_V2SImode
8252 2773 : || !nonimmediate_operand (operands[1], E_V4SImode))
8253 296 : return -1;
8254 : return 0;
8255 : }
8256 :
8257 : int
8258 74 : pattern1359 (rtx x1)
8259 : {
8260 74 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8261 74 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8262 74 : rtx x10, x11;
8263 74 : int res ATTRIBUTE_UNUSED;
8264 74 : x2 = XVECEXP (x1, 0, 0);
8265 74 : x3 = XEXP (x2, 1);
8266 74 : x4 = XEXP (x3, 0);
8267 74 : x5 = XEXP (x4, 0);
8268 74 : operands[2] = x5;
8269 74 : if (!register_operand (operands[2], E_SImode))
8270 : return -1;
8271 43 : x6 = XEXP (x4, 1);
8272 43 : operands[3] = x6;
8273 43 : if (!nonimmediate_operand (operands[3], E_SImode))
8274 : return -1;
8275 34 : x7 = XVECEXP (x1, 0, 1);
8276 34 : x8 = XEXP (x7, 0);
8277 34 : operands[0] = x8;
8278 34 : if (!register_operand (operands[0], E_SImode))
8279 : return -1;
8280 34 : x9 = XEXP (x7, 1);
8281 34 : x10 = XEXP (x9, 0);
8282 34 : if (!rtx_equal_p (x10, operands[2]))
8283 : return -1;
8284 34 : x11 = XEXP (x9, 1);
8285 34 : if (!rtx_equal_p (x11, operands[3]))
8286 0 : return -1;
8287 : return 0;
8288 : }
8289 :
8290 : int
8291 2421587 : pattern1368 (rtx x1, machine_mode i1)
8292 : {
8293 2421587 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8294 2421587 : int res ATTRIBUTE_UNUSED;
8295 2421587 : if (!register_operand (operands[0], i1)
8296 2413557 : || GET_MODE (x1) != i1
8297 2413557 : || !nonimmediate_operand (operands[1], i1)
8298 4814391 : || !x86_64_general_operand (operands[2], i1))
8299 122473 : return -1;
8300 : return 0;
8301 : }
8302 :
8303 : int
8304 33796 : pattern1370 (rtx x1)
8305 : {
8306 33796 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8307 33796 : rtx x2, x3;
8308 33796 : int res ATTRIBUTE_UNUSED;
8309 33796 : x2 = XEXP (x1, 1);
8310 33796 : switch (GET_CODE (x2))
8311 : {
8312 9564 : case REG:
8313 9564 : case SUBREG:
8314 9564 : case MEM:
8315 9564 : if (!rtx_equal_p (x2, operands[1]))
8316 : return -1;
8317 3217 : switch (GET_MODE (operands[0]))
8318 : {
8319 1330 : case E_SImode:
8320 1330 : return pattern989 (x1,
8321 1330 : E_SImode); /* [-1, 0] */
8322 :
8323 1514 : case E_DImode:
8324 1514 : if (pattern989 (x1,
8325 : E_DImode) != 0)
8326 0 : return -1;
8327 : return 1;
8328 :
8329 : default:
8330 : return -1;
8331 : }
8332 :
8333 232 : case NOT:
8334 232 : x3 = XEXP (x2, 0);
8335 232 : if (!rtx_equal_p (x3, operands[1]))
8336 : return -1;
8337 224 : switch (GET_MODE (operands[0]))
8338 : {
8339 80 : case E_SImode:
8340 80 : if (pattern1369 (x1,
8341 : E_SImode) != 0)
8342 0 : return -1;
8343 : return 2;
8344 :
8345 144 : case E_DImode:
8346 144 : if (pattern1369 (x1,
8347 : E_DImode) != 0)
8348 0 : return -1;
8349 : return 3;
8350 :
8351 : default:
8352 : return -1;
8353 : }
8354 :
8355 : default:
8356 : return -1;
8357 : }
8358 : }
8359 :
8360 : int
8361 1423219 : pattern1381 (rtx x1)
8362 : {
8363 1423219 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8364 1423219 : rtx x2, x3;
8365 1423219 : int res ATTRIBUTE_UNUSED;
8366 1423219 : x2 = XEXP (x1, 0);
8367 1423219 : switch (GET_CODE (x2))
8368 : {
8369 1418655 : case REG:
8370 1418655 : case SUBREG:
8371 1418655 : operands[0] = x2;
8372 1418655 : switch (GET_MODE (operands[0]))
8373 : {
8374 917439 : case E_DImode:
8375 917439 : if (!register_operand (operands[0], E_DImode))
8376 : return -1;
8377 917439 : x3 = XEXP (x1, 1);
8378 917439 : if (GET_MODE (x3) != E_DImode)
8379 0 : return -1;
8380 : return 0;
8381 :
8382 24470 : case E_TImode:
8383 24470 : x3 = XEXP (x1, 1);
8384 24470 : if (pattern1379 (x3,
8385 : E_TImode) != 0)
8386 384 : return -1;
8387 : return 1;
8388 :
8389 : default:
8390 : return -1;
8391 : }
8392 :
8393 174 : case STRICT_LOW_PART:
8394 174 : res = pattern1380 (x1);
8395 174 : if (res >= 0)
8396 174 : return res + 2; /* [2, 3] */
8397 : return -1;
8398 :
8399 : default:
8400 : return -1;
8401 : }
8402 : }
8403 :
8404 : int
8405 7377 : pattern1388 (rtx x1)
8406 : {
8407 7377 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8408 7377 : rtx x2, x3, x4, x5;
8409 7377 : int res ATTRIBUTE_UNUSED;
8410 7377 : x2 = XEXP (x1, 1);
8411 7377 : if (GET_CODE (x2) != COMPARE
8412 2001 : || GET_MODE (x2) != E_CCZmode)
8413 : return -1;
8414 1338 : x3 = XEXP (x2, 1);
8415 1338 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8416 : return -1;
8417 1240 : x4 = XEXP (x1, 0);
8418 1240 : if (GET_CODE (x4) != REG
8419 1240 : || REGNO (x4) != 17
8420 2480 : || GET_MODE (x4) != E_CCZmode)
8421 : return -1;
8422 1240 : x5 = XEXP (x2, 0);
8423 1240 : if (!rtx_equal_p (x5, operands[1]))
8424 409 : return -1;
8425 : return 0;
8426 : }
8427 :
8428 : int
8429 2149 : pattern1394 (rtx x1, machine_mode i1)
8430 : {
8431 2149 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8432 2149 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8433 2149 : rtx x10, x11, x12, x13, x14, x15, x16;
8434 2149 : int res ATTRIBUTE_UNUSED;
8435 2149 : x2 = XVECEXP (x1, 0, 0);
8436 2149 : x3 = XEXP (x2, 1);
8437 2149 : if (GET_MODE (x3) != i1)
8438 : return -1;
8439 1464 : x4 = XVECEXP (x1, 0, 1);
8440 1464 : if (GET_CODE (x4) != CLOBBER)
8441 : return -1;
8442 1464 : x5 = XEXP (x4, 0);
8443 1464 : if (GET_CODE (x5) != REG
8444 1464 : || REGNO (x5) != 17
8445 2928 : || GET_MODE (x5) != E_CCmode)
8446 : return -1;
8447 1464 : x6 = XEXP (x2, 0);
8448 1464 : operands[4] = x6;
8449 1464 : if (!register_operand (operands[4], i1))
8450 : return -1;
8451 1353 : x7 = XEXP (x3, 0);
8452 1353 : operands[3] = x7;
8453 1353 : if (!register_operand (operands[3], i1))
8454 : return -1;
8455 1349 : x8 = XEXP (x3, 1);
8456 1349 : operands[2] = x8;
8457 1349 : if (!nonmemory_operand (operands[2], i1))
8458 : return -1;
8459 398 : x9 = PATTERN (peep2_next_insn (2));
8460 398 : if (GET_CODE (x9) != SET)
8461 : return -1;
8462 352 : x10 = XEXP (x9, 1);
8463 352 : if (!rtx_equal_p (x10, operands[4]))
8464 : return -1;
8465 5 : x11 = XEXP (x9, 0);
8466 5 : if (!rtx_equal_p (x11, operands[1]))
8467 : return -1;
8468 0 : x12 = PATTERN (peep2_next_insn (3));
8469 0 : if (GET_CODE (x12) != SET)
8470 : return -1;
8471 0 : x13 = XEXP (x12, 1);
8472 0 : if (GET_CODE (x13) != COMPARE
8473 0 : || GET_MODE (x13) != E_CCZmode)
8474 : return -1;
8475 0 : x14 = XEXP (x12, 0);
8476 0 : if (GET_CODE (x14) != REG
8477 0 : || REGNO (x14) != 17
8478 0 : || GET_MODE (x14) != E_CCZmode)
8479 : return -1;
8480 0 : x15 = XEXP (x13, 0);
8481 0 : operands[5] = x15;
8482 0 : if (!register_operand (operands[5], i1))
8483 : return -1;
8484 0 : x16 = XEXP (x13, 1);
8485 0 : operands[6] = x16;
8486 0 : if (!nonmemory_operand (operands[6], i1))
8487 0 : return -1;
8488 : return 0;
8489 : }
8490 :
8491 : int
8492 895 : pattern1407 (rtx x1)
8493 : {
8494 895 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8495 895 : rtx x2, x3, x4, x5, x6, x7, x8;
8496 895 : int res ATTRIBUTE_UNUSED;
8497 895 : if (!register_operand (operands[0], E_DImode))
8498 : return -1;
8499 670 : x2 = XEXP (x1, 0);
8500 670 : x3 = XEXP (x2, 0);
8501 670 : operands[1] = x3;
8502 670 : if (!nonimmediate_operand (operands[1], E_DImode))
8503 : return -1;
8504 666 : x4 = XEXP (x1, 1);
8505 666 : if (GET_MODE (x4) != E_DImode)
8506 : return -1;
8507 666 : x5 = XEXP (x4, 0);
8508 666 : if (GET_MODE (x5) != E_TImode)
8509 : return -1;
8510 666 : x6 = XEXP (x5, 0);
8511 666 : if (GET_MODE (x6) != E_TImode)
8512 : return -1;
8513 666 : x7 = XEXP (x6, 0);
8514 666 : operands[2] = x7;
8515 666 : if (!register_operand (operands[2], E_DImode))
8516 : return -1;
8517 666 : x8 = XEXP (x5, 1);
8518 666 : operands[4] = x8;
8519 666 : if (!const_0_to_255_operand (operands[4], E_QImode))
8520 0 : return -1;
8521 : return 0;
8522 : }
8523 :
8524 : int
8525 10 : pattern1411 (rtx x1)
8526 : {
8527 10 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8528 10 : int res ATTRIBUTE_UNUSED;
8529 10 : operands[1] = x1;
8530 10 : if (!const48_operand (operands[2], E_SImode))
8531 : return -1;
8532 10 : switch (GET_MODE (operands[1]))
8533 : {
8534 4 : case E_V8HFmode:
8535 4 : if (!register_operand (operands[1], E_V8HFmode))
8536 0 : return -1;
8537 : return 0;
8538 :
8539 4 : case E_V4SFmode:
8540 4 : if (!register_operand (operands[1], E_V4SFmode))
8541 0 : return -1;
8542 : return 1;
8543 :
8544 2 : case E_V2DFmode:
8545 2 : if (!register_operand (operands[1], E_V2DFmode))
8546 0 : return -1;
8547 : return 2;
8548 :
8549 : default:
8550 : return -1;
8551 : }
8552 : }
8553 :
8554 : int
8555 803 : pattern1416 (rtx x1, machine_mode i1)
8556 : {
8557 803 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8558 803 : rtx x2, x3;
8559 803 : int res ATTRIBUTE_UNUSED;
8560 803 : if (!register_operand (operands[0], i1)
8561 803 : || GET_MODE (x1) != i1)
8562 : return -1;
8563 776 : x2 = XEXP (x1, 0);
8564 776 : if (GET_MODE (x2) != i1)
8565 : return -1;
8566 776 : x3 = XEXP (x2, 0);
8567 776 : if (GET_MODE (x3) != i1
8568 776 : || !nonimmediate_operand (operands[1], i1)
8569 770 : || !nonimm_or_0_operand (operands[3], i1)
8570 1546 : || !register_operand (operands[2], i1))
8571 13 : return -1;
8572 : return 0;
8573 : }
8574 :
8575 : int
8576 279 : pattern1420 (rtx x1, machine_mode i1, machine_mode i2)
8577 : {
8578 279 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8579 279 : rtx x2;
8580 279 : int res ATTRIBUTE_UNUSED;
8581 279 : if (!register_operand (operands[0], i2)
8582 279 : || GET_MODE (x1) != i2)
8583 : return -1;
8584 273 : x2 = XEXP (x1, 0);
8585 273 : if (GET_MODE (x2) != i2
8586 273 : || !nonimmediate_operand (operands[1], i2)
8587 546 : || pattern1419 (
8588 : i1,
8589 : i2) != 0)
8590 0 : return -1;
8591 : return 0;
8592 : }
8593 :
8594 : int
8595 546 : pattern1425 (rtx x1, machine_mode i1, machine_mode i2)
8596 : {
8597 546 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8598 546 : int res ATTRIBUTE_UNUSED;
8599 546 : if (!nonimmediate_operand (operands[2], i2)
8600 546 : || GET_MODE (x1) != i2
8601 546 : || !nonimmediate_operand (operands[3], i2)
8602 546 : || !const0_operand (operands[4], i2)
8603 1092 : || !register_operand (operands[5], i1))
8604 0 : return -1;
8605 : return 0;
8606 : }
8607 :
8608 : int
8609 279 : pattern1431 (rtx x1, machine_mode i1, machine_mode i2)
8610 : {
8611 279 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8612 279 : rtx x2, x3;
8613 279 : int res ATTRIBUTE_UNUSED;
8614 279 : if (!register_operand (operands[0], i2)
8615 279 : || GET_MODE (x1) != i2)
8616 : return -1;
8617 273 : x2 = XEXP (x1, 0);
8618 273 : if (GET_MODE (x2) != i2)
8619 : return -1;
8620 273 : x3 = XEXP (x2, 0);
8621 273 : if (GET_MODE (x3) != i2
8622 273 : || !nonimmediate_operand (operands[1], i2)
8623 546 : || pattern1419 (
8624 : i1,
8625 : i2) != 0)
8626 0 : return -1;
8627 : return 0;
8628 : }
8629 :
8630 : int
8631 10 : pattern1437 (rtx x1, machine_mode i1)
8632 : {
8633 10 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8634 10 : rtx x2, x3, x4;
8635 10 : int res ATTRIBUTE_UNUSED;
8636 10 : if (!register_operand (operands[0], i1)
8637 10 : || GET_MODE (x1) != i1)
8638 : return -1;
8639 10 : x2 = XEXP (x1, 0);
8640 10 : if (GET_MODE (x2) != i1)
8641 : return -1;
8642 10 : x3 = XEXP (x2, 0);
8643 10 : if (GET_MODE (x3) != i1
8644 10 : || !nonimmediate_operand (operands[1], i1))
8645 : return -1;
8646 10 : x4 = XEXP (x2, 2);
8647 10 : return pattern1427 (x4,
8648 10 : i1); /* [-1, 0] */
8649 : }
8650 :
8651 : int
8652 1276 : pattern1443 (rtx x1)
8653 : {
8654 1276 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8655 1276 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8656 1276 : rtx x10;
8657 1276 : int res ATTRIBUTE_UNUSED;
8658 1276 : x2 = XVECEXP (x1, 0, 0);
8659 1276 : x3 = XEXP (x2, 0);
8660 1276 : x4 = XEXP (x3, 0);
8661 1276 : if (GET_MODE (x4) != E_V8HFmode)
8662 : return -1;
8663 1276 : x5 = XEXP (x3, 2);
8664 1276 : if (GET_CODE (x5) != UNSPEC
8665 1276 : || XVECLEN (x5, 0) != 1
8666 1276 : || XINT (x5, 1) != 222
8667 1276 : || GET_MODE (x5) != E_QImode)
8668 : return -1;
8669 1276 : x6 = XEXP (x2, 2);
8670 1276 : if (XWINT (x6, 0) != 3L
8671 1276 : || !register_operand (operands[0], E_V8HFmode)
8672 1250 : || GET_MODE (x1) != E_V8HFmode
8673 1250 : || GET_MODE (x2) != E_V8HFmode
8674 1250 : || GET_MODE (x3) != E_V8HFmode
8675 1250 : || !register_operand (operands[1], E_V8HFmode)
8676 1242 : || !register_operand (operands[2], E_V8HFmode)
8677 2484 : || !register_operand (operands[3], E_V8HFmode))
8678 : return -1;
8679 1186 : x7 = XVECEXP (x5, 0, 0);
8680 1186 : if (!register_operand (x7, E_QImode))
8681 : return -1;
8682 1104 : x8 = XVECEXP (x1, 0, 1);
8683 1104 : if (!const_4_or_8_to_11_operand (x8, E_SImode))
8684 : return -1;
8685 1104 : x9 = XEXP (x2, 1);
8686 1104 : if (!rtx_equal_p (x9, operands[2]))
8687 : return -1;
8688 1104 : x10 = XEXP (x3, 1);
8689 1104 : switch (GET_CODE (x10))
8690 : {
8691 384 : case CONST_INT:
8692 384 : case CONST_DOUBLE:
8693 384 : case CONST_VECTOR:
8694 384 : operands[4] = x10;
8695 384 : if (!const0_operand (operands[4], E_V8HFmode))
8696 : return -1;
8697 384 : operands[5] = x7;
8698 384 : operands[6] = x8;
8699 384 : return 0;
8700 :
8701 720 : case REG:
8702 720 : case SUBREG:
8703 720 : if (!rtx_equal_p (x10, operands[1]))
8704 : return -1;
8705 720 : operands[4] = x7;
8706 720 : operands[5] = x8;
8707 720 : return 1;
8708 :
8709 : default:
8710 : return -1;
8711 : }
8712 : }
8713 :
8714 : int
8715 333 : pattern1457 (rtx x1, machine_mode i1)
8716 : {
8717 333 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8718 333 : rtx x2, x3, x4;
8719 333 : int res ATTRIBUTE_UNUSED;
8720 333 : if (!register_operand (operands[0], i1)
8721 333 : || GET_MODE (x1) != i1)
8722 : return -1;
8723 320 : x2 = XVECEXP (x1, 0, 0);
8724 320 : if (GET_MODE (x2) != i1)
8725 : return -1;
8726 320 : x3 = XEXP (x2, 0);
8727 320 : if (GET_MODE (x3) != i1
8728 320 : || !register_operand (operands[1], i1)
8729 632 : || !register_operand (operands[2], i1))
8730 : return -1;
8731 307 : x4 = XEXP (x2, 2);
8732 307 : if (GET_MODE (x4) != i1
8733 307 : || !register_operand (operands[3], i1))
8734 0 : return -1;
8735 : return 0;
8736 : }
8737 :
8738 : int
8739 33 : pattern1463 (rtx x1)
8740 : {
8741 33 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8742 33 : rtx x2, x3, x4, x5;
8743 33 : int res ATTRIBUTE_UNUSED;
8744 33 : x2 = XEXP (x1, 0);
8745 33 : x3 = XEXP (x2, 1);
8746 33 : x4 = XEXP (x3, 0);
8747 33 : if (GET_CODE (x4) != REG
8748 33 : || REGNO (x4) != 17)
8749 : return -1;
8750 9 : x5 = XEXP (x3, 1);
8751 9 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
8752 : return -1;
8753 9 : return pattern1191 (x1); /* [-1, 5] */
8754 : }
8755 :
8756 : int
8757 656 : pattern1467 (rtx x1, rtx_code i1)
8758 : {
8759 656 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8760 656 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8761 656 : int res ATTRIBUTE_UNUSED;
8762 656 : x2 = XVECEXP (x1, 0, 1);
8763 656 : x3 = XEXP (x2, 1);
8764 656 : if (GET_MODE (x3) != E_DImode)
8765 : return -1;
8766 584 : x4 = XEXP (x3, 0);
8767 584 : if (GET_CODE (x4) != i1
8768 131 : || GET_MODE (x4) != E_SImode)
8769 : return -1;
8770 107 : x5 = XVECEXP (x1, 0, 0);
8771 107 : x6 = XEXP (x5, 1);
8772 107 : x7 = XEXP (x6, 0);
8773 107 : if (GET_MODE (x7) != E_SImode
8774 78 : || !nonimmediate_operand (operands[1], E_SImode)
8775 78 : || !x86_64_general_operand (operands[2], E_SImode)
8776 185 : || !register_operand (operands[0], E_DImode))
8777 : return -1;
8778 78 : x8 = XEXP (x4, 0);
8779 78 : if (!rtx_equal_p (x8, operands[1]))
8780 : return -1;
8781 78 : x9 = XEXP (x4, 1);
8782 78 : if (!rtx_equal_p (x9, operands[2]))
8783 0 : return -1;
8784 : return 0;
8785 : }
8786 :
8787 : int
8788 4277 : pattern1476 (rtx x1)
8789 : {
8790 4277 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8791 4277 : int res ATTRIBUTE_UNUSED;
8792 4277 : switch (GET_MODE (operands[0]))
8793 : {
8794 907 : case E_SImode:
8795 907 : if (!register_operand (operands[0], E_SImode)
8796 907 : || GET_MODE (x1) != E_SImode
8797 1814 : || !register_operand (operands[1], E_SImode))
8798 371 : return -1;
8799 : return 0;
8800 :
8801 1328 : case E_DImode:
8802 1328 : if (!register_operand (operands[0], E_DImode)
8803 1281 : || GET_MODE (x1) != E_DImode
8804 2609 : || !register_operand (operands[1], E_DImode))
8805 453 : return -1;
8806 : return 1;
8807 :
8808 : default:
8809 : return -1;
8810 : }
8811 : }
8812 :
8813 : int
8814 44835 : pattern1483 (rtx x1, machine_mode i1, machine_mode i2)
8815 : {
8816 44835 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8817 44835 : int res ATTRIBUTE_UNUSED;
8818 44835 : if (!nonimmediate_operand (operands[0], i2)
8819 44741 : || GET_MODE (x1) != i2
8820 44741 : || !register_operand (operands[1], i1)
8821 89071 : || !scratch_operand (operands[2], i1))
8822 599 : return -1;
8823 : return 0;
8824 : }
8825 :
8826 : int
8827 372927 : pattern1486 (rtx x1, int i1, machine_mode i2)
8828 : {
8829 372927 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8830 372927 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
8831 372927 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
8832 372927 : rtx x18, x19, x20, x21, x22;
8833 372927 : int res ATTRIBUTE_UNUSED;
8834 372927 : x2 = XVECEXP (x1, 0, 2);
8835 372927 : x3 = XEXP (x2, 1);
8836 372927 : switch (GET_CODE (x3))
8837 : {
8838 200058 : case PLUS:
8839 200058 : x4 = XEXP (x3, 0);
8840 200058 : if (GET_CODE (x4) != ASHIFT)
8841 : return -1;
8842 168211 : x5 = XEXP (x4, 1);
8843 168211 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
8844 : return -1;
8845 168211 : x6 = XVECEXP (x1, 0, 3);
8846 168211 : if (GET_CODE (x6) != SET)
8847 : return -1;
8848 168211 : x7 = XEXP (x6, 1);
8849 168211 : if (GET_CODE (x7) != MEM
8850 168211 : || GET_MODE (x7) != E_BLKmode)
8851 : return -1;
8852 168211 : x8 = XEXP (x6, 0);
8853 168211 : if (GET_CODE (x8) != MEM
8854 168211 : || GET_MODE (x8) != E_BLKmode)
8855 : return -1;
8856 168211 : x9 = XVECEXP (x1, 0, 0);
8857 168211 : x10 = XEXP (x9, 0);
8858 168211 : operands[2] = x10;
8859 168211 : x11 = XVECEXP (x1, 0, 1);
8860 168211 : x12 = XEXP (x11, 1);
8861 168211 : x13 = XEXP (x12, 0);
8862 168211 : x14 = XEXP (x13, 0);
8863 168211 : operands[5] = x14;
8864 168211 : x15 = XEXP (x2, 0);
8865 168211 : operands[1] = x15;
8866 168211 : x16 = XEXP (x3, 1);
8867 168211 : operands[4] = x16;
8868 168211 : x17 = XEXP (x4, 0);
8869 168211 : if (!rtx_equal_p (x17, operands[5]))
8870 : return -1;
8871 168211 : x18 = XEXP (x7, 0);
8872 168211 : if (!rtx_equal_p (x18, operands[4]))
8873 : return -1;
8874 167984 : x19 = XEXP (x8, 0);
8875 167984 : if (!rtx_equal_p (x19, operands[3]))
8876 : return -1;
8877 167897 : x20 = XVECEXP (x1, 0, 4);
8878 167897 : x21 = XEXP (x20, 0);
8879 167897 : if (!rtx_equal_p (x21, operands[5]))
8880 : return -1;
8881 167795 : switch (GET_MODE (operands[2]))
8882 : {
8883 4042 : case E_SImode:
8884 4042 : return pattern1484 (x1,
8885 4042 : E_SImode); /* [-1, 0] */
8886 :
8887 163753 : case E_DImode:
8888 163753 : if (pattern1484 (x1,
8889 : E_DImode) != 0)
8890 15015 : return -1;
8891 : return 1;
8892 :
8893 : default:
8894 : return -1;
8895 : }
8896 :
8897 162309 : case CONST_INT:
8898 162309 : if (XWINT (x3, 0) != 0L)
8899 : return -1;
8900 162307 : x15 = XEXP (x2, 0);
8901 162307 : if (GET_CODE (x15) != MEM
8902 162307 : || GET_MODE (x15) != E_BLKmode)
8903 : return -1;
8904 162307 : x6 = XVECEXP (x1, 0, 3);
8905 162307 : if (GET_CODE (x6) != USE)
8906 : return -1;
8907 162307 : x9 = XVECEXP (x1, 0, 0);
8908 162307 : x10 = XEXP (x9, 0);
8909 162307 : operands[1] = x10;
8910 162307 : x11 = XVECEXP (x1, 0, 1);
8911 162307 : x12 = XEXP (x11, 1);
8912 162307 : x13 = XEXP (x12, 0);
8913 162307 : x14 = XEXP (x13, 0);
8914 162307 : operands[4] = x14;
8915 162307 : x8 = XEXP (x6, 0);
8916 162307 : operands[2] = x8;
8917 162307 : if (!register_operand (operands[2], i2))
8918 : return -1;
8919 114358 : x22 = XEXP (x15, 0);
8920 114358 : if (!rtx_equal_p (x22, operands[3]))
8921 : return -1;
8922 114103 : x20 = XVECEXP (x1, 0, 4);
8923 114103 : x21 = XEXP (x20, 0);
8924 114103 : if (!rtx_equal_p (x21, operands[4]))
8925 : return -1;
8926 114103 : switch (GET_MODE (operands[1]))
8927 : {
8928 1617 : case E_SImode:
8929 1617 : if (pattern1485 (x12,
8930 : E_SImode) != 0)
8931 0 : return -1;
8932 : return 2;
8933 :
8934 112486 : case E_DImode:
8935 112486 : if (pattern1485 (x12,
8936 : E_DImode) != 0)
8937 6950 : return -1;
8938 : return 3;
8939 :
8940 : default:
8941 : return -1;
8942 : }
8943 :
8944 : default:
8945 : return -1;
8946 : }
8947 : }
8948 :
8949 : int
8950 2268 : pattern1515 (rtx x1, machine_mode i1, machine_mode i2)
8951 : {
8952 2268 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8953 2268 : rtx x2, x3;
8954 2268 : int res ATTRIBUTE_UNUSED;
8955 2268 : if (!register_operand (operands[0], i1)
8956 2268 : || GET_MODE (x1) != i1)
8957 : return -1;
8958 2178 : x2 = XEXP (x1, 0);
8959 2178 : if (GET_MODE (x2) != i1)
8960 : return -1;
8961 2178 : x3 = XEXP (x2, 0);
8962 2178 : if (GET_MODE (x3) != i2
8963 2178 : || !register_operand (operands[1], i1)
8964 2130 : || !nonimmediate_operand (operands[2], i2)
8965 4218 : || !nonimm_or_0_operand (operands[3], i1))
8966 174 : return -1;
8967 : return 0;
8968 : }
8969 :
8970 : int
8971 1188 : pattern1518 (rtx x1, machine_mode i1, machine_mode i2)
8972 : {
8973 1188 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8974 1188 : rtx x2, x3;
8975 1188 : int res ATTRIBUTE_UNUSED;
8976 1188 : if (!register_operand (operands[0], i1)
8977 1188 : || GET_MODE (x1) != i1)
8978 : return -1;
8979 1155 : x2 = XVECEXP (x1, 0, 0);
8980 1155 : if (GET_MODE (x2) != i1)
8981 : return -1;
8982 1155 : x3 = XEXP (x2, 0);
8983 1155 : if (GET_MODE (x3) != i1
8984 1155 : || !register_operand (operands[1], i1)
8985 1147 : || !nonimm_or_0_operand (operands[2], i1)
8986 2302 : || !register_operand (operands[3], i2))
8987 23 : return -1;
8988 : return 0;
8989 : }
8990 :
8991 : int
8992 295 : pattern1523 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
8993 : {
8994 295 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
8995 295 : rtx x2, x3, x4;
8996 295 : int res ATTRIBUTE_UNUSED;
8997 295 : if (!nonimmediate_operand (operands[0], i3)
8998 295 : || GET_MODE (x1) != i3)
8999 : return -1;
9000 295 : x2 = XEXP (x1, 0);
9001 295 : if (GET_MODE (x2) != i1
9002 295 : || !nonimmediate_operand (operands[1], i2))
9003 : return -1;
9004 295 : x3 = XEXP (x2, 1);
9005 295 : if (GET_MODE (x3) != i2)
9006 : return -1;
9007 295 : x4 = XEXP (x1, 1);
9008 295 : if (GET_MODE (x4) != i1)
9009 0 : return -1;
9010 : return 0;
9011 : }
9012 :
9013 : int
9014 1677 : pattern1528 (rtx x1)
9015 : {
9016 1677 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9017 1677 : rtx x2, x3, x4, x5;
9018 1677 : int res ATTRIBUTE_UNUSED;
9019 1677 : x2 = XVECEXP (x1, 0, 4);
9020 1677 : operands[2] = x2;
9021 1677 : if (!const_4_to_7_operand (operands[2], E_VOIDmode))
9022 : return -1;
9023 1661 : x3 = XVECEXP (x1, 0, 5);
9024 1661 : operands[3] = x3;
9025 1661 : if (!const_4_to_7_operand (operands[3], E_VOIDmode))
9026 : return -1;
9027 1661 : x4 = XVECEXP (x1, 0, 6);
9028 1661 : operands[4] = x4;
9029 1661 : if (!const_4_to_7_operand (operands[4], E_VOIDmode))
9030 : return -1;
9031 1661 : x5 = XVECEXP (x1, 0, 7);
9032 1661 : operands[5] = x5;
9033 1661 : if (!const_4_to_7_operand (operands[5], E_VOIDmode))
9034 0 : return -1;
9035 : return 0;
9036 : }
9037 :
9038 : int
9039 71352 : pattern1536 (rtx x1, machine_mode i1)
9040 : {
9041 71352 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9042 71352 : rtx x2, x3, x4, x5;
9043 71352 : int res ATTRIBUTE_UNUSED;
9044 71352 : if (!register_operand (operands[0], i1))
9045 : return -1;
9046 71348 : x2 = XVECEXP (x1, 0, 0);
9047 71348 : x3 = XEXP (x2, 1);
9048 71348 : if (GET_MODE (x3) != i1
9049 71348 : || !register_operand (operands[2], i1)
9050 71060 : || !const_int_operand (operands[3], i1)
9051 142408 : || !register_operand (operands[1], i1))
9052 : return -1;
9053 71060 : x4 = XVECEXP (x1, 0, 1);
9054 71060 : x5 = XEXP (x4, 1);
9055 71060 : if (GET_MODE (x5) != i1)
9056 0 : return -1;
9057 : return 0;
9058 : }
9059 :
9060 : int
9061 177 : pattern1542 (rtx x1, rtx_code i1)
9062 : {
9063 177 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9064 177 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9065 177 : rtx x10;
9066 177 : int res ATTRIBUTE_UNUSED;
9067 177 : x2 = XVECEXP (x1, 0, 1);
9068 177 : x3 = XEXP (x2, 1);
9069 177 : if (GET_CODE (x3) != i1)
9070 : return -1;
9071 177 : x4 = XVECEXP (x1, 0, 0);
9072 177 : x5 = XEXP (x4, 0);
9073 177 : operands[0] = x5;
9074 177 : x6 = XEXP (x4, 1);
9075 177 : x7 = XEXP (x6, 0);
9076 177 : x8 = XEXP (x7, 0);
9077 177 : operands[2] = x8;
9078 177 : if (!register_operand (operands[2], E_SImode))
9079 : return -1;
9080 177 : x9 = XEXP (x7, 1);
9081 177 : operands[3] = x9;
9082 177 : if (!nonimmediate_operand (operands[3], E_SImode))
9083 : return -1;
9084 177 : x10 = XEXP (x2, 0);
9085 177 : operands[1] = x10;
9086 177 : return pattern1541 (x1); /* [-1, 1] */
9087 : }
9088 :
9089 : int
9090 5771 : pattern1547 (rtx x1, machine_mode i1)
9091 : {
9092 5771 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9093 5771 : rtx x2;
9094 5771 : int res ATTRIBUTE_UNUSED;
9095 5771 : if (!mask_reg_operand (operands[0], i1)
9096 5771 : || GET_MODE (x1) != i1)
9097 : return -1;
9098 0 : x2 = XEXP (x1, 0);
9099 0 : if (GET_MODE (x2) != i1
9100 0 : || !mask_reg_operand (operands[1], i1)
9101 0 : || !mask_reg_operand (operands[2], i1))
9102 0 : return -1;
9103 : return 0;
9104 : }
9105 :
9106 : int
9107 426036 : pattern1553 (rtx x1, machine_mode i1)
9108 : {
9109 426036 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9110 426036 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9111 426036 : rtx x10, x11;
9112 426036 : int res ATTRIBUTE_UNUSED;
9113 426036 : if (!register_operand (operands[0], i1)
9114 426036 : || GET_MODE (x1) != i1)
9115 : return -1;
9116 402067 : x2 = PATTERN (peep2_next_insn (1));
9117 402067 : switch (GET_CODE (x2))
9118 : {
9119 141719 : case PARALLEL:
9120 141719 : if (XVECLEN (x2, 0) != 2)
9121 : return -1;
9122 141640 : x3 = XVECEXP (x2, 0, 0);
9123 141640 : if (GET_CODE (x3) != SET)
9124 : return -1;
9125 141624 : x4 = XEXP (x3, 1);
9126 141624 : if (GET_CODE (x4) != PLUS
9127 96382 : || GET_MODE (x4) != i1)
9128 : return -1;
9129 92107 : x5 = XVECEXP (x2, 0, 1);
9130 92107 : if (GET_CODE (x5) != CLOBBER)
9131 : return -1;
9132 92107 : x6 = XEXP (x5, 0);
9133 92107 : if (GET_CODE (x6) != REG
9134 92107 : || REGNO (x6) != 17
9135 184214 : || GET_MODE (x6) != E_CCmode)
9136 : return -1;
9137 92107 : x7 = XEXP (x4, 1);
9138 92107 : operands[2] = x7;
9139 92107 : if (!x86_64_immediate_operand (operands[2], E_VOIDmode))
9140 : return -1;
9141 15366 : x8 = XEXP (x4, 0);
9142 15366 : if (!rtx_equal_p (x8, operands[0]))
9143 15052 : return -1;
9144 : return 0;
9145 :
9146 255593 : case SET:
9147 255593 : x9 = XEXP (x2, 1);
9148 255593 : if (GET_CODE (x9) != PLUS
9149 23703 : || GET_MODE (x9) != i1)
9150 : return -1;
9151 21378 : x10 = XEXP (x9, 1);
9152 21378 : operands[2] = x10;
9153 21378 : if (!x86_64_immediate_operand (operands[2], E_VOIDmode))
9154 : return -1;
9155 9671 : x11 = XEXP (x9, 0);
9156 9671 : if (!rtx_equal_p (x11, operands[0]))
9157 8072 : return -1;
9158 : return 1;
9159 :
9160 : default:
9161 : return -1;
9162 : }
9163 : }
9164 :
9165 : int
9166 1033351 : pattern1565 (rtx x1, machine_mode i1, machine_mode i2)
9167 : {
9168 1033351 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9169 1033351 : rtx x2;
9170 1033351 : int res ATTRIBUTE_UNUSED;
9171 1033351 : if (!register_operand (operands[0], i1)
9172 1033351 : || GET_MODE (x1) != i1)
9173 : return -1;
9174 966120 : x2 = XEXP (x1, 0);
9175 966120 : if (GET_MODE (x2) != i2
9176 965447 : || !register_operand (operands[1], i1)
9177 874746 : || !vector_operand (operands[2], i1)
9178 1807115 : || pattern1564 () != 0)
9179 468266 : return -1;
9180 : return 0;
9181 : }
9182 :
9183 : int
9184 619 : pattern1570 (rtx x1)
9185 : {
9186 619 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9187 619 : rtx x2, x3, x4, x5, x6, x7;
9188 619 : int res ATTRIBUTE_UNUSED;
9189 619 : x2 = XEXP (x1, 1);
9190 619 : x3 = XEXP (x2, 1);
9191 619 : x4 = XEXP (x3, 0);
9192 619 : x5 = XEXP (x4, 0);
9193 619 : operands[2] = x5;
9194 619 : if (!int248_register_operand (operands[2], E_VOIDmode))
9195 : return -1;
9196 421 : x6 = XEXP (x1, 0);
9197 421 : switch (GET_CODE (x6))
9198 : {
9199 65 : case STRICT_LOW_PART:
9200 65 : x7 = XEXP (x6, 0);
9201 65 : operands[0] = x7;
9202 65 : if (!register_operand (operands[0], E_QImode))
9203 : return -1;
9204 65 : return pattern1569 (); /* [-1, 2] */
9205 :
9206 356 : case REG:
9207 356 : case SUBREG:
9208 356 : operands[0] = x6;
9209 356 : if (!register_operand (operands[0], E_QImode))
9210 : return -1;
9211 356 : res = pattern1569 ();
9212 356 : if (res >= 0)
9213 194 : return res + 3; /* [3, 5] */
9214 : return -1;
9215 :
9216 : default:
9217 : return -1;
9218 : }
9219 : }
9220 :
9221 : int
9222 12 : pattern1578 (rtx x1, machine_mode i1)
9223 : {
9224 12 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9225 12 : rtx x2, x3;
9226 12 : int res ATTRIBUTE_UNUSED;
9227 12 : if (!register_operand (operands[0], i1)
9228 12 : || GET_MODE (x1) != i1
9229 12 : || !nonimmediate_operand (operands[3], i1)
9230 24 : || !const_int_operand (operands[4], i1))
9231 : return -1;
9232 12 : x2 = XEXP (x1, 0);
9233 12 : x3 = XEXP (x2, 0);
9234 12 : switch (GET_MODE (x3))
9235 : {
9236 8 : case E_SImode:
9237 8 : if (!nonimmediate_operand (operands[1], E_SImode))
9238 2 : return -1;
9239 : return 0;
9240 :
9241 4 : case E_DImode:
9242 4 : if (!nonimmediate_operand (operands[1], E_DImode))
9243 2 : return -1;
9244 : return 1;
9245 :
9246 : default:
9247 : return -1;
9248 : }
9249 : }
9250 :
9251 : int
9252 242 : pattern1585 (rtx x1, machine_mode i1, machine_mode i2)
9253 : {
9254 242 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9255 242 : rtx x2, x3, x4, x5, x6, x7;
9256 242 : int res ATTRIBUTE_UNUSED;
9257 242 : if (!register_operand (operands[0], i2)
9258 242 : || GET_MODE (x1) != i2)
9259 : return -1;
9260 199 : x2 = XEXP (x1, 0);
9261 199 : if (GET_MODE (x2) != i1)
9262 : return -1;
9263 199 : x3 = XEXP (x2, 0);
9264 199 : if (GET_MODE (x3) != i1)
9265 : return -1;
9266 199 : x4 = XEXP (x3, 0);
9267 199 : if (GET_MODE (x4) != i1)
9268 : return -1;
9269 199 : x5 = XEXP (x4, 0);
9270 199 : if (GET_MODE (x5) != i1
9271 199 : || !register_operand (operands[1], i2))
9272 : return -1;
9273 149 : x6 = XEXP (x4, 1);
9274 149 : if (GET_MODE (x6) != i1
9275 149 : || !register_operand (operands[2], i2))
9276 : return -1;
9277 120 : x7 = XEXP (x3, 1);
9278 120 : if (GET_MODE (x7) != i1)
9279 0 : return -1;
9280 : return 0;
9281 : }
9282 :
9283 : int
9284 18 : pattern1591 (rtx x1, machine_mode i1)
9285 : {
9286 18 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9287 18 : rtx x2, x3, x4;
9288 18 : int res ATTRIBUTE_UNUSED;
9289 18 : if (!register_operand (operands[0], i1)
9290 18 : || GET_MODE (x1) != i1)
9291 : return -1;
9292 12 : x2 = XEXP (x1, 0);
9293 12 : if (GET_MODE (x2) != i1)
9294 : return -1;
9295 12 : x3 = XEXP (x2, 0);
9296 12 : if (GET_MODE (x3) != i1
9297 12 : || !nonimmediate_operand (operands[1], i1)
9298 24 : || !nonimmediate_operand (operands[2], i1))
9299 : return -1;
9300 12 : x4 = XEXP (x3, 2);
9301 12 : if (GET_MODE (x4) != i1
9302 12 : || !nonimmediate_operand (operands[3], i1)
9303 24 : || !const0_operand (operands[4], i1))
9304 0 : return -1;
9305 : return 0;
9306 : }
9307 :
9308 : int
9309 1251 : pattern1597 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
9310 : {
9311 1251 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9312 1251 : rtx x2, x3, x4, x5, x6, x7;
9313 1251 : int res ATTRIBUTE_UNUSED;
9314 1251 : if (!register_operand (operands[0], i2)
9315 1251 : || GET_MODE (x1) != i2)
9316 : return -1;
9317 1210 : x2 = XEXP (x1, 0);
9318 1210 : if (GET_MODE (x2) != i2)
9319 : return -1;
9320 1210 : x3 = XEXP (x2, 0);
9321 1210 : if (GET_MODE (x3) != i3)
9322 : return -1;
9323 1210 : x4 = XEXP (x3, 0);
9324 1210 : if (GET_MODE (x4) != i3)
9325 : return -1;
9326 1210 : x5 = XEXP (x4, 0);
9327 1210 : if (GET_MODE (x5) != i3)
9328 : return -1;
9329 1210 : x6 = XEXP (x5, 0);
9330 1210 : if (GET_MODE (x6) != i3
9331 1210 : || !vector_operand (operands[1], i2))
9332 : return -1;
9333 1210 : x7 = XEXP (x5, 1);
9334 1210 : if (GET_MODE (x7) != i3
9335 1210 : || !vector_operand (operands[2], i2)
9336 1210 : || !const1_operand (operands[5], i3)
9337 1210 : || !nonimm_or_0_operand (operands[3], i2)
9338 2389 : || !register_operand (operands[4], i1))
9339 110 : return -1;
9340 : return 0;
9341 : }
9342 :
9343 : int
9344 137972 : pattern1606 (rtx x1)
9345 : {
9346 137972 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9347 137972 : rtx x2, x3;
9348 137972 : int res ATTRIBUTE_UNUSED;
9349 137972 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
9350 137972 : || GET_MODE (x1) != E_V4SFmode)
9351 : return -1;
9352 68961 : x2 = XEXP (x1, 0);
9353 68961 : if (GET_MODE (x2) != E_V8SFmode
9354 68961 : || !nonimmediate_operand (operands[1], E_V4SFmode))
9355 : return -1;
9356 68936 : x3 = XEXP (x2, 1);
9357 68936 : operands[2] = x3;
9358 68936 : if (!nonimmediate_operand (operands[2], E_V4SFmode))
9359 6 : return -1;
9360 : return 0;
9361 : }
9362 :
9363 : int
9364 128 : pattern1609 (rtx x1)
9365 : {
9366 128 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9367 128 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
9368 128 : rtx x10;
9369 128 : int res ATTRIBUTE_UNUSED;
9370 128 : x2 = XVECEXP (x1, 0, 1);
9371 128 : x3 = XEXP (x2, 1);
9372 128 : x4 = XEXP (x3, 1);
9373 128 : if (!rtx_equal_p (x4, operands[2]))
9374 : return -1;
9375 128 : x5 = XVECEXP (x1, 0, 0);
9376 128 : x6 = XEXP (x5, 1);
9377 128 : x7 = XEXP (x6, 0);
9378 128 : x8 = XEXP (x7, 1);
9379 128 : x9 = XEXP (x8, 0);
9380 128 : operands[3] = x9;
9381 128 : if (!flags_reg_operand (operands[3], E_VOIDmode))
9382 : return -1;
9383 120 : x10 = XEXP (x3, 0);
9384 120 : if (!rtx_equal_p (x10, operands[1]))
9385 : return -1;
9386 120 : switch (GET_MODE (x7))
9387 : {
9388 : case E_QImode:
9389 : return 0;
9390 :
9391 : case E_HImode:
9392 : return 1;
9393 :
9394 : case E_SImode:
9395 : return 2;
9396 :
9397 : case E_DImode:
9398 : return 3;
9399 :
9400 : default:
9401 : return -1;
9402 : }
9403 : }
9404 :
9405 : int
9406 5192 : pattern1618 (rtx x1, machine_mode i1, machine_mode i2)
9407 : {
9408 5192 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9409 5192 : rtx x2, x3, x4;
9410 5192 : int res ATTRIBUTE_UNUSED;
9411 5192 : if (!register_operand (operands[0], i2)
9412 5192 : || GET_MODE (x1) != i2)
9413 : return -1;
9414 5192 : x2 = XEXP (x1, 0);
9415 5192 : if (GET_MODE (x2) != i2)
9416 : return -1;
9417 5192 : x3 = XEXP (x2, 0);
9418 5192 : if (GET_MODE (x3) != i2
9419 5192 : || !register_operand (operands[1], i1))
9420 : return -1;
9421 5192 : x4 = XEXP (x1, 1);
9422 5192 : if (GET_MODE (x4) != i2
9423 5192 : || !register_operand (operands[2], i1))
9424 164 : return -1;
9425 : return 0;
9426 : }
9427 :
9428 : int
9429 1488 : pattern1624 (rtx x1, machine_mode i1)
9430 : {
9431 1488 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9432 1488 : rtx x2;
9433 1488 : int res ATTRIBUTE_UNUSED;
9434 1488 : if (!register_operand (operands[0], i1)
9435 1488 : || GET_MODE (x1) != i1)
9436 : return -1;
9437 1488 : x2 = XEXP (x1, 1);
9438 1488 : if (GET_MODE (x2) != i1
9439 1488 : || !nonimmediate_operand (operands[1], i1)
9440 2976 : || !register_operand (operands[2], i1))
9441 0 : return -1;
9442 : return 0;
9443 : }
9444 :
9445 : int
9446 69 : pattern1626 (rtx x1, machine_mode i1)
9447 : {
9448 69 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9449 69 : rtx x2;
9450 69 : int res ATTRIBUTE_UNUSED;
9451 69 : if (!register_operand (operands[0], i1)
9452 69 : || GET_MODE (x1) != i1
9453 138 : || !register_operand (operands[2], i1))
9454 : return -1;
9455 69 : x2 = XEXP (x1, 1);
9456 69 : if (GET_MODE (x2) != i1
9457 69 : || !nonimmediate_operand (operands[3], i1))
9458 40 : return -1;
9459 : return 0;
9460 : }
9461 :
9462 : int
9463 1852 : pattern1630 (rtx x1, machine_mode i1, machine_mode i2)
9464 : {
9465 1852 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9466 1852 : rtx x2;
9467 1852 : int res ATTRIBUTE_UNUSED;
9468 1852 : if (!register_operand (operands[1], i2)
9469 1852 : || GET_MODE (x1) != i1)
9470 : return -1;
9471 1852 : x2 = XEXP (x1, 0);
9472 1852 : if (GET_MODE (x2) != i1
9473 1852 : || !x86_64_dwzext_immediate_operand (operands[2], i1))
9474 1552 : return -1;
9475 : return 0;
9476 : }
9477 :
9478 : int
9479 190 : pattern1632 (rtx x1, machine_mode i1)
9480 : {
9481 190 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9482 190 : int res ATTRIBUTE_UNUSED;
9483 190 : if (!const_int_operand (operands[4], i1))
9484 : return -1;
9485 11 : switch (GET_MODE (x1))
9486 : {
9487 8 : case E_SImode:
9488 8 : if (!nonimmediate_operand (operands[1], E_SImode))
9489 2 : return -1;
9490 : return 0;
9491 :
9492 3 : case E_DImode:
9493 3 : if (!nonimmediate_operand (operands[1], E_DImode))
9494 2 : return -1;
9495 : return 1;
9496 :
9497 : default:
9498 : return -1;
9499 : }
9500 : }
9501 :
9502 : int
9503 0 : pattern1638 (rtx x1, machine_mode i1, machine_mode i2)
9504 : {
9505 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9506 0 : rtx x2, x3, x4;
9507 0 : int res ATTRIBUTE_UNUSED;
9508 0 : if (!register_operand (operands[0], i1)
9509 0 : || GET_MODE (x1) != i1)
9510 : return -1;
9511 0 : x2 = XVECEXP (x1, 0, 0);
9512 0 : if (GET_MODE (x2) != i1)
9513 : return -1;
9514 0 : x3 = XEXP (x2, 0);
9515 0 : if (GET_MODE (x3) != i1)
9516 : return -1;
9517 0 : x4 = XEXP (x3, 0);
9518 0 : if (GET_MODE (x4) != i2
9519 0 : || !register_operand (operands[2], i2)
9520 0 : || !register_operand (operands[1], i1))
9521 0 : return -1;
9522 : return 0;
9523 : }
9524 :
9525 : int
9526 1248 : pattern1644 (rtx x1, machine_mode i1, machine_mode i2)
9527 : {
9528 1248 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9529 1248 : rtx x2, x3;
9530 1248 : int res ATTRIBUTE_UNUSED;
9531 1248 : if (!register_operand (operands[0], i2)
9532 1248 : || GET_MODE (x1) != i2)
9533 : return -1;
9534 1225 : x2 = XVECEXP (x1, 0, 0);
9535 1225 : if (GET_MODE (x2) != i2)
9536 : return -1;
9537 1225 : x3 = XEXP (x2, 0);
9538 1225 : if (GET_MODE (x3) != i2
9539 1225 : || !register_operand (operands[2], i2)
9540 2440 : || !register_operand (operands[4], i1))
9541 10 : return -1;
9542 : return 0;
9543 : }
9544 :
9545 : int
9546 507 : pattern1650 (rtx x1, machine_mode i1, machine_mode i2)
9547 : {
9548 507 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9549 507 : rtx x2, x3, x4;
9550 507 : int res ATTRIBUTE_UNUSED;
9551 507 : if (!register_operand (operands[0], i2)
9552 507 : || GET_MODE (x1) != i2)
9553 : return -1;
9554 493 : x2 = XVECEXP (x1, 0, 0);
9555 493 : if (GET_MODE (x2) != i2)
9556 : return -1;
9557 493 : x3 = XEXP (x2, 0);
9558 493 : if (GET_MODE (x3) != i2)
9559 : return -1;
9560 493 : x4 = XEXP (x3, 0);
9561 493 : if (GET_MODE (x4) != i2
9562 493 : || !register_operand (operands[1], i2)
9563 981 : || pattern1642 (
9564 : i1,
9565 : i2) != 0)
9566 17 : return -1;
9567 : return 0;
9568 : }
9569 :
9570 : int
9571 0 : pattern1655 (rtx x1, machine_mode i1, machine_mode i2)
9572 : {
9573 0 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9574 0 : rtx x2, x3, x4, x5, x6;
9575 0 : int res ATTRIBUTE_UNUSED;
9576 0 : if (!register_operand (operands[0], i1)
9577 0 : || GET_MODE (x1) != i1)
9578 : return -1;
9579 0 : x2 = XVECEXP (x1, 0, 0);
9580 0 : if (GET_MODE (x2) != i1)
9581 : return -1;
9582 0 : x3 = XEXP (x2, 0);
9583 0 : if (GET_MODE (x3) != i1)
9584 : return -1;
9585 0 : x4 = XEXP (x3, 0);
9586 0 : if (GET_MODE (x4) != i1
9587 0 : || !register_operand (operands[1], i1)
9588 0 : || !register_operand (operands[2], i1))
9589 : return -1;
9590 0 : x5 = XEXP (x3, 2);
9591 0 : if (GET_MODE (x5) != i1
9592 0 : || !nonimmediate_operand (operands[3], i1)
9593 0 : || !register_operand (operands[4], i2))
9594 : return -1;
9595 0 : x6 = XEXP (x2, 1);
9596 0 : if (!rtx_equal_p (x6, operands[3]))
9597 0 : return -1;
9598 : return 0;
9599 : }
9600 :
9601 : int
9602 1076 : pattern1664 (rtx x1, machine_mode i1, machine_mode i2)
9603 : {
9604 1076 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9605 1076 : rtx x2, x3;
9606 1076 : int res ATTRIBUTE_UNUSED;
9607 1076 : if (!register_operand (operands[0], i2)
9608 1043 : || GET_MODE (x1) != i2
9609 2119 : || !vsib_mem_operator (operands[5], i1))
9610 : return -1;
9611 1043 : switch (GET_MODE (operands[6]))
9612 : {
9613 94 : case E_HImode:
9614 94 : x2 = XVECEXP (x1, 0, 2);
9615 94 : x3 = XEXP (x2, 0);
9616 94 : return pattern1663 (x3,
9617 : E_V16SImode,
9618 94 : E_HImode); /* [-1, 1] */
9619 :
9620 95 : case E_QImode:
9621 95 : x2 = XVECEXP (x1, 0, 2);
9622 95 : x3 = XEXP (x2, 0);
9623 95 : res = pattern1663 (x3,
9624 : E_V8DImode,
9625 : E_QImode);
9626 95 : if (res >= 0)
9627 58 : return res + 2; /* [2, 3] */
9628 : return -1;
9629 :
9630 : default:
9631 : return -1;
9632 : }
9633 : }
9634 :
9635 : int
9636 36 : pattern1671 (machine_mode i1)
9637 : {
9638 36 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9639 36 : int res ATTRIBUTE_UNUSED;
9640 36 : if (!vsib_address_operand (operands[3], i1))
9641 : return -1;
9642 36 : switch (GET_MODE (operands[2]))
9643 : {
9644 9 : case E_V4SImode:
9645 9 : if (!register_operand (operands[2], E_V4SImode))
9646 0 : return -1;
9647 : return 0;
9648 :
9649 27 : case E_V2DImode:
9650 27 : if (!register_operand (operands[2], E_V2DImode))
9651 6 : return -1;
9652 : return 1;
9653 :
9654 : default:
9655 : return -1;
9656 : }
9657 : }
9658 :
9659 : int
9660 3687 : pattern1676 (rtx x1, machine_mode i1, machine_mode i2)
9661 : {
9662 3687 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9663 3687 : rtx x2, x3;
9664 3687 : int res ATTRIBUTE_UNUSED;
9665 3687 : if (!register_operand (operands[0], i1)
9666 3687 : || GET_MODE (x1) != i1)
9667 : return -1;
9668 3657 : x2 = XEXP (x1, 0);
9669 3657 : if (GET_MODE (x2) != i2
9670 3657 : || !register_operand (operands[1], i1))
9671 : return -1;
9672 2764 : x3 = XEXP (x2, 1);
9673 2764 : operands[2] = x3;
9674 2764 : if (!nonimmediate_operand (operands[2], i1))
9675 555 : return -1;
9676 : return 0;
9677 : }
9678 :
9679 : int
9680 44 : pattern1680 (rtx x1, machine_mode i1)
9681 : {
9682 44 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9683 44 : rtx x2;
9684 44 : int res ATTRIBUTE_UNUSED;
9685 44 : if (!nonimmediate_operand (operands[0], i1)
9686 44 : || GET_MODE (x1) != i1)
9687 : return -1;
9688 44 : x2 = XEXP (x1, 0);
9689 44 : if (GET_MODE (x2) != i1
9690 44 : || !ix86_carry_flag_operator (operands[4], i1)
9691 44 : || !nonimmediate_operand (operands[1], i1)
9692 88 : || !general_operand (operands[2], i1))
9693 0 : return -1;
9694 : return 0;
9695 : }
9696 :
9697 : int
9698 216 : pattern1683 (rtx x1, machine_mode i1)
9699 : {
9700 216 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9701 216 : rtx x2;
9702 216 : int res ATTRIBUTE_UNUSED;
9703 216 : if (!nonimmediate_operand (operands[0], i1)
9704 216 : || GET_MODE (x1) != i1)
9705 : return -1;
9706 216 : x2 = XEXP (x1, 0);
9707 216 : if (GET_MODE (x2) != i1
9708 216 : || !nonimmediate_operand (operands[1], i1)
9709 216 : || !ix86_carry_flag_operator (operands[4], i1)
9710 432 : || !general_operand (operands[2], i1))
9711 0 : return -1;
9712 : return 0;
9713 : }
9714 :
9715 : int
9716 1493 : pattern1688 (rtx x1)
9717 : {
9718 1493 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9719 1493 : rtx x2, x3, x4;
9720 1493 : int res ATTRIBUTE_UNUSED;
9721 1493 : x2 = XEXP (x1, 1);
9722 1493 : x3 = XEXP (x2, 1);
9723 1493 : if (GET_CODE (x3) != SUBREG
9724 849 : || maybe_ne (SUBREG_BYTE (x3), 0)
9725 2342 : || GET_MODE (x3) != E_QImode)
9726 : return -1;
9727 849 : x4 = XEXP (x3, 0);
9728 849 : switch (GET_CODE (x4))
9729 : {
9730 251 : case ASHIFTRT:
9731 251 : case LSHIFTRT:
9732 251 : case SIGN_EXTRACT:
9733 251 : case ZERO_EXTRACT:
9734 251 : operands[4] = x4;
9735 251 : return pattern1570 (x1); /* [-1, 5] */
9736 :
9737 : default:
9738 : return -1;
9739 : }
9740 : }
9741 :
9742 : int
9743 1499 : pattern1693 (rtx x1, machine_mode i1)
9744 : {
9745 1499 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9746 1499 : rtx x2, x3, x4;
9747 1499 : int res ATTRIBUTE_UNUSED;
9748 1499 : if (!x86_64_nonmemory_operand (operands[1], i1))
9749 : return -1;
9750 1499 : operands[3] = x1;
9751 1499 : if (!register_operand (operands[3], i1))
9752 : return -1;
9753 9 : x2 = PATTERN (peep2_next_insn (1));
9754 9 : x3 = XEXP (x2, 1);
9755 9 : if (!rtx_equal_p (x3, operands[3]))
9756 : return -1;
9757 9 : x4 = XEXP (x2, 0);
9758 9 : if (!rtx_equal_p (x4, operands[0]))
9759 0 : return -1;
9760 : return 0;
9761 : }
9762 :
9763 : int
9764 29 : pattern1697 (rtx x1, machine_mode i1, machine_mode i2)
9765 : {
9766 29 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9767 29 : rtx x2, x3;
9768 29 : int res ATTRIBUTE_UNUSED;
9769 29 : if (!register_operand (operands[0], i1)
9770 29 : || GET_MODE (x1) != i1)
9771 : return -1;
9772 23 : x2 = XEXP (x1, 0);
9773 23 : if (GET_MODE (x2) != i1)
9774 : return -1;
9775 23 : x3 = XEXP (x2, 0);
9776 23 : if (GET_MODE (x3) != i1
9777 23 : || !register_operand (operands[1], i1)
9778 23 : || !register_operand (operands[2], i1)
9779 23 : || !nonimmediate_operand (operands[3], i2)
9780 46 : || !const0_operand (operands[5], i1))
9781 0 : return -1;
9782 : return 0;
9783 : }
9784 :
9785 : int
9786 1392 : pattern1702 (rtx x1, machine_mode i1, machine_mode i2)
9787 : {
9788 1392 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9789 1392 : rtx x2, x3;
9790 1392 : int res ATTRIBUTE_UNUSED;
9791 1392 : if (!register_operand (operands[0], i1)
9792 1392 : || GET_MODE (x1) != i1)
9793 : return -1;
9794 1222 : x2 = XEXP (x1, 0);
9795 1222 : if (GET_MODE (x2) != i1)
9796 : return -1;
9797 1222 : x3 = XEXP (x2, 0);
9798 1222 : if (GET_MODE (x3) != i2
9799 1222 : || !register_operand (operands[1], i1)
9800 2442 : || !nonimmediate_operand (operands[2], i1))
9801 139 : return -1;
9802 : return 0;
9803 : }
9804 :
9805 : int
9806 327 : pattern1707 (rtx x1, machine_mode i1, machine_mode i2)
9807 : {
9808 327 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9809 327 : rtx x2, x3, x4;
9810 327 : int res ATTRIBUTE_UNUSED;
9811 327 : if (!register_operand (operands[0], i2)
9812 327 : || GET_MODE (x1) != i2)
9813 : return -1;
9814 311 : x2 = XVECEXP (x1, 0, 0);
9815 311 : if (GET_MODE (x2) != i2)
9816 : return -1;
9817 311 : x3 = XEXP (x2, 0);
9818 311 : if (GET_MODE (x3) != i2
9819 311 : || !register_operand (operands[1], i2)
9820 617 : || !register_operand (operands[2], i2))
9821 : return -1;
9822 302 : x4 = XVECEXP (x3, 0, 2);
9823 302 : if (GET_MODE (x4) != i2
9824 302 : || !register_operand (operands[3], i2)
9825 302 : || !const0_operand (operands[4], i2)
9826 604 : || !register_operand (operands[5], i1))
9827 8 : return -1;
9828 : return 0;
9829 : }
9830 :
9831 : int
9832 258 : pattern1714 (rtx x1, machine_mode i1, machine_mode i2)
9833 : {
9834 258 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9835 258 : rtx x2, x3;
9836 258 : int res ATTRIBUTE_UNUSED;
9837 258 : if (!register_operand (operands[0], i2)
9838 238 : || GET_MODE (x1) != i2
9839 238 : || !register_operand (operands[1], i2)
9840 238 : || !register_operand (operands[7], E_QImode)
9841 402 : || !vsib_mem_operator (operands[6], i1))
9842 : return -1;
9843 144 : x2 = XVECEXP (x1, 0, 2);
9844 144 : x3 = XEXP (x2, 0);
9845 144 : switch (GET_MODE (x3))
9846 : {
9847 0 : case E_SImode:
9848 0 : return pattern1713 (
9849 0 : E_SImode); /* [-1, 1] */
9850 :
9851 144 : case E_DImode:
9852 144 : res = pattern1713 (
9853 : E_DImode);
9854 144 : if (res >= 0)
9855 100 : return res + 2; /* [2, 3] */
9856 : return -1;
9857 :
9858 : default:
9859 : return -1;
9860 : }
9861 : }
9862 :
9863 : int
9864 983 : pattern1722 (rtx x1, machine_mode i1)
9865 : {
9866 983 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9867 983 : rtx x2, x3, x4, x5;
9868 983 : int res ATTRIBUTE_UNUSED;
9869 983 : if (!register_operand (operands[0], i1))
9870 : return -1;
9871 983 : x2 = XVECEXP (x1, 0, 0);
9872 983 : x3 = XEXP (x2, 1);
9873 983 : if (GET_MODE (x3) != i1)
9874 : return -1;
9875 983 : x4 = XVECEXP (x1, 0, 1);
9876 983 : if (GET_MODE (x4) != i1)
9877 : return -1;
9878 983 : x5 = XVECEXP (x4, 0, 0);
9879 983 : if (GET_MODE (x5) != i1
9880 983 : || !register_operand (operands[3], i1))
9881 0 : return -1;
9882 : return 0;
9883 : }
9884 :
9885 : int
9886 64 : pattern1728 (rtx x1)
9887 : {
9888 64 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9889 64 : rtx x2, x3, x4, x5, x6, x7;
9890 64 : int res ATTRIBUTE_UNUSED;
9891 64 : x2 = XEXP (x1, 1);
9892 64 : x3 = XEXP (x2, 0);
9893 64 : x4 = XEXP (x3, 1);
9894 64 : if (maybe_ne (SUBREG_BYTE (x4), 0)
9895 64 : || GET_MODE (x4) != E_QImode)
9896 : return -1;
9897 64 : x5 = XEXP (x4, 0);
9898 64 : switch (GET_CODE (x5))
9899 : {
9900 64 : case ASHIFTRT:
9901 64 : case LSHIFTRT:
9902 64 : case SIGN_EXTRACT:
9903 64 : case ZERO_EXTRACT:
9904 64 : operands[4] = x5;
9905 64 : x6 = XEXP (x5, 0);
9906 64 : operands[2] = x6;
9907 64 : if (!int248_register_operand (operands[2], E_VOIDmode))
9908 : return -1;
9909 43 : x7 = XEXP (x1, 0);
9910 43 : switch (GET_MODE (x7))
9911 : {
9912 8 : case E_HImode:
9913 8 : if (GET_MODE (x2) != E_HImode
9914 8 : || !extract_high_operator (operands[3], E_HImode)
9915 16 : || !extract_high_operator (operands[4], E_HImode))
9916 0 : return -1;
9917 : return 0;
9918 :
9919 31 : case E_SImode:
9920 31 : if (GET_MODE (x2) != E_SImode
9921 31 : || !extract_high_operator (operands[3], E_SImode)
9922 62 : || !extract_high_operator (operands[4], E_SImode))
9923 0 : return -1;
9924 : return 1;
9925 :
9926 4 : case E_DImode:
9927 4 : if (GET_MODE (x2) != E_DImode
9928 4 : || !extract_high_operator (operands[3], E_DImode)
9929 8 : || !extract_high_operator (operands[4], E_DImode))
9930 0 : return -1;
9931 : return 2;
9932 :
9933 : default:
9934 : return -1;
9935 : }
9936 :
9937 : default:
9938 : return -1;
9939 : }
9940 : }
9941 :
9942 : int
9943 633 : pattern1742 (rtx x1)
9944 : {
9945 633 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9946 633 : rtx x2, x3, x4, x5, x6, x7, x8;
9947 633 : int res ATTRIBUTE_UNUSED;
9948 633 : if (!register_operand (operands[0], E_DImode))
9949 : return -1;
9950 633 : x2 = XEXP (x1, 0);
9951 633 : x3 = XEXP (x2, 0);
9952 633 : operands[1] = x3;
9953 633 : if (!nonimmediate_operand (operands[1], E_DImode))
9954 : return -1;
9955 629 : x4 = XEXP (x1, 1);
9956 629 : if (GET_MODE (x4) != E_DImode)
9957 : return -1;
9958 629 : x5 = XEXP (x4, 0);
9959 629 : if (GET_MODE (x5) != E_TImode)
9960 : return -1;
9961 629 : x6 = XEXP (x5, 0);
9962 629 : if (GET_MODE (x6) != E_TImode)
9963 : return -1;
9964 629 : x7 = XEXP (x6, 0);
9965 629 : operands[2] = x7;
9966 629 : if (!register_operand (operands[2], E_DImode))
9967 : return -1;
9968 629 : x8 = XEXP (x5, 1);
9969 629 : operands[4] = x8;
9970 629 : if (!const_0_to_255_operand (operands[4], E_QImode))
9971 0 : return -1;
9972 : return 0;
9973 : }
9974 :
9975 : int
9976 18 : pattern1750 (rtx x1, machine_mode i1)
9977 : {
9978 18 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
9979 18 : rtx x2, x3, x4, x5;
9980 18 : int res ATTRIBUTE_UNUSED;
9981 18 : x2 = XVECEXP (x1, 0, 0);
9982 18 : x3 = XEXP (x2, 0);
9983 18 : if (GET_MODE (x3) != i1
9984 18 : || !register_operand (operands[1], i1)
9985 36 : || !register_operand (operands[2], i1))
9986 : return -1;
9987 18 : x4 = XVECEXP (x1, 0, 1);
9988 18 : if (GET_MODE (x4) != i1)
9989 : return -1;
9990 18 : x5 = XEXP (x4, 0);
9991 18 : if (GET_MODE (x5) != i1)
9992 0 : return -1;
9993 : return 0;
9994 : }
9995 :
9996 : int
9997 10232 : pattern1754 (rtx x1)
9998 : {
9999 10232 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10000 10232 : rtx x2, x3, x4, x5, x6, x7, x8;
10001 10232 : int res ATTRIBUTE_UNUSED;
10002 10232 : x2 = XVECEXP (x1, 0, 0);
10003 10232 : x3 = XEXP (x2, 1);
10004 10232 : x4 = XVECEXP (x3, 0, 3);
10005 10232 : operands[4] = x4;
10006 10232 : if (!const_int_operand (operands[4], E_SImode))
10007 : return -1;
10008 10232 : x5 = XVECEXP (x3, 0, 1);
10009 10232 : if (!rtx_equal_p (x5, operands[0]))
10010 : return -1;
10011 6901 : x6 = XEXP (x2, 0);
10012 6901 : if (!rtx_equal_p (x6, operands[0]))
10013 : return -1;
10014 6901 : x7 = XVECEXP (x1, 0, 1);
10015 6901 : x8 = XEXP (x7, 0);
10016 6901 : if (!rtx_equal_p (x8, operands[2]))
10017 0 : return -1;
10018 : return 0;
10019 : }
10020 :
10021 : int
10022 447 : pattern1759 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
10023 : {
10024 447 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10025 447 : rtx x2, x3;
10026 447 : int res ATTRIBUTE_UNUSED;
10027 447 : if (!register_operand (operands[0], i2)
10028 447 : || GET_MODE (x1) != i2)
10029 : return -1;
10030 441 : x2 = XVECEXP (x1, 0, 0);
10031 441 : if (GET_MODE (x2) != i2)
10032 : return -1;
10033 441 : x3 = XEXP (x2, 0);
10034 441 : if (GET_MODE (x3) != i2
10035 441 : || !register_operand (operands[1], i2)
10036 441 : || !register_operand (operands[2], i2)
10037 441 : || !nonimmediate_operand (operands[3], i1)
10038 882 : || !register_operand (operands[5], i3))
10039 0 : return -1;
10040 : return 0;
10041 : }
10042 :
10043 : int
10044 842 : pattern1764 (rtx x1, machine_mode i1, machine_mode i2)
10045 : {
10046 842 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10047 842 : rtx x2, x3;
10048 842 : int res ATTRIBUTE_UNUSED;
10049 842 : if (!register_operand (operands[0], i1)
10050 780 : || GET_MODE (x1) != i1
10051 780 : || !vsib_mem_operator (operands[6], i2)
10052 1622 : || !register_operand (operands[4], i1))
10053 : return -1;
10054 213 : x2 = XVECEXP (x1, 0, 1);
10055 213 : x3 = XEXP (x2, 0);
10056 213 : switch (GET_MODE (x3))
10057 : {
10058 22 : case E_SImode:
10059 22 : return pattern1763 (
10060 22 : E_SImode); /* [-1, 1] */
10061 :
10062 191 : case E_DImode:
10063 191 : res = pattern1763 (
10064 : E_DImode);
10065 191 : if (res >= 0)
10066 64 : return res + 2; /* [2, 3] */
10067 : return -1;
10068 :
10069 : default:
10070 : return -1;
10071 : }
10072 : }
10073 :
10074 : int
10075 1460 : pattern1771 (rtx x1, machine_mode i1)
10076 : {
10077 1460 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10078 1460 : rtx x2, x3, x4;
10079 1460 : int res ATTRIBUTE_UNUSED;
10080 1460 : if (!vsib_mem_operator (operands[5], i1)
10081 1460 : || !register_operand (operands[6], E_QImode))
10082 : return -1;
10083 1148 : x2 = XEXP (x1, 1);
10084 1148 : if (GET_MODE (x2) != i1
10085 1148 : || !register_operand (operands[3], i1)
10086 2258 : || !scratch_operand (operands[1], E_QImode))
10087 : return -1;
10088 1110 : x3 = XEXP (x1, 0);
10089 1110 : x4 = XEXP (x3, 0);
10090 1110 : switch (GET_MODE (x4))
10091 : {
10092 45 : case E_SImode:
10093 45 : return pattern1770 (
10094 45 : E_SImode); /* [-1, 1] */
10095 :
10096 1065 : case E_DImode:
10097 1065 : res = pattern1770 (
10098 : E_DImode);
10099 1065 : if (res >= 0)
10100 963 : return res + 2; /* [2, 3] */
10101 : return -1;
10102 :
10103 : default:
10104 : return -1;
10105 : }
10106 : }
10107 :
10108 : int
10109 855 : pattern1779 (machine_mode i1)
10110 : {
10111 855 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10112 855 : int res ATTRIBUTE_UNUSED;
10113 855 : if (!vsib_address_operand (operands[3], i1))
10114 : return -1;
10115 851 : switch (GET_MODE (operands[2]))
10116 : {
10117 442 : case E_V8SImode:
10118 442 : if (!register_operand (operands[2], E_V8SImode))
10119 50 : return -1;
10120 : return 0;
10121 :
10122 409 : case E_V8DImode:
10123 409 : if (!register_operand (operands[2], E_V8DImode))
10124 25 : return -1;
10125 : return 1;
10126 :
10127 : default:
10128 : return -1;
10129 : }
10130 : }
10131 :
10132 : int
10133 123 : pattern1783 (machine_mode i1)
10134 : {
10135 123 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10136 123 : int res ATTRIBUTE_UNUSED;
10137 123 : if (!vsib_address_operand (operands[3], i1))
10138 : return -1;
10139 119 : switch (GET_MODE (operands[2]))
10140 : {
10141 34 : case E_V4SImode:
10142 34 : if (!register_operand (operands[2], E_V4SImode))
10143 0 : return -1;
10144 : return 0;
10145 :
10146 85 : case E_V4DImode:
10147 85 : if (!register_operand (operands[2], E_V4DImode))
10148 8 : return -1;
10149 : return 1;
10150 :
10151 : default:
10152 : return -1;
10153 : }
10154 : }
10155 :
10156 : int
10157 36 : pattern1788 (rtx x1, machine_mode i1)
10158 : {
10159 36 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10160 36 : int res ATTRIBUTE_UNUSED;
10161 36 : if (!ix86_carry_flag_operator (operands[2], i1)
10162 36 : || !nonimmediate_operand (operands[1], i1)
10163 12 : || !nonimmediate_operand (operands[0], i1)
10164 48 : || GET_MODE (x1) != i1)
10165 24 : return -1;
10166 : return 0;
10167 : }
10168 :
10169 : int
10170 13939 : pattern1792 (rtx x1, machine_mode i1)
10171 : {
10172 13939 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10173 13939 : rtx x2, x3, x4, x5;
10174 13939 : int res ATTRIBUTE_UNUSED;
10175 13939 : if (!register_operand (operands[0], i1))
10176 : return -1;
10177 13939 : x2 = XVECEXP (x1, 0, 0);
10178 13939 : x3 = XEXP (x2, 1);
10179 13939 : if (GET_MODE (x3) != i1)
10180 : return -1;
10181 13939 : x4 = XVECEXP (x1, 0, 1);
10182 13939 : if (GET_MODE (x4) != i1)
10183 : return -1;
10184 13939 : x5 = XVECEXP (x4, 0, 1);
10185 13939 : if (GET_MODE (x5) != i1
10186 13939 : || !register_operand (operands[4], i1))
10187 0 : return -1;
10188 : return 0;
10189 : }
10190 :
10191 : int
10192 514 : pattern1796 (rtx x1, machine_mode i1)
10193 : {
10194 514 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10195 514 : rtx x2, x3, x4;
10196 514 : int res ATTRIBUTE_UNUSED;
10197 514 : if (!register_operand (operands[0], i1)
10198 514 : || GET_MODE (x1) != i1)
10199 : return -1;
10200 492 : x2 = XVECEXP (x1, 0, 0);
10201 492 : if (GET_MODE (x2) != i1)
10202 : return -1;
10203 492 : x3 = XEXP (x2, 0);
10204 492 : if (GET_MODE (x3) != i1)
10205 : return -1;
10206 492 : x4 = XEXP (x3, 0);
10207 492 : if (GET_MODE (x4) != i1
10208 492 : || !register_operand (operands[2], i1)
10209 492 : || !nonimm_or_0_operand (operands[4], i1)
10210 984 : || !register_operand (operands[1], i1))
10211 0 : return -1;
10212 : return 0;
10213 : }
10214 :
10215 : int
10216 354 : pattern1799 (rtx x1, machine_mode i1)
10217 : {
10218 354 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10219 354 : rtx x2, x3, x4, x5;
10220 354 : int res ATTRIBUTE_UNUSED;
10221 354 : if (!register_operand (operands[0], i1)
10222 354 : || GET_MODE (x1) != i1)
10223 : return -1;
10224 346 : x2 = XVECEXP (x1, 0, 0);
10225 346 : if (GET_MODE (x2) != i1)
10226 : return -1;
10227 346 : x3 = XEXP (x2, 0);
10228 346 : if (GET_MODE (x3) != i1)
10229 : return -1;
10230 346 : x4 = XEXP (x3, 0);
10231 346 : if (GET_MODE (x4) != i1)
10232 : return -1;
10233 346 : x5 = XEXP (x4, 0);
10234 346 : if (GET_MODE (x5) != i1
10235 346 : || !register_operand (operands[2], i1)
10236 341 : || !nonimmediate_operand (operands[1], i1)
10237 341 : || !register_operand (operands[3], i1)
10238 686 : || !const0_operand (operands[4], i1))
10239 6 : return -1;
10240 : return 0;
10241 : }
10242 :
10243 : int
10244 182 : pattern1805 (machine_mode i1)
10245 : {
10246 182 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10247 182 : int res ATTRIBUTE_UNUSED;
10248 182 : if (!vsib_address_operand (operands[3], i1))
10249 : return -1;
10250 162 : switch (GET_MODE (operands[4]))
10251 : {
10252 72 : case E_V4SImode:
10253 72 : if (!register_operand (operands[4], E_V4SImode))
10254 36 : return -1;
10255 : return 0;
10256 :
10257 90 : case E_V4DImode:
10258 90 : if (!register_operand (operands[4], E_V4DImode))
10259 36 : return -1;
10260 : return 1;
10261 :
10262 : default:
10263 : return -1;
10264 : }
10265 : }
10266 :
10267 : int
10268 519 : pattern1810 (machine_mode i1)
10269 : {
10270 519 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10271 519 : int res ATTRIBUTE_UNUSED;
10272 519 : if (!vsib_address_operand (operands[4], i1))
10273 : return -1;
10274 519 : switch (GET_MODE (operands[3]))
10275 : {
10276 291 : case E_V4SImode:
10277 291 : if (!register_operand (operands[3], E_V4SImode))
10278 25 : return -1;
10279 : return 0;
10280 :
10281 228 : case E_V4DImode:
10282 228 : if (!register_operand (operands[3], E_V4DImode))
10283 6 : return -1;
10284 : return 1;
10285 :
10286 : default:
10287 : return -1;
10288 : }
10289 : }
10290 :
10291 : int
10292 116 : pattern1816 (rtx x1, machine_mode i1)
10293 : {
10294 116 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10295 116 : int res ATTRIBUTE_UNUSED;
10296 116 : if (!nonimmediate_operand (operands[1], i1)
10297 116 : || !ix86_carry_flag_operator (operands[2], i1)
10298 116 : || !nonimmediate_operand (operands[0], i1)
10299 232 : || GET_MODE (x1) != i1)
10300 0 : return -1;
10301 : return 0;
10302 : }
10303 :
10304 : int
10305 8 : pattern1820 (rtx x1)
10306 : {
10307 8 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10308 8 : rtx x2, x3, x4, x5, x6;
10309 8 : int res ATTRIBUTE_UNUSED;
10310 8 : x2 = XEXP (x1, 1);
10311 8 : if (GET_CODE (x2) != COMPARE
10312 2 : || GET_MODE (x2) != E_CCZmode)
10313 : return -1;
10314 2 : x3 = XEXP (x2, 0);
10315 2 : if (GET_CODE (x3) != AND
10316 2 : || GET_MODE (x3) != E_QImode)
10317 : return -1;
10318 2 : x4 = XEXP (x3, 1);
10319 2 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
10320 : return -1;
10321 2 : x5 = XEXP (x2, 1);
10322 2 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10323 : return -1;
10324 2 : x6 = XEXP (x1, 0);
10325 2 : if (GET_CODE (x6) != REG
10326 2 : || REGNO (x6) != 17
10327 4 : || GET_MODE (x6) != E_CCZmode)
10328 0 : return -1;
10329 : return 0;
10330 : }
10331 :
10332 : int
10333 104 : pattern1827 ()
10334 : {
10335 104 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10336 104 : int res ATTRIBUTE_UNUSED;
10337 104 : switch (GET_MODE (operands[3]))
10338 : {
10339 14 : case E_HImode:
10340 14 : if (!extract_high_operator (operands[3], E_HImode))
10341 0 : return -1;
10342 : return 0;
10343 :
10344 64 : case E_SImode:
10345 64 : if (!extract_high_operator (operands[3], E_SImode))
10346 45 : return -1;
10347 : return 1;
10348 :
10349 26 : case E_DImode:
10350 26 : if (!extract_high_operator (operands[3], E_DImode))
10351 14 : return -1;
10352 : return 2;
10353 :
10354 : default:
10355 : return -1;
10356 : }
10357 : }
10358 :
10359 : int
10360 11519 : pattern1834 (rtx x1)
10361 : {
10362 11519 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10363 11519 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10364 11519 : rtx x10, x11, x12, x13, x14, x15, x16;
10365 11519 : int res ATTRIBUTE_UNUSED;
10366 11519 : x2 = XVECEXP (x1, 0, 1);
10367 11519 : if (XWINT (x2, 0) != 1L)
10368 : return -1;
10369 6893 : x3 = XVECEXP (x1, 0, 2);
10370 6893 : if (XWINT (x3, 0) != 2L)
10371 : return -1;
10372 6531 : x4 = XVECEXP (x1, 0, 3);
10373 6531 : if (XWINT (x4, 0) != 3L)
10374 : return -1;
10375 6521 : x5 = XVECEXP (x1, 0, 4);
10376 6521 : if (XWINT (x5, 0) != 4L)
10377 : return -1;
10378 6406 : x6 = XVECEXP (x1, 0, 5);
10379 6406 : if (XWINT (x6, 0) != 5L)
10380 : return -1;
10381 6366 : x7 = XVECEXP (x1, 0, 6);
10382 6366 : if (XWINT (x7, 0) != 6L)
10383 : return -1;
10384 6366 : x8 = XVECEXP (x1, 0, 7);
10385 6366 : if (XWINT (x8, 0) != 7L)
10386 : return -1;
10387 6366 : x9 = XVECEXP (x1, 0, 8);
10388 6366 : if (XWINT (x9, 0) != 8L)
10389 : return -1;
10390 6290 : x10 = XVECEXP (x1, 0, 9);
10391 6290 : if (XWINT (x10, 0) != 9L)
10392 : return -1;
10393 6266 : x11 = XVECEXP (x1, 0, 10);
10394 6266 : if (XWINT (x11, 0) != 10L)
10395 : return -1;
10396 6266 : x12 = XVECEXP (x1, 0, 11);
10397 6266 : if (XWINT (x12, 0) != 11L)
10398 : return -1;
10399 6266 : x13 = XVECEXP (x1, 0, 12);
10400 6266 : if (XWINT (x13, 0) != 12L)
10401 : return -1;
10402 6265 : x14 = XVECEXP (x1, 0, 13);
10403 6265 : if (XWINT (x14, 0) != 13L)
10404 : return -1;
10405 6265 : x15 = XVECEXP (x1, 0, 14);
10406 6265 : if (XWINT (x15, 0) != 14L)
10407 : return -1;
10408 6241 : x16 = XVECEXP (x1, 0, 15);
10409 6241 : if (XWINT (x16, 0) != 15L)
10410 0 : return -1;
10411 : return 0;
10412 : }
10413 :
10414 : int
10415 25 : pattern1844 (rtx x1, machine_mode i1)
10416 : {
10417 25 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10418 25 : rtx x2, x3, x4, x5, x6, x7;
10419 25 : int res ATTRIBUTE_UNUSED;
10420 25 : if (!register_operand (operands[0], i1))
10421 : return -1;
10422 25 : x2 = XVECEXP (x1, 0, 0);
10423 25 : x3 = XEXP (x2, 1);
10424 25 : if (GET_MODE (x3) != i1
10425 25 : || !register_operand (operands[1], i1))
10426 : return -1;
10427 25 : x4 = XVECEXP (x1, 0, 1);
10428 25 : x5 = XEXP (x4, 0);
10429 25 : if (GET_MODE (x5) != i1)
10430 : return -1;
10431 25 : x6 = XEXP (x4, 1);
10432 25 : if (GET_MODE (x6) != i1)
10433 : return -1;
10434 25 : x7 = XEXP (x6, 0);
10435 25 : if (GET_MODE (x7) != i1
10436 25 : || !const_int_operand (operands[2], i1))
10437 0 : return -1;
10438 : return 0;
10439 : }
10440 :
10441 : int
10442 718 : pattern1851 (rtx x1, int i1, int i2, int i3, int i4)
10443 : {
10444 718 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10445 718 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10446 718 : int res ATTRIBUTE_UNUSED;
10447 718 : x2 = XVECEXP (x1, 0, 12);
10448 718 : if (x2 != const_int_rtx[MAX_SAVED_CONST_INT + i4])
10449 : return -1;
10450 718 : x3 = XVECEXP (x1, 0, 13);
10451 718 : if (x3 != const_int_rtx[MAX_SAVED_CONST_INT + i3])
10452 : return -1;
10453 718 : x4 = XVECEXP (x1, 0, 14);
10454 718 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + i2])
10455 : return -1;
10456 718 : x5 = XVECEXP (x1, 0, 15);
10457 718 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + i1])
10458 : return -1;
10459 718 : x6 = XVECEXP (x1, 0, 16);
10460 718 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
10461 : return -1;
10462 718 : x7 = XVECEXP (x1, 0, 17);
10463 718 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 9])
10464 : return -1;
10465 718 : x8 = XVECEXP (x1, 0, 18);
10466 718 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 10])
10467 : return -1;
10468 718 : x9 = XVECEXP (x1, 0, 19);
10469 718 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 11])
10470 0 : return -1;
10471 : return 0;
10472 : }
10473 :
10474 : int
10475 1014 : pattern1858 (rtx x1, machine_mode i1, machine_mode i2)
10476 : {
10477 1014 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10478 1014 : rtx x2, x3;
10479 1014 : int res ATTRIBUTE_UNUSED;
10480 1014 : if (!register_operand (operands[0], i1)
10481 1006 : || GET_MODE (x1) != i1
10482 1006 : || !register_operand (operands[2], i1)
10483 1006 : || !vsib_mem_operator (operands[7], i2)
10484 1006 : || !register_operand (operands[5], i1)
10485 1965 : || !scratch_operand (operands[1], i1))
10486 : return -1;
10487 951 : x2 = XVECEXP (x1, 0, 1);
10488 951 : x3 = XEXP (x2, 0);
10489 951 : switch (GET_MODE (x3))
10490 : {
10491 0 : case E_SImode:
10492 0 : return pattern1857 (
10493 0 : E_SImode); /* [-1, 1] */
10494 :
10495 951 : case E_DImode:
10496 951 : res = pattern1857 (
10497 : E_DImode);
10498 951 : if (res >= 0)
10499 854 : return res + 2; /* [2, 3] */
10500 : return -1;
10501 :
10502 : default:
10503 : return -1;
10504 : }
10505 : }
10506 :
10507 : int
10508 3936 : pattern1864 (rtx x1, machine_mode i1)
10509 : {
10510 3936 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10511 3936 : rtx x2;
10512 3936 : int res ATTRIBUTE_UNUSED;
10513 3936 : if (!x86_64_general_operand (operands[2], i1)
10514 3902 : || !nonimmediate_operand (operands[0], i1)
10515 7838 : || GET_MODE (x1) != i1)
10516 : return -1;
10517 3902 : x2 = XEXP (x1, 0);
10518 3902 : if (GET_MODE (x2) != i1)
10519 0 : return -1;
10520 : return 0;
10521 : }
10522 :
10523 : int
10524 28814 : pattern1869 (rtx x1, machine_mode i1, machine_mode i2)
10525 : {
10526 28814 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10527 28814 : rtx x2, x3, x4, x5, x6;
10528 28814 : int res ATTRIBUTE_UNUSED;
10529 28814 : x2 = XVECEXP (x1, 0, 0);
10530 28814 : x3 = XEXP (x2, 1);
10531 28814 : x4 = XEXP (x3, 0);
10532 28814 : x5 = XEXP (x4, 0);
10533 28814 : if (GET_MODE (x5) != i2
10534 28814 : || !nonimmediate_operand (operands[1], i1))
10535 : return -1;
10536 28663 : x6 = XEXP (x4, 1);
10537 28663 : if (GET_MODE (x6) != i2
10538 28663 : || !x86_64_sext_operand (operands[2], i1)
10539 57326 : || pattern1868 (x1,
10540 : i1,
10541 : i2) != 0)
10542 0 : return -1;
10543 : return 0;
10544 : }
10545 :
10546 : int
10547 508 : pattern1875 (rtx x1, machine_mode i1)
10548 : {
10549 508 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10550 508 : rtx x2, x3, x4;
10551 508 : int res ATTRIBUTE_UNUSED;
10552 508 : operands[4] = x1;
10553 508 : if (!register_operand (operands[4], i1))
10554 : return -1;
10555 159 : x2 = PATTERN (peep2_next_insn (3));
10556 159 : if (GET_CODE (x2) != SET)
10557 : return -1;
10558 159 : x3 = XEXP (x2, 1);
10559 159 : if (!rtx_equal_p (x3, operands[4]))
10560 : return -1;
10561 1 : x4 = XEXP (x2, 0);
10562 1 : if (!rtx_equal_p (x4, operands[1]))
10563 1 : return -1;
10564 : return 0;
10565 : }
10566 :
10567 : int
10568 385 : pattern1879 ()
10569 : {
10570 385 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10571 385 : int res ATTRIBUTE_UNUSED;
10572 385 : if (!const_0_to_3_operand (operands[2], E_VOIDmode)
10573 385 : || !const_0_to_3_operand (operands[3], E_VOIDmode)
10574 385 : || !const_0_to_3_operand (operands[4], E_VOIDmode)
10575 385 : || !const_0_to_3_operand (operands[5], E_VOIDmode)
10576 385 : || !const_4_to_7_operand (operands[6], E_VOIDmode)
10577 385 : || !const_4_to_7_operand (operands[7], E_VOIDmode)
10578 385 : || !const_4_to_7_operand (operands[8], E_VOIDmode)
10579 770 : || !const_4_to_7_operand (operands[9], E_VOIDmode))
10580 0 : return -1;
10581 : return 0;
10582 : }
10583 :
10584 : int
10585 234 : pattern1883 (rtx x1, machine_mode i1)
10586 : {
10587 234 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10588 234 : rtx x2, x3, x4, x5, x6, x7, x8;
10589 234 : int res ATTRIBUTE_UNUSED;
10590 234 : x2 = XEXP (x1, 0);
10591 234 : x3 = XEXP (x2, 0);
10592 234 : x4 = XEXP (x3, 0);
10593 234 : x5 = XEXP (x4, 0);
10594 234 : operands[2] = x5;
10595 234 : if (!register_operand (operands[2], i1))
10596 : return -1;
10597 233 : x6 = XEXP (x3, 2);
10598 233 : if (GET_MODE (x6) != i1
10599 233 : || !nonimmediate_operand (operands[3], i1))
10600 : return -1;
10601 233 : x7 = XEXP (x2, 1);
10602 233 : if (!rtx_equal_p (x7, operands[3]))
10603 : return -1;
10604 233 : x8 = XEXP (x1, 1);
10605 233 : if (!rtx_equal_p (x8, operands[3]))
10606 0 : return -1;
10607 : return 0;
10608 : }
10609 :
10610 : int
10611 358 : pattern1890 (machine_mode i1)
10612 : {
10613 358 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10614 358 : int res ATTRIBUTE_UNUSED;
10615 358 : if (!vsib_address_operand (operands[0], i1))
10616 : return -1;
10617 345 : switch (GET_MODE (operands[2]))
10618 : {
10619 151 : case E_V8SImode:
10620 151 : if (!register_operand (operands[2], E_V8SImode)
10621 151 : || !register_operand (operands[3], E_V8SFmode))
10622 2 : return -1;
10623 : return 0;
10624 :
10625 194 : case E_V4DImode:
10626 194 : if (!register_operand (operands[2], E_V4DImode)
10627 194 : || !register_operand (operands[3], E_V4SFmode))
10628 21 : return -1;
10629 : return 1;
10630 :
10631 : default:
10632 : return -1;
10633 : }
10634 : }
10635 :
10636 : int
10637 33434 : pattern1893 (rtx x1, machine_mode i1)
10638 : {
10639 33434 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10640 33434 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10641 33434 : int res ATTRIBUTE_UNUSED;
10642 33434 : operands[4] = x1;
10643 33434 : if (!register_operand (operands[4], i1))
10644 : return -1;
10645 3470 : x2 = PATTERN (peep2_next_insn (3));
10646 3470 : x3 = XEXP (x2, 1);
10647 3470 : if (!rtx_equal_p (x3, operands[4]))
10648 : return -1;
10649 425 : x4 = XEXP (x2, 0);
10650 425 : if (!rtx_equal_p (x4, operands[1]))
10651 : return -1;
10652 12 : x5 = PATTERN (peep2_next_insn (4));
10653 12 : if (GET_CODE (x5) != SET)
10654 : return -1;
10655 11 : x6 = XEXP (x5, 1);
10656 11 : if (GET_CODE (x6) != COMPARE)
10657 : return -1;
10658 1 : x7 = XEXP (x6, 1);
10659 1 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10660 : return -1;
10661 1 : x8 = XEXP (x5, 0);
10662 1 : if (GET_CODE (x8) != REG
10663 1 : || REGNO (x8) != 17)
10664 : return -1;
10665 1 : x9 = XEXP (x6, 0);
10666 1 : if (!rtx_equal_p (x9, operands[4]))
10667 1 : return -1;
10668 : return 0;
10669 : }
10670 :
10671 : int
10672 552 : pattern1899 (rtx x1, machine_mode i1)
10673 : {
10674 552 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10675 552 : rtx x2;
10676 552 : int res ATTRIBUTE_UNUSED;
10677 552 : if (!register_operand (operands[0], i1)
10678 552 : || GET_MODE (x1) != i1)
10679 : return -1;
10680 502 : x2 = XEXP (x1, 0);
10681 502 : if (GET_MODE (x2) != i1
10682 502 : || !nonimmediate_operand (operands[1], i1)
10683 1004 : || !nonimm_or_0_operand (operands[10], i1))
10684 24 : return -1;
10685 : return 0;
10686 : }
10687 :
10688 : int
10689 351 : pattern1902 (rtx x1)
10690 : {
10691 351 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10692 351 : rtx x2, x3, x4, x5;
10693 351 : int res ATTRIBUTE_UNUSED;
10694 351 : x2 = XVECEXP (x1, 0, 4);
10695 351 : if (XWINT (x2, 0) != 6L)
10696 : return -1;
10697 351 : x3 = XVECEXP (x1, 0, 5);
10698 351 : if (XWINT (x3, 0) != 22L)
10699 : return -1;
10700 351 : x4 = XVECEXP (x1, 0, 6);
10701 351 : if (XWINT (x4, 0) != 7L)
10702 : return -1;
10703 351 : x5 = XVECEXP (x1, 0, 7);
10704 351 : if (XWINT (x5, 0) != 23L)
10705 0 : return -1;
10706 : return 0;
10707 : }
10708 :
10709 : int
10710 119 : pattern1904 (rtx x1, machine_mode i1, machine_mode i2, machine_mode i3)
10711 : {
10712 119 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10713 119 : rtx x2, x3, x4;
10714 119 : int res ATTRIBUTE_UNUSED;
10715 119 : if (!register_operand (operands[0], i1)
10716 119 : || GET_MODE (x1) != i1)
10717 : return -1;
10718 111 : x2 = XEXP (x1, 0);
10719 111 : if (GET_MODE (x2) != i3
10720 111 : || !vsib_mem_operator (operands[6], i2)
10721 222 : || !register_operand (operands[4], i1))
10722 : return -1;
10723 30 : x3 = XVECEXP (x2, 0, 1);
10724 30 : x4 = XEXP (x3, 0);
10725 30 : switch (GET_MODE (x4))
10726 : {
10727 0 : case E_SImode:
10728 0 : if (!vsib_address_operand (operands[2], E_SImode))
10729 0 : return -1;
10730 : return 0;
10731 :
10732 30 : case E_DImode:
10733 30 : if (!vsib_address_operand (operands[2], E_DImode))
10734 8 : return -1;
10735 : return 1;
10736 :
10737 : default:
10738 : return -1;
10739 : }
10740 : }
10741 :
10742 : int
10743 23886 : pattern1908 (rtx x1, machine_mode i1, machine_mode i2)
10744 : {
10745 23886 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10746 23886 : rtx x2, x3, x4, x5;
10747 23886 : int res ATTRIBUTE_UNUSED;
10748 23886 : if (!register_operand (operands[0], i1))
10749 : return -1;
10750 23886 : x2 = XVECEXP (x1, 0, 0);
10751 23886 : x3 = XEXP (x2, 1);
10752 23886 : if (GET_MODE (x3) != i1
10753 23886 : || !memory_operand (operands[1], i1)
10754 23730 : || !register_operand (operands[2], i1)
10755 23600 : || !register_operand (operands[3], i2)
10756 44599 : || !register_operand (operands[4], i2))
10757 : return -1;
10758 20042 : x4 = XVECEXP (x1, 0, 1);
10759 20042 : x5 = XEXP (x4, 1);
10760 20042 : if (GET_MODE (x5) != i1)
10761 0 : return -1;
10762 : return 0;
10763 : }
10764 :
10765 : int
10766 614 : pattern1912 (rtx x1, machine_mode i1, machine_mode i2)
10767 : {
10768 614 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10769 614 : int res ATTRIBUTE_UNUSED;
10770 614 : if (!register_operand (operands[2], i1)
10771 614 : || !register_operand (operands[4], i2))
10772 : return -1;
10773 570 : return pattern1911 (x1,
10774 570 : i1); /* [-1, 1] */
10775 : }
10776 :
10777 : int
10778 503 : pattern1914 (rtx x1, machine_mode i1, machine_mode i2)
10779 : {
10780 503 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10781 503 : rtx x2, x3, x4, x5, x6, x7;
10782 503 : int res ATTRIBUTE_UNUSED;
10783 503 : if (!nonimmediate_operand (operands[1], i1))
10784 : return -1;
10785 503 : x2 = XVECEXP (x1, 0, 0);
10786 503 : x3 = XEXP (x2, 1);
10787 503 : x4 = XEXP (x3, 1);
10788 503 : if (GET_MODE (x4) != i2
10789 503 : || !ix86_carry_flag_operator (operands[4], i2)
10790 503 : || !const_scalar_int_operand (operands[6], i2)
10791 1006 : || !nonimmediate_operand (operands[0], i1))
10792 : return -1;
10793 503 : x5 = XVECEXP (x1, 0, 1);
10794 503 : x6 = XEXP (x5, 1);
10795 503 : if (GET_MODE (x6) != i1)
10796 : return -1;
10797 503 : x7 = XEXP (x6, 0);
10798 503 : if (GET_MODE (x7) != i1
10799 503 : || !ix86_carry_flag_operator (operands[5], i1)
10800 1006 : || !x86_64_immediate_operand (operands[2], i1))
10801 348 : return -1;
10802 : return 0;
10803 : }
10804 :
10805 : int
10806 233 : pattern1921 (rtx x1)
10807 : {
10808 233 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10809 233 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10810 233 : rtx x10, x11, x12;
10811 233 : int res ATTRIBUTE_UNUSED;
10812 233 : x2 = XEXP (x1, 1);
10813 233 : x3 = XEXP (x2, 0);
10814 233 : x4 = XEXP (x3, 1);
10815 233 : x5 = XVECEXP (x4, 0, 0);
10816 233 : operands[5] = x5;
10817 233 : if (!const_0_to_1_operand (operands[5], E_SImode))
10818 : return -1;
10819 233 : x6 = XEXP (x2, 1);
10820 233 : x7 = XEXP (x6, 1);
10821 233 : x8 = XVECEXP (x7, 0, 0);
10822 233 : operands[6] = x8;
10823 233 : if (!const_0_to_1_operand (operands[6], E_SImode))
10824 : return -1;
10825 233 : x9 = XEXP (x1, 0);
10826 233 : x10 = XEXP (x9, 1);
10827 233 : x11 = XEXP (x10, 0);
10828 233 : if (!rtx_equal_p (x11, operands[1]))
10829 : return -1;
10830 233 : x12 = XEXP (x6, 0);
10831 233 : if (!rtx_equal_p (x12, operands[2]))
10832 0 : return -1;
10833 : return 0;
10834 : }
10835 :
10836 : int
10837 1219 : pattern1926 ()
10838 : {
10839 1219 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10840 1219 : int res ATTRIBUTE_UNUSED;
10841 1219 : if (!const_0_to_15_operand (operands[4], E_VOIDmode)
10842 1057 : || !const_0_to_15_operand (operands[5], E_VOIDmode)
10843 946 : || !const_0_to_15_operand (operands[6], E_VOIDmode)
10844 946 : || !const_0_to_15_operand (operands[7], E_VOIDmode)
10845 918 : || !const_0_to_15_operand (operands[8], E_VOIDmode)
10846 914 : || !const_0_to_15_operand (operands[9], E_VOIDmode)
10847 914 : || !const_0_to_15_operand (operands[10], E_VOIDmode)
10848 914 : || !const_16_to_31_operand (operands[11], E_VOIDmode)
10849 831 : || !const_16_to_31_operand (operands[12], E_VOIDmode)
10850 831 : || !const_16_to_31_operand (operands[13], E_VOIDmode)
10851 831 : || !const_16_to_31_operand (operands[14], E_VOIDmode)
10852 831 : || !const_16_to_31_operand (operands[15], E_VOIDmode)
10853 831 : || !const_16_to_31_operand (operands[16], E_VOIDmode)
10854 831 : || !const_16_to_31_operand (operands[17], E_VOIDmode)
10855 2050 : || !const_16_to_31_operand (operands[18], E_VOIDmode))
10856 388 : return -1;
10857 : return 0;
10858 : }
10859 :
10860 : int
10861 1887 : pattern1931 (rtx x1, machine_mode i1)
10862 : {
10863 1887 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10864 1887 : rtx x2, x3, x4, x5;
10865 1887 : int res ATTRIBUTE_UNUSED;
10866 1887 : if (!register_operand (operands[0], i1)
10867 1887 : || !const_int_operand (operands[2], i1))
10868 : return -1;
10869 1887 : x2 = XVECEXP (x1, 0, 0);
10870 1887 : x3 = XEXP (x2, 1);
10871 1887 : if (GET_MODE (x3) != i1
10872 1887 : || !memory_operand (operands[1], i1))
10873 : return -1;
10874 1887 : x4 = XVECEXP (x1, 0, 1);
10875 1887 : x5 = XEXP (x4, 1);
10876 1887 : if (GET_MODE (x5) != i1
10877 1887 : || !const_int_operand (operands[3], i1))
10878 110 : return -1;
10879 : return 0;
10880 : }
10881 :
10882 : int
10883 1004 : pattern1934 (rtx x1, machine_mode i1)
10884 : {
10885 1004 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10886 1004 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10887 1004 : rtx x10;
10888 1004 : int res ATTRIBUTE_UNUSED;
10889 1004 : x2 = XVECEXP (x1, 0, 1);
10890 1004 : x3 = XEXP (x2, 1);
10891 1004 : if (XINT (x3, 1) != 125
10892 1004 : || GET_MODE (x3) != i1)
10893 : return -1;
10894 1004 : x4 = XVECEXP (x1, 0, 2);
10895 1004 : x5 = XEXP (x4, 1);
10896 1004 : if (GET_CODE (x5) != UNSPEC_VOLATILE
10897 1004 : || XVECLEN (x5, 0) != 1
10898 1004 : || XINT (x5, 1) != 125
10899 1004 : || GET_MODE (x5) != E_CCZmode)
10900 : return -1;
10901 1004 : x6 = XVECEXP (x5, 0, 0);
10902 1004 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
10903 1004 : || !memory_operand (operands[2], i1)
10904 2008 : || !register_operand (operands[3], i1))
10905 : return -1;
10906 1004 : x7 = XEXP (x4, 0);
10907 1004 : if (GET_MODE (x7) != E_CCZmode)
10908 : return -1;
10909 1004 : x8 = PATTERN (peep2_next_insn (2));
10910 1004 : x9 = XEXP (x8, 0);
10911 1004 : if (GET_MODE (x9) != E_CCZmode)
10912 : return -1;
10913 1004 : x10 = XEXP (x8, 1);
10914 1004 : if (GET_MODE (x10) != E_CCZmode
10915 1004 : || !register_operand (operands[5], i1)
10916 2003 : || !general_operand (operands[6], i1))
10917 5 : return -1;
10918 : return 0;
10919 : }
10920 :
10921 : int
10922 448 : pattern1942 ()
10923 : {
10924 448 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10925 448 : int res ATTRIBUTE_UNUSED;
10926 448 : if (!const_0_to_15_operand (operands[4], E_VOIDmode)
10927 432 : || !const_0_to_15_operand (operands[5], E_VOIDmode)
10928 432 : || !const_0_to_15_operand (operands[6], E_VOIDmode)
10929 432 : || !const_0_to_15_operand (operands[7], E_VOIDmode)
10930 432 : || !const_0_to_15_operand (operands[8], E_VOIDmode)
10931 432 : || !const_0_to_15_operand (operands[9], E_VOIDmode)
10932 432 : || !const_0_to_15_operand (operands[10], E_VOIDmode)
10933 432 : || !const_16_to_31_operand (operands[11], E_VOIDmode)
10934 432 : || !const_16_to_31_operand (operands[12], E_VOIDmode)
10935 432 : || !const_16_to_31_operand (operands[13], E_VOIDmode)
10936 432 : || !const_16_to_31_operand (operands[14], E_VOIDmode)
10937 432 : || !const_16_to_31_operand (operands[15], E_VOIDmode)
10938 432 : || !const_16_to_31_operand (operands[16], E_VOIDmode)
10939 432 : || !const_16_to_31_operand (operands[17], E_VOIDmode)
10940 880 : || !const_16_to_31_operand (operands[18], E_VOIDmode))
10941 16 : return -1;
10942 : return 0;
10943 : }
10944 :
10945 : int
10946 968 : pattern1950 (rtx x1, machine_mode i1, machine_mode i2)
10947 : {
10948 968 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10949 968 : rtx x2, x3, x4, x5, x6, x7;
10950 968 : int res ATTRIBUTE_UNUSED;
10951 968 : x2 = XVECEXP (x1, 0, 0);
10952 968 : x3 = XEXP (x2, 1);
10953 968 : x4 = XEXP (x3, 0);
10954 968 : x5 = XEXP (x4, 0);
10955 968 : if (GET_MODE (x5) != i2)
10956 : return -1;
10957 968 : x6 = XEXP (x5, 0);
10958 968 : if (GET_MODE (x6) != i2
10959 968 : || !nonimmediate_operand (operands[1], i1)
10960 1936 : || !ix86_carry_flag_operator (operands[4], i2))
10961 : return -1;
10962 968 : x7 = XEXP (x4, 1);
10963 968 : if (GET_MODE (x7) != i2
10964 968 : || !x86_64_sext_operand (operands[2], i1)
10965 1936 : || pattern1948 (x1,
10966 : i1,
10967 : i2) != 0)
10968 0 : return -1;
10969 : return 0;
10970 : }
10971 :
10972 : int
10973 24 : pattern1954 (rtx x1)
10974 : {
10975 24 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
10976 24 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
10977 24 : int res ATTRIBUTE_UNUSED;
10978 24 : if (GET_CODE (x1) != SET)
10979 : return -1;
10980 24 : x2 = XEXP (x1, 1);
10981 24 : switch (GET_CODE (x2))
10982 : {
10983 12 : case NE:
10984 12 : case EQ:
10985 12 : case GE:
10986 12 : case GT:
10987 12 : case LE:
10988 12 : case LT:
10989 12 : operands[8] = x2;
10990 12 : if (!ix86_comparison_int_operator (operands[8], E_QImode))
10991 : return -1;
10992 12 : x3 = XEXP (x2, 0);
10993 12 : if (GET_CODE (x3) != REG
10994 12 : || REGNO (x3) != 17)
10995 : return -1;
10996 12 : x4 = XEXP (x2, 1);
10997 12 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
10998 : return -1;
10999 12 : x5 = XEXP (x1, 0);
11000 12 : operands[7] = x5;
11001 12 : if (!nonimmediate_operand (operands[7], E_QImode))
11002 0 : return -1;
11003 : return 0;
11004 :
11005 12 : case IF_THEN_ELSE:
11006 12 : x3 = XEXP (x2, 0);
11007 12 : if (!ix86_comparison_int_operator (x3, E_VOIDmode))
11008 : return -1;
11009 12 : operands[7] = x3;
11010 12 : x6 = XEXP (x3, 0);
11011 12 : if (GET_CODE (x6) != REG
11012 12 : || REGNO (x6) != 17)
11013 : return -1;
11014 12 : x7 = XEXP (x3, 1);
11015 12 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11016 : return -1;
11017 12 : x4 = XEXP (x2, 1);
11018 12 : if (GET_CODE (x4) != LABEL_REF)
11019 : return -1;
11020 12 : x8 = XEXP (x2, 2);
11021 12 : if (GET_CODE (x8) != PC)
11022 : return -1;
11023 12 : x5 = XEXP (x1, 0);
11024 12 : if (GET_CODE (x5) != PC)
11025 : return -1;
11026 12 : x9 = XEXP (x4, 0);
11027 12 : operands[8] = x9;
11028 12 : return 1;
11029 :
11030 : default:
11031 : return -1;
11032 : }
11033 : }
11034 :
11035 : int
11036 95288910 : recog_3 (rtx x1 ATTRIBUTE_UNUSED,
11037 : rtx_insn *insn ATTRIBUTE_UNUSED,
11038 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11039 : {
11040 95288910 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11041 95288910 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11042 95288910 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
11043 95288910 : int res ATTRIBUTE_UNUSED;
11044 95288910 : x2 = XEXP (x1, 1);
11045 95288910 : x3 = XEXP (x2, 0);
11046 95288910 : switch (GET_CODE (x3))
11047 : {
11048 95287668 : case NE:
11049 95287668 : case EQ:
11050 95287668 : case GE:
11051 95287668 : case GT:
11052 95287668 : case LE:
11053 95287668 : case LT:
11054 95287668 : case LTGT:
11055 95287668 : case GEU:
11056 95287668 : case GTU:
11057 95287668 : case LEU:
11058 95287668 : case LTU:
11059 95287668 : case UNORDERED:
11060 95287668 : case ORDERED:
11061 95287668 : case UNEQ:
11062 95287668 : case UNGE:
11063 95287668 : case UNGT:
11064 95287668 : case UNLE:
11065 95287668 : case UNLT:
11066 95287668 : operands[1] = x3;
11067 95287668 : res = recog_1 (x1, insn, pnum_clobbers);
11068 95287668 : if (res >= 0)
11069 : return res;
11070 15302780 : if (pnum_clobbers == NULL
11071 15302780 : || !bt_comparison_operator (x3, E_VOIDmode))
11072 : return -1;
11073 9407125 : x4 = XEXP (x3, 1);
11074 9407125 : if (GET_CODE (x4) != CONST_INT)
11075 : return -1;
11076 7126195 : x5 = XEXP (x3, 0);
11077 7126195 : switch (GET_CODE (x5))
11078 : {
11079 4510805 : case REG:
11080 4510805 : case SUBREG:
11081 4510805 : switch (XWINT (x4, 0))
11082 : {
11083 3261252 : case 0L:
11084 3261252 : x6 = XEXP (x2, 1);
11085 3261252 : if (GET_CODE (x6) != PLUS
11086 36886 : || GET_MODE (x6) != E_HImode)
11087 : return -1;
11088 343 : x7 = XEXP (x6, 1);
11089 343 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
11090 : return -1;
11091 30 : x8 = XEXP (x1, 0);
11092 30 : operands[0] = x8;
11093 30 : if (!register_operand (operands[0], E_HImode)
11094 30 : || GET_MODE (x2) != E_HImode)
11095 : return -1;
11096 30 : operands[1] = x3;
11097 30 : operands[2] = x5;
11098 30 : if (!register_operand (operands[2], E_HImode))
11099 : return -1;
11100 14 : x9 = XEXP (x2, 2);
11101 14 : operands[3] = x9;
11102 14 : if (!nonimmediate_operand (operands[3], E_HImode))
11103 : return -1;
11104 4 : x10 = XEXP (x6, 0);
11105 4 : if (!rtx_equal_p (x10, operands[2])
11106 4 : || !insn_condition_10 (operands, insn))
11107 : return -1;
11108 4 : *pnum_clobbers = 1;
11109 4 : return 454; /* *dec_cmovhi */
11110 :
11111 104248 : case -1L:
11112 104248 : x6 = XEXP (x2, 1);
11113 104248 : switch (GET_CODE (x6))
11114 : {
11115 97848 : case LABEL_REF:
11116 97848 : x9 = XEXP (x2, 2);
11117 97848 : if (GET_CODE (x9) != PC)
11118 : return -1;
11119 97848 : x8 = XEXP (x1, 0);
11120 97848 : if (GET_CODE (x8) != PC)
11121 : return -1;
11122 97848 : operands[0] = x3;
11123 97848 : operands[1] = x5;
11124 97848 : x10 = XEXP (x6, 0);
11125 97848 : operands[2] = x10;
11126 97848 : switch (GET_MODE (operands[1]))
11127 : {
11128 4966 : case E_QImode:
11129 4966 : if (!register_operand (operands[1], E_QImode)
11130 4966 : || !insn_condition_11 (operands, insn))
11131 : return -1;
11132 2 : *pnum_clobbers = 1;
11133 2 : return 2805; /* *kortest_cmpqi_jcc */
11134 :
11135 3421 : case E_HImode:
11136 3421 : if (!register_operand (operands[1], E_HImode)
11137 3421 : || !insn_condition_12 (operands, insn))
11138 : return -1;
11139 33 : *pnum_clobbers = 1;
11140 33 : return 2806; /* *kortest_cmphi_jcc */
11141 :
11142 40794 : case E_SImode:
11143 40794 : if (!register_operand (operands[1], E_SImode)
11144 40794 : || !insn_condition_12 (operands, insn))
11145 : return -1;
11146 24 : *pnum_clobbers = 1;
11147 24 : return 2807; /* *kortest_cmpsi_jcc */
11148 :
11149 47605 : case E_DImode:
11150 47605 : if (!register_operand (operands[1], E_DImode)
11151 47605 : || !insn_condition_13 (operands, insn))
11152 : return -1;
11153 7 : *pnum_clobbers = 1;
11154 7 : return 2808; /* *kortest_cmpdi_jcc */
11155 :
11156 : default:
11157 : return -1;
11158 : }
11159 :
11160 5735 : case REG:
11161 5735 : case SUBREG:
11162 5735 : case MEM:
11163 5735 : operands[2] = x6;
11164 5735 : x8 = XEXP (x1, 0);
11165 5735 : operands[0] = x8;
11166 5735 : operands[1] = x3;
11167 5735 : operands[4] = x5;
11168 5735 : x9 = XEXP (x2, 2);
11169 5735 : operands[3] = x9;
11170 5735 : switch (GET_MODE (operands[0]))
11171 : {
11172 241 : case E_QImode:
11173 241 : if (!register_operand (operands[0], E_QImode)
11174 237 : || GET_MODE (x2) != E_QImode
11175 237 : || !register_operand (operands[2], E_QImode)
11176 454 : || !register_operand (operands[3], E_QImode))
11177 : return -1;
11178 139 : switch (pattern1492 ())
11179 : {
11180 92 : case 0:
11181 92 : if (!insn_condition_14 (operands, insn))
11182 : return -1;
11183 0 : *pnum_clobbers = 1;
11184 0 : return 2809; /* *kortest_cmpqi_movqicc */
11185 :
11186 0 : case 1:
11187 0 : if (!insn_condition_15 (operands, insn))
11188 : return -1;
11189 0 : *pnum_clobbers = 1;
11190 0 : return 2810; /* *kortest_cmphi_movqicc */
11191 :
11192 36 : case 2:
11193 36 : if (!insn_condition_16 (operands, insn))
11194 : return -1;
11195 0 : *pnum_clobbers = 1;
11196 0 : return 2811; /* *kortest_cmpsi_movqicc */
11197 :
11198 11 : case 3:
11199 11 : if (!insn_condition_17 (operands, insn))
11200 : return -1;
11201 3 : *pnum_clobbers = 1;
11202 3 : return 2812; /* *kortest_cmpdi_movqicc */
11203 :
11204 : default:
11205 : return -1;
11206 : }
11207 :
11208 37 : case E_HImode:
11209 37 : switch (pattern1493 (x2,
11210 : E_HImode))
11211 : {
11212 3 : case 0:
11213 3 : if (!insn_condition_18 (operands, insn))
11214 : return -1;
11215 3 : *pnum_clobbers = 1;
11216 3 : return 2813; /* *kortest_cmpqi_movhicc */
11217 :
11218 25 : case 1:
11219 25 : if (!insn_condition_19 (operands, insn))
11220 : return -1;
11221 0 : *pnum_clobbers = 1;
11222 0 : return 2816; /* *kortest_cmphi_movhicc */
11223 :
11224 0 : case 2:
11225 0 : if (!insn_condition_20 (operands, insn))
11226 : return -1;
11227 0 : *pnum_clobbers = 1;
11228 0 : return 2819; /* *kortest_cmpsi_movhicc */
11229 :
11230 0 : case 3:
11231 0 : if (!insn_condition_21 (operands, insn))
11232 : return -1;
11233 0 : *pnum_clobbers = 1;
11234 0 : return 2822; /* *kortest_cmpdi_movhicc */
11235 :
11236 : default:
11237 : return -1;
11238 : }
11239 :
11240 : default:
11241 : return -1;
11242 : }
11243 :
11244 : default:
11245 : return -1;
11246 : }
11247 :
11248 : default:
11249 : return -1;
11250 : }
11251 :
11252 218490 : case ZERO_EXTRACT:
11253 218490 : x11 = XEXP (x5, 1);
11254 218490 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
11255 194488 : || XWINT (x4, 0) != 0L)
11256 : return -1;
11257 194488 : x12 = XEXP (x5, 0);
11258 194488 : operands[1] = x12;
11259 194488 : x13 = XEXP (x5, 2);
11260 194488 : switch (GET_CODE (x13))
11261 : {
11262 192875 : case CONST_INT:
11263 192875 : case CONST_WIDE_INT:
11264 192875 : case CONST_POLY_INT:
11265 192875 : case CONST_FIXED:
11266 192875 : case CONST_DOUBLE:
11267 192875 : case CONST_VECTOR:
11268 192875 : case CONST:
11269 192875 : case REG:
11270 192875 : case SUBREG:
11271 192875 : case LABEL_REF:
11272 192875 : case SYMBOL_REF:
11273 192875 : case HIGH:
11274 192875 : operands[2] = x13;
11275 192875 : res = recog_2 (x1, insn, pnum_clobbers);
11276 192875 : if (res >= 0)
11277 : return res;
11278 187708 : if (GET_CODE (x13) != SUBREG
11279 4664 : || maybe_ne (SUBREG_BYTE (x13), 0)
11280 192372 : || GET_MODE (x13) != E_QImode)
11281 : return -1;
11282 4664 : x14 = XEXP (x13, 0);
11283 4664 : if (GET_CODE (x14) != AND)
11284 : return -1;
11285 418 : x6 = XEXP (x2, 1);
11286 418 : if (GET_CODE (x6) != LABEL_REF)
11287 : return -1;
11288 418 : x9 = XEXP (x2, 2);
11289 418 : if (GET_CODE (x9) != PC)
11290 : return -1;
11291 418 : x8 = XEXP (x1, 0);
11292 418 : if (GET_CODE (x8) != PC)
11293 : return -1;
11294 418 : operands[0] = x3;
11295 418 : x15 = XEXP (x14, 0);
11296 418 : operands[2] = x15;
11297 418 : if (!int248_register_operand (operands[2], E_VOIDmode))
11298 : return -1;
11299 376 : x16 = XEXP (x14, 1);
11300 376 : operands[3] = x16;
11301 376 : if (!const_int_operand (operands[3], E_VOIDmode))
11302 : return -1;
11303 376 : x10 = XEXP (x6, 0);
11304 376 : operands[4] = x10;
11305 376 : switch (GET_MODE (x5))
11306 : {
11307 247 : case E_SImode:
11308 247 : if (!nonimmediate_operand (operands[1], E_SImode)
11309 247 : || !insn_condition_22 (operands, insn))
11310 : return -1;
11311 109 : *pnum_clobbers = 1;
11312 109 : return 1556; /* *jcc_btsi_mask_1 */
11313 :
11314 129 : case E_DImode:
11315 129 : if (!nonimmediate_operand (operands[1], E_DImode)
11316 129 : || !insn_condition_23 (operands, insn))
11317 : return -1;
11318 81 : *pnum_clobbers = 1;
11319 81 : return 1557; /* *jcc_btdi_mask_1 */
11320 :
11321 : default:
11322 : return -1;
11323 : }
11324 :
11325 107 : case AND:
11326 107 : if (GET_MODE (x13) != E_QImode)
11327 : return -1;
11328 98 : x6 = XEXP (x2, 1);
11329 98 : if (GET_CODE (x6) != LABEL_REF)
11330 : return -1;
11331 96 : x9 = XEXP (x2, 2);
11332 96 : if (GET_CODE (x9) != PC)
11333 : return -1;
11334 96 : x8 = XEXP (x1, 0);
11335 96 : if (GET_CODE (x8) != PC)
11336 : return -1;
11337 96 : operands[0] = x3;
11338 96 : x14 = XEXP (x13, 0);
11339 96 : operands[2] = x14;
11340 96 : if (!register_operand (operands[2], E_QImode))
11341 : return -1;
11342 54 : x17 = XEXP (x13, 1);
11343 54 : operands[3] = x17;
11344 54 : if (!const_int_operand (operands[3], E_VOIDmode))
11345 : return -1;
11346 54 : x10 = XEXP (x6, 0);
11347 54 : operands[4] = x10;
11348 54 : switch (GET_MODE (x5))
11349 : {
11350 18 : case E_SImode:
11351 18 : if (!nonimmediate_operand (operands[1], E_SImode)
11352 18 : || !insn_condition_22 (operands, insn))
11353 : return -1;
11354 6 : *pnum_clobbers = 1;
11355 6 : return 1554; /* *jcc_btsi_mask */
11356 :
11357 36 : case E_DImode:
11358 36 : if (!nonimmediate_operand (operands[1], E_DImode)
11359 36 : || !insn_condition_23 (operands, insn))
11360 : return -1;
11361 0 : *pnum_clobbers = 1;
11362 0 : return 1555; /* *jcc_btdi_mask */
11363 :
11364 : default:
11365 : return -1;
11366 : }
11367 :
11368 : default:
11369 : return -1;
11370 : }
11371 :
11372 : default:
11373 : return -1;
11374 : }
11375 :
11376 963 : case REG:
11377 963 : case SUBREG:
11378 963 : x8 = XEXP (x1, 0);
11379 963 : operands[0] = x8;
11380 963 : switch (GET_MODE (operands[0]))
11381 : {
11382 24 : case E_SFmode:
11383 24 : if (pattern290 (x2,
11384 : E_SFmode) != 0
11385 24 : || !insn_condition_24 (operands, insn))
11386 16 : return -1;
11387 : return 1950; /* *xop_pcmov_sf */
11388 :
11389 24 : case E_DFmode:
11390 24 : if (pattern290 (x2,
11391 : E_DFmode) != 0
11392 24 : || !insn_condition_24 (operands, insn))
11393 16 : return -1;
11394 : return 1951; /* *xop_pcmov_df */
11395 :
11396 0 : case E_V8QImode:
11397 0 : if (pattern291 (x2,
11398 : E_V8QImode) != 0
11399 0 : || !insn_condition_25 (operands, insn))
11400 0 : return -1;
11401 : return 2412; /* *xop_pcmov_v8qi */
11402 :
11403 0 : case E_V4HImode:
11404 0 : if (pattern291 (x2,
11405 : E_V4HImode) != 0
11406 0 : || !insn_condition_25 (operands, insn))
11407 0 : return -1;
11408 : return 2413; /* *xop_pcmov_v4hi */
11409 :
11410 0 : case E_V2SImode:
11411 0 : if (pattern291 (x2,
11412 : E_V2SImode) != 0
11413 0 : || !insn_condition_25 (operands, insn))
11414 0 : return -1;
11415 : return 2414; /* *xop_pcmov_v2si */
11416 :
11417 378 : case E_V2SFmode:
11418 378 : if (pattern291 (x2,
11419 : E_V2SFmode) != 0
11420 378 : || !insn_condition_25 (operands, insn))
11421 204 : return -1;
11422 : return 2415; /* *xop_pcmov_v2sf */
11423 :
11424 3 : case E_V4HFmode:
11425 3 : if (pattern291 (x2,
11426 : E_V4HFmode) != 0
11427 3 : || !insn_condition_25 (operands, insn))
11428 0 : return -1;
11429 : return 2416; /* *xop_pcmov_v4hf */
11430 :
11431 3 : case E_V4BFmode:
11432 3 : if (pattern291 (x2,
11433 : E_V4BFmode) != 0
11434 3 : || !insn_condition_25 (operands, insn))
11435 0 : return -1;
11436 : return 2417; /* *xop_pcmov_v4bf */
11437 :
11438 0 : case E_V4QImode:
11439 0 : if (pattern291 (x2,
11440 : E_V4QImode) != 0
11441 0 : || !insn_condition_24 (operands, insn))
11442 0 : return -1;
11443 : return 2418; /* *xop_pcmov_v4qi */
11444 :
11445 240 : case E_V2QImode:
11446 240 : if (pattern291 (x2,
11447 : E_V2QImode) != 0
11448 240 : || !insn_condition_24 (operands, insn))
11449 144 : return -1;
11450 : return 2419; /* *xop_pcmov_v2qi */
11451 :
11452 0 : case E_V2HImode:
11453 0 : if (pattern291 (x2,
11454 : E_V2HImode) != 0
11455 0 : || !insn_condition_24 (operands, insn))
11456 0 : return -1;
11457 : return 2420; /* *xop_pcmov_v2hi */
11458 :
11459 3 : case E_V2HFmode:
11460 3 : if (pattern291 (x2,
11461 : E_V2HFmode) != 0
11462 3 : || !insn_condition_24 (operands, insn))
11463 0 : return -1;
11464 : return 2421; /* *xop_pcmov_v2hf */
11465 :
11466 3 : case E_V2BFmode:
11467 3 : if (pattern291 (x2,
11468 : E_V2BFmode) != 0
11469 3 : || !insn_condition_24 (operands, insn))
11470 0 : return -1;
11471 : return 2422; /* *xop_pcmov_v2bf */
11472 :
11473 : default:
11474 : return -1;
11475 : }
11476 :
11477 268 : case AND:
11478 268 : if (GET_MODE (x3) != E_QImode)
11479 : return -1;
11480 261 : x4 = XEXP (x3, 1);
11481 261 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
11482 : return -1;
11483 261 : x6 = XEXP (x2, 1);
11484 261 : if (pattern292 (x6) != 0)
11485 : return -1;
11486 257 : x8 = XEXP (x1, 0);
11487 257 : operands[0] = x8;
11488 257 : x5 = XEXP (x3, 0);
11489 257 : operands[2] = x5;
11490 257 : if (!register_operand (operands[2], E_QImode))
11491 : return -1;
11492 256 : x10 = XEXP (x6, 0);
11493 256 : operands[1] = x10;
11494 256 : x9 = XEXP (x2, 2);
11495 256 : if (!rtx_equal_p (x9, operands[0]))
11496 : return -1;
11497 252 : switch (GET_MODE (operands[0]))
11498 : {
11499 66 : case E_HFmode:
11500 66 : if (pattern1494 (x2,
11501 : E_V8HFmode,
11502 : E_HFmode) != 0
11503 66 : || !insn_condition_26 (operands, insn))
11504 0 : return -1;
11505 : return 2669; /* avx512f_storehf_mask */
11506 :
11507 93 : case E_SFmode:
11508 93 : if (pattern1494 (x2,
11509 : E_V4SFmode,
11510 : E_SFmode) != 0
11511 93 : || !insn_condition_27 (operands, insn))
11512 5 : return -1;
11513 : return 2670; /* avx512f_storesf_mask */
11514 :
11515 93 : case E_DFmode:
11516 93 : if (pattern1494 (x2,
11517 : E_V2DFmode,
11518 : E_DFmode) != 0
11519 93 : || !insn_condition_27 (operands, insn))
11520 5 : return -1;
11521 : return 2671; /* avx512f_storedf_mask */
11522 :
11523 : default:
11524 : return -1;
11525 : }
11526 :
11527 : default:
11528 : return -1;
11529 : }
11530 : }
11531 :
11532 : int
11533 5684484 : recog_16 (rtx x1 ATTRIBUTE_UNUSED,
11534 : rtx_insn *insn ATTRIBUTE_UNUSED,
11535 : int *pnum_clobbers ATTRIBUTE_UNUSED)
11536 : {
11537 5684484 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
11538 5684484 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
11539 5684484 : rtx x10, x11;
11540 5684484 : int res ATTRIBUTE_UNUSED;
11541 5684484 : x2 = XEXP (x1, 1);
11542 5684484 : switch (XVECLEN (x2, 0))
11543 : {
11544 4569712 : case 1:
11545 4569712 : return recog_15 (x1, insn, pnum_clobbers);
11546 :
11547 676020 : case 2:
11548 676020 : return recog_14 (x1, insn, pnum_clobbers);
11549 :
11550 423718 : case 3:
11551 423718 : switch (XINT (x2, 1))
11552 : {
11553 36689 : case 36:
11554 36689 : if (pnum_clobbers == NULL
11555 36689 : || GET_MODE (x2) != E_CCGZmode)
11556 : return -1;
11557 36689 : x3 = XVECEXP (x2, 0, 2);
11558 36689 : if (GET_CODE (x3) != LTU)
11559 : return -1;
11560 32356 : x4 = XEXP (x3, 0);
11561 32356 : if (GET_CODE (x4) != REG
11562 29719 : || REGNO (x4) != 17
11563 53020 : || GET_MODE (x4) != E_CCmode)
11564 : return -1;
11565 20661 : x5 = XEXP (x3, 1);
11566 20661 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
11567 : return -1;
11568 20661 : x6 = XEXP (x1, 0);
11569 20661 : if (GET_CODE (x6) != REG
11570 20661 : || REGNO (x6) != 17
11571 39811 : || GET_MODE (x6) != E_CCGZmode)
11572 : return -1;
11573 19150 : x7 = XVECEXP (x2, 0, 0);
11574 19150 : operands[1] = x7;
11575 19150 : x8 = XVECEXP (x2, 0, 1);
11576 19150 : operands[2] = x8;
11577 19150 : switch (GET_MODE (operands[1]))
11578 : {
11579 3455 : case E_SImode:
11580 3455 : if (!register_operand (operands[1], E_SImode)
11581 2443 : || !x86_64_general_operand (operands[2], E_SImode)
11582 1405 : || GET_MODE (x3) != E_SImode
11583 4860 : || !insn_condition_51 (operands, insn))
11584 : return -1;
11585 1405 : *pnum_clobbers = 1;
11586 1405 : return 550; /* subsi3_carry_ccgz */
11587 :
11588 1010 : case E_DImode:
11589 1010 : if (!register_operand (operands[1], E_DImode)
11590 885 : || !x86_64_general_operand (operands[2], E_DImode)
11591 647 : || GET_MODE (x3) != E_DImode
11592 1657 : || !insn_condition_52 (operands, insn))
11593 : return -1;
11594 647 : *pnum_clobbers = 1;
11595 647 : return 551; /* subdi3_carry_ccgz */
11596 :
11597 : default:
11598 : return -1;
11599 : }
11600 :
11601 151556 : case 56:
11602 151556 : return recog_13 (x1, insn, pnum_clobbers);
11603 :
11604 736 : case 45:
11605 736 : if (GET_MODE (x2) != E_HFmode)
11606 : return -1;
11607 736 : x6 = XEXP (x1, 0);
11608 736 : operands[0] = x6;
11609 736 : if (!nonimmediate_operand (operands[0], E_HFmode))
11610 : return -1;
11611 736 : x7 = XVECEXP (x2, 0, 0);
11612 736 : operands[1] = x7;
11613 736 : if (!nonimmediate_operand (operands[1], E_HFmode))
11614 : return -1;
11615 718 : x8 = XVECEXP (x2, 0, 1);
11616 718 : operands[2] = x8;
11617 718 : if (!nonimm_or_0_operand (operands[2], E_HFmode))
11618 : return -1;
11619 718 : x3 = XVECEXP (x2, 0, 2);
11620 718 : operands[3] = x3;
11621 718 : if (!register_operand (operands[3], E_QImode)
11622 718 : || !insn_condition_40 (operands, insn))
11623 202 : return -1;
11624 : return 1946; /* movhf_mask */
11625 :
11626 44708 : case 48:
11627 44708 : x6 = XEXP (x1, 0);
11628 44708 : operands[0] = x6;
11629 44708 : x7 = XVECEXP (x2, 0, 0);
11630 44708 : operands[1] = x7;
11631 44708 : x8 = XVECEXP (x2, 0, 1);
11632 44708 : operands[2] = x8;
11633 44708 : x3 = XVECEXP (x2, 0, 2);
11634 44708 : switch (GET_CODE (x3))
11635 : {
11636 1751 : case LT:
11637 1751 : switch (pattern769 (x2))
11638 : {
11639 23 : case 0:
11640 23 : if (insn_condition_158 (operands, insn))
11641 : return 1964; /* *ieee_maxsf3_1 */
11642 2 : if (!insn_condition_159 (operands, insn))
11643 2 : return -1;
11644 : return 1966; /* *ieee_minsf3_1 */
11645 :
11646 0 : case 1:
11647 0 : if (insn_condition_160 (operands, insn))
11648 : return 1965; /* *ieee_maxdf3_1 */
11649 0 : if (!insn_condition_161 (operands, insn))
11650 0 : return -1;
11651 : return 1967; /* *ieee_mindf3_1 */
11652 :
11653 : default:
11654 : return -1;
11655 : }
11656 :
11657 38066 : case REG:
11658 38066 : case SUBREG:
11659 38066 : operands[3] = x3;
11660 38066 : switch (GET_MODE (operands[0]))
11661 : {
11662 378 : case E_V2SFmode:
11663 378 : if (pattern1006 (x2,
11664 : E_V2SFmode) == 0
11665 378 : && insn_condition_115 (operands, insn))
11666 : return 2235; /* mmx_blendvps */
11667 : break;
11668 :
11669 3248 : case E_V8QImode:
11670 3248 : if (pattern1006 (x2,
11671 : E_V8QImode) == 0
11672 3248 : && insn_condition_115 (operands, insn))
11673 : return 2401; /* mmx_pblendvb_v8qi */
11674 : break;
11675 :
11676 3527 : case E_V4QImode:
11677 3527 : if (pattern1006 (x2,
11678 : E_V4QImode) == 0
11679 3527 : && insn_condition_92 (operands, insn))
11680 : return 2405; /* mmx_pblendvb_v4qi */
11681 : break;
11682 :
11683 420 : case E_V2QImode:
11684 420 : if (pattern1006 (x2,
11685 : E_V2QImode) == 0
11686 420 : && insn_condition_92 (operands, insn))
11687 : return 2406; /* mmx_pblendvb_v2qi */
11688 : break;
11689 :
11690 0 : case E_V2HImode:
11691 0 : if (pattern1006 (x2,
11692 : E_V2HImode) == 0
11693 0 : && insn_condition_92 (operands, insn))
11694 : return 2407; /* mmx_pblendvb_v2hi */
11695 : break;
11696 :
11697 589 : case E_SFmode:
11698 589 : if (pattern1006 (x2,
11699 : E_SFmode) == 0
11700 589 : && insn_condition_92 (operands, insn))
11701 : return 7353; /* sse4_1_blendvss */
11702 : break;
11703 :
11704 526 : case E_DFmode:
11705 526 : if (pattern1006 (x2,
11706 : E_DFmode) == 0
11707 526 : && insn_condition_92 (operands, insn))
11708 : return 7354; /* sse4_1_blendvsd */
11709 : break;
11710 :
11711 : default:
11712 : break;
11713 : }
11714 33047 : if (GET_CODE (x3) != SUBREG)
11715 : return -1;
11716 23186 : switch (pattern895 (x2))
11717 : {
11718 6 : case 0:
11719 6 : if (!insn_condition_162 (operands, insn))
11720 0 : return -1;
11721 : return 2403; /* *mmx_pblendvb_v8qi_2 */
11722 :
11723 0 : case 1:
11724 0 : if (!insn_condition_162 (operands, insn))
11725 0 : return -1;
11726 : return 2404; /* *mmx_pblendvb_v8qi_2 */
11727 :
11728 30 : case 2:
11729 30 : if (!insn_condition_163 (operands, insn))
11730 0 : return -1;
11731 : return 2411; /* *mmx_pblendvb_v4qi_2 */
11732 :
11733 : default:
11734 : return -1;
11735 : }
11736 :
11737 851 : case EQ:
11738 851 : switch (pattern771 (x2))
11739 : {
11740 0 : case 0:
11741 0 : if (!insn_condition_162 (operands, insn))
11742 0 : return -1;
11743 : return 2402; /* *mmx_pblendvb_v8qi_1 */
11744 :
11745 6 : case 1:
11746 6 : if (!insn_condition_163 (operands, insn))
11747 0 : return -1;
11748 : return 2408; /* *mmx_pblendvb_v4qi_1 */
11749 :
11750 12 : case 2:
11751 12 : if (!insn_condition_163 (operands, insn))
11752 0 : return -1;
11753 : return 2409; /* *mmx_pblendvb_v2qi_1 */
11754 :
11755 0 : case 3:
11756 0 : if (!insn_condition_163 (operands, insn))
11757 0 : return -1;
11758 : return 2410; /* *mmx_pblendvb_v2hi_1 */
11759 :
11760 : default:
11761 : return -1;
11762 : }
11763 :
11764 : default:
11765 : return -1;
11766 : }
11767 :
11768 7971 : case 47:
11769 7971 : x6 = XEXP (x1, 0);
11770 7971 : operands[0] = x6;
11771 7971 : x7 = XVECEXP (x2, 0, 0);
11772 7971 : operands[2] = x7;
11773 7971 : x8 = XVECEXP (x2, 0, 1);
11774 7971 : operands[1] = x8;
11775 7971 : x3 = XVECEXP (x2, 0, 2);
11776 7971 : operands[3] = x3;
11777 7971 : if (!const_0_to_255_operand (operands[3], E_SImode))
11778 : return -1;
11779 7971 : switch (GET_MODE (operands[0]))
11780 : {
11781 6515 : case E_V2SFmode:
11782 6515 : if (pattern1007 (x2,
11783 : E_V2SFmode) != 0
11784 6515 : || !insn_condition_115 (operands, insn))
11785 303 : return -1;
11786 : return 2232; /* sse4_1_insertps_v2sf */
11787 :
11788 0 : case E_V2SImode:
11789 0 : if (pattern1007 (x2,
11790 : E_V2SImode) != 0
11791 0 : || !insn_condition_115 (operands, insn))
11792 0 : return -1;
11793 : return 2233; /* sse4_1_insertps_v2si */
11794 :
11795 : default:
11796 : return -1;
11797 : }
11798 :
11799 43215 : case 50:
11800 43215 : x6 = XEXP (x1, 0);
11801 43215 : operands[0] = x6;
11802 43215 : x7 = XVECEXP (x2, 0, 0);
11803 43215 : operands[1] = x7;
11804 43215 : x8 = XVECEXP (x2, 0, 1);
11805 43215 : operands[2] = x8;
11806 43215 : x3 = XVECEXP (x2, 0, 2);
11807 43215 : operands[3] = x3;
11808 43215 : if (!nonimmediate_operand (operands[3], E_V16QImode))
11809 : return -1;
11810 40164 : switch (GET_MODE (operands[0]))
11811 : {
11812 321 : case E_V8QImode:
11813 321 : if (pattern1008 (x2,
11814 : E_V8QImode) != 0
11815 321 : || !insn_condition_25 (operands, insn))
11816 48 : return -1;
11817 : return 2423; /* mmx_ppermv64 */
11818 :
11819 0 : case E_V4QImode:
11820 0 : if (pattern1008 (x2,
11821 : E_V4QImode) != 0
11822 0 : || !insn_condition_24 (operands, insn))
11823 0 : return -1;
11824 : return 2424; /* mmx_ppermv32 */
11825 :
11826 : default:
11827 : return -1;
11828 : }
11829 :
11830 14168 : case 44:
11831 14168 : if (GET_MODE (x2) != E_V8QImode)
11832 : return -1;
11833 10 : x3 = XVECEXP (x2, 0, 2);
11834 10 : if (GET_CODE (x3) != MEM
11835 10 : || GET_MODE (x3) != E_V8QImode)
11836 : return -1;
11837 10 : x6 = XEXP (x1, 0);
11838 10 : if (GET_CODE (x6) != MEM
11839 10 : || GET_MODE (x6) != E_V8QImode)
11840 : return -1;
11841 10 : x9 = XEXP (x6, 0);
11842 10 : operands[0] = x9;
11843 10 : x7 = XVECEXP (x2, 0, 0);
11844 10 : operands[1] = x7;
11845 10 : switch (pattern1112 (x2,
11846 : E_V8QImode))
11847 : {
11848 0 : case 0:
11849 0 : if (!insn_condition_164 (operands, insn))
11850 0 : return -1;
11851 : return 2545; /* *mmx_maskmovq */
11852 :
11853 9 : case 1:
11854 9 : if (!insn_condition_165 (operands, insn))
11855 0 : return -1;
11856 : return 2546; /* *mmx_maskmovq */
11857 :
11858 : default:
11859 : return -1;
11860 : }
11861 :
11862 13303 : case 156:
11863 13303 : switch (pattern94 (x1))
11864 : {
11865 12903 : case 0:
11866 12903 : x3 = XVECEXP (x2, 0, 2);
11867 12903 : operands[3] = x3;
11868 12903 : if (const_0_to_7_operand (operands[3], E_SImode))
11869 : {
11870 12903 : x8 = XVECEXP (x2, 0, 1);
11871 12903 : operands[2] = x8;
11872 12903 : switch (GET_MODE (operands[0]))
11873 : {
11874 3407 : case E_HImode:
11875 3407 : switch (pattern618 (x2))
11876 : {
11877 763 : case 0:
11878 763 : if (insn_condition_99 (operands, insn))
11879 : return 3659; /* *avx512vl_cmpv16qi3_dup_op */
11880 : break;
11881 :
11882 1407 : case 1:
11883 1407 : if (insn_condition_99 (operands, insn))
11884 : return 3663; /* *avx512vl_cmpv16hi3_dup_op */
11885 : break;
11886 :
11887 1085 : case 2:
11888 1085 : if (insn_condition_102 (operands, insn))
11889 : return 3667; /* *avx512f_cmpv16si3_dup_op */
11890 : break;
11891 :
11892 : default:
11893 : break;
11894 : }
11895 : break;
11896 :
11897 6383 : case E_QImode:
11898 6383 : switch (pattern619 (x2))
11899 : {
11900 1487 : case 0:
11901 1487 : if (insn_condition_99 (operands, insn))
11902 : return 3665; /* *avx512vl_cmpv8hi3_dup_op */
11903 : break;
11904 :
11905 1164 : case 1:
11906 1164 : if (insn_condition_101 (operands, insn))
11907 : return 3669; /* *avx512vl_cmpv8si3_dup_op */
11908 : break;
11909 :
11910 760 : case 2:
11911 760 : if (insn_condition_101 (operands, insn))
11912 : return 3671; /* *avx512vl_cmpv4si3_dup_op */
11913 : break;
11914 :
11915 1015 : case 3:
11916 1015 : if (insn_condition_102 (operands, insn))
11917 : return 3673; /* *avx512f_cmpv8di3_dup_op */
11918 : break;
11919 :
11920 947 : case 4:
11921 947 : if (insn_condition_101 (operands, insn))
11922 : return 3675; /* *avx512vl_cmpv4di3_dup_op */
11923 : break;
11924 :
11925 690 : case 5:
11926 690 : if (insn_condition_101 (operands, insn))
11927 : return 3677; /* *avx512vl_cmpv2di3_dup_op */
11928 : break;
11929 :
11930 : default:
11931 : break;
11932 : }
11933 : break;
11934 :
11935 : default:
11936 : break;
11937 : }
11938 : }
11939 12841 : x8 = XVECEXP (x2, 0, 1);
11940 12841 : operands[2] = x8;
11941 12841 : if (XWINT (x3, 0) == 0L)
11942 : {
11943 1396 : switch (pattern1005 (x2))
11944 : {
11945 90 : case 0:
11946 90 : if (insn_condition_103 (operands, insn))
11947 : return 3684; /* *avx512vl_eqv16qi3_1 */
11948 : break;
11949 :
11950 200 : case 1:
11951 200 : if (insn_condition_103 (operands, insn))
11952 : return 3696; /* *avx512vl_eqv16hi3_1 */
11953 : break;
11954 :
11955 89 : case 2:
11956 89 : if (insn_condition_59 (operands, insn))
11957 : return 3740; /* *avx512f_eqv16si3_1 */
11958 : break;
11959 :
11960 112 : case 3:
11961 112 : if (insn_condition_103 (operands, insn))
11962 : return 3700; /* *avx512vl_eqv8hi3_1 */
11963 : break;
11964 :
11965 103 : case 4:
11966 103 : if (insn_condition_104 (operands, insn))
11967 : return 3744; /* *avx512vl_eqv8si3_1 */
11968 : break;
11969 :
11970 108 : case 5:
11971 108 : if (insn_condition_104 (operands, insn))
11972 : return 3748; /* *avx512vl_eqv4si3_1 */
11973 : break;
11974 :
11975 104 : case 6:
11976 104 : if (insn_condition_59 (operands, insn))
11977 : return 3752; /* *avx512f_eqv8di3_1 */
11978 : break;
11979 :
11980 108 : case 7:
11981 108 : if (insn_condition_104 (operands, insn))
11982 : return 3756; /* *avx512vl_eqv4di3_1 */
11983 : break;
11984 :
11985 105 : case 8:
11986 105 : if (insn_condition_104 (operands, insn))
11987 : return 3760; /* *avx512vl_eqv2di3_1 */
11988 : break;
11989 :
11990 : default:
11991 : break;
11992 : }
11993 : }
11994 11993 : operands[3] = x3;
11995 11993 : if (!const_0_to_7_operand (operands[3], E_SImode))
11996 : return -1;
11997 11993 : switch (pattern90 (x2))
11998 : {
11999 638 : case 0:
12000 638 : if (!insn_condition_98 (operands, insn))
12001 0 : return -1;
12002 : return 3766; /* avx512vl_ucmpv16qi3 */
12003 :
12004 1107 : case 1:
12005 1107 : if (!insn_condition_98 (operands, insn))
12006 0 : return -1;
12007 : return 3770; /* avx512vl_ucmpv16hi3 */
12008 :
12009 914 : case 2:
12010 914 : if (!insn_condition_27 (operands, insn))
12011 0 : return -1;
12012 : return 3774; /* avx512f_ucmpv16si3 */
12013 :
12014 1316 : case 3:
12015 1316 : if (!insn_condition_98 (operands, insn))
12016 0 : return -1;
12017 : return 3772; /* avx512vl_ucmpv8hi3 */
12018 :
12019 1011 : case 4:
12020 1011 : if (!insn_condition_100 (operands, insn))
12021 0 : return -1;
12022 : return 3776; /* avx512vl_ucmpv8si3 */
12023 :
12024 640 : case 5:
12025 640 : if (!insn_condition_100 (operands, insn))
12026 0 : return -1;
12027 : return 3778; /* avx512vl_ucmpv4si3 */
12028 :
12029 866 : case 6:
12030 866 : if (!insn_condition_27 (operands, insn))
12031 0 : return -1;
12032 : return 3780; /* avx512f_ucmpv8di3 */
12033 :
12034 797 : case 7:
12035 797 : if (!insn_condition_100 (operands, insn))
12036 0 : return -1;
12037 : return 3782; /* avx512vl_ucmpv4di3 */
12038 :
12039 505 : case 8:
12040 505 : if (!insn_condition_100 (operands, insn))
12041 0 : return -1;
12042 : return 3784; /* avx512vl_ucmpv2di3 */
12043 :
12044 : default:
12045 : return -1;
12046 : }
12047 :
12048 5 : case 1:
12049 5 : if (!insn_condition_166 (operands, insn))
12050 0 : return -1;
12051 : return 3831; /* *avx512vl_ucmpv16qi3_1 */
12052 :
12053 5 : case 2:
12054 5 : if (!insn_condition_167 (operands, insn))
12055 0 : return -1;
12056 : return 3837; /* *avx512vl_ucmpv16hi3_1 */
12057 :
12058 5 : case 3:
12059 5 : if (!insn_condition_168 (operands, insn))
12060 0 : return -1;
12061 : return 3839; /* *avx512vl_ucmpv8hi3_1 */
12062 :
12063 : default:
12064 : return -1;
12065 : }
12066 :
12067 79 : case 49:
12068 79 : if (pattern82 (x1, pnum_clobbers,
12069 : E_V8QImode) != 0)
12070 : return -1;
12071 47 : x8 = XVECEXP (x2, 0, 1);
12072 47 : operands[2] = x8;
12073 47 : if (!register_mmxmem_operand (operands[2], E_V8QImode))
12074 : return -1;
12075 39 : x3 = XVECEXP (x2, 0, 2);
12076 39 : operands[4] = x3;
12077 39 : if (!reg_or_const_vector_operand (operands[4], E_V4SImode)
12078 39 : || !insn_condition_121 (operands, insn))
12079 : return -1;
12080 29 : *pnum_clobbers = 1;
12081 29 : return 7296; /* *ssse3_pshufbv8qi3 */
12082 :
12083 395 : case 131:
12084 395 : if (pnum_clobbers == NULL
12085 395 : || pattern294 (x1) != 0
12086 411 : || !nonimmediate_operand (operands[3], E_V16QImode))
12087 : return -1;
12088 4 : x3 = XVECEXP (x2, 0, 2);
12089 4 : operands[4] = x3;
12090 4 : if (!const_0_to_255_operand (operands[4], E_SImode)
12091 4 : || !insn_condition_169 (operands, insn))
12092 : return -1;
12093 4 : *pnum_clobbers = 2;
12094 4 : return 7660; /* sse4_2_pcmpistr_cconly */
12095 :
12096 : default:
12097 : return -1;
12098 : }
12099 :
12100 302 : case 5:
12101 302 : if (pnum_clobbers == NULL
12102 302 : || XINT (x2, 1) != 130
12103 302 : || pattern294 (x1) != 0
12104 362 : || !register_operand (operands[3], E_SImode))
12105 : return -1;
12106 60 : x3 = XVECEXP (x2, 0, 2);
12107 60 : operands[4] = x3;
12108 60 : if (!nonimmediate_operand (operands[4], E_V16QImode))
12109 : return -1;
12110 60 : x10 = XVECEXP (x2, 0, 3);
12111 60 : operands[5] = x10;
12112 60 : if (!register_operand (operands[5], E_SImode))
12113 : return -1;
12114 60 : x11 = XVECEXP (x2, 0, 4);
12115 60 : operands[6] = x11;
12116 60 : if (!const_0_to_255_operand (operands[6], E_SImode)
12117 60 : || !insn_condition_169 (operands, insn))
12118 : return -1;
12119 60 : *pnum_clobbers = 2;
12120 60 : return 7656; /* sse4_2_pcmpestr_cconly */
12121 :
12122 : default:
12123 : return -1;
12124 : }
12125 : }
12126 :
12127 : int
12128 700975 : recog_29 (rtx x1 ATTRIBUTE_UNUSED,
12129 : rtx_insn *insn ATTRIBUTE_UNUSED,
12130 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12131 : {
12132 700975 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12133 700975 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
12134 700975 : int res ATTRIBUTE_UNUSED;
12135 700975 : x2 = XEXP (x1, 1);
12136 700975 : x3 = XEXP (x2, 0);
12137 700975 : switch (GET_CODE (x3))
12138 : {
12139 36978 : case AND:
12140 36978 : x4 = XEXP (x1, 0);
12141 36978 : operands[0] = x4;
12142 36978 : x5 = XEXP (x3, 1);
12143 36978 : operands[3] = x5;
12144 36978 : x6 = XEXP (x3, 0);
12145 36978 : switch (GET_CODE (x6))
12146 : {
12147 28107 : case REG:
12148 28107 : case SUBREG:
12149 28107 : case MEM:
12150 28107 : operands[1] = x6;
12151 28107 : switch (pattern57 (x2))
12152 : {
12153 0 : case 0:
12154 0 : if (!insn_condition_216 (operands, insn))
12155 0 : return -1;
12156 : return 150; /* *insvti_highpart_1 */
12157 :
12158 0 : case 1:
12159 0 : if (!insn_condition_217 (operands, insn))
12160 0 : return -1;
12161 : return 153; /* *insvti_lowpart_1 */
12162 :
12163 8 : case 2:
12164 8 : if (!insn_condition_218 (operands, insn))
12165 8 : return -1;
12166 : return 156; /* *insvdi_lowpart_1 */
12167 :
12168 : default:
12169 : return -1;
12170 : }
12171 :
12172 1523 : case XOR:
12173 1523 : if (pnum_clobbers == NULL
12174 1523 : || GET_MODE (x6) != E_HImode
12175 80 : || !register_operand (operands[0], E_HImode)
12176 80 : || GET_MODE (x2) != E_HImode
12177 1603 : || GET_MODE (x3) != E_HImode)
12178 : return -1;
12179 80 : x7 = XEXP (x6, 0);
12180 80 : operands[1] = x7;
12181 80 : if (!nonimmediate_operand (operands[1], E_HImode))
12182 : return -1;
12183 80 : x8 = XEXP (x6, 1);
12184 80 : operands[2] = x8;
12185 80 : if (!nonimmediate_operand (operands[2], E_HImode)
12186 80 : || !nonimmediate_operand (operands[3], E_HImode))
12187 : return -1;
12188 6 : x9 = XEXP (x2, 1);
12189 6 : if (!rtx_equal_p (x9, operands[1])
12190 6 : || !insn_condition_242 (operands, insn))
12191 : return -1;
12192 0 : *pnum_clobbers = 1;
12193 0 : return 872; /* *xor2andn */
12194 :
12195 : default:
12196 : return -1;
12197 : }
12198 :
12199 17022 : case ASHIFT:
12200 17022 : switch (pattern43 (x1))
12201 : {
12202 16354 : case 0:
12203 16354 : switch (pattern635 (x2))
12204 : {
12205 225 : case 0:
12206 225 : if (!insn_condition_219 (operands, insn))
12207 225 : return -1;
12208 : return 378; /* *leaqi_general_4 */
12209 :
12210 449 : case 1:
12211 449 : if (!insn_condition_219 (operands, insn))
12212 449 : return -1;
12213 : return 380; /* *leahi_general_4 */
12214 :
12215 0 : case 2:
12216 0 : if (!insn_condition_220 (operands, insn))
12217 0 : return -1;
12218 : return 969; /* *concatditi3_5 */
12219 :
12220 0 : case 3:
12221 0 : if (!insn_condition_221 (operands, insn))
12222 0 : return -1;
12223 : return 933; /* *concatditi3_1 */
12224 :
12225 : default:
12226 : return -1;
12227 : }
12228 :
12229 0 : case 1:
12230 0 : if (!insn_condition_221 (operands, insn))
12231 0 : return -1;
12232 : return 948; /* *concatditi3_3 */
12233 :
12234 0 : case 2:
12235 0 : if (!insn_condition_224 (operands, insn))
12236 0 : return -1;
12237 : return 978; /* *concatditi3_6 */
12238 :
12239 0 : case 3:
12240 0 : if (!insn_condition_221 (operands, insn))
12241 0 : return -1;
12242 : return 951; /* *concatditi3_3 */
12243 :
12244 0 : case 4:
12245 0 : if (!insn_condition_224 (operands, insn))
12246 0 : return -1;
12247 : return 981; /* *concatditi3_6 */
12248 :
12249 : default:
12250 : return -1;
12251 : }
12252 :
12253 485305 : case REG:
12254 485305 : case SUBREG:
12255 485305 : case MEM:
12256 485305 : operands[1] = x3;
12257 485305 : switch (pattern100 (x1, pnum_clobbers))
12258 : {
12259 4 : case 0:
12260 4 : if (insn_condition_194 (operands, insn))
12261 : {
12262 4 : *pnum_clobbers = 1;
12263 4 : return 759; /* *xorqi_1_slp */
12264 : }
12265 : break;
12266 :
12267 3 : case 1:
12268 3 : if (insn_condition_194 (operands, insn))
12269 : {
12270 3 : *pnum_clobbers = 1;
12271 3 : return 762; /* *xorhi_1_slp */
12272 : }
12273 : break;
12274 :
12275 1965 : case 2:
12276 1965 : if (insn_condition_243 (operands, insn))
12277 : {
12278 1889 : *pnum_clobbers = 1;
12279 1889 : return 854; /* *xorti3_doubleword */
12280 : }
12281 : break;
12282 :
12283 5423 : case 3:
12284 5423 : if (insn_condition_244 (operands, insn))
12285 : return 857; /* *xorhi_1_nf */
12286 5417 : if (pnum_clobbers != NULL
12287 5417 : && insn_condition_245 (operands, insn))
12288 : {
12289 4736 : *pnum_clobbers = 1;
12290 4736 : return 858; /* *xorhi_1 */
12291 : }
12292 : break;
12293 :
12294 50 : case 4:
12295 50 : if (insn_condition_228 (operands, insn))
12296 : return 2239; /* xorv2sf3 */
12297 : break;
12298 :
12299 1 : case 5:
12300 1 : if (insn_condition_148 (operands, insn))
12301 : return 2273; /* xorv2bf3 */
12302 : break;
12303 :
12304 1 : case 6:
12305 1 : if (insn_condition_229 (operands, insn))
12306 : return 2276; /* xorv4bf3 */
12307 : break;
12308 :
12309 8 : case 7:
12310 8 : if (insn_condition_148 (operands, insn))
12311 : return 2279; /* xorv2hf3 */
12312 : break;
12313 :
12314 7 : case 8:
12315 7 : if (insn_condition_229 (operands, insn))
12316 : return 2282; /* xorv4hf3 */
12317 : break;
12318 :
12319 1037 : case 9:
12320 1037 : if (insn_condition_246 (operands, insn))
12321 : return 2436; /* *mmx_xorv8qi3 */
12322 : break;
12323 :
12324 648 : case 10:
12325 648 : if (insn_condition_247 (operands, insn))
12326 : return 2439; /* *mmx_xorv4hi3 */
12327 : break;
12328 :
12329 3593 : case 11:
12330 3593 : if (insn_condition_248 (operands, insn))
12331 : return 2442; /* *mmx_xorv2si3 */
12332 : break;
12333 :
12334 150 : case 12:
12335 150 : if (insn_condition_249 (operands, insn))
12336 : {
12337 99 : *pnum_clobbers = 1;
12338 99 : return 2445; /* *xorv4qi3 */
12339 : }
12340 : break;
12341 :
12342 161 : case 13:
12343 161 : if (insn_condition_250 (operands, insn))
12344 : {
12345 113 : *pnum_clobbers = 1;
12346 113 : return 2448; /* *xorv2qi3 */
12347 : }
12348 : break;
12349 :
12350 41 : case 14:
12351 41 : if (insn_condition_251 (operands, insn))
12352 : {
12353 41 : *pnum_clobbers = 1;
12354 41 : return 2451; /* *xorv2hi3 */
12355 : }
12356 : break;
12357 :
12358 0 : case 15:
12359 0 : if (insn_condition_148 (operands, insn))
12360 : return 3969; /* xorbf3 */
12361 : break;
12362 :
12363 0 : case 16:
12364 0 : if (insn_condition_148 (operands, insn))
12365 : return 3972; /* xorhf3 */
12366 : break;
12367 :
12368 0 : case 17:
12369 0 : if (insn_condition_148 (operands, insn))
12370 : return 3975; /* xorsf3 */
12371 : break;
12372 :
12373 0 : case 18:
12374 0 : if (insn_condition_236 (operands, insn))
12375 : return 3978; /* xordf3 */
12376 : break;
12377 :
12378 791 : case 19:
12379 791 : if (insn_condition_237 (operands, insn))
12380 : return 3981; /* *xortf3 */
12381 : break;
12382 :
12383 : default:
12384 : break;
12385 : }
12386 472278 : if (pnum_clobbers != NULL
12387 472278 : && pattern101 (x2) == 0)
12388 : {
12389 2046 : x6 = XEXP (x3, 0);
12390 2046 : x7 = XEXP (x6, 0);
12391 2046 : operands[2] = x7;
12392 2046 : switch (pattern1114 (x1))
12393 : {
12394 2 : case 0:
12395 2 : if (insn_condition_194 (operands, insn))
12396 : {
12397 2 : *pnum_clobbers = 1;
12398 2 : return 765; /* *xorqi_exthi_1_slp */
12399 : }
12400 : break;
12401 :
12402 2 : case 1:
12403 2 : if (insn_condition_194 (operands, insn))
12404 : {
12405 2 : *pnum_clobbers = 1;
12406 2 : return 768; /* *xorqi_extsi_1_slp */
12407 : }
12408 : break;
12409 :
12410 2 : case 2:
12411 2 : if (insn_condition_195 (operands, insn))
12412 : {
12413 2 : *pnum_clobbers = 1;
12414 2 : return 771; /* *xorqi_extdi_1_slp */
12415 : }
12416 : break;
12417 :
12418 0 : case 3:
12419 0 : *pnum_clobbers = 1;
12420 0 : return 789; /* *xorqi_exthi_0 */
12421 :
12422 5 : case 4:
12423 5 : *pnum_clobbers = 1;
12424 5 : return 792; /* *xorqi_extsi_0 */
12425 :
12426 2 : case 5:
12427 2 : if (insn_condition_52 (operands, insn))
12428 : {
12429 2 : *pnum_clobbers = 1;
12430 2 : return 795; /* *xorqi_extdi_0 */
12431 : }
12432 : break;
12433 :
12434 : default:
12435 : break;
12436 : }
12437 2033 : x9 = XEXP (x2, 1);
12438 2033 : if (GET_CODE (x9) == SUBREG)
12439 : {
12440 1189 : switch (pattern1117 (x1))
12441 : {
12442 2 : case 0:
12443 2 : if (insn_condition_194 (operands, insn))
12444 : {
12445 2 : *pnum_clobbers = 1;
12446 2 : return 774; /* *xorqi_exthi_2_slp */
12447 : }
12448 : break;
12449 :
12450 2 : case 1:
12451 2 : if (insn_condition_194 (operands, insn))
12452 : {
12453 2 : *pnum_clobbers = 1;
12454 2 : return 777; /* *xorqi_extsi_2_slp */
12455 : }
12456 : break;
12457 :
12458 2 : case 2:
12459 2 : if (insn_condition_195 (operands, insn))
12460 : {
12461 2 : *pnum_clobbers = 1;
12462 2 : return 780; /* *xorqi_extdi_2_slp */
12463 : }
12464 : break;
12465 :
12466 13 : case 3:
12467 13 : *pnum_clobbers = 1;
12468 13 : return 798; /* *xorqi_ext2hi_0 */
12469 :
12470 2 : case 4:
12471 2 : *pnum_clobbers = 1;
12472 2 : return 801; /* *xorqi_ext2si_0 */
12473 :
12474 2 : case 5:
12475 2 : if (insn_condition_52 (operands, insn))
12476 : {
12477 2 : *pnum_clobbers = 1;
12478 2 : return 804; /* *xorqi_ext2di_0 */
12479 : }
12480 : break;
12481 :
12482 : default:
12483 : break;
12484 : }
12485 : }
12486 : }
12487 472242 : operands[1] = x3;
12488 472242 : if (pattern102 (x1) != 0)
12489 : return -1;
12490 29120 : if (insn_condition_252 (operands, insn))
12491 : return 901; /* *xorqi_1_nf */
12492 29113 : if (pnum_clobbers == NULL
12493 29113 : || !insn_condition_253 (operands, insn))
12494 : return -1;
12495 19780 : *pnum_clobbers = 1;
12496 19780 : return 902; /* *xorqi_1 */
12497 :
12498 6214 : case ZERO_EXTEND:
12499 6214 : switch (pattern40 (x1))
12500 : {
12501 0 : case 0:
12502 0 : if (!insn_condition_240 (operands, insn))
12503 0 : return -1;
12504 : return 939; /* *concatditi3_2 */
12505 :
12506 0 : case 1:
12507 0 : if (!insn_condition_240 (operands, insn))
12508 0 : return -1;
12509 : return 960; /* *concatditi3_4 */
12510 :
12511 0 : case 2:
12512 0 : if (!insn_condition_240 (operands, insn))
12513 0 : return -1;
12514 : return 963; /* *concatditi3_4 */
12515 :
12516 0 : case 3:
12517 0 : if (!insn_condition_241 (operands, insn))
12518 0 : return -1;
12519 : return 987; /* *concatditi3_7 */
12520 :
12521 : default:
12522 : return -1;
12523 : }
12524 :
12525 : default:
12526 : return -1;
12527 : }
12528 : }
12529 :
12530 : int
12531 1108363 : recog_37 (rtx x1 ATTRIBUTE_UNUSED,
12532 : rtx_insn *insn ATTRIBUTE_UNUSED,
12533 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12534 : {
12535 1108363 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12536 1108363 : rtx x2, x3, x4, x5, x6;
12537 1108363 : int res ATTRIBUTE_UNUSED;
12538 1108363 : x2 = XEXP (x1, 0);
12539 1108363 : operands[0] = x2;
12540 1108363 : x3 = XEXP (x1, 1);
12541 1108363 : x4 = XEXP (x3, 0);
12542 1108363 : switch (GET_CODE (x4))
12543 : {
12544 965699 : case REG:
12545 965699 : case SUBREG:
12546 965699 : case MEM:
12547 965699 : operands[1] = x4;
12548 965699 : switch (GET_MODE (operands[0]))
12549 : {
12550 331533 : case E_SFmode:
12551 331533 : switch (pattern461 (x3,
12552 : E_SFmode))
12553 : {
12554 857 : case 0:
12555 857 : if (!insn_condition_314 (operands, insn))
12556 849 : return -1;
12557 : return 244; /* floathisf2 */
12558 :
12559 238002 : case 1:
12560 238002 : if (!insn_condition_315 (operands, insn))
12561 22 : return -1;
12562 : return 249; /* *floatsisf2 */
12563 :
12564 78352 : case 2:
12565 78352 : if (insn_condition_316 (operands, insn))
12566 : return 250; /* *floatdisf2 */
12567 90 : if (!insn_condition_317 (operands, insn))
12568 32 : return -1;
12569 : return 257; /* *floatdisf2_i387 */
12570 :
12571 : default:
12572 : return -1;
12573 : }
12574 :
12575 536201 : case E_DFmode:
12576 536201 : switch (pattern461 (x3,
12577 : E_DFmode))
12578 : {
12579 1737 : case 0:
12580 1737 : if (!insn_condition_318 (operands, insn))
12581 1611 : return -1;
12582 : return 245; /* floathidf2 */
12583 :
12584 270921 : case 1:
12585 270921 : if (!insn_condition_319 (operands, insn))
12586 0 : return -1;
12587 : return 251; /* *floatsidf2 */
12588 :
12589 245691 : case 2:
12590 245691 : if (insn_condition_320 (operands, insn))
12591 : return 252; /* *floatdidf2 */
12592 3551 : if (!insn_condition_321 (operands, insn))
12593 1002 : return -1;
12594 : return 258; /* *floatdidf2_i387 */
12595 :
12596 : default:
12597 : return -1;
12598 : }
12599 :
12600 57145 : case E_XFmode:
12601 57145 : switch (pattern461 (x3,
12602 : E_XFmode))
12603 : {
12604 8397 : case 0:
12605 8397 : if (!insn_condition_322 (operands, insn))
12606 0 : return -1;
12607 : return 246; /* floathixf2 */
12608 :
12609 16388 : case 1:
12610 16388 : if (!insn_condition_74 (operands, insn))
12611 0 : return -1;
12612 : return 247; /* floatsixf2 */
12613 :
12614 23701 : case 2:
12615 23701 : if (!insn_condition_74 (operands, insn))
12616 0 : return -1;
12617 : return 248; /* floatdixf2 */
12618 :
12619 : default:
12620 : return -1;
12621 : }
12622 :
12623 990 : case E_HFmode:
12624 990 : switch (pattern301 (x3,
12625 : E_HFmode))
12626 : {
12627 971 : case 0:
12628 971 : if (!insn_condition_40 (operands, insn))
12629 0 : return -1;
12630 : return 253; /* floatsihf2 */
12631 :
12632 9 : case 1:
12633 9 : if (!insn_condition_306 (operands, insn))
12634 0 : return -1;
12635 : return 255; /* floatdihf2 */
12636 :
12637 : default:
12638 : return -1;
12639 : }
12640 :
12641 : default:
12642 : return -1;
12643 : }
12644 :
12645 2164 : case SIGN_EXTEND:
12646 2164 : if (GET_MODE (x4) != E_V2SImode)
12647 : return -1;
12648 66 : x5 = XEXP (x4, 0);
12649 66 : if (GET_CODE (x5) != TRUNCATE
12650 66 : || GET_MODE (x5) != E_V2HImode
12651 66 : || !register_operand (operands[0], E_V2SFmode)
12652 132 : || GET_MODE (x3) != E_V2SFmode)
12653 : return -1;
12654 66 : x6 = XEXP (x5, 0);
12655 66 : operands[1] = x6;
12656 66 : if (!nonimmediate_operand (operands[1], E_V2SImode)
12657 66 : || !insn_condition_299 (operands, insn))
12658 0 : return -1;
12659 : return 2243; /* mmx_pi2fw */
12660 :
12661 : default:
12662 : return -1;
12663 : }
12664 : }
12665 :
12666 : int
12667 3685498 : recog_43 (rtx x1 ATTRIBUTE_UNUSED,
12668 : rtx_insn *insn ATTRIBUTE_UNUSED,
12669 : int *pnum_clobbers ATTRIBUTE_UNUSED)
12670 : {
12671 3685498 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
12672 3685498 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
12673 3685498 : rtx x10, x11, x12, x13, x14, x15, x16;
12674 3685498 : int res ATTRIBUTE_UNUSED;
12675 3685498 : x2 = XEXP (x1, 1);
12676 3685498 : x3 = XEXP (x2, 0);
12677 3685498 : switch (GET_CODE (x3))
12678 : {
12679 2261586 : case REG:
12680 2261586 : case SUBREG:
12681 2261586 : case MEM:
12682 2261586 : operands[1] = x3;
12683 2261586 : res = recog_39 (x1, insn, pnum_clobbers);
12684 2261586 : if (res >= 0)
12685 : return res;
12686 2013045 : if (pnum_clobbers == NULL
12687 1841154 : || GET_CODE (x3) != SUBREG
12688 2299314 : || maybe_ne (SUBREG_BYTE (x3), 0))
12689 : return -1;
12690 285973 : x4 = XEXP (x3, 0);
12691 285973 : switch (GET_CODE (x4))
12692 : {
12693 65160 : case ASHIFTRT:
12694 65160 : case LSHIFTRT:
12695 65160 : case SIGN_EXTRACT:
12696 65160 : case ZERO_EXTRACT:
12697 65160 : operands[3] = x4;
12698 65160 : if (GET_MODE (x2) != E_QImode
12699 15137 : || GET_MODE (x3) != E_QImode)
12700 : return -1;
12701 15137 : x5 = XEXP (x4, 0);
12702 15137 : operands[2] = x5;
12703 15137 : switch (pattern1114 (x1))
12704 : {
12705 2 : case 0:
12706 2 : if (insn_condition_194 (operands, insn))
12707 : {
12708 2 : *pnum_clobbers = 1;
12709 2 : return 763; /* *andqi_exthi_1_slp */
12710 : }
12711 : break;
12712 :
12713 2 : case 1:
12714 2 : if (insn_condition_194 (operands, insn))
12715 : {
12716 2 : *pnum_clobbers = 1;
12717 2 : return 766; /* *andqi_extsi_1_slp */
12718 : }
12719 : break;
12720 :
12721 2 : case 2:
12722 2 : if (insn_condition_195 (operands, insn))
12723 : {
12724 2 : *pnum_clobbers = 1;
12725 2 : return 769; /* *andqi_extdi_1_slp */
12726 : }
12727 : break;
12728 :
12729 0 : case 3:
12730 0 : *pnum_clobbers = 1;
12731 0 : return 787; /* *andqi_exthi_0 */
12732 :
12733 32 : case 4:
12734 32 : *pnum_clobbers = 1;
12735 32 : return 790; /* *andqi_extsi_0 */
12736 :
12737 5 : case 5:
12738 5 : if (insn_condition_52 (operands, insn))
12739 : {
12740 5 : *pnum_clobbers = 1;
12741 5 : return 793; /* *andqi_extdi_0 */
12742 : }
12743 : break;
12744 :
12745 : default:
12746 : break;
12747 : }
12748 15094 : x6 = XEXP (x2, 1);
12749 15094 : if (GET_CODE (x6) != SUBREG)
12750 : return -1;
12751 443 : switch (pattern1117 (x1))
12752 : {
12753 2 : case 0:
12754 2 : if (!insn_condition_194 (operands, insn))
12755 : return -1;
12756 2 : *pnum_clobbers = 1;
12757 2 : return 772; /* *andqi_exthi_2_slp */
12758 :
12759 2 : case 1:
12760 2 : if (!insn_condition_194 (operands, insn))
12761 : return -1;
12762 2 : *pnum_clobbers = 1;
12763 2 : return 775; /* *andqi_extsi_2_slp */
12764 :
12765 2 : case 2:
12766 2 : if (!insn_condition_195 (operands, insn))
12767 : return -1;
12768 2 : *pnum_clobbers = 1;
12769 2 : return 778; /* *andqi_extdi_2_slp */
12770 :
12771 2 : case 3:
12772 2 : *pnum_clobbers = 1;
12773 2 : return 796; /* *andqi_ext2hi_0 */
12774 :
12775 2 : case 4:
12776 2 : *pnum_clobbers = 1;
12777 2 : return 799; /* *andqi_ext2si_0 */
12778 :
12779 2 : case 5:
12780 2 : if (!insn_condition_52 (operands, insn))
12781 : return -1;
12782 2 : *pnum_clobbers = 1;
12783 2 : return 802; /* *andqi_ext2di_0 */
12784 :
12785 : default:
12786 : return -1;
12787 : }
12788 :
12789 85 : case ROTATE:
12790 85 : if (GET_MODE (x4) != E_SImode)
12791 : return -1;
12792 85 : x5 = XEXP (x4, 0);
12793 85 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + -2])
12794 : return -1;
12795 46 : x7 = XEXP (x1, 0);
12796 46 : operands[0] = x7;
12797 46 : x8 = XEXP (x4, 1);
12798 46 : operands[2] = x8;
12799 46 : if (!register_operand (operands[2], E_QImode))
12800 : return -1;
12801 12 : x6 = XEXP (x2, 1);
12802 12 : operands[1] = x6;
12803 12 : switch (GET_MODE (operands[0]))
12804 : {
12805 6 : case E_QImode:
12806 6 : if (pattern1402 (x2,
12807 : E_QImode) != 0
12808 6 : || !insn_condition_198 (operands, insn))
12809 : return -1;
12810 6 : *pnum_clobbers = 1;
12811 6 : return 1541; /* *btrqi_1 */
12812 :
12813 6 : case E_HImode:
12814 6 : if (pattern1402 (x2,
12815 : E_HImode) != 0
12816 6 : || !insn_condition_198 (operands, insn))
12817 : return -1;
12818 6 : *pnum_clobbers = 1;
12819 6 : return 1542; /* *btrhi_1 */
12820 :
12821 : default:
12822 : return -1;
12823 : }
12824 :
12825 : default:
12826 : return -1;
12827 : }
12828 :
12829 163541 : case NOT:
12830 163541 : x7 = XEXP (x1, 0);
12831 163541 : operands[0] = x7;
12832 163541 : x4 = XEXP (x3, 0);
12833 163541 : operands[1] = x4;
12834 163541 : res = recog_40 (x1, insn, pnum_clobbers);
12835 163541 : if (res >= 0)
12836 : return res;
12837 151557 : if (pnum_clobbers == NULL
12838 140847 : || !register_operand (operands[0], E_QImode)
12839 18977 : || GET_CODE (x4) != SUBREG
12840 11586 : || maybe_ne (SUBREG_BYTE (x4), 0)
12841 163143 : || GET_MODE (x4) != E_QImode)
12842 : return -1;
12843 11586 : x5 = XEXP (x4, 0);
12844 11586 : if (GET_CODE (x5) != LSHIFTRT)
12845 : return -1;
12846 108 : x6 = XEXP (x2, 1);
12847 108 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
12848 100 : || GET_MODE (x2) != E_QImode
12849 100 : || GET_MODE (x3) != E_QImode)
12850 : return -1;
12851 100 : x9 = XEXP (x5, 0);
12852 100 : operands[1] = x9;
12853 100 : x10 = XEXP (x5, 1);
12854 100 : operands[2] = x10;
12855 100 : if (!register_operand (operands[2], E_QImode))
12856 : return -1;
12857 40 : switch (GET_MODE (x5))
12858 : {
12859 8 : case E_SImode:
12860 8 : if (!nonimmediate_operand (operands[1], E_SImode)
12861 8 : || !insn_condition_198 (operands, insn))
12862 : return -1;
12863 4 : *pnum_clobbers = 1;
12864 4 : return 1566; /* *btsi_setncqi */
12865 :
12866 32 : case E_DImode:
12867 32 : if (!nonimmediate_operand (operands[1], E_DImode)
12868 32 : || !insn_condition_343 (operands, insn))
12869 : return -1;
12870 12 : *pnum_clobbers = 1;
12871 12 : return 1567; /* *btdi_setncqi */
12872 :
12873 : default:
12874 : return -1;
12875 : }
12876 :
12877 58821 : case UNSPEC:
12878 58821 : x7 = XEXP (x1, 0);
12879 58821 : operands[0] = x7;
12880 58821 : switch (XVECLEN (x3, 0))
12881 : {
12882 47361 : case 3:
12883 47361 : x11 = XVECEXP (x3, 0, 2);
12884 47361 : if (GET_CODE (x11) != CONST_INT)
12885 : return -1;
12886 47059 : x12 = XVECEXP (x3, 0, 0);
12887 47059 : operands[1] = x12;
12888 47059 : x13 = XVECEXP (x3, 0, 1);
12889 47059 : operands[2] = x13;
12890 47059 : switch (XINT (x3, 1))
12891 : {
12892 31516 : case 56:
12893 31516 : operands[3] = x11;
12894 31516 : res = recog_41 (x1, insn, pnum_clobbers);
12895 31516 : if (res >= 0)
12896 : return res;
12897 12987 : if (XWINT (x11, 0) != 0L)
12898 : return -1;
12899 2619 : switch (pattern1010 (x2))
12900 : {
12901 4 : case 0:
12902 4 : if (!insn_condition_104 (operands, insn))
12903 0 : return -1;
12904 : return 3573; /* *avx512vl_eqv4si3_and15 */
12905 :
12906 0 : case 1:
12907 0 : if (!insn_condition_104 (operands, insn))
12908 0 : return -1;
12909 : return 3575; /* *avx512vl_eqv4di3_and15 */
12910 :
12911 0 : case 2:
12912 0 : if (!insn_condition_59 (operands, insn))
12913 0 : return -1;
12914 : return 3580; /* *avx512vl_eqv2di_and3 */
12915 :
12916 13 : case 3:
12917 13 : if (!insn_condition_344 (operands, insn))
12918 0 : return -1;
12919 : return 3683; /* *avx512vl_eqv16qi3_mask_1 */
12920 :
12921 2 : case 4:
12922 2 : if (!insn_condition_344 (operands, insn))
12923 0 : return -1;
12924 : return 3695; /* *avx512vl_eqv16hi3_mask_1 */
12925 :
12926 788 : case 5:
12927 788 : if (!insn_condition_345 (operands, insn))
12928 0 : return -1;
12929 : return 3739; /* *avx512f_eqv16si3_mask_1 */
12930 :
12931 2 : case 6:
12932 2 : if (!insn_condition_344 (operands, insn))
12933 0 : return -1;
12934 : return 3699; /* *avx512vl_eqv8hi3_mask_1 */
12935 :
12936 1 : case 7:
12937 1 : if (!insn_condition_346 (operands, insn))
12938 0 : return -1;
12939 : return 3743; /* *avx512vl_eqv8si3_mask_1 */
12940 :
12941 2 : case 8:
12942 2 : if (!insn_condition_346 (operands, insn))
12943 0 : return -1;
12944 : return 3747; /* *avx512vl_eqv4si3_mask_1 */
12945 :
12946 1 : case 9:
12947 1 : if (!insn_condition_345 (operands, insn))
12948 0 : return -1;
12949 : return 3751; /* *avx512f_eqv8di3_mask_1 */
12950 :
12951 0 : case 10:
12952 0 : if (!insn_condition_346 (operands, insn))
12953 0 : return -1;
12954 : return 3755; /* *avx512vl_eqv4di3_mask_1 */
12955 :
12956 11 : case 11:
12957 11 : if (!insn_condition_346 (operands, insn))
12958 0 : return -1;
12959 : return 3759; /* *avx512vl_eqv2di3_mask_1 */
12960 :
12961 : default:
12962 : return -1;
12963 : }
12964 :
12965 15543 : case 156:
12966 15543 : if (GET_MODE (x3) == E_QImode)
12967 : {
12968 8149 : res = recog_42 (x1, insn, pnum_clobbers);
12969 8149 : if (res >= 0)
12970 : return res;
12971 : }
12972 15331 : if (XWINT (x11, 0) == 0L)
12973 : {
12974 1479 : switch (pattern1010 (x2))
12975 : {
12976 0 : case 0:
12977 0 : if (insn_condition_104 (operands, insn))
12978 : return 3574; /* *avx512vl_eqv4si3_and15 */
12979 : break;
12980 :
12981 0 : case 1:
12982 0 : if (insn_condition_104 (operands, insn))
12983 : return 3576; /* *avx512vl_eqv4di3_and15 */
12984 : break;
12985 :
12986 0 : case 2:
12987 0 : if (insn_condition_59 (operands, insn))
12988 : return 3581; /* *avx512vl_eqv2di_and3 */
12989 : break;
12990 :
12991 73 : case 3:
12992 73 : if (insn_condition_344 (operands, insn))
12993 : return 3685; /* *avx512vl_eqv16qi3_mask_1 */
12994 : break;
12995 :
12996 89 : case 4:
12997 89 : if (insn_condition_344 (operands, insn))
12998 : return 3697; /* *avx512vl_eqv16hi3_mask_1 */
12999 : break;
13000 :
13001 73 : case 5:
13002 73 : if (insn_condition_345 (operands, insn))
13003 : return 3741; /* *avx512f_eqv16si3_mask_1 */
13004 : break;
13005 :
13006 89 : case 6:
13007 89 : if (insn_condition_344 (operands, insn))
13008 : return 3701; /* *avx512vl_eqv8hi3_mask_1 */
13009 : break;
13010 :
13011 76 : case 7:
13012 76 : if (insn_condition_346 (operands, insn))
13013 : return 3745; /* *avx512vl_eqv8si3_mask_1 */
13014 : break;
13015 :
13016 79 : case 8:
13017 79 : if (insn_condition_346 (operands, insn))
13018 : return 3749; /* *avx512vl_eqv4si3_mask_1 */
13019 : break;
13020 :
13021 77 : case 9:
13022 77 : if (insn_condition_345 (operands, insn))
13023 : return 3753; /* *avx512f_eqv8di3_mask_1 */
13024 : break;
13025 :
13026 78 : case 10:
13027 78 : if (insn_condition_346 (operands, insn))
13028 : return 3757; /* *avx512vl_eqv4di3_mask_1 */
13029 : break;
13030 :
13031 86 : case 11:
13032 86 : if (insn_condition_346 (operands, insn))
13033 : return 3761; /* *avx512vl_eqv2di3_mask_1 */
13034 : break;
13035 :
13036 : default:
13037 : break;
13038 : }
13039 : }
13040 14611 : operands[3] = x11;
13041 14611 : if (!const_0_to_7_operand (operands[3], E_SImode))
13042 : return -1;
13043 14611 : switch (pattern1120 (x2))
13044 : {
13045 2669 : case 0:
13046 2669 : switch (pattern649 ())
13047 : {
13048 881 : case 0:
13049 881 : if (!insn_condition_339 (operands, insn))
13050 0 : return -1;
13051 : return 3767; /* avx512vl_ucmpv16qi3_mask */
13052 :
13053 895 : case 1:
13054 895 : if (!insn_condition_339 (operands, insn))
13055 0 : return -1;
13056 : return 3771; /* avx512vl_ucmpv16hi3_mask */
13057 :
13058 893 : case 2:
13059 893 : if (!insn_condition_27 (operands, insn))
13060 0 : return -1;
13061 : return 3775; /* avx512f_ucmpv16si3_mask */
13062 :
13063 : default:
13064 : return -1;
13065 : }
13066 :
13067 5526 : case 1:
13068 5526 : switch (pattern650 ())
13069 : {
13070 943 : case 0:
13071 943 : if (!insn_condition_339 (operands, insn))
13072 0 : return -1;
13073 : return 3773; /* avx512vl_ucmpv8hi3_mask */
13074 :
13075 897 : case 1:
13076 897 : if (!insn_condition_341 (operands, insn))
13077 0 : return -1;
13078 : return 3777; /* avx512vl_ucmpv8si3_mask */
13079 :
13080 903 : case 2:
13081 903 : if (!insn_condition_341 (operands, insn))
13082 0 : return -1;
13083 : return 3779; /* avx512vl_ucmpv4si3_mask */
13084 :
13085 894 : case 3:
13086 894 : if (!insn_condition_27 (operands, insn))
13087 0 : return -1;
13088 : return 3781; /* avx512f_ucmpv8di3_mask */
13089 :
13090 898 : case 4:
13091 898 : if (!insn_condition_341 (operands, insn))
13092 0 : return -1;
13093 : return 3783; /* avx512vl_ucmpv4di3_mask */
13094 :
13095 897 : case 5:
13096 897 : if (!insn_condition_341 (operands, insn))
13097 0 : return -1;
13098 : return 3785; /* avx512vl_ucmpv2di3_mask */
13099 :
13100 : default:
13101 : return -1;
13102 : }
13103 :
13104 : default:
13105 : return -1;
13106 : }
13107 :
13108 : default:
13109 : return -1;
13110 : }
13111 :
13112 8500 : case 2:
13113 8500 : x12 = XVECEXP (x3, 0, 0);
13114 8500 : operands[1] = x12;
13115 8500 : x13 = XVECEXP (x3, 0, 1);
13116 8500 : operands[2] = x13;
13117 8500 : switch (XINT (x3, 1))
13118 : {
13119 1770 : case 157:
13120 1770 : switch (pattern774 (x2))
13121 : {
13122 118 : case 0:
13123 118 : if (!insn_condition_339 (operands, insn))
13124 0 : return -1;
13125 : return 6779; /* avx512vl_testmv16qi3_mask */
13126 :
13127 118 : case 1:
13128 118 : if (!insn_condition_339 (operands, insn))
13129 0 : return -1;
13130 : return 6783; /* avx512vl_testmv16hi3_mask */
13131 :
13132 118 : case 2:
13133 118 : if (!insn_condition_27 (operands, insn))
13134 0 : return -1;
13135 : return 6787; /* avx512f_testmv16si3_mask */
13136 :
13137 118 : case 3:
13138 118 : if (!insn_condition_339 (operands, insn))
13139 0 : return -1;
13140 : return 6785; /* avx512vl_testmv8hi3_mask */
13141 :
13142 119 : case 4:
13143 119 : if (!insn_condition_341 (operands, insn))
13144 0 : return -1;
13145 : return 6789; /* avx512vl_testmv8si3_mask */
13146 :
13147 120 : case 5:
13148 120 : if (!insn_condition_341 (operands, insn))
13149 0 : return -1;
13150 : return 6791; /* avx512vl_testmv4si3_mask */
13151 :
13152 122 : case 6:
13153 122 : if (!insn_condition_27 (operands, insn))
13154 0 : return -1;
13155 : return 6793; /* avx512f_testmv8di3_mask */
13156 :
13157 121 : case 7:
13158 121 : if (!insn_condition_341 (operands, insn))
13159 0 : return -1;
13160 : return 6795; /* avx512vl_testmv4di3_mask */
13161 :
13162 121 : case 8:
13163 121 : if (!insn_condition_341 (operands, insn))
13164 0 : return -1;
13165 : return 6797; /* avx512vl_testmv2di3_mask */
13166 :
13167 : default:
13168 : return -1;
13169 : }
13170 :
13171 1769 : case 158:
13172 1769 : switch (pattern774 (x2))
13173 : {
13174 117 : case 0:
13175 117 : if (!insn_condition_339 (operands, insn))
13176 0 : return -1;
13177 : return 6803; /* avx512vl_testnmv16qi3_mask */
13178 :
13179 117 : case 1:
13180 117 : if (!insn_condition_339 (operands, insn))
13181 0 : return -1;
13182 : return 6807; /* avx512vl_testnmv16hi3_mask */
13183 :
13184 117 : case 2:
13185 117 : if (!insn_condition_27 (operands, insn))
13186 0 : return -1;
13187 : return 6811; /* avx512f_testnmv16si3_mask */
13188 :
13189 120 : case 3:
13190 120 : if (!insn_condition_339 (operands, insn))
13191 0 : return -1;
13192 : return 6809; /* avx512vl_testnmv8hi3_mask */
13193 :
13194 119 : case 4:
13195 119 : if (!insn_condition_341 (operands, insn))
13196 0 : return -1;
13197 : return 6813; /* avx512vl_testnmv8si3_mask */
13198 :
13199 120 : case 5:
13200 120 : if (!insn_condition_341 (operands, insn))
13201 0 : return -1;
13202 : return 6815; /* avx512vl_testnmv4si3_mask */
13203 :
13204 122 : case 6:
13205 122 : if (!insn_condition_27 (operands, insn))
13206 0 : return -1;
13207 : return 6817; /* avx512f_testnmv8di3_mask */
13208 :
13209 121 : case 7:
13210 121 : if (!insn_condition_341 (operands, insn))
13211 0 : return -1;
13212 : return 6819; /* avx512vl_testnmv4di3_mask */
13213 :
13214 121 : case 8:
13215 121 : if (!insn_condition_341 (operands, insn))
13216 0 : return -1;
13217 : return 6821; /* avx512vl_testnmv2di3_mask */
13218 :
13219 : default:
13220 : return -1;
13221 : }
13222 :
13223 1567 : case 192:
13224 1567 : if (!const_0_to_255_operand (operands[2], E_VOIDmode))
13225 : return -1;
13226 1567 : x6 = XEXP (x2, 1);
13227 1567 : switch (GET_CODE (x6))
13228 : {
13229 1063 : case REG:
13230 1063 : case SUBREG:
13231 1063 : operands[3] = x6;
13232 1063 : switch (GET_MODE (operands[0]))
13233 : {
13234 241 : case E_HImode:
13235 241 : if (pattern146 (x2,
13236 : E_HImode) != 0)
13237 : return -1;
13238 235 : switch (GET_MODE (operands[1]))
13239 : {
13240 115 : case E_V16HFmode:
13241 115 : if (!vector_operand (operands[1], E_V16HFmode)
13242 115 : || !insn_condition_347 (operands, insn))
13243 1 : return -1;
13244 : return 8680; /* avx512dq_fpclassv16hf_mask */
13245 :
13246 120 : case E_V16SFmode:
13247 120 : if (!vector_operand (operands[1], E_V16SFmode)
13248 120 : || !insn_condition_348 (operands, insn))
13249 1 : return -1;
13250 : return 8684; /* avx512dq_fpclassv16sf_mask */
13251 :
13252 : default:
13253 : return -1;
13254 : }
13255 :
13256 705 : case E_QImode:
13257 705 : if (pattern146 (x2,
13258 : E_QImode) != 0)
13259 : return -1;
13260 685 : switch (GET_MODE (operands[1]))
13261 : {
13262 114 : case E_V8HFmode:
13263 114 : if (!vector_operand (operands[1], E_V8HFmode)
13264 114 : || !insn_condition_349 (operands, insn))
13265 1 : return -1;
13266 : return 8682; /* avx512dq_fpclassv8hf_mask */
13267 :
13268 117 : case E_V8SFmode:
13269 117 : if (!vector_operand (operands[1], E_V8SFmode)
13270 117 : || !insn_condition_350 (operands, insn))
13271 1 : return -1;
13272 : return 8686; /* avx512dq_fpclassv8sf_mask */
13273 :
13274 114 : case E_V4SFmode:
13275 114 : if (!vector_operand (operands[1], E_V4SFmode)
13276 114 : || !insn_condition_351 (operands, insn))
13277 1 : return -1;
13278 : return 8688; /* avx512dq_fpclassv4sf_mask */
13279 :
13280 114 : case E_V8DFmode:
13281 114 : if (!vector_operand (operands[1], E_V8DFmode)
13282 114 : || !insn_condition_352 (operands, insn))
13283 1 : return -1;
13284 : return 8690; /* avx512dq_fpclassv8df_mask */
13285 :
13286 113 : case E_V4DFmode:
13287 113 : if (!vector_operand (operands[1], E_V4DFmode)
13288 113 : || !insn_condition_353 (operands, insn))
13289 1 : return -1;
13290 : return 8692; /* avx512dq_fpclassv4df_mask */
13291 :
13292 113 : case E_V2DFmode:
13293 113 : if (!vector_operand (operands[1], E_V2DFmode)
13294 113 : || !insn_condition_354 (operands, insn))
13295 1 : return -1;
13296 : return 8694; /* avx512dq_fpclassv2df_mask */
13297 :
13298 : default:
13299 : return -1;
13300 : }
13301 :
13302 : default:
13303 : return -1;
13304 : }
13305 :
13306 501 : case CONST_INT:
13307 501 : if (XWINT (x6, 0) != 1L
13308 239 : || !register_operand (operands[0], E_QImode)
13309 230 : || GET_MODE (x2) != E_QImode
13310 731 : || GET_MODE (x3) != E_QImode)
13311 : return -1;
13312 230 : switch (GET_MODE (operands[1]))
13313 : {
13314 75 : case E_V8HFmode:
13315 75 : if (!nonimmediate_operand (operands[1], E_V8HFmode)
13316 75 : || !insn_condition_355 (operands, insn))
13317 1 : return -1;
13318 : return 8695; /* avx512dq_vmfpclassv8hf */
13319 :
13320 79 : case E_V4SFmode:
13321 79 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
13322 79 : || !insn_condition_356 (operands, insn))
13323 5 : return -1;
13324 : return 8697; /* avx512dq_vmfpclassv4sf */
13325 :
13326 76 : case E_V2DFmode:
13327 76 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
13328 76 : || !insn_condition_357 (operands, insn))
13329 1 : return -1;
13330 : return 8699; /* avx512dq_vmfpclassv2df */
13331 :
13332 : default:
13333 : return -1;
13334 : }
13335 :
13336 : default:
13337 : return -1;
13338 : }
13339 :
13340 407 : case 213:
13341 407 : if (GET_MODE (x3) != E_HImode
13342 139 : || !register_operand (operands[0], E_HImode)
13343 136 : || GET_MODE (x2) != E_HImode
13344 136 : || !register_operand (operands[1], E_V16QImode)
13345 543 : || !nonimmediate_operand (operands[2], E_V16QImode))
13346 : return -1;
13347 136 : x6 = XEXP (x2, 1);
13348 136 : operands[3] = x6;
13349 136 : if (!register_operand (operands[3], E_HImode)
13350 136 : || !insn_condition_358 (operands, insn))
13351 17 : return -1;
13352 : return 9022; /* avx512vl_vpshufbitqmbv16qi_mask */
13353 :
13354 486 : case 261:
13355 486 : if (!const_0_to_255_operand (operands[2], E_VOIDmode))
13356 : return -1;
13357 486 : x6 = XEXP (x2, 1);
13358 486 : operands[3] = x6;
13359 486 : switch (GET_MODE (operands[0]))
13360 : {
13361 163 : case E_HImode:
13362 163 : if (pattern1121 (x2,
13363 : E_HImode,
13364 : E_V16BFmode) != 0
13365 163 : || !insn_condition_83 (operands, insn))
13366 33 : return -1;
13367 : return 9416; /* avx10_2_fpclassbf16_v16bf_mask */
13368 :
13369 160 : case E_QImode:
13370 160 : if (pattern1121 (x2,
13371 : E_QImode,
13372 : E_V8BFmode) != 0
13373 160 : || !insn_condition_83 (operands, insn))
13374 32 : return -1;
13375 : return 9418; /* avx10_2_fpclassbf16_v8bf_mask */
13376 :
13377 : default:
13378 : return -1;
13379 : }
13380 :
13381 : default:
13382 : return -1;
13383 : }
13384 :
13385 : default:
13386 : return -1;
13387 : }
13388 :
13389 67948 : case AND:
13390 67948 : if (GET_MODE (x3) != E_QImode)
13391 : return -1;
13392 24074 : x4 = XEXP (x3, 0);
13393 24074 : if (pattern107 (x4,
13394 : E_QImode,
13395 : 192,
13396 : 2) != 0)
13397 : return -1;
13398 410 : x14 = XEXP (x3, 1);
13399 410 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
13400 : return -1;
13401 248 : x7 = XEXP (x1, 0);
13402 248 : operands[0] = x7;
13403 248 : if (!register_operand (operands[0], E_QImode)
13404 248 : || GET_MODE (x2) != E_QImode)
13405 : return -1;
13406 245 : x15 = XVECEXP (x4, 0, 0);
13407 245 : operands[1] = x15;
13408 245 : x16 = XVECEXP (x4, 0, 1);
13409 245 : operands[2] = x16;
13410 245 : if (!const_0_to_255_operand (operands[2], E_VOIDmode))
13411 : return -1;
13412 245 : x6 = XEXP (x2, 1);
13413 245 : operands[3] = x6;
13414 245 : if (!register_operand (operands[3], E_QImode))
13415 : return -1;
13416 245 : switch (GET_MODE (operands[1]))
13417 : {
13418 79 : case E_V8HFmode:
13419 79 : if (!nonimmediate_operand (operands[1], E_V8HFmode)
13420 79 : || !insn_condition_359 (operands, insn))
13421 0 : return -1;
13422 : return 8696; /* avx512dq_vmfpclassv8hf_mask */
13423 :
13424 83 : case E_V4SFmode:
13425 83 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
13426 83 : || !insn_condition_360 (operands, insn))
13427 0 : return -1;
13428 : return 8698; /* avx512dq_vmfpclassv4sf_mask */
13429 :
13430 83 : case E_V2DFmode:
13431 83 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
13432 83 : || !insn_condition_361 (operands, insn))
13433 0 : return -1;
13434 : return 8700; /* avx512dq_vmfpclassv2df_mask */
13435 :
13436 : default:
13437 : return -1;
13438 : }
13439 :
13440 : default:
13441 : return -1;
13442 : }
13443 : }
13444 :
13445 : int
13446 1704789 : recog_68 (rtx x1 ATTRIBUTE_UNUSED,
13447 : rtx_insn *insn ATTRIBUTE_UNUSED,
13448 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13449 : {
13450 1704789 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13451 1704789 : rtx x2, x3, x4, x5, x6;
13452 1704789 : int res ATTRIBUTE_UNUSED;
13453 1704789 : x2 = XEXP (x1, 1);
13454 1704789 : x3 = XEXP (x2, 0);
13455 1704789 : operands[1] = x3;
13456 1704789 : x4 = XEXP (x2, 1);
13457 1704789 : switch (XVECLEN (x4, 0))
13458 : {
13459 174678 : case 2:
13460 174678 : x5 = XVECEXP (x4, 0, 0);
13461 174678 : if (GET_CODE (x5) != CONST_INT)
13462 : return -1;
13463 174678 : x6 = XVECEXP (x4, 0, 1);
13464 174678 : if (GET_CODE (x6) == CONST_INT
13465 174678 : && GET_MODE (x2) == E_V2SFmode)
13466 : {
13467 17275 : switch (XWINT (x5, 0))
13468 : {
13469 12548 : case 1L:
13470 12548 : if (register_operand (operands[0], E_V2SFmode))
13471 : {
13472 12051 : switch (XWINT (x6, 0))
13473 : {
13474 7947 : case 0L:
13475 7947 : if (register_mmxmem_operand (operands[1], E_V2SFmode)
13476 7947 : && insn_condition_534 (operands, insn))
13477 : return 2244; /* mmx_pswapdv2sf2 */
13478 : break;
13479 :
13480 4104 : case 1L:
13481 4104 : if (register_operand (operands[1], E_V2SFmode)
13482 4104 : && insn_condition_228 (operands, insn))
13483 : return 2245; /* *mmx_movshdup */
13484 : break;
13485 :
13486 : default:
13487 : break;
13488 : }
13489 : }
13490 : break;
13491 :
13492 4635 : case 0L:
13493 4635 : switch (XWINT (x6, 0))
13494 : {
13495 4182 : case 0L:
13496 4182 : if (register_operand (operands[0], E_V2SFmode)
13497 4149 : && register_operand (operands[1], E_V2SFmode)
13498 4182 : && insn_condition_228 (operands, insn))
13499 : return 2246; /* *mmx_movsldup */
13500 : break;
13501 :
13502 445 : case 1L:
13503 445 : if (nonimmediate_operand (operands[0], E_V2SFmode)
13504 445 : && nonimmediate_operand (operands[1], E_V4SFmode)
13505 887 : && insn_condition_535 (operands, insn))
13506 : return 5439; /* sse_storelps */
13507 : break;
13508 :
13509 : default:
13510 : break;
13511 : }
13512 : break;
13513 :
13514 92 : case 2L:
13515 92 : if (XWINT (x6, 0) == 3L
13516 92 : && nonimmediate_operand (operands[0], E_V2SFmode)
13517 92 : && nonimmediate_operand (operands[1], E_V4SFmode)
13518 184 : && insn_condition_535 (operands, insn))
13519 : return 5437; /* sse_storehps */
13520 : break;
13521 :
13522 : default:
13523 : break;
13524 : }
13525 : }
13526 159086 : operands[2] = x5;
13527 159086 : if (const_0_to_1_operand (operands[2], E_VOIDmode))
13528 : {
13529 106356 : operands[3] = x6;
13530 106356 : if (const_0_to_1_operand (operands[3], E_VOIDmode))
13531 : {
13532 90912 : switch (GET_MODE (operands[0]))
13533 : {
13534 14350 : case E_V2SImode:
13535 14350 : if (register_operand (operands[0], E_V2SImode)
13536 12154 : && GET_MODE (x2) == E_V2SImode
13537 12154 : && register_operand (operands[1], E_V2SImode)
13538 14350 : && insn_condition_228 (operands, insn))
13539 : return 2495; /* *mmx_pshufd_1 */
13540 : break;
13541 :
13542 7 : case E_V2HFmode:
13543 7 : if (register_operand (operands[0], E_V2HFmode)
13544 7 : && GET_MODE (x2) == E_V2HFmode
13545 7 : && register_operand (operands[1], E_V2HFmode)
13546 7 : && insn_condition_141 (operands, insn))
13547 : return 2531; /* *pshufwv2hf_1 */
13548 : break;
13549 :
13550 0 : case E_V2BFmode:
13551 0 : if (register_operand (operands[0], E_V2BFmode)
13552 0 : && GET_MODE (x2) == E_V2BFmode
13553 0 : && register_operand (operands[1], E_V2BFmode)
13554 0 : && insn_condition_141 (operands, insn))
13555 : return 2532; /* *pshufwv2bf_1 */
13556 : break;
13557 :
13558 1799 : case E_V2HImode:
13559 1799 : if (register_operand (operands[0], E_V2HImode)
13560 1637 : && GET_MODE (x2) == E_V2HImode
13561 1637 : && register_operand (operands[1], E_V2HImode)
13562 3119 : && insn_condition_141 (operands, insn))
13563 : return 2533; /* *pshufwv2hi_1 */
13564 : break;
13565 :
13566 : default:
13567 : break;
13568 : }
13569 : }
13570 : }
13571 147689 : if (XWINT (x5, 0) != 1L
13572 28990 : || x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
13573 16324 : || !register_operand (operands[0], E_V2SImode)
13574 1302 : || GET_MODE (x2) != E_V2SImode
13575 1302 : || !register_mmxmem_operand (operands[1], E_V2SImode)
13576 147689 : || !insn_condition_299 (operands, insn))
13577 147689 : return -1;
13578 : return 2502; /* mmx_pswapdv2si2 */
13579 :
13580 994702 : case 1:
13581 994702 : x5 = XVECEXP (x4, 0, 0);
13582 994702 : if (GET_CODE (x5) != CONST_INT)
13583 : return -1;
13584 994702 : switch (XWINT (x5, 0))
13585 : {
13586 737473 : case 0L:
13587 737473 : switch (GET_MODE (operands[0]))
13588 : {
13589 106068 : case E_SFmode:
13590 106068 : switch (pattern1014 (x2))
13591 : {
13592 20858 : case 0:
13593 20858 : if (insn_condition_536 (operands, insn))
13594 : return 2253; /* *vec_extractv2sf_0 */
13595 : break;
13596 :
13597 81648 : case 1:
13598 81648 : if (insn_condition_535 (operands, insn))
13599 : return 5503; /* *vec_extractv4sf_0 */
13600 : break;
13601 :
13602 : default:
13603 : break;
13604 : }
13605 : break;
13606 :
13607 2786 : case E_HFmode:
13608 2786 : switch (pattern1015 (x2))
13609 : {
13610 23 : case 0:
13611 23 : if (insn_condition_537 (operands, insn))
13612 : return 5562; /* *vec_extractv32hf_0 */
13613 : break;
13614 :
13615 59 : case 1:
13616 59 : if (insn_condition_537 (operands, insn))
13617 : return 5563; /* *vec_extractv16hf_0 */
13618 : break;
13619 :
13620 2015 : case 2:
13621 2015 : if (insn_condition_537 (operands, insn))
13622 : return 5564; /* *vec_extractv8hf_0 */
13623 : break;
13624 :
13625 : default:
13626 : break;
13627 : }
13628 : break;
13629 :
13630 656 : case E_BFmode:
13631 656 : switch (pattern1016 (x2))
13632 : {
13633 1 : case 0:
13634 1 : if (insn_condition_537 (operands, insn))
13635 : return 5565; /* *vec_extractv32bf_0 */
13636 : break;
13637 :
13638 60 : case 1:
13639 60 : if (insn_condition_537 (operands, insn))
13640 : return 5566; /* *vec_extractv16bf_0 */
13641 : break;
13642 :
13643 510 : case 2:
13644 510 : if (insn_condition_537 (operands, insn))
13645 : return 5567; /* *vec_extractv8bf_0 */
13646 : break;
13647 :
13648 : default:
13649 : break;
13650 : }
13651 : break;
13652 :
13653 60842 : case E_DFmode:
13654 60842 : if (nonimmediate_operand (operands[0], E_DFmode)
13655 60735 : && GET_MODE (x2) == E_DFmode
13656 121577 : && nonimmediate_operand (operands[1], E_V2DFmode))
13657 : {
13658 60323 : if (insn_condition_538 (operands, insn))
13659 : return 5893; /* sse2_storelpd */
13660 0 : if (insn_condition_539 (operands, insn))
13661 : return 5894; /* *vec_extractv2df_0_sse */
13662 : }
13663 : break;
13664 :
13665 4978 : case E_QImode:
13666 4978 : if (memory_operand (operands[0], E_QImode)
13667 574 : && GET_MODE (x2) == E_QImode
13668 574 : && register_operand (operands[1], E_V16QImode)
13669 5154 : && insn_condition_540 (operands, insn))
13670 : return 7122; /* *vec_extractv16qi_0_mem */
13671 : break;
13672 :
13673 6845 : case E_HImode:
13674 6845 : if (memory_operand (operands[0], E_HImode)
13675 2943 : && GET_MODE (x2) == E_HImode
13676 2943 : && register_operand (operands[1], E_V8HImode)
13677 8803 : && insn_condition_541 (operands, insn))
13678 : return 7123; /* *vec_extractv8hi_0_mem */
13679 : break;
13680 :
13681 : default:
13682 : break;
13683 : }
13684 : break;
13685 :
13686 175069 : case 1L:
13687 175069 : switch (GET_MODE (operands[0]))
13688 : {
13689 24068 : case E_SFmode:
13690 24068 : if (nonimmediate_operand (operands[0], E_SFmode)
13691 23969 : && GET_MODE (x2) == E_SFmode
13692 23969 : && nonimmediate_operand (operands[1], E_V2SFmode)
13693 40862 : && insn_condition_536 (operands, insn))
13694 : return 2254; /* *vec_extractv2sf_1 */
13695 : break;
13696 :
13697 19531 : case E_DFmode:
13698 19531 : if (nonimmediate_operand (operands[0], E_DFmode)
13699 19362 : && GET_MODE (x2) == E_DFmode
13700 38893 : && nonimmediate_operand (operands[1], E_V2DFmode))
13701 : {
13702 19222 : if (insn_condition_538 (operands, insn))
13703 : return 5891; /* sse2_storehpd */
13704 4 : if (insn_condition_539 (operands, insn))
13705 : return 5892; /* *vec_extractv2df_1_sse */
13706 : }
13707 : break;
13708 :
13709 : default:
13710 : break;
13711 : }
13712 : break;
13713 :
13714 : default:
13715 : break;
13716 : }
13717 793055 : operands[2] = x5;
13718 793055 : switch (GET_MODE (operands[0]))
13719 : {
13720 24206 : case E_HImode:
13721 24206 : if (GET_MODE (x2) != E_HImode)
13722 : return -1;
13723 24206 : if (register_sse4nonimm_operand (operands[0], E_HImode))
13724 : {
13725 22145 : switch (GET_MODE (operands[1]))
13726 : {
13727 2448 : case E_V4HImode:
13728 2448 : if (register_operand (operands[1], E_V4HImode)
13729 2368 : && const_0_to_3_operand (operands[2], E_SImode)
13730 4816 : && insn_condition_542 (operands, insn))
13731 : return 2481; /* *mmx_pextrw */
13732 : break;
13733 :
13734 631 : case E_V2HImode:
13735 631 : if (register_operand (operands[1], E_V2HImode)
13736 631 : && const_0_to_1_operand (operands[2], E_SImode)
13737 1262 : && insn_condition_141 (operands, insn))
13738 : return 2519; /* *pextrw */
13739 : break;
13740 :
13741 18807 : case E_V8HImode:
13742 18807 : if (register_operand (operands[1], E_V8HImode)
13743 18634 : && const_0_to_7_operand (operands[2], E_SImode)
13744 37441 : && insn_condition_141 (operands, insn))
13745 : return 7125; /* *vec_extractv8hi */
13746 : break;
13747 :
13748 : default:
13749 : break;
13750 : }
13751 : }
13752 2573 : if (!register_operand (operands[0], E_HImode)
13753 83 : || !memory_operand (operands[1], E_V8HImode)
13754 37 : || !const_0_to_7_operand (operands[2], E_VOIDmode)
13755 2610 : || !insn_condition_148 (operands, insn))
13756 2536 : return -1;
13757 : return 7132; /* *vec_extractv8hi_mem */
13758 :
13759 2405 : case E_HFmode:
13760 2405 : if (!register_sse4nonimm_operand (operands[0], E_HFmode)
13761 2405 : || GET_MODE (x2) != E_HFmode)
13762 : return -1;
13763 2373 : switch (GET_MODE (operands[1]))
13764 : {
13765 14 : case E_V4HFmode:
13766 14 : if (!register_operand (operands[1], E_V4HFmode)
13767 14 : || !const_0_to_3_operand (operands[2], E_SImode)
13768 28 : || !insn_condition_542 (operands, insn))
13769 0 : return -1;
13770 : return 2482; /* *mmx_pextrwv4hf */
13771 :
13772 1313 : case E_V2HFmode:
13773 1313 : if (!register_operand (operands[1], E_V2HFmode)
13774 1296 : || !const_0_to_1_operand (operands[2], E_SImode)
13775 2609 : || !insn_condition_141 (operands, insn))
13776 17 : return -1;
13777 : return 2520; /* *pextrwv2hf */
13778 :
13779 905 : case E_V8HFmode:
13780 905 : if (!register_operand (operands[1], E_V8HFmode)
13781 900 : || !const_0_to_7_operand (operands[2], E_SImode)
13782 1805 : || !insn_condition_141 (operands, insn))
13783 5 : return -1;
13784 : return 5568; /* *vec_extracthf */
13785 :
13786 : default:
13787 : return -1;
13788 : }
13789 :
13790 3493 : case E_BFmode:
13791 3493 : if (!register_sse4nonimm_operand (operands[0], E_BFmode)
13792 3493 : || GET_MODE (x2) != E_BFmode)
13793 : return -1;
13794 3493 : switch (GET_MODE (operands[1]))
13795 : {
13796 62 : case E_V4BFmode:
13797 62 : if (!register_operand (operands[1], E_V4BFmode)
13798 56 : || !const_0_to_3_operand (operands[2], E_SImode)
13799 118 : || !insn_condition_542 (operands, insn))
13800 6 : return -1;
13801 : return 2483; /* *mmx_pextrwv4bf */
13802 :
13803 0 : case E_V2BFmode:
13804 0 : if (!register_operand (operands[1], E_V2BFmode)
13805 0 : || !const_0_to_1_operand (operands[2], E_SImode)
13806 0 : || !insn_condition_141 (operands, insn))
13807 0 : return -1;
13808 : return 2521; /* *pextrwv2bf */
13809 :
13810 3069 : case E_V8BFmode:
13811 3069 : if (!register_operand (operands[1], E_V8BFmode)
13812 2927 : || !const_0_to_7_operand (operands[2], E_SImode)
13813 5996 : || !insn_condition_141 (operands, insn))
13814 142 : return -1;
13815 : return 5569; /* *vec_extractbf */
13816 :
13817 : default:
13818 : return -1;
13819 : }
13820 :
13821 8973 : case E_QImode:
13822 8973 : if (GET_MODE (x2) != E_QImode)
13823 : return -1;
13824 8973 : if (nonimmediate_operand (operands[0], E_QImode))
13825 : {
13826 8973 : switch (GET_MODE (operands[1]))
13827 : {
13828 4196 : case E_V8QImode:
13829 4196 : if (register_operand (operands[1], E_V8QImode)
13830 3678 : && const_0_to_7_operand (operands[2], E_SImode)
13831 4196 : && insn_condition_115 (operands, insn))
13832 : return 2486; /* *mmx_pextrb */
13833 : break;
13834 :
13835 157 : case E_V4QImode:
13836 157 : if (register_operand (operands[1], E_V4QImode)
13837 121 : && const_0_to_3_operand (operands[2], E_SImode)
13838 278 : && insn_condition_92 (operands, insn))
13839 : return 2524; /* *pextrb */
13840 : break;
13841 :
13842 : default:
13843 : break;
13844 : }
13845 : }
13846 5174 : if (register_sse4nonimm_operand (operands[0], E_QImode)
13847 5174 : && register_operand (operands[1], E_V16QImode)
13848 2838 : && const_0_to_15_operand (operands[2], E_SImode)
13849 5174 : && insn_condition_543 (operands, insn))
13850 : return 7124; /* *vec_extractv16qi */
13851 2336 : if (!register_operand (operands[0], E_QImode)
13852 2272 : || !memory_operand (operands[1], E_V16QImode)
13853 0 : || !const_0_to_15_operand (operands[2], E_VOIDmode)
13854 2336 : || !insn_condition_148 (operands, insn))
13855 2336 : return -1;
13856 : return 7131; /* *vec_extractv16qi_mem */
13857 :
13858 22969 : case E_SFmode:
13859 22969 : if (GET_MODE (x2) != E_SFmode)
13860 : return -1;
13861 22969 : if (nonimmediate_operand (operands[0], E_SFmode)
13862 22753 : && register_operand (operands[1], E_V4SFmode)
13863 17779 : && const_0_to_3_operand (operands[2], E_SImode)
13864 40748 : && insn_condition_92 (operands, insn))
13865 : return 5504; /* *sse4_1_extractps */
13866 18853 : if (!register_operand (operands[0], E_SFmode))
13867 : return -1;
13868 15104 : switch (GET_MODE (operands[1]))
13869 : {
13870 10755 : case E_V4SFmode:
13871 10755 : if (!memory_operand (operands[1], E_V4SFmode)
13872 26 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
13873 10781 : || !insn_condition_148 (operands, insn))
13874 10729 : return -1;
13875 : return 5505; /* *vec_extractv4sf_mem */
13876 :
13877 25 : case E_V16SFmode:
13878 25 : if (!register_operand (operands[1], E_V16SFmode)
13879 25 : || !const_0_to_15_operand (operands[2], E_VOIDmode)
13880 25 : || !insn_condition_544 (operands, insn))
13881 11 : return -1;
13882 : return 5764; /* *vec_extractv16sfsf_valign */
13883 :
13884 454 : case E_V8SFmode:
13885 454 : if (!register_operand (operands[1], E_V8SFmode)
13886 453 : || !const_0_to_7_operand (operands[2], E_VOIDmode)
13887 907 : || !insn_condition_545 (operands, insn))
13888 429 : return -1;
13889 : return 5765; /* *vec_extractv8sfsf_valign */
13890 :
13891 : default:
13892 : return -1;
13893 : }
13894 :
13895 1376 : case E_DFmode:
13896 1376 : if (!register_operand (operands[0], E_DFmode)
13897 1376 : || GET_MODE (x2) != E_DFmode)
13898 : return -1;
13899 1009 : switch (GET_MODE (operands[1]))
13900 : {
13901 46 : case E_V8DFmode:
13902 46 : if (!register_operand (operands[1], E_V8DFmode)
13903 46 : || !const_0_to_7_operand (operands[2], E_VOIDmode)
13904 46 : || !insn_condition_546 (operands, insn))
13905 23 : return -1;
13906 : return 5766; /* *vec_extractv8dfdf_valign */
13907 :
13908 957 : case E_V4DFmode:
13909 957 : if (!register_operand (operands[1], E_V4DFmode)
13910 957 : || !const_0_to_3_operand (operands[2], E_VOIDmode)
13911 1914 : || !insn_condition_547 (operands, insn))
13912 748 : return -1;
13913 : return 5767; /* *vec_extractv4dfdf_valign */
13914 :
13915 : default:
13916 : return -1;
13917 : }
13918 :
13919 4016 : case E_TImode:
13920 4016 : if (!nonimmediate_operand (operands[0], E_TImode)
13921 4016 : || GET_MODE (x2) != E_TImode)
13922 : return -1;
13923 4016 : switch (GET_MODE (operands[1]))
13924 : {
13925 504 : case E_V2TImode:
13926 504 : if (!register_operand (operands[1], E_V2TImode)
13927 373 : || !const_0_to_1_operand (operands[2], E_SImode)
13928 877 : || !insn_condition_122 (operands, insn))
13929 131 : return -1;
13930 : return 7143; /* *vec_extractv2ti */
13931 :
13932 3512 : case E_V4TImode:
13933 3512 : if (!register_operand (operands[1], E_V4TImode)
13934 3038 : || !const_0_to_3_operand (operands[2], E_SImode)
13935 6550 : || !insn_condition_27 (operands, insn))
13936 474 : return -1;
13937 : return 7144; /* *vec_extractv4ti */
13938 :
13939 : default:
13940 : return -1;
13941 : }
13942 :
13943 : default:
13944 : return -1;
13945 : }
13946 :
13947 435197 : case 4:
13948 435197 : x5 = XVECEXP (x4, 0, 0);
13949 435197 : operands[2] = x5;
13950 435197 : if (pattern783 (x4) != 0)
13951 : return -1;
13952 379867 : switch (GET_MODE (operands[0]))
13953 : {
13954 31 : case E_V4HFmode:
13955 31 : if (!register_operand (operands[0], E_V4HFmode)
13956 31 : || GET_MODE (x2) != E_V4HFmode
13957 31 : || !register_mmxmem_operand (operands[1], E_V4HFmode)
13958 31 : || !insn_condition_542 (operands, insn))
13959 31 : return -1;
13960 : return 2492; /* mmx_pshufwv4hf_1 */
13961 :
13962 2 : case E_V4BFmode:
13963 2 : if (!register_operand (operands[0], E_V4BFmode)
13964 2 : || GET_MODE (x2) != E_V4BFmode
13965 2 : || !register_mmxmem_operand (operands[1], E_V4BFmode)
13966 2 : || !insn_condition_542 (operands, insn))
13967 2 : return -1;
13968 : return 2493; /* mmx_pshufwv4bf_1 */
13969 :
13970 12151 : case E_V4HImode:
13971 12151 : if (!register_operand (operands[0], E_V4HImode)
13972 9063 : || GET_MODE (x2) != E_V4HImode
13973 9063 : || !register_mmxmem_operand (operands[1], E_V4HImode)
13974 18973 : || !insn_condition_542 (operands, insn))
13975 5329 : return -1;
13976 : return 2494; /* mmx_pshufwv4hi_1 */
13977 :
13978 : default:
13979 : return -1;
13980 : }
13981 :
13982 : default:
13983 : return -1;
13984 : }
13985 : }
13986 :
13987 : int
13988 81210 : recog_82 (rtx x1 ATTRIBUTE_UNUSED,
13989 : rtx_insn *insn ATTRIBUTE_UNUSED,
13990 : int *pnum_clobbers ATTRIBUTE_UNUSED)
13991 : {
13992 81210 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
13993 81210 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
13994 81210 : rtx x10;
13995 81210 : int res ATTRIBUTE_UNUSED;
13996 81210 : x2 = XEXP (x1, 1);
13997 81210 : x3 = XEXP (x2, 0);
13998 81210 : x4 = XEXP (x3, 0);
13999 81210 : switch (GET_CODE (x4))
14000 : {
14001 57404 : case REG:
14002 57404 : case SUBREG:
14003 57404 : case MEM:
14004 57404 : operands[1] = x4;
14005 57404 : x5 = XEXP (x3, 1);
14006 57404 : operands[2] = x5;
14007 57404 : switch (pattern316 (x2))
14008 : {
14009 6112 : case 0:
14010 6112 : if (!nonimmediate_operand (operands[1], E_QImode)
14011 6112 : || !general_operand (operands[2], E_QImode))
14012 : return -1;
14013 5735 : if (insn_condition_293 (operands, insn))
14014 : return 293; /* *addqi_1_zextsi_nf */
14015 5735 : if (pnum_clobbers == NULL
14016 5735 : || !insn_condition_294 (operands, insn))
14017 : return -1;
14018 6 : *pnum_clobbers = 1;
14019 6 : return 294; /* *addqi_1_zextsi */
14020 :
14021 3842 : case 1:
14022 3842 : if (!nonimmediate_operand (operands[1], E_HImode)
14023 3842 : || !general_operand (operands[2], E_HImode))
14024 : return -1;
14025 3785 : if (insn_condition_293 (operands, insn))
14026 : return 297; /* *addhi_1_zextsi_nf */
14027 3785 : if (pnum_clobbers == NULL
14028 3785 : || !insn_condition_294 (operands, insn))
14029 : return -1;
14030 6 : *pnum_clobbers = 1;
14031 6 : return 298; /* *addhi_1_zextsi */
14032 :
14033 5105 : case 2:
14034 5105 : if (!nonimmediate_operand (operands[1], E_QImode)
14035 5105 : || !general_operand (operands[2], E_QImode))
14036 : return -1;
14037 5080 : if (insn_condition_293 (operands, insn))
14038 : return 295; /* *addqi_1_zextdi_nf */
14039 5080 : if (pnum_clobbers == NULL
14040 5080 : || !insn_condition_294 (operands, insn))
14041 : return -1;
14042 6 : *pnum_clobbers = 1;
14043 6 : return 296; /* *addqi_1_zextdi */
14044 :
14045 962 : case 3:
14046 962 : if (!nonimmediate_operand (operands[1], E_HImode)
14047 962 : || !general_operand (operands[2], E_HImode))
14048 : return -1;
14049 860 : if (insn_condition_293 (operands, insn))
14050 : return 299; /* *addhi_1_zextdi_nf */
14051 860 : if (pnum_clobbers == NULL
14052 860 : || !insn_condition_294 (operands, insn))
14053 : return -1;
14054 6 : *pnum_clobbers = 1;
14055 6 : return 300; /* *addhi_1_zextdi */
14056 :
14057 15404 : case 4:
14058 15404 : if (pnum_clobbers == NULL
14059 15388 : || !nonimmediate_operand (operands[1], E_SImode)
14060 12047 : || !x86_64_general_operand (operands[2], E_SImode)
14061 25180 : || !insn_condition_696 (operands, insn))
14062 : return -1;
14063 3002 : *pnum_clobbers = 1;
14064 3002 : return 301; /* addsi_1_zext */
14065 :
14066 : default:
14067 : return -1;
14068 : }
14069 :
14070 3121 : case PLUS:
14071 3121 : if (pnum_clobbers == NULL)
14072 : return -1;
14073 3120 : x6 = XEXP (x4, 0);
14074 3120 : switch (GET_CODE (x6))
14075 : {
14076 42 : case LTU:
14077 42 : case UNLT:
14078 42 : operands[3] = x6;
14079 42 : x7 = XEXP (x6, 0);
14080 42 : if (GET_CODE (x7) != REG
14081 42 : || REGNO (x7) != 17)
14082 : return -1;
14083 8 : x8 = XEXP (x6, 1);
14084 8 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
14085 : return -1;
14086 8 : x9 = XEXP (x4, 1);
14087 8 : operands[1] = x9;
14088 8 : x5 = XEXP (x3, 1);
14089 8 : operands[2] = x5;
14090 8 : switch (pattern316 (x2))
14091 : {
14092 0 : case 0:
14093 0 : if (pattern1586 (x4,
14094 : E_QImode) != 0
14095 0 : || !insn_condition_295 (operands, insn))
14096 : return -1;
14097 0 : *pnum_clobbers = 1;
14098 0 : return 483; /* *addqi3_carry_zextsi */
14099 :
14100 0 : case 1:
14101 0 : if (pattern1586 (x4,
14102 : E_HImode) != 0
14103 0 : || !insn_condition_295 (operands, insn))
14104 : return -1;
14105 0 : *pnum_clobbers = 1;
14106 0 : return 485; /* *addhi3_carry_zextsi */
14107 :
14108 3 : case 2:
14109 3 : if (pattern1586 (x4,
14110 : E_QImode) != 0
14111 3 : || !insn_condition_295 (operands, insn))
14112 : return -1;
14113 0 : *pnum_clobbers = 1;
14114 0 : return 484; /* *addqi3_carry_zextdi */
14115 :
14116 1 : case 3:
14117 1 : if (pattern1586 (x4,
14118 : E_HImode) != 0
14119 1 : || !insn_condition_295 (operands, insn))
14120 : return -1;
14121 0 : *pnum_clobbers = 1;
14122 0 : return 486; /* *addhi3_carry_zextdi */
14123 :
14124 3 : case 4:
14125 3 : if (pattern1586 (x4,
14126 : E_SImode) != 0
14127 3 : || !insn_condition_696 (operands, insn))
14128 : return -1;
14129 3 : *pnum_clobbers = 1;
14130 3 : return 487; /* *addsi3_carry_zext */
14131 :
14132 : default:
14133 : return -1;
14134 : }
14135 :
14136 : default:
14137 : return -1;
14138 : }
14139 :
14140 41 : case LTU:
14141 41 : case UNLT:
14142 41 : switch (pattern317 (x2, pnum_clobbers))
14143 : {
14144 1 : case 0:
14145 1 : if (!ix86_carry_flag_operator (operands[2], E_QImode)
14146 1 : || !nonimmediate_operand (operands[1], E_QImode)
14147 2 : || !insn_condition_296 (operands, insn))
14148 : return -1;
14149 1 : *pnum_clobbers = 1;
14150 1 : return 489; /* *addqi3_carry_zextsi_0 */
14151 :
14152 1 : case 1:
14153 1 : if (!ix86_carry_flag_operator (operands[2], E_HImode)
14154 1 : || !nonimmediate_operand (operands[1], E_HImode)
14155 2 : || !insn_condition_296 (operands, insn))
14156 : return -1;
14157 1 : *pnum_clobbers = 1;
14158 1 : return 491; /* *addhi3_carry_zextsi_0 */
14159 :
14160 1 : case 2:
14161 1 : if (!ix86_carry_flag_operator (operands[2], E_QImode)
14162 1 : || !nonimmediate_operand (operands[1], E_QImode)
14163 2 : || !insn_condition_296 (operands, insn))
14164 : return -1;
14165 1 : *pnum_clobbers = 1;
14166 1 : return 490; /* *addqi3_carry_zextdi_0 */
14167 :
14168 1 : case 3:
14169 1 : if (!ix86_carry_flag_operator (operands[2], E_HImode)
14170 1 : || !nonimmediate_operand (operands[1], E_HImode)
14171 2 : || !insn_condition_296 (operands, insn))
14172 : return -1;
14173 1 : *pnum_clobbers = 1;
14174 1 : return 492; /* *addhi3_carry_zextdi_0 */
14175 :
14176 20 : case 4:
14177 20 : if (!ix86_carry_flag_operator (operands[2], E_SImode)
14178 20 : || !nonimmediate_operand (operands[1], E_SImode)
14179 40 : || !insn_condition_52 (operands, insn))
14180 : return -1;
14181 20 : *pnum_clobbers = 1;
14182 20 : return 493; /* *addsi3_carry_zext_0 */
14183 :
14184 : default:
14185 : return -1;
14186 : }
14187 :
14188 18 : case GE:
14189 18 : case GEU:
14190 18 : switch (pattern317 (x2, pnum_clobbers))
14191 : {
14192 1 : case 0:
14193 1 : if (!ix86_carry_flag_unset_operator (operands[2], E_QImode)
14194 1 : || !nonimmediate_operand (operands[1], E_QImode)
14195 2 : || !insn_condition_296 (operands, insn))
14196 : return -1;
14197 1 : *pnum_clobbers = 1;
14198 1 : return 495; /* *addqi3_carry_zextsi_0r */
14199 :
14200 1 : case 1:
14201 1 : if (!ix86_carry_flag_unset_operator (operands[2], E_HImode)
14202 1 : || !nonimmediate_operand (operands[1], E_HImode)
14203 2 : || !insn_condition_296 (operands, insn))
14204 : return -1;
14205 1 : *pnum_clobbers = 1;
14206 1 : return 497; /* *addhi3_carry_zextsi_0r */
14207 :
14208 1 : case 2:
14209 1 : if (!ix86_carry_flag_unset_operator (operands[2], E_QImode)
14210 1 : || !nonimmediate_operand (operands[1], E_QImode)
14211 2 : || !insn_condition_296 (operands, insn))
14212 : return -1;
14213 1 : *pnum_clobbers = 1;
14214 1 : return 496; /* *addqi3_carry_zextdi_0r */
14215 :
14216 1 : case 3:
14217 1 : if (!ix86_carry_flag_unset_operator (operands[2], E_HImode)
14218 1 : || !nonimmediate_operand (operands[1], E_HImode)
14219 2 : || !insn_condition_296 (operands, insn))
14220 : return -1;
14221 1 : *pnum_clobbers = 1;
14222 1 : return 498; /* *addhi3_carry_zextdi_0r */
14223 :
14224 4 : case 4:
14225 4 : if (!ix86_carry_flag_unset_operator (operands[2], E_SImode)
14226 4 : || !nonimmediate_operand (operands[1], E_SImode)
14227 8 : || !insn_condition_52 (operands, insn))
14228 : return -1;
14229 4 : *pnum_clobbers = 1;
14230 4 : return 499; /* *addsi3_carry_zext_0r */
14231 :
14232 : default:
14233 : return -1;
14234 : }
14235 :
14236 4 : case UNSPEC:
14237 4 : if (pnum_clobbers == NULL
14238 4 : || XVECLEN (x4, 0) != 1
14239 4 : || XINT (x4, 1) != 18
14240 4 : || GET_MODE (x4) != E_SImode)
14241 : return -1;
14242 4 : x10 = XVECEXP (x4, 0, 0);
14243 4 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
14244 4 : || !register_operand (operands[0], E_DImode)
14245 4 : || GET_MODE (x2) != E_DImode
14246 8 : || GET_MODE (x3) != E_SImode)
14247 : return -1;
14248 4 : x5 = XEXP (x3, 1);
14249 4 : operands[1] = x5;
14250 4 : if (!register_operand (operands[1], E_SImode)
14251 4 : || !insn_condition_635 (operands, insn))
14252 : return -1;
14253 4 : *pnum_clobbers = 1;
14254 4 : return 1802; /* *add_tp_x32_zext */
14255 :
14256 : default:
14257 : return -1;
14258 : }
14259 : }
14260 :
14261 : int
14262 146412 : recog_85 (rtx x1 ATTRIBUTE_UNUSED,
14263 : rtx_insn *insn ATTRIBUTE_UNUSED,
14264 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14265 : {
14266 146412 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14267 146412 : rtx x2, x3, x4, x5, x6;
14268 146412 : int res ATTRIBUTE_UNUSED;
14269 146412 : x2 = XEXP (x1, 1);
14270 146412 : x3 = XEXP (x2, 0);
14271 146412 : x4 = XEXP (x3, 1);
14272 146412 : if (GET_CODE (x4) != PARALLEL
14273 146412 : || XVECLEN (x4, 0) != 1)
14274 : return -1;
14275 120886 : x5 = XVECEXP (x4, 0, 0);
14276 120886 : if (GET_CODE (x5) != CONST_INT)
14277 : return -1;
14278 120886 : operands[2] = x5;
14279 120886 : x6 = XEXP (x3, 0);
14280 120886 : operands[1] = x6;
14281 120886 : switch (GET_MODE (operands[0]))
14282 : {
14283 112645 : case E_SImode:
14284 112645 : switch (pattern1026 (x2,
14285 : E_SImode))
14286 : {
14287 8448 : case 0:
14288 8448 : if (insn_condition_542 (operands, insn))
14289 : return 2484; /* *mmx_pextrw_zext */
14290 : break;
14291 :
14292 4869 : case 1:
14293 4869 : if (insn_condition_141 (operands, insn))
14294 : return 2522; /* *pextrw_zext */
14295 : break;
14296 :
14297 55525 : case 2:
14298 55525 : if (insn_condition_141 (operands, insn))
14299 : return 7128; /* *vec_extractv8hi_zext */
14300 : break;
14301 :
14302 9827 : case 3:
14303 9827 : if (insn_condition_115 (operands, insn))
14304 : return 2488; /* *mmx_pextrb_zext */
14305 : break;
14306 :
14307 386 : case 4:
14308 386 : if (insn_condition_92 (operands, insn))
14309 : return 2526; /* *pextrb_zext */
14310 : break;
14311 :
14312 14147 : case 5:
14313 14147 : if (insn_condition_543 (operands, insn))
14314 : return 7126; /* *vec_extractv16qi_zext */
14315 : break;
14316 :
14317 : default:
14318 : break;
14319 : }
14320 : break;
14321 :
14322 8075 : case E_DImode:
14323 8075 : switch (pattern1026 (x2,
14324 : E_DImode))
14325 : {
14326 182 : case 0:
14327 182 : if (insn_condition_700 (operands, insn))
14328 : return 2485; /* *mmx_pextrw_zext */
14329 : break;
14330 :
14331 12 : case 1:
14332 12 : if (insn_condition_701 (operands, insn))
14333 : return 2523; /* *pextrw_zext */
14334 : break;
14335 :
14336 265 : case 2:
14337 265 : if (insn_condition_701 (operands, insn))
14338 : return 7129; /* *vec_extractv8hi_zext */
14339 : break;
14340 :
14341 1 : case 3:
14342 1 : if (insn_condition_702 (operands, insn))
14343 : return 2489; /* *mmx_pextrb_zext */
14344 : break;
14345 :
14346 0 : case 4:
14347 0 : if (insn_condition_703 (operands, insn))
14348 : return 2527; /* *pextrb_zext */
14349 : break;
14350 :
14351 4 : case 5:
14352 4 : if (insn_condition_704 (operands, insn))
14353 : return 7127; /* *vec_extractv16qi_zext */
14354 : break;
14355 :
14356 : default:
14357 : break;
14358 : }
14359 : break;
14360 :
14361 : default:
14362 : break;
14363 : }
14364 27224 : if (!register_operand (operands[0], E_DImode)
14365 7582 : || GET_MODE (x2) != E_DImode
14366 34806 : || GET_MODE (x3) != E_SImode)
14367 : return -1;
14368 7382 : operands[1] = x6;
14369 7382 : switch (XWINT (x5, 0))
14370 : {
14371 4455 : case 0L:
14372 4455 : switch (GET_MODE (operands[1]))
14373 : {
14374 1291 : case E_V2SImode:
14375 1291 : if (register_operand (operands[1], E_V2SImode))
14376 : {
14377 829 : if (insn_condition_705 (operands, insn))
14378 : return 2510; /* *vec_extractv2si_0_zext_sse4 */
14379 829 : if (insn_condition_706 (operands, insn))
14380 : return 2511; /* *vec_extractv2si_0_zext */
14381 : }
14382 : break;
14383 :
14384 3138 : case E_V4SImode:
14385 3138 : if (register_operand (operands[1], E_V4SImode))
14386 : {
14387 2637 : if (insn_condition_707 (operands, insn))
14388 : return 7136; /* *vec_extractv4si_0_zext_sse4 */
14389 2615 : if (insn_condition_708 (operands, insn))
14390 : return 7137; /* *vec_extractv4si_0_zext */
14391 : }
14392 : break;
14393 :
14394 : default:
14395 : break;
14396 : }
14397 : break;
14398 :
14399 1579 : case 1L:
14400 1579 : if (register_operand (operands[1], E_V2SImode)
14401 1579 : && insn_condition_709 (operands, insn))
14402 : return 2513; /* *vec_extractv2si_1_zext */
14403 : break;
14404 :
14405 : default:
14406 : break;
14407 : }
14408 3931 : operands[2] = x5;
14409 3931 : switch (GET_MODE (operands[1]))
14410 : {
14411 1390 : case E_V2SImode:
14412 1390 : if (!memory_operand (operands[1], E_V2SImode)
14413 0 : || !const_0_to_1_operand (operands[2], E_SImode)
14414 1390 : || !insn_condition_710 (operands, insn))
14415 1390 : return -1;
14416 : return 2514; /* *vec_extractv2si_zext_mem */
14417 :
14418 2514 : case E_V4SImode:
14419 2514 : if (!const_0_to_3_operand (operands[2], E_SImode))
14420 : return -1;
14421 2514 : if (register_operand (operands[1], E_V4SImode)
14422 2514 : && insn_condition_707 (operands, insn))
14423 : return 7139; /* *vec_extractv4si_zext */
14424 2482 : if (!memory_operand (operands[1], E_V4SImode)
14425 2482 : || !insn_condition_636 (operands, insn))
14426 2478 : return -1;
14427 : return 7141; /* *vec_extractv4si_zext_mem */
14428 :
14429 : default:
14430 : return -1;
14431 : }
14432 : }
14433 :
14434 : int
14435 639598 : recog_88 (rtx x1 ATTRIBUTE_UNUSED,
14436 : rtx_insn *insn ATTRIBUTE_UNUSED,
14437 : int *pnum_clobbers ATTRIBUTE_UNUSED)
14438 : {
14439 639598 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
14440 639598 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
14441 639598 : rtx x10, x11, x12, x13;
14442 639598 : int res ATTRIBUTE_UNUSED;
14443 639598 : x2 = XEXP (x1, 0);
14444 639598 : operands[0] = x2;
14445 639598 : x3 = XEXP (x1, 1);
14446 639598 : x4 = XEXP (x3, 0);
14447 639598 : switch (GET_CODE (x4))
14448 : {
14449 81210 : case PLUS:
14450 81210 : return recog_82 (x1, insn, pnum_clobbers);
14451 :
14452 67588 : case MINUS:
14453 67588 : return recog_84 (x1, insn, pnum_clobbers);
14454 :
14455 12144 : case MULT:
14456 12144 : return recog_87 (x1, insn, pnum_clobbers);
14457 :
14458 2608 : case UMUL_HIGHPART:
14459 2608 : if (pattern131 (x3) != 0)
14460 : return -1;
14461 97 : if (insn_condition_612 (operands, insn))
14462 : return 662; /* *bmi2_umulsi3_highpart_zext */
14463 97 : if (pnum_clobbers == NULL
14464 97 : || !insn_condition_52 (operands, insn))
14465 : return -1;
14466 0 : *pnum_clobbers = 2;
14467 0 : return 663; /* *umulsi3_highpart_zext */
14468 :
14469 13 : case SMUL_HIGHPART:
14470 13 : if (pnum_clobbers == NULL
14471 13 : || pattern131 (x3) != 0
14472 13 : || !insn_condition_52 (operands, insn))
14473 : return -1;
14474 0 : *pnum_clobbers = 2;
14475 0 : return 664; /* *smulsi3_highpart_zext */
14476 :
14477 34 : case TRUNCATE:
14478 34 : if (pnum_clobbers == NULL
14479 26 : || GET_MODE (x4) != E_SImode)
14480 : return -1;
14481 0 : x5 = XEXP (x4, 0);
14482 0 : if (GET_CODE (x5) != LSHIFTRT
14483 0 : || GET_MODE (x5) != E_DImode)
14484 : return -1;
14485 0 : x6 = XEXP (x5, 0);
14486 0 : if (GET_CODE (x6) != MULT
14487 0 : || GET_MODE (x6) != E_DImode)
14488 : return -1;
14489 0 : x7 = XEXP (x5, 1);
14490 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 32]
14491 0 : || !register_operand (operands[0], E_DImode)
14492 0 : || GET_MODE (x3) != E_DImode)
14493 : return -1;
14494 0 : x8 = XEXP (x6, 0);
14495 0 : if (GET_MODE (x8) != E_DImode)
14496 : return -1;
14497 0 : x9 = XEXP (x6, 1);
14498 0 : if (GET_MODE (x9) != E_DImode)
14499 : return -1;
14500 0 : switch (GET_CODE (x8))
14501 : {
14502 0 : case ZERO_EXTEND:
14503 0 : if (GET_CODE (x9) != ZERO_EXTEND)
14504 : return -1;
14505 0 : x10 = XEXP (x8, 0);
14506 0 : operands[1] = x10;
14507 0 : if (!register_operand (operands[1], E_SImode))
14508 : return -1;
14509 0 : x11 = XEXP (x9, 0);
14510 0 : operands[2] = x11;
14511 0 : if (!nonimmediate_operand (operands[2], E_SImode)
14512 0 : || !insn_condition_52 (operands, insn))
14513 : return -1;
14514 0 : *pnum_clobbers = 2;
14515 0 : return 667; /* *umulsi3_highpart_1_zext */
14516 :
14517 0 : case SIGN_EXTEND:
14518 0 : if (GET_CODE (x9) != SIGN_EXTEND)
14519 : return -1;
14520 0 : x10 = XEXP (x8, 0);
14521 0 : operands[1] = x10;
14522 0 : if (!register_operand (operands[1], E_SImode))
14523 : return -1;
14524 0 : x11 = XEXP (x9, 0);
14525 0 : operands[2] = x11;
14526 0 : if (!nonimmediate_operand (operands[2], E_SImode)
14527 0 : || !insn_condition_52 (operands, insn))
14528 : return -1;
14529 0 : *pnum_clobbers = 2;
14530 0 : return 668; /* *smulsi3_highpart_1_zext */
14531 :
14532 : default:
14533 : return -1;
14534 : }
14535 :
14536 7050 : case AND:
14537 7050 : return recog_83 (x1, insn, pnum_clobbers);
14538 :
14539 7024 : case IOR:
14540 7024 : switch (pattern133 (x3, pnum_clobbers))
14541 : {
14542 2424 : case 0:
14543 2424 : if (insn_condition_293 (operands, insn))
14544 : return 879; /* *iorqi_1_zextsi_nf */
14545 2422 : if (pnum_clobbers == NULL
14546 2422 : || !insn_condition_294 (operands, insn))
14547 : return -1;
14548 4 : *pnum_clobbers = 1;
14549 4 : return 880; /* *iorqi_1_zextsi */
14550 :
14551 343 : case 1:
14552 343 : if (insn_condition_293 (operands, insn))
14553 : return 887; /* *iorhi_1_zextsi_nf */
14554 343 : if (pnum_clobbers == NULL
14555 343 : || !insn_condition_294 (operands, insn))
14556 : return -1;
14557 4 : *pnum_clobbers = 1;
14558 4 : return 888; /* *iorhi_1_zextsi */
14559 :
14560 581 : case 2:
14561 581 : if (insn_condition_293 (operands, insn))
14562 : return 883; /* *iorqi_1_zextdi_nf */
14563 580 : if (pnum_clobbers == NULL
14564 580 : || !insn_condition_294 (operands, insn))
14565 : return -1;
14566 4 : *pnum_clobbers = 1;
14567 4 : return 884; /* *iorqi_1_zextdi */
14568 :
14569 358 : case 3:
14570 358 : if (insn_condition_293 (operands, insn))
14571 : return 891; /* *iorhi_1_zextdi_nf */
14572 357 : if (pnum_clobbers == NULL
14573 357 : || !insn_condition_294 (operands, insn))
14574 : return -1;
14575 4 : *pnum_clobbers = 1;
14576 4 : return 892; /* *iorhi_1_zextdi */
14577 :
14578 420 : case 4:
14579 420 : if (!insn_condition_717 (operands, insn))
14580 : return -1;
14581 410 : *pnum_clobbers = 1;
14582 410 : return 895; /* *iorsi_1_zext */
14583 :
14584 : default:
14585 : return -1;
14586 : }
14587 :
14588 7264 : case XOR:
14589 7264 : return recog_86 (x1, insn, pnum_clobbers);
14590 :
14591 1910 : case NEG:
14592 1910 : x5 = XEXP (x4, 0);
14593 1910 : operands[1] = x5;
14594 1910 : switch (pattern319 (x3, pnum_clobbers))
14595 : {
14596 218 : case 0:
14597 218 : if (insn_condition_297 (operands, insn))
14598 : return 1000; /* *negqi_1_zextsi_nf */
14599 218 : if (pnum_clobbers == NULL
14600 218 : || !insn_condition_298 (operands, insn))
14601 : return -1;
14602 1 : *pnum_clobbers = 1;
14603 1 : return 1001; /* *negqi_1_zextsi */
14604 :
14605 245 : case 1:
14606 245 : if (insn_condition_297 (operands, insn))
14607 : return 1004; /* *neghi_1_zextsi_nf */
14608 245 : if (pnum_clobbers == NULL
14609 245 : || !insn_condition_298 (operands, insn))
14610 : return -1;
14611 1 : *pnum_clobbers = 1;
14612 1 : return 1005; /* *neghi_1_zextsi */
14613 :
14614 140 : case 2:
14615 140 : if (insn_condition_297 (operands, insn))
14616 : return 1002; /* *negqi_1_zextdi_nf */
14617 140 : if (pnum_clobbers == NULL
14618 140 : || !insn_condition_298 (operands, insn))
14619 : return -1;
14620 1 : *pnum_clobbers = 1;
14621 1 : return 1003; /* *negqi_1_zextdi */
14622 :
14623 34 : case 3:
14624 34 : if (insn_condition_297 (operands, insn))
14625 : return 1006; /* *neghi_1_zextdi_nf */
14626 34 : if (pnum_clobbers == NULL
14627 34 : || !insn_condition_298 (operands, insn))
14628 : return -1;
14629 1 : *pnum_clobbers = 1;
14630 1 : return 1007; /* *neghi_1_zextdi */
14631 :
14632 575 : case 4:
14633 575 : if (!insn_condition_718 (operands, insn))
14634 : return -1;
14635 546 : *pnum_clobbers = 1;
14636 546 : return 1008; /* *negsi_1_zext */
14637 :
14638 : default:
14639 : return -1;
14640 : }
14641 :
14642 1450 : case NOT:
14643 1450 : x5 = XEXP (x4, 0);
14644 1450 : operands[1] = x5;
14645 1450 : switch (GET_MODE (operands[0]))
14646 : {
14647 305 : case E_SImode:
14648 305 : switch (pattern318 (x3))
14649 : {
14650 136 : case 0:
14651 136 : if (!insn_condition_296 (operands, insn))
14652 135 : return -1;
14653 : return 1072; /* *one_cmplqi2_1_zextsi */
14654 :
14655 152 : case 1:
14656 152 : if (!insn_condition_296 (operands, insn))
14657 151 : return -1;
14658 : return 1074; /* *one_cmplhi2_1_zextsi */
14659 :
14660 : default:
14661 : return -1;
14662 : }
14663 :
14664 1126 : case E_DImode:
14665 1126 : if (!register_operand (operands[0], E_DImode)
14666 1126 : || GET_MODE (x3) != E_DImode)
14667 : return -1;
14668 1123 : switch (GET_MODE (x4))
14669 : {
14670 92 : case E_QImode:
14671 92 : if (!nonimmediate_operand (operands[1], E_QImode)
14672 92 : || !insn_condition_296 (operands, insn))
14673 91 : return -1;
14674 : return 1073; /* *one_cmplqi2_1_zextdi */
14675 :
14676 55 : case E_HImode:
14677 55 : if (!nonimmediate_operand (operands[1], E_HImode)
14678 55 : || !insn_condition_296 (operands, insn))
14679 54 : return -1;
14680 : return 1075; /* *one_cmplhi2_1_zextdi */
14681 :
14682 976 : case E_SImode:
14683 976 : if (!nonimmediate_operand (operands[1], E_SImode)
14684 976 : || !insn_condition_719 (operands, insn))
14685 109 : return -1;
14686 : return 1076; /* *one_cmplsi2_1_zext */
14687 :
14688 : default:
14689 : return -1;
14690 : }
14691 :
14692 : default:
14693 : return -1;
14694 : }
14695 :
14696 4313 : case ASHIFT:
14697 4313 : switch (pattern134 (x3))
14698 : {
14699 1106 : case 0:
14700 1106 : if (register_operand (operands[2], E_SImode)
14701 1106 : && insn_condition_612 (operands, insn))
14702 : return 1176; /* *bmi2_ashlsi3_1_zext */
14703 1104 : if (pnum_clobbers == NULL
14704 1085 : || !nonmemory_operand (operands[2], E_QImode)
14705 2008 : || !insn_condition_720 (operands, insn))
14706 : return -1;
14707 599 : *pnum_clobbers = 1;
14708 599 : return 1187; /* *ashlsi3_1_zext */
14709 :
14710 1000 : case 1:
14711 1000 : if (insn_condition_297 (operands, insn))
14712 : return 1181; /* *ashlqi3_1_zextdi_nf */
14713 1000 : if (pnum_clobbers == NULL
14714 1000 : || !insn_condition_298 (operands, insn))
14715 : return -1;
14716 2 : *pnum_clobbers = 1;
14717 2 : return 1182; /* *ashlqi3_1_zextdi */
14718 :
14719 452 : case 2:
14720 452 : if (insn_condition_297 (operands, insn))
14721 : return 1185; /* *ashlhi3_1_zextdi_nf */
14722 452 : if (pnum_clobbers == NULL
14723 452 : || !insn_condition_298 (operands, insn))
14724 : return -1;
14725 2 : *pnum_clobbers = 1;
14726 2 : return 1186; /* *ashlhi3_1_zextdi */
14727 :
14728 251 : case 3:
14729 251 : if (insn_condition_297 (operands, insn))
14730 : return 1179; /* *ashlqi3_1_zextsi_nf */
14731 251 : if (pnum_clobbers == NULL
14732 251 : || !insn_condition_298 (operands, insn))
14733 : return -1;
14734 2 : *pnum_clobbers = 1;
14735 2 : return 1180; /* *ashlqi3_1_zextsi */
14736 :
14737 128 : case 4:
14738 128 : if (insn_condition_297 (operands, insn))
14739 : return 1183; /* *ashlhi3_1_zextsi_nf */
14740 128 : if (pnum_clobbers == NULL
14741 128 : || !insn_condition_298 (operands, insn))
14742 : return -1;
14743 2 : *pnum_clobbers = 1;
14744 2 : return 1184; /* *ashlhi3_1_zextsi */
14745 :
14746 : default:
14747 : return -1;
14748 : }
14749 :
14750 12112 : case ASHIFTRT:
14751 12112 : if (GET_MODE (x4) == E_SImode
14752 12112 : && register_operand (operands[0], E_DImode))
14753 : {
14754 5778 : res = recog_79 (x1, insn, pnum_clobbers);
14755 5778 : if (res >= 0)
14756 : return res;
14757 : }
14758 12110 : x5 = XEXP (x4, 0);
14759 12110 : operands[1] = x5;
14760 12110 : switch (pattern320 (x3, pnum_clobbers))
14761 : {
14762 14 : case 0:
14763 14 : if (insn_condition_297 (operands, insn))
14764 : return 1324; /* *ashrqi3_1_zextsi_nf */
14765 14 : if (pnum_clobbers == NULL
14766 14 : || !insn_condition_298 (operands, insn))
14767 : return -1;
14768 2 : *pnum_clobbers = 1;
14769 2 : return 1325; /* *ashrqi3_1_zextsi */
14770 :
14771 147 : case 1:
14772 147 : if (insn_condition_297 (operands, insn))
14773 : return 1332; /* *ashrhi3_1_zextsi_nf */
14774 147 : if (pnum_clobbers == NULL
14775 147 : || !insn_condition_298 (operands, insn))
14776 : return -1;
14777 2 : *pnum_clobbers = 1;
14778 2 : return 1333; /* *ashrhi3_1_zextsi */
14779 :
14780 5655 : case 2:
14781 5655 : if (insn_condition_297 (operands, insn))
14782 : return 1328; /* *ashrqi3_1_zextdi_nf */
14783 5655 : if (pnum_clobbers == NULL
14784 5655 : || !insn_condition_298 (operands, insn))
14785 : return -1;
14786 2 : *pnum_clobbers = 1;
14787 2 : return 1329; /* *ashrqi3_1_zextdi */
14788 :
14789 10 : case 3:
14790 10 : if (insn_condition_297 (operands, insn))
14791 : return 1336; /* *ashrhi3_1_zextdi_nf */
14792 10 : if (pnum_clobbers == NULL
14793 10 : || !insn_condition_298 (operands, insn))
14794 : return -1;
14795 2 : *pnum_clobbers = 1;
14796 2 : return 1337; /* *ashrhi3_1_zextdi */
14797 :
14798 4260 : case 4:
14799 4260 : if (!insn_condition_721 (operands, insn))
14800 : return -1;
14801 4229 : *pnum_clobbers = 1;
14802 4229 : return 1339; /* *ashrsi3_1_zext */
14803 :
14804 : default:
14805 : return -1;
14806 : }
14807 :
14808 29951 : case LSHIFTRT:
14809 29951 : switch (pattern134 (x3))
14810 : {
14811 19049 : case 0:
14812 19049 : if (register_operand (operands[2], E_SImode)
14813 19049 : && insn_condition_612 (operands, insn))
14814 : return 1316; /* *bmi2_lshrsi3_1_zext */
14815 19049 : if (pnum_clobbers == NULL
14816 19012 : || !nonmemory_operand (operands[2], E_QImode)
14817 38058 : || !insn_condition_722 (operands, insn))
14818 : return -1;
14819 18604 : *pnum_clobbers = 1;
14820 18604 : return 1338; /* *lshrsi3_1_zext */
14821 :
14822 1949 : case 1:
14823 1949 : if (insn_condition_297 (operands, insn))
14824 : return 1326; /* *lshrqi3_1_zextdi_nf */
14825 1949 : if (pnum_clobbers == NULL
14826 1949 : || !insn_condition_298 (operands, insn))
14827 : return -1;
14828 2 : *pnum_clobbers = 1;
14829 2 : return 1327; /* *lshrqi3_1_zextdi */
14830 :
14831 629 : case 2:
14832 629 : if (insn_condition_297 (operands, insn))
14833 : return 1334; /* *lshrhi3_1_zextdi_nf */
14834 629 : if (pnum_clobbers == NULL
14835 629 : || !insn_condition_298 (operands, insn))
14836 : return -1;
14837 2 : *pnum_clobbers = 1;
14838 2 : return 1335; /* *lshrhi3_1_zextdi */
14839 :
14840 5018 : case 3:
14841 5018 : if (insn_condition_297 (operands, insn))
14842 : return 1322; /* *lshrqi3_1_zextsi_nf */
14843 5018 : if (pnum_clobbers == NULL
14844 5018 : || !insn_condition_298 (operands, insn))
14845 : return -1;
14846 2 : *pnum_clobbers = 1;
14847 2 : return 1323; /* *lshrqi3_1_zextsi */
14848 :
14849 1725 : case 4:
14850 1725 : if (insn_condition_297 (operands, insn))
14851 : return 1330; /* *lshrhi3_1_zextsi_nf */
14852 1725 : if (pnum_clobbers == NULL
14853 1725 : || !insn_condition_298 (operands, insn))
14854 : return -1;
14855 2 : *pnum_clobbers = 1;
14856 2 : return 1331; /* *lshrhi3_1_zextsi */
14857 :
14858 : default:
14859 : return -1;
14860 : }
14861 :
14862 123 : case ROTATERT:
14863 123 : switch (pattern134 (x3))
14864 : {
14865 87 : case 0:
14866 87 : if (const_0_to_31_operand (operands[2], E_QImode)
14867 87 : && insn_condition_723 (operands, insn))
14868 : return 1482; /* *bmi2_rorxsi3_1_zext */
14869 87 : if (pnum_clobbers == NULL
14870 87 : || !nonmemory_operand (operands[2], E_QImode)
14871 174 : || !insn_condition_724 (operands, insn))
14872 : return -1;
14873 51 : *pnum_clobbers = 1;
14874 51 : return 1504; /* *rotrsi3_1_zext */
14875 :
14876 2 : case 1:
14877 2 : if (insn_condition_297 (operands, insn))
14878 : return 1493; /* *rotrqi3_1_zextdi_nf */
14879 2 : if (pnum_clobbers == NULL
14880 2 : || !insn_condition_298 (operands, insn))
14881 : return -1;
14882 2 : *pnum_clobbers = 1;
14883 2 : return 1494; /* *rotrqi3_1_zextdi */
14884 :
14885 2 : case 2:
14886 2 : if (insn_condition_297 (operands, insn))
14887 : return 1501; /* *rotrhi3_1_zextdi_nf */
14888 2 : if (pnum_clobbers == NULL
14889 2 : || !insn_condition_298 (operands, insn))
14890 : return -1;
14891 2 : *pnum_clobbers = 1;
14892 2 : return 1502; /* *rotrhi3_1_zextdi */
14893 :
14894 9 : case 3:
14895 9 : if (insn_condition_297 (operands, insn))
14896 : return 1489; /* *rotrqi3_1_zextsi_nf */
14897 9 : if (pnum_clobbers == NULL
14898 9 : || !insn_condition_298 (operands, insn))
14899 : return -1;
14900 2 : *pnum_clobbers = 1;
14901 2 : return 1490; /* *rotrqi3_1_zextsi */
14902 :
14903 2 : case 4:
14904 2 : if (insn_condition_297 (operands, insn))
14905 : return 1497; /* *rotrhi3_1_zextsi_nf */
14906 2 : if (pnum_clobbers == NULL
14907 2 : || !insn_condition_298 (operands, insn))
14908 : return -1;
14909 2 : *pnum_clobbers = 1;
14910 2 : return 1498; /* *rotrhi3_1_zextsi */
14911 :
14912 : default:
14913 : return -1;
14914 : }
14915 :
14916 10 : case ROTATE:
14917 10 : x5 = XEXP (x4, 0);
14918 10 : operands[1] = x5;
14919 10 : switch (pattern320 (x3, pnum_clobbers))
14920 : {
14921 4 : case 0:
14922 4 : if (insn_condition_297 (operands, insn))
14923 : return 1487; /* *rotlqi3_1_zextsi_nf */
14924 4 : if (pnum_clobbers == NULL
14925 4 : || !insn_condition_298 (operands, insn))
14926 : return -1;
14927 2 : *pnum_clobbers = 1;
14928 2 : return 1488; /* *rotlqi3_1_zextsi */
14929 :
14930 2 : case 1:
14931 2 : if (insn_condition_297 (operands, insn))
14932 : return 1495; /* *rotlhi3_1_zextsi_nf */
14933 2 : if (pnum_clobbers == NULL
14934 2 : || !insn_condition_298 (operands, insn))
14935 : return -1;
14936 2 : *pnum_clobbers = 1;
14937 2 : return 1496; /* *rotlhi3_1_zextsi */
14938 :
14939 2 : case 2:
14940 2 : if (insn_condition_297 (operands, insn))
14941 : return 1491; /* *rotlqi3_1_zextdi_nf */
14942 2 : if (pnum_clobbers == NULL
14943 2 : || !insn_condition_298 (operands, insn))
14944 : return -1;
14945 2 : *pnum_clobbers = 1;
14946 2 : return 1492; /* *rotlqi3_1_zextdi */
14947 :
14948 2 : case 3:
14949 2 : if (insn_condition_297 (operands, insn))
14950 : return 1499; /* *rotlhi3_1_zextdi_nf */
14951 2 : if (pnum_clobbers == NULL
14952 2 : || !insn_condition_298 (operands, insn))
14953 : return -1;
14954 2 : *pnum_clobbers = 1;
14955 2 : return 1500; /* *rotlhi3_1_zextdi */
14956 :
14957 0 : case 4:
14958 0 : if (!insn_condition_725 (operands, insn))
14959 : return -1;
14960 0 : *pnum_clobbers = 1;
14961 0 : return 1503; /* *rotlsi3_1_zext */
14962 :
14963 : default:
14964 : return -1;
14965 : }
14966 :
14967 418 : case CTZ:
14968 418 : if (pattern135 (x3, pnum_clobbers,
14969 : E_SImode,
14970 : E_DImode) != 0
14971 418 : || !insn_condition_52 (operands, insn))
14972 : return -1;
14973 376 : *pnum_clobbers = 1;
14974 376 : return 1651; /* *ctzsidi2_uext */
14975 :
14976 8 : case CLZ:
14977 8 : if (pattern135 (x3, pnum_clobbers,
14978 : E_SImode,
14979 : E_DImode) != 0
14980 8 : || !insn_condition_726 (operands, insn))
14981 : return -1;
14982 8 : *pnum_clobbers = 1;
14983 8 : return 1681; /* *clzsi2_lzcnt_zext_2 */
14984 :
14985 47 : case POPCOUNT:
14986 47 : if (pnum_clobbers == NULL)
14987 : return -1;
14988 45 : x5 = XEXP (x4, 0);
14989 45 : operands[1] = x5;
14990 45 : switch (GET_MODE (operands[0]))
14991 : {
14992 8 : case E_DImode:
14993 8 : if (pattern646 (x3,
14994 : E_DImode,
14995 : E_SImode) != 0
14996 8 : || !insn_condition_727 (operands, insn))
14997 : return -1;
14998 8 : *pnum_clobbers = 1;
14999 8 : return 1772; /* *popcountsi2_zext_2 */
15000 :
15001 37 : case E_SImode:
15002 37 : if (pattern646 (x3,
15003 : E_SImode,
15004 : E_HImode) != 0
15005 37 : || !insn_condition_728 (operands, insn))
15006 : return -1;
15007 5 : *pnum_clobbers = 1;
15008 5 : return 1775; /* *popcounthi2_2 */
15009 :
15010 : default:
15011 : return -1;
15012 : }
15013 :
15014 1761 : case UNSPEC:
15015 1761 : return recog_81 (x1, insn, pnum_clobbers);
15016 :
15017 5451 : case IF_THEN_ELSE:
15018 5451 : if (GET_MODE (x4) != E_SImode)
15019 : return -1;
15020 1648 : x5 = XEXP (x4, 0);
15021 1648 : if (!ix86_comparison_operator (x5, E_VOIDmode))
15022 : return -1;
15023 1446 : operands[1] = x5;
15024 1446 : x6 = XEXP (x5, 0);
15025 1446 : if (GET_CODE (x6) != REG
15026 1446 : || REGNO (x6) != 17)
15027 : return -1;
15028 1341 : x7 = XEXP (x5, 1);
15029 1341 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
15030 1341 : || !nonimmediate_operand (operands[0], E_DImode)
15031 2682 : || GET_MODE (x3) != E_DImode)
15032 : return -1;
15033 1341 : x12 = XEXP (x4, 1);
15034 1341 : operands[2] = x12;
15035 1341 : if (!nonimmediate_operand (operands[2], E_SImode))
15036 : return -1;
15037 1233 : x13 = XEXP (x4, 2);
15038 1233 : operands[3] = x13;
15039 1233 : if (!nonimmediate_operand (operands[3], E_SImode)
15040 1233 : || !insn_condition_729 (operands, insn))
15041 328 : return -1;
15042 : return 1944; /* *movsicc_noc_zext_1 */
15043 :
15044 146412 : case VEC_SELECT:
15045 146412 : return recog_85 (x1, insn, pnum_clobbers);
15046 :
15047 36 : case FIX:
15048 36 : switch (pattern136 (x3))
15049 : {
15050 0 : case 0:
15051 0 : if (!insn_condition_636 (operands, insn))
15052 0 : return -1;
15053 : return 4974; /* *sse_cvttss2si_zext */
15054 :
15055 0 : case 1:
15056 0 : if (!insn_condition_637 (operands, insn))
15057 0 : return -1;
15058 : return 5128; /* *sse2_cvttsd2si_zext */
15059 :
15060 : default:
15061 : return -1;
15062 : }
15063 :
15064 0 : case UNSIGNED_FIX:
15065 0 : switch (pattern136 (x3))
15066 : {
15067 0 : case 0:
15068 0 : if (!insn_condition_615 (operands, insn))
15069 0 : return -1;
15070 : return 5089; /* *avx512f_vcvttss2usi_zext */
15071 :
15072 0 : case 1:
15073 0 : if (!insn_condition_615 (operands, insn))
15074 0 : return -1;
15075 : return 5107; /* *avx512f_vcvttsd2usi_zext */
15076 :
15077 : default:
15078 : return -1;
15079 : }
15080 :
15081 26016 : case SUBREG:
15082 26016 : if (pattern137 (x3) != 0
15083 26016 : || !insn_condition_163 (operands, insn))
15084 25990 : return -1;
15085 : return 7227; /* *sse2_pmovskb_zexthisi */
15086 :
15087 : default:
15088 : return -1;
15089 : }
15090 : }
15091 :
15092 : int
15093 12665 : recog_104 (rtx x1 ATTRIBUTE_UNUSED,
15094 : rtx_insn *insn ATTRIBUTE_UNUSED,
15095 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15096 : {
15097 12665 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15098 12665 : rtx x2, x3, x4, x5, x6, x7;
15099 12665 : int res ATTRIBUTE_UNUSED;
15100 12665 : if (pnum_clobbers == NULL)
15101 : return -1;
15102 11281 : x2 = XEXP (x1, 1);
15103 11281 : x3 = XEXP (x2, 0);
15104 11281 : if (GET_CODE (x3) != LSHIFTRT)
15105 : return -1;
15106 6937 : x4 = XEXP (x3, 0);
15107 6937 : if (GET_CODE (x4) != MULT)
15108 : return -1;
15109 5488 : x5 = XEXP (x3, 1);
15110 5488 : if (GET_CODE (x5) != CONST_INT)
15111 : return -1;
15112 5488 : x6 = XEXP (x1, 0);
15113 5488 : operands[0] = x6;
15114 5488 : x7 = XEXP (x4, 0);
15115 5488 : switch (GET_CODE (x7))
15116 : {
15117 3075 : case ZERO_EXTEND:
15118 3075 : switch (pattern796 (x2,
15119 : ZERO_EXTEND))
15120 : {
15121 0 : case 0:
15122 0 : if (!insn_condition_52 (operands, insn))
15123 : return -1;
15124 0 : *pnum_clobbers = 2;
15125 0 : return 665; /* *umuldi3_highpart_1 */
15126 :
15127 0 : case 1:
15128 0 : *pnum_clobbers = 2;
15129 0 : return 669; /* *umulsi3_highpart_1 */
15130 :
15131 : default:
15132 : return -1;
15133 : }
15134 :
15135 2413 : case SIGN_EXTEND:
15136 2413 : switch (pattern796 (x2,
15137 : SIGN_EXTEND))
15138 : {
15139 0 : case 0:
15140 0 : if (!insn_condition_52 (operands, insn))
15141 : return -1;
15142 0 : *pnum_clobbers = 2;
15143 0 : return 666; /* *smuldi3_highpart_1 */
15144 :
15145 0 : case 1:
15146 0 : *pnum_clobbers = 2;
15147 0 : return 670; /* *smulsi3_highpart_1 */
15148 :
15149 : default:
15150 : return -1;
15151 : }
15152 :
15153 : default:
15154 : return -1;
15155 : }
15156 : }
15157 :
15158 : int
15159 241874 : recog_108 (rtx x1 ATTRIBUTE_UNUSED,
15160 : rtx_insn *insn ATTRIBUTE_UNUSED,
15161 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15162 : {
15163 241874 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15164 241874 : rtx x2, x3, x4, x5, x6;
15165 241874 : int res ATTRIBUTE_UNUSED;
15166 241874 : x2 = XEXP (x1, 0);
15167 241874 : operands[0] = x2;
15168 241874 : x3 = XEXP (x1, 1);
15169 241874 : x4 = XEXP (x3, 0);
15170 241874 : switch (GET_CODE (x4))
15171 : {
15172 160823 : case REG:
15173 160823 : case SUBREG:
15174 160823 : case MEM:
15175 160823 : switch (pattern153 (x3))
15176 : {
15177 81295 : case 0:
15178 81295 : if (pnum_clobbers != NULL
15179 81295 : && insn_condition_814 (operands, insn))
15180 : {
15181 1440 : *pnum_clobbers = 1;
15182 1440 : return 988; /* *negdi2_doubleword */
15183 : }
15184 79855 : if (insn_condition_815 (operands, insn))
15185 : return 996; /* *negdi_1_nf */
15186 79855 : if (pnum_clobbers == NULL
15187 79855 : || !insn_condition_816 (operands, insn))
15188 : return -1;
15189 46124 : *pnum_clobbers = 1;
15190 46124 : return 997; /* *negdi_1 */
15191 :
15192 36035 : case 1:
15193 36035 : if (insn_condition_817 (operands, insn))
15194 : return 994; /* *negsi_1_nf */
15195 36033 : if (pnum_clobbers == NULL
15196 36033 : || !insn_condition_818 (operands, insn))
15197 : return -1;
15198 26644 : *pnum_clobbers = 1;
15199 26644 : return 995; /* *negsi_1 */
15200 :
15201 : default:
15202 : return -1;
15203 : }
15204 :
15205 464 : case ABS:
15206 464 : if (pnum_clobbers == NULL)
15207 : return -1;
15208 464 : x5 = XEXP (x4, 0);
15209 464 : operands[1] = x5;
15210 464 : switch (GET_MODE (operands[0]))
15211 : {
15212 0 : case E_DImode:
15213 0 : if (pattern643 (x3,
15214 : E_DImode) != 0)
15215 : return -1;
15216 0 : if (insn_condition_819 (operands, insn))
15217 : {
15218 0 : *pnum_clobbers = 1;
15219 0 : return 1033; /* *nabsdi2_doubleword */
15220 : }
15221 0 : if (!insn_condition_820 (operands, insn))
15222 : return -1;
15223 0 : *pnum_clobbers = 1;
15224 0 : return 1042; /* *nabsdi2_1 */
15225 :
15226 19 : case E_SImode:
15227 19 : if (pattern643 (x3,
15228 : E_SImode) != 0
15229 19 : || !insn_condition_821 (operands, insn))
15230 : return -1;
15231 9 : *pnum_clobbers = 1;
15232 9 : return 1041; /* *nabssi2_1 */
15233 :
15234 : default:
15235 : return -1;
15236 : }
15237 :
15238 8908 : case LTU:
15239 8908 : case UNLT:
15240 8908 : if (pnum_clobbers == NULL)
15241 : return -1;
15242 8908 : operands[1] = x4;
15243 8908 : if (!ix86_carry_flag_operator (operands[1], E_VOIDmode))
15244 : return -1;
15245 8001 : x5 = XEXP (x4, 0);
15246 8001 : if (GET_CODE (x5) != REG
15247 8001 : || REGNO (x5) != 17)
15248 : return -1;
15249 6574 : x6 = XEXP (x4, 1);
15250 6574 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15251 : return -1;
15252 6574 : switch (pattern24 (x3))
15253 : {
15254 2492 : case 0:
15255 2492 : *pnum_clobbers = 1;
15256 2492 : return 1938; /* *x86_movsicc_0_m1_neg */
15257 :
15258 566 : case 1:
15259 566 : if (!insn_condition_52 (operands, insn))
15260 : return -1;
15261 566 : *pnum_clobbers = 1;
15262 566 : return 1939; /* *x86_movdicc_0_m1_neg */
15263 :
15264 : default:
15265 : return -1;
15266 : }
15267 :
15268 : default:
15269 : return -1;
15270 : }
15271 : }
15272 :
15273 : int
15274 1926072 : recog_112 (rtx x1 ATTRIBUTE_UNUSED,
15275 : rtx_insn *insn ATTRIBUTE_UNUSED,
15276 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15277 : {
15278 1926072 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15279 1926072 : rtx x2, x3;
15280 1926072 : int res ATTRIBUTE_UNUSED;
15281 1926072 : if (register_operand (operands[2], E_SImode))
15282 : {
15283 371 : x2 = XEXP (x1, 0);
15284 371 : operands[0] = x2;
15285 371 : if (register_operand (operands[0], E_SImode))
15286 : {
15287 86 : x3 = XEXP (x1, 1);
15288 86 : if (GET_MODE (x3) == E_SImode
15289 86 : && nonimmediate_operand (operands[1], E_SImode)
15290 94 : && insn_condition_800 (operands, insn))
15291 : return 1303; /* *bmi2_lshrsi3_1 */
15292 : }
15293 : }
15294 1926064 : x2 = XEXP (x1, 0);
15295 1926064 : operands[0] = x2;
15296 1926064 : switch (GET_MODE (operands[0]))
15297 : {
15298 904925 : case E_DImode:
15299 904925 : if (!register_operand (operands[0], E_DImode))
15300 : return -1;
15301 899931 : x3 = XEXP (x1, 1);
15302 899931 : if (GET_MODE (x3) != E_DImode)
15303 : return -1;
15304 899931 : if (pnum_clobbers != NULL
15305 898031 : && register_operand (operands[1], E_DImode)
15306 395208 : && nonmemory_operand (operands[2], E_QImode)
15307 1293436 : && insn_condition_51 (operands, insn))
15308 : {
15309 43620 : *pnum_clobbers = 1;
15310 43620 : return 1214; /* lshrdi3_doubleword */
15311 : }
15312 856311 : if (!nonimmediate_operand (operands[1], E_DImode)
15313 366659 : || !register_operand (operands[2], E_DImode)
15314 856311 : || !insn_condition_801 (operands, insn))
15315 856298 : return -1;
15316 : return 1305; /* *bmi2_lshrdi3_1 */
15317 :
15318 315976 : case E_SImode:
15319 315976 : x3 = XEXP (x1, 1);
15320 315976 : if (pattern659 (x3,
15321 : E_SImode) != 0)
15322 : return -1;
15323 181827 : if (insn_condition_834 (operands, insn))
15324 : return 1312; /* *lshrsi3_1_nf */
15325 181822 : if (pnum_clobbers == NULL
15326 181822 : || !insn_condition_835 (operands, insn))
15327 : return -1;
15328 157607 : *pnum_clobbers = 1;
15329 157607 : return 1313; /* *lshrsi3_1 */
15330 :
15331 : default:
15332 : return -1;
15333 : }
15334 : }
15335 :
15336 : int
15337 801098 : recog_115 (rtx x1 ATTRIBUTE_UNUSED,
15338 : rtx_insn *insn ATTRIBUTE_UNUSED,
15339 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15340 : {
15341 801098 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15342 801098 : rtx x2, x3, x4, x5;
15343 801098 : int res ATTRIBUTE_UNUSED;
15344 801098 : x2 = XEXP (x1, 0);
15345 801098 : operands[0] = x2;
15346 801098 : x3 = XEXP (x1, 1);
15347 801098 : x4 = XEXP (x3, 0);
15348 801098 : switch (GET_CODE (x4))
15349 : {
15350 449094 : case REG:
15351 449094 : case SUBREG:
15352 449094 : case MEM:
15353 449094 : switch (pattern156 (x3, pnum_clobbers))
15354 : {
15355 441560 : case 0:
15356 441560 : x5 = XEXP (x3, 1);
15357 441560 : switch (GET_CODE (x5))
15358 : {
15359 29839 : case REG:
15360 29839 : case SUBREG:
15361 29839 : if (pnum_clobbers != NULL
15362 28964 : && pattern657 (x3) == 0
15363 29856 : && insn_condition_826 (operands, insn))
15364 : {
15365 0 : *pnum_clobbers = 1;
15366 0 : return 1207; /* *ashrdi3_doubleword_mask */
15367 : }
15368 29839 : operands[2] = x5;
15369 29839 : if (register_operand (operands[2], E_SImode)
15370 86 : && register_operand (operands[0], E_SImode)
15371 38 : && GET_MODE (x3) == E_SImode
15372 38 : && nonimmediate_operand (operands[1], E_SImode)
15373 29876 : && insn_condition_800 (operands, insn))
15374 : return 1304; /* *bmi2_ashrsi3_1 */
15375 : break;
15376 :
15377 411356 : case CONST_INT:
15378 411356 : operands[2] = x5;
15379 411356 : if (const_int_operand (operands[2], E_QImode)
15380 411356 : && nonimmediate_operand (operands[0], E_SImode)
15381 61021 : && GET_MODE (x3) == E_SImode
15382 472377 : && nonimmediate_operand (operands[1], E_SImode))
15383 : {
15384 60242 : if (insn_condition_850 (operands, insn))
15385 : return 1298; /* ashrsi3_cvt_nf */
15386 60242 : if (pnum_clobbers != NULL
15387 60242 : && insn_condition_851 (operands, insn))
15388 : {
15389 14670 : *pnum_clobbers = 1;
15390 14670 : return 1299; /* ashrsi3_cvt */
15391 : }
15392 : }
15393 : break;
15394 :
15395 : default:
15396 : break;
15397 : }
15398 426853 : operands[2] = x5;
15399 426853 : res = recog_114 (x1, insn, pnum_clobbers);
15400 426853 : if (res >= 0)
15401 : return res;
15402 101776 : if (pnum_clobbers == NULL)
15403 : return -1;
15404 92868 : switch (pattern658 (x3))
15405 : {
15406 3733 : case 0:
15407 3733 : if (!insn_condition_852 (operands, insn))
15408 : return -1;
15409 15 : *pnum_clobbers = 1;
15410 15 : return 1378; /* *ashrsi3_mask */
15411 :
15412 18 : case 1:
15413 18 : if (!insn_condition_853 (operands, insn))
15414 : return -1;
15415 0 : *pnum_clobbers = 1;
15416 0 : return 1381; /* *ashrdi3_mask */
15417 :
15418 0 : case 2:
15419 0 : if (!insn_condition_854 (operands, insn))
15420 : return -1;
15421 0 : *pnum_clobbers = 1;
15422 0 : return 1390; /* *ashrsi3_add */
15423 :
15424 0 : case 3:
15425 0 : if (!insn_condition_855 (operands, insn))
15426 : return -1;
15427 0 : *pnum_clobbers = 1;
15428 0 : return 1393; /* *ashrdi3_add */
15429 :
15430 0 : case 4:
15431 0 : if (!insn_condition_856 (operands, insn))
15432 : return -1;
15433 0 : *pnum_clobbers = 1;
15434 0 : return 1402; /* *ashrsi3_sub */
15435 :
15436 0 : case 5:
15437 0 : if (!insn_condition_857 (operands, insn))
15438 : return -1;
15439 0 : *pnum_clobbers = 1;
15440 0 : return 1405; /* *ashrdi3_sub */
15441 :
15442 : default:
15443 : return -1;
15444 : }
15445 :
15446 24 : case 1:
15447 24 : if (register_operand (operands[0], E_DImode)
15448 24 : && register_operand (operands[1], E_DImode)
15449 48 : && insn_condition_826 (operands, insn))
15450 : {
15451 0 : *pnum_clobbers = 1;
15452 0 : return 1211; /* *ashrdi3_doubleword_mask_1 */
15453 : }
15454 24 : if (!nonimmediate_operand (operands[0], E_DImode)
15455 24 : || !nonimmediate_operand (operands[1], E_DImode)
15456 48 : || !insn_condition_853 (operands, insn))
15457 : return -1;
15458 0 : *pnum_clobbers = 1;
15459 0 : return 1387; /* *ashrdi3_mask_1 */
15460 :
15461 2 : case 2:
15462 2 : if (!insn_condition_852 (operands, insn))
15463 : return -1;
15464 0 : *pnum_clobbers = 1;
15465 0 : return 1384; /* *ashrsi3_mask_1 */
15466 :
15467 515 : case 3:
15468 515 : if (!insn_condition_854 (operands, insn))
15469 : return -1;
15470 0 : *pnum_clobbers = 1;
15471 0 : return 1396; /* *ashrsi3_add_1 */
15472 :
15473 716 : case 4:
15474 716 : if (!insn_condition_855 (operands, insn))
15475 : return -1;
15476 0 : *pnum_clobbers = 1;
15477 0 : return 1399; /* *ashrdi3_add_1 */
15478 :
15479 62 : case 5:
15480 62 : if (!insn_condition_856 (operands, insn))
15481 : return -1;
15482 0 : *pnum_clobbers = 1;
15483 0 : return 1408; /* *ashrsi3_sub_1 */
15484 :
15485 8 : case 6:
15486 8 : if (!insn_condition_857 (operands, insn))
15487 : return -1;
15488 0 : *pnum_clobbers = 1;
15489 0 : return 1411; /* *ashrdi3_sub_1 */
15490 :
15491 : default:
15492 : return -1;
15493 : }
15494 :
15495 26604 : case ASHIFT:
15496 26604 : if (pnum_clobbers == NULL
15497 26604 : || pattern324 (x3,
15498 : E_DImode) != 0
15499 38417 : || !insn_condition_858 (operands, insn))
15500 : return -1;
15501 0 : *pnum_clobbers = 1;
15502 0 : return 1412; /* *extenddi2_doubleword_highpart */
15503 :
15504 : default:
15505 : return -1;
15506 : }
15507 : }
15508 :
15509 : int
15510 163298 : recog_120 (rtx x1 ATTRIBUTE_UNUSED,
15511 : rtx_insn *insn ATTRIBUTE_UNUSED,
15512 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15513 : {
15514 163298 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15515 163298 : rtx x2, x3, x4, x5, x6;
15516 163298 : int res ATTRIBUTE_UNUSED;
15517 163298 : if (pnum_clobbers == NULL)
15518 : return -1;
15519 163298 : x2 = XEXP (x1, 1);
15520 163298 : x3 = XEXP (x2, 1);
15521 163298 : if (GET_CODE (x3) != CONST_INT)
15522 : return -1;
15523 163274 : x4 = XEXP (x2, 0);
15524 163274 : operands[1] = x4;
15525 163274 : if (XWINT (x3, 0) == 1L)
15526 : {
15527 58392 : res = recog_119 (x1, insn, pnum_clobbers);
15528 58392 : if (res >= 0)
15529 : return res;
15530 : }
15531 163174 : x5 = XEXP (x1, 0);
15532 163174 : operands[0] = x5;
15533 163174 : operands[2] = x3;
15534 163174 : if (!const_0_to_255_operand (operands[2], E_QImode))
15535 : return -1;
15536 163174 : x6 = XEXP (x2, 2);
15537 163174 : operands[3] = x6;
15538 163174 : if (!const_0_to_255_operand (operands[3], E_QImode))
15539 : return -1;
15540 145299 : switch (pattern164 (x2))
15541 : {
15542 28080 : case 0:
15543 28080 : if (!insn_condition_758 (operands, insn))
15544 : return -1;
15545 3 : *pnum_clobbers = 1;
15546 3 : return 1742; /* tbm_bextri_si */
15547 :
15548 42824 : case 1:
15549 42824 : if (!insn_condition_759 (operands, insn))
15550 : return -1;
15551 1 : *pnum_clobbers = 1;
15552 1 : return 1743; /* tbm_bextri_di */
15553 :
15554 : default:
15555 : return -1;
15556 : }
15557 : }
15558 :
15559 : int
15560 72237 : recog_122 (rtx x1 ATTRIBUTE_UNUSED,
15561 : rtx_insn *insn ATTRIBUTE_UNUSED,
15562 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15563 : {
15564 72237 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15565 72237 : rtx x2, x3, x4, x5;
15566 72237 : int res ATTRIBUTE_UNUSED;
15567 72237 : x2 = XEXP (x1, 1);
15568 72237 : if (GET_MODE (x2) != E_SImode)
15569 : return -1;
15570 72237 : x3 = XEXP (x1, 0);
15571 72237 : operands[0] = x3;
15572 72237 : if (!register_operand (operands[0], E_SImode))
15573 : return -1;
15574 72204 : x4 = XVECEXP (x2, 0, 0);
15575 72204 : switch (GET_CODE (x4))
15576 : {
15577 64377 : case REG:
15578 64377 : case SUBREG:
15579 64377 : operands[1] = x4;
15580 64377 : switch (GET_MODE (operands[1]))
15581 : {
15582 7181 : case E_DFmode:
15583 7181 : if (register_operand (operands[1], E_DFmode)
15584 7181 : && insn_condition_112 (operands, insn))
15585 : return 1898; /* movmsk_df */
15586 : break;
15587 :
15588 111 : case E_V8QImode:
15589 111 : if (register_operand (operands[1], E_V8QImode)
15590 111 : && insn_condition_542 (operands, insn))
15591 : return 2544; /* mmx_pmovmskb */
15592 : break;
15593 :
15594 109 : case E_V8SFmode:
15595 109 : if (register_operand (operands[1], E_V8SFmode)
15596 109 : && insn_condition_887 (operands, insn))
15597 : return 7174; /* avx_movmskps256 */
15598 : break;
15599 :
15600 26005 : case E_V4SFmode:
15601 26005 : if (register_operand (operands[1], E_V4SFmode)
15602 26005 : && insn_condition_148 (operands, insn))
15603 : return 7175; /* sse_movmskps */
15604 : break;
15605 :
15606 101 : case E_V4DFmode:
15607 101 : if (register_operand (operands[1], E_V4DFmode)
15608 101 : && insn_condition_887 (operands, insn))
15609 : return 7176; /* avx_movmskpd256 */
15610 : break;
15611 :
15612 22315 : case E_V2DFmode:
15613 22315 : if (register_operand (operands[1], E_V2DFmode)
15614 22315 : && insn_condition_236 (operands, insn))
15615 : return 7177; /* sse2_movmskpd */
15616 : break;
15617 :
15618 193 : case E_V32QImode:
15619 193 : if (register_operand (operands[1], E_V32QImode)
15620 193 : && insn_condition_888 (operands, insn))
15621 : return 7222; /* avx2_pmovmskb */
15622 : break;
15623 :
15624 8362 : case E_V16QImode:
15625 8362 : if (register_operand (operands[1], E_V16QImode)
15626 8362 : && insn_condition_141 (operands, insn))
15627 : return 7223; /* sse2_pmovmskb */
15628 : break;
15629 :
15630 : default:
15631 : break;
15632 : }
15633 7290 : if (GET_CODE (x4) != SUBREG
15634 7290 : || maybe_ne (SUBREG_BYTE (x4), 0))
15635 : return -1;
15636 7290 : x5 = XEXP (x4, 0);
15637 7290 : switch (GET_CODE (x5))
15638 : {
15639 0 : case VEC_MERGE:
15640 0 : switch (pattern1140 (x4))
15641 : {
15642 0 : case 0:
15643 0 : if (!insn_condition_887 (operands, insn))
15644 0 : return -1;
15645 : return 7190; /* *avx_movmskps256_lt_avx512 */
15646 :
15647 0 : case 1:
15648 0 : if (!insn_condition_148 (operands, insn))
15649 0 : return -1;
15650 : return 7191; /* *sse_movmskps_lt_avx512 */
15651 :
15652 0 : case 2:
15653 0 : if (!insn_condition_887 (operands, insn))
15654 0 : return -1;
15655 : return 7192; /* *avx_movmskpd256_lt_avx512 */
15656 :
15657 0 : case 3:
15658 0 : if (!insn_condition_236 (operands, insn))
15659 0 : return -1;
15660 : return 7193; /* *sse2_movmskpd_lt_avx512 */
15661 :
15662 : default:
15663 : return -1;
15664 : }
15665 :
15666 42 : case ASHIFTRT:
15667 42 : switch (pattern1141 (x4))
15668 : {
15669 8 : case 0:
15670 8 : if (!insn_condition_887 (operands, insn))
15671 0 : return -1;
15672 : return 7210; /* *avx_movmskps256_shift */
15673 :
15674 8 : case 1:
15675 8 : if (!insn_condition_148 (operands, insn))
15676 0 : return -1;
15677 : return 7211; /* *sse_movmskps_shift */
15678 :
15679 0 : case 2:
15680 0 : if (!insn_condition_887 (operands, insn))
15681 0 : return -1;
15682 : return 7212; /* *avx_movmskpd256_shift */
15683 :
15684 8 : case 3:
15685 8 : if (!insn_condition_236 (operands, insn))
15686 0 : return -1;
15687 : return 7213; /* *sse2_movmskpd_shift */
15688 :
15689 : default:
15690 : return -1;
15691 : }
15692 :
15693 : default:
15694 : return -1;
15695 : }
15696 :
15697 204 : case LT:
15698 204 : switch (pattern798 (x4))
15699 : {
15700 0 : case 0:
15701 0 : if (!insn_condition_887 (operands, insn))
15702 0 : return -1;
15703 : return 7186; /* *avx_movmskps256_lt */
15704 :
15705 0 : case 1:
15706 0 : if (!insn_condition_148 (operands, insn))
15707 0 : return -1;
15708 : return 7187; /* *sse_movmskps_lt */
15709 :
15710 4 : case 2:
15711 4 : if (!insn_condition_887 (operands, insn))
15712 0 : return -1;
15713 : return 7188; /* *avx_movmskpd256_lt */
15714 :
15715 0 : case 3:
15716 0 : if (!insn_condition_236 (operands, insn))
15717 0 : return -1;
15718 : return 7189; /* *sse2_movmskpd_lt */
15719 :
15720 6 : case 4:
15721 6 : if (!insn_condition_888 (operands, insn))
15722 0 : return -1;
15723 : return 7228; /* *avx2_pmovmskb_lt */
15724 :
15725 14 : case 5:
15726 14 : if (!insn_condition_141 (operands, insn))
15727 0 : return -1;
15728 : return 7229; /* *sse2_pmovmskb_lt */
15729 :
15730 : default:
15731 : return -1;
15732 : }
15733 :
15734 2 : case VEC_MERGE:
15735 2 : switch (pattern800 (x4))
15736 : {
15737 0 : case 0:
15738 0 : if (!insn_condition_888 (operands, insn))
15739 0 : return -1;
15740 : return 7230; /* *avx2_pmovmskb_lt_avx512 */
15741 :
15742 0 : case 1:
15743 0 : if (!insn_condition_141 (operands, insn))
15744 0 : return -1;
15745 : return 7231; /* *sse2_pmovmskb_lt_avx512 */
15746 :
15747 1 : case 2:
15748 1 : if (!insn_condition_163 (operands, insn))
15749 0 : return -1;
15750 : return 7239; /* *pmovsk_kmask_v16qi_avx512 */
15751 :
15752 0 : case 3:
15753 0 : if (!insn_condition_163 (operands, insn))
15754 0 : return -1;
15755 : return 7240; /* *pmovsk_mask_v32qi_avx512 */
15756 :
15757 : default:
15758 : return -1;
15759 : }
15760 :
15761 : default:
15762 : return -1;
15763 : }
15764 : }
15765 :
15766 : int
15767 10248 : recog_129 (rtx x1 ATTRIBUTE_UNUSED,
15768 : rtx_insn *insn ATTRIBUTE_UNUSED,
15769 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15770 : {
15771 10248 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15772 10248 : rtx x2, x3, x4;
15773 10248 : int res ATTRIBUTE_UNUSED;
15774 10248 : x2 = XEXP (x1, 0);
15775 10248 : operands[0] = x2;
15776 10248 : x3 = XEXP (x1, 1);
15777 10248 : x4 = XEXP (x3, 0);
15778 10248 : operands[1] = x4;
15779 10248 : switch (pattern164 (x3))
15780 : {
15781 4058 : case 0:
15782 4058 : if (insn_condition_931 (operands, insn))
15783 : return 1670; /* clzsi2_lzcnt_nf */
15784 4051 : if (pnum_clobbers == NULL
15785 4051 : || !insn_condition_892 (operands, insn))
15786 : return -1;
15787 26 : *pnum_clobbers = 1;
15788 26 : return 1672; /* clzsi2_lzcnt */
15789 :
15790 4717 : case 1:
15791 4717 : if (insn_condition_932 (operands, insn))
15792 : return 1671; /* clzdi2_lzcnt_nf */
15793 4717 : if (pnum_clobbers == NULL
15794 4717 : || !insn_condition_933 (operands, insn))
15795 : return -1;
15796 17 : *pnum_clobbers = 1;
15797 17 : return 1673; /* clzdi2_lzcnt */
15798 :
15799 : default:
15800 : return -1;
15801 : }
15802 : }
15803 :
15804 : int
15805 1930 : recog_130 (rtx x1 ATTRIBUTE_UNUSED,
15806 : rtx_insn *insn ATTRIBUTE_UNUSED,
15807 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15808 : {
15809 1930 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15810 1930 : rtx x2, x3, x4;
15811 1930 : int res ATTRIBUTE_UNUSED;
15812 1930 : x2 = XEXP (x1, 0);
15813 1930 : operands[0] = x2;
15814 1930 : x3 = XEXP (x1, 1);
15815 1930 : x4 = XEXP (x3, 0);
15816 1930 : switch (GET_CODE (x4))
15817 : {
15818 1728 : case REG:
15819 1728 : case SUBREG:
15820 1728 : case MEM:
15821 1728 : operands[1] = x4;
15822 1728 : switch (pattern164 (x3))
15823 : {
15824 60 : case 0:
15825 60 : if (insn_condition_934 (operands, insn))
15826 : return 1762; /* popcountsi2_nf */
15827 60 : if (pnum_clobbers == NULL
15828 60 : || !insn_condition_935 (operands, insn))
15829 : return -1;
15830 49 : *pnum_clobbers = 1;
15831 49 : return 1764; /* popcountsi2 */
15832 :
15833 54 : case 1:
15834 54 : if (insn_condition_936 (operands, insn))
15835 : return 1763; /* popcountdi2_nf */
15836 54 : if (pnum_clobbers == NULL
15837 54 : || !insn_condition_937 (operands, insn))
15838 : return -1;
15839 54 : *pnum_clobbers = 1;
15840 54 : return 1765; /* popcountdi2 */
15841 :
15842 : default:
15843 : return -1;
15844 : }
15845 :
15846 29 : case ZERO_EXTEND:
15847 29 : if (pattern135 (x3, pnum_clobbers,
15848 : E_HImode,
15849 : E_SImode) != 0
15850 29 : || !insn_condition_728 (operands, insn))
15851 : return -1;
15852 0 : *pnum_clobbers = 1;
15853 0 : return 1774; /* *popcounthi2_1 */
15854 :
15855 : default:
15856 : return -1;
15857 : }
15858 : }
15859 :
15860 : int
15861 32598 : recog_131 (rtx x1 ATTRIBUTE_UNUSED,
15862 : rtx_insn *insn ATTRIBUTE_UNUSED,
15863 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15864 : {
15865 32598 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15866 32598 : rtx x2, x3, x4, x5, x6, x7, x8;
15867 32598 : int res ATTRIBUTE_UNUSED;
15868 32598 : if (pnum_clobbers == NULL)
15869 : return -1;
15870 32598 : x2 = XEXP (x1, 1);
15871 32598 : x3 = XEXP (x2, 0);
15872 32598 : if (!ix86_carry_flag_operator (x3, E_VOIDmode))
15873 : return -1;
15874 0 : operands[1] = x3;
15875 0 : x4 = XEXP (x3, 0);
15876 0 : if (GET_CODE (x4) != REG
15877 0 : || REGNO (x4) != 17)
15878 : return -1;
15879 0 : x5 = XEXP (x3, 1);
15880 0 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15881 : return -1;
15882 0 : x6 = XEXP (x2, 1);
15883 0 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
15884 : return -1;
15885 0 : x7 = XEXP (x2, 2);
15886 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15887 : return -1;
15888 0 : x8 = XEXP (x1, 0);
15889 0 : operands[0] = x8;
15890 0 : switch (pattern24 (x2))
15891 : {
15892 0 : case 0:
15893 0 : *pnum_clobbers = 1;
15894 0 : return 1934; /* *x86_movsicc_0_m1_se */
15895 :
15896 0 : case 1:
15897 0 : if (!insn_condition_52 (operands, insn))
15898 : return -1;
15899 0 : *pnum_clobbers = 1;
15900 0 : return 1935; /* *x86_movdicc_0_m1_se */
15901 :
15902 : default:
15903 : return -1;
15904 : }
15905 : }
15906 :
15907 : int
15908 172162 : recog_132 (rtx x1 ATTRIBUTE_UNUSED,
15909 : rtx_insn *insn ATTRIBUTE_UNUSED,
15910 : int *pnum_clobbers ATTRIBUTE_UNUSED)
15911 : {
15912 172162 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
15913 172162 : rtx x2, x3, x4, x5;
15914 172162 : int res ATTRIBUTE_UNUSED;
15915 172162 : x2 = XEXP (x1, 1);
15916 172162 : switch (XVECLEN (x2, 0))
15917 : {
15918 124338 : case 1:
15919 124338 : switch (XINT (x2, 1))
15920 : {
15921 0 : case 2:
15922 0 : if (pnum_clobbers == NULL)
15923 : return -1;
15924 0 : switch (pattern165 (x1))
15925 : {
15926 0 : case 0:
15927 0 : if (!insn_condition_938 (operands, insn))
15928 : return -1;
15929 0 : *pnum_clobbers = 1;
15930 0 : return 2016; /* allocate_stack_worker_probe_si */
15931 :
15932 0 : case 1:
15933 0 : if (!insn_condition_939 (operands, insn))
15934 : return -1;
15935 0 : *pnum_clobbers = 1;
15936 0 : return 2017; /* allocate_stack_worker_probe_di */
15937 :
15938 : default:
15939 : return -1;
15940 : }
15941 :
15942 0 : case 11:
15943 0 : if (GET_MODE (x2) != E_DImode)
15944 : return -1;
15945 0 : x3 = XEXP (x1, 0);
15946 0 : operands[0] = x3;
15947 0 : if (!register_operand (operands[0], E_DImode))
15948 : return -1;
15949 0 : x4 = XVECEXP (x2, 0, 0);
15950 0 : operands[1] = x4;
15951 0 : if (!register_operand (operands[1], E_SImode)
15952 0 : || !insn_condition_51 (operands, insn))
15953 0 : return -1;
15954 : return 2052; /* rdpmc */
15955 :
15956 16 : case 9:
15957 16 : if (GET_MODE (x2) != E_DImode)
15958 : return -1;
15959 16 : x4 = XVECEXP (x2, 0, 0);
15960 16 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15961 : return -1;
15962 16 : x3 = XEXP (x1, 0);
15963 16 : operands[0] = x3;
15964 16 : if (!register_operand (operands[0], E_DImode)
15965 16 : || !insn_condition_51 (operands, insn))
15966 4 : return -1;
15967 : return 2054; /* rdtsc */
15968 :
15969 0 : case 36:
15970 0 : if (GET_MODE (x2) != E_DImode)
15971 : return -1;
15972 0 : x3 = XEXP (x1, 0);
15973 0 : operands[0] = x3;
15974 0 : if (!register_operand (operands[0], E_DImode))
15975 : return -1;
15976 0 : x4 = XVECEXP (x2, 0, 0);
15977 0 : operands[1] = x4;
15978 0 : if (!register_operand (operands[1], E_SImode)
15979 0 : || !insn_condition_502 (operands, insn))
15980 0 : return -1;
15981 : return 2082; /* xgetbv */
15982 :
15983 54 : case 13:
15984 54 : x4 = XVECEXP (x2, 0, 0);
15985 54 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
15986 : return -1;
15987 54 : x3 = XEXP (x1, 0);
15988 54 : operands[0] = x3;
15989 54 : switch (pattern24 (x2))
15990 : {
15991 0 : case 0:
15992 0 : if (!insn_condition_940 (operands, insn))
15993 0 : return -1;
15994 : return 2090; /* lwp_slwpcbsi */
15995 :
15996 54 : case 1:
15997 54 : if (!insn_condition_941 (operands, insn))
15998 0 : return -1;
15999 : return 2091; /* lwp_slwpcbdi */
16000 :
16001 : default:
16002 : return -1;
16003 : }
16004 :
16005 118 : case 16:
16006 118 : x4 = XVECEXP (x2, 0, 0);
16007 118 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
16008 : return -1;
16009 118 : x3 = XEXP (x1, 0);
16010 118 : operands[0] = x3;
16011 118 : switch (pattern24 (x2))
16012 : {
16013 59 : case 0:
16014 59 : if (!insn_condition_942 (operands, insn))
16015 0 : return -1;
16016 : return 2096; /* rdfsbasesi */
16017 :
16018 59 : case 1:
16019 59 : if (!insn_condition_943 (operands, insn))
16020 0 : return -1;
16021 : return 2098; /* rdfsbasedi */
16022 :
16023 : default:
16024 : return -1;
16025 : }
16026 :
16027 118 : case 17:
16028 118 : x4 = XVECEXP (x2, 0, 0);
16029 118 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
16030 : return -1;
16031 118 : x3 = XEXP (x1, 0);
16032 118 : operands[0] = x3;
16033 118 : switch (pattern24 (x2))
16034 : {
16035 59 : case 0:
16036 59 : if (!insn_condition_942 (operands, insn))
16037 0 : return -1;
16038 : return 2097; /* rdgsbasesi */
16039 :
16040 59 : case 1:
16041 59 : if (!insn_condition_943 (operands, insn))
16042 0 : return -1;
16043 : return 2099; /* rdgsbasedi */
16044 :
16045 : default:
16046 : return -1;
16047 : }
16048 :
16049 1055 : case 58:
16050 1055 : switch (pattern165 (x1))
16051 : {
16052 130 : case 0:
16053 130 : if (!insn_condition_944 (operands, insn))
16054 0 : return -1;
16055 : return 2113; /* rdsspsi */
16056 :
16057 320 : case 1:
16058 320 : if (!insn_condition_945 (operands, insn))
16059 0 : return -1;
16060 : return 2114; /* rdsspdi */
16061 :
16062 : default:
16063 : return -1;
16064 : }
16065 :
16066 69 : case 61:
16067 69 : if (GET_MODE (x2) != E_DImode)
16068 : return -1;
16069 69 : x3 = XEXP (x1, 0);
16070 69 : operands[0] = x3;
16071 69 : if (!memory_operand (operands[0], E_DImode))
16072 : return -1;
16073 69 : x4 = XVECEXP (x2, 0, 0);
16074 69 : if (!rtx_equal_p (x4, operands[0])
16075 69 : || !insn_condition_946 (operands, insn))
16076 0 : return -1;
16077 : return 2118; /* rstorssp */
16078 :
16079 180 : case 62:
16080 180 : switch (pattern166 (x1))
16081 : {
16082 86 : case 0:
16083 86 : if (!insn_condition_946 (operands, insn))
16084 0 : return -1;
16085 : return 2119; /* wrsssi */
16086 :
16087 93 : case 1:
16088 93 : if (!insn_condition_947 (operands, insn))
16089 0 : return -1;
16090 : return 2120; /* wrssdi */
16091 :
16092 : default:
16093 : return -1;
16094 : }
16095 :
16096 172 : case 63:
16097 172 : switch (pattern166 (x1))
16098 : {
16099 86 : case 0:
16100 86 : if (!insn_condition_946 (operands, insn))
16101 0 : return -1;
16102 : return 2121; /* wrusssi */
16103 :
16104 86 : case 1:
16105 86 : if (!insn_condition_947 (operands, insn))
16106 0 : return -1;
16107 : return 2122; /* wrussdi */
16108 :
16109 : default:
16110 : return -1;
16111 : }
16112 :
16113 0 : case 65:
16114 0 : if (pnum_clobbers == NULL
16115 0 : || GET_MODE (x2) != E_DImode)
16116 : return -1;
16117 0 : x3 = XEXP (x1, 0);
16118 0 : operands[0] = x3;
16119 0 : if (!memory_operand (operands[0], E_DImode))
16120 : return -1;
16121 0 : x4 = XVECEXP (x2, 0, 0);
16122 0 : if (!rtx_equal_p (x4, operands[0])
16123 0 : || !insn_condition_946 (operands, insn))
16124 : return -1;
16125 0 : *pnum_clobbers = 1;
16126 0 : return 2124; /* clrssbsy */
16127 :
16128 63 : case 56:
16129 63 : x4 = XVECEXP (x2, 0, 0);
16130 63 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
16131 : return -1;
16132 63 : x3 = XEXP (x1, 0);
16133 63 : operands[0] = x3;
16134 63 : switch (pattern24 (x2))
16135 : {
16136 0 : case 0:
16137 0 : if (!insn_condition_948 (operands, insn))
16138 0 : return -1;
16139 : return 2139; /* rdpid */
16140 :
16141 63 : case 1:
16142 63 : if (!insn_condition_949 (operands, insn))
16143 0 : return -1;
16144 : return 2140; /* rdpid_rex64 */
16145 :
16146 : default:
16147 : return -1;
16148 : }
16149 :
16150 86 : case 84:
16151 86 : if (GET_MODE (x2) != E_DImode)
16152 : return -1;
16153 86 : x3 = XEXP (x1, 0);
16154 86 : operands[0] = x3;
16155 86 : if (!register_operand (operands[0], E_DImode))
16156 : return -1;
16157 82 : x4 = XVECEXP (x2, 0, 0);
16158 82 : operands[1] = x4;
16159 82 : if (!x86_64_szext_nonmemory_operand (operands[1], E_DImode)
16160 82 : || !insn_condition_950 (operands, insn))
16161 5 : return -1;
16162 : return 2168; /* urdmsr */
16163 :
16164 121 : case 88:
16165 121 : x3 = XEXP (x1, 0);
16166 121 : operands[0] = x3;
16167 121 : x4 = XVECEXP (x2, 0, 0);
16168 121 : operands[1] = x4;
16169 121 : switch (GET_MODE (operands[0]))
16170 : {
16171 57 : case E_SImode:
16172 57 : if (!register_operand (operands[0], E_SImode)
16173 55 : || GET_MODE (x2) != E_SImode
16174 55 : || !memory_operand (operands[1], E_SImode)
16175 57 : || !insn_condition_509 (operands, insn))
16176 6 : return -1;
16177 : return 2174; /* movrssi */
16178 :
16179 57 : case E_DImode:
16180 57 : if (!register_operand (operands[0], E_DImode)
16181 55 : || GET_MODE (x2) != E_DImode
16182 55 : || !memory_operand (operands[1], E_DImode)
16183 57 : || !insn_condition_509 (operands, insn))
16184 6 : return -1;
16185 : return 2175; /* movrsdi */
16186 :
16187 : default:
16188 : return -1;
16189 : }
16190 :
16191 122088 : case 92:
16192 122088 : if (GET_MODE (x2) != E_SImode)
16193 : return -1;
16194 122088 : x4 = XVECEXP (x2, 0, 0);
16195 122088 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
16196 : return -1;
16197 122088 : x3 = XEXP (x1, 0);
16198 122088 : operands[0] = x3;
16199 122088 : if (!memory_operand (operands[0], E_SImode)
16200 122088 : || !insn_condition_148 (operands, insn))
16201 7533 : return -1;
16202 : return 7248; /* sse_stmxcsr */
16203 :
16204 41 : case 109:
16205 41 : if (GET_MODE (x2) != E_V32SImode)
16206 : return -1;
16207 41 : x4 = XVECEXP (x2, 0, 0);
16208 41 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
16209 : return -1;
16210 41 : x3 = XEXP (x1, 0);
16211 41 : operands[0] = x3;
16212 41 : if (!bsr0_operand (operands[0], E_V32SImode)
16213 41 : || !insn_condition_510 (operands, insn))
16214 0 : return -1;
16215 : return 9810; /* bsrinit */
16216 :
16217 48 : case 111:
16218 48 : if (GET_MODE (x2) != E_V32SImode)
16219 : return -1;
16220 48 : x3 = XEXP (x1, 0);
16221 48 : operands[0] = x3;
16222 48 : if (!bsr0_operand (operands[0], E_V32SImode))
16223 : return -1;
16224 48 : x4 = XVECEXP (x2, 0, 0);
16225 48 : operands[1] = x4;
16226 48 : if (!vector_operand (operands[1], E_V16SImode)
16227 48 : || !insn_condition_510 (operands, insn))
16228 0 : return -1;
16229 : return 9812; /* bsrmovh_load */
16230 :
16231 46 : case 112:
16232 46 : if (GET_MODE (x2) != E_V32SImode)
16233 : return -1;
16234 46 : x3 = XEXP (x1, 0);
16235 46 : operands[0] = x3;
16236 46 : if (!bsr0_operand (operands[0], E_V32SImode))
16237 : return -1;
16238 46 : x4 = XVECEXP (x2, 0, 0);
16239 46 : operands[1] = x4;
16240 46 : if (!vector_operand (operands[1], E_V16SImode)
16241 46 : || !insn_condition_510 (operands, insn))
16242 0 : return -1;
16243 : return 9813; /* bsrmovl_load */
16244 :
16245 : default:
16246 : return -1;
16247 : }
16248 :
16249 28387 : case 2:
16250 28387 : x3 = XEXP (x1, 0);
16251 28387 : operands[0] = x3;
16252 28387 : switch (XINT (x2, 1))
16253 : {
16254 0 : case 3:
16255 0 : if (pnum_clobbers == NULL)
16256 : return -1;
16257 0 : x4 = XVECEXP (x2, 0, 0);
16258 0 : operands[1] = x4;
16259 0 : x5 = XVECEXP (x2, 0, 1);
16260 0 : operands[2] = x5;
16261 0 : switch (GET_MODE (operands[0]))
16262 : {
16263 0 : case E_SImode:
16264 0 : if (pattern928 (x2,
16265 : E_SImode) != 0
16266 0 : || !insn_condition_951 (operands, insn))
16267 : return -1;
16268 0 : *pnum_clobbers = 1;
16269 0 : return 2021; /* probe_stack_range_si */
16270 :
16271 0 : case E_DImode:
16272 0 : if (pattern928 (x2,
16273 : E_DImode) != 0
16274 0 : || !insn_condition_952 (operands, insn))
16275 : return -1;
16276 0 : *pnum_clobbers = 1;
16277 0 : return 2022; /* probe_stack_range_di */
16278 :
16279 : default:
16280 : return -1;
16281 : }
16282 :
16283 56 : case 110:
16284 56 : if (GET_MODE (x2) != E_V32SImode
16285 56 : || !bsr0_operand (operands[0], E_V32SImode))
16286 : return -1;
16287 56 : x4 = XVECEXP (x2, 0, 0);
16288 56 : operands[1] = x4;
16289 56 : if (!register_operand (operands[1], E_V16SImode))
16290 : return -1;
16291 52 : x5 = XVECEXP (x2, 0, 1);
16292 52 : operands[2] = x5;
16293 52 : if (!vector_operand (operands[2], E_V16SImode)
16294 52 : || !insn_condition_510 (operands, insn))
16295 0 : return -1;
16296 : return 9811; /* bsrmovf */
16297 :
16298 663 : case 129:
16299 663 : x5 = XVECEXP (x2, 0, 1);
16300 663 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
16301 : return -1;
16302 663 : x4 = XVECEXP (x2, 0, 0);
16303 663 : switch (GET_CODE (x4))
16304 : {
16305 161 : case AND:
16306 161 : switch (pattern661 (x2))
16307 : {
16308 70 : case 0:
16309 70 : if (!insn_condition_953 (operands, insn))
16310 0 : return -1;
16311 : return 9868; /* rao_aandsi */
16312 :
16313 80 : case 1:
16314 80 : if (!insn_condition_954 (operands, insn))
16315 0 : return -1;
16316 : return 9872; /* rao_aanddi */
16317 :
16318 : default:
16319 : return -1;
16320 : }
16321 :
16322 161 : case IOR:
16323 161 : switch (pattern661 (x2))
16324 : {
16325 70 : case 0:
16326 70 : if (!insn_condition_953 (operands, insn))
16327 0 : return -1;
16328 : return 9869; /* rao_aorsi */
16329 :
16330 80 : case 1:
16331 80 : if (!insn_condition_954 (operands, insn))
16332 0 : return -1;
16333 : return 9873; /* rao_aordi */
16334 :
16335 : default:
16336 : return -1;
16337 : }
16338 :
16339 163 : case XOR:
16340 163 : switch (pattern661 (x2))
16341 : {
16342 70 : case 0:
16343 70 : if (!insn_condition_953 (operands, insn))
16344 0 : return -1;
16345 : return 9870; /* rao_axorsi */
16346 :
16347 82 : case 1:
16348 82 : if (!insn_condition_954 (operands, insn))
16349 0 : return -1;
16350 : return 9874; /* rao_axordi */
16351 :
16352 : default:
16353 : return -1;
16354 : }
16355 :
16356 178 : case PLUS:
16357 178 : switch (pattern661 (x2))
16358 : {
16359 72 : case 0:
16360 72 : if (!insn_condition_953 (operands, insn))
16361 0 : return -1;
16362 : return 9871; /* rao_aaddsi */
16363 :
16364 80 : case 1:
16365 80 : if (!insn_condition_954 (operands, insn))
16366 0 : return -1;
16367 : return 9875; /* rao_aadddi */
16368 :
16369 : default:
16370 : return -1;
16371 : }
16372 :
16373 : default:
16374 : return -1;
16375 : }
16376 :
16377 6265 : case 127:
16378 6265 : if (pnum_clobbers == NULL)
16379 : return -1;
16380 6265 : x5 = XVECEXP (x2, 0, 1);
16381 6265 : operands[2] = x5;
16382 6265 : if (!const_int_operand (operands[2], E_SImode))
16383 : return -1;
16384 6265 : x4 = XVECEXP (x2, 0, 0);
16385 6265 : switch (GET_CODE (x4))
16386 : {
16387 3509 : case PLUS:
16388 3509 : switch (pattern929 (x2))
16389 : {
16390 2 : case 0:
16391 2 : *pnum_clobbers = 1;
16392 2 : return 9878; /* atomic_addsi */
16393 :
16394 3 : case 1:
16395 3 : if (!insn_condition_52 (operands, insn))
16396 : return -1;
16397 3 : *pnum_clobbers = 1;
16398 3 : return 9879; /* atomic_adddi */
16399 :
16400 : default:
16401 : return -1;
16402 : }
16403 :
16404 337 : case MINUS:
16405 337 : switch (pattern929 (x2))
16406 : {
16407 0 : case 0:
16408 0 : *pnum_clobbers = 1;
16409 0 : return 9882; /* atomic_subsi */
16410 :
16411 12 : case 1:
16412 12 : if (!insn_condition_52 (operands, insn))
16413 : return -1;
16414 12 : *pnum_clobbers = 1;
16415 12 : return 9883; /* atomic_subdi */
16416 :
16417 : default:
16418 : return -1;
16419 : }
16420 :
16421 693 : case AND:
16422 693 : switch (pattern929 (x2))
16423 : {
16424 0 : case 0:
16425 0 : *pnum_clobbers = 1;
16426 0 : return 9890; /* atomic_andsi */
16427 :
16428 0 : case 1:
16429 0 : if (!insn_condition_52 (operands, insn))
16430 : return -1;
16431 0 : *pnum_clobbers = 1;
16432 0 : return 9893; /* atomic_anddi */
16433 :
16434 : default:
16435 : return -1;
16436 : }
16437 :
16438 950 : case IOR:
16439 950 : switch (pattern929 (x2))
16440 : {
16441 0 : case 0:
16442 0 : *pnum_clobbers = 1;
16443 0 : return 9891; /* atomic_orsi */
16444 :
16445 0 : case 1:
16446 0 : if (!insn_condition_52 (operands, insn))
16447 : return -1;
16448 0 : *pnum_clobbers = 1;
16449 0 : return 9894; /* atomic_ordi */
16450 :
16451 : default:
16452 : return -1;
16453 : }
16454 :
16455 302 : case XOR:
16456 302 : switch (pattern929 (x2))
16457 : {
16458 0 : case 0:
16459 0 : *pnum_clobbers = 1;
16460 0 : return 9892; /* atomic_xorsi */
16461 :
16462 0 : case 1:
16463 0 : if (!insn_condition_52 (operands, insn))
16464 : return -1;
16465 0 : *pnum_clobbers = 1;
16466 0 : return 9895; /* atomic_xordi */
16467 :
16468 : default:
16469 : return -1;
16470 : }
16471 :
16472 : default:
16473 : return -1;
16474 : }
16475 :
16476 : default:
16477 : return -1;
16478 : }
16479 :
16480 : default:
16481 : return -1;
16482 : }
16483 : }
16484 :
16485 : int
16486 5251 : recog_149 (rtx x1 ATTRIBUTE_UNUSED,
16487 : rtx_insn *insn ATTRIBUTE_UNUSED,
16488 : int *pnum_clobbers ATTRIBUTE_UNUSED)
16489 : {
16490 5251 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
16491 5251 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
16492 5251 : int res ATTRIBUTE_UNUSED;
16493 5251 : x2 = XEXP (x1, 1);
16494 5251 : x3 = XEXP (x2, 0);
16495 5251 : x4 = XVECEXP (x3, 0, 0);
16496 5251 : operands[1] = x4;
16497 5251 : x5 = XVECEXP (x3, 0, 1);
16498 5251 : operands[2] = x5;
16499 5251 : x6 = XVECEXP (x3, 0, 2);
16500 5251 : switch (GET_CODE (x6))
16501 : {
16502 3328 : case REG:
16503 3328 : case SUBREG:
16504 3328 : case MEM:
16505 3328 : operands[3] = x6;
16506 3328 : x7 = XEXP (x2, 1);
16507 3328 : switch (GET_CODE (x7))
16508 : {
16509 1208 : case CONST_INT:
16510 1208 : case CONST_DOUBLE:
16511 1208 : case CONST_VECTOR:
16512 1208 : operands[4] = x7;
16513 1208 : x8 = XEXP (x2, 2);
16514 1208 : operands[5] = x8;
16515 1208 : switch (GET_MODE (operands[0]))
16516 : {
16517 42 : case E_V32HFmode:
16518 42 : if (pattern1413 (x2,
16519 : E_V32HFmode,
16520 : E_SImode) != 0
16521 42 : || !insn_condition_994 (operands, insn))
16522 15 : return -1;
16523 : return 4247; /* fma_fmaddsub_v32hf_maskz_1 */
16524 :
16525 119 : case E_V16HFmode:
16526 119 : if (pattern1413 (x2,
16527 : E_V16HFmode,
16528 : E_HImode) != 0
16529 119 : || !insn_condition_995 (operands, insn))
16530 16 : return -1;
16531 : return 4251; /* fma_fmaddsub_v16hf_maskz_1 */
16532 :
16533 119 : case E_V8HFmode:
16534 119 : if (pattern1413 (x2,
16535 : E_V8HFmode,
16536 : E_QImode) != 0
16537 119 : || !insn_condition_996 (operands, insn))
16538 16 : return -1;
16539 : return 4253; /* fma_fmaddsub_v8hf_maskz_1 */
16540 :
16541 62 : case E_V16SFmode:
16542 62 : if (pattern1413 (x2,
16543 : E_V16SFmode,
16544 : E_HImode) != 0
16545 62 : || !insn_condition_997 (operands, insn))
16546 21 : return -1;
16547 : return 4255; /* fma_fmaddsub_v16sf_maskz_1 */
16548 :
16549 200 : case E_V8SFmode:
16550 200 : if (pattern1413 (x2,
16551 : E_V8SFmode,
16552 : E_QImode) != 0
16553 200 : || !insn_condition_998 (operands, insn))
16554 21 : return -1;
16555 : return 4259; /* fma_fmaddsub_v8sf_maskz_1 */
16556 :
16557 196 : case E_V4SFmode:
16558 196 : if (pattern1413 (x2,
16559 : E_V4SFmode,
16560 : E_QImode) != 0
16561 196 : || !insn_condition_999 (operands, insn))
16562 17 : return -1;
16563 : return 4261; /* fma_fmaddsub_v4sf_maskz_1 */
16564 :
16565 68 : case E_V8DFmode:
16566 68 : if (pattern1413 (x2,
16567 : E_V8DFmode,
16568 : E_QImode) != 0
16569 68 : || !insn_condition_997 (operands, insn))
16570 23 : return -1;
16571 : return 4263; /* fma_fmaddsub_v8df_maskz_1 */
16572 :
16573 208 : case E_V4DFmode:
16574 208 : if (pattern1413 (x2,
16575 : E_V4DFmode,
16576 : E_QImode) != 0
16577 208 : || !insn_condition_998 (operands, insn))
16578 27 : return -1;
16579 : return 4267; /* fma_fmaddsub_v4df_maskz_1 */
16580 :
16581 194 : case E_V2DFmode:
16582 194 : if (pattern1413 (x2,
16583 : E_V2DFmode,
16584 : E_QImode) != 0
16585 194 : || !insn_condition_999 (operands, insn))
16586 17 : return -1;
16587 : return 4269; /* fma_fmaddsub_v2df_maskz_1 */
16588 :
16589 : default:
16590 : return -1;
16591 : }
16592 :
16593 2118 : case REG:
16594 2118 : case SUBREG:
16595 2118 : case MEM:
16596 2118 : x8 = XEXP (x2, 2);
16597 2118 : operands[4] = x8;
16598 2118 : switch (GET_MODE (operands[0]))
16599 : {
16600 98 : case E_V32HFmode:
16601 98 : if (pattern1308 (x2,
16602 : E_V32HFmode,
16603 : E_SImode) != 0)
16604 : return -1;
16605 74 : if (register_operand (operands[1], E_V32HFmode)
16606 55 : && vector_operand (operands[3], E_V32HFmode)
16607 55 : && rtx_equal_p (x7, operands[1])
16608 74 : && insn_condition_26 (operands, insn))
16609 : return 4270; /* avx512bw_fmaddsub_v32hf_mask */
16610 39 : if (!nonimmediate_operand (operands[1], E_V32HFmode)
16611 39 : || !nonimmediate_operand (operands[3], E_V32HFmode)
16612 39 : || !rtx_equal_p (x7, operands[3])
16613 39 : || !insn_condition_26 (operands, insn))
16614 1 : return -1;
16615 : return 4288; /* avx512bw_fmaddsub_v32hf_mask3 */
16616 :
16617 254 : case E_V16HFmode:
16618 254 : if (pattern1308 (x2,
16619 : E_V16HFmode,
16620 : E_HImode) != 0)
16621 : return -1;
16622 230 : if (register_operand (operands[1], E_V16HFmode)
16623 203 : && vector_operand (operands[3], E_V16HFmode)
16624 203 : && rtx_equal_p (x7, operands[1])
16625 342 : && insn_condition_972 (operands, insn))
16626 : return 4272; /* avx512vl_fmaddsub_v16hf_mask */
16627 118 : if (!nonimmediate_operand (operands[1], E_V16HFmode)
16628 118 : || !nonimmediate_operand (operands[3], E_V16HFmode)
16629 118 : || !rtx_equal_p (x7, operands[3])
16630 235 : || !insn_condition_972 (operands, insn))
16631 1 : return -1;
16632 : return 4290; /* avx512vl_fmaddsub_v16hf_mask3 */
16633 :
16634 254 : case E_V8HFmode:
16635 254 : if (pattern1308 (x2,
16636 : E_V8HFmode,
16637 : E_QImode) != 0)
16638 : return -1;
16639 230 : if (register_operand (operands[1], E_V8HFmode)
16640 203 : && vector_operand (operands[3], E_V8HFmode)
16641 203 : && rtx_equal_p (x7, operands[1])
16642 342 : && insn_condition_972 (operands, insn))
16643 : return 4274; /* avx512fp16_fmaddsub_v8hf_mask */
16644 118 : if (!nonimmediate_operand (operands[1], E_V8HFmode)
16645 118 : || !nonimmediate_operand (operands[3], E_V8HFmode)
16646 118 : || !rtx_equal_p (x7, operands[3])
16647 235 : || !insn_condition_972 (operands, insn))
16648 1 : return -1;
16649 : return 4292; /* avx512fp16_fmaddsub_v8hf_mask3 */
16650 :
16651 127 : case E_V16SFmode:
16652 127 : if (pattern1308 (x2,
16653 : E_V16SFmode,
16654 : E_HImode) != 0)
16655 : return -1;
16656 95 : if (register_operand (operands[1], E_V16SFmode)
16657 78 : && vector_operand (operands[3], E_V16SFmode)
16658 78 : && rtx_equal_p (x7, operands[1])
16659 156 : && insn_condition_27 (operands, insn))
16660 : return 4276; /* avx512f_fmaddsub_v16sf_mask */
16661 34 : if (!nonimmediate_operand (operands[1], E_V16SFmode)
16662 34 : || !nonimmediate_operand (operands[3], E_V16SFmode)
16663 34 : || !rtx_equal_p (x7, operands[3])
16664 66 : || !insn_condition_27 (operands, insn))
16665 2 : return -1;
16666 : return 4294; /* avx512f_fmaddsub_v16sf_mask3 */
16667 :
16668 315 : case E_V8SFmode:
16669 315 : if (pattern1308 (x2,
16670 : E_V8SFmode,
16671 : E_QImode) != 0)
16672 : return -1;
16673 283 : if (register_operand (operands[1], E_V8SFmode)
16674 266 : && vector_operand (operands[3], E_V8SFmode)
16675 266 : && rtx_equal_p (x7, operands[1])
16676 283 : && insn_condition_100 (operands, insn))
16677 : return 4278; /* avx512vl_fmaddsub_v8sf_mask */
16678 118 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
16679 118 : || !nonimmediate_operand (operands[3], E_V8SFmode)
16680 118 : || !rtx_equal_p (x7, operands[3])
16681 118 : || !insn_condition_100 (operands, insn))
16682 2 : return -1;
16683 : return 4296; /* avx512vl_fmaddsub_v8sf_mask3 */
16684 :
16685 303 : case E_V4SFmode:
16686 303 : if (pattern1308 (x2,
16687 : E_V4SFmode,
16688 : E_QImode) != 0)
16689 : return -1;
16690 281 : if (register_operand (operands[1], E_V4SFmode)
16691 264 : && vector_operand (operands[3], E_V4SFmode)
16692 264 : && rtx_equal_p (x7, operands[1])
16693 281 : && insn_condition_100 (operands, insn))
16694 : return 4280; /* avx512vl_fmaddsub_v4sf_mask */
16695 118 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
16696 118 : || !nonimmediate_operand (operands[3], E_V4SFmode)
16697 118 : || !rtx_equal_p (x7, operands[3])
16698 118 : || !insn_condition_100 (operands, insn))
16699 2 : return -1;
16700 : return 4298; /* avx512vl_fmaddsub_v4sf_mask3 */
16701 :
16702 137 : case E_V8DFmode:
16703 137 : if (pattern1308 (x2,
16704 : E_V8DFmode,
16705 : E_QImode) != 0)
16706 : return -1;
16707 105 : if (register_operand (operands[1], E_V8DFmode)
16708 86 : && vector_operand (operands[3], E_V8DFmode)
16709 86 : && rtx_equal_p (x7, operands[1])
16710 172 : && insn_condition_27 (operands, insn))
16711 : return 4282; /* avx512f_fmaddsub_v8df_mask */
16712 38 : if (!nonimmediate_operand (operands[1], E_V8DFmode)
16713 38 : || !nonimmediate_operand (operands[3], E_V8DFmode)
16714 38 : || !rtx_equal_p (x7, operands[3])
16715 74 : || !insn_condition_27 (operands, insn))
16716 2 : return -1;
16717 : return 4300; /* avx512f_fmaddsub_v8df_mask3 */
16718 :
16719 327 : case E_V4DFmode:
16720 327 : if (pattern1308 (x2,
16721 : E_V4DFmode,
16722 : E_QImode) != 0)
16723 : return -1;
16724 293 : if (register_operand (operands[1], E_V4DFmode)
16725 274 : && vector_operand (operands[3], E_V4DFmode)
16726 274 : && rtx_equal_p (x7, operands[1])
16727 293 : && insn_condition_100 (operands, insn))
16728 : return 4284; /* avx512vl_fmaddsub_v4df_mask */
16729 122 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
16730 122 : || !nonimmediate_operand (operands[3], E_V4DFmode)
16731 122 : || !rtx_equal_p (x7, operands[3])
16732 122 : || !insn_condition_100 (operands, insn))
16733 2 : return -1;
16734 : return 4302; /* avx512vl_fmaddsub_v4df_mask3 */
16735 :
16736 303 : case E_V2DFmode:
16737 303 : if (pattern1308 (x2,
16738 : E_V2DFmode,
16739 : E_QImode) != 0)
16740 : return -1;
16741 281 : if (register_operand (operands[1], E_V2DFmode)
16742 264 : && vector_operand (operands[3], E_V2DFmode)
16743 264 : && rtx_equal_p (x7, operands[1])
16744 281 : && insn_condition_100 (operands, insn))
16745 : return 4286; /* avx512vl_fmaddsub_v2df_mask */
16746 118 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
16747 118 : || !nonimmediate_operand (operands[3], E_V2DFmode)
16748 118 : || !rtx_equal_p (x7, operands[3])
16749 118 : || !insn_condition_100 (operands, insn))
16750 2 : return -1;
16751 : return 4304; /* avx512vl_fmaddsub_v2df_mask3 */
16752 :
16753 : default:
16754 : return -1;
16755 : }
16756 :
16757 : default:
16758 : return -1;
16759 : }
16760 :
16761 1896 : case NEG:
16762 1896 : x9 = XEXP (x6, 0);
16763 1896 : operands[3] = x9;
16764 1896 : x7 = XEXP (x2, 1);
16765 1896 : switch (GET_CODE (x7))
16766 : {
16767 454 : case CONST_INT:
16768 454 : case CONST_DOUBLE:
16769 454 : case CONST_VECTOR:
16770 454 : operands[4] = x7;
16771 454 : x8 = XEXP (x2, 2);
16772 454 : operands[5] = x8;
16773 454 : switch (GET_MODE (operands[0]))
16774 : {
16775 42 : case E_V32HFmode:
16776 42 : if (pattern1414 (x2,
16777 : E_V32HFmode,
16778 : E_SImode) != 0
16779 42 : || !insn_condition_994 (operands, insn))
16780 15 : return -1;
16781 : return 4311; /* fma_fmsubadd_v32hf_maskz_1 */
16782 :
16783 119 : case E_V16HFmode:
16784 119 : if (pattern1414 (x2,
16785 : E_V16HFmode,
16786 : E_HImode) != 0
16787 119 : || !insn_condition_995 (operands, insn))
16788 16 : return -1;
16789 : return 4315; /* fma_fmsubadd_v16hf_maskz_1 */
16790 :
16791 119 : case E_V8HFmode:
16792 119 : if (pattern1414 (x2,
16793 : E_V8HFmode,
16794 : E_QImode) != 0
16795 119 : || !insn_condition_996 (operands, insn))
16796 16 : return -1;
16797 : return 4317; /* fma_fmsubadd_v8hf_maskz_1 */
16798 :
16799 10 : case E_V16SFmode:
16800 10 : if (pattern1414 (x2,
16801 : E_V16SFmode,
16802 : E_HImode) != 0
16803 10 : || !insn_condition_997 (operands, insn))
16804 7 : return -1;
16805 : return 4319; /* fma_fmsubadd_v16sf_maskz_1 */
16806 :
16807 40 : case E_V8SFmode:
16808 40 : if (pattern1414 (x2,
16809 : E_V8SFmode,
16810 : E_QImode) != 0
16811 40 : || !insn_condition_998 (operands, insn))
16812 7 : return -1;
16813 : return 4323; /* fma_fmsubadd_v8sf_maskz_1 */
16814 :
16815 37 : case E_V4SFmode:
16816 37 : if (pattern1414 (x2,
16817 : E_V4SFmode,
16818 : E_QImode) != 0
16819 37 : || !insn_condition_999 (operands, insn))
16820 4 : return -1;
16821 : return 4325; /* fma_fmsubadd_v4sf_maskz_1 */
16822 :
16823 10 : case E_V8DFmode:
16824 10 : if (pattern1414 (x2,
16825 : E_V8DFmode,
16826 : E_QImode) != 0
16827 10 : || !insn_condition_997 (operands, insn))
16828 7 : return -1;
16829 : return 4327; /* fma_fmsubadd_v8df_maskz_1 */
16830 :
16831 40 : case E_V4DFmode:
16832 40 : if (pattern1414 (x2,
16833 : E_V4DFmode,
16834 : E_QImode) != 0
16835 40 : || !insn_condition_998 (operands, insn))
16836 7 : return -1;
16837 : return 4331; /* fma_fmsubadd_v4df_maskz_1 */
16838 :
16839 37 : case E_V2DFmode:
16840 37 : if (pattern1414 (x2,
16841 : E_V2DFmode,
16842 : E_QImode) != 0
16843 37 : || !insn_condition_999 (operands, insn))
16844 4 : return -1;
16845 : return 4333; /* fma_fmsubadd_v2df_maskz_1 */
16846 :
16847 : default:
16848 : return -1;
16849 : }
16850 :
16851 1442 : case REG:
16852 1442 : case SUBREG:
16853 1442 : case MEM:
16854 1442 : x8 = XEXP (x2, 2);
16855 1442 : operands[4] = x8;
16856 1442 : switch (GET_MODE (operands[0]))
16857 : {
16858 114 : case E_V32HFmode:
16859 114 : if (pattern1309 (x2,
16860 : E_V32HFmode,
16861 : E_SImode) != 0)
16862 : return -1;
16863 90 : if (vector_operand (operands[3], E_V32HFmode)
16864 90 : && rtx_equal_p (x7, operands[1])
16865 90 : && insn_condition_26 (operands, insn))
16866 : return 4334; /* avx512bw_fmsubadd_v32hf_mask */
16867 38 : if (!nonimmediate_operand (operands[3], E_V32HFmode)
16868 38 : || !rtx_equal_p (x7, operands[3])
16869 38 : || !insn_condition_26 (operands, insn))
16870 0 : return -1;
16871 : return 4352; /* avx512bw_fmsubadd_v32hf_mask3 */
16872 :
16873 270 : case E_V16HFmode:
16874 270 : if (pattern1309 (x2,
16875 : E_V16HFmode,
16876 : E_HImode) != 0)
16877 : return -1;
16878 246 : if (vector_operand (operands[3], E_V16HFmode)
16879 246 : && rtx_equal_p (x7, operands[1])
16880 375 : && insn_condition_972 (operands, insn))
16881 : return 4336; /* avx512vl_fmsubadd_v16hf_mask */
16882 117 : if (!nonimmediate_operand (operands[3], E_V16HFmode)
16883 117 : || !rtx_equal_p (x7, operands[3])
16884 234 : || !insn_condition_972 (operands, insn))
16885 0 : return -1;
16886 : return 4354; /* avx512vl_fmsubadd_v16hf_mask3 */
16887 :
16888 270 : case E_V8HFmode:
16889 270 : if (pattern1309 (x2,
16890 : E_V8HFmode,
16891 : E_QImode) != 0)
16892 : return -1;
16893 246 : if (vector_operand (operands[3], E_V8HFmode)
16894 246 : && rtx_equal_p (x7, operands[1])
16895 375 : && insn_condition_972 (operands, insn))
16896 : return 4338; /* avx512fp16_fmsubadd_v8hf_mask */
16897 117 : if (!nonimmediate_operand (operands[3], E_V8HFmode)
16898 117 : || !rtx_equal_p (x7, operands[3])
16899 234 : || !insn_condition_972 (operands, insn))
16900 0 : return -1;
16901 : return 4356; /* avx512fp16_fmsubadd_v8hf_mask3 */
16902 :
16903 53 : case E_V16SFmode:
16904 53 : if (pattern1309 (x2,
16905 : E_V16SFmode,
16906 : E_HImode) != 0)
16907 : return -1;
16908 38 : if (vector_operand (operands[3], E_V16SFmode)
16909 38 : && rtx_equal_p (x7, operands[1])
16910 43 : && insn_condition_27 (operands, insn))
16911 : return 4340; /* avx512f_fmsubadd_v16sf_mask */
16912 33 : if (!nonimmediate_operand (operands[3], E_V16SFmode)
16913 33 : || !rtx_equal_p (x7, operands[3])
16914 66 : || !insn_condition_27 (operands, insn))
16915 0 : return -1;
16916 : return 4358; /* avx512f_fmsubadd_v16sf_mask3 */
16917 :
16918 169 : case E_V8SFmode:
16919 169 : if (pattern1309 (x2,
16920 : E_V8SFmode,
16921 : E_QImode) != 0)
16922 : return -1;
16923 153 : if (vector_operand (operands[3], E_V8SFmode)
16924 153 : && rtx_equal_p (x7, operands[1])
16925 153 : && insn_condition_100 (operands, insn))
16926 : return 4342; /* avx512vl_fmsubadd_v8sf_mask */
16927 118 : if (!nonimmediate_operand (operands[3], E_V8SFmode)
16928 118 : || !rtx_equal_p (x7, operands[3])
16929 118 : || !insn_condition_100 (operands, insn))
16930 0 : return -1;
16931 : return 4360; /* avx512vl_fmsubadd_v8sf_mask3 */
16932 :
16933 170 : case E_V4SFmode:
16934 170 : if (pattern1309 (x2,
16935 : E_V4SFmode,
16936 : E_QImode) != 0)
16937 : return -1;
16938 154 : if (vector_operand (operands[3], E_V4SFmode)
16939 154 : && rtx_equal_p (x7, operands[1])
16940 154 : && insn_condition_100 (operands, insn))
16941 : return 4344; /* avx512vl_fmsubadd_v4sf_mask */
16942 118 : if (!nonimmediate_operand (operands[3], E_V4SFmode)
16943 118 : || !rtx_equal_p (x7, operands[3])
16944 118 : || !insn_condition_100 (operands, insn))
16945 0 : return -1;
16946 : return 4362; /* avx512vl_fmsubadd_v4sf_mask3 */
16947 :
16948 55 : case E_V8DFmode:
16949 55 : if (pattern1309 (x2,
16950 : E_V8DFmode,
16951 : E_QImode) != 0)
16952 : return -1;
16953 40 : if (vector_operand (operands[3], E_V8DFmode)
16954 40 : && rtx_equal_p (x7, operands[1])
16955 45 : && insn_condition_27 (operands, insn))
16956 : return 4346; /* avx512f_fmsubadd_v8df_mask */
16957 35 : if (!nonimmediate_operand (operands[3], E_V8DFmode)
16958 35 : || !rtx_equal_p (x7, operands[3])
16959 70 : || !insn_condition_27 (operands, insn))
16960 0 : return -1;
16961 : return 4364; /* avx512f_fmsubadd_v8df_mask3 */
16962 :
16963 171 : case E_V4DFmode:
16964 171 : if (pattern1309 (x2,
16965 : E_V4DFmode,
16966 : E_QImode) != 0)
16967 : return -1;
16968 155 : if (vector_operand (operands[3], E_V4DFmode)
16969 155 : && rtx_equal_p (x7, operands[1])
16970 155 : && insn_condition_100 (operands, insn))
16971 : return 4348; /* avx512vl_fmsubadd_v4df_mask */
16972 120 : if (!nonimmediate_operand (operands[3], E_V4DFmode)
16973 120 : || !rtx_equal_p (x7, operands[3])
16974 120 : || !insn_condition_100 (operands, insn))
16975 0 : return -1;
16976 : return 4366; /* avx512vl_fmsubadd_v4df_mask3 */
16977 :
16978 170 : case E_V2DFmode:
16979 170 : if (pattern1309 (x2,
16980 : E_V2DFmode,
16981 : E_QImode) != 0)
16982 : return -1;
16983 154 : if (vector_operand (operands[3], E_V2DFmode)
16984 154 : && rtx_equal_p (x7, operands[1])
16985 154 : && insn_condition_100 (operands, insn))
16986 : return 4350; /* avx512vl_fmsubadd_v2df_mask */
16987 118 : if (!nonimmediate_operand (operands[3], E_V2DFmode)
16988 118 : || !rtx_equal_p (x7, operands[3])
16989 118 : || !insn_condition_100 (operands, insn))
16990 0 : return -1;
16991 : return 4368; /* avx512vl_fmsubadd_v2df_mask3 */
16992 :
16993 : default:
16994 : return -1;
16995 : }
16996 :
16997 : default:
16998 : return -1;
16999 : }
17000 :
17001 : default:
17002 : return -1;
17003 : }
17004 : }
17005 :
17006 : int
17007 8572 : recog_163 (rtx x1 ATTRIBUTE_UNUSED,
17008 : rtx_insn *insn ATTRIBUTE_UNUSED,
17009 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17010 : {
17011 8572 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17012 8572 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
17013 8572 : rtx x10, x11, x12;
17014 8572 : int res ATTRIBUTE_UNUSED;
17015 8572 : x2 = XEXP (x1, 1);
17016 8572 : x3 = XEXP (x2, 0);
17017 8572 : x4 = XEXP (x3, 0);
17018 8572 : switch (XVECLEN (x4, 0))
17019 : {
17020 1470 : case 1:
17021 1470 : x5 = XEXP (x2, 2);
17022 1470 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
17023 : return -1;
17024 1297 : x6 = XVECEXP (x4, 0, 0);
17025 1297 : operands[1] = x6;
17026 1297 : x7 = XEXP (x3, 1);
17027 1297 : operands[3] = x7;
17028 1297 : x8 = XEXP (x3, 2);
17029 1297 : operands[4] = x8;
17030 1297 : if (!register_operand (operands[4], E_QImode))
17031 : return -1;
17032 1273 : x9 = XEXP (x2, 1);
17033 1273 : operands[2] = x9;
17034 1273 : switch (XINT (x4, 1))
17035 : {
17036 221 : case 51:
17037 221 : if (pattern1321 (x2) != 0
17038 221 : || !insn_condition_26 (operands, insn))
17039 6 : return -1;
17040 : return 3061; /* avx512fp16_vmrcpv8hf2_mask */
17041 :
17042 390 : case 160:
17043 390 : switch (GET_MODE (operands[0]))
17044 : {
17045 195 : case E_V4SFmode:
17046 195 : if (pattern1416 (x2,
17047 : E_V4SFmode) != 0
17048 195 : || !insn_condition_27 (operands, insn))
17049 6 : return -1;
17050 : return 3077; /* srcp14v4sf_mask */
17051 :
17052 195 : case E_V2DFmode:
17053 195 : if (pattern1416 (x2,
17054 : E_V2DFmode) != 0
17055 195 : || !insn_condition_342 (operands, insn))
17056 6 : return -1;
17057 : return 3078; /* srcp14v2df_mask */
17058 :
17059 : default:
17060 : return -1;
17061 : }
17062 :
17063 413 : case 161:
17064 413 : switch (GET_MODE (operands[0]))
17065 : {
17066 195 : case E_V4SFmode:
17067 195 : if (pattern1416 (x2,
17068 : E_V4SFmode) != 0
17069 195 : || !insn_condition_27 (operands, insn))
17070 6 : return -1;
17071 : return 3149; /* rsqrt14_v4sf_mask */
17072 :
17073 218 : case E_V2DFmode:
17074 218 : if (pattern1416 (x2,
17075 : E_V2DFmode) != 0
17076 218 : || !insn_condition_342 (operands, insn))
17077 22 : return -1;
17078 : return 3150; /* rsqrt14_v2df_mask */
17079 :
17080 : default:
17081 : return -1;
17082 : }
17083 :
17084 221 : case 52:
17085 221 : if (pattern1321 (x2) != 0
17086 221 : || !insn_condition_26 (operands, insn))
17087 6 : return -1;
17088 : return 3154; /* avx512fp16_vmrsqrtv8hf2_mask */
17089 :
17090 : default:
17091 : return -1;
17092 : }
17093 :
17094 3978 : case 2:
17095 3978 : x5 = XEXP (x2, 2);
17096 3978 : if (GET_CODE (x5) != CONST_INT)
17097 : return -1;
17098 3978 : switch (XINT (x4, 1))
17099 : {
17100 802 : case 60:
17101 802 : switch (pattern804 (x2))
17102 : {
17103 171 : case 0:
17104 171 : if (!insn_condition_1083 (operands, insn))
17105 0 : return -1;
17106 : return 3305; /* avx512fp16_ieee_vmmaxv8hf3_mask */
17107 :
17108 302 : case 1:
17109 302 : if (!insn_condition_908 (operands, insn))
17110 0 : return -1;
17111 : return 3313; /* sse_ieee_vmmaxv4sf3_mask */
17112 :
17113 302 : case 2:
17114 302 : if (!insn_condition_1084 (operands, insn))
17115 0 : return -1;
17116 : return 3321; /* sse2_ieee_vmmaxv2df3_mask */
17117 :
17118 : default:
17119 : return -1;
17120 : }
17121 :
17122 904 : case 59:
17123 904 : switch (pattern804 (x2))
17124 : {
17125 173 : case 0:
17126 173 : if (!insn_condition_1083 (operands, insn))
17127 0 : return -1;
17128 : return 3309; /* avx512fp16_ieee_vmminv8hf3_mask */
17129 :
17130 352 : case 1:
17131 352 : if (!insn_condition_908 (operands, insn))
17132 0 : return -1;
17133 : return 3317; /* sse_ieee_vmminv4sf3_mask */
17134 :
17135 352 : case 2:
17136 352 : if (!insn_condition_1084 (operands, insn))
17137 0 : return -1;
17138 : return 3325; /* sse2_ieee_vmminv2df3_mask */
17139 :
17140 : default:
17141 : return -1;
17142 : }
17143 :
17144 102 : case 220:
17145 102 : if (pattern805 (x2) != 0
17146 102 : || !insn_condition_26 (operands, insn))
17147 26 : return -1;
17148 : return 4552; /* avx512fp16_fmulcsh_v8hf_mask */
17149 :
17150 74 : case 221:
17151 74 : if (pattern805 (x2) != 0
17152 74 : || !insn_condition_26 (operands, insn))
17153 18 : return -1;
17154 : return 4556; /* avx512fp16_fcmulcsh_v8hf_mask */
17155 :
17156 295 : case 55:
17157 295 : switch (pattern804 (x2))
17158 : {
17159 40 : case 0:
17160 40 : if (!insn_condition_89 (operands, insn))
17161 0 : return -1;
17162 : return 5588; /* avx512f_vmscalefv8hf_mask */
17163 :
17164 196 : case 1:
17165 196 : if (!insn_condition_27 (operands, insn))
17166 0 : return -1;
17167 : return 5592; /* avx512f_vmscalefv4sf_mask */
17168 :
17169 32 : case 2:
17170 32 : if (!insn_condition_90 (operands, insn))
17171 0 : return -1;
17172 : return 5596; /* avx512f_vmscalefv2df_mask */
17173 :
17174 : default:
17175 : return -1;
17176 : }
17177 :
17178 1033 : case 164:
17179 1033 : switch (pattern804 (x2))
17180 : {
17181 362 : case 0:
17182 362 : if (!insn_condition_89 (operands, insn))
17183 0 : return -1;
17184 : return 5737; /* avx512f_sgetexpv8hf_mask */
17185 :
17186 322 : case 1:
17187 322 : if (!insn_condition_27 (operands, insn))
17188 0 : return -1;
17189 : return 5741; /* avx512f_sgetexpv4sf_mask */
17190 :
17191 322 : case 2:
17192 322 : if (!insn_condition_90 (operands, insn))
17193 0 : return -1;
17194 : return 5745; /* avx512f_sgetexpv2df_mask */
17195 :
17196 : default:
17197 : return -1;
17198 : }
17199 :
17200 766 : case 90:
17201 766 : if (XWINT (x5, 0) != 1L)
17202 : return -1;
17203 766 : x6 = XVECEXP (x4, 0, 0);
17204 766 : operands[2] = x6;
17205 766 : x10 = XVECEXP (x4, 0, 1);
17206 766 : operands[3] = x10;
17207 766 : if (!const_0_to_255_operand (operands[3], E_SImode))
17208 : return -1;
17209 766 : x7 = XEXP (x3, 1);
17210 766 : operands[4] = x7;
17211 766 : x8 = XEXP (x3, 2);
17212 766 : operands[5] = x8;
17213 766 : if (!register_operand (operands[5], E_QImode))
17214 : return -1;
17215 757 : x9 = XEXP (x2, 1);
17216 757 : operands[1] = x9;
17217 757 : switch (GET_MODE (operands[0]))
17218 : {
17219 41 : case E_V8HFmode:
17220 41 : if (pattern1589 (x2,
17221 : E_V8HFmode) != 0
17222 41 : || !insn_condition_89 (operands, insn))
17223 6 : return -1;
17224 : return 5853; /* avx512f_rndscalev8hf_mask */
17225 :
17226 358 : case E_V4SFmode:
17227 358 : if (pattern1589 (x2,
17228 : E_V4SFmode) != 0
17229 358 : || !insn_condition_27 (operands, insn))
17230 6 : return -1;
17231 : return 5857; /* avx512f_rndscalev4sf_mask */
17232 :
17233 358 : case E_V2DFmode:
17234 358 : if (pattern1589 (x2,
17235 : E_V2DFmode) != 0
17236 358 : || !insn_condition_90 (operands, insn))
17237 6 : return -1;
17238 : return 5861; /* avx512f_rndscalev2df_mask */
17239 :
17240 : default:
17241 : return -1;
17242 : }
17243 :
17244 : default:
17245 : return -1;
17246 : }
17247 :
17248 2950 : case 3:
17249 2950 : x5 = XEXP (x2, 2);
17250 2950 : if (GET_CODE (x5) != CONST_INT)
17251 : return -1;
17252 2950 : x6 = XVECEXP (x4, 0, 0);
17253 2950 : operands[1] = x6;
17254 2950 : x10 = XVECEXP (x4, 0, 1);
17255 2950 : operands[2] = x10;
17256 2950 : x11 = XVECEXP (x4, 0, 2);
17257 2950 : operands[3] = x11;
17258 2950 : switch (XINT (x4, 1))
17259 : {
17260 424 : case 191:
17261 424 : switch (pattern1158 (x2))
17262 : {
17263 35 : case 0:
17264 35 : if (!insn_condition_1085 (operands, insn))
17265 0 : return -1;
17266 : return 3379; /* reducesv8hf_mask */
17267 :
17268 181 : case 1:
17269 181 : if (!insn_condition_1086 (operands, insn))
17270 0 : return -1;
17271 : return 3383; /* reducesv4sf_mask */
17272 :
17273 181 : case 2:
17274 181 : if (!insn_condition_1087 (operands, insn))
17275 0 : return -1;
17276 : return 3387; /* reducesv2df_mask */
17277 :
17278 : default:
17279 : return -1;
17280 : }
17281 :
17282 38 : case 216:
17283 38 : switch (pattern1159 (x2))
17284 : {
17285 11 : case 0:
17286 11 : if (!insn_condition_26 (operands, insn))
17287 0 : return -1;
17288 : return 4539; /* avx512fp16_fma_fmaddcsh_v8hf_maskz */
17289 :
17290 22 : case 1:
17291 22 : if (!insn_condition_40 (operands, insn))
17292 0 : return -1;
17293 : return 4546; /* avx512fp16_fmaddcsh_v8hf_mask */
17294 :
17295 : default:
17296 : return -1;
17297 : }
17298 :
17299 38 : case 218:
17300 38 : switch (pattern1159 (x2))
17301 : {
17302 11 : case 0:
17303 11 : if (!insn_condition_26 (operands, insn))
17304 0 : return -1;
17305 : return 4543; /* avx512fp16_fma_fcmaddcsh_v8hf_maskz */
17306 :
17307 22 : case 1:
17308 22 : if (!insn_condition_40 (operands, insn))
17309 0 : return -1;
17310 : return 4548; /* avx512fp16_fcmaddcsh_v8hf_mask */
17311 :
17312 : default:
17313 : return -1;
17314 : }
17315 :
17316 114 : case 193:
17317 114 : if (XWINT (x5, 0) != 1L
17318 114 : || !const_0_to_15_operand (operands[3], E_SImode))
17319 : return -1;
17320 114 : x7 = XEXP (x3, 1);
17321 114 : operands[4] = x7;
17322 114 : x8 = XEXP (x3, 2);
17323 114 : operands[5] = x8;
17324 114 : if (!register_operand (operands[5], E_QImode))
17325 : return -1;
17326 88 : x9 = XEXP (x2, 1);
17327 88 : if (!rtx_equal_p (x9, operands[1]))
17328 : return -1;
17329 88 : switch (GET_MODE (operands[0]))
17330 : {
17331 44 : case E_V4SFmode:
17332 44 : if (pattern1156 (x2,
17333 : E_V4SFmode) != 0
17334 44 : || !insn_condition_119 (operands, insn))
17335 6 : return -1;
17336 : return 8670; /* avx512dq_rangesv4sf_mask */
17337 :
17338 44 : case E_V2DFmode:
17339 44 : if (pattern1156 (x2,
17340 : E_V2DFmode) != 0
17341 44 : || !insn_condition_1088 (operands, insn))
17342 6 : return -1;
17343 : return 8674; /* avx512dq_rangesv2df_mask */
17344 :
17345 : default:
17346 : return -1;
17347 : }
17348 :
17349 1118 : case 165:
17350 1118 : if (XWINT (x5, 0) != 1L
17351 1118 : || !const_0_to_15_operand (operands[3], E_SImode))
17352 : return -1;
17353 1118 : switch (pattern1157 (x2))
17354 : {
17355 379 : case 0:
17356 379 : if (!insn_condition_89 (operands, insn))
17357 0 : return -1;
17358 : return 8738; /* avx512f_vgetmantv8hf_mask */
17359 :
17360 343 : case 1:
17361 343 : if (!insn_condition_27 (operands, insn))
17362 0 : return -1;
17363 : return 8742; /* avx512f_vgetmantv4sf_mask */
17364 :
17365 343 : case 2:
17366 343 : if (!insn_condition_90 (operands, insn))
17367 0 : return -1;
17368 : return 8746; /* avx512f_vgetmantv2df_mask */
17369 :
17370 : default:
17371 : return -1;
17372 : }
17373 :
17374 1218 : case 277:
17375 1218 : switch (pattern1158 (x2))
17376 : {
17377 393 : case 0:
17378 393 : if (!insn_condition_82 (operands, insn))
17379 0 : return -1;
17380 : return 9644; /* avx10_2_minmaxsv8hf_mask */
17381 :
17382 393 : case 1:
17383 393 : if (!insn_condition_83 (operands, insn))
17384 0 : return -1;
17385 : return 9648; /* avx10_2_minmaxsv4sf_mask */
17386 :
17387 405 : case 2:
17388 405 : if (!insn_condition_1089 (operands, insn))
17389 0 : return -1;
17390 : return 9652; /* avx10_2_minmaxsv2df_mask */
17391 :
17392 : default:
17393 : return -1;
17394 : }
17395 :
17396 : default:
17397 : return -1;
17398 : }
17399 :
17400 174 : case 4:
17401 174 : if (XINT (x4, 1) != 162)
17402 : return -1;
17403 174 : x6 = XVECEXP (x4, 0, 0);
17404 174 : operands[1] = x6;
17405 174 : x10 = XVECEXP (x4, 0, 1);
17406 174 : operands[2] = x10;
17407 174 : x11 = XVECEXP (x4, 0, 2);
17408 174 : operands[3] = x11;
17409 174 : x12 = XVECEXP (x4, 0, 3);
17410 174 : operands[4] = x12;
17411 174 : if (!const_0_to_255_operand (operands[4], E_SImode))
17412 : return -1;
17413 174 : x7 = XEXP (x3, 1);
17414 174 : switch (GET_CODE (x7))
17415 : {
17416 33 : case CONST_INT:
17417 33 : case CONST_DOUBLE:
17418 33 : case CONST_VECTOR:
17419 33 : operands[5] = x7;
17420 33 : x5 = XEXP (x2, 2);
17421 33 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
17422 : return -1;
17423 33 : x8 = XEXP (x3, 2);
17424 33 : operands[6] = x8;
17425 33 : if (!register_operand (operands[6], E_QImode))
17426 : return -1;
17427 29 : x9 = XEXP (x2, 1);
17428 29 : if (!rtx_equal_p (x9, operands[2]))
17429 : return -1;
17430 29 : switch (GET_MODE (operands[0]))
17431 : {
17432 15 : case E_V4SFmode:
17433 15 : if (pattern1697 (x2,
17434 : E_V4SFmode,
17435 : E_V4SImode) != 0
17436 15 : || !insn_condition_27 (operands, insn))
17437 3 : return -1;
17438 : return 5806; /* avx512f_sfixupimmv4sf_maskz_1 */
17439 :
17440 14 : case E_V2DFmode:
17441 14 : if (pattern1697 (x2,
17442 : E_V2DFmode,
17443 : E_V2DImode) != 0
17444 14 : || !insn_condition_90 (operands, insn))
17445 3 : return -1;
17446 : return 5810; /* avx512f_sfixupimmv2df_maskz_1 */
17447 :
17448 : default:
17449 : return -1;
17450 : }
17451 :
17452 141 : case REG:
17453 141 : case SUBREG:
17454 141 : if (!rtx_equal_p (x7, operands[2]))
17455 : return -1;
17456 141 : x8 = XEXP (x3, 2);
17457 141 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
17458 : return -1;
17459 141 : x5 = XEXP (x2, 2);
17460 141 : operands[5] = x5;
17461 141 : if (!register_operand (operands[5], E_QImode))
17462 : return -1;
17463 125 : x9 = XEXP (x2, 1);
17464 125 : if (!rtx_equal_p (x9, operands[1]))
17465 : return -1;
17466 125 : switch (GET_MODE (operands[0]))
17467 : {
17468 63 : case E_V4SFmode:
17469 63 : if (pattern1698 (x2,
17470 : E_V4SImode,
17471 : E_V4SFmode) != 0
17472 63 : || !insn_condition_27 (operands, insn))
17473 9 : return -1;
17474 : return 5812; /* avx512f_sfixupimmv4sf_mask */
17475 :
17476 62 : case E_V2DFmode:
17477 62 : if (pattern1698 (x2,
17478 : E_V2DImode,
17479 : E_V2DFmode) != 0
17480 62 : || !insn_condition_342 (operands, insn))
17481 11 : return -1;
17482 : return 5814; /* avx512f_sfixupimmv2df_mask */
17483 :
17484 : default:
17485 : return -1;
17486 : }
17487 :
17488 : default:
17489 : return -1;
17490 : }
17491 :
17492 : default:
17493 : return -1;
17494 : }
17495 : }
17496 :
17497 : int
17498 9 : recog_168 (rtx x1 ATTRIBUTE_UNUSED,
17499 : rtx_insn *insn ATTRIBUTE_UNUSED,
17500 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17501 : {
17502 9 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17503 9 : rtx x2, x3, x4, x5;
17504 9 : int res ATTRIBUTE_UNUSED;
17505 9 : x2 = XEXP (x1, 1);
17506 9 : if (GET_MODE (x2) != E_V16BFmode)
17507 : return -1;
17508 9 : x3 = XEXP (x2, 2);
17509 9 : if (!register_operand (x3, E_HImode))
17510 : return -1;
17511 9 : operands[3] = x3;
17512 9 : if (register_operand (operands[0], E_V16BFmode))
17513 : {
17514 0 : x4 = XEXP (x2, 0);
17515 0 : operands[2] = x4;
17516 0 : if (nonimmediate_operand (operands[2], E_V16BFmode))
17517 : {
17518 0 : x5 = XEXP (x2, 1);
17519 0 : operands[1] = x5;
17520 0 : if (nonimm_or_0_operand (operands[1], E_V16BFmode)
17521 0 : && insn_condition_77 (operands, insn))
17522 : return 2694; /* avx512vl_blendmv16bf */
17523 : }
17524 : }
17525 9 : operands[2] = x3;
17526 9 : if (!memory_operand (operands[0], E_V16BFmode))
17527 : return -1;
17528 2 : x4 = XEXP (x2, 0);
17529 2 : operands[1] = x4;
17530 2 : if (!register_operand (operands[1], E_V16BFmode))
17531 : return -1;
17532 2 : x5 = XEXP (x2, 1);
17533 2 : if (!rtx_equal_p (x5, operands[0])
17534 2 : || !insn_condition_77 (operands, insn))
17535 2 : return -1;
17536 : return 2718; /* *avx512vl_storev16bf_mask */
17537 : }
17538 :
17539 : int
17540 858 : recog_171 (rtx x1 ATTRIBUTE_UNUSED,
17541 : rtx_insn *insn ATTRIBUTE_UNUSED,
17542 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17543 : {
17544 858 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17545 858 : rtx x2, x3, x4, x5;
17546 858 : int res ATTRIBUTE_UNUSED;
17547 858 : x2 = XEXP (x1, 1);
17548 858 : if (GET_MODE (x2) != E_V16HFmode)
17549 : return -1;
17550 858 : x3 = XEXP (x2, 2);
17551 858 : if (!register_operand (x3, E_HImode))
17552 : return -1;
17553 858 : operands[3] = x3;
17554 858 : if (register_operand (operands[0], E_V16HFmode))
17555 : {
17556 839 : x4 = XEXP (x2, 0);
17557 839 : operands[2] = x4;
17558 839 : if (nonimmediate_operand (operands[2], E_V16HFmode))
17559 : {
17560 839 : x5 = XEXP (x2, 1);
17561 839 : operands[1] = x5;
17562 839 : if (nonimm_or_0_operand (operands[1], E_V16HFmode)
17563 839 : && insn_condition_77 (operands, insn))
17564 : return 2691; /* avx512vl_blendmv16hf */
17565 : }
17566 : }
17567 19 : operands[2] = x3;
17568 19 : if (!memory_operand (operands[0], E_V16HFmode))
17569 : return -1;
17570 16 : x4 = XEXP (x2, 0);
17571 16 : operands[1] = x4;
17572 16 : if (!register_operand (operands[1], E_V16HFmode))
17573 : return -1;
17574 16 : x5 = XEXP (x2, 1);
17575 16 : if (!rtx_equal_p (x5, operands[0])
17576 16 : || !insn_condition_77 (operands, insn))
17577 15 : return -1;
17578 : return 2715; /* *avx512vl_storev16hf_mask */
17579 : }
17580 :
17581 : int
17582 5844 : recog_175 (rtx x1 ATTRIBUTE_UNUSED,
17583 : rtx_insn *insn ATTRIBUTE_UNUSED,
17584 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17585 : {
17586 5844 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17587 5844 : rtx x2, x3;
17588 5844 : int res ATTRIBUTE_UNUSED;
17589 5844 : x2 = XEXP (x1, 1);
17590 5844 : switch (pattern677 (x2))
17591 : {
17592 31 : case 0:
17593 31 : if (pattern1424 (x2,
17594 : E_V32HFmode,
17595 : E_SImode) != 0
17596 31 : || !insn_condition_994 (operands, insn))
17597 4 : return -1;
17598 : return 4052; /* fma_fmsub_v32hf_maskz_1 */
17599 :
17600 238 : case 1:
17601 238 : if (pattern1424 (x2,
17602 : E_V16HFmode,
17603 : E_HImode) != 0
17604 238 : || !insn_condition_995 (operands, insn))
17605 11 : return -1;
17606 : return 4056; /* fma_fmsub_v16hf_maskz_1 */
17607 :
17608 106 : case 2:
17609 106 : if (pattern1424 (x2,
17610 : E_V8HFmode,
17611 : E_QImode) != 0
17612 106 : || !insn_condition_996 (operands, insn))
17613 3 : return -1;
17614 : return 4058; /* fma_fmsub_v8hf_maskz_1 */
17615 :
17616 379 : case 3:
17617 379 : if (pattern1424 (x2,
17618 : E_V16SFmode,
17619 : E_HImode) != 0
17620 379 : || !insn_condition_997 (operands, insn))
17621 4 : return -1;
17622 : return 4062; /* fma_fmsub_v16sf_maskz_1 */
17623 :
17624 172 : case 4:
17625 172 : if (pattern1424 (x2,
17626 : E_V8SFmode,
17627 : E_QImode) != 0
17628 172 : || !insn_condition_998 (operands, insn))
17629 7 : return -1;
17630 : return 4066; /* fma_fmsub_v8sf_maskz_1 */
17631 :
17632 116 : case 5:
17633 116 : if (pattern1424 (x2,
17634 : E_V4SFmode,
17635 : E_QImode) != 0
17636 116 : || !insn_condition_999 (operands, insn))
17637 2 : return -1;
17638 : return 4068; /* fma_fmsub_v4sf_maskz_1 */
17639 :
17640 257 : case 6:
17641 257 : if (pattern1424 (x2,
17642 : E_V8DFmode,
17643 : E_QImode) != 0
17644 257 : || !insn_condition_997 (operands, insn))
17645 40 : return -1;
17646 : return 4071; /* fma_fmsub_v8df_maskz_1 */
17647 :
17648 180 : case 7:
17649 180 : if (pattern1424 (x2,
17650 : E_V4DFmode,
17651 : E_QImode) != 0
17652 180 : || !insn_condition_998 (operands, insn))
17653 13 : return -1;
17654 : return 4075; /* fma_fmsub_v4df_maskz_1 */
17655 :
17656 115 : case 8:
17657 115 : if (pattern1424 (x2,
17658 : E_V2DFmode,
17659 : E_QImode) != 0
17660 115 : || !insn_condition_999 (operands, insn))
17661 2 : return -1;
17662 : return 4077; /* fma_fmsub_v2df_maskz_1 */
17663 :
17664 93 : case 9:
17665 93 : if (pattern1426 (x2,
17666 : E_SImode,
17667 : E_V32BFmode) != 0
17668 93 : || !insn_condition_41 (operands, insn))
17669 2 : return -1;
17670 : return 9348; /* avx10_2_fmsubbf16_v32bf_maskz_1 */
17671 :
17672 93 : case 10:
17673 93 : if (pattern1426 (x2,
17674 : E_HImode,
17675 : E_V16BFmode) != 0
17676 93 : || !insn_condition_41 (operands, insn))
17677 2 : return -1;
17678 : return 9350; /* avx10_2_fmsubbf16_v16bf_maskz_1 */
17679 :
17680 93 : case 11:
17681 93 : if (pattern1426 (x2,
17682 : E_QImode,
17683 : E_V8BFmode) != 0
17684 93 : || !insn_condition_41 (operands, insn))
17685 2 : return -1;
17686 : return 9352; /* avx10_2_fmsubbf16_v8bf_maskz_1 */
17687 :
17688 25 : case 12:
17689 25 : if (pattern1428 (x2,
17690 : E_V4SFmode) != 0
17691 25 : || !insn_condition_1135 (operands, insn))
17692 0 : return -1;
17693 : return 4468; /* *fma4i_vmfmsub_v4sf */
17694 :
17695 25 : case 13:
17696 25 : if (pattern1428 (x2,
17697 : E_V2DFmode) != 0
17698 25 : || !insn_condition_1136 (operands, insn))
17699 0 : return -1;
17700 : return 4469; /* *fma4i_vmfmsub_v2df */
17701 :
17702 101 : case 14:
17703 101 : if (pattern1329 (x2,
17704 : E_V32HFmode,
17705 : E_SImode) != 0)
17706 : return -1;
17707 92 : if (nonimmediate_operand (operands[1], E_V32HFmode)
17708 92 : && vector_operand (operands[3], E_V32HFmode))
17709 : {
17710 92 : x3 = XEXP (x2, 1);
17711 92 : if (rtx_equal_p (x3, operands[1])
17712 92 : && insn_condition_26 (operands, insn))
17713 : return 4078; /* avx512bw_fmsub_v32hf_mask */
17714 : }
17715 39 : if (!vector_operand (operands[1], E_V32HFmode)
17716 39 : || !nonimmediate_operand (operands[3], E_V32HFmode))
17717 : return -1;
17718 39 : x3 = XEXP (x2, 1);
17719 39 : if (!rtx_equal_p (x3, operands[3])
17720 39 : || !insn_condition_916 (operands, insn))
17721 0 : return -1;
17722 : return 4096; /* avx512bw_fmsub_v32hf_mask3 */
17723 :
17724 509 : case 15:
17725 509 : if (pattern1329 (x2,
17726 : E_V16HFmode,
17727 : E_HImode) != 0)
17728 : return -1;
17729 462 : if (nonimmediate_operand (operands[1], E_V16HFmode)
17730 462 : && vector_operand (operands[3], E_V16HFmode))
17731 : {
17732 446 : x3 = XEXP (x2, 1);
17733 446 : if (rtx_equal_p (x3, operands[1])
17734 446 : && insn_condition_972 (operands, insn))
17735 : return 4080; /* avx512vl_fmsub_v16hf_mask */
17736 : }
17737 218 : if (!vector_operand (operands[1], E_V16HFmode)
17738 218 : || !nonimmediate_operand (operands[3], E_V16HFmode))
17739 : return -1;
17740 202 : x3 = XEXP (x2, 1);
17741 202 : if (!rtx_equal_p (x3, operands[3])
17742 202 : || !insn_condition_95 (operands, insn))
17743 0 : return -1;
17744 : return 4098; /* avx512vl_fmsub_v16hf_mask3 */
17745 :
17746 249 : case 16:
17747 249 : if (pattern1329 (x2,
17748 : E_V8HFmode,
17749 : E_QImode) != 0)
17750 : return -1;
17751 242 : if (nonimmediate_operand (operands[1], E_V8HFmode)
17752 242 : && vector_operand (operands[3], E_V8HFmode))
17753 : {
17754 242 : x3 = XEXP (x2, 1);
17755 242 : if (rtx_equal_p (x3, operands[1])
17756 242 : && insn_condition_972 (operands, insn))
17757 : return 4082; /* avx512fp16_fmsub_v8hf_mask */
17758 : }
17759 112 : if (!vector_operand (operands[1], E_V8HFmode)
17760 112 : || !nonimmediate_operand (operands[3], E_V8HFmode))
17761 : return -1;
17762 112 : x3 = XEXP (x2, 1);
17763 112 : if (!rtx_equal_p (x3, operands[3])
17764 112 : || !insn_condition_95 (operands, insn))
17765 0 : return -1;
17766 : return 4099; /* avx512fp16_fmsub_v8hf_mask3 */
17767 :
17768 105 : case 17:
17769 105 : if (pattern1329 (x2,
17770 : E_V16SFmode,
17771 : E_HImode) != 0)
17772 : return -1;
17773 96 : if (nonimmediate_operand (operands[1], E_V16SFmode)
17774 96 : && vector_operand (operands[3], E_V16SFmode))
17775 : {
17776 96 : x3 = XEXP (x2, 1);
17777 96 : if (rtx_equal_p (x3, operands[1])
17778 96 : && insn_condition_27 (operands, insn))
17779 : return 4084; /* avx512f_fmsub_v16sf_mask */
17780 : }
17781 32 : if (!vector_operand (operands[1], E_V16SFmode)
17782 32 : || !nonimmediate_operand (operands[3], E_V16SFmode))
17783 : return -1;
17784 32 : x3 = XEXP (x2, 1);
17785 32 : if (!rtx_equal_p (x3, operands[3])
17786 32 : || !insn_condition_97 (operands, insn))
17787 0 : return -1;
17788 : return 4100; /* avx512f_fmsub_v16sf_mask3 */
17789 :
17790 324 : case 18:
17791 324 : if (pattern1329 (x2,
17792 : E_V8SFmode,
17793 : E_QImode) != 0)
17794 : return -1;
17795 300 : if (nonimmediate_operand (operands[1], E_V8SFmode)
17796 300 : && vector_operand (operands[3], E_V8SFmode))
17797 : {
17798 294 : x3 = XEXP (x2, 1);
17799 294 : if (rtx_equal_p (x3, operands[1])
17800 294 : && insn_condition_100 (operands, insn))
17801 : return 4086; /* avx512vl_fmsub_v8sf_mask */
17802 : }
17803 143 : if (!vector_operand (operands[1], E_V8SFmode)
17804 143 : || !nonimmediate_operand (operands[3], E_V8SFmode))
17805 : return -1;
17806 137 : x3 = XEXP (x2, 1);
17807 137 : if (!rtx_equal_p (x3, operands[3])
17808 137 : || !insn_condition_96 (operands, insn))
17809 0 : return -1;
17810 : return 4102; /* avx512vl_fmsub_v8sf_mask3 */
17811 :
17812 217 : case 19:
17813 217 : if (pattern1329 (x2,
17814 : E_V4SFmode,
17815 : E_QImode) != 0)
17816 : return -1;
17817 212 : if (nonimmediate_operand (operands[1], E_V4SFmode)
17818 212 : && vector_operand (operands[3], E_V4SFmode))
17819 : {
17820 212 : x3 = XEXP (x2, 1);
17821 212 : if (rtx_equal_p (x3, operands[1])
17822 212 : && insn_condition_100 (operands, insn))
17823 : return 4088; /* avx512vl_fmsub_v4sf_mask */
17824 : }
17825 110 : if (!vector_operand (operands[1], E_V4SFmode)
17826 110 : || !nonimmediate_operand (operands[3], E_V4SFmode))
17827 : return -1;
17828 110 : x3 = XEXP (x2, 1);
17829 110 : if (!rtx_equal_p (x3, operands[3])
17830 110 : || !insn_condition_96 (operands, insn))
17831 0 : return -1;
17832 : return 4103; /* avx512vl_fmsub_v4sf_mask3 */
17833 :
17834 264 : case 20:
17835 264 : if (pattern1329 (x2,
17836 : E_V8DFmode,
17837 : E_QImode) != 0)
17838 : return -1;
17839 229 : if (nonimmediate_operand (operands[1], E_V8DFmode)
17840 229 : && vector_operand (operands[3], E_V8DFmode))
17841 : {
17842 225 : x3 = XEXP (x2, 1);
17843 225 : if (rtx_equal_p (x3, operands[1])
17844 225 : && insn_condition_27 (operands, insn))
17845 : return 4090; /* avx512f_fmsub_v8df_mask */
17846 : }
17847 77 : if (!vector_operand (operands[1], E_V8DFmode)
17848 77 : || !nonimmediate_operand (operands[3], E_V8DFmode))
17849 : return -1;
17850 73 : x3 = XEXP (x2, 1);
17851 73 : if (!rtx_equal_p (x3, operands[3])
17852 73 : || !insn_condition_97 (operands, insn))
17853 0 : return -1;
17854 : return 4104; /* avx512f_fmsub_v8df_mask3 */
17855 :
17856 341 : case 21:
17857 341 : if (pattern1329 (x2,
17858 : E_V4DFmode,
17859 : E_QImode) != 0)
17860 : return -1;
17861 307 : if (nonimmediate_operand (operands[1], E_V4DFmode)
17862 307 : && vector_operand (operands[3], E_V4DFmode))
17863 : {
17864 301 : x3 = XEXP (x2, 1);
17865 301 : if (rtx_equal_p (x3, operands[1])
17866 301 : && insn_condition_100 (operands, insn))
17867 : return 4092; /* avx512vl_fmsub_v4df_mask */
17868 : }
17869 145 : if (!vector_operand (operands[1], E_V4DFmode)
17870 145 : || !nonimmediate_operand (operands[3], E_V4DFmode))
17871 : return -1;
17872 139 : x3 = XEXP (x2, 1);
17873 139 : if (!rtx_equal_p (x3, operands[3])
17874 139 : || !insn_condition_96 (operands, insn))
17875 0 : return -1;
17876 : return 4106; /* avx512vl_fmsub_v4df_mask3 */
17877 :
17878 217 : case 22:
17879 217 : if (pattern1329 (x2,
17880 : E_V2DFmode,
17881 : E_QImode) != 0)
17882 : return -1;
17883 212 : if (nonimmediate_operand (operands[1], E_V2DFmode)
17884 212 : && vector_operand (operands[3], E_V2DFmode))
17885 : {
17886 212 : x3 = XEXP (x2, 1);
17887 212 : if (rtx_equal_p (x3, operands[1])
17888 212 : && insn_condition_100 (operands, insn))
17889 : return 4094; /* avx512vl_fmsub_v2df_mask */
17890 : }
17891 110 : if (!vector_operand (operands[1], E_V2DFmode)
17892 110 : || !nonimmediate_operand (operands[3], E_V2DFmode))
17893 : return -1;
17894 110 : x3 = XEXP (x2, 1);
17895 110 : if (!rtx_equal_p (x3, operands[3])
17896 110 : || !insn_condition_96 (operands, insn))
17897 0 : return -1;
17898 : return 4107; /* avx512vl_fmsub_v2df_mask3 */
17899 :
17900 261 : case 23:
17901 261 : if (pattern1331 (x2,
17902 : E_SImode,
17903 : E_V32BFmode) != 0)
17904 : return -1;
17905 241 : x3 = XEXP (x2, 1);
17906 241 : if (rtx_equal_p (x3, operands[1])
17907 241 : && insn_condition_41 (operands, insn))
17908 : return 9353; /* avx10_2_fmsubbf16_v32bf_mask */
17909 110 : if (!rtx_equal_p (x3, operands[3])
17910 110 : || !insn_condition_41 (operands, insn))
17911 0 : return -1;
17912 : return 9356; /* avx10_2_fmsubbf16_v32bf_mask3 */
17913 :
17914 265 : case 24:
17915 265 : if (pattern1331 (x2,
17916 : E_HImode,
17917 : E_V16BFmode) != 0)
17918 : return -1;
17919 245 : x3 = XEXP (x2, 1);
17920 245 : if (rtx_equal_p (x3, operands[1])
17921 245 : && insn_condition_41 (operands, insn))
17922 : return 9354; /* avx10_2_fmsubbf16_v16bf_mask */
17923 112 : if (!rtx_equal_p (x3, operands[3])
17924 112 : || !insn_condition_41 (operands, insn))
17925 0 : return -1;
17926 : return 9357; /* avx10_2_fmsubbf16_v16bf_mask3 */
17927 :
17928 261 : case 25:
17929 261 : if (pattern1331 (x2,
17930 : E_QImode,
17931 : E_V8BFmode) != 0)
17932 : return -1;
17933 241 : x3 = XEXP (x2, 1);
17934 241 : if (rtx_equal_p (x3, operands[1])
17935 241 : && insn_condition_41 (operands, insn))
17936 : return 9355; /* avx10_2_fmsubbf16_v8bf_mask */
17937 110 : if (!rtx_equal_p (x3, operands[3])
17938 110 : || !insn_condition_41 (operands, insn))
17939 0 : return -1;
17940 : return 9358; /* avx10_2_fmsubbf16_v8bf_mask3 */
17941 :
17942 45 : case 26:
17943 45 : if (pattern1429 (x2,
17944 : E_V8HFmode) != 0
17945 45 : || !insn_condition_1137 (operands, insn))
17946 14 : return -1;
17947 : return 4376; /* *fmai_fmsub_v8hf */
17948 :
17949 98 : case 27:
17950 98 : if (pattern1429 (x2,
17951 : E_V4SFmode) != 0
17952 98 : || !insn_condition_1138 (operands, insn))
17953 0 : return -1;
17954 : return 4378; /* *fmai_fmsub_v4sf */
17955 :
17956 115 : case 28:
17957 115 : if (pattern1429 (x2,
17958 : E_V2DFmode) != 0
17959 115 : || !insn_condition_1139 (operands, insn))
17960 0 : return -1;
17961 : return 4380; /* *fmai_fmsub_v2df */
17962 :
17963 : default:
17964 : return -1;
17965 : }
17966 : }
17967 :
17968 : int
17969 5135 : recog_179 (rtx x1 ATTRIBUTE_UNUSED,
17970 : rtx_insn *insn ATTRIBUTE_UNUSED,
17971 : int *pnum_clobbers ATTRIBUTE_UNUSED)
17972 : {
17973 5135 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
17974 5135 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
17975 5135 : rtx x10, x11, x12, x13, x14, x15, x16;
17976 5135 : int res ATTRIBUTE_UNUSED;
17977 5135 : x2 = XEXP (x1, 1);
17978 5135 : x3 = XEXP (x2, 0);
17979 5135 : x4 = XEXP (x3, 1);
17980 5135 : if (pattern970 (x4) != 0)
17981 : return -1;
17982 5135 : x5 = XEXP (x2, 2);
17983 5135 : if (!register_operand (x5, E_QImode))
17984 : return -1;
17985 4460 : x6 = XVECEXP (x4, 0, 0);
17986 4460 : switch (XWINT (x6, 0))
17987 : {
17988 859 : case 2L:
17989 859 : x7 = XVECEXP (x4, 0, 1);
17990 859 : if (XWINT (x7, 0) != 10L)
17991 : return -1;
17992 421 : x8 = XVECEXP (x4, 0, 2);
17993 421 : if (XWINT (x8, 0) != 3L)
17994 : return -1;
17995 421 : x9 = XVECEXP (x4, 0, 3);
17996 421 : if (XWINT (x9, 0) != 11L
17997 421 : || pattern1794 (x2) != 0)
17998 : return -1;
17999 421 : switch (GET_MODE (operands[0]))
18000 : {
18001 218 : case E_V8SFmode:
18002 218 : if (pattern1635 (x2,
18003 : E_V8SFmode,
18004 : E_V16SFmode) != 0
18005 218 : || !insn_condition_969 (operands, insn))
18006 30 : return -1;
18007 : return 5411; /* avx_unpckhps256_mask */
18008 :
18009 203 : case E_V8SImode:
18010 203 : if (pattern1635 (x2,
18011 : E_V8SImode,
18012 : E_V16SImode) != 0
18013 203 : || !insn_condition_1142 (operands, insn))
18014 15 : return -1;
18015 : return 7033; /* avx2_interleave_highv8si_mask */
18016 :
18017 : default:
18018 : return -1;
18019 : }
18020 :
18021 1734 : case 0L:
18022 1734 : x7 = XVECEXP (x4, 0, 1);
18023 1734 : switch (XWINT (x7, 0))
18024 : {
18025 1409 : case 8L:
18026 1409 : x8 = XVECEXP (x4, 0, 2);
18027 1409 : switch (XWINT (x8, 0))
18028 : {
18029 631 : case 1L:
18030 631 : x9 = XVECEXP (x4, 0, 3);
18031 631 : if (XWINT (x9, 0) != 9L)
18032 : return -1;
18033 631 : x10 = XEXP (x3, 0);
18034 631 : x11 = XEXP (x10, 1);
18035 631 : operands[2] = x11;
18036 631 : x12 = XEXP (x2, 1);
18037 631 : operands[3] = x12;
18038 631 : operands[4] = x5;
18039 631 : x13 = XVECEXP (x4, 0, 4);
18040 631 : switch (XWINT (x13, 0))
18041 : {
18042 426 : case 4L:
18043 426 : x14 = XVECEXP (x4, 0, 5);
18044 426 : if (XWINT (x14, 0) != 12L)
18045 : return -1;
18046 426 : x15 = XVECEXP (x4, 0, 6);
18047 426 : if (XWINT (x15, 0) != 5L)
18048 : return -1;
18049 426 : x16 = XVECEXP (x4, 0, 7);
18050 426 : if (XWINT (x16, 0) != 13L)
18051 : return -1;
18052 426 : switch (GET_MODE (operands[0]))
18053 : {
18054 223 : case E_V8SFmode:
18055 223 : if (pattern1635 (x2,
18056 : E_V8SFmode,
18057 : E_V16SFmode) != 0
18058 223 : || !insn_condition_969 (operands, insn))
18059 33 : return -1;
18060 : return 5417; /* avx_unpcklps256_mask */
18061 :
18062 203 : case E_V8SImode:
18063 203 : if (pattern1635 (x2,
18064 : E_V8SImode,
18065 : E_V16SImode) != 0
18066 203 : || !insn_condition_1142 (operands, insn))
18067 15 : return -1;
18068 : return 7039; /* avx2_interleave_lowv8si_mask */
18069 :
18070 : default:
18071 : return -1;
18072 : }
18073 :
18074 205 : case 2L:
18075 205 : x14 = XVECEXP (x4, 0, 5);
18076 205 : if (XWINT (x14, 0) != 10L)
18077 : return -1;
18078 205 : x15 = XVECEXP (x4, 0, 6);
18079 205 : if (XWINT (x15, 0) != 3L)
18080 : return -1;
18081 205 : x16 = XVECEXP (x4, 0, 7);
18082 205 : if (XWINT (x16, 0) != 11L)
18083 : return -1;
18084 205 : switch (GET_MODE (operands[0]))
18085 : {
18086 205 : case E_V8HImode:
18087 205 : if (pattern1636 (x2,
18088 : E_V8HImode,
18089 : E_V16HImode) != 0
18090 205 : || !insn_condition_1140 (operands, insn))
18091 15 : return -1;
18092 : return 7027; /* vec_interleave_lowv8hi_mask */
18093 :
18094 0 : case E_V8HFmode:
18095 0 : if (pattern1636 (x2,
18096 : E_V8HFmode,
18097 : E_V16HFmode) != 0
18098 0 : || !insn_condition_1140 (operands, insn))
18099 0 : return -1;
18100 : return 7029; /* vec_interleave_lowv8hf_mask */
18101 :
18102 0 : case E_V8BFmode:
18103 0 : if (pattern1636 (x2,
18104 : E_V8BFmode,
18105 : E_V16BFmode) != 0
18106 0 : || !insn_condition_1140 (operands, insn))
18107 0 : return -1;
18108 : return 7031; /* vec_interleave_lowv8bf_mask */
18109 :
18110 : default:
18111 : return -1;
18112 : }
18113 :
18114 : default:
18115 : return -1;
18116 : }
18117 :
18118 778 : case 2L:
18119 778 : x9 = XVECEXP (x4, 0, 3);
18120 778 : if (XWINT (x9, 0) != 10L)
18121 : return -1;
18122 710 : x13 = XVECEXP (x4, 0, 4);
18123 710 : if (XWINT (x13, 0) != 4L)
18124 : return -1;
18125 710 : x14 = XVECEXP (x4, 0, 5);
18126 710 : if (XWINT (x14, 0) != 12L)
18127 : return -1;
18128 710 : x15 = XVECEXP (x4, 0, 6);
18129 710 : if (XWINT (x15, 0) != 6L)
18130 : return -1;
18131 710 : x16 = XVECEXP (x4, 0, 7);
18132 710 : if (XWINT (x16, 0) != 14L)
18133 : return -1;
18134 710 : switch (GET_MODE (operands[0]))
18135 : {
18136 480 : case E_V8DFmode:
18137 480 : if (pattern1699 (x2,
18138 : E_V8DFmode,
18139 : E_V16DFmode) != 0)
18140 : return -1;
18141 443 : x12 = XEXP (x2, 1);
18142 443 : operands[2] = x12;
18143 443 : if (nonimmediate_operand (operands[1], E_V8DFmode))
18144 : {
18145 443 : operands[3] = x5;
18146 443 : x10 = XEXP (x3, 0);
18147 443 : x11 = XEXP (x10, 1);
18148 443 : if (rtx_equal_p (x11, operands[1])
18149 443 : && insn_condition_27 (operands, insn))
18150 : return 5577; /* avx512f_movddup512_mask */
18151 : }
18152 220 : operands[3] = x12;
18153 220 : if (!register_operand (operands[1], E_V8DFmode))
18154 : return -1;
18155 220 : x10 = XEXP (x3, 0);
18156 220 : x11 = XEXP (x10, 1);
18157 220 : operands[2] = x11;
18158 220 : if (!nonimmediate_operand (operands[2], E_V8DFmode))
18159 : return -1;
18160 205 : operands[4] = x5;
18161 205 : if (!insn_condition_27 (operands, insn))
18162 0 : return -1;
18163 : return 5579; /* avx512f_unpcklpd512_mask */
18164 :
18165 230 : case E_V8DImode:
18166 230 : if (pattern1700 (x2,
18167 : E_V8DImode,
18168 : E_V16DImode) != 0
18169 230 : || !insn_condition_27 (operands, insn))
18170 23 : return -1;
18171 : return 5886; /* avx512f_interleave_lowv8di_mask */
18172 :
18173 : default:
18174 : return -1;
18175 : }
18176 :
18177 : default:
18178 : return -1;
18179 : }
18180 :
18181 231 : case 0L:
18182 231 : if (pattern1731 (x4) != 0
18183 210 : || pattern1878 (x2,
18184 : E_V8SFmode,
18185 : E_V16SFmode) != 0
18186 231 : || !insn_condition_969 (operands, insn))
18187 39 : return -1;
18188 : return 5427; /* avx_movsldup256_mask */
18189 :
18190 : default:
18191 : return -1;
18192 : }
18193 :
18194 983 : case 1L:
18195 983 : x8 = XVECEXP (x4, 0, 2);
18196 983 : if (XWINT (x8, 0) != 3L)
18197 : return -1;
18198 683 : x13 = XVECEXP (x4, 0, 4);
18199 683 : if (XWINT (x13, 0) != 5L)
18200 : return -1;
18201 683 : x15 = XVECEXP (x4, 0, 6);
18202 683 : if (XWINT (x15, 0) != 7L)
18203 : return -1;
18204 683 : x7 = XVECEXP (x4, 0, 1);
18205 683 : switch (XWINT (x7, 0))
18206 : {
18207 210 : case 1L:
18208 210 : x9 = XVECEXP (x4, 0, 3);
18209 210 : if (XWINT (x9, 0) != 3L)
18210 : return -1;
18211 210 : x14 = XVECEXP (x4, 0, 5);
18212 210 : if (XWINT (x14, 0) != 5L)
18213 : return -1;
18214 210 : x16 = XVECEXP (x4, 0, 7);
18215 210 : if (XWINT (x16, 0) != 7L
18216 210 : || pattern1878 (x2,
18217 : E_V8SFmode,
18218 : E_V16SFmode) != 0
18219 210 : || !insn_condition_969 (operands, insn))
18220 18 : return -1;
18221 : return 5421; /* avx_movshdup256_mask */
18222 :
18223 473 : case 9L:
18224 473 : x9 = XVECEXP (x4, 0, 3);
18225 473 : if (XWINT (x9, 0) != 11L)
18226 : return -1;
18227 473 : x14 = XVECEXP (x4, 0, 5);
18228 473 : if (XWINT (x14, 0) != 13L)
18229 : return -1;
18230 473 : x16 = XVECEXP (x4, 0, 7);
18231 473 : if (XWINT (x16, 0) != 15L)
18232 : return -1;
18233 473 : x10 = XEXP (x3, 0);
18234 473 : x11 = XEXP (x10, 1);
18235 473 : operands[2] = x11;
18236 473 : x12 = XEXP (x2, 1);
18237 473 : operands[3] = x12;
18238 473 : operands[4] = x5;
18239 473 : switch (GET_MODE (operands[0]))
18240 : {
18241 239 : case E_V8DFmode:
18242 239 : if (pattern1635 (x2,
18243 : E_V8DFmode,
18244 : E_V16DFmode) != 0
18245 239 : || !insn_condition_27 (operands, insn))
18246 30 : return -1;
18247 : return 5571; /* avx512f_unpckhpd512_mask */
18248 :
18249 234 : case E_V8DImode:
18250 234 : if (pattern1635 (x2,
18251 : E_V8DImode,
18252 : E_V16DImode) != 0
18253 234 : || !insn_condition_27 (operands, insn))
18254 23 : return -1;
18255 : return 5880; /* avx512f_interleave_highv8di_mask */
18256 :
18257 : default:
18258 : return -1;
18259 : }
18260 :
18261 : default:
18262 : return -1;
18263 : }
18264 :
18265 747 : case 4L:
18266 747 : x7 = XVECEXP (x4, 0, 1);
18267 747 : if (XWINT (x7, 0) != 12L)
18268 : return -1;
18269 203 : x8 = XVECEXP (x4, 0, 2);
18270 203 : if (XWINT (x8, 0) != 5L)
18271 : return -1;
18272 203 : x9 = XVECEXP (x4, 0, 3);
18273 203 : if (XWINT (x9, 0) != 13L
18274 203 : || pattern1794 (x2) != 0)
18275 : return -1;
18276 203 : switch (GET_MODE (operands[0]))
18277 : {
18278 203 : case E_V8HImode:
18279 203 : if (pattern1636 (x2,
18280 : E_V8HImode,
18281 : E_V16HImode) != 0
18282 203 : || !insn_condition_1140 (operands, insn))
18283 13 : return -1;
18284 : return 7009; /* vec_interleave_highv8hi_mask */
18285 :
18286 0 : case E_V8HFmode:
18287 0 : if (pattern1636 (x2,
18288 : E_V8HFmode,
18289 : E_V16HFmode) != 0
18290 0 : || !insn_condition_1140 (operands, insn))
18291 0 : return -1;
18292 : return 7011; /* vec_interleave_highv8hf_mask */
18293 :
18294 0 : case E_V8BFmode:
18295 0 : if (pattern1636 (x2,
18296 : E_V8BFmode,
18297 : E_V16BFmode) != 0
18298 0 : || !insn_condition_1140 (operands, insn))
18299 0 : return -1;
18300 : return 7013; /* vec_interleave_highv8bf_mask */
18301 :
18302 : default:
18303 : return -1;
18304 : }
18305 :
18306 : default:
18307 : return -1;
18308 : }
18309 : }
18310 :
18311 : int
18312 6991 : recog_186 (rtx x1 ATTRIBUTE_UNUSED,
18313 : rtx_insn *insn ATTRIBUTE_UNUSED,
18314 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18315 : {
18316 6991 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18317 6991 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18318 6991 : rtx x10;
18319 6991 : int res ATTRIBUTE_UNUSED;
18320 6991 : x2 = XEXP (x1, 1);
18321 6991 : x3 = XEXP (x2, 0);
18322 6991 : x4 = XEXP (x3, 1);
18323 6991 : x5 = XVECEXP (x4, 0, 0);
18324 6991 : if (GET_CODE (x5) != CONST_INT)
18325 : return -1;
18326 6991 : operands[2] = x5;
18327 6991 : res = recog_185 (x1, insn, pnum_clobbers);
18328 6991 : if (res >= 0)
18329 : return res;
18330 6355 : x6 = XVECEXP (x4, 0, 1);
18331 6355 : if (GET_CODE (x6) != CONST_INT)
18332 : return -1;
18333 6355 : x7 = XVECEXP (x4, 0, 2);
18334 6355 : if (GET_CODE (x7) != CONST_INT)
18335 : return -1;
18336 6355 : x8 = XVECEXP (x4, 0, 3);
18337 6355 : if (GET_CODE (x8) != CONST_INT)
18338 : return -1;
18339 6355 : x9 = XEXP (x2, 1);
18340 6355 : operands[2] = x9;
18341 6355 : x10 = XEXP (x2, 2);
18342 6355 : operands[3] = x10;
18343 6355 : if (!register_operand (operands[3], E_QImode))
18344 : return -1;
18345 4237 : switch (XWINT (x5, 0))
18346 : {
18347 850 : case 0L:
18348 850 : if (XWINT (x6, 0) != 1L
18349 767 : || XWINT (x7, 0) != 2L
18350 767 : || XWINT (x8, 0) != 3L)
18351 : return -1;
18352 767 : switch (GET_MODE (operands[0]))
18353 : {
18354 335 : case E_V4DFmode:
18355 335 : if (!nonimmediate_operand (operands[0], E_V4DFmode)
18356 335 : || pattern1595 (x2,
18357 : E_V4DFmode,
18358 : E_V8DFmode) != 0
18359 656 : || !insn_condition_1154 (operands, insn))
18360 19 : return -1;
18361 : return 5514; /* vec_extract_lo_v8df_mask */
18362 :
18363 379 : case E_V4DImode:
18364 379 : if (!nonimmediate_operand (operands[0], E_V4DImode)
18365 379 : || pattern1595 (x2,
18366 : E_V4DImode,
18367 : E_V8DImode) != 0
18368 748 : || !insn_condition_1154 (operands, insn))
18369 15 : return -1;
18370 : return 5515; /* vec_extract_lo_v8di_mask */
18371 :
18372 27 : case E_V4SImode:
18373 27 : if (!nonimmediate_operand (operands[0], E_V4SImode)
18374 27 : || pattern1595 (x2,
18375 : E_V4SImode,
18376 : E_V8SImode) != 0
18377 54 : || !insn_condition_1155 (operands, insn))
18378 0 : return -1;
18379 : return 5538; /* vec_extract_lo_v8si_mask */
18380 :
18381 26 : case E_V4SFmode:
18382 26 : if (!nonimmediate_operand (operands[0], E_V4SFmode)
18383 26 : || pattern1595 (x2,
18384 : E_V4SFmode,
18385 : E_V8SFmode) != 0
18386 52 : || !insn_condition_1155 (operands, insn))
18387 0 : return -1;
18388 : return 5539; /* vec_extract_lo_v8sf_mask */
18389 :
18390 : default:
18391 : return -1;
18392 : }
18393 :
18394 2665 : case 4L:
18395 2665 : if (XWINT (x6, 0) != 5L
18396 2665 : || XWINT (x7, 0) != 6L
18397 2665 : || XWINT (x8, 0) != 7L)
18398 : return -1;
18399 2665 : switch (GET_MODE (operands[0]))
18400 : {
18401 1041 : case E_V4DFmode:
18402 1041 : if (!nonimmediate_operand (operands[0], E_V4DFmode)
18403 1035 : || pattern1595 (x2,
18404 : E_V4DFmode,
18405 : E_V8DFmode) != 0
18406 2060 : || !insn_condition_1154 (operands, insn))
18407 30 : return -1;
18408 : return 5518; /* vec_extract_hi_v8df_mask */
18409 :
18410 1181 : case E_V4DImode:
18411 1181 : if (!nonimmediate_operand (operands[0], E_V4DImode)
18412 1175 : || pattern1595 (x2,
18413 : E_V4DImode,
18414 : E_V8DImode) != 0
18415 2342 : || !insn_condition_1154 (operands, insn))
18416 28 : return -1;
18417 : return 5519; /* vec_extract_hi_v8di_mask */
18418 :
18419 203 : case E_V4SImode:
18420 203 : if (!register_operand (operands[0], E_V4SImode)
18421 203 : || pattern1595 (x2,
18422 : E_V4SImode,
18423 : E_V8SImode) != 0
18424 404 : || !insn_condition_1155 (operands, insn))
18425 2 : return -1;
18426 : return 5542; /* vec_extract_hi_v8si_mask */
18427 :
18428 240 : case E_V4SFmode:
18429 240 : if (!register_operand (operands[0], E_V4SFmode)
18430 224 : || pattern1595 (x2,
18431 : E_V4SFmode,
18432 : E_V8SFmode) != 0
18433 460 : || !insn_condition_1155 (operands, insn))
18434 20 : return -1;
18435 : return 5543; /* vec_extract_hi_v8sf_mask */
18436 :
18437 : default:
18438 : return -1;
18439 : }
18440 :
18441 : default:
18442 : return -1;
18443 : }
18444 : }
18445 :
18446 : int
18447 936 : recog_193 (rtx x1 ATTRIBUTE_UNUSED,
18448 : rtx_insn *insn ATTRIBUTE_UNUSED,
18449 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18450 : {
18451 936 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18452 936 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18453 936 : rtx x10, x11, x12, x13, x14;
18454 936 : int res ATTRIBUTE_UNUSED;
18455 936 : x2 = XEXP (x1, 1);
18456 936 : x3 = XEXP (x2, 0);
18457 936 : x4 = XEXP (x3, 1);
18458 936 : x5 = XVECEXP (x4, 0, 0);
18459 936 : if (GET_CODE (x5) != CONST_INT)
18460 : return -1;
18461 936 : operands[2] = x5;
18462 936 : res = recog_192 (x1, insn, pnum_clobbers);
18463 936 : if (res >= 0)
18464 : return res;
18465 561 : if (XWINT (x5, 0) != 0L)
18466 : return -1;
18467 290 : x6 = XVECEXP (x4, 0, 1);
18468 290 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18469 : return -1;
18470 213 : x7 = XVECEXP (x4, 0, 2);
18471 213 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
18472 : return -1;
18473 213 : x8 = XVECEXP (x4, 0, 3);
18474 213 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
18475 213 : || pattern1338 (x4,
18476 : 11,
18477 : 10,
18478 : 9,
18479 : 8) != 0
18480 213 : || pattern791 (x2,
18481 : E_V16HImode) != 0
18482 411 : || pattern1596 (x4) != 0)
18483 : return -1;
18484 198 : x9 = XVECEXP (x4, 0, 12);
18485 198 : operands[6] = x9;
18486 198 : if (!const_12_to_15_operand (operands[6], E_VOIDmode))
18487 : return -1;
18488 198 : x10 = XVECEXP (x4, 0, 13);
18489 198 : operands[7] = x10;
18490 198 : if (!const_12_to_15_operand (operands[7], E_VOIDmode))
18491 : return -1;
18492 198 : x11 = XVECEXP (x4, 0, 14);
18493 198 : operands[8] = x11;
18494 198 : if (!const_12_to_15_operand (operands[8], E_VOIDmode))
18495 : return -1;
18496 198 : x12 = XVECEXP (x4, 0, 15);
18497 198 : operands[9] = x12;
18498 198 : if (!const_12_to_15_operand (operands[9], E_VOIDmode))
18499 : return -1;
18500 198 : x13 = XEXP (x2, 1);
18501 198 : operands[10] = x13;
18502 198 : if (!nonimm_or_0_operand (operands[10], E_V16HImode))
18503 : return -1;
18504 190 : x14 = XEXP (x2, 2);
18505 190 : operands[11] = x14;
18506 190 : if (!register_operand (operands[11], E_HImode)
18507 190 : || !insn_condition_1162 (operands, insn))
18508 19 : return -1;
18509 : return 7118; /* avx2_pshufhw_1_mask */
18510 : }
18511 :
18512 : int
18513 700311 : recog_196 (rtx x1 ATTRIBUTE_UNUSED,
18514 : rtx_insn *insn ATTRIBUTE_UNUSED,
18515 : int *pnum_clobbers ATTRIBUTE_UNUSED)
18516 : {
18517 700311 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
18518 700311 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
18519 700311 : rtx x10, x11, x12;
18520 700311 : int res ATTRIBUTE_UNUSED;
18521 700311 : x2 = XEXP (x1, 1);
18522 700311 : x3 = XEXP (x2, 0);
18523 700311 : x4 = XEXP (x3, 0);
18524 700311 : switch (GET_CODE (x4))
18525 : {
18526 4620 : case PLUS:
18527 4620 : switch (pattern343 (x2))
18528 : {
18529 16 : case 0:
18530 16 : if (!insn_condition_1018 (operands, insn))
18531 0 : return -1;
18532 : return 2930; /* *avx512fp16_vmaddv8hf3 */
18533 :
18534 0 : case 1:
18535 0 : if (!insn_condition_148 (operands, insn))
18536 0 : return -1;
18537 : return 2932; /* *sse_vmaddv4sf3 */
18538 :
18539 14 : case 2:
18540 14 : if (!insn_condition_236 (operands, insn))
18541 0 : return -1;
18542 : return 2934; /* *sse2_vmaddv2df3 */
18543 :
18544 : default:
18545 : return -1;
18546 : }
18547 :
18548 4068 : case MINUS:
18549 4068 : switch (pattern343 (x2))
18550 : {
18551 14 : case 0:
18552 14 : if (!insn_condition_1018 (operands, insn))
18553 0 : return -1;
18554 : return 2931; /* *avx512fp16_vmsubv8hf3 */
18555 :
18556 0 : case 1:
18557 0 : if (!insn_condition_148 (operands, insn))
18558 0 : return -1;
18559 : return 2933; /* *sse_vmsubv4sf3 */
18560 :
18561 9 : case 2:
18562 9 : if (!insn_condition_236 (operands, insn))
18563 0 : return -1;
18564 : return 2935; /* *sse2_vmsubv2df3 */
18565 :
18566 : default:
18567 : return -1;
18568 : }
18569 :
18570 150 : case MULT:
18571 150 : switch (pattern343 (x2))
18572 : {
18573 14 : case 0:
18574 14 : if (!insn_condition_1018 (operands, insn))
18575 0 : return -1;
18576 : return 2996; /* *avx512fp16_vmmulv8hf3 */
18577 :
18578 0 : case 1:
18579 0 : if (!insn_condition_148 (operands, insn))
18580 0 : return -1;
18581 : return 2998; /* *sse_vmmulv4sf3 */
18582 :
18583 2 : case 2:
18584 2 : if (!insn_condition_236 (operands, insn))
18585 0 : return -1;
18586 : return 3000; /* *sse2_vmmulv2df3 */
18587 :
18588 : default:
18589 : return -1;
18590 : }
18591 :
18592 114 : case DIV:
18593 114 : switch (pattern343 (x2))
18594 : {
18595 14 : case 0:
18596 14 : if (!insn_condition_1018 (operands, insn))
18597 0 : return -1;
18598 : return 2997; /* *avx512fp16_vmdivv8hf3 */
18599 :
18600 5 : case 1:
18601 5 : if (!insn_condition_148 (operands, insn))
18602 0 : return -1;
18603 : return 2999; /* *sse_vmdivv4sf3 */
18604 :
18605 0 : case 2:
18606 0 : if (!insn_condition_236 (operands, insn))
18607 0 : return -1;
18608 : return 3001; /* *sse2_vmdivv2df3 */
18609 :
18610 : default:
18611 : return -1;
18612 : }
18613 :
18614 168 : case UNSPEC:
18615 168 : x5 = XEXP (x2, 2);
18616 168 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18617 : return -1;
18618 164 : switch (XVECLEN (x4, 0))
18619 : {
18620 36 : case 1:
18621 36 : x6 = XVECEXP (x4, 0, 0);
18622 36 : operands[1] = x6;
18623 36 : x7 = XEXP (x2, 1);
18624 36 : operands[2] = x7;
18625 36 : switch (XINT (x4, 1))
18626 : {
18627 18 : case 51:
18628 18 : switch (GET_MODE (operands[0]))
18629 : {
18630 0 : case E_V4SFmode:
18631 0 : if (pattern1161 (x2,
18632 : E_V4SFmode,
18633 : E_SFmode) != 0
18634 0 : || !insn_condition_148 (operands, insn))
18635 0 : return -1;
18636 : return 3053; /* *sse_vmrcpv4sf2 */
18637 :
18638 18 : case E_V8HFmode:
18639 18 : if (pattern1161 (x2,
18640 : E_V8HFmode,
18641 : E_HFmode) != 0
18642 18 : || !insn_condition_40 (operands, insn))
18643 4 : return -1;
18644 : return 3062; /* *avx512fp16_vmrcpv8hf2 */
18645 :
18646 : default:
18647 : return -1;
18648 : }
18649 :
18650 18 : case 52:
18651 18 : switch (GET_MODE (operands[0]))
18652 : {
18653 0 : case E_V4SFmode:
18654 0 : if (pattern1161 (x2,
18655 : E_V4SFmode,
18656 : E_SFmode) != 0
18657 0 : || !insn_condition_148 (operands, insn))
18658 0 : return -1;
18659 : return 3152; /* *sse_vmrsqrtv4sf2 */
18660 :
18661 18 : case E_V8HFmode:
18662 18 : if (pattern1161 (x2,
18663 : E_V8HFmode,
18664 : E_HFmode) != 0
18665 18 : || !insn_condition_40 (operands, insn))
18666 4 : return -1;
18667 : return 3155; /* *avx512fp16_vmrsqrtv8hf2 */
18668 :
18669 : default:
18670 : return -1;
18671 : }
18672 :
18673 : default:
18674 : return -1;
18675 : }
18676 :
18677 128 : case 2:
18678 128 : switch (XINT (x4, 1))
18679 : {
18680 71 : case 60:
18681 71 : switch (pattern807 (x2))
18682 : {
18683 16 : case 0:
18684 16 : if (!insn_condition_1018 (operands, insn))
18685 0 : return -1;
18686 : return 3274; /* *ieee_maxv8hf3 */
18687 :
18688 0 : case 1:
18689 0 : if (!insn_condition_148 (operands, insn))
18690 0 : return -1;
18691 : return 3276; /* *ieee_maxv4sf3 */
18692 :
18693 2 : case 2:
18694 2 : if (!insn_condition_236 (operands, insn))
18695 0 : return -1;
18696 : return 3278; /* *ieee_maxv2df3 */
18697 :
18698 : default:
18699 : return -1;
18700 : }
18701 :
18702 0 : case 59:
18703 0 : switch (pattern807 (x2))
18704 : {
18705 0 : case 0:
18706 0 : if (!insn_condition_1018 (operands, insn))
18707 0 : return -1;
18708 : return 3275; /* *ieee_minv8hf3 */
18709 :
18710 0 : case 1:
18711 0 : if (!insn_condition_148 (operands, insn))
18712 0 : return -1;
18713 : return 3277; /* *ieee_minv4sf3 */
18714 :
18715 0 : case 2:
18716 0 : if (!insn_condition_236 (operands, insn))
18717 0 : return -1;
18718 : return 3279; /* *ieee_minv2df3 */
18719 :
18720 : default:
18721 : return -1;
18722 : }
18723 :
18724 57 : case 90:
18725 57 : x6 = XVECEXP (x4, 0, 0);
18726 57 : operands[2] = x6;
18727 57 : x8 = XVECEXP (x4, 0, 1);
18728 57 : operands[3] = x8;
18729 57 : x7 = XEXP (x2, 1);
18730 57 : operands[1] = x7;
18731 57 : switch (GET_MODE (operands[0]))
18732 : {
18733 15 : case E_V8HFmode:
18734 15 : if (pattern1254 (x2,
18735 : E_V8HFmode,
18736 : E_HFmode) != 0)
18737 : return -1;
18738 15 : if (vector_operand (operands[2], E_HFmode)
18739 15 : && const_0_to_255_operand (operands[3], E_SImode)
18740 15 : && insn_condition_26 (operands, insn))
18741 : return 5864; /* *avx512f_rndscalev8hf */
18742 0 : if (!nonimmediate_operand (operands[2], E_HFmode)
18743 0 : || !const_0_to_15_operand (operands[3], E_SImode)
18744 0 : || !insn_condition_110 (operands, insn))
18745 0 : return -1;
18746 : return 7650; /* *sse4_1_roundsh */
18747 :
18748 31 : case E_V4SFmode:
18749 31 : if (pattern1254 (x2,
18750 : E_V4SFmode,
18751 : E_SFmode) != 0)
18752 : return -1;
18753 21 : if (vector_operand (operands[2], E_SFmode)
18754 21 : && const_0_to_255_operand (operands[3], E_SImode)
18755 42 : && insn_condition_27 (operands, insn))
18756 : return 5866; /* *avx512f_rndscalev4sf */
18757 0 : if (!nonimmediate_operand (operands[2], E_SFmode)
18758 0 : || !const_0_to_15_operand (operands[3], E_SImode)
18759 0 : || !insn_condition_92 (operands, insn))
18760 0 : return -1;
18761 : return 7651; /* *sse4_1_roundss */
18762 :
18763 11 : case E_V2DFmode:
18764 11 : if (pattern1254 (x2,
18765 : E_V2DFmode,
18766 : E_DFmode) != 0)
18767 : return -1;
18768 11 : if (vector_operand (operands[2], E_DFmode)
18769 11 : && const_0_to_255_operand (operands[3], E_SImode)
18770 11 : && insn_condition_342 (operands, insn))
18771 : return 5868; /* *avx512f_rndscalev2df */
18772 0 : if (!nonimmediate_operand (operands[2], E_DFmode)
18773 0 : || !const_0_to_15_operand (operands[3], E_SImode)
18774 0 : || !insn_condition_990 (operands, insn))
18775 0 : return -1;
18776 : return 7652; /* *sse4_1_roundsd */
18777 :
18778 : default:
18779 : return -1;
18780 : }
18781 :
18782 : default:
18783 : return -1;
18784 : }
18785 :
18786 : default:
18787 : return -1;
18788 : }
18789 :
18790 11 : case SQRT:
18791 11 : x5 = XEXP (x2, 2);
18792 11 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18793 : return -1;
18794 11 : x9 = XEXP (x4, 0);
18795 11 : operands[1] = x9;
18796 11 : x7 = XEXP (x2, 1);
18797 11 : operands[2] = x7;
18798 11 : switch (GET_MODE (operands[0]))
18799 : {
18800 9 : case E_V8HFmode:
18801 9 : if (pattern933 (x2,
18802 : E_V8HFmode,
18803 : E_HFmode) != 0
18804 9 : || !insn_condition_1018 (operands, insn))
18805 2 : return -1;
18806 : return 3115; /* *avx512fp16_vmsqrtv8hf2 */
18807 :
18808 0 : case E_V4SFmode:
18809 0 : if (pattern933 (x2,
18810 : E_V4SFmode,
18811 : E_SFmode) != 0
18812 0 : || !insn_condition_148 (operands, insn))
18813 0 : return -1;
18814 : return 3119; /* *sse_vmsqrtv4sf2 */
18815 :
18816 2 : case E_V2DFmode:
18817 2 : if (pattern933 (x2,
18818 : E_V2DFmode,
18819 : E_DFmode) != 0
18820 2 : || !insn_condition_236 (operands, insn))
18821 0 : return -1;
18822 : return 3123; /* *sse2_vmsqrtv2df2 */
18823 :
18824 : default:
18825 : return -1;
18826 : }
18827 :
18828 128179 : case FLOAT:
18829 128179 : x5 = XEXP (x2, 2);
18830 128179 : if (GET_CODE (x5) != CONST_INT)
18831 : return -1;
18832 128179 : x9 = XEXP (x4, 0);
18833 128179 : operands[2] = x9;
18834 128179 : x7 = XEXP (x2, 1);
18835 128179 : operands[1] = x7;
18836 128179 : switch (XWINT (x5, 0))
18837 : {
18838 127322 : case 1L:
18839 127322 : switch (GET_MODE (operands[0]))
18840 : {
18841 28 : case E_V8HFmode:
18842 28 : switch (pattern934 (x2,
18843 : E_V8HFmode,
18844 : E_HFmode))
18845 : {
18846 10 : case 0:
18847 10 : if (!insn_condition_40 (operands, insn))
18848 0 : return -1;
18849 : return 4714; /* avx512fp16_vcvtsi2sh */
18850 :
18851 10 : case 1:
18852 10 : if (!insn_condition_306 (operands, insn))
18853 0 : return -1;
18854 : return 4718; /* avx512fp16_vcvtsi2shq */
18855 :
18856 : default:
18857 : return -1;
18858 : }
18859 :
18860 50116 : case E_V4SFmode:
18861 50116 : switch (pattern934 (x2,
18862 : E_V4SFmode,
18863 : E_SFmode))
18864 : {
18865 33835 : case 0:
18866 33835 : if (!insn_condition_148 (operands, insn))
18867 0 : return -1;
18868 : return 4951; /* sse_cvtsi2ss */
18869 :
18870 15178 : case 1:
18871 15178 : if (!insn_condition_900 (operands, insn))
18872 0 : return -1;
18873 : return 4953; /* sse_cvtsi2ssq */
18874 :
18875 : default:
18876 : return -1;
18877 : }
18878 :
18879 76926 : case E_V2DFmode:
18880 76926 : switch (pattern934 (x2,
18881 : E_V2DFmode,
18882 : E_DFmode))
18883 : {
18884 37619 : case 0:
18885 37619 : if (!insn_condition_141 (operands, insn))
18886 0 : return -1;
18887 : return 5070; /* sse2_cvtsi2sd */
18888 :
18889 39046 : case 1:
18890 39046 : if (!insn_condition_1165 (operands, insn))
18891 0 : return -1;
18892 : return 5071; /* sse2_cvtsi2sdq */
18893 :
18894 : default:
18895 : return -1;
18896 : }
18897 :
18898 : default:
18899 : return -1;
18900 : }
18901 :
18902 770 : case 3L:
18903 770 : if (pnum_clobbers == NULL
18904 770 : || pattern808 (x2,
18905 : E_V2SFmode,
18906 : E_V4SFmode) != 0
18907 766 : || !register_mmxmem_operand (operands[2], E_V2SImode)
18908 467 : || !register_operand (operands[1], E_V4SFmode)
18909 971 : || !insn_condition_151 (operands, insn))
18910 : return -1;
18911 201 : *pnum_clobbers = 1;
18912 201 : return 4947; /* sse_cvtpi2ps */
18913 :
18914 : default:
18915 : return -1;
18916 : }
18917 :
18918 317 : case UNSIGNED_FLOAT:
18919 317 : x5 = XEXP (x2, 2);
18920 317 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18921 : return -1;
18922 317 : x9 = XEXP (x4, 0);
18923 317 : operands[2] = x9;
18924 317 : x7 = XEXP (x2, 1);
18925 317 : operands[1] = x7;
18926 317 : switch (GET_MODE (operands[0]))
18927 : {
18928 28 : case E_V8HFmode:
18929 28 : switch (pattern934 (x2,
18930 : E_V8HFmode,
18931 : E_HFmode))
18932 : {
18933 10 : case 0:
18934 10 : if (!insn_condition_40 (operands, insn))
18935 0 : return -1;
18936 : return 4716; /* avx512fp16_vcvtusi2sh */
18937 :
18938 10 : case 1:
18939 10 : if (!insn_condition_306 (operands, insn))
18940 0 : return -1;
18941 : return 4720; /* avx512fp16_vcvtusi2shq */
18942 :
18943 : default:
18944 : return -1;
18945 : }
18946 :
18947 157 : case E_V4SFmode:
18948 157 : switch (pattern934 (x2,
18949 : E_V4SFmode,
18950 : E_SFmode))
18951 : {
18952 60 : case 0:
18953 60 : if (!insn_condition_97 (operands, insn))
18954 0 : return -1;
18955 : return 4976; /* cvtusi2ss32 */
18956 :
18957 41 : case 1:
18958 41 : if (!insn_condition_1166 (operands, insn))
18959 0 : return -1;
18960 : return 4979; /* cvtusi2ss64 */
18961 :
18962 : default:
18963 : return -1;
18964 : }
18965 :
18966 132 : case E_V2DFmode:
18967 132 : switch (pattern934 (x2,
18968 : E_V2DFmode,
18969 : E_DFmode))
18970 : {
18971 88 : case 0:
18972 88 : if (!insn_condition_1167 (operands, insn))
18973 0 : return -1;
18974 : return 4978; /* cvtusi2sd32 */
18975 :
18976 26 : case 1:
18977 26 : if (!insn_condition_1168 (operands, insn))
18978 0 : return -1;
18979 : return 4981; /* cvtusi2sd64 */
18980 :
18981 : default:
18982 : return -1;
18983 : }
18984 :
18985 : default:
18986 : return -1;
18987 : }
18988 :
18989 82907 : case FLOAT_EXTEND:
18990 82907 : x5 = XEXP (x2, 2);
18991 82907 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
18992 : return -1;
18993 82907 : x9 = XEXP (x4, 0);
18994 82907 : switch (GET_CODE (x9))
18995 : {
18996 114 : case VEC_SELECT:
18997 114 : if (GET_MODE (x9) != E_HFmode)
18998 : return -1;
18999 114 : x10 = XEXP (x9, 1);
19000 114 : if (GET_CODE (x10) != PARALLEL
19001 114 : || XVECLEN (x10, 0) != 1)
19002 : return -1;
19003 114 : x11 = XVECEXP (x10, 0, 0);
19004 114 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
19005 : return -1;
19006 114 : x12 = XEXP (x9, 0);
19007 114 : operands[1] = x12;
19008 114 : if (!register_operand (operands[1], E_V8HFmode))
19009 : return -1;
19010 114 : x7 = XEXP (x2, 1);
19011 114 : operands[2] = x7;
19012 114 : switch (GET_MODE (operands[0]))
19013 : {
19014 9 : case E_V2DFmode:
19015 9 : if (pattern1504 (x2,
19016 : E_V2DFmode,
19017 : E_DFmode) != 0
19018 9 : || !insn_condition_40 (operands, insn))
19019 4 : return -1;
19020 : return 4923; /* avx512fp16_vcvtsh2sd */
19021 :
19022 105 : case E_V4SFmode:
19023 105 : if (pattern1504 (x2,
19024 : E_V4SFmode,
19025 : E_SFmode) != 0
19026 105 : || !insn_condition_40 (operands, insn))
19027 4 : return -1;
19028 : return 4927; /* avx512fp16_vcvtsh2ss */
19029 :
19030 : default:
19031 : return -1;
19032 : }
19033 :
19034 82793 : case REG:
19035 82793 : case SUBREG:
19036 82793 : case MEM:
19037 82793 : switch (GET_MODE (operands[0]))
19038 : {
19039 82744 : case E_V2DFmode:
19040 82744 : if (pattern808 (x2,
19041 : E_DFmode,
19042 : E_V2DFmode) != 0)
19043 : return -1;
19044 82743 : x7 = XEXP (x2, 1);
19045 82743 : if (!register_operand (x7, E_V2DFmode))
19046 : return -1;
19047 82739 : switch (GET_MODE (x9))
19048 : {
19049 0 : case E_HFmode:
19050 0 : operands[1] = x9;
19051 0 : if (!memory_operand (operands[1], E_HFmode))
19052 : return -1;
19053 0 : operands[2] = x7;
19054 0 : if (!insn_condition_40 (operands, insn))
19055 0 : return -1;
19056 : return 4931; /* avx512fp16_vcvtsh2sd_mem */
19057 :
19058 82739 : case E_SFmode:
19059 82739 : operands[2] = x9;
19060 82739 : if (!nonimmediate_operand (operands[2], E_SFmode))
19061 : return -1;
19062 82739 : operands[1] = x7;
19063 82739 : if (!insn_condition_141 (operands, insn))
19064 0 : return -1;
19065 : return 5338; /* *sse2_vd_cvtss2sd */
19066 :
19067 : default:
19068 : return -1;
19069 : }
19070 :
19071 49 : case E_V4SFmode:
19072 49 : if (pattern808 (x2,
19073 : E_SFmode,
19074 : E_V4SFmode) != 0)
19075 : return -1;
19076 48 : operands[1] = x9;
19077 48 : if (!memory_operand (operands[1], E_HFmode))
19078 : return -1;
19079 24 : x7 = XEXP (x2, 1);
19080 24 : operands[2] = x7;
19081 24 : if (!register_operand (operands[2], E_V4SFmode)
19082 24 : || !insn_condition_40 (operands, insn))
19083 12 : return -1;
19084 : return 4933; /* avx512fp16_vcvtsh2ss_mem */
19085 :
19086 : default:
19087 : return -1;
19088 : }
19089 :
19090 : default:
19091 : return -1;
19092 : }
19093 :
19094 1665 : case FLOAT_TRUNCATE:
19095 1665 : x5 = XEXP (x2, 2);
19096 1665 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
19097 : return -1;
19098 1665 : x9 = XEXP (x4, 0);
19099 1665 : switch (GET_CODE (x9))
19100 : {
19101 203 : case VEC_SELECT:
19102 203 : x10 = XEXP (x9, 1);
19103 203 : if (GET_CODE (x10) != PARALLEL
19104 203 : || XVECLEN (x10, 0) != 1)
19105 : return -1;
19106 203 : x11 = XVECEXP (x10, 0, 0);
19107 203 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
19108 203 : || pattern808 (x2,
19109 : E_HFmode,
19110 : E_V8HFmode) != 0)
19111 : return -1;
19112 197 : x12 = XEXP (x9, 0);
19113 197 : operands[1] = x12;
19114 197 : x7 = XEXP (x2, 1);
19115 197 : operands[2] = x7;
19116 197 : if (!register_operand (operands[2], E_V8HFmode))
19117 : return -1;
19118 160 : switch (GET_MODE (x9))
19119 : {
19120 5 : case E_DFmode:
19121 5 : if (!register_operand (operands[1], E_V2DFmode)
19122 5 : || !insn_condition_40 (operands, insn))
19123 0 : return -1;
19124 : return 4935; /* avx512fp16_vcvtsd2sh */
19125 :
19126 155 : case E_SFmode:
19127 155 : if (!register_operand (operands[1], E_V4SFmode)
19128 155 : || !insn_condition_40 (operands, insn))
19129 30 : return -1;
19130 : return 4939; /* avx512fp16_vcvtss2sh */
19131 :
19132 : default:
19133 : return -1;
19134 : }
19135 :
19136 1448 : case REG:
19137 1448 : case SUBREG:
19138 1448 : case MEM:
19139 1448 : switch (GET_MODE (operands[0]))
19140 : {
19141 49 : case E_V8HFmode:
19142 49 : if (!register_operand (operands[0], E_V8HFmode)
19143 47 : || GET_MODE (x2) != E_V8HFmode
19144 47 : || GET_MODE (x3) != E_V8HFmode
19145 96 : || GET_MODE (x4) != E_HFmode)
19146 : return -1;
19147 47 : operands[1] = x9;
19148 47 : x7 = XEXP (x2, 1);
19149 47 : operands[2] = x7;
19150 47 : if (!register_operand (operands[2], E_V8HFmode))
19151 : return -1;
19152 39 : switch (GET_MODE (operands[1]))
19153 : {
19154 39 : case E_SFmode:
19155 39 : if (!memory_operand (operands[1], E_SFmode)
19156 39 : || !insn_condition_40 (operands, insn))
19157 39 : return -1;
19158 : return 4943; /* avx512fp16_vcvtss2sh_mem */
19159 :
19160 0 : case E_DFmode:
19161 0 : if (!memory_operand (operands[1], E_DFmode)
19162 0 : || !insn_condition_40 (operands, insn))
19163 0 : return -1;
19164 : return 4945; /* avx512fp16_vcvtsd2sh_mem */
19165 :
19166 : default:
19167 : return -1;
19168 : }
19169 :
19170 1399 : case E_V4SFmode:
19171 1399 : if (!register_operand (operands[0], E_V4SFmode)
19172 1399 : || GET_MODE (x2) != E_V4SFmode
19173 2798 : || GET_MODE (x3) != E_V4SFmode)
19174 : return -1;
19175 1399 : operands[2] = x9;
19176 1399 : x7 = XEXP (x2, 1);
19177 1399 : operands[1] = x7;
19178 1399 : if (!register_operand (operands[1], E_V4SFmode))
19179 : return -1;
19180 1377 : switch (GET_MODE (x4))
19181 : {
19182 85 : case E_V2SFmode:
19183 85 : if (!nonimmediate_operand (operands[2], E_V2DFmode)
19184 85 : || !insn_condition_141 (operands, insn))
19185 0 : return -1;
19186 : return 5329; /* sse2_cvtsd2ss */
19187 :
19188 1292 : case E_SFmode:
19189 1292 : if (!nonimmediate_operand (operands[2], E_DFmode)
19190 1292 : || !insn_condition_141 (operands, insn))
19191 0 : return -1;
19192 : return 5333; /* *sse2_vd_cvtsd2ss */
19193 :
19194 : default:
19195 : return -1;
19196 : }
19197 :
19198 : default:
19199 : return -1;
19200 : }
19201 :
19202 : default:
19203 : return -1;
19204 : }
19205 :
19206 449228 : case CONST_INT:
19207 449228 : case CONST_WIDE_INT:
19208 449228 : case CONST_POLY_INT:
19209 449228 : case CONST_FIXED:
19210 449228 : case CONST_DOUBLE:
19211 449228 : case CONST_VECTOR:
19212 449228 : case CONST:
19213 449228 : case REG:
19214 449228 : case SUBREG:
19215 449228 : case MEM:
19216 449228 : case LABEL_REF:
19217 449228 : case SYMBOL_REF:
19218 449228 : case HIGH:
19219 449228 : return recog_165 (x1, insn, pnum_clobbers);
19220 :
19221 5913 : case VEC_SELECT:
19222 5913 : return recog_166 (x1, insn, pnum_clobbers);
19223 :
19224 1067 : case ZERO_EXTEND:
19225 1067 : switch (pattern346 (x2))
19226 : {
19227 2 : case 0:
19228 2 : if (!insn_condition_1169 (operands, insn))
19229 0 : return -1;
19230 : return 5473; /* *vec_setv16si_0_zero_extendhi */
19231 :
19232 2 : case 1:
19233 2 : if (!insn_condition_1170 (operands, insn))
19234 0 : return -1;
19235 : return 5474; /* *vec_setv8si_0_zero_extendhi */
19236 :
19237 443 : case 2:
19238 443 : if (!insn_condition_1170 (operands, insn))
19239 441 : return -1;
19240 : return 5475; /* *vec_setv4si_0_zero_extendhi */
19241 :
19242 1 : case 3:
19243 1 : if (!insn_condition_1169 (operands, insn))
19244 0 : return -1;
19245 : return 5476; /* *vec_setv8di_0_zero_extendhi */
19246 :
19247 1 : case 4:
19248 1 : if (!insn_condition_1171 (operands, insn))
19249 0 : return -1;
19250 : return 5488; /* *vec_setv8di_0_zero_extendsi */
19251 :
19252 1 : case 5:
19253 1 : if (!insn_condition_1170 (operands, insn))
19254 0 : return -1;
19255 : return 5477; /* *vec_setv4di_0_zero_extendhi */
19256 :
19257 1 : case 6:
19258 1 : if (!insn_condition_1172 (operands, insn))
19259 0 : return -1;
19260 : return 5489; /* *vec_setv4di_0_zero_extendsi */
19261 :
19262 0 : case 7:
19263 0 : if (!insn_condition_1170 (operands, insn))
19264 0 : return -1;
19265 : return 5478; /* *vec_setv2di_0_zero_extendhi */
19266 :
19267 0 : case 8:
19268 0 : if (!insn_condition_163 (operands, insn))
19269 0 : return -1;
19270 : return 5490; /* *vec_setv2di_0_zero_extendsi */
19271 :
19272 : default:
19273 : return -1;
19274 : }
19275 :
19276 : default:
19277 : return -1;
19278 : }
19279 : }
19280 :
19281 : int
19282 6950 : recog_205 (rtx x1 ATTRIBUTE_UNUSED,
19283 : rtx_insn *insn ATTRIBUTE_UNUSED,
19284 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19285 : {
19286 6950 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19287 6950 : rtx x2;
19288 6950 : int res ATTRIBUTE_UNUSED;
19289 6950 : x2 = XEXP (x1, 1);
19290 6950 : switch (pattern182 (x2))
19291 : {
19292 762 : case 0:
19293 762 : if (nonimmediate_operand (operands[1], E_V16HImode)
19294 694 : && nonmemory_operand (operands[2], E_DImode)
19295 762 : && insn_condition_1194 (operands, insn))
19296 : return 6349; /* ashlv16hi3_mask */
19297 286 : if (!register_operand (operands[1], E_V16HImode)
19298 218 : || !nonimmediate_operand (operands[2], E_V16HImode)
19299 286 : || !insn_condition_1039 (operands, insn))
19300 74 : return -1;
19301 : return 8295; /* avx512vl_ashlvv16hi_mask */
19302 :
19303 647 : case 1:
19304 647 : if (nonimmediate_operand (operands[1], E_V8HImode)
19305 607 : && nonmemory_operand (operands[2], E_DImode)
19306 647 : && insn_condition_1194 (operands, insn))
19307 : return 6353; /* ashlv8hi3_mask */
19308 224 : if (!register_operand (operands[1], E_V8HImode)
19309 184 : || !nonimmediate_operand (operands[2], E_V8HImode)
19310 224 : || !insn_condition_1039 (operands, insn))
19311 40 : return -1;
19312 : return 8291; /* avx512vl_ashlvv8hi_mask */
19313 :
19314 763 : case 2:
19315 763 : if (nonimmediate_operand (operands[1], E_V8SImode)
19316 719 : && nonmemory_operand (operands[2], E_DImode)
19317 763 : && insn_condition_100 (operands, insn))
19318 : return 6357; /* ashlv8si3_mask */
19319 288 : if (!register_operand (operands[1], E_V8SImode)
19320 238 : || !nonimmediate_operand (operands[2], E_V8SImode)
19321 288 : || !insn_condition_981 (operands, insn))
19322 53 : return -1;
19323 : return 8271; /* avx2_ashlvv8si_mask */
19324 :
19325 646 : case 3:
19326 646 : if (nonimmediate_operand (operands[1], E_V4SImode)
19327 602 : && nonmemory_operand (operands[2], E_DImode)
19328 646 : && insn_condition_100 (operands, insn))
19329 : return 6361; /* ashlv4si3_mask */
19330 222 : if (!register_operand (operands[1], E_V4SImode)
19331 178 : || !nonimmediate_operand (operands[2], E_V4SImode)
19332 222 : || !insn_condition_1195 (operands, insn))
19333 47 : return -1;
19334 : return 8275; /* avx2_ashlvv4si_mask */
19335 :
19336 676 : case 4:
19337 676 : if (nonimmediate_operand (operands[1], E_V4DImode)
19338 676 : && nonmemory_operand (operands[2], E_DImode)
19339 676 : && insn_condition_100 (operands, insn))
19340 : return 6365; /* ashlv4di3_mask */
19341 257 : if (!register_operand (operands[1], E_V4DImode)
19342 245 : || !nonimmediate_operand (operands[2], E_V4DImode)
19343 257 : || !insn_condition_981 (operands, insn))
19344 42 : return -1;
19345 : return 8283; /* avx2_ashlvv4di_mask */
19346 :
19347 539 : case 5:
19348 539 : if (nonimmediate_operand (operands[1], E_V2DImode)
19349 539 : && nonmemory_operand (operands[2], E_DImode)
19350 539 : && insn_condition_100 (operands, insn))
19351 : return 6369; /* ashlv2di3_mask */
19352 167 : if (!register_operand (operands[1], E_V2DImode)
19353 167 : || !nonimmediate_operand (operands[2], E_V2DImode)
19354 167 : || !insn_condition_1195 (operands, insn))
19355 0 : return -1;
19356 : return 8287; /* avx2_ashlvv2di_mask */
19357 :
19358 732 : case 6:
19359 732 : if (nonimmediate_operand (operands[1], E_V32HImode)
19360 691 : && nonmemory_operand (operands[2], E_DImode)
19361 732 : && insn_condition_803 (operands, insn))
19362 : return 6389; /* ashlv32hi3_mask */
19363 227 : if (!register_operand (operands[1], E_V32HImode)
19364 186 : || !nonimmediate_operand (operands[2], E_V32HImode)
19365 227 : || !insn_condition_120 (operands, insn))
19366 41 : return -1;
19367 : return 8299; /* avx512bw_ashlvv32hi_mask */
19368 :
19369 740 : case 7:
19370 740 : if (nonimmediate_operand (operands[1], E_V16SImode)
19371 696 : && nonmemory_operand (operands[2], E_DImode)
19372 1240 : && insn_condition_27 (operands, insn))
19373 : return 6393; /* ashlv16si3_mask */
19374 240 : if (!register_operand (operands[1], E_V16SImode)
19375 196 : || !nonimmediate_operand (operands[2], E_V16SImode)
19376 240 : || !insn_condition_982 (operands, insn))
19377 47 : return -1;
19378 : return 8267; /* avx512f_ashlvv16si_mask */
19379 :
19380 642 : case 8:
19381 642 : if (nonimmediate_operand (operands[1], E_V8DImode)
19382 638 : && nonmemory_operand (operands[2], E_DImode)
19383 1079 : && insn_condition_27 (operands, insn))
19384 : return 6397; /* ashlv8di3_mask */
19385 205 : if (!register_operand (operands[1], E_V8DImode)
19386 201 : || !nonimmediate_operand (operands[2], E_V8DImode)
19387 205 : || !insn_condition_982 (operands, insn))
19388 7 : return -1;
19389 : return 8279; /* avx512f_ashlvv8di_mask */
19390 :
19391 : default:
19392 : return -1;
19393 : }
19394 : }
19395 :
19396 : int
19397 4247 : recog_209 (rtx x1 ATTRIBUTE_UNUSED,
19398 : rtx_insn *insn ATTRIBUTE_UNUSED,
19399 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19400 : {
19401 4247 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19402 4247 : rtx x2, x3, x4, x5;
19403 4247 : int res ATTRIBUTE_UNUSED;
19404 4247 : x2 = XEXP (x1, 1);
19405 4247 : switch (pattern191 (x2))
19406 : {
19407 171 : case 0:
19408 171 : if (!insn_condition_1248 (operands, insn))
19409 0 : return -1;
19410 : return 7422; /* avx2_zero_extendv16qiv16hi2_mask */
19411 :
19412 192 : case 1:
19413 192 : if (!insn_condition_120 (operands, insn))
19414 0 : return -1;
19415 : return 7430; /* avx512bw_zero_extendv32qiv32hi2_mask */
19416 :
19417 6 : case 2:
19418 6 : if (!insn_condition_1249 (operands, insn))
19419 0 : return -1;
19420 : return 7442; /* *sse4_1_zero_extendv8qiv8hi2_mask_1 */
19421 :
19422 191 : case 3:
19423 191 : if (!insn_condition_27 (operands, insn))
19424 0 : return -1;
19425 : return 7454; /* avx512f_zero_extendv16qiv16si2_mask */
19426 :
19427 191 : case 4:
19428 191 : if (!insn_condition_27 (operands, insn))
19429 0 : return -1;
19430 : return 7484; /* avx512f_zero_extendv16hiv16si2_mask */
19431 :
19432 9 : case 5:
19433 9 : if (!insn_condition_1142 (operands, insn))
19434 0 : return -1;
19435 : return 7462; /* *avx2_zero_extendv8qiv8si2_mask_1 */
19436 :
19437 172 : case 6:
19438 172 : if (!insn_condition_1142 (operands, insn))
19439 0 : return -1;
19440 : return 7492; /* avx2_zero_extendv8hiv8si2_mask */
19441 :
19442 6 : case 7:
19443 6 : if (!insn_condition_1250 (operands, insn))
19444 0 : return -1;
19445 : return 7474; /* *sse4_1_zero_extendv4qiv4si2_mask_1 */
19446 :
19447 6 : case 8:
19448 6 : if (!insn_condition_1250 (operands, insn))
19449 0 : return -1;
19450 : return 7504; /* *sse4_1_zero_extendv4hiv4si2_mask_1 */
19451 :
19452 9 : case 9:
19453 9 : if (!insn_condition_27 (operands, insn))
19454 0 : return -1;
19455 : return 7520; /* *avx512f_zero_extendv8qiv8di2_mask_1 */
19456 :
19457 200 : case 10:
19458 200 : if (!insn_condition_27 (operands, insn))
19459 0 : return -1;
19460 : return 7551; /* avx512f_zero_extendv8hiv8di2_mask */
19461 :
19462 200 : case 11:
19463 200 : if (!insn_condition_27 (operands, insn))
19464 0 : return -1;
19465 : return 7579; /* avx512f_zero_extendv8siv8di2_mask */
19466 :
19467 9 : case 12:
19468 9 : if (!insn_condition_1142 (operands, insn))
19469 0 : return -1;
19470 : return 7532; /* *avx2_zero_extendv4qiv4di2_mask_1 */
19471 :
19472 9 : case 13:
19473 9 : if (!insn_condition_1142 (operands, insn))
19474 0 : return -1;
19475 : return 7559; /* *avx2_zero_extendv4hiv4di2_mask_1 */
19476 :
19477 181 : case 14:
19478 181 : if (!insn_condition_1142 (operands, insn))
19479 0 : return -1;
19480 : return 7585; /* avx2_zero_extendv4siv4di2_mask */
19481 :
19482 0 : case 15:
19483 0 : if (!insn_condition_1250 (operands, insn))
19484 0 : return -1;
19485 : return 7544; /* *sse4_1_zero_extendv2qiv2di2_mask_1 */
19486 :
19487 6 : case 16:
19488 6 : if (!insn_condition_1250 (operands, insn))
19489 0 : return -1;
19490 : return 7571; /* *sse4_1_zero_extendv2hiv2di2_mask_1 */
19491 :
19492 6 : case 17:
19493 6 : if (!insn_condition_1250 (operands, insn))
19494 0 : return -1;
19495 : return 7595; /* *sse4_1_zero_extendv2siv2di2_mask_1 */
19496 :
19497 2316 : case 18:
19498 2316 : x3 = XEXP (x2, 0);
19499 2316 : x4 = XEXP (x3, 0);
19500 2316 : x5 = XEXP (x4, 0);
19501 2316 : operands[1] = x5;
19502 2316 : switch (pattern946 (x2))
19503 : {
19504 166 : case 0:
19505 166 : if (insn_condition_1249 (operands, insn))
19506 : return 7438; /* sse4_1_zero_extendv8qiv8hi2_mask */
19507 : break;
19508 :
19509 197 : case 1:
19510 197 : if (insn_condition_1142 (operands, insn))
19511 : return 7458; /* avx2_zero_extendv8qiv8si2_mask */
19512 : break;
19513 :
19514 224 : case 2:
19515 224 : if (insn_condition_27 (operands, insn))
19516 : return 7516; /* avx512f_zero_extendv8qiv8di2_mask */
19517 : break;
19518 :
19519 182 : case 3:
19520 182 : if (insn_condition_1250 (operands, insn))
19521 : return 7470; /* sse4_1_zero_extendv4qiv4si2_mask */
19522 : break;
19523 :
19524 178 : case 4:
19525 178 : if (insn_condition_1250 (operands, insn))
19526 : return 7500; /* sse4_1_zero_extendv4hiv4si2_mask */
19527 : break;
19528 :
19529 204 : case 5:
19530 204 : if (insn_condition_1142 (operands, insn))
19531 : return 7528; /* avx2_zero_extendv4qiv4di2_mask */
19532 : break;
19533 :
19534 200 : case 6:
19535 200 : if (insn_condition_1142 (operands, insn))
19536 : return 7555; /* avx2_zero_extendv4hiv4di2_mask */
19537 : break;
19538 :
19539 191 : case 7:
19540 191 : if (insn_condition_1250 (operands, insn))
19541 : return 7540; /* sse4_1_zero_extendv2qiv2di2_mask */
19542 : break;
19543 :
19544 189 : case 8:
19545 189 : if (insn_condition_1250 (operands, insn))
19546 : return 7567; /* sse4_1_zero_extendv2hiv2di2_mask */
19547 : break;
19548 :
19549 187 : case 9:
19550 187 : if (insn_condition_1250 (operands, insn))
19551 : return 7591; /* sse4_1_zero_extendv2siv2di2_mask */
19552 : break;
19553 :
19554 : default:
19555 : break;
19556 : }
19557 398 : if (GET_CODE (x5) != SUBREG
19558 398 : || maybe_ne (SUBREG_BYTE (x5), 0))
19559 : return -1;
19560 294 : switch (pattern447 (x2))
19561 : {
19562 3 : case 0:
19563 3 : if (!insn_condition_1251 (operands, insn))
19564 0 : return -1;
19565 : return 7446; /* *avx512vl_zero_extendv8qiv8hi2_mask_2 */
19566 :
19567 3 : case 1:
19568 3 : if (!insn_condition_1252 (operands, insn))
19569 0 : return -1;
19570 : return 7466; /* *avx512vl_zero_extendv8qiv8si2_mask_2 */
19571 :
19572 3 : case 2:
19573 3 : if (!insn_condition_864 (operands, insn))
19574 0 : return -1;
19575 : return 7524; /* *avx512f_zero_extendv8qiv8di2_mask_2 */
19576 :
19577 3 : case 3:
19578 3 : if (!insn_condition_1252 (operands, insn))
19579 0 : return -1;
19580 : return 7508; /* *avx512vl_zero_extendv4hiv4si2_mask_2 */
19581 :
19582 3 : case 4:
19583 3 : if (!insn_condition_1252 (operands, insn))
19584 0 : return -1;
19585 : return 7563; /* *avx512vl_zero_extendv4hiv4di2_mask_2 */
19586 :
19587 3 : case 5:
19588 3 : if (!insn_condition_1252 (operands, insn))
19589 0 : return -1;
19590 : return 7599; /* *avx512vl_zero_extendv2siv2di2_mask_2 */
19591 :
19592 3 : case 6:
19593 3 : if (insn_condition_1253 (operands, insn))
19594 : return 7478; /* *sse4_1_zero_extendv4qiv4si2_2 */
19595 0 : if (!insn_condition_1252 (operands, insn))
19596 0 : return -1;
19597 : return 7480; /* *avx512vl_zero_extendv4qiv4si2_mask_2 */
19598 :
19599 3 : case 7:
19600 3 : if (!insn_condition_1252 (operands, insn))
19601 0 : return -1;
19602 : return 7536; /* *avx512vl_zero_extendv4qiv4di2_mask_2 */
19603 :
19604 3 : case 8:
19605 3 : if (!insn_condition_1252 (operands, insn))
19606 0 : return -1;
19607 : return 7575; /* *avx512vl_zero_extendv2hiv2di2_mask_2 */
19608 :
19609 : default:
19610 : return -1;
19611 : }
19612 :
19613 : default:
19614 : return -1;
19615 : }
19616 : }
19617 :
19618 : int
19619 2695 : recog_215 (rtx x1 ATTRIBUTE_UNUSED,
19620 : rtx_insn *insn ATTRIBUTE_UNUSED,
19621 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19622 : {
19623 2695 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19624 2695 : rtx x2, x3, x4, x5, x6;
19625 2695 : int res ATTRIBUTE_UNUSED;
19626 2695 : x2 = XEXP (x1, 1);
19627 2695 : x3 = XEXP (x2, 0);
19628 2695 : x4 = XEXP (x3, 0);
19629 2695 : operands[1] = x4;
19630 2695 : x5 = XEXP (x2, 1);
19631 2695 : operands[2] = x5;
19632 2695 : x6 = XEXP (x2, 2);
19633 2695 : switch (GET_CODE (x6))
19634 : {
19635 2241 : case REG:
19636 2241 : case SUBREG:
19637 2241 : operands[3] = x6;
19638 2241 : switch (GET_MODE (operands[0]))
19639 : {
19640 81 : case E_V32HFmode:
19641 81 : if (pattern935 (x2,
19642 : E_V32HFmode,
19643 : E_SImode) != 0
19644 81 : || !insn_condition_1298 (operands, insn))
19645 10 : return -1;
19646 : return 3081; /* avx512fp16_sqrtv32hf2_mask */
19647 :
19648 227 : case E_V16HFmode:
19649 227 : if (pattern935 (x2,
19650 : E_V16HFmode,
19651 : E_HImode) != 0
19652 227 : || !insn_condition_1299 (operands, insn))
19653 8 : return -1;
19654 : return 3084; /* avx512fp16_sqrtv16hf2_mask */
19655 :
19656 227 : case E_V8HFmode:
19657 227 : if (pattern935 (x2,
19658 : E_V8HFmode,
19659 : E_QImode) != 0
19660 227 : || !insn_condition_1300 (operands, insn))
19661 8 : return -1;
19662 : return 3086; /* avx512fp16_sqrtv8hf2_mask */
19663 :
19664 81 : case E_V16SFmode:
19665 81 : if (pattern935 (x2,
19666 : E_V16SFmode,
19667 : E_HImode) != 0
19668 81 : || !insn_condition_1301 (operands, insn))
19669 14 : return -1;
19670 : return 3089; /* avx512f_sqrtv16sf2_mask */
19671 :
19672 209 : case E_V8SFmode:
19673 209 : if (pattern935 (x2,
19674 : E_V8SFmode,
19675 : E_QImode) != 0
19676 209 : || !insn_condition_1302 (operands, insn))
19677 12 : return -1;
19678 : return 3092; /* avx_sqrtv8sf2_mask */
19679 :
19680 206 : case E_V4SFmode:
19681 206 : if (pattern935 (x2,
19682 : E_V4SFmode,
19683 : E_QImode) != 0
19684 206 : || !insn_condition_1303 (operands, insn))
19685 8 : return -1;
19686 : return 3094; /* sse_sqrtv4sf2_mask */
19687 :
19688 85 : case E_V8DFmode:
19689 85 : if (pattern935 (x2,
19690 : E_V8DFmode,
19691 : E_QImode) != 0
19692 85 : || !insn_condition_1301 (operands, insn))
19693 14 : return -1;
19694 : return 3097; /* avx512f_sqrtv8df2_mask */
19695 :
19696 209 : case E_V4DFmode:
19697 209 : if (pattern935 (x2,
19698 : E_V4DFmode,
19699 : E_QImode) != 0
19700 209 : || !insn_condition_1302 (operands, insn))
19701 12 : return -1;
19702 : return 3100; /* avx_sqrtv4df2_mask */
19703 :
19704 210 : case E_V2DFmode:
19705 210 : if (pattern935 (x2,
19706 : E_V2DFmode,
19707 : E_QImode) != 0
19708 210 : || !insn_condition_1304 (operands, insn))
19709 8 : return -1;
19710 : return 3102; /* sse2_sqrtv2df2_mask */
19711 :
19712 236 : case E_V32BFmode:
19713 236 : if (pattern186 (x2,
19714 : E_V32BFmode,
19715 : E_SImode) != 0
19716 236 : || !insn_condition_83 (operands, insn))
19717 9 : return -1;
19718 : return 9378; /* avx10_2_sqrtbf16_v32bf_mask */
19719 :
19720 236 : case E_V16BFmode:
19721 236 : if (pattern186 (x2,
19722 : E_V16BFmode,
19723 : E_HImode) != 0
19724 236 : || !insn_condition_83 (operands, insn))
19725 9 : return -1;
19726 : return 9380; /* avx10_2_sqrtbf16_v16bf_mask */
19727 :
19728 234 : case E_V8BFmode:
19729 234 : if (pattern186 (x2,
19730 : E_V8BFmode,
19731 : E_QImode) != 0
19732 234 : || !insn_condition_83 (operands, insn))
19733 7 : return -1;
19734 : return 9382; /* avx10_2_sqrtbf16_v8bf_mask */
19735 :
19736 : default:
19737 : return -1;
19738 : }
19739 :
19740 422 : case CONST_INT:
19741 422 : if (XWINT (x6, 0) != 1L)
19742 : return -1;
19743 262 : switch (GET_MODE (operands[0]))
19744 : {
19745 18 : case E_V8HFmode:
19746 18 : if (pattern936 (x2,
19747 : E_V8HFmode) != 0
19748 18 : || !insn_condition_1018 (operands, insn))
19749 8 : return -1;
19750 : return 3103; /* avx512fp16_vmsqrtv8hf2 */
19751 :
19752 98 : case E_V4SFmode:
19753 98 : if (pattern936 (x2,
19754 : E_V4SFmode) != 0
19755 98 : || !insn_condition_148 (operands, insn))
19756 3 : return -1;
19757 : return 3107; /* sse_vmsqrtv4sf2 */
19758 :
19759 146 : case E_V2DFmode:
19760 146 : if (pattern936 (x2,
19761 : E_V2DFmode) != 0
19762 146 : || !insn_condition_236 (operands, insn))
19763 39 : return -1;
19764 : return 3111; /* sse2_vmsqrtv2df2 */
19765 :
19766 : default:
19767 : return -1;
19768 : }
19769 :
19770 : default:
19771 : return -1;
19772 : }
19773 : }
19774 :
19775 : int
19776 3348 : recog_220 (rtx x1 ATTRIBUTE_UNUSED,
19777 : rtx_insn *insn ATTRIBUTE_UNUSED,
19778 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19779 : {
19780 3348 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19781 3348 : rtx x2, x3, x4, x5, x6, x7;
19782 3348 : int res ATTRIBUTE_UNUSED;
19783 3348 : x2 = XEXP (x1, 1);
19784 3348 : x3 = XEXP (x2, 0);
19785 3348 : x4 = XEXP (x3, 0);
19786 3348 : operands[1] = x4;
19787 3348 : x5 = XEXP (x3, 1);
19788 3348 : operands[2] = x5;
19789 3348 : x6 = XEXP (x2, 2);
19790 3348 : switch (GET_CODE (x6))
19791 : {
19792 383 : case CONST_INT:
19793 383 : switch (pattern172 (x2))
19794 : {
19795 20 : case 0:
19796 20 : if (!insn_condition_1018 (operands, insn))
19797 0 : return -1;
19798 : return 3006; /* avx512fp16_vmdivv8hf3 */
19799 :
19800 80 : case 1:
19801 80 : if (!insn_condition_148 (operands, insn))
19802 0 : return -1;
19803 : return 3014; /* sse_vmdivv4sf3 */
19804 :
19805 80 : case 2:
19806 80 : if (!insn_condition_236 (operands, insn))
19807 0 : return -1;
19808 : return 3022; /* sse2_vmdivv2df3 */
19809 :
19810 : default:
19811 : return -1;
19812 : }
19813 :
19814 2859 : case REG:
19815 2859 : case SUBREG:
19816 2859 : operands[4] = x6;
19817 2859 : x7 = XEXP (x2, 1);
19818 2859 : operands[3] = x7;
19819 2859 : switch (GET_MODE (operands[0]))
19820 : {
19821 213 : case E_V32HFmode:
19822 213 : if (pattern1052 (x2,
19823 : E_V32HFmode,
19824 : E_SImode) != 0
19825 213 : || !insn_condition_1298 (operands, insn))
19826 16 : return -1;
19827 : return 3028; /* avx512fp16_divv32hf3_mask */
19828 :
19829 237 : case E_V16HFmode:
19830 237 : if (pattern1052 (x2,
19831 : E_V16HFmode,
19832 : E_HImode) != 0
19833 237 : || !insn_condition_1299 (operands, insn))
19834 22 : return -1;
19835 : return 3031; /* avx512fp16_divv16hf3_mask */
19836 :
19837 204 : case E_V8HFmode:
19838 204 : if (pattern1052 (x2,
19839 : E_V8HFmode,
19840 : E_QImode) != 0
19841 204 : || !insn_condition_1300 (operands, insn))
19842 16 : return -1;
19843 : return 3033; /* avx512fp16_divv8hf3_mask */
19844 :
19845 314 : case E_V16SFmode:
19846 314 : if (pattern1052 (x2,
19847 : E_V16SFmode,
19848 : E_HImode) != 0
19849 314 : || !insn_condition_1301 (operands, insn))
19850 100 : return -1;
19851 : return 3036; /* avx512f_divv16sf3_mask */
19852 :
19853 282 : case E_V8SFmode:
19854 282 : if (pattern1052 (x2,
19855 : E_V8SFmode,
19856 : E_QImode) != 0
19857 282 : || !insn_condition_1302 (operands, insn))
19858 55 : return -1;
19859 : return 3039; /* avx_divv8sf3_mask */
19860 :
19861 194 : case E_V4SFmode:
19862 194 : if (pattern1052 (x2,
19863 : E_V4SFmode,
19864 : E_QImode) != 0
19865 194 : || !insn_condition_1303 (operands, insn))
19866 7 : return -1;
19867 : return 3041; /* sse_divv4sf3_mask */
19868 :
19869 329 : case E_V8DFmode:
19870 329 : if (pattern1052 (x2,
19871 : E_V8DFmode,
19872 : E_QImode) != 0
19873 329 : || !insn_condition_1301 (operands, insn))
19874 119 : return -1;
19875 : return 3044; /* avx512f_divv8df3_mask */
19876 :
19877 282 : case E_V4DFmode:
19878 282 : if (pattern1052 (x2,
19879 : E_V4DFmode,
19880 : E_QImode) != 0
19881 282 : || !insn_condition_1302 (operands, insn))
19882 55 : return -1;
19883 : return 3047; /* avx_divv4df3_mask */
19884 :
19885 194 : case E_V2DFmode:
19886 194 : if (pattern1052 (x2,
19887 : E_V2DFmode,
19888 : E_QImode) != 0
19889 194 : || !insn_condition_1304 (operands, insn))
19890 7 : return -1;
19891 : return 3049; /* sse2_divv2df3_mask */
19892 :
19893 204 : case E_V32BFmode:
19894 204 : if (pattern170 (x2,
19895 : E_V32BFmode,
19896 : E_SImode) != 0
19897 204 : || !insn_condition_83 (operands, insn))
19898 9 : return -1;
19899 : return 9306; /* avx10_2_divbf16_v32bf_mask */
19900 :
19901 204 : case E_V16BFmode:
19902 204 : if (pattern170 (x2,
19903 : E_V16BFmode,
19904 : E_HImode) != 0
19905 204 : || !insn_condition_83 (operands, insn))
19906 9 : return -1;
19907 : return 9314; /* avx10_2_divbf16_v16bf_mask */
19908 :
19909 202 : case E_V8BFmode:
19910 202 : if (pattern170 (x2,
19911 : E_V8BFmode,
19912 : E_QImode) != 0
19913 202 : || !insn_condition_83 (operands, insn))
19914 7 : return -1;
19915 : return 9322; /* avx10_2_divbf16_v8bf_mask */
19916 :
19917 : default:
19918 : return -1;
19919 : }
19920 :
19921 : default:
19922 : return -1;
19923 : }
19924 : }
19925 :
19926 : int
19927 1020 : recog_227 (rtx x1 ATTRIBUTE_UNUSED,
19928 : rtx_insn *insn ATTRIBUTE_UNUSED,
19929 : int *pnum_clobbers ATTRIBUTE_UNUSED)
19930 : {
19931 1020 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
19932 1020 : rtx x2, x3;
19933 1020 : int res ATTRIBUTE_UNUSED;
19934 1020 : x2 = XEXP (x1, 1);
19935 1020 : x3 = XVECEXP (x2, 0, 0);
19936 1020 : operands[1] = x3;
19937 1020 : switch (GET_MODE (operands[0]))
19938 : {
19939 57 : case E_V8HImode:
19940 57 : if (!register_operand (operands[0], E_V8HImode)
19941 54 : || GET_MODE (x2) != E_V8HImode
19942 54 : || !vector_operand (operands[1], E_V8HFmode)
19943 57 : || !insn_condition_1340 (operands, insn))
19944 4 : return -1;
19945 : return 4726; /* unspec_avx512fp16_fixuns_truncv8hi2 */
19946 :
19947 57 : case E_V16HImode:
19948 57 : if (!register_operand (operands[0], E_V16HImode)
19949 54 : || GET_MODE (x2) != E_V16HImode
19950 54 : || !vector_operand (operands[1], E_V16HFmode)
19951 57 : || !insn_condition_1340 (operands, insn))
19952 4 : return -1;
19953 : return 4734; /* unspec_avx512fp16_fixuns_truncv16hi2 */
19954 :
19955 27 : case E_V32HImode:
19956 27 : if (!register_operand (operands[0], E_V32HImode)
19957 23 : || GET_MODE (x2) != E_V32HImode
19958 23 : || !vector_operand (operands[1], E_V32HFmode)
19959 48 : || !insn_condition_40 (operands, insn))
19960 6 : return -1;
19961 : return 4742; /* unspec_avx512fp16_fixuns_truncv32hi2 */
19962 :
19963 153 : case E_V8SImode:
19964 153 : if (!register_operand (operands[0], E_V8SImode)
19965 153 : || GET_MODE (x2) != E_V8SImode)
19966 : return -1;
19967 144 : switch (GET_MODE (operands[1]))
19968 : {
19969 54 : case E_V8HFmode:
19970 54 : if (!vector_operand (operands[1], E_V8HFmode)
19971 54 : || !insn_condition_1340 (operands, insn))
19972 1 : return -1;
19973 : return 4750; /* unspec_avx512fp16_fixuns_truncv8si2 */
19974 :
19975 30 : case E_V8DFmode:
19976 30 : if (!vector_operand (operands[1], E_V8DFmode)
19977 30 : || !insn_condition_27 (operands, insn))
19978 3 : return -1;
19979 : return 5211; /* unspec_fixuns_truncv8dfv8si2 */
19980 :
19981 60 : case E_V8SFmode:
19982 60 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
19983 60 : || !insn_condition_1350 (operands, insn))
19984 3 : return -1;
19985 : return 5316; /* *unspec_fixuns_truncv8sfv8si2 */
19986 :
19987 : default:
19988 : return -1;
19989 : }
19990 :
19991 46 : case E_V16SImode:
19992 46 : switch (pattern681 (x2,
19993 : E_V16SImode))
19994 : {
19995 21 : case 0:
19996 21 : if (!insn_condition_40 (operands, insn))
19997 0 : return -1;
19998 : return 4758; /* unspec_avx512fp16_fixuns_truncv16si2 */
19999 :
20000 16 : case 1:
20001 16 : if (!insn_condition_27 (operands, insn))
20002 0 : return -1;
20003 : return 5043; /* unspec_fixuns_truncv16sfv16si2 */
20004 :
20005 : default:
20006 : return -1;
20007 : }
20008 :
20009 82 : case E_V8DImode:
20010 82 : switch (pattern682 (x2))
20011 : {
20012 21 : case 0:
20013 21 : if (!insn_condition_40 (operands, insn))
20014 0 : return -1;
20015 : return 4766; /* unspec_avx512fp16_fixuns_truncv8di2 */
20016 :
20017 16 : case 1:
20018 16 : if (!insn_condition_1339 (operands, insn))
20019 0 : return -1;
20020 : return 5240; /* unspec_fixuns_truncv8dfv8di2 */
20021 :
20022 14 : case 2:
20023 14 : if (!insn_condition_1339 (operands, insn))
20024 0 : return -1;
20025 : return 5288; /* unspec_fixuns_truncv8sfv8di2 */
20026 :
20027 : default:
20028 : return -1;
20029 : }
20030 :
20031 182 : case E_V4SImode:
20032 182 : if (!register_operand (operands[0], E_V4SImode)
20033 182 : || GET_MODE (x2) != E_V4SImode)
20034 : return -1;
20035 175 : switch (GET_MODE (operands[1]))
20036 : {
20037 59 : case E_V8HFmode:
20038 59 : if (!register_operand (operands[1], E_V8HFmode)
20039 59 : || !insn_condition_1351 (operands, insn))
20040 6 : return -1;
20041 : return 4820; /* unspec_avx512fp16_fixuns_truncv4si2 */
20042 :
20043 58 : case E_V4DFmode:
20044 58 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
20045 58 : || !insn_condition_1352 (operands, insn))
20046 2 : return -1;
20047 : return 5232; /* unspec_fixuns_truncv4dfv4si2 */
20048 :
20049 58 : case E_V4SFmode:
20050 58 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
20051 58 : || !insn_condition_532 (operands, insn))
20052 2 : return -1;
20053 : return 5318; /* *unspec_fixuns_truncv4sfv4si2 */
20054 :
20055 : default:
20056 : return -1;
20057 : }
20058 :
20059 198 : case E_V4DImode:
20060 198 : switch (pattern683 (x2))
20061 : {
20062 53 : case 0:
20063 53 : if (!insn_condition_1351 (operands, insn))
20064 0 : return -1;
20065 : return 4824; /* unspec_avx512fp16_fixuns_truncv4di2 */
20066 :
20067 58 : case 1:
20068 58 : if (!insn_condition_1342 (operands, insn))
20069 0 : return -1;
20070 : return 5246; /* unspec_fixuns_truncv4dfv4di2 */
20071 :
20072 57 : case 2:
20073 57 : if (!insn_condition_1342 (operands, insn))
20074 0 : return -1;
20075 : return 5294; /* unspec_fixuns_truncv4sfv4di2 */
20076 :
20077 : default:
20078 : return -1;
20079 : }
20080 :
20081 187 : case E_V2DImode:
20082 187 : switch (pattern684 (x2))
20083 : {
20084 55 : case 0:
20085 55 : if (!insn_condition_1351 (operands, insn))
20086 0 : return -1;
20087 : return 4844; /* unspec_avx512fp16_fixuns_truncv2di2 */
20088 :
20089 57 : case 1:
20090 57 : if (!insn_condition_1342 (operands, insn))
20091 0 : return -1;
20092 : return 5250; /* unspec_fixuns_truncv2dfv2di2 */
20093 :
20094 57 : case 2:
20095 57 : if (!insn_condition_1345 (operands, insn))
20096 0 : return -1;
20097 : return 5310; /* unspec_avx512dq_fixuns_truncv2sfv2di2 */
20098 :
20099 : default:
20100 : return -1;
20101 : }
20102 :
20103 : default:
20104 : return -1;
20105 : }
20106 : }
20107 :
20108 : int
20109 196 : recog_234 (rtx x1 ATTRIBUTE_UNUSED,
20110 : rtx_insn *insn ATTRIBUTE_UNUSED,
20111 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20112 : {
20113 196 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20114 196 : rtx x2, x3;
20115 196 : int res ATTRIBUTE_UNUSED;
20116 196 : x2 = XEXP (x1, 1);
20117 196 : x3 = XVECEXP (x2, 0, 0);
20118 196 : operands[1] = x3;
20119 196 : switch (GET_MODE (operands[0]))
20120 : {
20121 49 : case E_V4SFmode:
20122 49 : if (!register_operand (operands[0], E_V4SFmode)
20123 49 : || GET_MODE (x2) != E_V4SFmode
20124 49 : || !nonimmediate_operand (operands[1], E_V4SFmode)
20125 98 : || !insn_condition_24 (operands, insn))
20126 0 : return -1;
20127 : return 7731; /* xop_frczv4sf2 */
20128 :
20129 49 : case E_V2DFmode:
20130 49 : if (!register_operand (operands[0], E_V2DFmode)
20131 49 : || GET_MODE (x2) != E_V2DFmode
20132 49 : || !nonimmediate_operand (operands[1], E_V2DFmode)
20133 98 : || !insn_condition_24 (operands, insn))
20134 0 : return -1;
20135 : return 7732; /* xop_frczv2df2 */
20136 :
20137 49 : case E_V8SFmode:
20138 49 : if (!register_operand (operands[0], E_V8SFmode)
20139 49 : || GET_MODE (x2) != E_V8SFmode
20140 49 : || !nonimmediate_operand (operands[1], E_V8SFmode)
20141 98 : || !insn_condition_24 (operands, insn))
20142 0 : return -1;
20143 : return 7733; /* xop_frczv8sf2 */
20144 :
20145 49 : case E_V4DFmode:
20146 49 : if (!register_operand (operands[0], E_V4DFmode)
20147 49 : || GET_MODE (x2) != E_V4DFmode
20148 49 : || !nonimmediate_operand (operands[1], E_V4DFmode)
20149 98 : || !insn_condition_24 (operands, insn))
20150 0 : return -1;
20151 : return 7734; /* xop_frczv4df2 */
20152 :
20153 : default:
20154 : return -1;
20155 : }
20156 : }
20157 :
20158 : int
20159 4901 : recog_239 (rtx x1 ATTRIBUTE_UNUSED,
20160 : rtx_insn *insn ATTRIBUTE_UNUSED,
20161 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20162 : {
20163 4901 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20164 4901 : rtx x2, x3;
20165 4901 : int res ATTRIBUTE_UNUSED;
20166 4901 : x2 = XEXP (x1, 1);
20167 4901 : x3 = XVECEXP (x2, 0, 0);
20168 4901 : operands[1] = x3;
20169 4901 : switch (GET_MODE (operands[0]))
20170 : {
20171 18 : case E_V4SFmode:
20172 18 : if (!register_operand (operands[0], E_V4SFmode)
20173 18 : || GET_MODE (x2) != E_V4SFmode
20174 18 : || !memory_operand (operands[1], E_V4HImode)
20175 18 : || !insn_condition_124 (operands, insn))
20176 0 : return -1;
20177 : return 8344; /* vcvtph2ps_load */
20178 :
20179 942 : case E_V8SFmode:
20180 942 : if (!register_operand (operands[0], E_V8SFmode)
20181 662 : || GET_MODE (x2) != E_V8SFmode
20182 662 : || !nonimmediate_operand (operands[1], E_V8HImode)
20183 942 : || !insn_condition_124 (operands, insn))
20184 486 : return -1;
20185 : return 8346; /* vcvtph2ps256 */
20186 :
20187 3941 : case E_V16SFmode:
20188 3941 : if (!register_operand (operands[0], E_V16SFmode)
20189 2585 : || GET_MODE (x2) != E_V16SFmode
20190 2585 : || !vector_operand (operands[1], E_V16HImode)
20191 5907 : || !insn_condition_27 (operands, insn))
20192 1975 : return -1;
20193 : return 8348; /* *avx512f_vcvtph2ps512 */
20194 :
20195 : default:
20196 : return -1;
20197 : }
20198 : }
20199 :
20200 : int
20201 4839 : recog_244 (rtx x1 ATTRIBUTE_UNUSED,
20202 : rtx_insn *insn ATTRIBUTE_UNUSED,
20203 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20204 : {
20205 4839 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20206 4839 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
20207 4839 : rtx x10;
20208 4839 : int res ATTRIBUTE_UNUSED;
20209 4839 : x2 = XEXP (x1, 1);
20210 4839 : x3 = XVECEXP (x2, 0, 0);
20211 4839 : x4 = XEXP (x3, 0);
20212 4839 : x5 = XEXP (x4, 0);
20213 4839 : operands[1] = x5;
20214 4839 : x6 = XEXP (x4, 2);
20215 4839 : switch (GET_CODE (x6))
20216 : {
20217 2842 : case REG:
20218 2842 : case SUBREG:
20219 2842 : case MEM:
20220 2842 : operands[3] = x6;
20221 2842 : x7 = XEXP (x3, 1);
20222 2842 : switch (GET_CODE (x7))
20223 : {
20224 507 : case CONST_INT:
20225 507 : case CONST_DOUBLE:
20226 507 : case CONST_VECTOR:
20227 507 : operands[4] = x7;
20228 507 : x8 = XEXP (x3, 2);
20229 507 : operands[5] = x8;
20230 507 : x9 = XVECEXP (x2, 0, 1);
20231 507 : operands[6] = x9;
20232 507 : switch (GET_MODE (operands[0]))
20233 : {
20234 191 : case E_V32HFmode:
20235 191 : if (pattern1643 (x2,
20236 : E_SImode,
20237 : E_V32HFmode) != 0
20238 191 : || !insn_condition_1362 (operands, insn))
20239 23 : return -1;
20240 : return 3991; /* fma_fmadd_v32hf_maskz_1_round */
20241 :
20242 158 : case E_V16SFmode:
20243 158 : if (pattern1643 (x2,
20244 : E_HImode,
20245 : E_V16SFmode) != 0
20246 158 : || !insn_condition_1363 (operands, insn))
20247 4 : return -1;
20248 : return 4001; /* fma_fmadd_v16sf_maskz_1_round */
20249 :
20250 158 : case E_V8DFmode:
20251 158 : if (pattern1643 (x2,
20252 : E_QImode,
20253 : E_V8DFmode) != 0
20254 158 : || !insn_condition_1364 (operands, insn))
20255 4 : return -1;
20256 : return 4010; /* fma_fmadd_v8df_maskz_1_round */
20257 :
20258 : default:
20259 : return -1;
20260 : }
20261 :
20262 2335 : case REG:
20263 2335 : case SUBREG:
20264 2335 : case MEM:
20265 2335 : switch (pattern1453 (x2))
20266 : {
20267 447 : case 0:
20268 447 : if (pattern1644 (x2,
20269 : E_SImode,
20270 : E_V32HFmode) != 0)
20271 : return -1;
20272 426 : if (nonimmediate_operand (operands[1], E_V32HFmode)
20273 426 : && register_operand (operands[3], E_V32HFmode)
20274 413 : && rtx_equal_p (x7, operands[1])
20275 426 : && insn_condition_1393 (operands, insn))
20276 : return 4016; /* avx512bw_fmadd_v32hf_mask_round */
20277 196 : if (!register_operand (operands[1], E_V32HFmode)
20278 191 : || !nonimmediate_operand (operands[3], E_V32HFmode)
20279 191 : || !rtx_equal_p (x7, operands[3])
20280 196 : || !insn_condition_89 (operands, insn))
20281 9 : return -1;
20282 : return 4028; /* avx512bw_fmadd_v32hf_mask3_round */
20283 :
20284 400 : case 1:
20285 400 : if (pattern1644 (x2,
20286 : E_HImode,
20287 : E_V16SFmode) != 0)
20288 : return -1;
20289 394 : if (nonimmediate_operand (operands[1], E_V16SFmode)
20290 394 : && register_operand (operands[3], E_V16SFmode)
20291 385 : && rtx_equal_p (x7, operands[1])
20292 394 : && insn_condition_1394 (operands, insn))
20293 : return 4020; /* avx512f_fmadd_v16sf_mask_round */
20294 185 : if (!register_operand (operands[1], E_V16SFmode)
20295 184 : || !nonimmediate_operand (operands[3], E_V16SFmode)
20296 184 : || !rtx_equal_p (x7, operands[3])
20297 369 : || !insn_condition_27 (operands, insn))
20298 1 : return -1;
20299 : return 4034; /* avx512f_fmadd_v16sf_mask3_round */
20300 :
20301 401 : case 2:
20302 401 : if (pattern1644 (x2,
20303 : E_QImode,
20304 : E_V8DFmode) != 0)
20305 : return -1;
20306 395 : if (nonimmediate_operand (operands[1], E_V8DFmode)
20307 395 : && register_operand (operands[3], E_V8DFmode)
20308 386 : && rtx_equal_p (x7, operands[1])
20309 395 : && insn_condition_1395 (operands, insn))
20310 : return 4024; /* avx512f_fmadd_v8df_mask_round */
20311 186 : if (!register_operand (operands[1], E_V8DFmode)
20312 185 : || !nonimmediate_operand (operands[3], E_V8DFmode)
20313 185 : || !rtx_equal_p (x7, operands[3])
20314 371 : || !insn_condition_27 (operands, insn))
20315 1 : return -1;
20316 : return 4040; /* avx512f_fmadd_v8df_mask3_round */
20317 :
20318 0 : case 3:
20319 0 : if (pattern1645 (x2,
20320 : E_V16HFmode,
20321 : E_HImode) != 0
20322 0 : || !insn_condition_980 (operands, insn))
20323 0 : return -1;
20324 : return 4030; /* avx512vl_fmadd_v16hf_mask3_round */
20325 :
20326 0 : case 4:
20327 0 : if (pattern1645 (x2,
20328 : E_V8HFmode,
20329 : E_QImode) != 0
20330 0 : || !insn_condition_980 (operands, insn))
20331 0 : return -1;
20332 : return 4032; /* avx512fp16_fmadd_v8hf_mask3_round */
20333 :
20334 0 : case 5:
20335 0 : if (pattern1645 (x2,
20336 : E_V8SFmode,
20337 : E_QImode) != 0
20338 0 : || !insn_condition_341 (operands, insn))
20339 0 : return -1;
20340 : return 4036; /* avx512vl_fmadd_v8sf_mask3_round */
20341 :
20342 0 : case 6:
20343 0 : if (pattern1645 (x2,
20344 : E_V4SFmode,
20345 : E_QImode) != 0
20346 0 : || !insn_condition_341 (operands, insn))
20347 0 : return -1;
20348 : return 4038; /* avx512vl_fmadd_v4sf_mask3_round */
20349 :
20350 0 : case 7:
20351 0 : if (pattern1645 (x2,
20352 : E_V4DFmode,
20353 : E_QImode) != 0
20354 0 : || !insn_condition_341 (operands, insn))
20355 0 : return -1;
20356 : return 4042; /* avx512vl_fmadd_v4df_mask3_round */
20357 :
20358 0 : case 8:
20359 0 : if (pattern1645 (x2,
20360 : E_V2DFmode,
20361 : E_QImode) != 0
20362 0 : || !insn_condition_341 (operands, insn))
20363 0 : return -1;
20364 : return 4044; /* avx512vl_fmadd_v2df_mask3_round */
20365 :
20366 380 : case 9:
20367 380 : if (pattern1709 (x2,
20368 : E_V8HFmode) != 0
20369 380 : || !insn_condition_1396 (operands, insn))
20370 44 : return -1;
20371 : return 4371; /* *fmai_fmadd_v8hf */
20372 :
20373 338 : case 10:
20374 338 : if (pattern1709 (x2,
20375 : E_V4SFmode) != 0
20376 338 : || !insn_condition_1397 (operands, insn))
20377 22 : return -1;
20378 : return 4373; /* *fmai_fmadd_v4sf */
20379 :
20380 338 : case 11:
20381 338 : if (pattern1709 (x2,
20382 : E_V2DFmode) != 0
20383 338 : || !insn_condition_1398 (operands, insn))
20384 22 : return -1;
20385 : return 4375; /* *fmai_fmadd_v2df */
20386 :
20387 : default:
20388 : return -1;
20389 : }
20390 :
20391 : default:
20392 : return -1;
20393 : }
20394 :
20395 1996 : case NEG:
20396 1996 : x10 = XEXP (x6, 0);
20397 1996 : operands[3] = x10;
20398 1996 : x7 = XEXP (x3, 1);
20399 1996 : switch (GET_CODE (x7))
20400 : {
20401 507 : case CONST_INT:
20402 507 : case CONST_DOUBLE:
20403 507 : case CONST_VECTOR:
20404 507 : operands[4] = x7;
20405 507 : x8 = XEXP (x3, 2);
20406 507 : operands[5] = x8;
20407 507 : x9 = XVECEXP (x2, 0, 1);
20408 507 : operands[6] = x9;
20409 507 : switch (GET_MODE (operands[0]))
20410 : {
20411 191 : case E_V32HFmode:
20412 191 : if (pattern1647 (x2,
20413 : E_SImode,
20414 : E_V32HFmode) != 0
20415 191 : || !insn_condition_1362 (operands, insn))
20416 23 : return -1;
20417 : return 4054; /* fma_fmsub_v32hf_maskz_1_round */
20418 :
20419 158 : case E_V16SFmode:
20420 158 : if (pattern1647 (x2,
20421 : E_HImode,
20422 : E_V16SFmode) != 0
20423 158 : || !insn_condition_1363 (operands, insn))
20424 4 : return -1;
20425 : return 4064; /* fma_fmsub_v16sf_maskz_1_round */
20426 :
20427 158 : case E_V8DFmode:
20428 158 : if (pattern1647 (x2,
20429 : E_QImode,
20430 : E_V8DFmode) != 0
20431 158 : || !insn_condition_1364 (operands, insn))
20432 4 : return -1;
20433 : return 4073; /* fma_fmsub_v8df_maskz_1_round */
20434 :
20435 : default:
20436 : return -1;
20437 : }
20438 :
20439 1488 : case REG:
20440 1488 : case SUBREG:
20441 1488 : case MEM:
20442 1488 : x8 = XEXP (x3, 2);
20443 1488 : switch (GET_CODE (x8))
20444 : {
20445 1223 : case REG:
20446 1223 : case SUBREG:
20447 1223 : operands[4] = x8;
20448 1223 : x9 = XVECEXP (x2, 0, 1);
20449 1223 : operands[5] = x9;
20450 1223 : switch (GET_MODE (operands[0]))
20451 : {
20452 447 : case E_V32HFmode:
20453 447 : if (pattern1648 (x2,
20454 : E_SImode,
20455 : E_V32HFmode) != 0)
20456 : return -1;
20457 426 : if (nonimmediate_operand (operands[1], E_V32HFmode)
20458 426 : && register_operand (operands[3], E_V32HFmode)
20459 413 : && rtx_equal_p (x7, operands[1])
20460 426 : && insn_condition_89 (operands, insn))
20461 : return 4079; /* avx512bw_fmsub_v32hf_mask_round */
20462 196 : if (!register_operand (operands[1], E_V32HFmode)
20463 191 : || !nonimmediate_operand (operands[3], E_V32HFmode)
20464 191 : || !rtx_equal_p (x7, operands[3])
20465 196 : || !insn_condition_1393 (operands, insn))
20466 9 : return -1;
20467 : return 4097; /* avx512bw_fmsub_v32hf_mask3_round */
20468 :
20469 0 : case E_V16HFmode:
20470 0 : if (pattern1649 (x2,
20471 : E_V16HFmode,
20472 : E_HImode) != 0
20473 0 : || !insn_condition_980 (operands, insn))
20474 0 : return -1;
20475 : return 4081; /* avx512vl_fmsub_v16hf_mask_round */
20476 :
20477 0 : case E_V8HFmode:
20478 0 : if (pattern1649 (x2,
20479 : E_V8HFmode,
20480 : E_QImode) != 0
20481 0 : || !insn_condition_980 (operands, insn))
20482 0 : return -1;
20483 : return 4083; /* avx512fp16_fmsub_v8hf_mask_round */
20484 :
20485 388 : case E_V16SFmode:
20486 388 : if (pattern1648 (x2,
20487 : E_HImode,
20488 : E_V16SFmode) != 0)
20489 : return -1;
20490 382 : if (nonimmediate_operand (operands[1], E_V16SFmode)
20491 382 : && register_operand (operands[3], E_V16SFmode)
20492 373 : && rtx_equal_p (x7, operands[1])
20493 591 : && insn_condition_27 (operands, insn))
20494 : return 4085; /* avx512f_fmsub_v16sf_mask_round */
20495 173 : if (!register_operand (operands[1], E_V16SFmode)
20496 172 : || !nonimmediate_operand (operands[3], E_V16SFmode)
20497 172 : || !rtx_equal_p (x7, operands[3])
20498 173 : || !insn_condition_1394 (operands, insn))
20499 1 : return -1;
20500 : return 4101; /* avx512f_fmsub_v16sf_mask3_round */
20501 :
20502 0 : case E_V8SFmode:
20503 0 : if (pattern1649 (x2,
20504 : E_V8SFmode,
20505 : E_QImode) != 0
20506 0 : || !insn_condition_341 (operands, insn))
20507 0 : return -1;
20508 : return 4087; /* avx512vl_fmsub_v8sf_mask_round */
20509 :
20510 0 : case E_V4SFmode:
20511 0 : if (pattern1649 (x2,
20512 : E_V4SFmode,
20513 : E_QImode) != 0
20514 0 : || !insn_condition_341 (operands, insn))
20515 0 : return -1;
20516 : return 4089; /* avx512vl_fmsub_v4sf_mask_round */
20517 :
20518 388 : case E_V8DFmode:
20519 388 : if (pattern1648 (x2,
20520 : E_QImode,
20521 : E_V8DFmode) != 0)
20522 : return -1;
20523 382 : if (nonimmediate_operand (operands[1], E_V8DFmode)
20524 382 : && register_operand (operands[3], E_V8DFmode)
20525 373 : && rtx_equal_p (x7, operands[1])
20526 591 : && insn_condition_27 (operands, insn))
20527 : return 4091; /* avx512f_fmsub_v8df_mask_round */
20528 173 : if (!register_operand (operands[1], E_V8DFmode)
20529 172 : || !nonimmediate_operand (operands[3], E_V8DFmode)
20530 172 : || !rtx_equal_p (x7, operands[3])
20531 173 : || !insn_condition_1395 (operands, insn))
20532 1 : return -1;
20533 : return 4105; /* avx512f_fmsub_v8df_mask3_round */
20534 :
20535 0 : case E_V4DFmode:
20536 0 : if (pattern1649 (x2,
20537 : E_V4DFmode,
20538 : E_QImode) != 0
20539 0 : || !insn_condition_341 (operands, insn))
20540 0 : return -1;
20541 : return 4093; /* avx512vl_fmsub_v4df_mask_round */
20542 :
20543 0 : case E_V2DFmode:
20544 0 : if (pattern1649 (x2,
20545 : E_V2DFmode,
20546 : E_QImode) != 0
20547 0 : || !insn_condition_341 (operands, insn))
20548 0 : return -1;
20549 : return 4095; /* avx512vl_fmsub_v2df_mask_round */
20550 :
20551 : default:
20552 : return -1;
20553 : }
20554 :
20555 265 : case CONST_INT:
20556 265 : if (XWINT (x8, 0) != 1L)
20557 : return -1;
20558 256 : x9 = XVECEXP (x2, 0, 1);
20559 256 : operands[4] = x9;
20560 256 : if (!rtx_equal_p (x7, operands[1]))
20561 : return -1;
20562 231 : switch (GET_MODE (operands[0]))
20563 : {
20564 153 : case E_V8HFmode:
20565 153 : if (pattern1710 (x2,
20566 : E_V8HFmode) != 0
20567 153 : || !insn_condition_1396 (operands, insn))
20568 50 : return -1;
20569 : return 4377; /* *fmai_fmsub_v8hf */
20570 :
20571 39 : case E_V4SFmode:
20572 39 : if (pattern1710 (x2,
20573 : E_V4SFmode) != 0
20574 39 : || !insn_condition_1397 (operands, insn))
20575 4 : return -1;
20576 : return 4379; /* *fmai_fmsub_v4sf */
20577 :
20578 39 : case E_V2DFmode:
20579 39 : if (pattern1710 (x2,
20580 : E_V2DFmode) != 0
20581 39 : || !insn_condition_1398 (operands, insn))
20582 4 : return -1;
20583 : return 4381; /* *fmai_fmsub_v2df */
20584 :
20585 : default:
20586 : return -1;
20587 : }
20588 :
20589 : default:
20590 : return -1;
20591 : }
20592 :
20593 : default:
20594 : return -1;
20595 : }
20596 :
20597 : default:
20598 : return -1;
20599 : }
20600 : }
20601 :
20602 : int
20603 8623 : recog_246 (rtx x1 ATTRIBUTE_UNUSED,
20604 : rtx_insn *insn ATTRIBUTE_UNUSED,
20605 : int *pnum_clobbers ATTRIBUTE_UNUSED)
20606 : {
20607 8623 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
20608 8623 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
20609 8623 : rtx x10, x11, x12;
20610 8623 : int res ATTRIBUTE_UNUSED;
20611 8623 : x2 = XEXP (x1, 1);
20612 8623 : x3 = XVECEXP (x2, 0, 0);
20613 8623 : x4 = XEXP (x3, 0);
20614 8623 : x5 = XEXP (x4, 1);
20615 8623 : operands[2] = x5;
20616 8623 : x6 = XVECEXP (x2, 0, 1);
20617 8623 : if (!const_4_or_8_to_11_operand (x6, E_SImode))
20618 : return -1;
20619 8623 : x7 = XEXP (x4, 0);
20620 8623 : switch (GET_CODE (x7))
20621 : {
20622 4839 : case REG:
20623 4839 : case SUBREG:
20624 4839 : case MEM:
20625 4839 : return recog_244 (x1, insn, pnum_clobbers);
20626 :
20627 3784 : case NEG:
20628 3784 : x8 = XEXP (x7, 0);
20629 3784 : operands[1] = x8;
20630 3784 : x9 = XEXP (x4, 2);
20631 3784 : switch (GET_CODE (x9))
20632 : {
20633 1986 : case REG:
20634 1986 : case SUBREG:
20635 1986 : case MEM:
20636 1986 : operands[3] = x9;
20637 1986 : x10 = XEXP (x3, 1);
20638 1986 : switch (GET_CODE (x10))
20639 : {
20640 507 : case CONST_INT:
20641 507 : case CONST_DOUBLE:
20642 507 : case CONST_VECTOR:
20643 507 : operands[4] = x10;
20644 507 : x11 = XEXP (x3, 2);
20645 507 : operands[5] = x11;
20646 507 : operands[6] = x6;
20647 507 : switch (GET_MODE (operands[0]))
20648 : {
20649 191 : case E_V32HFmode:
20650 191 : if (pattern1650 (x2,
20651 : E_SImode,
20652 : E_V32HFmode) != 0
20653 191 : || !insn_condition_1362 (operands, insn))
20654 23 : return -1;
20655 : return 4117; /* fma_fnmadd_v32hf_maskz_1_round */
20656 :
20657 158 : case E_V16SFmode:
20658 158 : if (pattern1650 (x2,
20659 : E_HImode,
20660 : E_V16SFmode) != 0
20661 158 : || !insn_condition_1363 (operands, insn))
20662 4 : return -1;
20663 : return 4127; /* fma_fnmadd_v16sf_maskz_1_round */
20664 :
20665 158 : case E_V8DFmode:
20666 158 : if (pattern1650 (x2,
20667 : E_QImode,
20668 : E_V8DFmode) != 0
20669 158 : || !insn_condition_1364 (operands, insn))
20670 4 : return -1;
20671 : return 4136; /* fma_fnmadd_v8df_maskz_1_round */
20672 :
20673 : default:
20674 : return -1;
20675 : }
20676 :
20677 1479 : case REG:
20678 1479 : case SUBREG:
20679 1479 : case MEM:
20680 1479 : x11 = XEXP (x3, 2);
20681 1479 : switch (GET_CODE (x11))
20682 : {
20683 1223 : case REG:
20684 1223 : case SUBREG:
20685 1223 : operands[4] = x11;
20686 1223 : operands[5] = x6;
20687 1223 : switch (GET_MODE (operands[0]))
20688 : {
20689 447 : case E_V32HFmode:
20690 447 : if (pattern1651 (x2,
20691 : E_SImode,
20692 : E_V32HFmode) != 0)
20693 : return -1;
20694 426 : if (nonimmediate_operand (operands[1], E_V32HFmode)
20695 426 : && register_operand (operands[3], E_V32HFmode)
20696 413 : && rtx_equal_p (x10, operands[1])
20697 426 : && insn_condition_1393 (operands, insn))
20698 : return 4142; /* avx512bw_fnmadd_v32hf_mask_round */
20699 196 : if (!register_operand (operands[1], E_V32HFmode)
20700 191 : || !nonimmediate_operand (operands[3], E_V32HFmode)
20701 191 : || !rtx_equal_p (x10, operands[3])
20702 196 : || !insn_condition_1393 (operands, insn))
20703 9 : return -1;
20704 : return 4154; /* avx512bw_fnmadd_v32hf_mask3_round */
20705 :
20706 388 : case E_V16SFmode:
20707 388 : if (pattern1651 (x2,
20708 : E_HImode,
20709 : E_V16SFmode) != 0)
20710 : return -1;
20711 382 : if (nonimmediate_operand (operands[1], E_V16SFmode)
20712 382 : && register_operand (operands[3], E_V16SFmode)
20713 373 : && rtx_equal_p (x10, operands[1])
20714 382 : && insn_condition_1394 (operands, insn))
20715 : return 4146; /* avx512f_fnmadd_v16sf_mask_round */
20716 173 : if (!register_operand (operands[1], E_V16SFmode)
20717 172 : || !nonimmediate_operand (operands[3], E_V16SFmode)
20718 172 : || !rtx_equal_p (x10, operands[3])
20719 173 : || !insn_condition_1394 (operands, insn))
20720 1 : return -1;
20721 : return 4158; /* avx512f_fnmadd_v16sf_mask3_round */
20722 :
20723 388 : case E_V8DFmode:
20724 388 : if (pattern1651 (x2,
20725 : E_QImode,
20726 : E_V8DFmode) != 0)
20727 : return -1;
20728 382 : if (nonimmediate_operand (operands[1], E_V8DFmode)
20729 382 : && register_operand (operands[3], E_V8DFmode)
20730 373 : && rtx_equal_p (x10, operands[1])
20731 382 : && insn_condition_1395 (operands, insn))
20732 : return 4150; /* avx512f_fnmadd_v8df_mask_round */
20733 173 : if (!register_operand (operands[1], E_V8DFmode)
20734 172 : || !nonimmediate_operand (operands[3], E_V8DFmode)
20735 172 : || !rtx_equal_p (x10, operands[3])
20736 173 : || !insn_condition_1395 (operands, insn))
20737 1 : return -1;
20738 : return 4162; /* avx512f_fnmadd_v8df_mask3_round */
20739 :
20740 : default:
20741 : return -1;
20742 : }
20743 :
20744 256 : case CONST_INT:
20745 256 : if (XWINT (x11, 0) != 1L)
20746 : return -1;
20747 247 : operands[4] = x6;
20748 247 : if (!rtx_equal_p (x10, operands[1]))
20749 : return -1;
20750 191 : switch (GET_MODE (operands[0]))
20751 : {
20752 151 : case E_V8HFmode:
20753 151 : if (pattern1711 (x2,
20754 : E_V8HFmode) != 0
20755 151 : || !insn_condition_1396 (operands, insn))
20756 27 : return -1;
20757 : return 4383; /* *fmai_fnmadd_v8hf_round */
20758 :
20759 20 : case E_V4SFmode:
20760 20 : if (pattern1711 (x2,
20761 : E_V4SFmode) != 0
20762 20 : || !insn_condition_1397 (operands, insn))
20763 4 : return -1;
20764 : return 4385; /* *fmai_fnmadd_v4sf_round */
20765 :
20766 20 : case E_V2DFmode:
20767 20 : if (pattern1711 (x2,
20768 : E_V2DFmode) != 0
20769 20 : || !insn_condition_1398 (operands, insn))
20770 4 : return -1;
20771 : return 4387; /* *fmai_fnmadd_v2df_round */
20772 :
20773 : default:
20774 : return -1;
20775 : }
20776 :
20777 : default:
20778 : return -1;
20779 : }
20780 :
20781 : default:
20782 : return -1;
20783 : }
20784 :
20785 1797 : case NEG:
20786 1797 : x12 = XEXP (x9, 0);
20787 1797 : operands[3] = x12;
20788 1797 : x10 = XEXP (x3, 1);
20789 1797 : switch (GET_CODE (x10))
20790 : {
20791 507 : case CONST_INT:
20792 507 : case CONST_DOUBLE:
20793 507 : case CONST_VECTOR:
20794 507 : operands[4] = x10;
20795 507 : x11 = XEXP (x3, 2);
20796 507 : operands[5] = x11;
20797 507 : operands[6] = x6;
20798 507 : switch (GET_MODE (operands[0]))
20799 : {
20800 0 : case E_V4SFmode:
20801 0 : if (pattern1652 (x2,
20802 : E_V4SFmode) != 0
20803 0 : || !insn_condition_91 (operands, insn))
20804 0 : return -1;
20805 : return 4172; /* *fma_fnmsub_v4sf */
20806 :
20807 0 : case E_V2DFmode:
20808 0 : if (pattern1652 (x2,
20809 : E_V2DFmode) != 0
20810 0 : || !insn_condition_91 (operands, insn))
20811 0 : return -1;
20812 : return 4176; /* *fma_fnmsub_v2df */
20813 :
20814 0 : case E_V8SFmode:
20815 0 : if (pattern1652 (x2,
20816 : E_V8SFmode) != 0
20817 0 : || !insn_condition_91 (operands, insn))
20818 0 : return -1;
20819 : return 4180; /* *fma_fnmsub_v8sf */
20820 :
20821 0 : case E_V4DFmode:
20822 0 : if (pattern1652 (x2,
20823 : E_V4DFmode) != 0
20824 0 : || !insn_condition_91 (operands, insn))
20825 0 : return -1;
20826 : return 4184; /* *fma_fnmsub_v4df */
20827 :
20828 191 : case E_V32HFmode:
20829 191 : if (pattern1653 (x2,
20830 : E_SImode,
20831 : E_V32HFmode) != 0
20832 191 : || !insn_condition_1362 (operands, insn))
20833 23 : return -1;
20834 : return 4188; /* fma_fnmsub_v32hf_maskz_1_round */
20835 :
20836 158 : case E_V16SFmode:
20837 158 : if (pattern1653 (x2,
20838 : E_HImode,
20839 : E_V16SFmode) != 0
20840 158 : || !insn_condition_1363 (operands, insn))
20841 4 : return -1;
20842 : return 4198; /* fma_fnmsub_v16sf_maskz_1_round */
20843 :
20844 158 : case E_V8DFmode:
20845 158 : if (pattern1653 (x2,
20846 : E_QImode,
20847 : E_V8DFmode) != 0
20848 158 : || !insn_condition_1364 (operands, insn))
20849 4 : return -1;
20850 : return 4207; /* fma_fnmsub_v8df_maskz_1_round */
20851 :
20852 : default:
20853 : return -1;
20854 : }
20855 :
20856 1289 : case REG:
20857 1289 : case SUBREG:
20858 1289 : case MEM:
20859 1289 : switch (pattern1453 (x2))
20860 : {
20861 447 : case 0:
20862 447 : if (pattern1654 (x2,
20863 : E_SImode,
20864 : E_V32HFmode) != 0)
20865 : return -1;
20866 426 : if (nonimmediate_operand (operands[1], E_V32HFmode)
20867 426 : && register_operand (operands[3], E_V32HFmode)
20868 413 : && rtx_equal_p (x10, operands[1])
20869 426 : && insn_condition_1393 (operands, insn))
20870 : return 4213; /* avx512bw_fnmsub_v32hf_mask_round */
20871 196 : if (!register_operand (operands[1], E_V32HFmode)
20872 191 : || !nonimmediate_operand (operands[3], E_V32HFmode)
20873 191 : || !rtx_equal_p (x10, operands[3])
20874 196 : || !insn_condition_89 (operands, insn))
20875 9 : return -1;
20876 : return 4225; /* avx512bw_fnmsub_v32hf_mask3_round */
20877 :
20878 388 : case 1:
20879 388 : if (pattern1654 (x2,
20880 : E_HImode,
20881 : E_V16SFmode) != 0)
20882 : return -1;
20883 382 : if (nonimmediate_operand (operands[1], E_V16SFmode)
20884 382 : && register_operand (operands[3], E_V16SFmode)
20885 373 : && rtx_equal_p (x10, operands[1])
20886 382 : && insn_condition_1394 (operands, insn))
20887 : return 4217; /* avx512f_fnmsub_v16sf_mask_round */
20888 173 : if (!register_operand (operands[1], E_V16SFmode)
20889 172 : || !nonimmediate_operand (operands[3], E_V16SFmode)
20890 172 : || !rtx_equal_p (x10, operands[3])
20891 345 : || !insn_condition_27 (operands, insn))
20892 1 : return -1;
20893 : return 4231; /* avx512f_fnmsub_v16sf_mask3_round */
20894 :
20895 388 : case 2:
20896 388 : if (pattern1654 (x2,
20897 : E_QImode,
20898 : E_V8DFmode) != 0)
20899 : return -1;
20900 382 : if (nonimmediate_operand (operands[1], E_V8DFmode)
20901 382 : && register_operand (operands[3], E_V8DFmode)
20902 373 : && rtx_equal_p (x10, operands[1])
20903 382 : && insn_condition_1395 (operands, insn))
20904 : return 4221; /* avx512f_fnmsub_v8df_mask_round */
20905 173 : if (!register_operand (operands[1], E_V8DFmode)
20906 172 : || !nonimmediate_operand (operands[3], E_V8DFmode)
20907 172 : || !rtx_equal_p (x10, operands[3])
20908 345 : || !insn_condition_27 (operands, insn))
20909 1 : return -1;
20910 : return 4237; /* avx512f_fnmsub_v8df_mask3_round */
20911 :
20912 0 : case 3:
20913 0 : if (pattern1655 (x2,
20914 : E_V16HFmode,
20915 : E_HImode) != 0
20916 0 : || !insn_condition_980 (operands, insn))
20917 0 : return -1;
20918 : return 4227; /* avx512vl_fnmsub_v16hf_mask3_round */
20919 :
20920 0 : case 4:
20921 0 : if (pattern1655 (x2,
20922 : E_V8HFmode,
20923 : E_QImode) != 0
20924 0 : || !insn_condition_980 (operands, insn))
20925 0 : return -1;
20926 : return 4229; /* avx512fp16_fnmsub_v8hf_mask3_round */
20927 :
20928 0 : case 5:
20929 0 : if (pattern1655 (x2,
20930 : E_V8SFmode,
20931 : E_QImode) != 0
20932 0 : || !insn_condition_341 (operands, insn))
20933 0 : return -1;
20934 : return 4233; /* avx512vl_fnmsub_v8sf_mask3_round */
20935 :
20936 0 : case 6:
20937 0 : if (pattern1655 (x2,
20938 : E_V4SFmode,
20939 : E_QImode) != 0
20940 0 : || !insn_condition_341 (operands, insn))
20941 0 : return -1;
20942 : return 4235; /* avx512vl_fnmsub_v4sf_mask3_round */
20943 :
20944 0 : case 7:
20945 0 : if (pattern1655 (x2,
20946 : E_V4DFmode,
20947 : E_QImode) != 0
20948 0 : || !insn_condition_341 (operands, insn))
20949 0 : return -1;
20950 : return 4239; /* avx512vl_fnmsub_v4df_mask3_round */
20951 :
20952 0 : case 8:
20953 0 : if (pattern1655 (x2,
20954 : E_V2DFmode,
20955 : E_QImode) != 0
20956 0 : || !insn_condition_341 (operands, insn))
20957 0 : return -1;
20958 : return 4241; /* avx512vl_fnmsub_v2df_mask3_round */
20959 :
20960 28 : case 9:
20961 28 : if (pattern1712 (x2,
20962 : E_V8HFmode) != 0
20963 28 : || !insn_condition_1396 (operands, insn))
20964 13 : return -1;
20965 : return 4389; /* *fmai_fnmsub_v8hf_round */
20966 :
20967 13 : case 10:
20968 13 : if (pattern1712 (x2,
20969 : E_V4SFmode) != 0
20970 13 : || !insn_condition_1397 (operands, insn))
20971 4 : return -1;
20972 : return 4391; /* *fmai_fnmsub_v4sf_round */
20973 :
20974 13 : case 11:
20975 13 : if (pattern1712 (x2,
20976 : E_V2DFmode) != 0
20977 13 : || !insn_condition_1398 (operands, insn))
20978 4 : return -1;
20979 : return 4393; /* *fmai_fnmsub_v2df_round */
20980 :
20981 : default:
20982 : return -1;
20983 : }
20984 :
20985 : default:
20986 : return -1;
20987 : }
20988 :
20989 : default:
20990 : return -1;
20991 : }
20992 :
20993 : default:
20994 : return -1;
20995 : }
20996 : }
20997 :
20998 : int
20999 94010 : recog_253 (rtx x1 ATTRIBUTE_UNUSED,
21000 : rtx_insn *insn ATTRIBUTE_UNUSED,
21001 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21002 : {
21003 94010 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21004 94010 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
21005 94010 : int res ATTRIBUTE_UNUSED;
21006 94010 : x2 = XEXP (x1, 0);
21007 94010 : operands[0] = x2;
21008 94010 : x3 = XEXP (x1, 1);
21009 94010 : x4 = XVECEXP (x3, 0, 0);
21010 94010 : switch (GET_CODE (x4))
21011 : {
21012 175 : case PLUS:
21013 175 : switch (pattern522 (x3))
21014 : {
21015 39 : case 0:
21016 39 : if (!insn_condition_1477 (operands, insn))
21017 0 : return -1;
21018 : return 2859; /* *addv32hf3_round */
21019 :
21020 0 : case 1:
21021 0 : if (!insn_condition_1478 (operands, insn))
21022 0 : return -1;
21023 : return 2867; /* *addv16hf3_round */
21024 :
21025 0 : case 2:
21026 0 : if (!insn_condition_1479 (operands, insn))
21027 0 : return -1;
21028 : return 2875; /* *addv8hf3_round */
21029 :
21030 56 : case 3:
21031 56 : if (!insn_condition_1480 (operands, insn))
21032 0 : return -1;
21033 : return 2883; /* *addv16sf3_round */
21034 :
21035 0 : case 4:
21036 0 : if (!insn_condition_1481 (operands, insn))
21037 0 : return -1;
21038 : return 2891; /* *addv8sf3_round */
21039 :
21040 0 : case 5:
21041 0 : if (!insn_condition_1482 (operands, insn))
21042 0 : return -1;
21043 : return 2899; /* *addv4sf3_round */
21044 :
21045 46 : case 6:
21046 46 : if (!insn_condition_1483 (operands, insn))
21047 0 : return -1;
21048 : return 2907; /* *addv8df3_round */
21049 :
21050 0 : case 7:
21051 0 : if (!insn_condition_1484 (operands, insn))
21052 0 : return -1;
21053 : return 2915; /* *addv4df3_round */
21054 :
21055 0 : case 8:
21056 0 : if (!insn_condition_1485 (operands, insn))
21057 0 : return -1;
21058 : return 2923; /* *addv2df3_round */
21059 :
21060 : default:
21061 : return -1;
21062 : }
21063 :
21064 83484 : case VEC_MERGE:
21065 83484 : return recog_250 (x1, insn, pnum_clobbers);
21066 :
21067 155 : case MINUS:
21068 155 : switch (pattern522 (x3))
21069 : {
21070 39 : case 0:
21071 39 : if (!insn_condition_1486 (operands, insn))
21072 0 : return -1;
21073 : return 2863; /* *subv32hf3_round */
21074 :
21075 0 : case 1:
21076 0 : if (!insn_condition_1487 (operands, insn))
21077 0 : return -1;
21078 : return 2871; /* *subv16hf3_round */
21079 :
21080 0 : case 2:
21081 0 : if (!insn_condition_1488 (operands, insn))
21082 0 : return -1;
21083 : return 2879; /* *subv8hf3_round */
21084 :
21085 46 : case 3:
21086 46 : if (!insn_condition_1489 (operands, insn))
21087 0 : return -1;
21088 : return 2887; /* *subv16sf3_round */
21089 :
21090 0 : case 4:
21091 0 : if (!insn_condition_1490 (operands, insn))
21092 0 : return -1;
21093 : return 2895; /* *subv8sf3_round */
21094 :
21095 0 : case 5:
21096 0 : if (!insn_condition_1491 (operands, insn))
21097 0 : return -1;
21098 : return 2903; /* *subv4sf3_round */
21099 :
21100 46 : case 6:
21101 46 : if (!insn_condition_1492 (operands, insn))
21102 0 : return -1;
21103 : return 2911; /* *subv8df3_round */
21104 :
21105 0 : case 7:
21106 0 : if (!insn_condition_1493 (operands, insn))
21107 0 : return -1;
21108 : return 2919; /* *subv4df3_round */
21109 :
21110 0 : case 8:
21111 0 : if (!insn_condition_1494 (operands, insn))
21112 0 : return -1;
21113 : return 2927; /* *subv2df3_round */
21114 :
21115 : default:
21116 : return -1;
21117 : }
21118 :
21119 155 : case MULT:
21120 155 : switch (pattern522 (x3))
21121 : {
21122 39 : case 0:
21123 39 : if (!insn_condition_1495 (operands, insn))
21124 0 : return -1;
21125 : return 2961; /* *mulv32hf3_round */
21126 :
21127 0 : case 1:
21128 0 : if (!insn_condition_1496 (operands, insn))
21129 0 : return -1;
21130 : return 2965; /* *mulv16hf3_round */
21131 :
21132 0 : case 2:
21133 0 : if (!insn_condition_1497 (operands, insn))
21134 0 : return -1;
21135 : return 2969; /* *mulv8hf3_round */
21136 :
21137 46 : case 3:
21138 46 : if (!insn_condition_1498 (operands, insn))
21139 0 : return -1;
21140 : return 2973; /* *mulv16sf3_round */
21141 :
21142 0 : case 4:
21143 0 : if (!insn_condition_1499 (operands, insn))
21144 0 : return -1;
21145 : return 2977; /* *mulv8sf3_round */
21146 :
21147 0 : case 5:
21148 0 : if (!insn_condition_1500 (operands, insn))
21149 0 : return -1;
21150 : return 2981; /* *mulv4sf3_round */
21151 :
21152 46 : case 6:
21153 46 : if (!insn_condition_1501 (operands, insn))
21154 0 : return -1;
21155 : return 2985; /* *mulv8df3_round */
21156 :
21157 0 : case 7:
21158 0 : if (!insn_condition_1502 (operands, insn))
21159 0 : return -1;
21160 : return 2989; /* *mulv4df3_round */
21161 :
21162 0 : case 8:
21163 0 : if (!insn_condition_1503 (operands, insn))
21164 0 : return -1;
21165 : return 2993; /* *mulv2df3_round */
21166 :
21167 : default:
21168 : return -1;
21169 : }
21170 :
21171 155 : case DIV:
21172 155 : x5 = XEXP (x4, 0);
21173 155 : operands[1] = x5;
21174 155 : x6 = XEXP (x4, 1);
21175 155 : operands[2] = x6;
21176 155 : x7 = XVECEXP (x3, 0, 1);
21177 155 : operands[3] = x7;
21178 155 : if (!const_4_or_8_to_11_operand (operands[3], E_SImode))
21179 : return -1;
21180 155 : switch (GET_MODE (operands[0]))
21181 : {
21182 55 : case E_V32HFmode:
21183 55 : if (pattern521 (x3,
21184 : E_V32HFmode) != 0
21185 55 : || !insn_condition_1504 (operands, insn))
21186 16 : return -1;
21187 : return 3027; /* avx512fp16_divv32hf3_round */
21188 :
21189 50 : case E_V16SFmode:
21190 50 : if (pattern521 (x3,
21191 : E_V16SFmode) != 0
21192 50 : || !insn_condition_1505 (operands, insn))
21193 4 : return -1;
21194 : return 3035; /* avx512f_divv16sf3_round */
21195 :
21196 50 : case E_V8DFmode:
21197 50 : if (pattern521 (x3,
21198 : E_V8DFmode) != 0
21199 50 : || !insn_condition_1506 (operands, insn))
21200 4 : return -1;
21201 : return 3043; /* avx512f_divv8df3_round */
21202 :
21203 : default:
21204 : return -1;
21205 : }
21206 :
21207 221 : case SQRT:
21208 221 : x5 = XEXP (x4, 0);
21209 221 : operands[1] = x5;
21210 221 : x7 = XVECEXP (x3, 0, 1);
21211 221 : operands[2] = x7;
21212 221 : if (!const_4_or_8_to_11_operand (operands[2], E_SImode))
21213 : return -1;
21214 221 : switch (GET_MODE (operands[0]))
21215 : {
21216 61 : case E_V32HFmode:
21217 61 : if (pattern1061 (x3,
21218 : E_V32HFmode) != 0
21219 61 : || !insn_condition_1504 (operands, insn))
21220 7 : return -1;
21221 : return 3080; /* avx512fp16_sqrtv32hf2_round */
21222 :
21223 80 : case E_V16SFmode:
21224 80 : if (pattern1061 (x3,
21225 : E_V16SFmode) != 0
21226 80 : || !insn_condition_1505 (operands, insn))
21227 4 : return -1;
21228 : return 3088; /* avx512f_sqrtv16sf2_round */
21229 :
21230 80 : case E_V8DFmode:
21231 80 : if (pattern1061 (x3,
21232 : E_V8DFmode) != 0
21233 80 : || !insn_condition_1506 (operands, insn))
21234 4 : return -1;
21235 : return 3096; /* avx512f_sqrtv8df2_round */
21236 :
21237 : default:
21238 : return -1;
21239 : }
21240 :
21241 0 : case SMAX:
21242 0 : switch (pattern523 (x3))
21243 : {
21244 0 : case 0:
21245 0 : if (!insn_condition_1507 (operands, insn))
21246 0 : return -1;
21247 : return 3158; /* *smaxv32hf3_round */
21248 :
21249 0 : case 1:
21250 0 : if (!insn_condition_1508 (operands, insn))
21251 0 : return -1;
21252 : return 3174; /* *smaxv16sf3_round */
21253 :
21254 0 : case 2:
21255 0 : if (!insn_condition_1509 (operands, insn))
21256 0 : return -1;
21257 : return 3190; /* *smaxv8df3_round */
21258 :
21259 : default:
21260 : return -1;
21261 : }
21262 :
21263 0 : case SMIN:
21264 0 : switch (pattern523 (x3))
21265 : {
21266 0 : case 0:
21267 0 : if (!insn_condition_1507 (operands, insn))
21268 0 : return -1;
21269 : return 3162; /* *sminv32hf3_round */
21270 :
21271 0 : case 1:
21272 0 : if (!insn_condition_1508 (operands, insn))
21273 0 : return -1;
21274 : return 3178; /* *sminv16sf3_round */
21275 :
21276 0 : case 2:
21277 0 : if (!insn_condition_1509 (operands, insn))
21278 0 : return -1;
21279 : return 3194; /* *sminv8df3_round */
21280 :
21281 : default:
21282 : return -1;
21283 : }
21284 :
21285 6587 : case UNSPEC:
21286 6587 : return recog_251 (x1, insn, pnum_clobbers);
21287 :
21288 1332 : case FMA:
21289 1332 : return recog_252 (x1, insn, pnum_clobbers);
21290 :
21291 346 : case FLOAT:
21292 346 : x5 = XEXP (x4, 0);
21293 346 : operands[1] = x5;
21294 346 : x7 = XVECEXP (x3, 0, 1);
21295 346 : operands[2] = x7;
21296 346 : if (!const_4_or_8_to_11_operand (operands[2], E_SImode))
21297 : return -1;
21298 346 : switch (GET_MODE (operands[0]))
21299 : {
21300 61 : case E_V8HFmode:
21301 61 : switch (pattern1069 (x3))
21302 : {
21303 0 : case 0:
21304 0 : if (!insn_condition_965 (operands, insn))
21305 0 : return -1;
21306 : return 4631; /* avx512fp16_vcvtw2ph_v8hi_round */
21307 :
21308 0 : case 1:
21309 0 : if (!insn_condition_965 (operands, insn))
21310 0 : return -1;
21311 : return 4655; /* avx512fp16_vcvtdq2ph_v8si_round */
21312 :
21313 54 : case 2:
21314 54 : if (!insn_condition_26 (operands, insn))
21315 0 : return -1;
21316 : return 4671; /* avx512fp16_vcvtqq2ph_v8di_round */
21317 :
21318 : default:
21319 : return -1;
21320 : }
21321 :
21322 61 : case E_V16HFmode:
21323 61 : switch (pattern1070 (x3))
21324 : {
21325 0 : case 0:
21326 0 : if (!insn_condition_965 (operands, insn))
21327 0 : return -1;
21328 : return 4639; /* avx512fp16_vcvtw2ph_v16hi_round */
21329 :
21330 54 : case 1:
21331 54 : if (!insn_condition_26 (operands, insn))
21332 0 : return -1;
21333 : return 4663; /* avx512fp16_vcvtdq2ph_v16si_round */
21334 :
21335 : default:
21336 : return -1;
21337 : }
21338 :
21339 61 : case E_V32HFmode:
21340 61 : if (pattern524 (x3,
21341 : E_V32HImode,
21342 : E_V32HFmode) != 0
21343 61 : || !insn_condition_26 (operands, insn))
21344 7 : return -1;
21345 : return 4647; /* avx512fp16_vcvtw2ph_v32hi_round */
21346 :
21347 55 : case E_V16SFmode:
21348 55 : if (pattern524 (x3,
21349 : E_V16SImode,
21350 : E_V16SFmode) != 0
21351 55 : || !insn_condition_1510 (operands, insn))
21352 2 : return -1;
21353 : return 4984; /* floatv16siv16sf2_round */
21354 :
21355 54 : case E_V8DFmode:
21356 54 : if (pattern1071 (x3,
21357 : E_V8DImode,
21358 : E_V8DFmode) != 0
21359 54 : || !insn_condition_119 (operands, insn))
21360 3 : return -1;
21361 : return 5135; /* floatv8div8df2_round */
21362 :
21363 0 : case E_V4DFmode:
21364 0 : if (pattern1071 (x3,
21365 : E_V4DImode,
21366 : E_V4DFmode) != 0
21367 0 : || !insn_condition_1103 (operands, insn))
21368 0 : return -1;
21369 : return 5143; /* floatv4div4df2_round */
21370 :
21371 0 : case E_V2DFmode:
21372 0 : if (pattern1071 (x3,
21373 : E_V2DImode,
21374 : E_V2DFmode) != 0
21375 0 : || !insn_condition_1103 (operands, insn))
21376 0 : return -1;
21377 : return 5151; /* floatv2div2df2_round */
21378 :
21379 54 : case E_V8SFmode:
21380 54 : if (pattern1071 (x3,
21381 : E_V8DImode,
21382 : E_V8SFmode) != 0
21383 54 : || !insn_condition_1419 (operands, insn))
21384 3 : return -1;
21385 : return 5159; /* floatv8div8sf2_round */
21386 :
21387 : default:
21388 : return -1;
21389 : }
21390 :
21391 346 : case UNSIGNED_FLOAT:
21392 346 : x5 = XEXP (x4, 0);
21393 346 : operands[1] = x5;
21394 346 : x7 = XVECEXP (x3, 0, 1);
21395 346 : operands[2] = x7;
21396 346 : if (!const_4_or_8_to_11_operand (operands[2], E_SImode))
21397 : return -1;
21398 346 : switch (GET_MODE (operands[0]))
21399 : {
21400 61 : case E_V8HFmode:
21401 61 : switch (pattern1069 (x3))
21402 : {
21403 0 : case 0:
21404 0 : if (!insn_condition_965 (operands, insn))
21405 0 : return -1;
21406 : return 4635; /* avx512fp16_vcvtuw2ph_v8hi_round */
21407 :
21408 0 : case 1:
21409 0 : if (!insn_condition_965 (operands, insn))
21410 0 : return -1;
21411 : return 4659; /* avx512fp16_vcvtudq2ph_v8si_round */
21412 :
21413 54 : case 2:
21414 54 : if (!insn_condition_26 (operands, insn))
21415 0 : return -1;
21416 : return 4675; /* avx512fp16_vcvtuqq2ph_v8di_round */
21417 :
21418 : default:
21419 : return -1;
21420 : }
21421 :
21422 61 : case E_V16HFmode:
21423 61 : switch (pattern1070 (x3))
21424 : {
21425 0 : case 0:
21426 0 : if (!insn_condition_965 (operands, insn))
21427 0 : return -1;
21428 : return 4643; /* avx512fp16_vcvtuw2ph_v16hi_round */
21429 :
21430 54 : case 1:
21431 54 : if (!insn_condition_26 (operands, insn))
21432 0 : return -1;
21433 : return 4667; /* avx512fp16_vcvtudq2ph_v16si_round */
21434 :
21435 : default:
21436 : return -1;
21437 : }
21438 :
21439 61 : case E_V32HFmode:
21440 61 : if (pattern524 (x3,
21441 : E_V32HImode,
21442 : E_V32HFmode) != 0
21443 61 : || !insn_condition_26 (operands, insn))
21444 7 : return -1;
21445 : return 4651; /* avx512fp16_vcvtuw2ph_v32hi_round */
21446 :
21447 55 : case E_V16SFmode:
21448 55 : if (pattern1071 (x3,
21449 : E_V16SImode,
21450 : E_V16SFmode) != 0
21451 55 : || !insn_condition_27 (operands, insn))
21452 2 : return -1;
21453 : return 4992; /* *floatunsv16siv16sf2_round */
21454 :
21455 54 : case E_V8SFmode:
21456 54 : if (!register_operand (operands[0], E_V8SFmode)
21457 52 : || GET_MODE (x3) != E_V8SFmode
21458 106 : || GET_MODE (x4) != E_V8SFmode)
21459 : return -1;
21460 52 : switch (GET_MODE (operands[1]))
21461 : {
21462 0 : case E_V8SImode:
21463 0 : if (!nonimmediate_operand (operands[1], E_V8SImode)
21464 0 : || !insn_condition_341 (operands, insn))
21465 0 : return -1;
21466 : return 4996; /* *floatunsv8siv8sf2_round */
21467 :
21468 52 : case E_V8DImode:
21469 52 : if (!nonimmediate_operand (operands[1], E_V8DImode)
21470 52 : || !insn_condition_1419 (operands, insn))
21471 1 : return -1;
21472 : return 5163; /* floatunsv8div8sf2_round */
21473 :
21474 : default:
21475 : return -1;
21476 : }
21477 :
21478 0 : case E_V4SFmode:
21479 0 : if (pattern1071 (x3,
21480 : E_V4SImode,
21481 : E_V4SFmode) != 0
21482 0 : || !insn_condition_341 (operands, insn))
21483 0 : return -1;
21484 : return 5000; /* *floatunsv4siv4sf2_round */
21485 :
21486 54 : case E_V8DFmode:
21487 54 : if (pattern1071 (x3,
21488 : E_V8DImode,
21489 : E_V8DFmode) != 0
21490 54 : || !insn_condition_119 (operands, insn))
21491 3 : return -1;
21492 : return 5139; /* floatunsv8div8df2_round */
21493 :
21494 0 : case E_V4DFmode:
21495 0 : if (pattern1071 (x3,
21496 : E_V4DImode,
21497 : E_V4DFmode) != 0
21498 0 : || !insn_condition_1103 (operands, insn))
21499 0 : return -1;
21500 : return 5147; /* floatunsv4div4df2_round */
21501 :
21502 0 : case E_V2DFmode:
21503 0 : if (pattern1071 (x3,
21504 : E_V2DImode,
21505 : E_V2DFmode) != 0
21506 0 : || !insn_condition_1103 (operands, insn))
21507 0 : return -1;
21508 : return 5155; /* floatunsv2div2df2_round */
21509 :
21510 : default:
21511 : return -1;
21512 : }
21513 :
21514 0 : case FIX:
21515 0 : switch (pattern525 (x3))
21516 : {
21517 0 : case 0:
21518 0 : if (!insn_condition_965 (operands, insn))
21519 0 : return -1;
21520 : return 4771; /* avx512fp16_fix_truncv8hi2_round */
21521 :
21522 0 : case 1:
21523 0 : if (!insn_condition_965 (operands, insn))
21524 0 : return -1;
21525 : return 4779; /* avx512fp16_fix_truncv16hi2_round */
21526 :
21527 0 : case 2:
21528 0 : if (!insn_condition_26 (operands, insn))
21529 0 : return -1;
21530 : return 4787; /* avx512fp16_fix_truncv32hi2_round */
21531 :
21532 0 : case 3:
21533 0 : if (!insn_condition_965 (operands, insn))
21534 0 : return -1;
21535 : return 4795; /* avx512fp16_fix_truncv8si2_round */
21536 :
21537 0 : case 4:
21538 0 : if (!insn_condition_27 (operands, insn))
21539 0 : return -1;
21540 : return 5216; /* fix_truncv8dfv8si2_round */
21541 :
21542 0 : case 5:
21543 0 : if (!insn_condition_26 (operands, insn))
21544 0 : return -1;
21545 : return 4803; /* avx512fp16_fix_truncv16si2_round */
21546 :
21547 0 : case 6:
21548 0 : if (!insn_condition_27 (operands, insn))
21549 0 : return -1;
21550 : return 5048; /* fix_truncv16sfv16si2_round */
21551 :
21552 0 : case 7:
21553 0 : if (!insn_condition_26 (operands, insn))
21554 0 : return -1;
21555 : return 4811; /* avx512fp16_fix_truncv8di2_round */
21556 :
21557 0 : case 8:
21558 0 : if (!insn_condition_1421 (operands, insn))
21559 0 : return -1;
21560 : return 5253; /* fix_truncv8dfv8di2_round */
21561 :
21562 0 : case 9:
21563 0 : if (!insn_condition_1422 (operands, insn))
21564 0 : return -1;
21565 : return 5297; /* fix_truncv8sfv8di2_round */
21566 :
21567 : default:
21568 : return -1;
21569 : }
21570 :
21571 0 : case UNSIGNED_FIX:
21572 0 : switch (pattern525 (x3))
21573 : {
21574 0 : case 0:
21575 0 : if (!insn_condition_965 (operands, insn))
21576 0 : return -1;
21577 : return 4775; /* avx512fp16_fixuns_truncv8hi2_round */
21578 :
21579 0 : case 1:
21580 0 : if (!insn_condition_965 (operands, insn))
21581 0 : return -1;
21582 : return 4783; /* avx512fp16_fixuns_truncv16hi2_round */
21583 :
21584 0 : case 2:
21585 0 : if (!insn_condition_26 (operands, insn))
21586 0 : return -1;
21587 : return 4791; /* avx512fp16_fixuns_truncv32hi2_round */
21588 :
21589 0 : case 3:
21590 0 : if (!insn_condition_965 (operands, insn))
21591 0 : return -1;
21592 : return 4799; /* avx512fp16_fixuns_truncv8si2_round */
21593 :
21594 0 : case 4:
21595 0 : if (!insn_condition_27 (operands, insn))
21596 0 : return -1;
21597 : return 5220; /* fixuns_truncv8dfv8si2_round */
21598 :
21599 0 : case 5:
21600 0 : if (!insn_condition_26 (operands, insn))
21601 0 : return -1;
21602 : return 4807; /* avx512fp16_fixuns_truncv16si2_round */
21603 :
21604 0 : case 6:
21605 0 : if (!insn_condition_27 (operands, insn))
21606 0 : return -1;
21607 : return 5052; /* fixuns_truncv16sfv16si2_round */
21608 :
21609 0 : case 7:
21610 0 : if (!insn_condition_26 (operands, insn))
21611 0 : return -1;
21612 : return 4815; /* avx512fp16_fixuns_truncv8di2_round */
21613 :
21614 0 : case 8:
21615 0 : if (!insn_condition_1421 (operands, insn))
21616 0 : return -1;
21617 : return 5257; /* fixuns_truncv8dfv8di2_round */
21618 :
21619 0 : case 9:
21620 0 : if (!insn_condition_1422 (operands, insn))
21621 0 : return -1;
21622 : return 5301; /* fixuns_truncv8sfv8di2_round */
21623 :
21624 : default:
21625 : return -1;
21626 : }
21627 :
21628 202 : case FLOAT_EXTEND:
21629 202 : x5 = XEXP (x4, 0);
21630 202 : operands[1] = x5;
21631 202 : x7 = XVECEXP (x3, 0, 1);
21632 202 : operands[2] = x7;
21633 202 : if (!const48_operand (operands[2], E_SImode))
21634 : return -1;
21635 202 : switch (GET_MODE (operands[0]))
21636 : {
21637 141 : case E_V8DFmode:
21638 141 : if (!register_operand (operands[0], E_V8DFmode)
21639 136 : || GET_MODE (x3) != E_V8DFmode
21640 277 : || GET_MODE (x4) != E_V8DFmode)
21641 : return -1;
21642 136 : switch (GET_MODE (operands[1]))
21643 : {
21644 59 : case E_V8HFmode:
21645 59 : if (!register_operand (operands[1], E_V8HFmode)
21646 59 : || !insn_condition_26 (operands, insn))
21647 5 : return -1;
21648 : return 4879; /* avx512fp16_float_extend_phv8df2_round */
21649 :
21650 77 : case E_V8SFmode:
21651 77 : if (!register_operand (operands[1], E_V8SFmode)
21652 77 : || !insn_condition_1511 (operands, insn))
21653 1 : return -1;
21654 : return 5350; /* avx512f_cvtps2pd512_round */
21655 :
21656 : default:
21657 : return -1;
21658 : }
21659 :
21660 61 : case E_V16SFmode:
21661 61 : if (pattern524 (x3,
21662 : E_V16HFmode,
21663 : E_V16SFmode) != 0
21664 61 : || !insn_condition_1221 (operands, insn))
21665 7 : return -1;
21666 : return 4883; /* avx512fp16_float_extend_phv16sf2_round */
21667 :
21668 0 : case E_V8SFmode:
21669 0 : if (pattern524 (x3,
21670 : E_V8HFmode,
21671 : E_V8SFmode) != 0
21672 0 : || !insn_condition_1222 (operands, insn))
21673 0 : return -1;
21674 : return 4887; /* avx512fp16_float_extend_phv8sf2_round */
21675 :
21676 : default:
21677 : return -1;
21678 : }
21679 :
21680 202 : case FLOAT_TRUNCATE:
21681 202 : x5 = XEXP (x4, 0);
21682 202 : operands[1] = x5;
21683 202 : x7 = XVECEXP (x3, 0, 1);
21684 202 : operands[2] = x7;
21685 202 : if (!const_4_or_8_to_11_operand (operands[2], E_SImode))
21686 : return -1;
21687 202 : switch (GET_MODE (operands[0]))
21688 : {
21689 61 : case E_V8HFmode:
21690 61 : if (!register_operand (operands[0], E_V8HFmode)
21691 59 : || GET_MODE (x3) != E_V8HFmode
21692 120 : || GET_MODE (x4) != E_V8HFmode)
21693 : return -1;
21694 59 : switch (GET_MODE (operands[1]))
21695 : {
21696 59 : case E_V8DFmode:
21697 59 : if (!register_operand (operands[1], E_V8DFmode)
21698 59 : || !insn_condition_26 (operands, insn))
21699 5 : return -1;
21700 : return 4903; /* avx512fp16_vcvtpd2ph_v8df_round */
21701 :
21702 0 : case E_V8SFmode:
21703 0 : if (!register_operand (operands[1], E_V8SFmode)
21704 0 : || !insn_condition_1222 (operands, insn))
21705 0 : return -1;
21706 : return 4911; /* avx512fp16_vcvtps2ph_v8sf_round */
21707 :
21708 : default:
21709 : return -1;
21710 : }
21711 :
21712 61 : case E_V16HFmode:
21713 61 : if (pattern524 (x3,
21714 : E_V16SFmode,
21715 : E_V16HFmode) != 0
21716 61 : || !insn_condition_1221 (operands, insn))
21717 7 : return -1;
21718 : return 4907; /* avx512fp16_vcvtps2ph_v16sf_round */
21719 :
21720 80 : case E_V8SFmode:
21721 80 : if (pattern524 (x3,
21722 : E_V8DFmode,
21723 : E_V8SFmode) != 0
21724 80 : || !insn_condition_27 (operands, insn))
21725 4 : return -1;
21726 : return 5340; /* *avx512f_cvtpd2ps512_round */
21727 :
21728 : default:
21729 : return -1;
21730 : }
21731 :
21732 72 : case VEC_CONCAT:
21733 72 : if (GET_MODE (x4) != E_V32HFmode)
21734 : return -1;
21735 72 : x5 = XEXP (x4, 0);
21736 72 : if (GET_CODE (x5) != FLOAT_TRUNCATE
21737 72 : || GET_MODE (x5) != E_V16HFmode)
21738 : return -1;
21739 72 : x6 = XEXP (x4, 1);
21740 72 : if (GET_CODE (x6) != FLOAT_TRUNCATE
21741 72 : || GET_MODE (x6) != E_V16HFmode
21742 72 : || !register_operand (operands[0], E_V32HFmode)
21743 140 : || GET_MODE (x3) != E_V32HFmode)
21744 : return -1;
21745 68 : x8 = XEXP (x5, 0);
21746 68 : operands[2] = x8;
21747 68 : if (!register_operand (operands[2], E_V16SFmode))
21748 : return -1;
21749 68 : x9 = XEXP (x6, 0);
21750 68 : operands[1] = x9;
21751 68 : if (!register_operand (operands[1], E_V16SFmode))
21752 : return -1;
21753 66 : x7 = XVECEXP (x3, 0, 1);
21754 66 : operands[3] = x7;
21755 66 : if (!const_4_or_8_to_11_operand (operands[3], E_SImode)
21756 66 : || !insn_condition_1512 (operands, insn))
21757 0 : return -1;
21758 : return 9133; /* avx10v1aux_cvt2ps2phx_v32hf_round */
21759 :
21760 : default:
21761 : return -1;
21762 : }
21763 : }
21764 :
21765 : int
21766 25967 : recog_272 (rtx x1 ATTRIBUTE_UNUSED,
21767 : rtx_insn *insn ATTRIBUTE_UNUSED,
21768 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21769 : {
21770 25967 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
21771 25967 : rtx x2, x3, x4, x5, x6;
21772 25967 : int res ATTRIBUTE_UNUSED;
21773 25967 : x2 = XEXP (x1, 0);
21774 25967 : operands[0] = x2;
21775 25967 : x3 = XEXP (x1, 1);
21776 25967 : x4 = XVECEXP (x3, 0, 0);
21777 25967 : switch (GET_CODE (x4))
21778 : {
21779 79 : case CONST_VECTOR:
21780 79 : switch (pattern527 (x3))
21781 : {
21782 1 : case 0:
21783 1 : if (!insn_condition_1578 (operands, insn))
21784 0 : return -1;
21785 : return 7150; /* *vec_concatv16qi_permt2 */
21786 :
21787 0 : case 1:
21788 0 : if (!insn_condition_1251 (operands, insn))
21789 0 : return -1;
21790 : return 7151; /* *vec_concatv8hi_permt2 */
21791 :
21792 : default:
21793 : return -1;
21794 : }
21795 :
21796 23311 : case REG:
21797 23311 : case SUBREG:
21798 23311 : operands[1] = x4;
21799 23311 : x5 = XVECEXP (x3, 0, 1);
21800 23311 : operands[2] = x5;
21801 23311 : x6 = XVECEXP (x3, 0, 2);
21802 23311 : operands[3] = x6;
21803 23311 : switch (GET_MODE (operands[0]))
21804 : {
21805 3128 : case E_V16SImode:
21806 3128 : if (pattern213 (x3,
21807 : E_V16SImode) != 0
21808 3128 : || !insn_condition_27 (operands, insn))
21809 1437 : return -1;
21810 : return 8077; /* avx512f_vpermt2varv16si3 */
21811 :
21812 6316 : case E_V16SFmode:
21813 6316 : if (pattern1074 (x3,
21814 : E_V16SFmode,
21815 : E_V16SImode) != 0
21816 6316 : || !insn_condition_27 (operands, insn))
21817 49 : return -1;
21818 : return 8079; /* avx512f_vpermt2varv16sf3 */
21819 :
21820 314 : case E_V8DImode:
21821 314 : if (pattern213 (x3,
21822 : E_V8DImode) != 0
21823 314 : || !insn_condition_27 (operands, insn))
21824 132 : return -1;
21825 : return 8081; /* avx512f_vpermt2varv8di3 */
21826 :
21827 6310 : case E_V8DFmode:
21828 6310 : if (pattern1074 (x3,
21829 : E_V8DFmode,
21830 : E_V8DImode) != 0
21831 6310 : || !insn_condition_27 (operands, insn))
21832 45 : return -1;
21833 : return 8083; /* avx512f_vpermt2varv8df3 */
21834 :
21835 528 : case E_V8SImode:
21836 528 : if (pattern213 (x3,
21837 : E_V8SImode) != 0
21838 528 : || !insn_condition_100 (operands, insn))
21839 151 : return -1;
21840 : return 8085; /* avx512vl_vpermt2varv8si3 */
21841 :
21842 91 : case E_V8SFmode:
21843 91 : if (pattern1074 (x3,
21844 : E_V8SFmode,
21845 : E_V8SImode) != 0
21846 91 : || !insn_condition_100 (operands, insn))
21847 13 : return -1;
21848 : return 8087; /* avx512vl_vpermt2varv8sf3 */
21849 :
21850 388 : case E_V4DImode:
21851 388 : if (pattern213 (x3,
21852 : E_V4DImode) != 0
21853 388 : || !insn_condition_100 (operands, insn))
21854 66 : return -1;
21855 : return 8089; /* avx512vl_vpermt2varv4di3 */
21856 :
21857 92 : case E_V4DFmode:
21858 92 : if (pattern1074 (x3,
21859 : E_V4DFmode,
21860 : E_V4DImode) != 0
21861 92 : || !insn_condition_100 (operands, insn))
21862 12 : return -1;
21863 : return 8091; /* avx512vl_vpermt2varv4df3 */
21864 :
21865 98 : case E_V4SImode:
21866 98 : if (pattern213 (x3,
21867 : E_V4SImode) != 0
21868 98 : || !insn_condition_100 (operands, insn))
21869 18 : return -1;
21870 : return 8093; /* avx512vl_vpermt2varv4si3 */
21871 :
21872 77 : case E_V4SFmode:
21873 77 : if (pattern1074 (x3,
21874 : E_V4SFmode,
21875 : E_V4SImode) != 0
21876 77 : || !insn_condition_100 (operands, insn))
21877 6 : return -1;
21878 : return 8095; /* avx512vl_vpermt2varv4sf3 */
21879 :
21880 78 : case E_V2DImode:
21881 78 : if (pattern213 (x3,
21882 : E_V2DImode) != 0
21883 78 : || !insn_condition_100 (operands, insn))
21884 10 : return -1;
21885 : return 8097; /* avx512vl_vpermt2varv2di3 */
21886 :
21887 80 : case E_V2DFmode:
21888 80 : if (pattern1074 (x3,
21889 : E_V2DFmode,
21890 : E_V2DImode) != 0
21891 80 : || !insn_condition_100 (operands, insn))
21892 10 : return -1;
21893 : return 8099; /* avx512vl_vpermt2varv2df3 */
21894 :
21895 2789 : case E_V32HImode:
21896 2789 : if (pattern213 (x3,
21897 : E_V32HImode) != 0
21898 2789 : || !insn_condition_120 (operands, insn))
21899 1169 : return -1;
21900 : return 8101; /* avx512bw_vpermt2varv32hi3 */
21901 :
21902 1723 : case E_V16HImode:
21903 1723 : if (pattern213 (x3,
21904 : E_V16HImode) != 0
21905 1723 : || !insn_condition_991 (operands, insn))
21906 664 : return -1;
21907 : return 8103; /* avx512vl_vpermt2varv16hi3 */
21908 :
21909 662 : case E_V8HImode:
21910 662 : if (pattern213 (x3,
21911 : E_V8HImode) != 0
21912 662 : || !insn_condition_991 (operands, insn))
21913 185 : return -1;
21914 : return 8105; /* avx512vl_vpermt2varv8hi3 */
21915 :
21916 255 : case E_V64QImode:
21917 255 : if (pattern213 (x3,
21918 : E_V64QImode) != 0
21919 255 : || !insn_condition_992 (operands, insn))
21920 86 : return -1;
21921 : return 8107; /* avx512bw_vpermt2varv64qi3 */
21922 :
21923 261 : case E_V32QImode:
21924 261 : if (pattern213 (x3,
21925 : E_V32QImode) != 0
21926 261 : || !insn_condition_993 (operands, insn))
21927 104 : return -1;
21928 : return 8109; /* avx512vl_vpermt2varv32qi3 */
21929 :
21930 121 : case E_V16QImode:
21931 121 : if (pattern213 (x3,
21932 : E_V16QImode) != 0
21933 121 : || !insn_condition_993 (operands, insn))
21934 23 : return -1;
21935 : return 8111; /* avx512vl_vpermt2varv16qi3 */
21936 :
21937 0 : case E_V32HFmode:
21938 0 : if (pattern1074 (x3,
21939 : E_V32HFmode,
21940 : E_V32HImode) != 0
21941 0 : || !insn_condition_12 (operands, insn))
21942 0 : return -1;
21943 : return 8113; /* avx512bw_vpermt2varv32hf3 */
21944 :
21945 0 : case E_V16HFmode:
21946 0 : if (pattern1074 (x3,
21947 : E_V16HFmode,
21948 : E_V16HImode) != 0
21949 0 : || !insn_condition_77 (operands, insn))
21950 0 : return -1;
21951 : return 8115; /* avx512vl_vpermt2varv16hf3 */
21952 :
21953 0 : case E_V8HFmode:
21954 0 : if (pattern1074 (x3,
21955 : E_V8HFmode,
21956 : E_V8HImode) != 0
21957 0 : || !insn_condition_77 (operands, insn))
21958 0 : return -1;
21959 : return 8117; /* avx512fp16_vpermt2varv8hf3 */
21960 :
21961 0 : case E_V32BFmode:
21962 0 : if (pattern1074 (x3,
21963 : E_V32BFmode,
21964 : E_V32HImode) != 0
21965 0 : || !insn_condition_12 (operands, insn))
21966 0 : return -1;
21967 : return 8119; /* avx512bw_vpermt2varv32bf3 */
21968 :
21969 0 : case E_V16BFmode:
21970 0 : if (pattern1074 (x3,
21971 : E_V16BFmode,
21972 : E_V16HImode) != 0
21973 0 : || !insn_condition_77 (operands, insn))
21974 0 : return -1;
21975 : return 8121; /* avx512vl_vpermt2varv16bf3 */
21976 :
21977 0 : case E_V8BFmode:
21978 0 : if (pattern1074 (x3,
21979 : E_V8BFmode,
21980 : E_V8HImode) != 0
21981 0 : || !insn_condition_77 (operands, insn))
21982 0 : return -1;
21983 : return 8123; /* avx512vl_vpermt2varv8bf3 */
21984 :
21985 : default:
21986 : return -1;
21987 : }
21988 :
21989 : default:
21990 : return -1;
21991 : }
21992 : }
21993 :
21994 : int
21995 1528 : recog_275 (rtx x1 ATTRIBUTE_UNUSED,
21996 : rtx_insn *insn ATTRIBUTE_UNUSED,
21997 : int *pnum_clobbers ATTRIBUTE_UNUSED)
21998 : {
21999 1528 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22000 1528 : rtx x2, x3, x4, x5, x6;
22001 1528 : int res ATTRIBUTE_UNUSED;
22002 1528 : x2 = XEXP (x1, 0);
22003 1528 : operands[0] = x2;
22004 1528 : x3 = XEXP (x1, 1);
22005 1528 : x4 = XVECEXP (x3, 0, 0);
22006 1528 : operands[1] = x4;
22007 1528 : x5 = XVECEXP (x3, 0, 1);
22008 1528 : operands[2] = x5;
22009 1528 : x6 = XVECEXP (x3, 0, 2);
22010 1528 : operands[3] = x6;
22011 1528 : if (!const_0_to_255_operand (operands[3], E_SImode))
22012 : return -1;
22013 1528 : switch (GET_MODE (operands[0]))
22014 : {
22015 212 : case E_V32HFmode:
22016 212 : if (pattern192 (x3,
22017 : E_V32HFmode) != 0
22018 212 : || !insn_condition_73 (operands, insn))
22019 46 : return -1;
22020 : return 9607; /* avx10_2_minmaxpv32hf */
22021 :
22022 154 : case E_V16HFmode:
22023 154 : if (pattern192 (x3,
22024 : E_V16HFmode) != 0
22025 154 : || !insn_condition_1579 (operands, insn))
22026 41 : return -1;
22027 : return 9611; /* avx10_2_minmaxpv16hf */
22028 :
22029 142 : case E_V8HFmode:
22030 142 : if (pattern192 (x3,
22031 : E_V8HFmode) != 0
22032 142 : || !insn_condition_1579 (operands, insn))
22033 29 : return -1;
22034 : return 9615; /* avx10_2_minmaxpv8hf */
22035 :
22036 212 : case E_V16SFmode:
22037 212 : if (pattern192 (x3,
22038 : E_V16SFmode) != 0
22039 212 : || !insn_condition_41 (operands, insn))
22040 46 : return -1;
22041 : return 9619; /* avx10_2_minmaxpv16sf */
22042 :
22043 154 : case E_V8SFmode:
22044 154 : if (pattern192 (x3,
22045 : E_V8SFmode) != 0
22046 154 : || !insn_condition_1006 (operands, insn))
22047 41 : return -1;
22048 : return 9623; /* avx10_2_minmaxpv8sf */
22049 :
22050 142 : case E_V4SFmode:
22051 142 : if (pattern192 (x3,
22052 : E_V4SFmode) != 0
22053 142 : || !insn_condition_1006 (operands, insn))
22054 29 : return -1;
22055 : return 9627; /* avx10_2_minmaxpv4sf */
22056 :
22057 212 : case E_V8DFmode:
22058 212 : if (pattern192 (x3,
22059 : E_V8DFmode) != 0
22060 212 : || !insn_condition_41 (operands, insn))
22061 46 : return -1;
22062 : return 9631; /* avx10_2_minmaxpv8df */
22063 :
22064 154 : case E_V4DFmode:
22065 154 : if (pattern192 (x3,
22066 : E_V4DFmode) != 0
22067 154 : || !insn_condition_1006 (operands, insn))
22068 41 : return -1;
22069 : return 9635; /* avx10_2_minmaxpv4df */
22070 :
22071 146 : case E_V2DFmode:
22072 146 : if (pattern192 (x3,
22073 : E_V2DFmode) != 0
22074 146 : || !insn_condition_1006 (operands, insn))
22075 21 : return -1;
22076 : return 9639; /* avx10_2_minmaxpv2df */
22077 :
22078 : default:
22079 : return -1;
22080 : }
22081 : }
22082 :
22083 : int
22084 870 : recog_278 (rtx x1 ATTRIBUTE_UNUSED,
22085 : rtx_insn *insn ATTRIBUTE_UNUSED,
22086 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22087 : {
22088 870 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22089 870 : int res ATTRIBUTE_UNUSED;
22090 870 : switch (pattern217 (x1))
22091 : {
22092 83 : case 0:
22093 83 : if (!insn_condition_1003 (operands, insn))
22094 0 : return -1;
22095 : return 8941; /* vpshldv_v32hi */
22096 :
22097 82 : case 1:
22098 82 : if (!insn_condition_1003 (operands, insn))
22099 0 : return -1;
22100 : return 8942; /* vpshldv_v16si */
22101 :
22102 82 : case 2:
22103 82 : if (!insn_condition_1003 (operands, insn))
22104 0 : return -1;
22105 : return 8943; /* vpshldv_v8di */
22106 :
22107 83 : case 3:
22108 83 : if (!insn_condition_1004 (operands, insn))
22109 0 : return -1;
22110 : return 8944; /* vpshldv_v16hi */
22111 :
22112 82 : case 4:
22113 82 : if (!insn_condition_1004 (operands, insn))
22114 0 : return -1;
22115 : return 8945; /* vpshldv_v8si */
22116 :
22117 82 : case 5:
22118 82 : if (!insn_condition_1004 (operands, insn))
22119 0 : return -1;
22120 : return 8946; /* vpshldv_v4di */
22121 :
22122 81 : case 6:
22123 81 : if (!insn_condition_1004 (operands, insn))
22124 0 : return -1;
22125 : return 8947; /* vpshldv_v8hi */
22126 :
22127 80 : case 7:
22128 80 : if (!insn_condition_1004 (operands, insn))
22129 0 : return -1;
22130 : return 8948; /* vpshldv_v4si */
22131 :
22132 80 : case 8:
22133 80 : if (!insn_condition_1004 (operands, insn))
22134 0 : return -1;
22135 : return 8949; /* vpshldv_v2di */
22136 :
22137 : default:
22138 : return -1;
22139 : }
22140 : }
22141 :
22142 : int
22143 880 : recog_280 (rtx x1 ATTRIBUTE_UNUSED,
22144 : rtx_insn *insn ATTRIBUTE_UNUSED,
22145 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22146 : {
22147 880 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22148 880 : int res ATTRIBUTE_UNUSED;
22149 880 : switch (pattern217 (x1))
22150 : {
22151 93 : case 0:
22152 93 : if (!insn_condition_1003 (operands, insn))
22153 0 : return -1;
22154 : return 8914; /* vpshrdv_v32hi */
22155 :
22156 82 : case 1:
22157 82 : if (!insn_condition_1003 (operands, insn))
22158 0 : return -1;
22159 : return 8915; /* vpshrdv_v16si */
22160 :
22161 82 : case 2:
22162 82 : if (!insn_condition_1003 (operands, insn))
22163 0 : return -1;
22164 : return 8916; /* vpshrdv_v8di */
22165 :
22166 83 : case 3:
22167 83 : if (!insn_condition_1004 (operands, insn))
22168 0 : return -1;
22169 : return 8917; /* vpshrdv_v16hi */
22170 :
22171 82 : case 4:
22172 82 : if (!insn_condition_1004 (operands, insn))
22173 0 : return -1;
22174 : return 8918; /* vpshrdv_v8si */
22175 :
22176 82 : case 5:
22177 82 : if (!insn_condition_1004 (operands, insn))
22178 0 : return -1;
22179 : return 8919; /* vpshrdv_v4di */
22180 :
22181 81 : case 6:
22182 81 : if (!insn_condition_1004 (operands, insn))
22183 0 : return -1;
22184 : return 8920; /* vpshrdv_v8hi */
22185 :
22186 80 : case 7:
22187 80 : if (!insn_condition_1004 (operands, insn))
22188 0 : return -1;
22189 : return 8921; /* vpshrdv_v4si */
22190 :
22191 80 : case 8:
22192 80 : if (!insn_condition_1004 (operands, insn))
22193 0 : return -1;
22194 : return 8922; /* vpshrdv_v2di */
22195 :
22196 : default:
22197 : return -1;
22198 : }
22199 : }
22200 :
22201 : int
22202 341 : recog_285 (rtx x1 ATTRIBUTE_UNUSED,
22203 : rtx_insn *insn ATTRIBUTE_UNUSED,
22204 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22205 : {
22206 341 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22207 341 : rtx x2, x3, x4, x5;
22208 341 : int res ATTRIBUTE_UNUSED;
22209 341 : x2 = XEXP (x1, 0);
22210 341 : operands[0] = x2;
22211 341 : x3 = XEXP (x1, 1);
22212 341 : x4 = XVECEXP (x3, 0, 0);
22213 341 : operands[1] = x4;
22214 341 : x5 = XVECEXP (x3, 0, 1);
22215 341 : operands[2] = x5;
22216 341 : switch (pattern705 (x3))
22217 : {
22218 61 : case 0:
22219 61 : if (insn_condition_1581 (operands, insn))
22220 : return 4474; /* fma_fmaddc_v32hf */
22221 : break;
22222 :
22223 106 : case 1:
22224 106 : if (insn_condition_1582 (operands, insn))
22225 : return 4482; /* fma_fmaddc_v16hf */
22226 : break;
22227 :
22228 115 : case 2:
22229 115 : if (insn_condition_1582 (operands, insn))
22230 : return 4486; /* fma_fmaddc_v8hf */
22231 : break;
22232 :
22233 : default:
22234 : break;
22235 : }
22236 59 : if (GET_CODE (x5) != SUBREG
22237 59 : || maybe_ne (SUBREG_BYTE (x5), 0))
22238 : return -1;
22239 19 : switch (pattern622 (x3))
22240 : {
22241 1 : case 0:
22242 1 : if (!insn_condition_1170 (operands, insn))
22243 0 : return -1;
22244 : return 4508; /* fma_v32hf_fmaddc_bcst */
22245 :
22246 1 : case 1:
22247 1 : if (!insn_condition_1583 (operands, insn))
22248 0 : return -1;
22249 : return 4509; /* fma_v16hf_fmaddc_bcst */
22250 :
22251 1 : case 2:
22252 1 : if (!insn_condition_1583 (operands, insn))
22253 0 : return -1;
22254 : return 4510; /* fma_v8hf_fmaddc_bcst */
22255 :
22256 : default:
22257 : return -1;
22258 : }
22259 : }
22260 :
22261 : int
22262 304863 : recog_290 (rtx x1 ATTRIBUTE_UNUSED,
22263 : rtx_insn *insn ATTRIBUTE_UNUSED,
22264 : int *pnum_clobbers ATTRIBUTE_UNUSED)
22265 : {
22266 304863 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
22267 304863 : rtx x2, x3, x4, x5, x6;
22268 304863 : int res ATTRIBUTE_UNUSED;
22269 304863 : x2 = XEXP (x1, 1);
22270 304863 : switch (XINT (x2, 1))
22271 : {
22272 39614 : case 48:
22273 39614 : return recog_270 (x1, insn, pnum_clobbers);
22274 :
22275 58892 : case 56:
22276 58892 : return recog_287 (x1, insn, pnum_clobbers);
22277 :
22278 3026 : case 132:
22279 3026 : return recog_269 (x1, insn, pnum_clobbers);
22280 :
22281 341 : case 216:
22282 341 : return recog_285 (x1, insn, pnum_clobbers);
22283 :
22284 326 : case 218:
22285 326 : return recog_286 (x1, insn, pnum_clobbers);
22286 :
22287 9 : case 217:
22288 9 : switch (pattern210 (x1))
22289 : {
22290 3 : case 0:
22291 3 : if (!insn_condition_40 (operands, insn))
22292 0 : return -1;
22293 : return 4502; /* fma_fmaddc_v16sf_pair */
22294 :
22295 3 : case 1:
22296 3 : if (!insn_condition_1340 (operands, insn))
22297 0 : return -1;
22298 : return 4504; /* fma_fmaddc_v8sf_pair */
22299 :
22300 3 : case 2:
22301 3 : if (!insn_condition_1340 (operands, insn))
22302 0 : return -1;
22303 : return 4506; /* fma_fmaddc_v4sf_pair */
22304 :
22305 : default:
22306 : return -1;
22307 : }
22308 :
22309 9 : case 219:
22310 9 : switch (pattern210 (x1))
22311 : {
22312 3 : case 0:
22313 3 : if (!insn_condition_40 (operands, insn))
22314 0 : return -1;
22315 : return 4503; /* fma_fcmaddc_v16sf_pair */
22316 :
22317 3 : case 1:
22318 3 : if (!insn_condition_1340 (operands, insn))
22319 0 : return -1;
22320 : return 4505; /* fma_fcmaddc_v8sf_pair */
22321 :
22322 3 : case 2:
22323 3 : if (!insn_condition_1340 (operands, insn))
22324 0 : return -1;
22325 : return 4507; /* fma_fcmaddc_v4sf_pair */
22326 :
22327 : default:
22328 : return -1;
22329 : }
22330 :
22331 1759 : case 47:
22332 1759 : x3 = XEXP (x1, 0);
22333 1759 : operands[0] = x3;
22334 1759 : x4 = XVECEXP (x2, 0, 0);
22335 1759 : operands[2] = x4;
22336 1759 : x5 = XVECEXP (x2, 0, 1);
22337 1759 : operands[1] = x5;
22338 1759 : x6 = XVECEXP (x2, 0, 2);
22339 1759 : operands[3] = x6;
22340 1759 : if (!const_0_to_255_operand (operands[3], E_SImode))
22341 : return -1;
22342 1759 : switch (GET_MODE (operands[0]))
22343 : {
22344 499 : case E_V4SImode:
22345 499 : if (pattern1007 (x2,
22346 : E_V4SImode) != 0
22347 499 : || !insn_condition_92 (operands, insn))
22348 276 : return -1;
22349 : return 5492; /* sse4_1_insertps_v4si */
22350 :
22351 957 : case E_V4SFmode:
22352 957 : if (pattern1007 (x2,
22353 : E_V4SFmode) != 0
22354 957 : || !insn_condition_92 (operands, insn))
22355 384 : return -1;
22356 : return 5493; /* sse4_1_insertps_v4sf */
22357 :
22358 : default:
22359 : return -1;
22360 : }
22361 :
22362 429 : case 166:
22363 429 : return recog_277 (x1, insn, pnum_clobbers);
22364 :
22365 25967 : case 154:
22366 25967 : return recog_272 (x1, insn, pnum_clobbers);
22367 :
22368 14159 : case 44:
22369 14159 : return recog_268 (x1, insn, pnum_clobbers);
22370 :
22371 28830 : case 120:
22372 28830 : x3 = XEXP (x1, 0);
22373 28830 : operands[0] = x3;
22374 28830 : x4 = XVECEXP (x2, 0, 0);
22375 28830 : operands[1] = x4;
22376 28830 : x5 = XVECEXP (x2, 0, 1);
22377 28830 : operands[2] = x5;
22378 28830 : x6 = XVECEXP (x2, 0, 2);
22379 28830 : operands[3] = x6;
22380 28830 : if (!const_0_to_255_mul_8_operand (operands[3], E_SImode))
22381 : return -1;
22382 28830 : switch (GET_MODE (operands[0]))
22383 : {
22384 66 : case E_V4TImode:
22385 66 : if (pattern192 (x2,
22386 : E_V4TImode) != 0
22387 66 : || !insn_condition_1646 (operands, insn))
22388 5 : return -1;
22389 : return 7309; /* avx512bw_palignrv4ti */
22390 :
22391 1091 : case E_V2TImode:
22392 1091 : if (pattern192 (x2,
22393 : E_V2TImode) != 0
22394 1091 : || !insn_condition_1540 (operands, insn))
22395 221 : return -1;
22396 : return 7310; /* avx2_palignrv2ti */
22397 :
22398 27652 : case E_V1TImode:
22399 27652 : if (pattern192 (x2,
22400 : E_V1TImode) != 0
22401 27652 : || !insn_condition_117 (operands, insn))
22402 11084 : return -1;
22403 : return 7311; /* ssse3_palignrv1ti */
22404 :
22405 : default:
22406 : return -1;
22407 : }
22408 :
22409 63 : case 121:
22410 63 : if (GET_MODE (x2) != E_V2DImode)
22411 : return -1;
22412 63 : x3 = XEXP (x1, 0);
22413 63 : operands[0] = x3;
22414 63 : if (!register_operand (operands[0], E_V2DImode))
22415 : return -1;
22416 63 : x4 = XVECEXP (x2, 0, 0);
22417 63 : operands[1] = x4;
22418 63 : if (!register_operand (operands[1], E_V2DImode))
22419 : return -1;
22420 63 : x5 = XVECEXP (x2, 0, 1);
22421 63 : operands[2] = x5;
22422 63 : if (!const_0_to_255_operand (operands[2], E_VOIDmode))
22423 : return -1;
22424 63 : x6 = XVECEXP (x2, 0, 2);
22425 63 : operands[3] = x6;
22426 63 : if (!const_0_to_255_operand (operands[3], E_VOIDmode)
22427 63 : || !insn_condition_153 (operands, insn))
22428 0 : return -1;
22429 : return 7341; /* sse4a_extrqi */
22430 :
22431 986 : case 125:
22432 986 : return recog_283 (x1, insn, pnum_clobbers);
22433 :
22434 690 : case 127:
22435 690 : return recog_284 (x1, insn, pnum_clobbers);
22436 :
22437 42942 : case 50:
22438 42942 : if (pattern86 (x1,
22439 : E_V16QImode) != 0)
22440 : return -1;
22441 25778 : x6 = XVECEXP (x2, 0, 2);
22442 25778 : operands[3] = x6;
22443 25778 : if (!nonimmediate_operand (operands[3], E_V16QImode)
22444 25778 : || !insn_condition_1647 (operands, insn))
22445 9112 : return -1;
22446 : return 7704; /* xop_pperm */
22447 :
22448 888 : case 134:
22449 888 : return recog_282 (x1, insn, pnum_clobbers);
22450 :
22451 1876 : case 142:
22452 1876 : if (pattern200 (x1,
22453 : E_V2DImode) != 0)
22454 : return -1;
22455 1144 : x6 = XVECEXP (x2, 0, 2);
22456 1144 : operands[3] = x6;
22457 1144 : if (!const_0_to_255_operand (operands[3], E_SImode)
22458 1144 : || !insn_condition_1648 (operands, insn))
22459 0 : return -1;
22460 : return 7763; /* pclmulqdq */
22461 :
22462 4117 : case 151:
22463 4117 : if (pattern86 (x1,
22464 : E_V4DImode) != 0)
22465 : return -1;
22466 2941 : x6 = XVECEXP (x2, 0, 2);
22467 2941 : operands[3] = x6;
22468 2941 : if (!const_0_to_255_operand (operands[3], E_SImode)
22469 2941 : || !insn_condition_1108 (operands, insn))
22470 0 : return -1;
22471 : return 7865; /* avx2_permv2ti */
22472 :
22473 53 : case 145:
22474 53 : x3 = XEXP (x1, 0);
22475 53 : operands[0] = x3;
22476 53 : x4 = XVECEXP (x2, 0, 0);
22477 53 : operands[1] = x4;
22478 53 : x5 = XVECEXP (x2, 0, 1);
22479 53 : operands[2] = x5;
22480 53 : x6 = XVECEXP (x2, 0, 2);
22481 53 : operands[3] = x6;
22482 53 : if (!const_0_to_255_operand (operands[3], E_SImode))
22483 : return -1;
22484 53 : switch (GET_MODE (operands[0]))
22485 : {
22486 15 : case E_V8SImode:
22487 15 : if (pattern84 (x2,
22488 : E_V8SImode) != 0
22489 15 : || !insn_condition_122 (operands, insn))
22490 8 : return -1;
22491 : return 8143; /* *avx_vperm2f128v8si_full */
22492 :
22493 24 : case E_V8SFmode:
22494 24 : if (pattern84 (x2,
22495 : E_V8SFmode) != 0
22496 24 : || !insn_condition_122 (operands, insn))
22497 10 : return -1;
22498 : return 8144; /* *avx_vperm2f128v8sf_full */
22499 :
22500 14 : case E_V4DFmode:
22501 14 : if (pattern84 (x2,
22502 : E_V4DFmode) != 0
22503 14 : || !insn_condition_122 (operands, insn))
22504 8 : return -1;
22505 : return 8145; /* *avx_vperm2f128v4df_full */
22506 :
22507 : default:
22508 : return -1;
22509 : }
22510 :
22511 5673 : case 152:
22512 5673 : return recog_267 (x1, insn, pnum_clobbers);
22513 :
22514 3938 : case 168:
22515 3938 : return recog_274 (x1, insn, pnum_clobbers);
22516 :
22517 1692 : case 169:
22518 1692 : return recog_273 (x1, insn, pnum_clobbers);
22519 :
22520 9515 : case 170:
22521 9515 : return recog_271 (x1, insn, pnum_clobbers);
22522 :
22523 364 : case 193:
22524 364 : return recog_276 (x1, insn, pnum_clobbers);
22525 :
22526 193 : case 185:
22527 193 : x3 = XEXP (x1, 0);
22528 193 : operands[0] = x3;
22529 193 : x4 = XVECEXP (x2, 0, 0);
22530 193 : operands[1] = x4;
22531 193 : x5 = XVECEXP (x2, 0, 1);
22532 193 : operands[2] = x5;
22533 193 : x6 = XVECEXP (x2, 0, 2);
22534 193 : operands[3] = x6;
22535 193 : if (!const_0_to_255_operand (operands[3], E_SImode))
22536 : return -1;
22537 193 : switch (GET_MODE (operands[0]))
22538 : {
22539 63 : case E_V8HImode:
22540 63 : if (pattern203 (x2,
22541 : E_V8HImode,
22542 : E_V16QImode) != 0
22543 63 : || !insn_condition_77 (operands, insn))
22544 2 : return -1;
22545 : return 8749; /* *avx512bw_dbpsadbwv8hi */
22546 :
22547 65 : case E_V16HImode:
22548 65 : if (pattern203 (x2,
22549 : E_V16HImode,
22550 : E_V32QImode) != 0
22551 65 : || !insn_condition_77 (operands, insn))
22552 4 : return -1;
22553 : return 8751; /* *avx512bw_dbpsadbwv16hi */
22554 :
22555 65 : case E_V32HImode:
22556 65 : if (pattern203 (x2,
22557 : E_V32HImode,
22558 : E_V64QImode) != 0
22559 65 : || !insn_condition_12 (operands, insn))
22560 4 : return -1;
22561 : return 8753; /* *avx512bw_dbpsadbwv32hi */
22562 :
22563 : default:
22564 : return -1;
22565 : }
22566 :
22567 110 : case 181:
22568 110 : if (pattern200 (x1,
22569 : E_V4SImode) != 0)
22570 : return -1;
22571 95 : x6 = XVECEXP (x2, 0, 2);
22572 95 : operands[3] = x6;
22573 95 : if (!const_0_to_3_operand (operands[3], E_SImode)
22574 95 : || !insn_condition_1634 (operands, insn))
22575 0 : return -1;
22576 : return 8782; /* sha1rnds4 */
22577 :
22578 108 : case 184:
22579 108 : if (pattern200 (x1,
22580 : E_V4SImode) != 0)
22581 : return -1;
22582 98 : x6 = XVECEXP (x2, 0, 2);
22583 98 : operands[3] = x6;
22584 98 : if (!register_operand (operands[3], E_V4SImode)
22585 98 : || !insn_condition_1634 (operands, insn))
22586 6 : return -1;
22587 : return 8785; /* sha256rnds2 */
22588 :
22589 101 : case 223:
22590 101 : if (pattern212 (x1) != 0
22591 101 : || !insn_condition_1611 (operands, insn))
22592 17 : return -1;
22593 : return 8786; /* vsm3msg1 */
22594 :
22595 99 : case 224:
22596 99 : if (pattern212 (x1) != 0
22597 99 : || !insn_condition_1611 (operands, insn))
22598 17 : return -1;
22599 : return 8787; /* vsm3msg2 */
22600 :
22601 109 : case 240:
22602 109 : if (pattern199 (x1,
22603 : E_V4DImode) != 0)
22604 : return -1;
22605 84 : x6 = XVECEXP (x2, 0, 2);
22606 84 : operands[3] = x6;
22607 84 : if (!register_operand (operands[3], E_V2DImode)
22608 84 : || !insn_condition_1635 (operands, insn))
22609 5 : return -1;
22610 : return 8791; /* vsha512rnds2 */
22611 :
22612 466 : case 194:
22613 466 : switch (pattern214 (x1))
22614 : {
22615 75 : case 0:
22616 75 : if (!insn_condition_1068 (operands, insn))
22617 0 : return -1;
22618 : return 8804; /* vpmadd52luqv8di */
22619 :
22620 123 : case 1:
22621 123 : if (!insn_condition_1649 (operands, insn))
22622 0 : return -1;
22623 : return 8806; /* vpmadd52luqv4di */
22624 :
22625 118 : case 2:
22626 118 : if (!insn_condition_1650 (operands, insn))
22627 0 : return -1;
22628 : return 8808; /* vpmadd52luqv2di */
22629 :
22630 : default:
22631 : return -1;
22632 : }
22633 :
22634 477 : case 195:
22635 477 : switch (pattern214 (x1))
22636 : {
22637 76 : case 0:
22638 76 : if (!insn_condition_1068 (operands, insn))
22639 0 : return -1;
22640 : return 8805; /* vpmadd52huqv8di */
22641 :
22642 124 : case 1:
22643 124 : if (!insn_condition_1649 (operands, insn))
22644 0 : return -1;
22645 : return 8807; /* vpmadd52huqv4di */
22646 :
22647 121 : case 2:
22648 121 : if (!insn_condition_1650 (operands, insn))
22649 0 : return -1;
22650 : return 8809; /* vpmadd52huqv2di */
22651 :
22652 : default:
22653 : return -1;
22654 : }
22655 :
22656 273 : case 197:
22657 273 : switch (pattern215 (x1))
22658 : {
22659 76 : case 0:
22660 76 : if (!insn_condition_1640 (operands, insn))
22661 0 : return -1;
22662 : return 8860; /* vgf2p8affineinvqb_v64qi */
22663 :
22664 81 : case 1:
22665 81 : if (!insn_condition_1641 (operands, insn))
22666 0 : return -1;
22667 : return 8862; /* vgf2p8affineinvqb_v32qi */
22668 :
22669 91 : case 2:
22670 91 : if (!insn_condition_1642 (operands, insn))
22671 0 : return -1;
22672 : return 8864; /* vgf2p8affineinvqb_v16qi */
22673 :
22674 : default:
22675 : return -1;
22676 : }
22677 :
22678 4790 : case 198:
22679 4790 : switch (pattern215 (x1))
22680 : {
22681 1117 : case 0:
22682 1117 : if (!insn_condition_1640 (operands, insn))
22683 0 : return -1;
22684 : return 8866; /* vgf2p8affineqb_v64qi */
22685 :
22686 424 : case 1:
22687 424 : if (!insn_condition_1641 (operands, insn))
22688 0 : return -1;
22689 : return 8868; /* vgf2p8affineqb_v32qi */
22690 :
22691 1841 : case 2:
22692 1841 : if (!insn_condition_1642 (operands, insn))
22693 0 : return -1;
22694 : return 8870; /* vgf2p8affineqb_v16qi */
22695 :
22696 : default:
22697 : return -1;
22698 : }
22699 :
22700 735 : case 201:
22701 735 : return recog_281 (x1, insn, pnum_clobbers);
22702 :
22703 707 : case 200:
22704 707 : return recog_279 (x1, insn, pnum_clobbers);
22705 :
22706 880 : case 202:
22707 880 : return recog_280 (x1, insn, pnum_clobbers);
22708 :
22709 870 : case 203:
22710 870 : return recog_278 (x1, insn, pnum_clobbers);
22711 :
22712 832 : case 204:
22713 832 : switch (pattern218 (x1))
22714 : {
22715 87 : case 0:
22716 87 : if (!insn_condition_1070 (operands, insn))
22717 0 : return -1;
22718 : return 8968; /* vpdpbusd_v16si */
22719 :
22720 314 : case 1:
22721 314 : if (!insn_condition_1651 (operands, insn))
22722 0 : return -1;
22723 : return 8969; /* vpdpbusd_v8si */
22724 :
22725 283 : case 2:
22726 283 : if (!insn_condition_1652 (operands, insn))
22727 0 : return -1;
22728 : return 8970; /* vpdpbusd_v4si */
22729 :
22730 : default:
22731 : return -1;
22732 : }
22733 :
22734 391 : case 205:
22735 391 : switch (pattern218 (x1))
22736 : {
22737 82 : case 0:
22738 82 : if (!insn_condition_1070 (operands, insn))
22739 0 : return -1;
22740 : return 8977; /* vpdpbusds_v16si */
22741 :
22742 135 : case 1:
22743 135 : if (!insn_condition_1651 (operands, insn))
22744 0 : return -1;
22745 : return 8978; /* vpdpbusds_v8si */
22746 :
22747 134 : case 2:
22748 134 : if (!insn_condition_1652 (operands, insn))
22749 0 : return -1;
22750 : return 8979; /* vpdpbusds_v4si */
22751 :
22752 : default:
22753 : return -1;
22754 : }
22755 :
22756 847 : case 206:
22757 847 : switch (pattern218 (x1))
22758 : {
22759 192 : case 0:
22760 192 : if (!insn_condition_1070 (operands, insn))
22761 0 : return -1;
22762 : return 8986; /* vpdpwssd_v16si */
22763 :
22764 149 : case 1:
22765 149 : if (!insn_condition_1651 (operands, insn))
22766 0 : return -1;
22767 : return 8987; /* vpdpwssd_v8si */
22768 :
22769 230 : case 2:
22770 230 : if (!insn_condition_1652 (operands, insn))
22771 0 : return -1;
22772 : return 8988; /* vpdpwssd_v4si */
22773 :
22774 : default:
22775 : return -1;
22776 : }
22777 :
22778 391 : case 207:
22779 391 : switch (pattern218 (x1))
22780 : {
22781 80 : case 0:
22782 80 : if (!insn_condition_1070 (operands, insn))
22783 0 : return -1;
22784 : return 8995; /* vpdpwssds_v16si */
22785 :
22786 133 : case 1:
22787 133 : if (!insn_condition_1651 (operands, insn))
22788 0 : return -1;
22789 : return 8996; /* vpdpwssds_v8si */
22790 :
22791 132 : case 2:
22792 132 : if (!insn_condition_1652 (operands, insn))
22793 0 : return -1;
22794 : return 8997; /* vpdpwssds_v4si */
22795 :
22796 : default:
22797 : return -1;
22798 : }
22799 :
22800 191 : case 212:
22801 191 : x3 = XEXP (x1, 0);
22802 191 : operands[0] = x3;
22803 191 : x4 = XVECEXP (x2, 0, 0);
22804 191 : operands[1] = x4;
22805 191 : x5 = XVECEXP (x2, 0, 1);
22806 191 : operands[2] = x5;
22807 191 : x6 = XVECEXP (x2, 0, 2);
22808 191 : operands[3] = x6;
22809 191 : if (!const_0_to_255_operand (operands[3], E_SImode))
22810 : return -1;
22811 191 : switch (GET_MODE (operands[0]))
22812 : {
22813 90 : case E_V8DImode:
22814 90 : if (pattern192 (x2,
22815 : E_V8DImode) != 0
22816 90 : || !insn_condition_1653 (operands, insn))
22817 15 : return -1;
22818 : return 9016; /* vpclmulqdq_v8di */
22819 :
22820 101 : case E_V4DImode:
22821 101 : if (pattern192 (x2,
22822 : E_V4DImode) != 0
22823 101 : || !insn_condition_1654 (operands, insn))
22824 15 : return -1;
22825 : return 9017; /* vpclmulqdq_v4di */
22826 :
22827 0 : case E_V2DImode:
22828 0 : if (pattern192 (x2,
22829 : E_V2DImode) != 0
22830 0 : || !insn_condition_1655 (operands, insn))
22831 0 : return -1;
22832 : return 9018; /* vpclmulqdq_v2di */
22833 :
22834 : default:
22835 : return -1;
22836 : }
22837 :
22838 225 : case 215:
22839 225 : x3 = XEXP (x1, 0);
22840 225 : operands[0] = x3;
22841 225 : x4 = XVECEXP (x2, 0, 0);
22842 225 : operands[1] = x4;
22843 225 : x5 = XVECEXP (x2, 0, 1);
22844 225 : operands[2] = x5;
22845 225 : x6 = XVECEXP (x2, 0, 2);
22846 225 : operands[3] = x6;
22847 225 : switch (GET_MODE (operands[0]))
22848 : {
22849 75 : case E_V16SFmode:
22850 75 : if (pattern958 (x2,
22851 : E_V32BFmode,
22852 : E_V16SFmode) != 0
22853 75 : || !insn_condition_1007 (operands, insn))
22854 5 : return -1;
22855 : return 9046; /* avx512f_dpbf16ps_v16sf */
22856 :
22857 75 : case E_V8SFmode:
22858 75 : if (pattern958 (x2,
22859 : E_V16BFmode,
22860 : E_V8SFmode) != 0
22861 75 : || !insn_condition_1008 (operands, insn))
22862 5 : return -1;
22863 : return 9048; /* avx512f_dpbf16ps_v8sf */
22864 :
22865 75 : case E_V4SFmode:
22866 75 : if (pattern958 (x2,
22867 : E_V8BFmode,
22868 : E_V4SFmode) != 0
22869 75 : || !insn_condition_1008 (operands, insn))
22870 5 : return -1;
22871 : return 9050; /* avx512f_dpbf16ps_v4sf */
22872 :
22873 : default:
22874 : return -1;
22875 : }
22876 :
22877 759 : case 226:
22878 759 : switch (pattern219 (x1))
22879 : {
22880 217 : case 0:
22881 217 : if (!insn_condition_1656 (operands, insn))
22882 0 : return -1;
22883 : return 9066; /* vpdpbssd_v8si */
22884 :
22885 185 : case 1:
22886 185 : if (!insn_condition_1657 (operands, insn))
22887 0 : return -1;
22888 : return 9072; /* vpdpbssd_v4si */
22889 :
22890 200 : case 2:
22891 200 : if (!insn_condition_1072 (operands, insn))
22892 0 : return -1;
22893 : return 9078; /* vpdpbssd_v16si */
22894 :
22895 : default:
22896 : return -1;
22897 : }
22898 :
22899 332 : case 227:
22900 332 : switch (pattern219 (x1))
22901 : {
22902 100 : case 0:
22903 100 : if (!insn_condition_1656 (operands, insn))
22904 0 : return -1;
22905 : return 9067; /* vpdpbssds_v8si */
22906 :
22907 100 : case 1:
22908 100 : if (!insn_condition_1657 (operands, insn))
22909 0 : return -1;
22910 : return 9073; /* vpdpbssds_v4si */
22911 :
22912 88 : case 2:
22913 88 : if (!insn_condition_1072 (operands, insn))
22914 0 : return -1;
22915 : return 9079; /* vpdpbssds_v16si */
22916 :
22917 : default:
22918 : return -1;
22919 : }
22920 :
22921 332 : case 228:
22922 332 : switch (pattern219 (x1))
22923 : {
22924 100 : case 0:
22925 100 : if (!insn_condition_1656 (operands, insn))
22926 0 : return -1;
22927 : return 9068; /* vpdpbsud_v8si */
22928 :
22929 100 : case 1:
22930 100 : if (!insn_condition_1657 (operands, insn))
22931 0 : return -1;
22932 : return 9074; /* vpdpbsud_v4si */
22933 :
22934 88 : case 2:
22935 88 : if (!insn_condition_1072 (operands, insn))
22936 0 : return -1;
22937 : return 9080; /* vpdpbsud_v16si */
22938 :
22939 : default:
22940 : return -1;
22941 : }
22942 :
22943 332 : case 229:
22944 332 : switch (pattern219 (x1))
22945 : {
22946 100 : case 0:
22947 100 : if (!insn_condition_1656 (operands, insn))
22948 0 : return -1;
22949 : return 9069; /* vpdpbsuds_v8si */
22950 :
22951 100 : case 1:
22952 100 : if (!insn_condition_1657 (operands, insn))
22953 0 : return -1;
22954 : return 9075; /* vpdpbsuds_v4si */
22955 :
22956 88 : case 2:
22957 88 : if (!insn_condition_1072 (operands, insn))
22958 0 : return -1;
22959 : return 9081; /* vpdpbsuds_v16si */
22960 :
22961 : default:
22962 : return -1;
22963 : }
22964 :
22965 776 : case 230:
22966 776 : switch (pattern219 (x1))
22967 : {
22968 221 : case 0:
22969 221 : if (!insn_condition_1656 (operands, insn))
22970 0 : return -1;
22971 : return 9070; /* vpdpbuud_v8si */
22972 :
22973 185 : case 1:
22974 185 : if (!insn_condition_1657 (operands, insn))
22975 0 : return -1;
22976 : return 9076; /* vpdpbuud_v4si */
22977 :
22978 198 : case 2:
22979 198 : if (!insn_condition_1072 (operands, insn))
22980 0 : return -1;
22981 : return 9082; /* vpdpbuud_v16si */
22982 :
22983 : default:
22984 : return -1;
22985 : }
22986 :
22987 332 : case 231:
22988 332 : switch (pattern219 (x1))
22989 : {
22990 100 : case 0:
22991 100 : if (!insn_condition_1656 (operands, insn))
22992 0 : return -1;
22993 : return 9071; /* vpdpbuuds_v8si */
22994 :
22995 100 : case 1:
22996 100 : if (!insn_condition_1657 (operands, insn))
22997 0 : return -1;
22998 : return 9077; /* vpdpbuuds_v4si */
22999 :
23000 86 : case 2:
23001 86 : if (!insn_condition_1072 (operands, insn))
23002 0 : return -1;
23003 : return 9083; /* vpdpbuuds_v16si */
23004 :
23005 : default:
23006 : return -1;
23007 : }
23008 :
23009 738 : case 232:
23010 738 : switch (pattern219 (x1))
23011 : {
23012 234 : case 0:
23013 234 : if (!insn_condition_1658 (operands, insn))
23014 0 : return -1;
23015 : return 9218; /* vpdpwusd_v8si */
23016 :
23017 161 : case 1:
23018 161 : if (!insn_condition_1659 (operands, insn))
23019 0 : return -1;
23020 : return 9224; /* vpdpwusd_v4si */
23021 :
23022 198 : case 2:
23023 198 : if (!insn_condition_1072 (operands, insn))
23024 0 : return -1;
23025 : return 9230; /* vpdpwusd_v16si */
23026 :
23027 : default:
23028 : return -1;
23029 : }
23030 :
23031 344 : case 233:
23032 344 : switch (pattern219 (x1))
23033 : {
23034 106 : case 0:
23035 106 : if (!insn_condition_1658 (operands, insn))
23036 0 : return -1;
23037 : return 9219; /* vpdpwusds_v8si */
23038 :
23039 106 : case 1:
23040 106 : if (!insn_condition_1659 (operands, insn))
23041 0 : return -1;
23042 : return 9225; /* vpdpwusds_v4si */
23043 :
23044 86 : case 2:
23045 86 : if (!insn_condition_1072 (operands, insn))
23046 0 : return -1;
23047 : return 9231; /* vpdpwusds_v16si */
23048 :
23049 : default:
23050 : return -1;
23051 : }
23052 :
23053 350 : case 234:
23054 350 : switch (pattern219 (x1))
23055 : {
23056 112 : case 0:
23057 112 : if (!insn_condition_1658 (operands, insn))
23058 0 : return -1;
23059 : return 9220; /* vpdpwsud_v8si */
23060 :
23061 106 : case 1:
23062 106 : if (!insn_condition_1659 (operands, insn))
23063 0 : return -1;
23064 : return 9226; /* vpdpwsud_v4si */
23065 :
23066 86 : case 2:
23067 86 : if (!insn_condition_1072 (operands, insn))
23068 0 : return -1;
23069 : return 9232; /* vpdpwsud_v16si */
23070 :
23071 : default:
23072 : return -1;
23073 : }
23074 :
23075 344 : case 235:
23076 344 : switch (pattern219 (x1))
23077 : {
23078 106 : case 0:
23079 106 : if (!insn_condition_1658 (operands, insn))
23080 0 : return -1;
23081 : return 9221; /* vpdpwsuds_v8si */
23082 :
23083 106 : case 1:
23084 106 : if (!insn_condition_1659 (operands, insn))
23085 0 : return -1;
23086 : return 9227; /* vpdpwsuds_v4si */
23087 :
23088 86 : case 2:
23089 86 : if (!insn_condition_1072 (operands, insn))
23090 0 : return -1;
23091 : return 9233; /* vpdpwsuds_v16si */
23092 :
23093 : default:
23094 : return -1;
23095 : }
23096 :
23097 810 : case 236:
23098 810 : switch (pattern219 (x1))
23099 : {
23100 290 : case 0:
23101 290 : if (!insn_condition_1658 (operands, insn))
23102 0 : return -1;
23103 : return 9222; /* vpdpwuud_v8si */
23104 :
23105 161 : case 1:
23106 161 : if (!insn_condition_1659 (operands, insn))
23107 0 : return -1;
23108 : return 9228; /* vpdpwuud_v4si */
23109 :
23110 198 : case 2:
23111 198 : if (!insn_condition_1072 (operands, insn))
23112 0 : return -1;
23113 : return 9234; /* vpdpwuud_v16si */
23114 :
23115 : default:
23116 : return -1;
23117 : }
23118 :
23119 344 : case 237:
23120 344 : switch (pattern219 (x1))
23121 : {
23122 106 : case 0:
23123 106 : if (!insn_condition_1658 (operands, insn))
23124 0 : return -1;
23125 : return 9223; /* vpdpwuuds_v8si */
23126 :
23127 106 : case 1:
23128 106 : if (!insn_condition_1659 (operands, insn))
23129 0 : return -1;
23130 : return 9229; /* vpdpwuuds_v4si */
23131 :
23132 86 : case 2:
23133 86 : if (!insn_condition_1072 (operands, insn))
23134 0 : return -1;
23135 : return 9235; /* vpdpwuuds_v16si */
23136 :
23137 : default:
23138 : return -1;
23139 : }
23140 :
23141 238 : case 243:
23142 238 : x3 = XEXP (x1, 0);
23143 238 : operands[0] = x3;
23144 238 : x4 = XVECEXP (x2, 0, 0);
23145 238 : operands[1] = x4;
23146 238 : x5 = XVECEXP (x2, 0, 1);
23147 238 : operands[2] = x5;
23148 238 : x6 = XVECEXP (x2, 0, 2);
23149 238 : operands[3] = x6;
23150 238 : switch (GET_MODE (operands[0]))
23151 : {
23152 80 : case E_V16SFmode:
23153 80 : if (pattern213 (x2,
23154 : E_V16SFmode) != 0
23155 80 : || !insn_condition_41 (operands, insn))
23156 13 : return -1;
23157 : return 9272; /* vdpphps_v16sf */
23158 :
23159 80 : case E_V8SFmode:
23160 80 : if (pattern213 (x2,
23161 : E_V8SFmode) != 0
23162 80 : || !insn_condition_1006 (operands, insn))
23163 13 : return -1;
23164 : return 9273; /* vdpphps_v8sf */
23165 :
23166 78 : case E_V4SFmode:
23167 78 : if (pattern213 (x2,
23168 : E_V4SFmode) != 0
23169 78 : || !insn_condition_1006 (operands, insn))
23170 11 : return -1;
23171 : return 9274; /* vdpphps_v4sf */
23172 :
23173 : default:
23174 : return -1;
23175 : }
23176 :
23177 450 : case 276:
23178 450 : x3 = XEXP (x1, 0);
23179 450 : operands[0] = x3;
23180 450 : x4 = XVECEXP (x2, 0, 0);
23181 450 : operands[1] = x4;
23182 450 : x5 = XVECEXP (x2, 0, 1);
23183 450 : operands[2] = x5;
23184 450 : x6 = XVECEXP (x2, 0, 2);
23185 450 : operands[3] = x6;
23186 450 : if (!const_0_to_255_operand (operands[3], E_SImode))
23187 : return -1;
23188 450 : switch (GET_MODE (operands[0]))
23189 : {
23190 154 : case E_V32BFmode:
23191 154 : if (pattern1076 (x2,
23192 : E_V32BFmode) != 0
23193 154 : || !insn_condition_41 (operands, insn))
23194 41 : return -1;
23195 : return 9601; /* avx10_2_minmaxbf16_v32bf */
23196 :
23197 154 : case E_V16BFmode:
23198 154 : if (pattern1076 (x2,
23199 : E_V16BFmode) != 0
23200 154 : || !insn_condition_41 (operands, insn))
23201 41 : return -1;
23202 : return 9603; /* avx10_2_minmaxbf16_v16bf */
23203 :
23204 142 : case E_V8BFmode:
23205 142 : if (pattern1076 (x2,
23206 : E_V8BFmode) != 0
23207 142 : || !insn_condition_41 (operands, insn))
23208 29 : return -1;
23209 : return 9605; /* avx10_2_minmaxbf16_v8bf */
23210 :
23211 : default:
23212 : return -1;
23213 : }
23214 :
23215 1528 : case 277:
23216 1528 : return recog_275 (x1, insn, pnum_clobbers);
23217 :
23218 140 : case 278:
23219 140 : switch (pattern220 (x1))
23220 : {
23221 70 : case 0:
23222 70 : if (!insn_condition_1081 (operands, insn))
23223 0 : return -1;
23224 : return 9679; /* avx512bmm_vbmacor16x16x16_v32hi */
23225 :
23226 70 : case 1:
23227 70 : if (!insn_condition_1082 (operands, insn))
23228 0 : return -1;
23229 : return 9680; /* avx512bmm_vbmacor16x16x16_v16hi */
23230 :
23231 : default:
23232 : return -1;
23233 : }
23234 :
23235 140 : case 279:
23236 140 : switch (pattern220 (x1))
23237 : {
23238 70 : case 0:
23239 70 : if (!insn_condition_1081 (operands, insn))
23240 0 : return -1;
23241 : return 9681; /* avx512bmm_vbmacxor16x16x16_v32hi */
23242 :
23243 70 : case 1:
23244 70 : if (!insn_condition_1082 (operands, insn))
23245 0 : return -1;
23246 : return 9682; /* avx512bmm_vbmacxor16x16x16_v16hi */
23247 :
23248 : default:
23249 : return -1;
23250 : }
23251 :
23252 62 : case 305:
23253 62 : if (pattern221 (x1,
23254 : E_V16SFmode) != 0
23255 62 : || !insn_condition_510 (operands, insn))
23256 4 : return -1;
23257 : return 9816; /* tcvtrowd2ps */
23258 :
23259 124 : case 306:
23260 124 : switch (pattern222 (x1))
23261 : {
23262 58 : case 0:
23263 58 : if (!insn_condition_510 (operands, insn))
23264 0 : return -1;
23265 : return 9817; /* tcvtrowps2phh */
23266 :
23267 58 : case 1:
23268 58 : if (!insn_condition_510 (operands, insn))
23269 0 : return -1;
23270 : return 9819; /* tcvtrowps2bf16h */
23271 :
23272 : default:
23273 : return -1;
23274 : }
23275 :
23276 124 : case 307:
23277 124 : switch (pattern222 (x1))
23278 : {
23279 58 : case 0:
23280 58 : if (!insn_condition_510 (operands, insn))
23281 0 : return -1;
23282 : return 9818; /* tcvtrowps2phl */
23283 :
23284 58 : case 1:
23285 58 : if (!insn_condition_510 (operands, insn))
23286 0 : return -1;
23287 : return 9820; /* tcvtrowps2bf16l */
23288 :
23289 : default:
23290 : return -1;
23291 : }
23292 :
23293 63 : case 308:
23294 63 : if (pattern221 (x1,
23295 : E_V16SImode) != 0
23296 63 : || !insn_condition_510 (operands, insn))
23297 4 : return -1;
23298 : return 9821; /* tilemovrow_extract */
23299 :
23300 : default:
23301 : return -1;
23302 : }
23303 : }
23304 :
23305 : int
23306 1095970 : recog_301 (rtx x1 ATTRIBUTE_UNUSED,
23307 : rtx_insn *insn ATTRIBUTE_UNUSED,
23308 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23309 : {
23310 1095970 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23311 1095970 : rtx x2, x3, x4, x5, x6, x7, x8;
23312 1095970 : int res ATTRIBUTE_UNUSED;
23313 1095970 : x2 = XEXP (x1, 1);
23314 1095970 : x3 = XEXP (x2, 0);
23315 1095970 : x4 = XEXP (x3, 1);
23316 1095970 : operands[2] = x4;
23317 1095970 : x5 = XEXP (x2, 1);
23318 1095970 : x6 = XVECEXP (x5, 0, 1);
23319 1095970 : operands[4] = x6;
23320 1095970 : x7 = XVECEXP (x5, 0, 2);
23321 1095970 : operands[5] = x7;
23322 1095970 : x8 = XVECEXP (x5, 0, 3);
23323 1095970 : operands[6] = x8;
23324 1095970 : switch (GET_MODE (operands[0]))
23325 : {
23326 772618 : case E_V4SImode:
23327 772618 : if (pattern1565 (x2,
23328 : E_V4SImode,
23329 : E_V8SImode) != 0
23330 772618 : || !insn_condition_148 (operands, insn))
23331 452721 : return -1;
23332 : return 5435; /* sse_shufps_v4si */
23333 :
23334 260733 : case E_V4SFmode:
23335 260733 : if (pattern1565 (x2,
23336 : E_V4SFmode,
23337 : E_V8SFmode) != 0
23338 260733 : || !insn_condition_148 (operands, insn))
23339 82776 : return -1;
23340 : return 5436; /* sse_shufps_v4sf */
23341 :
23342 9944 : case E_V4DFmode:
23343 9944 : if (pattern1458 (x2,
23344 : E_V4DFmode,
23345 : E_V8DFmode) != 0)
23346 : return -1;
23347 9821 : if (const_0_to_1_operand (operands[3], E_VOIDmode)
23348 4873 : && const_4_to_5_operand (operands[4], E_VOIDmode)
23349 392 : && const_2_to_3_operand (operands[5], E_VOIDmode)
23350 255 : && const_6_to_7_operand (operands[6], E_VOIDmode)
23351 10067 : && insn_condition_1344 (operands, insn))
23352 : return 5874; /* avx_shufpd256_1 */
23353 9575 : if (!const_0_to_3_operand (operands[3], E_VOIDmode)
23354 7834 : || !const_0_to_3_operand (operands[4], E_VOIDmode)
23355 7549 : || !const_4_to_7_operand (operands[5], E_VOIDmode)
23356 7307 : || !const_4_to_7_operand (operands[6], E_VOIDmode)
23357 16882 : || !insn_condition_1689 (operands, insn))
23358 9484 : return -1;
23359 : return 7081; /* *avx512dq_shuf_f64x2_1 */
23360 :
23361 2585 : case E_V4DImode:
23362 2585 : if (pattern1458 (x2,
23363 : E_V4DImode,
23364 : E_V8DImode) != 0
23365 1083 : || pattern1564 () != 0
23366 2876 : || !insn_condition_1689 (operands, insn))
23367 2504 : return -1;
23368 : return 7079; /* *avx512dq_shuf_i64x2_1 */
23369 :
23370 : default:
23371 : return -1;
23372 : }
23373 : }
23374 :
23375 : int
23376 398578 : recog_304 (rtx x1 ATTRIBUTE_UNUSED,
23377 : rtx_insn *insn ATTRIBUTE_UNUSED,
23378 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23379 : {
23380 398578 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23381 398578 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23382 398578 : rtx x10, x11, x12, x13;
23383 398578 : int res ATTRIBUTE_UNUSED;
23384 398578 : x2 = XEXP (x1, 1);
23385 398578 : x3 = XEXP (x2, 1);
23386 398578 : x4 = XVECEXP (x3, 0, 0);
23387 398578 : if (GET_CODE (x4) != CONST_INT)
23388 : return -1;
23389 398578 : x5 = XVECEXP (x3, 0, 1);
23390 398578 : if (GET_CODE (x5) == CONST_INT)
23391 : {
23392 398578 : res = recog_303 (x1, insn, pnum_clobbers);
23393 398578 : if (res >= 0)
23394 : return res;
23395 : }
23396 143890 : operands[3] = x4;
23397 143890 : x6 = XEXP (x2, 0);
23398 143890 : x7 = XEXP (x6, 1);
23399 143890 : operands[2] = x7;
23400 143890 : operands[4] = x5;
23401 143890 : x8 = XVECEXP (x3, 0, 2);
23402 143890 : operands[5] = x8;
23403 143890 : x9 = XVECEXP (x3, 0, 3);
23404 143890 : operands[6] = x9;
23405 143890 : x10 = XVECEXP (x3, 0, 4);
23406 143890 : operands[7] = x10;
23407 143890 : x11 = XVECEXP (x3, 0, 5);
23408 143890 : operands[8] = x11;
23409 143890 : x12 = XVECEXP (x3, 0, 6);
23410 143890 : operands[9] = x12;
23411 143890 : x13 = XVECEXP (x3, 0, 7);
23412 143890 : operands[10] = x13;
23413 143890 : switch (GET_MODE (operands[0]))
23414 : {
23415 36256 : case E_V8SFmode:
23416 36256 : if (pattern1458 (x2,
23417 : E_V8SFmode,
23418 : E_V16SFmode) != 0)
23419 : return -1;
23420 36154 : if (const_0_to_3_operand (operands[3], E_VOIDmode)
23421 25529 : && const_0_to_3_operand (operands[4], E_VOIDmode)
23422 20843 : && const_8_to_11_operand (operands[5], E_VOIDmode)
23423 10997 : && const_8_to_11_operand (operands[6], E_VOIDmode)
23424 10988 : && const_4_to_7_operand (operands[7], E_VOIDmode)
23425 10329 : && const_4_to_7_operand (operands[8], E_VOIDmode)
23426 10183 : && const_12_to_15_operand (operands[9], E_VOIDmode)
23427 10135 : && const_12_to_15_operand (operands[10], E_VOIDmode)
23428 46289 : && insn_condition_1694 (operands, insn))
23429 : return 5432; /* avx_shufps256_1 */
23430 26735 : if (!const_0_to_7_operand (operands[3], E_VOIDmode)
23431 20117 : || pattern1738 () != 0
23432 32219 : || !insn_condition_1695 (operands, insn))
23433 26606 : return -1;
23434 : return 7093; /* avx512vl_shuf_f32x4_1 */
23435 :
23436 649 : case E_V8DFmode:
23437 649 : if (pattern1458 (x2,
23438 : E_V8DFmode,
23439 : E_V16DFmode) != 0)
23440 : return -1;
23441 617 : if (const_0_to_1_operand (operands[3], E_VOIDmode)
23442 300 : && const_8_to_9_operand (operands[4], E_VOIDmode)
23443 84 : && const_2_to_3_operand (operands[5], E_VOIDmode)
23444 74 : && const_10_to_11_operand (operands[6], E_VOIDmode)
23445 73 : && const_4_to_5_operand (operands[7], E_VOIDmode)
23446 73 : && const_12_to_13_operand (operands[8], E_VOIDmode)
23447 73 : && const_6_to_7_operand (operands[9], E_VOIDmode)
23448 73 : && const_14_to_15_operand (operands[10], E_VOIDmode)
23449 690 : && insn_condition_27 (operands, insn))
23450 : return 5872; /* avx512f_shufpd512_1 */
23451 544 : if (!const_0_to_7_operand (operands[3], E_VOIDmode)
23452 346 : || pattern1738 () != 0
23453 787 : || !insn_condition_1696 (operands, insn))
23454 486 : return -1;
23455 : return 7083; /* avx512f_shuf_f64x2_1 */
23456 :
23457 549 : case E_V8DImode:
23458 549 : if (pattern1739 (x2,
23459 : E_V8DImode,
23460 : E_V16DImode) != 0
23461 549 : || !insn_condition_1696 (operands, insn))
23462 60 : return -1;
23463 : return 7085; /* avx512f_shuf_i64x2_1 */
23464 :
23465 5235 : case E_V8SImode:
23466 5235 : if (pattern1739 (x2,
23467 : E_V8SImode,
23468 : E_V16SImode) != 0
23469 5235 : || !insn_condition_1695 (operands, insn))
23470 5091 : return -1;
23471 : return 7091; /* avx512vl_shuf_i32x4_1 */
23472 :
23473 : default:
23474 : return -1;
23475 : }
23476 : }
23477 :
23478 : int
23479 777 : recog_308 (rtx x1 ATTRIBUTE_UNUSED,
23480 : rtx_insn *insn ATTRIBUTE_UNUSED,
23481 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23482 : {
23483 777 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23484 777 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23485 777 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
23486 777 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
23487 777 : rtx x26, x27, x28, x29, x30, x31, x32, x33;
23488 777 : rtx x34, x35, x36, x37, x38, x39, x40, x41;
23489 777 : rtx x42, x43, x44, x45, x46, x47, x48, x49;
23490 777 : rtx x50, x51, x52, x53, x54, x55, x56, x57;
23491 777 : rtx x58, x59, x60, x61, x62, x63, x64, x65;
23492 777 : rtx x66, x67;
23493 777 : int res ATTRIBUTE_UNUSED;
23494 777 : x2 = XEXP (x1, 1);
23495 777 : x3 = XEXP (x2, 1);
23496 777 : if (pattern713 (x3) != 0)
23497 : return -1;
23498 777 : x4 = XVECEXP (x3, 0, 32);
23499 777 : if (GET_CODE (x4) != CONST_INT)
23500 : return -1;
23501 777 : x5 = XVECEXP (x3, 0, 33);
23502 777 : if (GET_CODE (x5) != CONST_INT)
23503 : return -1;
23504 777 : x6 = XVECEXP (x3, 0, 34);
23505 777 : if (GET_CODE (x6) != CONST_INT)
23506 : return -1;
23507 777 : x7 = XVECEXP (x3, 0, 35);
23508 777 : if (GET_CODE (x7) != CONST_INT)
23509 : return -1;
23510 777 : x8 = XVECEXP (x3, 0, 36);
23511 777 : if (GET_CODE (x8) != CONST_INT)
23512 : return -1;
23513 777 : x9 = XVECEXP (x3, 0, 37);
23514 777 : if (GET_CODE (x9) != CONST_INT)
23515 : return -1;
23516 777 : x10 = XVECEXP (x3, 0, 38);
23517 777 : if (GET_CODE (x10) != CONST_INT)
23518 : return -1;
23519 777 : x11 = XVECEXP (x3, 0, 39);
23520 777 : if (GET_CODE (x11) != CONST_INT)
23521 : return -1;
23522 777 : x12 = XVECEXP (x3, 0, 40);
23523 777 : if (GET_CODE (x12) != CONST_INT)
23524 : return -1;
23525 777 : x13 = XVECEXP (x3, 0, 41);
23526 777 : if (GET_CODE (x13) != CONST_INT)
23527 : return -1;
23528 777 : x14 = XVECEXP (x3, 0, 42);
23529 777 : if (GET_CODE (x14) != CONST_INT)
23530 : return -1;
23531 777 : x15 = XVECEXP (x3, 0, 43);
23532 777 : if (GET_CODE (x15) != CONST_INT)
23533 : return -1;
23534 777 : x16 = XVECEXP (x3, 0, 44);
23535 777 : if (GET_CODE (x16) != CONST_INT)
23536 : return -1;
23537 777 : x17 = XVECEXP (x3, 0, 45);
23538 777 : if (GET_CODE (x17) != CONST_INT)
23539 : return -1;
23540 777 : x18 = XVECEXP (x3, 0, 46);
23541 777 : if (GET_CODE (x18) != CONST_INT)
23542 : return -1;
23543 777 : x19 = XVECEXP (x3, 0, 47);
23544 777 : if (GET_CODE (x19) != CONST_INT)
23545 : return -1;
23546 777 : x20 = XVECEXP (x3, 0, 48);
23547 777 : if (GET_CODE (x20) != CONST_INT)
23548 : return -1;
23549 777 : x21 = XVECEXP (x3, 0, 49);
23550 777 : if (GET_CODE (x21) != CONST_INT)
23551 : return -1;
23552 777 : x22 = XVECEXP (x3, 0, 50);
23553 777 : if (GET_CODE (x22) != CONST_INT)
23554 : return -1;
23555 777 : x23 = XVECEXP (x3, 0, 51);
23556 777 : if (GET_CODE (x23) != CONST_INT)
23557 : return -1;
23558 777 : x24 = XVECEXP (x3, 0, 52);
23559 777 : if (GET_CODE (x24) != CONST_INT)
23560 : return -1;
23561 777 : x25 = XVECEXP (x3, 0, 53);
23562 777 : if (GET_CODE (x25) != CONST_INT)
23563 : return -1;
23564 777 : x26 = XVECEXP (x3, 0, 54);
23565 777 : if (GET_CODE (x26) != CONST_INT)
23566 : return -1;
23567 777 : x27 = XVECEXP (x3, 0, 55);
23568 777 : if (GET_CODE (x27) != CONST_INT)
23569 : return -1;
23570 777 : x28 = XVECEXP (x3, 0, 56);
23571 777 : if (GET_CODE (x28) != CONST_INT)
23572 : return -1;
23573 777 : x29 = XVECEXP (x3, 0, 57);
23574 777 : if (GET_CODE (x29) != CONST_INT)
23575 : return -1;
23576 777 : x30 = XVECEXP (x3, 0, 58);
23577 777 : if (GET_CODE (x30) != CONST_INT)
23578 : return -1;
23579 777 : x31 = XVECEXP (x3, 0, 59);
23580 777 : if (GET_CODE (x31) != CONST_INT)
23581 : return -1;
23582 777 : x32 = XVECEXP (x3, 0, 60);
23583 777 : if (GET_CODE (x32) != CONST_INT)
23584 : return -1;
23585 777 : x33 = XVECEXP (x3, 0, 61);
23586 777 : if (GET_CODE (x33) != CONST_INT)
23587 : return -1;
23588 777 : x34 = XVECEXP (x3, 0, 62);
23589 777 : if (GET_CODE (x34) != CONST_INT)
23590 : return -1;
23591 777 : x35 = XVECEXP (x3, 0, 63);
23592 777 : if (GET_CODE (x35) != CONST_INT
23593 777 : || pattern1676 (x2,
23594 : E_V64QImode,
23595 : E_V128QImode) != 0)
23596 : return -1;
23597 769 : x36 = XVECEXP (x3, 0, 0);
23598 769 : switch (XWINT (x36, 0))
23599 : {
23600 165 : case 8L:
23601 165 : x37 = XVECEXP (x3, 0, 1);
23602 165 : if (XWINT (x37, 0) != 72L)
23603 : return -1;
23604 157 : x38 = XVECEXP (x3, 0, 2);
23605 157 : if (XWINT (x38, 0) != 9L)
23606 : return -1;
23607 157 : x39 = XVECEXP (x3, 0, 3);
23608 157 : if (XWINT (x39, 0) != 73L)
23609 : return -1;
23610 157 : x40 = XVECEXP (x3, 0, 4);
23611 157 : if (XWINT (x40, 0) != 10L)
23612 : return -1;
23613 157 : x41 = XVECEXP (x3, 0, 5);
23614 157 : if (XWINT (x41, 0) != 74L)
23615 : return -1;
23616 157 : x42 = XVECEXP (x3, 0, 6);
23617 157 : if (XWINT (x42, 0) != 11L)
23618 : return -1;
23619 157 : x43 = XVECEXP (x3, 0, 7);
23620 157 : if (XWINT (x43, 0) != 75L)
23621 : return -1;
23622 157 : x44 = XVECEXP (x3, 0, 8);
23623 157 : if (XWINT (x44, 0) != 12L)
23624 : return -1;
23625 157 : x45 = XVECEXP (x3, 0, 9);
23626 157 : if (XWINT (x45, 0) != 76L)
23627 : return -1;
23628 157 : x46 = XVECEXP (x3, 0, 10);
23629 157 : if (XWINT (x46, 0) != 13L)
23630 : return -1;
23631 157 : x47 = XVECEXP (x3, 0, 11);
23632 157 : if (XWINT (x47, 0) != 77L)
23633 : return -1;
23634 157 : x48 = XVECEXP (x3, 0, 12);
23635 157 : if (XWINT (x48, 0) != 14L)
23636 : return -1;
23637 157 : x49 = XVECEXP (x3, 0, 13);
23638 157 : if (XWINT (x49, 0) != 78L)
23639 : return -1;
23640 157 : x50 = XVECEXP (x3, 0, 14);
23641 157 : if (XWINT (x50, 0) != 15L)
23642 : return -1;
23643 157 : x51 = XVECEXP (x3, 0, 15);
23644 157 : if (XWINT (x51, 0) != 79L)
23645 : return -1;
23646 157 : x52 = XVECEXP (x3, 0, 16);
23647 157 : if (XWINT (x52, 0) != 24L)
23648 : return -1;
23649 157 : x53 = XVECEXP (x3, 0, 17);
23650 157 : if (XWINT (x53, 0) != 88L)
23651 : return -1;
23652 157 : x54 = XVECEXP (x3, 0, 18);
23653 157 : if (XWINT (x54, 0) != 25L)
23654 : return -1;
23655 157 : x55 = XVECEXP (x3, 0, 19);
23656 157 : if (XWINT (x55, 0) != 89L)
23657 : return -1;
23658 157 : x56 = XVECEXP (x3, 0, 20);
23659 157 : if (XWINT (x56, 0) != 26L)
23660 : return -1;
23661 157 : x57 = XVECEXP (x3, 0, 21);
23662 157 : if (XWINT (x57, 0) != 90L)
23663 : return -1;
23664 157 : x58 = XVECEXP (x3, 0, 22);
23665 157 : if (XWINT (x58, 0) != 27L)
23666 : return -1;
23667 157 : x59 = XVECEXP (x3, 0, 23);
23668 157 : if (XWINT (x59, 0) != 91L)
23669 : return -1;
23670 157 : x60 = XVECEXP (x3, 0, 24);
23671 157 : if (XWINT (x60, 0) != 28L)
23672 : return -1;
23673 157 : x61 = XVECEXP (x3, 0, 25);
23674 157 : if (XWINT (x61, 0) != 92L)
23675 : return -1;
23676 157 : x62 = XVECEXP (x3, 0, 26);
23677 157 : if (XWINT (x62, 0) != 29L)
23678 : return -1;
23679 157 : x63 = XVECEXP (x3, 0, 27);
23680 157 : if (XWINT (x63, 0) != 93L)
23681 : return -1;
23682 157 : x64 = XVECEXP (x3, 0, 28);
23683 157 : if (XWINT (x64, 0) != 30L)
23684 : return -1;
23685 157 : x65 = XVECEXP (x3, 0, 29);
23686 157 : if (XWINT (x65, 0) != 94L)
23687 : return -1;
23688 157 : x66 = XVECEXP (x3, 0, 30);
23689 157 : if (XWINT (x66, 0) != 31L)
23690 : return -1;
23691 157 : x67 = XVECEXP (x3, 0, 31);
23692 157 : if (XWINT (x67, 0) != 95L
23693 157 : || XWINT (x4, 0) != 40L
23694 157 : || XWINT (x5, 0) != 104L
23695 157 : || XWINT (x6, 0) != 41L
23696 157 : || XWINT (x7, 0) != 105L
23697 157 : || XWINT (x8, 0) != 42L
23698 157 : || XWINT (x9, 0) != 106L
23699 157 : || XWINT (x10, 0) != 43L
23700 157 : || XWINT (x11, 0) != 107L
23701 157 : || XWINT (x12, 0) != 44L
23702 157 : || XWINT (x13, 0) != 108L
23703 157 : || XWINT (x14, 0) != 45L
23704 157 : || XWINT (x15, 0) != 109L
23705 157 : || XWINT (x16, 0) != 46L
23706 157 : || XWINT (x17, 0) != 110L
23707 157 : || XWINT (x18, 0) != 47L
23708 157 : || XWINT (x19, 0) != 111L
23709 157 : || XWINT (x20, 0) != 56L
23710 157 : || XWINT (x21, 0) != 120L
23711 157 : || XWINT (x22, 0) != 57L
23712 157 : || XWINT (x23, 0) != 121L
23713 157 : || XWINT (x24, 0) != 58L
23714 157 : || XWINT (x25, 0) != 122L
23715 157 : || XWINT (x26, 0) != 59L
23716 157 : || XWINT (x27, 0) != 123L
23717 157 : || XWINT (x28, 0) != 60L
23718 157 : || XWINT (x29, 0) != 124L
23719 157 : || XWINT (x30, 0) != 61L
23720 157 : || XWINT (x31, 0) != 125L
23721 157 : || XWINT (x32, 0) != 62L
23722 157 : || XWINT (x33, 0) != 126L
23723 157 : || XWINT (x34, 0) != 63L
23724 157 : || XWINT (x35, 0) != 127L
23725 314 : || !insn_condition_12 (operands, insn))
23726 8 : return -1;
23727 : return 6984; /* avx512bw_interleave_highv64qi */
23728 :
23729 325 : case 0L:
23730 325 : x37 = XVECEXP (x3, 0, 1);
23731 325 : if (XWINT (x37, 0) != 64L)
23732 : return -1;
23733 197 : x38 = XVECEXP (x3, 0, 2);
23734 197 : if (XWINT (x38, 0) != 1L)
23735 : return -1;
23736 170 : x39 = XVECEXP (x3, 0, 3);
23737 170 : if (XWINT (x39, 0) != 65L)
23738 : return -1;
23739 170 : x40 = XVECEXP (x3, 0, 4);
23740 170 : if (XWINT (x40, 0) != 2L)
23741 : return -1;
23742 170 : x41 = XVECEXP (x3, 0, 5);
23743 170 : if (XWINT (x41, 0) != 66L)
23744 : return -1;
23745 170 : x42 = XVECEXP (x3, 0, 6);
23746 170 : if (XWINT (x42, 0) != 3L)
23747 : return -1;
23748 170 : x43 = XVECEXP (x3, 0, 7);
23749 170 : if (XWINT (x43, 0) != 67L)
23750 : return -1;
23751 170 : x44 = XVECEXP (x3, 0, 8);
23752 170 : if (XWINT (x44, 0) != 4L)
23753 : return -1;
23754 170 : x45 = XVECEXP (x3, 0, 9);
23755 170 : if (XWINT (x45, 0) != 68L)
23756 : return -1;
23757 170 : x46 = XVECEXP (x3, 0, 10);
23758 170 : if (XWINT (x46, 0) != 5L)
23759 : return -1;
23760 170 : x47 = XVECEXP (x3, 0, 11);
23761 170 : if (XWINT (x47, 0) != 69L)
23762 : return -1;
23763 170 : x48 = XVECEXP (x3, 0, 12);
23764 170 : if (XWINT (x48, 0) != 6L)
23765 : return -1;
23766 170 : x49 = XVECEXP (x3, 0, 13);
23767 170 : if (XWINT (x49, 0) != 70L)
23768 : return -1;
23769 170 : x50 = XVECEXP (x3, 0, 14);
23770 170 : if (XWINT (x50, 0) != 7L)
23771 : return -1;
23772 170 : x51 = XVECEXP (x3, 0, 15);
23773 170 : if (XWINT (x51, 0) != 71L)
23774 : return -1;
23775 170 : x52 = XVECEXP (x3, 0, 16);
23776 170 : if (XWINT (x52, 0) != 16L)
23777 : return -1;
23778 157 : x53 = XVECEXP (x3, 0, 17);
23779 157 : if (XWINT (x53, 0) != 80L)
23780 : return -1;
23781 157 : x54 = XVECEXP (x3, 0, 18);
23782 157 : if (XWINT (x54, 0) != 17L)
23783 : return -1;
23784 157 : x55 = XVECEXP (x3, 0, 19);
23785 157 : if (XWINT (x55, 0) != 81L)
23786 : return -1;
23787 157 : x56 = XVECEXP (x3, 0, 20);
23788 157 : if (XWINT (x56, 0) != 18L)
23789 : return -1;
23790 157 : x57 = XVECEXP (x3, 0, 21);
23791 157 : if (XWINT (x57, 0) != 82L)
23792 : return -1;
23793 157 : x58 = XVECEXP (x3, 0, 22);
23794 157 : if (XWINT (x58, 0) != 19L)
23795 : return -1;
23796 157 : x59 = XVECEXP (x3, 0, 23);
23797 157 : if (XWINT (x59, 0) != 83L)
23798 : return -1;
23799 157 : x60 = XVECEXP (x3, 0, 24);
23800 157 : if (XWINT (x60, 0) != 20L)
23801 : return -1;
23802 157 : x61 = XVECEXP (x3, 0, 25);
23803 157 : if (XWINT (x61, 0) != 84L)
23804 : return -1;
23805 157 : x62 = XVECEXP (x3, 0, 26);
23806 157 : if (XWINT (x62, 0) != 21L)
23807 : return -1;
23808 157 : x63 = XVECEXP (x3, 0, 27);
23809 157 : if (XWINT (x63, 0) != 85L)
23810 : return -1;
23811 157 : x64 = XVECEXP (x3, 0, 28);
23812 157 : if (XWINT (x64, 0) != 22L)
23813 : return -1;
23814 157 : x65 = XVECEXP (x3, 0, 29);
23815 157 : if (XWINT (x65, 0) != 86L)
23816 : return -1;
23817 157 : x66 = XVECEXP (x3, 0, 30);
23818 157 : if (XWINT (x66, 0) != 23L)
23819 : return -1;
23820 157 : x67 = XVECEXP (x3, 0, 31);
23821 157 : if (XWINT (x67, 0) != 87L
23822 157 : || XWINT (x4, 0) != 32L
23823 157 : || XWINT (x5, 0) != 96L
23824 157 : || XWINT (x6, 0) != 33L
23825 157 : || XWINT (x7, 0) != 97L
23826 157 : || XWINT (x8, 0) != 34L
23827 157 : || XWINT (x9, 0) != 98L
23828 157 : || XWINT (x10, 0) != 35L
23829 157 : || XWINT (x11, 0) != 99L
23830 157 : || XWINT (x12, 0) != 36L
23831 157 : || XWINT (x13, 0) != 100L
23832 157 : || XWINT (x14, 0) != 37L
23833 157 : || XWINT (x15, 0) != 101L
23834 157 : || XWINT (x16, 0) != 38L
23835 157 : || XWINT (x17, 0) != 102L
23836 157 : || XWINT (x18, 0) != 39L
23837 157 : || XWINT (x19, 0) != 103L
23838 157 : || XWINT (x20, 0) != 48L
23839 157 : || XWINT (x21, 0) != 112L
23840 157 : || XWINT (x22, 0) != 49L
23841 157 : || XWINT (x23, 0) != 113L
23842 157 : || XWINT (x24, 0) != 50L
23843 157 : || XWINT (x25, 0) != 114L
23844 157 : || XWINT (x26, 0) != 51L
23845 157 : || XWINT (x27, 0) != 115L
23846 157 : || XWINT (x28, 0) != 52L
23847 157 : || XWINT (x29, 0) != 116L
23848 157 : || XWINT (x30, 0) != 53L
23849 157 : || XWINT (x31, 0) != 117L
23850 157 : || XWINT (x32, 0) != 54L
23851 157 : || XWINT (x33, 0) != 118L
23852 157 : || XWINT (x34, 0) != 55L
23853 157 : || XWINT (x35, 0) != 119L
23854 314 : || !insn_condition_12 (operands, insn))
23855 8 : return -1;
23856 : return 6990; /* avx512bw_interleave_lowv64qi */
23857 :
23858 : default:
23859 : return -1;
23860 : }
23861 : }
23862 :
23863 : int
23864 40194 : recog_316 (rtx x1 ATTRIBUTE_UNUSED,
23865 : rtx_insn *insn ATTRIBUTE_UNUSED,
23866 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23867 : {
23868 40194 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23869 40194 : rtx x2, x3, x4, x5, x6, x7;
23870 40194 : int res ATTRIBUTE_UNUSED;
23871 40194 : x2 = XEXP (x1, 1);
23872 40194 : x3 = XEXP (x2, 1);
23873 40194 : x4 = XVECEXP (x3, 0, 4);
23874 40194 : if (GET_CODE (x4) != CONST_INT)
23875 : return -1;
23876 40194 : operands[6] = x4;
23877 40194 : res = recog_315 (x1, insn, pnum_clobbers);
23878 40194 : if (res >= 0)
23879 : return res;
23880 35119 : if (XWINT (x4, 0) != 4L)
23881 : return -1;
23882 16626 : x5 = XVECEXP (x3, 0, 5);
23883 16626 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 5])
23884 : return -1;
23885 11555 : x6 = XVECEXP (x3, 0, 6);
23886 11555 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 6])
23887 : return -1;
23888 11347 : x7 = XVECEXP (x3, 0, 7);
23889 11347 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 7]
23890 11341 : || !register_operand (operands[0], E_V8HImode)
23891 10623 : || GET_MODE (x2) != E_V8HImode
23892 10623 : || !vector_operand (operands[1], E_V8HImode)
23893 9734 : || pattern783 (x3) != 0
23894 20528 : || !insn_condition_1622 (operands, insn))
23895 2166 : return -1;
23896 : return 7113; /* sse2_pshuflw_1 */
23897 : }
23898 :
23899 : int
23900 18478 : recog_321 (rtx x1 ATTRIBUTE_UNUSED,
23901 : rtx_insn *insn ATTRIBUTE_UNUSED,
23902 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23903 : {
23904 18478 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23905 18478 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
23906 18478 : rtx x10, x11;
23907 18478 : int res ATTRIBUTE_UNUSED;
23908 18478 : x2 = XEXP (x1, 1);
23909 18478 : x3 = XEXP (x2, 1);
23910 18478 : x4 = XVECEXP (x3, 0, 0);
23911 18478 : if (GET_CODE (x4) != CONST_INT)
23912 : return -1;
23913 18478 : x5 = XVECEXP (x3, 0, 1);
23914 18478 : if (GET_CODE (x5) == CONST_INT)
23915 : {
23916 18478 : res = recog_318 (x1, insn, pnum_clobbers);
23917 18478 : if (res >= 0)
23918 : return res;
23919 : }
23920 12232 : operands[2] = x4;
23921 12232 : res = recog_320 (x1, insn, pnum_clobbers);
23922 12232 : if (res >= 0)
23923 : return res;
23924 11597 : if (XWINT (x4, 0) != 0L
23925 6129 : || x5 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
23926 : return -1;
23927 1698 : x6 = XVECEXP (x3, 0, 2);
23928 1698 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
23929 : return -1;
23930 1372 : x7 = XVECEXP (x3, 0, 3);
23931 1372 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 3]
23932 1368 : || pattern884 (x3,
23933 : 11,
23934 : 10,
23935 : 9,
23936 : 8) != 0
23937 1319 : || !register_operand (operands[0], E_V16HImode)
23938 88 : || GET_MODE (x2) != E_V16HImode
23939 88 : || !nonimmediate_operand (operands[1], E_V16HImode)
23940 1460 : || pattern1528 (x3) != 0)
23941 : return -1;
23942 88 : x8 = XVECEXP (x3, 0, 12);
23943 88 : operands[6] = x8;
23944 88 : if (!const_12_to_15_operand (operands[6], E_VOIDmode))
23945 : return -1;
23946 88 : x9 = XVECEXP (x3, 0, 13);
23947 88 : operands[7] = x9;
23948 88 : if (!const_12_to_15_operand (operands[7], E_VOIDmode))
23949 : return -1;
23950 88 : x10 = XVECEXP (x3, 0, 14);
23951 88 : operands[8] = x10;
23952 88 : if (!const_12_to_15_operand (operands[8], E_VOIDmode))
23953 : return -1;
23954 88 : x11 = XVECEXP (x3, 0, 15);
23955 88 : operands[9] = x11;
23956 88 : if (!const_12_to_15_operand (operands[9], E_VOIDmode)
23957 88 : || !insn_condition_1718 (operands, insn))
23958 0 : return -1;
23959 : return 7117; /* avx2_pshufhw_1 */
23960 : }
23961 :
23962 : int
23963 4111 : recog_325 (rtx x1 ATTRIBUTE_UNUSED,
23964 : rtx_insn *insn ATTRIBUTE_UNUSED,
23965 : int *pnum_clobbers ATTRIBUTE_UNUSED)
23966 : {
23967 4111 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
23968 4111 : rtx x2, x3, x4, x5, x6, x7;
23969 4111 : int res ATTRIBUTE_UNUSED;
23970 4111 : x2 = XEXP (x1, 1);
23971 4111 : x3 = XEXP (x2, 0);
23972 4111 : x4 = XEXP (x3, 1);
23973 4111 : if (GET_CODE (x4) != PARALLEL)
23974 : return -1;
23975 4111 : x5 = XEXP (x3, 0);
23976 4111 : operands[1] = x5;
23977 4111 : switch (XVECLEN (x4, 0))
23978 : {
23979 3782 : case 1:
23980 3782 : x6 = XVECEXP (x4, 0, 0);
23981 3782 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
23982 : return -1;
23983 3736 : switch (GET_MODE (operands[0]))
23984 : {
23985 132 : case E_V8SFmode:
23986 132 : if (!register_operand (operands[0], E_V8SFmode)
23987 120 : || GET_MODE (x2) != E_V8SFmode
23988 252 : || GET_MODE (x3) != E_SFmode)
23989 : return -1;
23990 120 : switch (GET_MODE (operands[1]))
23991 : {
23992 99 : case E_V4SFmode:
23993 99 : if (register_operand (operands[1], E_V4SFmode)
23994 99 : && insn_condition_1735 (operands, insn))
23995 : return 5443; /* avx2_vec_dupv8sf */
23996 9 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
23997 9 : || !insn_condition_100 (operands, insn))
23998 8 : return -1;
23999 : return 7887; /* avx512vl_vec_dupv8sf */
24000 :
24001 12 : case E_V8SFmode:
24002 12 : if (!register_operand (operands[1], E_V8SFmode)
24003 12 : || !insn_condition_1108 (operands, insn))
24004 1 : return -1;
24005 : return 5445; /* avx2_vec_dupv8sf_1 */
24006 :
24007 : default:
24008 : return -1;
24009 : }
24010 :
24011 898 : case E_V4SFmode:
24012 898 : if (!register_operand (operands[0], E_V4SFmode)
24013 887 : || GET_MODE (x2) != E_V4SFmode
24014 1785 : || GET_MODE (x3) != E_SFmode)
24015 : return -1;
24016 887 : if (register_operand (operands[1], E_V4SFmode)
24017 887 : && insn_condition_1108 (operands, insn))
24018 : return 5444; /* avx2_vec_dupv4sf */
24019 45 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
24020 45 : || !insn_condition_100 (operands, insn))
24021 44 : return -1;
24022 : return 7889; /* avx512vl_vec_dupv4sf */
24023 :
24024 66 : case E_V16SFmode:
24025 66 : if (!register_operand (operands[0], E_V16SFmode)
24026 59 : || GET_MODE (x2) != E_V16SFmode
24027 125 : || GET_MODE (x3) != E_SFmode)
24028 : return -1;
24029 59 : switch (GET_MODE (operands[1]))
24030 : {
24031 0 : case E_V16SFmode:
24032 0 : if (!register_operand (operands[1], E_V16SFmode)
24033 0 : || !insn_condition_27 (operands, insn))
24034 0 : return -1;
24035 : return 5446; /* avx512f_vec_dupv16sf_1 */
24036 :
24037 59 : case E_V4SFmode:
24038 59 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
24039 59 : || !insn_condition_27 (operands, insn))
24040 3 : return -1;
24041 : return 7885; /* avx512f_vec_dupv16sf */
24042 :
24043 : default:
24044 : return -1;
24045 : }
24046 :
24047 69 : case E_V8DFmode:
24048 69 : if (!register_operand (operands[0], E_V8DFmode)
24049 62 : || GET_MODE (x2) != E_V8DFmode
24050 131 : || GET_MODE (x3) != E_DFmode)
24051 : return -1;
24052 62 : switch (GET_MODE (operands[1]))
24053 : {
24054 0 : case E_V8DFmode:
24055 0 : if (!register_operand (operands[1], E_V8DFmode)
24056 0 : || !insn_condition_27 (operands, insn))
24057 0 : return -1;
24058 : return 5447; /* avx512f_vec_dupv8df_1 */
24059 :
24060 62 : case E_V2DFmode:
24061 62 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
24062 62 : || !insn_condition_27 (operands, insn))
24063 3 : return -1;
24064 : return 7891; /* avx512f_vec_dupv8df */
24065 :
24066 : default:
24067 : return -1;
24068 : }
24069 :
24070 111 : case E_V16SImode:
24071 111 : if (!register_operand (operands[0], E_V16SImode)
24072 106 : || GET_MODE (x2) != E_V16SImode
24073 217 : || GET_MODE (x3) != E_SImode)
24074 : return -1;
24075 106 : switch (GET_MODE (operands[1]))
24076 : {
24077 94 : case E_V4SImode:
24078 94 : if (!nonimmediate_operand (operands[1], E_V4SImode))
24079 : return -1;
24080 71 : if (insn_condition_1736 (operands, insn))
24081 : return 7766; /* avx2_pbroadcastv16si */
24082 0 : if (!insn_condition_27 (operands, insn))
24083 0 : return -1;
24084 : return 7873; /* avx512f_vec_dupv16si */
24085 :
24086 12 : case E_V16SImode:
24087 12 : if (!nonimmediate_operand (operands[1], E_V16SImode)
24088 12 : || !insn_condition_27 (operands, insn))
24089 3 : return -1;
24090 : return 7867; /* avx512f_vec_dupv16si_1 */
24091 :
24092 : default:
24093 : return -1;
24094 : }
24095 :
24096 70 : case E_V8DImode:
24097 70 : if (!register_operand (operands[0], E_V8DImode)
24098 60 : || GET_MODE (x2) != E_V8DImode
24099 130 : || GET_MODE (x3) != E_DImode)
24100 : return -1;
24101 60 : switch (GET_MODE (operands[1]))
24102 : {
24103 60 : case E_V2DImode:
24104 60 : if (!nonimmediate_operand (operands[1], E_V2DImode))
24105 : return -1;
24106 56 : if (insn_condition_1736 (operands, insn))
24107 : return 7767; /* avx2_pbroadcastv8di */
24108 0 : if (!insn_condition_27 (operands, insn))
24109 0 : return -1;
24110 : return 7879; /* avx512f_vec_dupv8di */
24111 :
24112 0 : case E_V8DImode:
24113 0 : if (!nonimmediate_operand (operands[1], E_V8DImode)
24114 0 : || !insn_condition_27 (operands, insn))
24115 0 : return -1;
24116 : return 7868; /* avx512f_vec_dupv8di_1 */
24117 :
24118 : default:
24119 : return -1;
24120 : }
24121 :
24122 47 : case E_V64QImode:
24123 47 : if (!register_operand (operands[0], E_V64QImode)
24124 47 : || GET_MODE (x2) != E_V64QImode
24125 94 : || GET_MODE (x3) != E_QImode)
24126 : return -1;
24127 47 : switch (GET_MODE (operands[1]))
24128 : {
24129 47 : case E_V16QImode:
24130 47 : if (!nonimmediate_operand (operands[1], E_V16QImode))
24131 : return -1;
24132 47 : if (insn_condition_1737 (operands, insn))
24133 : return 7768; /* avx2_pbroadcastv64qi */
24134 0 : if (!insn_condition_12 (operands, insn))
24135 0 : return -1;
24136 : return 7897; /* avx512bw_vec_dupv64qi */
24137 :
24138 0 : case E_V64QImode:
24139 0 : if (!nonimmediate_operand (operands[1], E_V64QImode)
24140 0 : || !insn_condition_120 (operands, insn))
24141 0 : return -1;
24142 : return 7870; /* avx512bw_vec_dupv64qi_1 */
24143 :
24144 : default:
24145 : return -1;
24146 : }
24147 :
24148 189 : case E_V32QImode:
24149 189 : if (!register_operand (operands[0], E_V32QImode)
24150 183 : || GET_MODE (x2) != E_V32QImode
24151 372 : || GET_MODE (x3) != E_QImode)
24152 : return -1;
24153 183 : switch (GET_MODE (operands[1]))
24154 : {
24155 155 : case E_V16QImode:
24156 155 : if (!nonimmediate_operand (operands[1], E_V16QImode))
24157 : return -1;
24158 151 : if (insn_condition_1735 (operands, insn))
24159 : return 7769; /* avx2_pbroadcastv32qi */
24160 0 : if (!insn_condition_77 (operands, insn))
24161 0 : return -1;
24162 : return 7901; /* avx512vl_vec_dupv32qi */
24163 :
24164 28 : case E_V32QImode:
24165 28 : if (!nonimmediate_operand (operands[1], E_V32QImode)
24166 28 : || !insn_condition_1108 (operands, insn))
24167 0 : return -1;
24168 : return 7784; /* avx2_pbroadcastv32qi_1 */
24169 :
24170 : default:
24171 : return -1;
24172 : }
24173 :
24174 164 : case E_V16QImode:
24175 164 : if (pattern973 (x2,
24176 : E_V16QImode,
24177 : E_QImode) != 0)
24178 : return -1;
24179 155 : if (insn_condition_1108 (operands, insn))
24180 : return 7770; /* avx2_pbroadcastv16qi */
24181 0 : if (!insn_condition_77 (operands, insn))
24182 0 : return -1;
24183 : return 7899; /* avx512vl_vec_dupv16qi */
24184 :
24185 57 : case E_V32HImode:
24186 57 : if (!register_operand (operands[0], E_V32HImode)
24187 57 : || GET_MODE (x2) != E_V32HImode
24188 114 : || GET_MODE (x3) != E_HImode)
24189 : return -1;
24190 57 : switch (GET_MODE (operands[1]))
24191 : {
24192 57 : case E_V8HImode:
24193 57 : if (!nonimmediate_operand (operands[1], E_V8HImode))
24194 : return -1;
24195 57 : if (insn_condition_1737 (operands, insn))
24196 : return 7771; /* avx2_pbroadcastv32hi */
24197 0 : if (!insn_condition_12 (operands, insn))
24198 0 : return -1;
24199 : return 7903; /* avx512bw_vec_dupv32hi */
24200 :
24201 0 : case E_V32HImode:
24202 0 : if (!nonimmediate_operand (operands[1], E_V32HImode)
24203 0 : || !insn_condition_120 (operands, insn))
24204 0 : return -1;
24205 : return 7869; /* avx512bw_vec_dupv32hi_1 */
24206 :
24207 : default:
24208 : return -1;
24209 : }
24210 :
24211 241 : case E_V16HImode:
24212 241 : if (!register_operand (operands[0], E_V16HImode)
24213 235 : || GET_MODE (x2) != E_V16HImode
24214 476 : || GET_MODE (x3) != E_HImode)
24215 : return -1;
24216 235 : switch (GET_MODE (operands[1]))
24217 : {
24218 207 : case E_V8HImode:
24219 207 : if (!nonimmediate_operand (operands[1], E_V8HImode))
24220 : return -1;
24221 198 : if (insn_condition_1735 (operands, insn))
24222 : return 7772; /* avx2_pbroadcastv16hi */
24223 0 : if (!insn_condition_77 (operands, insn))
24224 0 : return -1;
24225 : return 7905; /* avx512vl_vec_dupv16hi */
24226 :
24227 28 : case E_V16HImode:
24228 28 : if (!nonimmediate_operand (operands[1], E_V16HImode)
24229 28 : || !insn_condition_1108 (operands, insn))
24230 0 : return -1;
24231 : return 7785; /* avx2_pbroadcastv16hi_1 */
24232 :
24233 : default:
24234 : return -1;
24235 : }
24236 :
24237 175 : case E_V8HImode:
24238 175 : if (pattern973 (x2,
24239 : E_V8HImode,
24240 : E_HImode) != 0)
24241 : return -1;
24242 157 : if (insn_condition_1108 (operands, insn))
24243 : return 7773; /* avx2_pbroadcastv8hi */
24244 0 : if (!insn_condition_77 (operands, insn))
24245 0 : return -1;
24246 : return 7907; /* avx512vl_vec_dupv8hi */
24247 :
24248 712 : case E_V8SImode:
24249 712 : if (!register_operand (operands[0], E_V8SImode)
24250 702 : || GET_MODE (x2) != E_V8SImode
24251 1414 : || GET_MODE (x3) != E_SImode)
24252 : return -1;
24253 702 : switch (GET_MODE (operands[1]))
24254 : {
24255 678 : case E_V4SImode:
24256 678 : if (!nonimmediate_operand (operands[1], E_V4SImode))
24257 : return -1;
24258 649 : if (insn_condition_1735 (operands, insn))
24259 : return 7774; /* avx2_pbroadcastv8si */
24260 0 : if (!insn_condition_100 (operands, insn))
24261 0 : return -1;
24262 : return 7875; /* avx512vl_vec_dupv8si */
24263 :
24264 24 : case E_V8SImode:
24265 24 : if (!nonimmediate_operand (operands[1], E_V8SImode)
24266 24 : || !insn_condition_1108 (operands, insn))
24267 0 : return -1;
24268 : return 7786; /* avx2_pbroadcastv8si_1 */
24269 :
24270 : default:
24271 : return -1;
24272 : }
24273 :
24274 128 : case E_V4SImode:
24275 128 : if (pattern973 (x2,
24276 : E_V4SImode,
24277 : E_SImode) != 0)
24278 : return -1;
24279 111 : if (insn_condition_1108 (operands, insn))
24280 : return 7775; /* avx2_pbroadcastv4si */
24281 10 : if (!insn_condition_100 (operands, insn))
24282 10 : return -1;
24283 : return 7877; /* avx512vl_vec_dupv4si */
24284 :
24285 395 : case E_V4DImode:
24286 395 : if (!register_operand (operands[0], E_V4DImode)
24287 387 : || GET_MODE (x2) != E_V4DImode
24288 782 : || GET_MODE (x3) != E_DImode)
24289 : return -1;
24290 387 : switch (GET_MODE (operands[1]))
24291 : {
24292 387 : case E_V2DImode:
24293 387 : if (!nonimmediate_operand (operands[1], E_V2DImode))
24294 : return -1;
24295 288 : if (insn_condition_1735 (operands, insn))
24296 : return 7776; /* avx2_pbroadcastv4di */
24297 0 : if (!insn_condition_100 (operands, insn))
24298 0 : return -1;
24299 : return 7881; /* avx512vl_vec_dupv4di */
24300 :
24301 0 : case E_V4DImode:
24302 0 : if (!nonimmediate_operand (operands[1], E_V4DImode)
24303 0 : || !insn_condition_1108 (operands, insn))
24304 0 : return -1;
24305 : return 7787; /* avx2_pbroadcastv4di_1 */
24306 :
24307 : default:
24308 : return -1;
24309 : }
24310 :
24311 110 : case E_V2DImode:
24312 110 : if (pattern973 (x2,
24313 : E_V2DImode,
24314 : E_DImode) != 0)
24315 : return -1;
24316 101 : if (insn_condition_1108 (operands, insn))
24317 : return 7777; /* avx2_pbroadcastv2di */
24318 0 : if (!insn_condition_100 (operands, insn))
24319 0 : return -1;
24320 : return 7883; /* avx512vl_vec_dupv2di */
24321 :
24322 0 : case E_V32HFmode:
24323 0 : if (!register_operand (operands[0], E_V32HFmode)
24324 0 : || GET_MODE (x2) != E_V32HFmode
24325 0 : || GET_MODE (x3) != E_HFmode)
24326 : return -1;
24327 0 : switch (GET_MODE (operands[1]))
24328 : {
24329 0 : case E_V8HFmode:
24330 0 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
24331 : return -1;
24332 0 : if (insn_condition_1737 (operands, insn))
24333 : return 7778; /* avx2_pbroadcastv32hf */
24334 0 : if (!insn_condition_12 (operands, insn))
24335 0 : return -1;
24336 : return 7909; /* avx512bw_vec_dupv32hf */
24337 :
24338 0 : case E_V32HFmode:
24339 0 : if (!nonimmediate_operand (operands[1], E_V32HFmode)
24340 0 : || !insn_condition_120 (operands, insn))
24341 0 : return -1;
24342 : return 7871; /* avx512bw_vec_dupv32hf_1 */
24343 :
24344 : default:
24345 : return -1;
24346 : }
24347 :
24348 0 : case E_V16HFmode:
24349 0 : if (!register_operand (operands[0], E_V16HFmode)
24350 0 : || GET_MODE (x2) != E_V16HFmode
24351 0 : || GET_MODE (x3) != E_HFmode)
24352 : return -1;
24353 0 : switch (GET_MODE (operands[1]))
24354 : {
24355 0 : case E_V8HFmode:
24356 0 : if (!nonimmediate_operand (operands[1], E_V8HFmode))
24357 : return -1;
24358 0 : if (insn_condition_1735 (operands, insn))
24359 : return 7779; /* avx2_pbroadcastv16hf */
24360 0 : if (!insn_condition_77 (operands, insn))
24361 0 : return -1;
24362 : return 7911; /* avx512vl_vec_dupv16hf */
24363 :
24364 0 : case E_V16HFmode:
24365 0 : if (!nonimmediate_operand (operands[1], E_V16HFmode)
24366 0 : || !insn_condition_1108 (operands, insn))
24367 0 : return -1;
24368 : return 7788; /* avx2_pbroadcastv16hf_1 */
24369 :
24370 : default:
24371 : return -1;
24372 : }
24373 :
24374 0 : case E_V8HFmode:
24375 0 : if (pattern973 (x2,
24376 : E_V8HFmode,
24377 : E_HFmode) != 0)
24378 : return -1;
24379 0 : if (insn_condition_1108 (operands, insn))
24380 : return 7780; /* avx2_pbroadcastv8hf */
24381 0 : if (!insn_condition_77 (operands, insn))
24382 0 : return -1;
24383 : return 7913; /* avx512fp16_vec_dupv8hf */
24384 :
24385 0 : case E_V32BFmode:
24386 0 : if (!register_operand (operands[0], E_V32BFmode)
24387 0 : || GET_MODE (x2) != E_V32BFmode
24388 0 : || GET_MODE (x3) != E_BFmode)
24389 : return -1;
24390 0 : switch (GET_MODE (operands[1]))
24391 : {
24392 0 : case E_V8BFmode:
24393 0 : if (!nonimmediate_operand (operands[1], E_V8BFmode))
24394 : return -1;
24395 0 : if (insn_condition_1737 (operands, insn))
24396 : return 7781; /* avx2_pbroadcastv32bf */
24397 0 : if (!insn_condition_12 (operands, insn))
24398 0 : return -1;
24399 : return 7915; /* avx512bw_vec_dupv32bf */
24400 :
24401 0 : case E_V32BFmode:
24402 0 : if (!nonimmediate_operand (operands[1], E_V32BFmode)
24403 0 : || !insn_condition_120 (operands, insn))
24404 0 : return -1;
24405 : return 7872; /* avx512bw_vec_dupv32bf_1 */
24406 :
24407 : default:
24408 : return -1;
24409 : }
24410 :
24411 0 : case E_V16BFmode:
24412 0 : if (!register_operand (operands[0], E_V16BFmode)
24413 0 : || GET_MODE (x2) != E_V16BFmode
24414 0 : || GET_MODE (x3) != E_BFmode)
24415 : return -1;
24416 0 : switch (GET_MODE (operands[1]))
24417 : {
24418 0 : case E_V8BFmode:
24419 0 : if (!nonimmediate_operand (operands[1], E_V8BFmode))
24420 : return -1;
24421 0 : if (insn_condition_1735 (operands, insn))
24422 : return 7782; /* avx2_pbroadcastv16bf */
24423 0 : if (!insn_condition_77 (operands, insn))
24424 0 : return -1;
24425 : return 7917; /* avx512vl_vec_dupv16bf */
24426 :
24427 0 : case E_V16BFmode:
24428 0 : if (!nonimmediate_operand (operands[1], E_V16BFmode)
24429 0 : || !insn_condition_1108 (operands, insn))
24430 0 : return -1;
24431 : return 7789; /* avx2_pbroadcastv16bf_1 */
24432 :
24433 : default:
24434 : return -1;
24435 : }
24436 :
24437 0 : case E_V8BFmode:
24438 0 : if (pattern973 (x2,
24439 : E_V8BFmode,
24440 : E_BFmode) != 0)
24441 : return -1;
24442 0 : if (insn_condition_1108 (operands, insn))
24443 : return 7783; /* avx2_pbroadcastv8bf */
24444 0 : if (!insn_condition_77 (operands, insn))
24445 0 : return -1;
24446 : return 7919; /* avx512vl_vec_dupv8bf */
24447 :
24448 119 : case E_V4DFmode:
24449 119 : if (!register_operand (operands[0], E_V4DFmode)
24450 106 : || GET_MODE (x2) != E_V4DFmode
24451 225 : || GET_MODE (x3) != E_DFmode)
24452 : return -1;
24453 106 : if (register_operand (operands[1], E_V2DFmode)
24454 106 : && insn_condition_1108 (operands, insn))
24455 : return 7866; /* avx2_vec_dupv4df */
24456 10 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
24457 10 : || !insn_condition_100 (operands, insn))
24458 8 : return -1;
24459 : return 7893; /* avx512vl_vec_dupv4df */
24460 :
24461 49 : case E_V2DFmode:
24462 49 : if (pattern973 (x2,
24463 : E_V2DFmode,
24464 : E_DFmode) != 0
24465 49 : || !insn_condition_100 (operands, insn))
24466 37 : return -1;
24467 : return 7895; /* avx512vl_vec_dupv2df */
24468 :
24469 : default:
24470 : return -1;
24471 : }
24472 :
24473 329 : case 2:
24474 329 : x6 = XVECEXP (x4, 0, 0);
24475 329 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
24476 : return -1;
24477 329 : x7 = XVECEXP (x4, 0, 1);
24478 329 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
24479 : return -1;
24480 329 : switch (GET_MODE (operands[0]))
24481 : {
24482 63 : case E_V16SImode:
24483 63 : if (pattern969 (x2,
24484 : E_V4SImode,
24485 : E_V2SImode,
24486 : E_V16SImode) != 0
24487 63 : || !insn_condition_78 (operands, insn))
24488 7 : return -1;
24489 : return 8015; /* *avx512dq_broadcastv16si */
24490 :
24491 65 : case E_V8SImode:
24492 65 : if (pattern969 (x2,
24493 : E_V4SImode,
24494 : E_V2SImode,
24495 : E_V8SImode) != 0
24496 65 : || !insn_condition_79 (operands, insn))
24497 8 : return -1;
24498 : return 8017; /* *avx512dq_broadcastv8si */
24499 :
24500 69 : case E_V4SImode:
24501 69 : if (pattern973 (x2,
24502 : E_V4SImode,
24503 : E_V2SImode) != 0
24504 69 : || !insn_condition_79 (operands, insn))
24505 7 : return -1;
24506 : return 8019; /* *avx512dq_broadcastv4si */
24507 :
24508 66 : case E_V16SFmode:
24509 66 : if (pattern969 (x2,
24510 : E_V4SFmode,
24511 : E_V2SFmode,
24512 : E_V16SFmode) != 0
24513 66 : || !insn_condition_78 (operands, insn))
24514 9 : return -1;
24515 : return 8021; /* *avx512dq_broadcastv16sf */
24516 :
24517 66 : case E_V8SFmode:
24518 66 : if (pattern969 (x2,
24519 : E_V4SFmode,
24520 : E_V2SFmode,
24521 : E_V8SFmode) != 0
24522 66 : || !insn_condition_79 (operands, insn))
24523 9 : return -1;
24524 : return 8023; /* *avx512dq_broadcastv8sf */
24525 :
24526 : default:
24527 : return -1;
24528 : }
24529 :
24530 : default:
24531 : return -1;
24532 : }
24533 : }
24534 :
24535 : int
24536 1471182 : recog_334 (rtx x1 ATTRIBUTE_UNUSED,
24537 : rtx_insn *insn ATTRIBUTE_UNUSED,
24538 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24539 : {
24540 1471182 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
24541 1471182 : rtx x2, x3, x4, x5;
24542 1471182 : int res ATTRIBUTE_UNUSED;
24543 1471182 : x2 = XEXP (x1, 0);
24544 1471182 : operands[0] = x2;
24545 1471182 : x3 = XEXP (x1, 1);
24546 1471182 : x4 = XEXP (x3, 0);
24547 1471182 : switch (GET_CODE (x4))
24548 : {
24549 4111 : case VEC_SELECT:
24550 4111 : return recog_325 (x1, insn, pnum_clobbers);
24551 :
24552 1423009 : case REG:
24553 1423009 : case SUBREG:
24554 1423009 : case MEM:
24555 1423009 : operands[1] = x4;
24556 1423009 : switch (GET_MODE (operands[0]))
24557 : {
24558 29753 : case E_V2DFmode:
24559 29753 : if (!register_operand (operands[0], E_V2DFmode)
24560 28980 : || GET_MODE (x3) != E_V2DFmode
24561 58733 : || !nonimmediate_operand (operands[1], E_DFmode))
24562 : return -1;
24563 28912 : if (insn_condition_141 (operands, insn))
24564 : return 5899; /* vec_dupv2df */
24565 0 : if (!insn_condition_100 (operands, insn))
24566 0 : return -1;
24567 : return 7975; /* *avx512vl_vec_dup_gprv2df */
24568 :
24569 3012 : case E_V16SFmode:
24570 3012 : if (!register_operand (operands[0], E_V16SFmode)
24571 3012 : || GET_MODE (x3) != E_V16SFmode)
24572 : return -1;
24573 2966 : switch (GET_MODE (operands[1]))
24574 : {
24575 155 : case E_V4SFmode:
24576 155 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
24577 155 : || !insn_condition_27 (operands, insn))
24578 0 : return -1;
24579 : return 7921; /* *avx512f_broadcastv16sf */
24580 :
24581 2752 : case E_SFmode:
24582 2752 : if (!nonimmediate_operand (operands[1], E_SFmode)
24583 2752 : || !insn_condition_27 (operands, insn))
24584 0 : return -1;
24585 : return 7965; /* *avx512f_vec_dup_gprv16sf */
24586 :
24587 59 : case E_V8SFmode:
24588 59 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
24589 59 : || !insn_condition_78 (operands, insn))
24590 0 : return -1;
24591 : return 8029; /* *avx512dq_broadcastv16sf_1 */
24592 :
24593 : default:
24594 : return -1;
24595 : }
24596 :
24597 12732 : case E_V16SImode:
24598 12732 : if (!register_operand (operands[0], E_V16SImode)
24599 12732 : || GET_MODE (x3) != E_V16SImode)
24600 : return -1;
24601 12443 : switch (GET_MODE (operands[1]))
24602 : {
24603 148 : case E_V4SImode:
24604 148 : if (!nonimmediate_operand (operands[1], E_V4SImode)
24605 148 : || !insn_condition_27 (operands, insn))
24606 0 : return -1;
24607 : return 7923; /* *avx512f_broadcastv16si */
24608 :
24609 12236 : case E_SImode:
24610 12236 : if (!nonimmediate_operand (operands[1], E_SImode)
24611 12236 : || !insn_condition_27 (operands, insn))
24612 2 : return -1;
24613 : return 7953; /* *avx512f_vec_dup_gprv16si */
24614 :
24615 59 : case E_V8SImode:
24616 59 : if (!nonimmediate_operand (operands[1], E_V8SImode)
24617 59 : || !insn_condition_78 (operands, insn))
24618 0 : return -1;
24619 : return 8031; /* *avx512dq_broadcastv16si_1 */
24620 :
24621 : default:
24622 : return -1;
24623 : }
24624 :
24625 3112 : case E_V8DFmode:
24626 3112 : if (!register_operand (operands[0], E_V8DFmode)
24627 3112 : || GET_MODE (x3) != E_V8DFmode)
24628 : return -1;
24629 3083 : switch (GET_MODE (operands[1]))
24630 : {
24631 59 : case E_V4DFmode:
24632 59 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
24633 59 : || !insn_condition_27 (operands, insn))
24634 0 : return -1;
24635 : return 7925; /* *avx512f_broadcastv8df */
24636 :
24637 2934 : case E_DFmode:
24638 2934 : if (!nonimmediate_operand (operands[1], E_DFmode)
24639 2934 : || !insn_condition_27 (operands, insn))
24640 0 : return -1;
24641 : return 7971; /* *avx512f_vec_dup_gprv8df */
24642 :
24643 90 : case E_V2DFmode:
24644 90 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
24645 90 : || !insn_condition_78 (operands, insn))
24646 0 : return -1;
24647 : return 8035; /* *avx512dq_broadcastv8df_1 */
24648 :
24649 : default:
24650 : return -1;
24651 : }
24652 :
24653 3828 : case E_V8DImode:
24654 3828 : if (!register_operand (operands[0], E_V8DImode)
24655 3828 : || GET_MODE (x3) != E_V8DImode)
24656 : return -1;
24657 3772 : switch (GET_MODE (operands[1]))
24658 : {
24659 61 : case E_V4DImode:
24660 61 : if (!nonimmediate_operand (operands[1], E_V4DImode)
24661 61 : || !insn_condition_27 (operands, insn))
24662 0 : return -1;
24663 : return 7927; /* *avx512f_broadcastv8di */
24664 :
24665 3646 : case E_DImode:
24666 3646 : if (!nonimmediate_operand (operands[1], E_DImode)
24667 3646 : || !insn_condition_27 (operands, insn))
24668 1 : return -1;
24669 : return 7959; /* *avx512f_vec_dup_gprv8di */
24670 :
24671 65 : case E_V2DImode:
24672 65 : if (!nonimmediate_operand (operands[1], E_V2DImode)
24673 65 : || !insn_condition_78 (operands, insn))
24674 0 : return -1;
24675 : return 8033; /* *avx512dq_broadcastv8di_1 */
24676 :
24677 : default:
24678 : return -1;
24679 : }
24680 :
24681 429 : case E_V64QImode:
24682 429 : if (!register_operand (operands[0], E_V64QImode)
24683 412 : || GET_MODE (x3) != E_V64QImode
24684 412 : || !nonimmediate_operand (operands[1], E_QImode)
24685 803 : || !insn_condition_12 (operands, insn))
24686 55 : return -1;
24687 : return 7929; /* *avx512bw_vec_dup_gprv64qi */
24688 :
24689 5922 : case E_V16QImode:
24690 5922 : if (!register_operand (operands[0], E_V16QImode)
24691 5888 : || GET_MODE (x3) != E_V16QImode
24692 11810 : || !nonimmediate_operand (operands[1], E_QImode))
24693 : return -1;
24694 5884 : if (insn_condition_77 (operands, insn))
24695 : return 7931; /* *avx512vl_vec_dup_gprv16qi */
24696 4227 : if (!insn_condition_1108 (operands, insn))
24697 268 : return -1;
24698 : return 7986; /* *vec_dupv16qi */
24699 :
24700 823 : case E_V32QImode:
24701 823 : if (!register_operand (operands[0], E_V32QImode)
24702 772 : || GET_MODE (x3) != E_V32QImode
24703 1595 : || !nonimmediate_operand (operands[1], E_QImode))
24704 : return -1;
24705 768 : if (insn_condition_77 (operands, insn))
24706 : return 7933; /* *avx512vl_vec_dup_gprv32qi */
24707 610 : if (!insn_condition_1108 (operands, insn))
24708 0 : return -1;
24709 : return 7985; /* *vec_dupv32qi */
24710 :
24711 613 : case E_V32HImode:
24712 613 : if (!register_operand (operands[0], E_V32HImode)
24713 549 : || GET_MODE (x3) != E_V32HImode
24714 549 : || !nonimmediate_operand (operands[1], E_HImode)
24715 1162 : || !insn_condition_12 (operands, insn))
24716 64 : return -1;
24717 : return 7935; /* *avx512bw_vec_dup_gprv32hi */
24718 :
24719 1626 : case E_V16HImode:
24720 1626 : if (!register_operand (operands[0], E_V16HImode)
24721 1516 : || GET_MODE (x3) != E_V16HImode
24722 3142 : || !nonimmediate_operand (operands[1], E_HImode))
24723 : return -1;
24724 1516 : if (insn_condition_77 (operands, insn))
24725 : return 7937; /* *avx512vl_vec_dup_gprv16hi */
24726 1034 : if (!insn_condition_1108 (operands, insn))
24727 0 : return -1;
24728 : return 7987; /* *vec_dupv16hi */
24729 :
24730 5479 : case E_V8HImode:
24731 5479 : if (!register_operand (operands[0], E_V8HImode)
24732 5417 : || GET_MODE (x3) != E_V8HImode
24733 10896 : || !nonimmediate_operand (operands[1], E_HImode))
24734 : return -1;
24735 5414 : if (insn_condition_77 (operands, insn))
24736 : return 7939; /* *avx512vl_vec_dup_gprv8hi */
24737 4273 : if (!insn_condition_1108 (operands, insn))
24738 1854 : return -1;
24739 : return 7988; /* *vec_dupv8hi */
24740 :
24741 532 : case E_V32HFmode:
24742 532 : if (!register_operand (operands[0], E_V32HFmode)
24743 530 : || GET_MODE (x3) != E_V32HFmode
24744 530 : || !nonimmediate_operand (operands[1], E_HFmode)
24745 1062 : || !insn_condition_12 (operands, insn))
24746 2 : return -1;
24747 : return 7941; /* *avx512bw_vec_dup_gprv32hf */
24748 :
24749 397 : case E_V16HFmode:
24750 397 : if (!register_operand (operands[0], E_V16HFmode)
24751 393 : || GET_MODE (x3) != E_V16HFmode
24752 790 : || !nonimmediate_operand (operands[1], E_HFmode))
24753 : return -1;
24754 393 : if (insn_condition_77 (operands, insn))
24755 : return 7943; /* *avx512vl_vec_dup_gprv16hf */
24756 33 : if (!insn_condition_1108 (operands, insn))
24757 0 : return -1;
24758 : return 7991; /* *vec_dupv16hf */
24759 :
24760 1107 : case E_V8HFmode:
24761 1107 : if (!register_operand (operands[0], E_V8HFmode)
24762 1107 : || GET_MODE (x3) != E_V8HFmode
24763 2214 : || !nonimmediate_operand (operands[1], E_HFmode))
24764 : return -1;
24765 1014 : if (insn_condition_77 (operands, insn))
24766 : return 7945; /* *avx512fp16_vec_dup_gprv8hf */
24767 232 : if (!insn_condition_1108 (operands, insn))
24768 0 : return -1;
24769 : return 7992; /* *vec_dupv8hf */
24770 :
24771 135 : case E_V32BFmode:
24772 135 : if (!register_operand (operands[0], E_V32BFmode)
24773 135 : || GET_MODE (x3) != E_V32BFmode
24774 135 : || !nonimmediate_operand (operands[1], E_BFmode)
24775 270 : || !insn_condition_12 (operands, insn))
24776 0 : return -1;
24777 : return 7947; /* *avx512bw_vec_dup_gprv32bf */
24778 :
24779 172 : case E_V16BFmode:
24780 172 : if (!register_operand (operands[0], E_V16BFmode)
24781 166 : || GET_MODE (x3) != E_V16BFmode
24782 338 : || !nonimmediate_operand (operands[1], E_BFmode))
24783 : return -1;
24784 166 : if (insn_condition_77 (operands, insn))
24785 : return 7949; /* *avx512vl_vec_dup_gprv16bf */
24786 82 : if (!insn_condition_1108 (operands, insn))
24787 0 : return -1;
24788 : return 7993; /* *vec_dupv16bf */
24789 :
24790 101 : case E_V8BFmode:
24791 101 : if (!register_operand (operands[0], E_V8BFmode)
24792 101 : || GET_MODE (x3) != E_V8BFmode
24793 202 : || !nonimmediate_operand (operands[1], E_BFmode))
24794 : return -1;
24795 101 : if (insn_condition_77 (operands, insn))
24796 : return 7951; /* *avx512vl_vec_dup_gprv8bf */
24797 35 : if (!insn_condition_1108 (operands, insn))
24798 4 : return -1;
24799 : return 7994; /* *vec_dupv8bf */
24800 :
24801 23649 : case E_V8SImode:
24802 23649 : if (!register_operand (operands[0], E_V8SImode)
24803 23649 : || GET_MODE (x3) != E_V8SImode)
24804 : return -1;
24805 22963 : switch (GET_MODE (operands[1]))
24806 : {
24807 22904 : case E_SImode:
24808 22904 : if (!nonimmediate_operand (operands[1], E_SImode))
24809 : return -1;
24810 22889 : if (insn_condition_100 (operands, insn))
24811 : return 7955; /* *avx512vl_vec_dup_gprv8si */
24812 15203 : if (insn_condition_1108 (operands, insn))
24813 : return 7989; /* *vec_dupv8si */
24814 7246 : if (!insn_condition_122 (operands, insn))
24815 0 : return -1;
24816 : return 7995; /* vec_dupv8si */
24817 :
24818 59 : case E_V4SImode:
24819 59 : if (!nonimmediate_operand (operands[1], E_V4SImode)
24820 59 : || !insn_condition_532 (operands, insn))
24821 0 : return -1;
24822 : return 8025; /* *avx512vl_broadcastv8si_1 */
24823 :
24824 : default:
24825 : return -1;
24826 : }
24827 :
24828 321184 : case E_V4SImode:
24829 321184 : if (!register_operand (operands[0], E_V4SImode)
24830 313136 : || GET_MODE (x3) != E_V4SImode
24831 634320 : || !nonimmediate_operand (operands[1], E_SImode))
24832 : return -1;
24833 313020 : if (insn_condition_100 (operands, insn))
24834 : return 7957; /* *avx512vl_vec_dup_gprv4si */
24835 309817 : if (insn_condition_148 (operands, insn))
24836 : return 7978; /* *vec_dupv4si */
24837 0 : if (!insn_condition_1108 (operands, insn))
24838 0 : return -1;
24839 : return 7990; /* *vec_dupv4si */
24840 :
24841 8262 : case E_V4DImode:
24842 8262 : if (!register_operand (operands[0], E_V4DImode)
24843 8262 : || GET_MODE (x3) != E_V4DImode)
24844 : return -1;
24845 8005 : switch (GET_MODE (operands[1]))
24846 : {
24847 7944 : case E_DImode:
24848 7944 : if (!nonimmediate_operand (operands[1], E_DImode))
24849 : return -1;
24850 7944 : if (insn_condition_100 (operands, insn))
24851 : return 7961; /* *avx512vl_vec_dup_gprv4di */
24852 4164 : if (!insn_condition_122 (operands, insn))
24853 0 : return -1;
24854 : return 7997; /* vec_dupv4di */
24855 :
24856 61 : case E_V2DImode:
24857 61 : if (!nonimmediate_operand (operands[1], E_V2DImode)
24858 61 : || !insn_condition_79 (operands, insn))
24859 0 : return -1;
24860 : return 8037; /* *avx512dq_broadcastv4di_1 */
24861 :
24862 : default:
24863 : return -1;
24864 : }
24865 :
24866 962508 : case E_V2DImode:
24867 962508 : if (!register_operand (operands[0], E_V2DImode)
24868 754219 : || GET_MODE (x3) != E_V2DImode
24869 1716727 : || !nonimmediate_operand (operands[1], E_DImode))
24870 : return -1;
24871 754219 : if (insn_condition_100 (operands, insn))
24872 : return 7963; /* *avx512vl_vec_dup_gprv2di */
24873 752659 : if (!insn_condition_148 (operands, insn))
24874 0 : return -1;
24875 : return 7979; /* *vec_dupv2di */
24876 :
24877 5616 : case E_V8SFmode:
24878 5616 : if (!register_operand (operands[0], E_V8SFmode)
24879 5616 : || GET_MODE (x3) != E_V8SFmode)
24880 : return -1;
24881 5521 : switch (GET_MODE (operands[1]))
24882 : {
24883 5462 : case E_SFmode:
24884 5462 : if (!nonimmediate_operand (operands[1], E_SFmode))
24885 : return -1;
24886 5462 : if (insn_condition_100 (operands, insn))
24887 : return 7967; /* *avx512vl_vec_dup_gprv8sf */
24888 3085 : if (!insn_condition_122 (operands, insn))
24889 0 : return -1;
24890 : return 7996; /* vec_dupv8sf */
24891 :
24892 59 : case E_V4SFmode:
24893 59 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
24894 59 : || !insn_condition_532 (operands, insn))
24895 0 : return -1;
24896 : return 8027; /* *avx512vl_broadcastv8sf_1 */
24897 :
24898 : default:
24899 : return -1;
24900 : }
24901 :
24902 22310 : case E_V4SFmode:
24903 22310 : if (!register_operand (operands[0], E_V4SFmode)
24904 21956 : || GET_MODE (x3) != E_V4SFmode
24905 44266 : || !nonimmediate_operand (operands[1], E_SFmode))
24906 : return -1;
24907 21937 : if (insn_condition_100 (operands, insn))
24908 : return 7969; /* *avx512vl_vec_dup_gprv4sf */
24909 18056 : if (!insn_condition_148 (operands, insn))
24910 0 : return -1;
24911 : return 7977; /* vec_dupv4sf */
24912 :
24913 6896 : case E_V4DFmode:
24914 6896 : if (!register_operand (operands[0], E_V4DFmode)
24915 6896 : || GET_MODE (x3) != E_V4DFmode)
24916 : return -1;
24917 6793 : switch (GET_MODE (operands[1]))
24918 : {
24919 6732 : case E_DFmode:
24920 6732 : if (!nonimmediate_operand (operands[1], E_DFmode))
24921 : return -1;
24922 6732 : if (insn_condition_100 (operands, insn))
24923 : return 7973; /* *avx512vl_vec_dup_gprv4df */
24924 4933 : if (!insn_condition_122 (operands, insn))
24925 0 : return -1;
24926 : return 7998; /* vec_dupv4df */
24927 :
24928 61 : case E_V2DFmode:
24929 61 : if (!nonimmediate_operand (operands[1], E_V2DFmode)
24930 61 : || !insn_condition_79 (operands, insn))
24931 0 : return -1;
24932 : return 8039; /* *avx512dq_broadcastv4df_1 */
24933 :
24934 : default:
24935 : return -1;
24936 : }
24937 :
24938 : default:
24939 : return -1;
24940 : }
24941 :
24942 278 : case FLOAT_EXTEND:
24943 278 : if (GET_MODE (x4) != E_SFmode)
24944 : return -1;
24945 223 : x5 = XEXP (x4, 0);
24946 223 : operands[1] = x5;
24947 223 : switch (GET_MODE (operands[0]))
24948 : {
24949 110 : case E_V8SFmode:
24950 110 : switch (pattern714 (x3,
24951 : E_V8SFmode))
24952 : {
24953 53 : case 0:
24954 53 : if (!insn_condition_1849 (operands, insn))
24955 0 : return -1;
24956 : return 9120; /* vbcstnebf162ps_v8sf */
24957 :
24958 53 : case 1:
24959 53 : if (!insn_condition_1849 (operands, insn))
24960 0 : return -1;
24961 : return 9122; /* vbcstnesh2ps_v8sf */
24962 :
24963 : default:
24964 : return -1;
24965 : }
24966 :
24967 113 : case E_V4SFmode:
24968 113 : switch (pattern714 (x3,
24969 : E_V4SFmode))
24970 : {
24971 55 : case 0:
24972 55 : if (!insn_condition_1850 (operands, insn))
24973 0 : return -1;
24974 : return 9121; /* vbcstnebf162ps_v4sf */
24975 :
24976 53 : case 1:
24977 53 : if (!insn_condition_1850 (operands, insn))
24978 0 : return -1;
24979 : return 9123; /* vbcstnesh2ps_v4sf */
24980 :
24981 : default:
24982 : return -1;
24983 : }
24984 :
24985 : default:
24986 : return -1;
24987 : }
24988 :
24989 : default:
24990 : return -1;
24991 : }
24992 : }
24993 :
24994 : int
24995 117549 : recog_339 (rtx x1 ATTRIBUTE_UNUSED,
24996 : rtx_insn *insn ATTRIBUTE_UNUSED,
24997 : int *pnum_clobbers ATTRIBUTE_UNUSED)
24998 : {
24999 117549 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25000 117549 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
25001 117549 : rtx x10, x11, x12, x13, x14;
25002 117549 : int res ATTRIBUTE_UNUSED;
25003 117549 : x2 = XEXP (x1, 0);
25004 117549 : operands[0] = x2;
25005 117549 : x3 = XEXP (x1, 1);
25006 117549 : x4 = XEXP (x3, 0);
25007 117549 : switch (GET_CODE (x4))
25008 : {
25009 84750 : case REG:
25010 84750 : case SUBREG:
25011 84750 : case MEM:
25012 84750 : operands[1] = x4;
25013 84750 : switch (GET_MODE (operands[0]))
25014 : {
25015 435 : case E_V8DFmode:
25016 435 : if (!register_operand (operands[0], E_V8DFmode)
25017 435 : || GET_MODE (x3) != E_V8DFmode)
25018 : return -1;
25019 380 : switch (GET_MODE (operands[1]))
25020 : {
25021 46 : case E_V8HFmode:
25022 46 : if (!vector_operand (operands[1], E_V8HFmode)
25023 46 : || !insn_condition_40 (operands, insn))
25024 2 : return -1;
25025 : return 4878; /* avx512fp16_float_extend_phv8df2 */
25026 :
25027 334 : case E_V8SFmode:
25028 334 : if (!vector_operand (operands[1], E_V8SFmode)
25029 334 : || !insn_condition_1912 (operands, insn))
25030 1 : return -1;
25031 : return 5349; /* avx512f_cvtps2pd512 */
25032 :
25033 : default:
25034 : return -1;
25035 : }
25036 :
25037 111 : case E_V16SFmode:
25038 111 : if (!register_operand (operands[0], E_V16SFmode)
25039 76 : || GET_MODE (x3) != E_V16SFmode
25040 76 : || !vector_operand (operands[1], E_V16HFmode)
25041 111 : || !insn_condition_1913 (operands, insn))
25042 37 : return -1;
25043 : return 4882; /* avx512fp16_float_extend_phv16sf2 */
25044 :
25045 193 : case E_V8SFmode:
25046 193 : if (!register_operand (operands[0], E_V8SFmode)
25047 168 : || GET_MODE (x3) != E_V8SFmode
25048 168 : || !vector_operand (operands[1], E_V8HFmode)
25049 360 : || !insn_condition_1914 (operands, insn))
25050 26 : return -1;
25051 : return 4886; /* avx512fp16_float_extend_phv8sf2 */
25052 :
25053 867 : case E_V4DFmode:
25054 867 : if (!register_operand (operands[0], E_V4DFmode)
25055 867 : || GET_MODE (x3) != E_V4DFmode)
25056 : return -1;
25057 729 : switch (GET_MODE (operands[1]))
25058 : {
25059 2 : case E_V4HFmode:
25060 2 : if (!memory_operand (operands[1], E_V4HFmode)
25061 2 : || !insn_condition_1351 (operands, insn))
25062 1 : return -1;
25063 : return 4894; /* *avx512fp16_float_extend_phv4df2_load */
25064 :
25065 727 : case E_V4SFmode:
25066 727 : if (!vector_operand (operands[1], E_V4SFmode)
25067 727 : || !insn_condition_1915 (operands, insn))
25068 0 : return -1;
25069 : return 5353; /* avx_cvtps2pd256 */
25070 :
25071 : default:
25072 : return -1;
25073 : }
25074 :
25075 10 : case E_V4SFmode:
25076 10 : if (!register_operand (operands[0], E_V4SFmode)
25077 9 : || GET_MODE (x3) != E_V4SFmode
25078 9 : || !memory_operand (operands[1], E_V4HFmode)
25079 10 : || !insn_condition_1351 (operands, insn))
25080 3 : return -1;
25081 : return 4896; /* *avx512fp16_float_extend_phv4sf2_load */
25082 :
25083 540 : case E_V2DFmode:
25084 540 : if (!register_operand (operands[0], E_V2DFmode)
25085 540 : || GET_MODE (x3) != E_V2DFmode)
25086 : return -1;
25087 532 : switch (GET_MODE (operands[1]))
25088 : {
25089 4 : case E_V2HFmode:
25090 4 : if (!memory_operand (operands[1], E_V2HFmode)
25091 4 : || !insn_condition_1351 (operands, insn))
25092 3 : return -1;
25093 : return 4900; /* *avx512fp16_float_extend_phv2df2_load */
25094 :
25095 528 : case E_V2SFmode:
25096 528 : if (!memory_operand (operands[1], E_V2SFmode)
25097 528 : || !insn_condition_1343 (operands, insn))
25098 80 : return -1;
25099 : return 5401; /* sse2_cvtps2pd_1 */
25100 :
25101 : default:
25102 : return -1;
25103 : }
25104 :
25105 : default:
25106 : return -1;
25107 : }
25108 :
25109 8770 : case VEC_SELECT:
25110 8770 : x5 = XEXP (x4, 1);
25111 8770 : if (GET_CODE (x5) != PARALLEL)
25112 : return -1;
25113 8770 : x6 = XEXP (x4, 0);
25114 8770 : operands[1] = x6;
25115 8770 : switch (XVECLEN (x5, 0))
25116 : {
25117 1567 : case 4:
25118 1567 : x7 = XVECEXP (x5, 0, 0);
25119 1567 : if (GET_CODE (x7) != CONST_INT)
25120 : return -1;
25121 1567 : x8 = XVECEXP (x5, 0, 1);
25122 1567 : if (GET_CODE (x8) != CONST_INT)
25123 : return -1;
25124 1567 : x9 = XVECEXP (x5, 0, 2);
25125 1567 : if (GET_CODE (x9) != CONST_INT)
25126 : return -1;
25127 1567 : x10 = XVECEXP (x5, 0, 3);
25128 1567 : if (GET_CODE (x10) != CONST_INT)
25129 : return -1;
25130 1567 : switch (pattern1184 (x5))
25131 : {
25132 966 : case 0:
25133 966 : if (XWINT (x9, 0) != 2L
25134 966 : || XWINT (x10, 0) != 3L)
25135 : return -1;
25136 966 : switch (GET_MODE (operands[0]))
25137 : {
25138 758 : case E_V4DFmode:
25139 758 : if (!register_operand (operands[0], E_V4DFmode)
25140 758 : || GET_MODE (x3) != E_V4DFmode)
25141 : return -1;
25142 713 : switch (GET_MODE (x4))
25143 : {
25144 76 : case E_V4HFmode:
25145 76 : if (!register_operand (operands[1], E_V8HFmode)
25146 76 : || !insn_condition_1351 (operands, insn))
25147 11 : return -1;
25148 : return 4890; /* avx512fp16_float_extend_phv4df2 */
25149 :
25150 637 : case E_V4SFmode:
25151 637 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
25152 637 : || !insn_condition_122 (operands, insn))
25153 67 : return -1;
25154 : return 5355; /* *avx_cvtps2pd256_2 */
25155 :
25156 : default:
25157 : return -1;
25158 : }
25159 :
25160 208 : case E_V4SFmode:
25161 208 : if (pattern636 (x3,
25162 : E_V8HFmode,
25163 : E_V4HFmode,
25164 : E_V4SFmode) != 0
25165 208 : || !insn_condition_1351 (operands, insn))
25166 69 : return -1;
25167 : return 4892; /* avx512fp16_float_extend_phv4sf2 */
25168 :
25169 : default:
25170 : return -1;
25171 : }
25172 :
25173 115 : case 1:
25174 115 : if (XWINT (x9, 0) != 4L
25175 115 : || XWINT (x10, 0) != 6L)
25176 : return -1;
25177 115 : switch (pattern1524 (x3))
25178 : {
25179 55 : case 0:
25180 55 : if (!insn_condition_1850 (operands, insn))
25181 0 : return -1;
25182 : return 9124; /* vcvtneeph2ps_v8hf */
25183 :
25184 53 : case 1:
25185 53 : if (!insn_condition_1850 (operands, insn))
25186 0 : return -1;
25187 : return 9125; /* vcvtneebf162ps_v8bf */
25188 :
25189 : default:
25190 : return -1;
25191 : }
25192 :
25193 111 : case 2:
25194 111 : switch (pattern1524 (x3))
25195 : {
25196 55 : case 0:
25197 55 : if (!insn_condition_1850 (operands, insn))
25198 0 : return -1;
25199 : return 9128; /* vcvtneoph2ps_v8hf */
25200 :
25201 53 : case 1:
25202 53 : if (!insn_condition_1850 (operands, insn))
25203 0 : return -1;
25204 : return 9129; /* vcvtneobf162ps_v8bf */
25205 :
25206 : default:
25207 : return -1;
25208 : }
25209 :
25210 : default:
25211 : return -1;
25212 : }
25213 :
25214 6211 : case 2:
25215 6211 : x7 = XVECEXP (x5, 0, 0);
25216 6211 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
25217 : return -1;
25218 6211 : x8 = XVECEXP (x5, 0, 1);
25219 6211 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 1]
25220 6211 : || !register_operand (operands[0], E_V2DFmode)
25221 11949 : || GET_MODE (x3) != E_V2DFmode)
25222 : return -1;
25223 5738 : switch (GET_MODE (x4))
25224 : {
25225 83 : case E_V2HFmode:
25226 83 : if (!register_operand (operands[1], E_V8HFmode)
25227 83 : || !insn_condition_1351 (operands, insn))
25228 13 : return -1;
25229 : return 4898; /* avx512fp16_float_extend_phv2df2 */
25230 :
25231 5655 : case E_V2SFmode:
25232 5655 : if (!register_operand (operands[1], E_V4SFmode)
25233 5655 : || !insn_condition_1343 (operands, insn))
25234 1612 : return -1;
25235 : return 5399; /* sse2_cvtps2pd */
25236 :
25237 : default:
25238 : return -1;
25239 : }
25240 :
25241 777 : case 8:
25242 777 : x7 = XVECEXP (x5, 0, 0);
25243 777 : if (GET_CODE (x7) != CONST_INT)
25244 : return -1;
25245 777 : x8 = XVECEXP (x5, 0, 1);
25246 777 : if (GET_CODE (x8) != CONST_INT
25247 777 : || pattern970 (x5) != 0)
25248 : return -1;
25249 777 : switch (pattern1184 (x5))
25250 : {
25251 334 : case 0:
25252 334 : if (pattern1605 (x5) != 0
25253 334 : || pattern969 (x3,
25254 : E_V16SFmode,
25255 : E_V8SFmode,
25256 : E_V8DFmode) != 0
25257 606 : || !insn_condition_27 (operands, insn))
25258 62 : return -1;
25259 : return 5356; /* vec_unpacks_lo_v16sf */
25260 :
25261 117 : case 1:
25262 117 : x9 = XVECEXP (x5, 0, 2);
25263 117 : if (XWINT (x9, 0) != 4L)
25264 : return -1;
25265 117 : x10 = XVECEXP (x5, 0, 3);
25266 117 : if (XWINT (x10, 0) != 6L)
25267 : return -1;
25268 117 : x11 = XVECEXP (x5, 0, 4);
25269 117 : if (XWINT (x11, 0) != 8L)
25270 : return -1;
25271 117 : x12 = XVECEXP (x5, 0, 5);
25272 117 : if (XWINT (x12, 0) != 10L)
25273 : return -1;
25274 117 : x13 = XVECEXP (x5, 0, 6);
25275 117 : if (XWINT (x13, 0) != 12L)
25276 : return -1;
25277 117 : x14 = XVECEXP (x5, 0, 7);
25278 117 : if (XWINT (x14, 0) != 14L)
25279 : return -1;
25280 117 : switch (pattern1823 (x3))
25281 : {
25282 55 : case 0:
25283 55 : if (!insn_condition_1850 (operands, insn))
25284 0 : return -1;
25285 : return 9126; /* vcvtneeph2ps_v16hf */
25286 :
25287 53 : case 1:
25288 53 : if (!insn_condition_1850 (operands, insn))
25289 0 : return -1;
25290 : return 9127; /* vcvtneebf162ps_v16bf */
25291 :
25292 : default:
25293 : return -1;
25294 : }
25295 :
25296 113 : case 2:
25297 113 : x11 = XVECEXP (x5, 0, 4);
25298 113 : if (XWINT (x11, 0) != 9L)
25299 : return -1;
25300 113 : x12 = XVECEXP (x5, 0, 5);
25301 113 : if (XWINT (x12, 0) != 11L)
25302 : return -1;
25303 113 : x13 = XVECEXP (x5, 0, 6);
25304 113 : if (XWINT (x13, 0) != 13L)
25305 : return -1;
25306 113 : x14 = XVECEXP (x5, 0, 7);
25307 113 : if (XWINT (x14, 0) != 15L)
25308 : return -1;
25309 113 : switch (pattern1823 (x3))
25310 : {
25311 55 : case 0:
25312 55 : if (!insn_condition_1850 (operands, insn))
25313 0 : return -1;
25314 : return 9130; /* vcvtneoph2ps_v16hf */
25315 :
25316 53 : case 1:
25317 53 : if (!insn_condition_1850 (operands, insn))
25318 0 : return -1;
25319 : return 9131; /* vcvtneobf162ps_v16bf */
25320 :
25321 : default:
25322 : return -1;
25323 : }
25324 :
25325 : default:
25326 : return -1;
25327 : }
25328 :
25329 : default:
25330 : return -1;
25331 : }
25332 :
25333 : default:
25334 : return -1;
25335 : }
25336 : }
25337 :
25338 : int
25339 480828 : recog_346 (rtx x1 ATTRIBUTE_UNUSED,
25340 : rtx_insn *insn ATTRIBUTE_UNUSED,
25341 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25342 : {
25343 480828 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25344 480828 : rtx x2, x3, x4, x5, x6, x7;
25345 480828 : int res ATTRIBUTE_UNUSED;
25346 480828 : switch (pattern35 (x1))
25347 : {
25348 3440 : case 0:
25349 3440 : if (!insn_condition_1697 (operands, insn))
25350 31 : return -1;
25351 : return 7421; /* avx2_zero_extendv16qiv16hi2 */
25352 :
25353 1071 : case 1:
25354 1071 : if (!insn_condition_12 (operands, insn))
25355 0 : return -1;
25356 : return 7429; /* avx512bw_zero_extendv32qiv32hi2 */
25357 :
25358 948 : case 2:
25359 948 : if (!insn_condition_1625 (operands, insn))
25360 32 : return -1;
25361 : return 7441; /* *sse4_1_zero_extendv8qiv8hi2_1 */
25362 :
25363 72 : case 3:
25364 72 : if (!insn_condition_27 (operands, insn))
25365 0 : return -1;
25366 : return 7453; /* *avx512f_zero_extendv16qiv16si2 */
25367 :
25368 462 : case 4:
25369 462 : if (!insn_condition_27 (operands, insn))
25370 1 : return -1;
25371 : return 7483; /* avx512f_zero_extendv16hiv16si2 */
25372 :
25373 8 : case 5:
25374 8 : if (!insn_condition_1521 (operands, insn))
25375 0 : return -1;
25376 : return 7461; /* *avx2_zero_extendv8qiv8si2_1 */
25377 :
25378 1481 : case 6:
25379 1481 : if (!insn_condition_1521 (operands, insn))
25380 320 : return -1;
25381 : return 7491; /* avx2_zero_extendv8hiv8si2 */
25382 :
25383 26 : case 7:
25384 26 : if (!insn_condition_1943 (operands, insn))
25385 0 : return -1;
25386 : return 7473; /* *sse4_1_zero_extendv4qiv4si2_1 */
25387 :
25388 58 : case 8:
25389 58 : if (!insn_condition_1943 (operands, insn))
25390 8 : return -1;
25391 : return 7503; /* *sse4_1_zero_extendv4hiv4si2_1 */
25392 :
25393 7 : case 9:
25394 7 : if (!insn_condition_27 (operands, insn))
25395 0 : return -1;
25396 : return 7519; /* *avx512f_zero_extendv8qiv8di2_1 */
25397 :
25398 66 : case 10:
25399 66 : if (!insn_condition_27 (operands, insn))
25400 0 : return -1;
25401 : return 7550; /* avx512f_zero_extendv8hiv8di2 */
25402 :
25403 251 : case 11:
25404 251 : if (!insn_condition_27 (operands, insn))
25405 0 : return -1;
25406 : return 7578; /* avx512f_zero_extendv8siv8di2 */
25407 :
25408 7 : case 12:
25409 7 : if (!insn_condition_1521 (operands, insn))
25410 0 : return -1;
25411 : return 7531; /* *avx2_zero_extendv4qiv4di2_1 */
25412 :
25413 74 : case 13:
25414 74 : if (!insn_condition_1521 (operands, insn))
25415 0 : return -1;
25416 : return 7558; /* *avx2_zero_extendv4hiv4di2_1 */
25417 :
25418 718 : case 14:
25419 718 : if (!insn_condition_1521 (operands, insn))
25420 0 : return -1;
25421 : return 7584; /* avx2_zero_extendv4siv4di2 */
25422 :
25423 8 : case 15:
25424 8 : if (!insn_condition_1943 (operands, insn))
25425 0 : return -1;
25426 : return 7543; /* *sse4_1_zero_extendv2qiv2di2_1 */
25427 :
25428 7 : case 16:
25429 7 : if (!insn_condition_1943 (operands, insn))
25430 0 : return -1;
25431 : return 7570; /* *sse4_1_zero_extendv2hiv2di2_1 */
25432 :
25433 19 : case 17:
25434 19 : if (!insn_condition_1943 (operands, insn))
25435 0 : return -1;
25436 : return 7594; /* *sse4_1_zero_extendv2siv2di2_1 */
25437 :
25438 49263 : case 18:
25439 49263 : x2 = XEXP (x1, 1);
25440 49263 : x3 = XEXP (x2, 0);
25441 49263 : x4 = XEXP (x3, 0);
25442 49263 : operands[1] = x4;
25443 49263 : switch (pattern564 (x2))
25444 : {
25445 15834 : case 0:
25446 15834 : if (insn_condition_1625 (operands, insn))
25447 : return 7437; /* sse4_1_zero_extendv8qiv8hi2 */
25448 : break;
25449 :
25450 107 : case 1:
25451 107 : if (insn_condition_1521 (operands, insn))
25452 : return 7457; /* avx2_zero_extendv8qiv8si2 */
25453 : break;
25454 :
25455 66 : case 2:
25456 66 : if (insn_condition_27 (operands, insn))
25457 : return 7515; /* avx512f_zero_extendv8qiv8di2 */
25458 : break;
25459 :
25460 148 : case 3:
25461 148 : if (insn_condition_1943 (operands, insn))
25462 : return 7469; /* sse4_1_zero_extendv4qiv4si2 */
25463 : break;
25464 :
25465 1833 : case 4:
25466 1833 : if (insn_condition_1943 (operands, insn))
25467 : return 7499; /* sse4_1_zero_extendv4hiv4si2 */
25468 : break;
25469 :
25470 91 : case 5:
25471 91 : if (insn_condition_1521 (operands, insn))
25472 : return 7527; /* avx2_zero_extendv4qiv4di2 */
25473 : break;
25474 :
25475 98 : case 6:
25476 98 : if (insn_condition_1521 (operands, insn))
25477 : return 7554; /* avx2_zero_extendv4hiv4di2 */
25478 : break;
25479 :
25480 132 : case 7:
25481 132 : if (insn_condition_1943 (operands, insn))
25482 : return 7539; /* sse4_1_zero_extendv2qiv2di2 */
25483 : break;
25484 :
25485 109 : case 8:
25486 109 : if (insn_condition_1943 (operands, insn))
25487 : return 7566; /* sse4_1_zero_extendv2hiv2di2 */
25488 : break;
25489 :
25490 721 : case 9:
25491 721 : if (insn_condition_1943 (operands, insn))
25492 : return 7590; /* sse4_1_zero_extendv2siv2di2 */
25493 : break;
25494 :
25495 : default:
25496 : break;
25497 : }
25498 30124 : if (GET_CODE (x4) != SUBREG
25499 30124 : || maybe_ne (SUBREG_BYTE (x4), 0))
25500 : return -1;
25501 8999 : x5 = XEXP (x4, 0);
25502 8999 : switch (GET_CODE (x5))
25503 : {
25504 24 : case VEC_CONCAT:
25505 24 : switch (pattern719 (x2))
25506 : {
25507 4 : case 0:
25508 4 : if (!insn_condition_93 (operands, insn))
25509 0 : return -1;
25510 : return 7444; /* *sse4_1_zero_extendv8qiv8hi2_2 */
25511 :
25512 2 : case 1:
25513 2 : if (!insn_condition_1944 (operands, insn))
25514 0 : return -1;
25515 : return 7464; /* *avx2_zero_extendv8qiv8si2_2 */
25516 :
25517 1 : case 2:
25518 1 : if (!insn_condition_864 (operands, insn))
25519 0 : return -1;
25520 : return 7522; /* *avx512f_zero_extendv8qiv8di2_2 */
25521 :
25522 3 : case 3:
25523 3 : if (!insn_condition_93 (operands, insn))
25524 0 : return -1;
25525 : return 7506; /* *sse4_1_zero_extendv4hiv4si2_2 */
25526 :
25527 2 : case 4:
25528 2 : if (!insn_condition_1944 (operands, insn))
25529 0 : return -1;
25530 : return 7561; /* *avx2_zero_extendv4hiv4di2_2 */
25531 :
25532 3 : case 5:
25533 3 : if (!insn_condition_93 (operands, insn))
25534 0 : return -1;
25535 : return 7597; /* *sse4_1_zero_extendv2siv2di2_2 */
25536 :
25537 : default:
25538 : return -1;
25539 : }
25540 :
25541 109 : case VEC_MERGE:
25542 109 : x6 = XEXP (x5, 0);
25543 109 : if (GET_CODE (x6) != VEC_DUPLICATE)
25544 : return -1;
25545 98 : if (GET_MODE (x6) == E_V4SImode)
25546 : {
25547 26 : switch (pattern1079 (x2))
25548 : {
25549 5 : case 0:
25550 5 : if (insn_condition_1945 (operands, insn))
25551 : return 7477; /* *sse4_1_zero_extendv4qiv4si2_2 */
25552 : break;
25553 :
25554 1 : case 1:
25555 1 : if (insn_condition_1944 (operands, insn))
25556 : return 7534; /* *avx2_zero_extendv4qiv4di2_2 */
25557 : break;
25558 :
25559 4 : case 2:
25560 4 : if (insn_condition_93 (operands, insn))
25561 : return 7573; /* *sse4_1_zero_extendv2hiv2di2_2 */
25562 : break;
25563 :
25564 : default:
25565 : break;
25566 : }
25567 : }
25568 88 : x7 = XEXP (x5, 2);
25569 88 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
25570 : return -1;
25571 84 : switch (pattern1080 (x2))
25572 : {
25573 4 : case 0:
25574 4 : if (!insn_condition_1558 (operands, insn))
25575 0 : return -1;
25576 : return 7545; /* *sse4_1_zero_extendv2qiv2di2_2 */
25577 :
25578 4 : case 1:
25579 4 : if (!insn_condition_1558 (operands, insn))
25580 0 : return -1;
25581 : return 7546; /* *sse4_1_zero_extendv2qiv2di2_2 */
25582 :
25583 0 : case 2:
25584 0 : if (!insn_condition_1558 (operands, insn))
25585 0 : return -1;
25586 : return 7547; /* *sse4_1_zero_extendv2qiv2di2_2 */
25587 :
25588 : default:
25589 : return -1;
25590 : }
25591 :
25592 : default:
25593 : return -1;
25594 : }
25595 :
25596 : default:
25597 : return -1;
25598 : }
25599 : }
25600 :
25601 : int
25602 61405 : recog_354 (rtx x1 ATTRIBUTE_UNUSED,
25603 : rtx_insn *insn ATTRIBUTE_UNUSED,
25604 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25605 : {
25606 61405 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25607 61405 : int res ATTRIBUTE_UNUSED;
25608 61405 : switch (pattern27 (x1))
25609 : {
25610 23 : case 0:
25611 23 : if (!insn_condition_1983 (operands, insn))
25612 1 : return -1;
25613 : return 3161; /* *sminv32hf3 */
25614 :
25615 34 : case 1:
25616 34 : if (!insn_condition_1984 (operands, insn))
25617 0 : return -1;
25618 : return 3167; /* *sminv16hf3 */
25619 :
25620 217 : case 2:
25621 217 : if (!insn_condition_1984 (operands, insn))
25622 3 : return -1;
25623 : return 3171; /* *sminv8hf3 */
25624 :
25625 0 : case 3:
25626 0 : if (!insn_condition_1985 (operands, insn))
25627 0 : return -1;
25628 : return 3177; /* *sminv16sf3 */
25629 :
25630 28 : case 4:
25631 28 : if (!insn_condition_1986 (operands, insn))
25632 2 : return -1;
25633 : return 3183; /* *sminv8sf3 */
25634 :
25635 293 : case 5:
25636 293 : if (!insn_condition_1987 (operands, insn))
25637 3 : return -1;
25638 : return 3187; /* *sminv4sf3 */
25639 :
25640 7 : case 6:
25641 7 : if (!insn_condition_1985 (operands, insn))
25642 1 : return -1;
25643 : return 3193; /* *sminv8df3 */
25644 :
25645 12 : case 7:
25646 12 : if (!insn_condition_1986 (operands, insn))
25647 0 : return -1;
25648 : return 3199; /* *sminv4df3 */
25649 :
25650 251 : case 8:
25651 251 : if (!insn_condition_1988 (operands, insn))
25652 22 : return -1;
25653 : return 3203; /* *sminv2df3 */
25654 :
25655 201 : case 9:
25656 201 : if (insn_condition_1682 (operands, insn))
25657 : return 6464; /* *avx2_sminv32qi3 */
25658 6 : if (!insn_condition_103 (operands, insn))
25659 6 : return -1;
25660 : return 6541; /* *avx512bw_sminv32qi3 */
25661 :
25662 258 : case 10:
25663 258 : if (insn_condition_1682 (operands, insn))
25664 : return 6468; /* *avx2_sminv16hi3 */
25665 6 : if (!insn_condition_103 (operands, insn))
25666 6 : return -1;
25667 : return 6557; /* *avx512bw_sminv16hi3 */
25668 :
25669 280 : case 11:
25670 280 : if (insn_condition_1682 (operands, insn))
25671 : return 6472; /* *avx2_sminv8si3 */
25672 6 : if (!insn_condition_104 (operands, insn))
25673 6 : return -1;
25674 : return 6485; /* *avx512f_sminv8si3 */
25675 :
25676 64 : case 12:
25677 64 : if (!insn_condition_59 (operands, insn))
25678 0 : return -1;
25679 : return 6477; /* *avx512f_sminv16si3 */
25680 :
25681 1621 : case 13:
25682 1621 : if (nonimmediate_operand (operands[1], E_V4SImode)
25683 1318 : && nonimmediate_operand (operands[2], E_V4SImode)
25684 2925 : && insn_condition_104 (operands, insn))
25685 : return 6493; /* *avx512f_sminv4si3 */
25686 1376 : if (!vector_operand (operands[1], E_V4SImode)
25687 1073 : || !vector_operand (operands[2], E_V4SImode)
25688 2435 : || !insn_condition_1989 (operands, insn))
25689 459 : return -1;
25690 : return 6577; /* *sse4_1_sminv4si3 */
25691 :
25692 369 : case 14:
25693 369 : if (!insn_condition_59 (operands, insn))
25694 1 : return -1;
25695 : return 6501; /* *avx512f_sminv8di3 */
25696 :
25697 142 : case 15:
25698 142 : if (!insn_condition_104 (operands, insn))
25699 1 : return -1;
25700 : return 6509; /* *avx512f_sminv4di3 */
25701 :
25702 76 : case 16:
25703 76 : if (!insn_condition_104 (operands, insn))
25704 1 : return -1;
25705 : return 6517; /* *avx512f_sminv2di3 */
25706 :
25707 71 : case 17:
25708 71 : if (!insn_condition_918 (operands, insn))
25709 0 : return -1;
25710 : return 6525; /* *avx512bw_sminv64qi3 */
25711 :
25712 3063 : case 18:
25713 3063 : if (nonimmediate_operand (operands[1], E_V16QImode)
25714 1911 : && nonimmediate_operand (operands[2], E_V16QImode)
25715 4922 : && insn_condition_103 (operands, insn))
25716 : return 6533; /* *avx512bw_sminv16qi3 */
25717 1471 : if (!vector_operand (operands[1], E_V16QImode)
25718 319 : || !vector_operand (operands[2], E_V16QImode)
25719 1738 : || !insn_condition_1989 (operands, insn))
25720 1227 : return -1;
25721 : return 6573; /* *sse4_1_sminv16qi3 */
25722 :
25723 65 : case 19:
25724 65 : if (!insn_condition_918 (operands, insn))
25725 0 : return -1;
25726 : return 6549; /* *avx512bw_sminv32hi3 */
25727 :
25728 3247 : case 20:
25729 3247 : if (nonimmediate_operand (operands[1], E_V8HImode)
25730 2234 : && nonimmediate_operand (operands[2], E_V8HImode)
25731 5401 : && insn_condition_103 (operands, insn))
25732 : return 6565; /* *avx512bw_sminv8hi3 */
25733 2211 : if (!vector_operand (operands[1], E_V8HImode)
25734 1194 : || !vector_operand (operands[2], E_V8HImode)
25735 3319 : || !insn_condition_1660 (operands, insn))
25736 1123 : return -1;
25737 : return 6580; /* *sminv8hi3 */
25738 :
25739 95 : case 21:
25740 95 : if (!insn_condition_41 (operands, insn))
25741 0 : return -1;
25742 : return 9289; /* avx10_2_sminbf16_v32bf */
25743 :
25744 107 : case 22:
25745 107 : if (!insn_condition_41 (operands, insn))
25746 0 : return -1;
25747 : return 9293; /* avx10_2_sminbf16_v16bf */
25748 :
25749 95 : case 23:
25750 95 : if (!insn_condition_41 (operands, insn))
25751 0 : return -1;
25752 : return 9297; /* avx10_2_sminbf16_v8bf */
25753 :
25754 : default:
25755 : return -1;
25756 : }
25757 : }
25758 :
25759 : int
25760 542 : recog_358 (rtx x1 ATTRIBUTE_UNUSED,
25761 : rtx_insn *insn ATTRIBUTE_UNUSED,
25762 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25763 : {
25764 542 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25765 542 : int res ATTRIBUTE_UNUSED;
25766 542 : switch (pattern29 (x1))
25767 : {
25768 16 : case 0:
25769 16 : if (!insn_condition_1340 (operands, insn))
25770 0 : return -1;
25771 : return 4774; /* avx512fp16_fixuns_truncv8hi2 */
25772 :
25773 6 : case 1:
25774 6 : if (!insn_condition_1340 (operands, insn))
25775 0 : return -1;
25776 : return 4782; /* avx512fp16_fixuns_truncv16hi2 */
25777 :
25778 6 : case 2:
25779 6 : if (!insn_condition_40 (operands, insn))
25780 0 : return -1;
25781 : return 4790; /* avx512fp16_fixuns_truncv32hi2 */
25782 :
25783 14 : case 3:
25784 14 : switch (GET_MODE (operands[1]))
25785 : {
25786 6 : case E_V8HFmode:
25787 6 : if (!vector_operand (operands[1], E_V8HFmode)
25788 6 : || !insn_condition_1340 (operands, insn))
25789 0 : return -1;
25790 : return 4798; /* avx512fp16_fixuns_truncv8si2 */
25791 :
25792 0 : case E_V8DFmode:
25793 0 : if (!vector_operand (operands[1], E_V8DFmode)
25794 0 : || !insn_condition_27 (operands, insn))
25795 0 : return -1;
25796 : return 5219; /* fixuns_truncv8dfv8si2 */
25797 :
25798 8 : case E_V8SFmode:
25799 8 : if (!nonimmediate_operand (operands[1], E_V8SFmode)
25800 8 : || !insn_condition_1350 (operands, insn))
25801 0 : return -1;
25802 : return 5320; /* *fixuns_truncv8sfv8si2 */
25803 :
25804 : default:
25805 : return -1;
25806 : }
25807 :
25808 6 : case 4:
25809 6 : if (!insn_condition_40 (operands, insn))
25810 0 : return -1;
25811 : return 4806; /* avx512fp16_fixuns_truncv16si2 */
25812 :
25813 0 : case 5:
25814 0 : if (!insn_condition_27 (operands, insn))
25815 0 : return -1;
25816 : return 5051; /* fixuns_truncv16sfv16si2 */
25817 :
25818 6 : case 6:
25819 6 : if (!insn_condition_40 (operands, insn))
25820 0 : return -1;
25821 : return 4814; /* avx512fp16_fixuns_truncv8di2 */
25822 :
25823 47 : case 7:
25824 47 : if (!insn_condition_1339 (operands, insn))
25825 0 : return -1;
25826 : return 5256; /* fixuns_truncv8dfv8di2 */
25827 :
25828 24 : case 8:
25829 24 : if (!insn_condition_1339 (operands, insn))
25830 0 : return -1;
25831 : return 5300; /* fixuns_truncv8sfv8di2 */
25832 :
25833 22 : case 9:
25834 22 : switch (GET_MODE (operands[1]))
25835 : {
25836 1 : case E_V4HFmode:
25837 1 : if (!memory_operand (operands[1], E_V4HFmode)
25838 1 : || !insn_condition_1351 (operands, insn))
25839 0 : return -1;
25840 : return 4836; /* *avx512fp16_fixuns_truncv4si2_load */
25841 :
25842 8 : case E_V4DFmode:
25843 8 : if (!nonimmediate_operand (operands[1], E_V4DFmode)
25844 8 : || !insn_condition_1352 (operands, insn))
25845 0 : return -1;
25846 : return 5234; /* fixuns_truncv4dfv4si2 */
25847 :
25848 13 : case E_V4SFmode:
25849 13 : if (!nonimmediate_operand (operands[1], E_V4SFmode)
25850 13 : || !insn_condition_532 (operands, insn))
25851 0 : return -1;
25852 : return 5322; /* *fixuns_truncv4sfv4si2 */
25853 :
25854 : default:
25855 : return -1;
25856 : }
25857 :
25858 1 : case 10:
25859 1 : if (!insn_condition_1351 (operands, insn))
25860 0 : return -1;
25861 : return 4840; /* *avx512fp16_fixuns_truncv4di2_load */
25862 :
25863 23 : case 11:
25864 23 : if (!insn_condition_1342 (operands, insn))
25865 0 : return -1;
25866 : return 5262; /* fixuns_truncv4dfv4di2 */
25867 :
25868 24 : case 12:
25869 24 : if (!insn_condition_1342 (operands, insn))
25870 0 : return -1;
25871 : return 5306; /* fixuns_truncv4sfv4di2 */
25872 :
25873 1 : case 13:
25874 1 : if (!insn_condition_1351 (operands, insn))
25875 0 : return -1;
25876 : return 4852; /* *avx512fp16_fixuns_truncv2di2_load */
25877 :
25878 21 : case 14:
25879 21 : if (!insn_condition_1342 (operands, insn))
25880 0 : return -1;
25881 : return 5266; /* fixuns_truncv2dfv2di2 */
25882 :
25883 10 : case 15:
25884 10 : if (!insn_condition_1351 (operands, insn))
25885 0 : return -1;
25886 : return 4828; /* avx512fp16_fixuns_truncv4si2 */
25887 :
25888 5 : case 16:
25889 5 : if (!insn_condition_1351 (operands, insn))
25890 0 : return -1;
25891 : return 4832; /* avx512fp16_fixuns_truncv4di2 */
25892 :
25893 5 : case 17:
25894 5 : if (!insn_condition_1351 (operands, insn))
25895 0 : return -1;
25896 : return 4848; /* avx512fp16_fixuns_truncv2di2 */
25897 :
25898 41 : case 18:
25899 41 : if (!insn_condition_1345 (operands, insn))
25900 0 : return -1;
25901 : return 5314; /* avx512dq_fixuns_truncv2sfv2di2 */
25902 :
25903 : default:
25904 : return -1;
25905 : }
25906 : }
25907 :
25908 : int
25909 31604 : recog_367 (rtx x1 ATTRIBUTE_UNUSED,
25910 : rtx_insn *insn ATTRIBUTE_UNUSED,
25911 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25912 : {
25913 31604 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25914 31604 : rtx x2, x3, x4;
25915 31604 : int res ATTRIBUTE_UNUSED;
25916 31604 : x2 = XEXP (x1, 0);
25917 31604 : operands[0] = x2;
25918 31604 : x3 = XEXP (x1, 1);
25919 31604 : x4 = XEXP (x3, 0);
25920 31604 : operands[1] = x4;
25921 31604 : switch (GET_MODE (operands[0]))
25922 : {
25923 19947 : case E_SImode:
25924 19947 : if (GET_MODE (x3) != E_SImode)
25925 : return -1;
25926 19947 : if (nonimmediate_operand (operands[0], E_SImode)
25927 19907 : && nonimmediate_operand (operands[1], E_SImode)
25928 38799 : && insn_condition_436 (operands, insn))
25929 : return 1778; /* *bswapsi2_movbe */
25930 19673 : if (!register_operand (operands[0], E_SImode)
25931 17469 : || !register_operand (operands[1], E_SImode)
25932 33194 : || !insn_condition_1990 (operands, insn))
25933 6152 : return -1;
25934 : return 1780; /* *bswapsi2 */
25935 :
25936 6139 : case E_DImode:
25937 6139 : if (GET_MODE (x3) != E_DImode)
25938 : return -1;
25939 6139 : if (nonimmediate_operand (operands[0], E_DImode)
25940 6135 : && nonimmediate_operand (operands[1], E_DImode)
25941 11803 : && insn_condition_1991 (operands, insn))
25942 : return 1779; /* *bswapdi2_movbe */
25943 6114 : if (!register_operand (operands[0], E_DImode)
25944 5795 : || !register_operand (operands[1], E_DImode)
25945 6114 : || !insn_condition_1992 (operands, insn))
25946 1276 : return -1;
25947 : return 1781; /* *bswapdi2 */
25948 :
25949 : default:
25950 : return -1;
25951 : }
25952 : }
25953 :
25954 : int
25955 5588963 : recog_370 (rtx x1 ATTRIBUTE_UNUSED,
25956 : rtx_insn *insn ATTRIBUTE_UNUSED,
25957 : int *pnum_clobbers ATTRIBUTE_UNUSED)
25958 : {
25959 5588963 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
25960 5588963 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
25961 5588963 : rtx x10;
25962 5588963 : int res ATTRIBUTE_UNUSED;
25963 5588963 : x2 = XVECEXP (x1, 0, 0);
25964 5588963 : x3 = XEXP (x2, 0);
25965 5588963 : operands[0] = x3;
25966 5588963 : x4 = XVECEXP (x1, 0, 1);
25967 5588963 : switch (GET_CODE (x4))
25968 : {
25969 2517770 : case CLOBBER:
25970 2517770 : x5 = XEXP (x2, 1);
25971 2517770 : operands[1] = x5;
25972 2517770 : x6 = XEXP (x4, 0);
25973 2517770 : switch (GET_CODE (x6))
25974 : {
25975 46788 : case MEM:
25976 46788 : if (GET_MODE (x6) != E_BLKmode)
25977 : return -1;
25978 46787 : x7 = XEXP (x6, 0);
25979 46787 : if (GET_CODE (x7) != SCRATCH)
25980 : return -1;
25981 46787 : switch (GET_MODE (operands[0]))
25982 : {
25983 35 : case E_SImode:
25984 35 : if (push_operand (operands[0], E_SImode)
25985 33 : && general_no_elim_operand (operands[1], E_SImode)
25986 68 : && insn_condition_139 (operands, insn))
25987 : return 78; /* *pushsi2_prologue */
25988 2 : if (!nonimmediate_operand (operands[0], E_SImode)
25989 2 : || !pop_operand (operands[1], E_SImode)
25990 4 : || !insn_condition_139 (operands, insn))
25991 0 : return -1;
25992 : return 82; /* *popsi1_epilogue */
25993 :
25994 46752 : case E_DImode:
25995 46752 : if (push_operand (operands[0], E_DImode)
25996 33225 : && general_no_elim_operand (operands[1], E_DImode)
25997 79977 : && insn_condition_140 (operands, insn))
25998 : return 79; /* *pushdi2_prologue */
25999 13527 : if (!nonimmediate_operand (operands[0], E_DImode)
26000 13527 : || !pop_operand (operands[1], E_DImode)
26001 27054 : || !insn_condition_140 (operands, insn))
26002 0 : return -1;
26003 : return 83; /* *popdi1_epilogue */
26004 :
26005 : default:
26006 : return -1;
26007 : }
26008 :
26009 2467051 : case REG:
26010 2467051 : if (REGNO (x6) != 17
26011 2467051 : || GET_MODE (x6) != E_CCmode)
26012 : return -1;
26013 2467047 : switch (GET_MODE (operands[0]))
26014 : {
26015 313097 : case E_SImode:
26016 313097 : if (const0_operand (operands[1], E_SImode))
26017 : {
26018 176206 : if (register_operand (operands[0], E_SImode)
26019 176206 : && insn_condition_170 (operands, insn))
26020 : return 88; /* *movsi_xor */
26021 2096 : if (memory_operand (operands[0], E_SImode)
26022 2096 : && insn_condition_170 (operands, insn))
26023 : return 91; /* *movsi_and */
26024 : }
26025 138986 : if (!nonimmediate_operand (operands[0], E_SImode)
26026 138970 : || !constm1_operand (operands[1], E_SImode)
26027 164184 : || !insn_condition_170 (operands, insn))
26028 114193 : return -1;
26029 : return 94; /* *movsi_or */
26030 :
26031 2139358 : case E_DImode:
26032 2139358 : if (const0_operand (operands[1], E_DImode))
26033 : {
26034 1338398 : if (register_operand (operands[0], E_DImode)
26035 1338398 : && insn_condition_174 (operands, insn))
26036 : return 89; /* *movdi_xor */
26037 11236 : if (memory_operand (operands[0], E_DImode)
26038 11236 : && insn_condition_174 (operands, insn))
26039 : return 92; /* *movdi_and */
26040 : }
26041 812192 : if (!nonimmediate_operand (operands[0], E_DImode)
26042 812191 : || !constm1_operand (operands[1], E_DImode)
26043 812192 : || !insn_condition_174 (operands, insn))
26044 808912 : return -1;
26045 : return 95; /* *movdi_or */
26046 :
26047 3439 : case E_HImode:
26048 3439 : if (memory_operand (operands[0], E_HImode)
26049 2 : && const0_operand (operands[1], E_HImode)
26050 3440 : && insn_condition_170 (operands, insn))
26051 : return 90; /* *movhi_and */
26052 3438 : if (!nonimmediate_operand (operands[0], E_HImode)
26053 3437 : || !constm1_operand (operands[1], E_HImode)
26054 3614 : || !insn_condition_170 (operands, insn))
26055 3437 : return -1;
26056 : return 93; /* *movhi_or */
26057 :
26058 : default:
26059 : return -1;
26060 : }
26061 :
26062 : default:
26063 : return -1;
26064 : }
26065 :
26066 3069905 : case SET:
26067 3069905 : x8 = XEXP (x4, 1);
26068 3069905 : switch (GET_CODE (x8))
26069 : {
26070 840428 : case REG:
26071 840428 : case SUBREG:
26072 840428 : if (!rtx_equal_p (x8, operands[0]))
26073 : return -1;
26074 52010 : x5 = XEXP (x2, 1);
26075 52010 : operands[1] = x5;
26076 52010 : x6 = XEXP (x4, 0);
26077 52010 : if (!rtx_equal_p (x6, operands[1]))
26078 : return -1;
26079 52001 : switch (GET_MODE (operands[0]))
26080 : {
26081 57 : case E_SImode:
26082 57 : if (!register_operand (operands[0], E_SImode)
26083 57 : || !register_operand (operands[1], E_SImode))
26084 0 : return -1;
26085 : return 111; /* swapsi */
26086 :
26087 7474 : case E_DImode:
26088 7474 : if (!register_operand (operands[0], E_DImode)
26089 7474 : || !register_operand (operands[1], E_DImode)
26090 14948 : || !insn_condition_52 (operands, insn))
26091 0 : return -1;
26092 : return 112; /* swapdi */
26093 :
26094 1 : case E_QImode:
26095 1 : if (!register_operand (operands[0], E_QImode)
26096 1 : || !register_operand (operands[1], E_QImode))
26097 0 : return -1;
26098 : return 113; /* *swapqi */
26099 :
26100 0 : case E_HImode:
26101 0 : if (!register_operand (operands[0], E_HImode)
26102 0 : || !register_operand (operands[1], E_HImode))
26103 0 : return -1;
26104 : return 114; /* *swaphi */
26105 :
26106 44469 : case E_XFmode:
26107 44469 : if (!register_operand (operands[0], E_XFmode)
26108 44469 : || !register_operand (operands[1], E_XFmode)
26109 88938 : || !insn_condition_74 (operands, insn))
26110 0 : return -1;
26111 : return 178; /* *swapxf */
26112 :
26113 : default:
26114 : return -1;
26115 : }
26116 :
26117 3802 : case UNSPEC:
26118 3802 : if (XVECLEN (x8, 0) != 1
26119 238 : || XINT (x8, 1) != 69
26120 26 : || GET_MODE (x8) != E_XFmode
26121 3828 : || !register_operand (operands[0], E_SFmode))
26122 : return -1;
26123 26 : x5 = XEXP (x2, 1);
26124 26 : operands[3] = x5;
26125 26 : if (!const1_operand (operands[3], E_SFmode))
26126 : return -1;
26127 26 : x6 = XEXP (x4, 0);
26128 26 : operands[1] = x6;
26129 26 : if (!register_operand (operands[1], E_XFmode))
26130 : return -1;
26131 26 : x9 = XVECEXP (x8, 0, 0);
26132 26 : operands[2] = x9;
26133 26 : if (!register_operand (operands[2], E_XFmode)
26134 26 : || !insn_condition_109 (operands, insn))
26135 12 : return -1;
26136 : return 1859; /* fptanxf4_i387 */
26137 :
26138 : default:
26139 : return -1;
26140 : }
26141 :
26142 1106 : case UNSPEC:
26143 1106 : if (XVECLEN (x4, 0) != 1
26144 1106 : || XINT (x4, 1) != 107
26145 176 : || GET_MODE (x4) != E_DImode)
26146 : return -1;
26147 176 : x10 = XVECEXP (x4, 0, 0);
26148 176 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
26149 : return -1;
26150 176 : x5 = XEXP (x2, 1);
26151 176 : operands[1] = x5;
26152 176 : if (register_operand (operands[1], E_DImode)
26153 89 : && push_operand (operands[0], E_DImode)
26154 265 : && insn_condition_52 (operands, insn))
26155 : return 166; /* pushp_di */
26156 87 : if (!pop_operand (operands[1], E_DImode)
26157 87 : || !register_operand (operands[0], E_DImode)
26158 174 : || !insn_condition_1996 (operands, insn))
26159 0 : return -1;
26160 : return 167; /* popp_di */
26161 :
26162 : default:
26163 : return -1;
26164 : }
26165 : }
26166 :
26167 : int
26168 613 : recog_379 (rtx x1 ATTRIBUTE_UNUSED,
26169 : rtx_insn *insn ATTRIBUTE_UNUSED,
26170 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26171 : {
26172 613 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26173 613 : rtx x2, x3;
26174 613 : int res ATTRIBUTE_UNUSED;
26175 613 : if (pattern383 (x1) != 0)
26176 : return -1;
26177 355 : x2 = XVECEXP (x1, 0, 0);
26178 355 : x3 = XEXP (x2, 0);
26179 355 : operands[0] = x3;
26180 355 : switch (pattern1089 (x1))
26181 : {
26182 0 : case 0:
26183 0 : if (!insn_condition_2017 (operands, insn))
26184 0 : return -1;
26185 : return 3507; /* *avx512f_cmpv16si3_zero_extendhi_2 */
26186 :
26187 0 : case 1:
26188 0 : if (!insn_condition_2018 (operands, insn))
26189 0 : return -1;
26190 : return 3528; /* *avx512vl_cmpv16hf3_zero_extendhi_2 */
26191 :
26192 0 : case 2:
26193 0 : if (!insn_condition_2019 (operands, insn))
26194 0 : return -1;
26195 : return 3534; /* *avx512f_cmpv16sf3_zero_extendhi_2 */
26196 :
26197 0 : case 3:
26198 0 : if (!insn_condition_2020 (operands, insn))
26199 0 : return -1;
26200 : return 3627; /* *avx512vl_cmpv16qi3_zero_extendhi_2 */
26201 :
26202 0 : case 4:
26203 0 : if (!insn_condition_2021 (operands, insn))
26204 0 : return -1;
26205 : return 3636; /* *avx512vl_cmpv16hi3_zero_extendhi_2 */
26206 :
26207 4 : case 5:
26208 4 : if (!insn_condition_2022 (operands, insn))
26209 0 : return -1;
26210 : return 3510; /* *avx512vl_cmpv8si3_zero_extendhi_2 */
26211 :
26212 4 : case 6:
26213 4 : if (!insn_condition_2023 (operands, insn))
26214 0 : return -1;
26215 : return 3513; /* *avx512vl_cmpv4si3_zero_extendhi_2 */
26216 :
26217 4 : case 7:
26218 4 : if (!insn_condition_2024 (operands, insn))
26219 0 : return -1;
26220 : return 3516; /* *avx512f_cmpv8di3_zero_extendhi_2 */
26221 :
26222 4 : case 8:
26223 4 : if (!insn_condition_2025 (operands, insn))
26224 0 : return -1;
26225 : return 3519; /* *avx512vl_cmpv4di3_zero_extendhi_2 */
26226 :
26227 4 : case 9:
26228 4 : if (!insn_condition_2026 (operands, insn))
26229 0 : return -1;
26230 : return 3522; /* *avx512vl_cmpv2di3_zero_extendhi_2 */
26231 :
26232 3 : case 10:
26233 3 : if (!insn_condition_2027 (operands, insn))
26234 0 : return -1;
26235 : return 3531; /* *avx512fp16_cmpv8hf3_zero_extendhi_2 */
26236 :
26237 4 : case 11:
26238 4 : if (!insn_condition_2028 (operands, insn))
26239 0 : return -1;
26240 : return 3537; /* *avx512vl_cmpv8sf3_zero_extendhi_2 */
26241 :
26242 4 : case 12:
26243 4 : if (!insn_condition_2029 (operands, insn))
26244 0 : return -1;
26245 : return 3540; /* *avx512vl_cmpv4sf3_zero_extendhi_2 */
26246 :
26247 4 : case 13:
26248 4 : if (!insn_condition_2030 (operands, insn))
26249 0 : return -1;
26250 : return 3543; /* *avx512f_cmpv8df3_zero_extendhi_2 */
26251 :
26252 4 : case 14:
26253 4 : if (!insn_condition_2031 (operands, insn))
26254 0 : return -1;
26255 : return 3546; /* *avx512vl_cmpv4df3_zero_extendhi_2 */
26256 :
26257 4 : case 15:
26258 4 : if (!insn_condition_2032 (operands, insn))
26259 0 : return -1;
26260 : return 3549; /* *avx512vl_cmpv2df3_zero_extendhi_2 */
26261 :
26262 2 : case 16:
26263 2 : if (!insn_condition_2033 (operands, insn))
26264 0 : return -1;
26265 : return 3639; /* *avx512vl_cmpv8hi3_zero_extendhi_2 */
26266 :
26267 0 : case 17:
26268 0 : if (!insn_condition_2034 (operands, insn))
26269 0 : return -1;
26270 : return 3525; /* *avx512bw_cmpv32hf3_zero_extendhi_2 */
26271 :
26272 0 : case 18:
26273 0 : if (!insn_condition_2035 (operands, insn))
26274 0 : return -1;
26275 : return 3630; /* *avx512vl_cmpv32qi3_zero_extendhi_2 */
26276 :
26277 0 : case 19:
26278 0 : if (!insn_condition_2036 (operands, insn))
26279 0 : return -1;
26280 : return 3633; /* *avx512bw_cmpv32hi3_zero_extendhi_2 */
26281 :
26282 0 : case 20:
26283 0 : if (!insn_condition_2037 (operands, insn))
26284 0 : return -1;
26285 : return 3624; /* *avx512bw_cmpv64qi3_zero_extendhi_2 */
26286 :
26287 4 : case 21:
26288 4 : if (!insn_condition_2038 (operands, insn))
26289 0 : return -1;
26290 : return 3508; /* *avx512f_cmpv16si3_zero_extendsi_2 */
26291 :
26292 4 : case 22:
26293 4 : if (!insn_condition_2039 (operands, insn))
26294 0 : return -1;
26295 : return 3529; /* *avx512vl_cmpv16hf3_zero_extendsi_2 */
26296 :
26297 4 : case 23:
26298 4 : if (!insn_condition_2040 (operands, insn))
26299 0 : return -1;
26300 : return 3535; /* *avx512f_cmpv16sf3_zero_extendsi_2 */
26301 :
26302 4 : case 24:
26303 4 : if (!insn_condition_2041 (operands, insn))
26304 0 : return -1;
26305 : return 3628; /* *avx512vl_cmpv16qi3_zero_extendsi_2 */
26306 :
26307 4 : case 25:
26308 4 : if (!insn_condition_2042 (operands, insn))
26309 0 : return -1;
26310 : return 3637; /* *avx512vl_cmpv16hi3_zero_extendsi_2 */
26311 :
26312 4 : case 26:
26313 4 : if (!insn_condition_2043 (operands, insn))
26314 0 : return -1;
26315 : return 3511; /* *avx512vl_cmpv8si3_zero_extendsi_2 */
26316 :
26317 4 : case 27:
26318 4 : if (!insn_condition_2044 (operands, insn))
26319 0 : return -1;
26320 : return 3514; /* *avx512vl_cmpv4si3_zero_extendsi_2 */
26321 :
26322 4 : case 28:
26323 4 : if (!insn_condition_2045 (operands, insn))
26324 0 : return -1;
26325 : return 3517; /* *avx512f_cmpv8di3_zero_extendsi_2 */
26326 :
26327 4 : case 29:
26328 4 : if (!insn_condition_2046 (operands, insn))
26329 0 : return -1;
26330 : return 3520; /* *avx512vl_cmpv4di3_zero_extendsi_2 */
26331 :
26332 4 : case 30:
26333 4 : if (!insn_condition_2047 (operands, insn))
26334 0 : return -1;
26335 : return 3523; /* *avx512vl_cmpv2di3_zero_extendsi_2 */
26336 :
26337 3 : case 31:
26338 3 : if (!insn_condition_2048 (operands, insn))
26339 0 : return -1;
26340 : return 3532; /* *avx512fp16_cmpv8hf3_zero_extendsi_2 */
26341 :
26342 4 : case 32:
26343 4 : if (!insn_condition_2049 (operands, insn))
26344 0 : return -1;
26345 : return 3538; /* *avx512vl_cmpv8sf3_zero_extendsi_2 */
26346 :
26347 4 : case 33:
26348 4 : if (!insn_condition_2050 (operands, insn))
26349 0 : return -1;
26350 : return 3541; /* *avx512vl_cmpv4sf3_zero_extendsi_2 */
26351 :
26352 4 : case 34:
26353 4 : if (!insn_condition_2051 (operands, insn))
26354 0 : return -1;
26355 : return 3544; /* *avx512f_cmpv8df3_zero_extendsi_2 */
26356 :
26357 4 : case 35:
26358 4 : if (!insn_condition_2052 (operands, insn))
26359 0 : return -1;
26360 : return 3547; /* *avx512vl_cmpv4df3_zero_extendsi_2 */
26361 :
26362 4 : case 36:
26363 4 : if (!insn_condition_2053 (operands, insn))
26364 0 : return -1;
26365 : return 3550; /* *avx512vl_cmpv2df3_zero_extendsi_2 */
26366 :
26367 2 : case 37:
26368 2 : if (!insn_condition_2054 (operands, insn))
26369 0 : return -1;
26370 : return 3640; /* *avx512vl_cmpv8hi3_zero_extendsi_2 */
26371 :
26372 0 : case 38:
26373 0 : if (!insn_condition_2055 (operands, insn))
26374 0 : return -1;
26375 : return 3526; /* *avx512bw_cmpv32hf3_zero_extendsi_2 */
26376 :
26377 0 : case 39:
26378 0 : if (!insn_condition_2056 (operands, insn))
26379 0 : return -1;
26380 : return 3631; /* *avx512vl_cmpv32qi3_zero_extendsi_2 */
26381 :
26382 0 : case 40:
26383 0 : if (!insn_condition_2057 (operands, insn))
26384 0 : return -1;
26385 : return 3634; /* *avx512bw_cmpv32hi3_zero_extendsi_2 */
26386 :
26387 0 : case 41:
26388 0 : if (!insn_condition_2058 (operands, insn))
26389 0 : return -1;
26390 : return 3625; /* *avx512bw_cmpv64qi3_zero_extendsi_2 */
26391 :
26392 4 : case 42:
26393 4 : if (!insn_condition_2059 (operands, insn))
26394 0 : return -1;
26395 : return 3509; /* *avx512f_cmpv16si3_zero_extenddi_2 */
26396 :
26397 4 : case 43:
26398 4 : if (!insn_condition_2060 (operands, insn))
26399 0 : return -1;
26400 : return 3530; /* *avx512vl_cmpv16hf3_zero_extenddi_2 */
26401 :
26402 4 : case 44:
26403 4 : if (!insn_condition_2061 (operands, insn))
26404 0 : return -1;
26405 : return 3536; /* *avx512f_cmpv16sf3_zero_extenddi_2 */
26406 :
26407 4 : case 45:
26408 4 : if (!insn_condition_2062 (operands, insn))
26409 0 : return -1;
26410 : return 3629; /* *avx512vl_cmpv16qi3_zero_extenddi_2 */
26411 :
26412 4 : case 46:
26413 4 : if (!insn_condition_2063 (operands, insn))
26414 0 : return -1;
26415 : return 3638; /* *avx512vl_cmpv16hi3_zero_extenddi_2 */
26416 :
26417 4 : case 47:
26418 4 : if (!insn_condition_2064 (operands, insn))
26419 0 : return -1;
26420 : return 3512; /* *avx512vl_cmpv8si3_zero_extenddi_2 */
26421 :
26422 4 : case 48:
26423 4 : if (!insn_condition_2065 (operands, insn))
26424 0 : return -1;
26425 : return 3515; /* *avx512vl_cmpv4si3_zero_extenddi_2 */
26426 :
26427 4 : case 49:
26428 4 : if (!insn_condition_2066 (operands, insn))
26429 0 : return -1;
26430 : return 3518; /* *avx512f_cmpv8di3_zero_extenddi_2 */
26431 :
26432 4 : case 50:
26433 4 : if (!insn_condition_2067 (operands, insn))
26434 0 : return -1;
26435 : return 3521; /* *avx512vl_cmpv4di3_zero_extenddi_2 */
26436 :
26437 4 : case 51:
26438 4 : if (!insn_condition_2068 (operands, insn))
26439 0 : return -1;
26440 : return 3524; /* *avx512vl_cmpv2di3_zero_extenddi_2 */
26441 :
26442 3 : case 52:
26443 3 : if (!insn_condition_2069 (operands, insn))
26444 0 : return -1;
26445 : return 3533; /* *avx512fp16_cmpv8hf3_zero_extenddi_2 */
26446 :
26447 4 : case 53:
26448 4 : if (!insn_condition_2070 (operands, insn))
26449 0 : return -1;
26450 : return 3539; /* *avx512vl_cmpv8sf3_zero_extenddi_2 */
26451 :
26452 4 : case 54:
26453 4 : if (!insn_condition_2071 (operands, insn))
26454 0 : return -1;
26455 : return 3542; /* *avx512vl_cmpv4sf3_zero_extenddi_2 */
26456 :
26457 4 : case 55:
26458 4 : if (!insn_condition_2072 (operands, insn))
26459 0 : return -1;
26460 : return 3545; /* *avx512f_cmpv8df3_zero_extenddi_2 */
26461 :
26462 4 : case 56:
26463 4 : if (!insn_condition_2073 (operands, insn))
26464 0 : return -1;
26465 : return 3548; /* *avx512vl_cmpv4df3_zero_extenddi_2 */
26466 :
26467 4 : case 57:
26468 4 : if (!insn_condition_2074 (operands, insn))
26469 0 : return -1;
26470 : return 3551; /* *avx512vl_cmpv2df3_zero_extenddi_2 */
26471 :
26472 2 : case 58:
26473 2 : if (!insn_condition_2075 (operands, insn))
26474 0 : return -1;
26475 : return 3641; /* *avx512vl_cmpv8hi3_zero_extenddi_2 */
26476 :
26477 4 : case 59:
26478 4 : if (!insn_condition_2076 (operands, insn))
26479 0 : return -1;
26480 : return 3527; /* *avx512bw_cmpv32hf3_zero_extenddi_2 */
26481 :
26482 4 : case 60:
26483 4 : if (!insn_condition_2077 (operands, insn))
26484 0 : return -1;
26485 : return 3632; /* *avx512vl_cmpv32qi3_zero_extenddi_2 */
26486 :
26487 4 : case 61:
26488 4 : if (!insn_condition_2078 (operands, insn))
26489 0 : return -1;
26490 : return 3635; /* *avx512bw_cmpv32hi3_zero_extenddi_2 */
26491 :
26492 0 : case 62:
26493 0 : if (!insn_condition_2079 (operands, insn))
26494 0 : return -1;
26495 : return 3626; /* *avx512bw_cmpv64qi3_zero_extenddi_2 */
26496 :
26497 0 : case 63:
26498 0 : if (!insn_condition_2080 (operands, insn))
26499 0 : return -1;
26500 : return 3720; /* *avx512bw_ucmpv64qi3_zero_extendhi_2 */
26501 :
26502 0 : case 64:
26503 0 : if (!insn_condition_2081 (operands, insn))
26504 0 : return -1;
26505 : return 3723; /* *avx512vl_ucmpv16qi3_zero_extendhi_2 */
26506 :
26507 0 : case 65:
26508 0 : if (!insn_condition_2082 (operands, insn))
26509 0 : return -1;
26510 : return 3732; /* *avx512vl_ucmpv16hi3_zero_extendhi_2 */
26511 :
26512 0 : case 66:
26513 0 : if (!insn_condition_2017 (operands, insn))
26514 0 : return -1;
26515 : return 3804; /* *avx512f_ucmpv16si3_zero_extendhi_2 */
26516 :
26517 0 : case 67:
26518 0 : if (!insn_condition_2083 (operands, insn))
26519 0 : return -1;
26520 : return 3726; /* *avx512vl_ucmpv32qi3_zero_extendhi_2 */
26521 :
26522 0 : case 68:
26523 0 : if (!insn_condition_2084 (operands, insn))
26524 0 : return -1;
26525 : return 3729; /* *avx512bw_ucmpv32hi3_zero_extendhi_2 */
26526 :
26527 2 : case 69:
26528 2 : if (!insn_condition_2085 (operands, insn))
26529 0 : return -1;
26530 : return 3735; /* *avx512vl_ucmpv8hi3_zero_extendhi_2 */
26531 :
26532 4 : case 70:
26533 4 : if (!insn_condition_2022 (operands, insn))
26534 0 : return -1;
26535 : return 3807; /* *avx512vl_ucmpv8si3_zero_extendhi_2 */
26536 :
26537 4 : case 71:
26538 4 : if (!insn_condition_2023 (operands, insn))
26539 0 : return -1;
26540 : return 3810; /* *avx512vl_ucmpv4si3_zero_extendhi_2 */
26541 :
26542 4 : case 72:
26543 4 : if (!insn_condition_2024 (operands, insn))
26544 0 : return -1;
26545 : return 3813; /* *avx512f_ucmpv8di3_zero_extendhi_2 */
26546 :
26547 4 : case 73:
26548 4 : if (!insn_condition_2025 (operands, insn))
26549 0 : return -1;
26550 : return 3816; /* *avx512vl_ucmpv4di3_zero_extendhi_2 */
26551 :
26552 4 : case 74:
26553 4 : if (!insn_condition_2026 (operands, insn))
26554 0 : return -1;
26555 : return 3819; /* *avx512vl_ucmpv2di3_zero_extendhi_2 */
26556 :
26557 0 : case 75:
26558 0 : if (!insn_condition_2086 (operands, insn))
26559 0 : return -1;
26560 : return 3721; /* *avx512bw_ucmpv64qi3_zero_extendsi_2 */
26561 :
26562 4 : case 76:
26563 4 : if (!insn_condition_2087 (operands, insn))
26564 0 : return -1;
26565 : return 3724; /* *avx512vl_ucmpv16qi3_zero_extendsi_2 */
26566 :
26567 4 : case 77:
26568 4 : if (!insn_condition_2088 (operands, insn))
26569 0 : return -1;
26570 : return 3733; /* *avx512vl_ucmpv16hi3_zero_extendsi_2 */
26571 :
26572 6 : case 78:
26573 6 : if (!insn_condition_2038 (operands, insn))
26574 2 : return -1;
26575 : return 3805; /* *avx512f_ucmpv16si3_zero_extendsi_2 */
26576 :
26577 0 : case 79:
26578 0 : if (!insn_condition_2089 (operands, insn))
26579 0 : return -1;
26580 : return 3727; /* *avx512vl_ucmpv32qi3_zero_extendsi_2 */
26581 :
26582 0 : case 80:
26583 0 : if (!insn_condition_2090 (operands, insn))
26584 0 : return -1;
26585 : return 3730; /* *avx512bw_ucmpv32hi3_zero_extendsi_2 */
26586 :
26587 2 : case 81:
26588 2 : if (!insn_condition_2091 (operands, insn))
26589 0 : return -1;
26590 : return 3736; /* *avx512vl_ucmpv8hi3_zero_extendsi_2 */
26591 :
26592 4 : case 82:
26593 4 : if (!insn_condition_2043 (operands, insn))
26594 0 : return -1;
26595 : return 3808; /* *avx512vl_ucmpv8si3_zero_extendsi_2 */
26596 :
26597 4 : case 83:
26598 4 : if (!insn_condition_2044 (operands, insn))
26599 0 : return -1;
26600 : return 3811; /* *avx512vl_ucmpv4si3_zero_extendsi_2 */
26601 :
26602 4 : case 84:
26603 4 : if (!insn_condition_2045 (operands, insn))
26604 0 : return -1;
26605 : return 3814; /* *avx512f_ucmpv8di3_zero_extendsi_2 */
26606 :
26607 4 : case 85:
26608 4 : if (!insn_condition_2046 (operands, insn))
26609 0 : return -1;
26610 : return 3817; /* *avx512vl_ucmpv4di3_zero_extendsi_2 */
26611 :
26612 4 : case 86:
26613 4 : if (!insn_condition_2047 (operands, insn))
26614 0 : return -1;
26615 : return 3820; /* *avx512vl_ucmpv2di3_zero_extendsi_2 */
26616 :
26617 0 : case 87:
26618 0 : if (!insn_condition_2092 (operands, insn))
26619 0 : return -1;
26620 : return 3722; /* *avx512bw_ucmpv64qi3_zero_extenddi_2 */
26621 :
26622 4 : case 88:
26623 4 : if (!insn_condition_2093 (operands, insn))
26624 0 : return -1;
26625 : return 3725; /* *avx512vl_ucmpv16qi3_zero_extenddi_2 */
26626 :
26627 4 : case 89:
26628 4 : if (!insn_condition_2094 (operands, insn))
26629 0 : return -1;
26630 : return 3734; /* *avx512vl_ucmpv16hi3_zero_extenddi_2 */
26631 :
26632 4 : case 90:
26633 4 : if (!insn_condition_2059 (operands, insn))
26634 0 : return -1;
26635 : return 3806; /* *avx512f_ucmpv16si3_zero_extenddi_2 */
26636 :
26637 4 : case 91:
26638 4 : if (!insn_condition_2095 (operands, insn))
26639 0 : return -1;
26640 : return 3728; /* *avx512vl_ucmpv32qi3_zero_extenddi_2 */
26641 :
26642 4 : case 92:
26643 4 : if (!insn_condition_2096 (operands, insn))
26644 0 : return -1;
26645 : return 3731; /* *avx512bw_ucmpv32hi3_zero_extenddi_2 */
26646 :
26647 2 : case 93:
26648 2 : if (!insn_condition_2097 (operands, insn))
26649 0 : return -1;
26650 : return 3737; /* *avx512vl_ucmpv8hi3_zero_extenddi_2 */
26651 :
26652 4 : case 94:
26653 4 : if (!insn_condition_2064 (operands, insn))
26654 0 : return -1;
26655 : return 3809; /* *avx512vl_ucmpv8si3_zero_extenddi_2 */
26656 :
26657 4 : case 95:
26658 4 : if (!insn_condition_2065 (operands, insn))
26659 0 : return -1;
26660 : return 3812; /* *avx512vl_ucmpv4si3_zero_extenddi_2 */
26661 :
26662 4 : case 96:
26663 4 : if (!insn_condition_2066 (operands, insn))
26664 0 : return -1;
26665 : return 3815; /* *avx512f_ucmpv8di3_zero_extenddi_2 */
26666 :
26667 4 : case 97:
26668 4 : if (!insn_condition_2067 (operands, insn))
26669 0 : return -1;
26670 : return 3818; /* *avx512vl_ucmpv4di3_zero_extenddi_2 */
26671 :
26672 4 : case 98:
26673 4 : if (!insn_condition_2068 (operands, insn))
26674 0 : return -1;
26675 : return 3821; /* *avx512vl_ucmpv2di3_zero_extenddi_2 */
26676 :
26677 : default:
26678 : return -1;
26679 : }
26680 : }
26681 :
26682 : int
26683 24 : recog_383 (rtx x1 ATTRIBUTE_UNUSED,
26684 : rtx_insn *insn ATTRIBUTE_UNUSED,
26685 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26686 : {
26687 24 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26688 24 : rtx x2, x3, x4, x5, x6, x7;
26689 24 : int res ATTRIBUTE_UNUSED;
26690 24 : if (pnum_clobbers == NULL)
26691 : return -1;
26692 24 : x2 = XVECEXP (x1, 0, 0);
26693 24 : x3 = XEXP (x2, 1);
26694 24 : if (GET_MODE (x3) != E_SImode)
26695 : return -1;
26696 0 : x4 = XVECEXP (x1, 0, 1);
26697 0 : if (GET_CODE (x4) != USE)
26698 : return -1;
26699 0 : x5 = XEXP (x2, 0);
26700 0 : operands[0] = x5;
26701 0 : if (!register_operand (operands[0], E_SImode))
26702 : return -1;
26703 0 : x6 = XEXP (x3, 0);
26704 0 : operands[3] = x6;
26705 0 : x7 = XEXP (x4, 0);
26706 0 : operands[4] = x7;
26707 0 : switch (GET_MODE (operands[3]))
26708 : {
26709 0 : case E_SFmode:
26710 0 : if (!nonimmediate_operand (operands[3], E_SFmode)
26711 0 : || !nonimmediate_operand (operands[4], E_V4SFmode)
26712 0 : || !insn_condition_2099 (operands, insn))
26713 : return -1;
26714 0 : *pnum_clobbers = 2;
26715 0 : return 228; /* *fixuns_truncsf_1 */
26716 :
26717 0 : case E_DFmode:
26718 0 : if (!nonimmediate_operand (operands[3], E_DFmode)
26719 0 : || !nonimmediate_operand (operands[4], E_V2DFmode)
26720 0 : || !insn_condition_2099 (operands, insn))
26721 : return -1;
26722 0 : *pnum_clobbers = 2;
26723 0 : return 229; /* *fixuns_truncdf_1 */
26724 :
26725 : default:
26726 : return -1;
26727 : }
26728 : }
26729 :
26730 : int
26731 89035 : recog_385 (rtx x1 ATTRIBUTE_UNUSED,
26732 : rtx_insn *insn ATTRIBUTE_UNUSED,
26733 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26734 : {
26735 89035 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26736 89035 : rtx x2, x3, x4, x5, x6;
26737 89035 : int res ATTRIBUTE_UNUSED;
26738 89035 : x2 = XVECEXP (x1, 0, 0);
26739 89035 : x3 = XEXP (x2, 0);
26740 89035 : operands[0] = x3;
26741 89035 : x4 = XEXP (x2, 1);
26742 89035 : x5 = XEXP (x4, 0);
26743 89035 : operands[1] = x5;
26744 89035 : x6 = XVECEXP (x1, 0, 1);
26745 89035 : switch (GET_CODE (x6))
26746 : {
26747 3 : case CLOBBER:
26748 3 : if (pnum_clobbers == NULL
26749 3 : || !register_operand (operands[1], E_DImode))
26750 : return -1;
26751 0 : switch (pattern977 (x1))
26752 : {
26753 0 : case 0:
26754 0 : if (!insn_condition_2100 (operands, insn))
26755 : return -1;
26756 0 : *pnum_clobbers = 2;
26757 0 : return 259; /* floatdisf2_i387_with_xmm */
26758 :
26759 0 : case 1:
26760 0 : if (!insn_condition_2101 (operands, insn))
26761 : return -1;
26762 0 : *pnum_clobbers = 2;
26763 0 : return 260; /* floatdidf2_i387_with_xmm */
26764 :
26765 0 : case 2:
26766 0 : if (!insn_condition_2102 (operands, insn))
26767 : return -1;
26768 0 : *pnum_clobbers = 2;
26769 0 : return 261; /* floatdixf2_i387_with_xmm */
26770 :
26771 : default:
26772 : return -1;
26773 : }
26774 :
26775 66 : case UNSPEC:
26776 66 : if (pattern723 (x1,
26777 : E_V2SImode,
26778 : E_V2SFmode) != 0
26779 66 : || !insn_condition_113 (operands, insn))
26780 0 : return -1;
26781 : return 2241; /* mmx_floatv2siv2sf2 */
26782 :
26783 : default:
26784 : return -1;
26785 : }
26786 : }
26787 :
26788 : int
26789 70 : recog_386 (rtx x1 ATTRIBUTE_UNUSED,
26790 : rtx_insn *insn ATTRIBUTE_UNUSED,
26791 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26792 : {
26793 70 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26794 70 : rtx x2, x3, x4, x5, x6;
26795 70 : int res ATTRIBUTE_UNUSED;
26796 70 : if (pnum_clobbers == NULL)
26797 : return -1;
26798 69 : x2 = XVECEXP (x1, 0, 1);
26799 69 : if (GET_CODE (x2) != CLOBBER)
26800 : return -1;
26801 49 : x3 = XVECEXP (x1, 0, 0);
26802 49 : x4 = XEXP (x3, 0);
26803 49 : operands[0] = x4;
26804 49 : x5 = XEXP (x3, 1);
26805 49 : x6 = XEXP (x5, 0);
26806 49 : operands[1] = x6;
26807 49 : if (!nonimmediate_operand (operands[1], E_SImode))
26808 : return -1;
26809 27 : switch (pattern977 (x1))
26810 : {
26811 0 : case 0:
26812 0 : if (!insn_condition_2103 (operands, insn))
26813 : return -1;
26814 0 : *pnum_clobbers = 1;
26815 0 : return 266; /* floatunssisf2_i387_with_xmm */
26816 :
26817 16 : case 1:
26818 16 : if (!insn_condition_2104 (operands, insn))
26819 : return -1;
26820 16 : *pnum_clobbers = 1;
26821 16 : return 267; /* floatunssidf2_i387_with_xmm */
26822 :
26823 11 : case 2:
26824 11 : if (!insn_condition_2105 (operands, insn))
26825 : return -1;
26826 11 : *pnum_clobbers = 1;
26827 11 : return 268; /* floatunssixf2_i387_with_xmm */
26828 :
26829 : default:
26830 : return -1;
26831 : }
26832 : }
26833 :
26834 : int
26835 69559088 : recog_389 (rtx x1 ATTRIBUTE_UNUSED,
26836 : rtx_insn *insn ATTRIBUTE_UNUSED,
26837 : int *pnum_clobbers ATTRIBUTE_UNUSED)
26838 : {
26839 69559088 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
26840 69559088 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
26841 69559088 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
26842 69559088 : rtx x18, x19;
26843 69559088 : int res ATTRIBUTE_UNUSED;
26844 69559088 : x2 = XVECEXP (x1, 0, 0);
26845 69559088 : x3 = XEXP (x2, 1);
26846 69559088 : x4 = XEXP (x3, 0);
26847 69559088 : switch (GET_CODE (x4))
26848 : {
26849 64140575 : case REG:
26850 64140575 : case SUBREG:
26851 64140575 : case MEM:
26852 64140575 : operands[1] = x4;
26853 64140575 : res = recog_387 (x1, insn, pnum_clobbers);
26854 64140575 : if (res >= 0)
26855 : return res;
26856 2110325 : if (GET_CODE (x4) != SUBREG
26857 76417 : || maybe_ne (SUBREG_BYTE (x4), 0)
26858 2161109 : || GET_MODE (x4) != E_QImode)
26859 : return -1;
26860 16125 : x5 = XEXP (x4, 0);
26861 16125 : switch (GET_CODE (x5))
26862 : {
26863 3511 : case ASHIFTRT:
26864 3511 : case LSHIFTRT:
26865 3511 : case SIGN_EXTRACT:
26866 3511 : case ZERO_EXTRACT:
26867 3511 : operands[3] = x5;
26868 3511 : x6 = XVECEXP (x1, 0, 1);
26869 3511 : if (GET_CODE (x6) != CLOBBER
26870 3511 : || pattern593 (x1) != 0)
26871 : return -1;
26872 2741 : x7 = XEXP (x5, 0);
26873 2741 : operands[2] = x7;
26874 2741 : switch (pattern1568 (x2))
26875 : {
26876 2 : case 0:
26877 2 : if (insn_condition_194 (operands, insn))
26878 : return 308; /* *addqi_exthi_1_slp */
26879 : break;
26880 :
26881 9 : case 1:
26882 9 : if (insn_condition_194 (operands, insn))
26883 : return 309; /* *addqi_extsi_1_slp */
26884 : break;
26885 :
26886 2 : case 2:
26887 2 : if (insn_condition_195 (operands, insn))
26888 : return 310; /* *addqi_extdi_1_slp */
26889 : break;
26890 :
26891 : case 3:
26892 : return 332; /* *addqi_exthi_0 */
26893 :
26894 91 : case 4:
26895 91 : return 333; /* *addqi_extsi_0 */
26896 :
26897 18 : case 5:
26898 18 : if (insn_condition_52 (operands, insn))
26899 : return 334; /* *addqi_extdi_0 */
26900 : break;
26901 :
26902 : default:
26903 : break;
26904 : }
26905 2516 : x8 = XEXP (x3, 1);
26906 2516 : if (GET_CODE (x8) != SUBREG)
26907 : return -1;
26908 1532 : switch (pattern1572 (x2))
26909 : {
26910 1 : case 0:
26911 1 : if (!insn_condition_194 (operands, insn))
26912 : return -1;
26913 : return 311; /* *addqi_exthi_2_slp */
26914 :
26915 7 : case 1:
26916 7 : if (!insn_condition_194 (operands, insn))
26917 : return -1;
26918 : return 312; /* *addqi_extsi_2_slp */
26919 :
26920 1 : case 2:
26921 1 : if (!insn_condition_195 (operands, insn))
26922 : return -1;
26923 : return 313; /* *addqi_extdi_2_slp */
26924 :
26925 : case 3:
26926 : return 335; /* *addqi_ext2hi_0 */
26927 :
26928 34 : case 4:
26929 34 : return 336; /* *addqi_ext2si_0 */
26930 :
26931 5 : case 5:
26932 5 : if (!insn_condition_52 (operands, insn))
26933 : return -1;
26934 : return 337; /* *addqi_ext2di_0 */
26935 :
26936 : default:
26937 : return -1;
26938 : }
26939 :
26940 : default:
26941 : return -1;
26942 : }
26943 :
26944 307397 : case ZERO_EXTEND:
26945 307397 : x6 = XVECEXP (x1, 0, 1);
26946 307397 : if (pattern384 (x6) != 0)
26947 : return -1;
26948 256786 : switch (pattern979 (x2))
26949 : {
26950 155441 : case 0:
26951 155441 : if (!insn_condition_592 (operands, insn))
26952 : return -1;
26953 : return 273; /* *adddi3_doubleword_zext */
26954 :
26955 1606 : case 1:
26956 1606 : if (!insn_condition_448 (operands, insn))
26957 : return -1;
26958 : return 274; /* *addti3_doubleword_zext */
26959 :
26960 : default:
26961 : return -1;
26962 : }
26963 :
26964 1743204 : case PLUS:
26965 1743204 : if (pattern373 (x1) != 0)
26966 : return -1;
26967 1054331 : x5 = XEXP (x4, 0);
26968 1054331 : switch (GET_CODE (x5))
26969 : {
26970 48184 : case ASHIFT:
26971 48184 : switch (pattern1196 (x3))
26972 : {
26973 3 : case 0:
26974 3 : if (!insn_condition_593 (operands, insn))
26975 : return -1;
26976 : return 275; /* *adddi3_doubleword_concat */
26977 :
26978 16 : case 1:
26979 16 : if (!insn_condition_240 (operands, insn))
26980 : return -1;
26981 : return 278; /* *addti3_doubleword_concat */
26982 :
26983 0 : case 2:
26984 0 : if (!insn_condition_593 (operands, insn))
26985 : return -1;
26986 : return 281; /* *adddi3_doubleword_concat_zext */
26987 :
26988 0 : case 3:
26989 0 : if (!insn_condition_240 (operands, insn))
26990 : return -1;
26991 : return 284; /* *addti3_doubleword_concat_zext */
26992 :
26993 : default:
26994 : return -1;
26995 : }
26996 :
26997 50424 : case LTU:
26998 50424 : case UNLT:
26999 50424 : operands[4] = x5;
27000 50424 : x9 = XEXP (x5, 1);
27001 50424 : if (x9 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27002 : return -1;
27003 49849 : x7 = XEXP (x5, 0);
27004 49849 : operands[3] = x7;
27005 49849 : if (!flags_reg_operand (operands[3], E_VOIDmode))
27006 : return -1;
27007 49845 : x10 = XEXP (x4, 1);
27008 49845 : operands[1] = x10;
27009 49845 : x8 = XEXP (x3, 1);
27010 49845 : operands[2] = x8;
27011 49845 : switch (GET_MODE (operands[0]))
27012 : {
27013 35 : case E_QImode:
27014 35 : if (pattern1680 (x3,
27015 : E_QImode) != 0
27016 35 : || !insn_condition_449 (operands, insn))
27017 : return -1;
27018 : return 458; /* addqi3_carry */
27019 :
27020 9 : case E_HImode:
27021 9 : if (pattern1680 (x3,
27022 : E_HImode) != 0
27023 9 : || !insn_condition_450 (operands, insn))
27024 : return -1;
27025 : return 459; /* addhi3_carry */
27026 :
27027 26934 : case E_SImode:
27028 26934 : if (pattern1681 (x3,
27029 : E_SImode) != 0
27030 26934 : || !insn_condition_595 (operands, insn))
27031 : return -1;
27032 : return 460; /* addsi3_carry */
27033 :
27034 22867 : case E_DImode:
27035 22867 : if (pattern1681 (x3,
27036 : E_DImode) != 0
27037 22867 : || !insn_condition_596 (operands, insn))
27038 : return -1;
27039 : return 461; /* adddi3_carry */
27040 :
27041 : default:
27042 : return -1;
27043 : }
27044 :
27045 220 : case EQ:
27046 220 : switch (pattern1199 (x3))
27047 : {
27048 3 : case 0:
27049 3 : if (!insn_condition_451 (operands, insn))
27050 : return -1;
27051 : return 583; /* *addqi3_eq */
27052 :
27053 0 : case 1:
27054 0 : if (!insn_condition_452 (operands, insn))
27055 : return -1;
27056 : return 584; /* *addhi3_eq */
27057 :
27058 110 : case 2:
27059 110 : if (!insn_condition_597 (operands, insn))
27060 : return -1;
27061 : return 585; /* *addsi3_eq */
27062 :
27063 11 : case 3:
27064 11 : if (!insn_condition_598 (operands, insn))
27065 : return -1;
27066 : return 586; /* *adddi3_eq */
27067 :
27068 : default:
27069 : return -1;
27070 : }
27071 :
27072 1375 : case NE:
27073 1375 : switch (pattern1202 (x3))
27074 : {
27075 0 : case 0:
27076 0 : if (!insn_condition_453 (operands, insn))
27077 : return -1;
27078 : return 587; /* *addqi3_ne */
27079 :
27080 0 : case 1:
27081 0 : if (!insn_condition_454 (operands, insn))
27082 : return -1;
27083 : return 588; /* *addhi3_ne */
27084 :
27085 41 : case 2:
27086 41 : if (!insn_condition_599 (operands, insn))
27087 : return -1;
27088 : return 589; /* *addsi3_ne */
27089 :
27090 25 : case 3:
27091 25 : if (!insn_condition_600 (operands, insn))
27092 : return -1;
27093 : return 590; /* *adddi3_ne */
27094 :
27095 : default:
27096 : return -1;
27097 : }
27098 :
27099 : default:
27100 : return -1;
27101 : }
27102 :
27103 18883 : case IOR:
27104 18883 : switch (pattern388 (x1))
27105 : {
27106 0 : case 0:
27107 0 : if (!insn_condition_593 (operands, insn))
27108 : return -1;
27109 : return 276; /* *adddi3_doubleword_concat */
27110 :
27111 2955 : case 1:
27112 2955 : if (!insn_condition_240 (operands, insn))
27113 : return -1;
27114 : return 279; /* *addti3_doubleword_concat */
27115 :
27116 0 : case 2:
27117 0 : if (!insn_condition_593 (operands, insn))
27118 : return -1;
27119 : return 282; /* *adddi3_doubleword_concat_zext */
27120 :
27121 28 : case 3:
27122 28 : if (!insn_condition_240 (operands, insn))
27123 : return -1;
27124 : return 285; /* *addti3_doubleword_concat_zext */
27125 :
27126 : default:
27127 : return -1;
27128 : }
27129 :
27130 11367 : case XOR:
27131 11367 : switch (pattern388 (x1))
27132 : {
27133 0 : case 0:
27134 0 : if (!insn_condition_593 (operands, insn))
27135 : return -1;
27136 : return 277; /* *adddi3_doubleword_concat */
27137 :
27138 0 : case 1:
27139 0 : if (!insn_condition_240 (operands, insn))
27140 : return -1;
27141 : return 280; /* *addti3_doubleword_concat */
27142 :
27143 0 : case 2:
27144 0 : if (!insn_condition_593 (operands, insn))
27145 : return -1;
27146 : return 283; /* *adddi3_doubleword_concat_zext */
27147 :
27148 0 : case 3:
27149 0 : if (!insn_condition_240 (operands, insn))
27150 : return -1;
27151 : return 286; /* *addti3_doubleword_concat_zext */
27152 :
27153 : default:
27154 : return -1;
27155 : }
27156 :
27157 8545 : case LTU:
27158 8545 : case UNLT:
27159 8545 : switch (pattern389 (x1))
27160 : {
27161 71 : case 0:
27162 71 : if (pattern1573 (x3,
27163 : E_QImode) != 0
27164 71 : || !insn_condition_456 (operands, insn))
27165 : return -1;
27166 : return 466; /* *addqi3_carry_0 */
27167 :
27168 28 : case 1:
27169 28 : if (pattern1573 (x3,
27170 : E_HImode) != 0
27171 28 : || !insn_condition_456 (operands, insn))
27172 : return -1;
27173 : return 467; /* *addhi3_carry_0 */
27174 :
27175 2615 : case 2:
27176 2615 : if (pattern1573 (x3,
27177 : E_SImode) != 0
27178 2615 : || !insn_condition_456 (operands, insn))
27179 : return -1;
27180 : return 468; /* *addsi3_carry_0 */
27181 :
27182 1042 : case 3:
27183 1042 : if (pattern1573 (x3,
27184 : E_DImode) != 0
27185 1042 : || !insn_condition_601 (operands, insn))
27186 : return -1;
27187 : return 469; /* *adddi3_carry_0 */
27188 :
27189 : default:
27190 : return -1;
27191 : }
27192 :
27193 1516 : case GE:
27194 1516 : case GEU:
27195 1516 : switch (pattern389 (x1))
27196 : {
27197 61 : case 0:
27198 61 : if (pattern1574 (x3,
27199 : E_QImode) != 0
27200 61 : || !insn_condition_456 (operands, insn))
27201 : return -1;
27202 : return 474; /* *addqi3_carry_0r */
27203 :
27204 8 : case 1:
27205 8 : if (pattern1574 (x3,
27206 : E_HImode) != 0
27207 8 : || !insn_condition_456 (operands, insn))
27208 : return -1;
27209 : return 475; /* *addhi3_carry_0r */
27210 :
27211 539 : case 2:
27212 539 : if (pattern1574 (x3,
27213 : E_SImode) != 0
27214 539 : || !insn_condition_456 (operands, insn))
27215 : return -1;
27216 : return 476; /* *addsi3_carry_0r */
27217 :
27218 186 : case 3:
27219 186 : if (pattern1574 (x3,
27220 : E_DImode) != 0
27221 186 : || !insn_condition_601 (operands, insn))
27222 : return -1;
27223 : return 477; /* *adddi3_carry_0r */
27224 :
27225 : default:
27226 : return -1;
27227 : }
27228 :
27229 15920 : case EQ:
27230 15920 : switch (pattern393 (x1))
27231 : {
27232 24 : case 0:
27233 24 : if (!insn_condition_457 (operands, insn))
27234 : return -1;
27235 : return 591; /* *addqi3_eq_0 */
27236 :
27237 14 : case 1:
27238 14 : if (!insn_condition_458 (operands, insn))
27239 : return -1;
27240 : return 592; /* *addhi3_eq_0 */
27241 :
27242 785 : case 2:
27243 785 : if (!insn_condition_602 (operands, insn))
27244 : return -1;
27245 : return 593; /* *addsi3_eq_0 */
27246 :
27247 221 : case 3:
27248 221 : if (!insn_condition_603 (operands, insn))
27249 : return -1;
27250 : return 594; /* *adddi3_eq_0 */
27251 :
27252 : default:
27253 : return -1;
27254 : }
27255 :
27256 20783 : case NE:
27257 20783 : switch (pattern393 (x1))
27258 : {
27259 20 : case 0:
27260 20 : if (!insn_condition_457 (operands, insn))
27261 : return -1;
27262 : return 595; /* *addqi3_ne_0 */
27263 :
27264 6 : case 1:
27265 6 : if (!insn_condition_458 (operands, insn))
27266 : return -1;
27267 : return 596; /* *addhi3_ne_0 */
27268 :
27269 1064 : case 2:
27270 1064 : if (!insn_condition_602 (operands, insn))
27271 : return -1;
27272 : return 597; /* *addsi3_ne_0 */
27273 :
27274 1382 : case 3:
27275 1382 : if (!insn_condition_603 (operands, insn))
27276 : return -1;
27277 : return 598; /* *adddi3_ne_0 */
27278 :
27279 : default:
27280 : return -1;
27281 : }
27282 :
27283 399161 : case MINUS:
27284 399161 : x6 = XVECEXP (x1, 0, 1);
27285 399161 : if (pattern384 (x6) != 0)
27286 : return -1;
27287 341076 : switch (pattern983 (x2))
27288 : {
27289 0 : case 0:
27290 0 : if (!insn_condition_459 (operands, insn))
27291 : return -1;
27292 : return 603; /* *subqi3_ne */
27293 :
27294 0 : case 1:
27295 0 : if (!insn_condition_460 (operands, insn))
27296 : return -1;
27297 : return 604; /* *subhi3_ne */
27298 :
27299 50 : case 2:
27300 50 : if (!insn_condition_604 (operands, insn))
27301 : return -1;
27302 : return 605; /* *subsi3_ne */
27303 :
27304 0 : case 3:
27305 0 : if (!insn_condition_605 (operands, insn))
27306 : return -1;
27307 : return 606; /* *subdi3_ne */
27308 :
27309 0 : case 4:
27310 0 : if (!insn_condition_459 (operands, insn))
27311 : return -1;
27312 : return 607; /* *subqi3_eq_1 */
27313 :
27314 0 : case 5:
27315 0 : if (!insn_condition_460 (operands, insn))
27316 : return -1;
27317 : return 608; /* *subhi3_eq_1 */
27318 :
27319 84 : case 6:
27320 84 : if (!insn_condition_604 (operands, insn))
27321 : return -1;
27322 : return 609; /* *subsi3_eq_1 */
27323 :
27324 2 : case 7:
27325 2 : if (!insn_condition_605 (operands, insn))
27326 : return -1;
27327 : return 610; /* *subdi3_eq_1 */
27328 :
27329 : default:
27330 : return -1;
27331 : }
27332 :
27333 1092148 : case ASHIFT:
27334 1092148 : if (pattern373 (x1) != 0)
27335 : return -1;
27336 920073 : switch (pattern1090 (x3))
27337 : {
27338 0 : case 0:
27339 0 : x8 = XEXP (x3, 1);
27340 0 : x11 = XEXP (x8, 0);
27341 0 : x12 = XEXP (x11, 0);
27342 0 : x13 = XEXP (x12, 0);
27343 0 : operands[1] = x13;
27344 0 : if (nonimmediate_operand (operands[0], E_DImode))
27345 : {
27346 0 : x10 = XEXP (x4, 1);
27347 0 : x14 = XEXP (x10, 0);
27348 0 : operands[2] = x14;
27349 0 : x5 = XEXP (x4, 0);
27350 0 : if (rtx_equal_p (x5, operands[0]))
27351 : {
27352 0 : x15 = XEXP (x11, 1);
27353 0 : x16 = XEXP (x15, 1);
27354 0 : x17 = XEXP (x16, 0);
27355 0 : if (rtx_equal_p (x17, operands[2])
27356 0 : && insn_condition_563 (operands, insn))
27357 : return 1099; /* *x86_64_shld */
27358 : }
27359 : }
27360 0 : operands[2] = x13;
27361 0 : if (!register_operand (operands[0], E_DImode))
27362 : return -1;
27363 0 : x5 = XEXP (x4, 0);
27364 0 : operands[1] = x5;
27365 0 : if (!nonimmediate_operand (operands[1], E_DImode))
27366 : return -1;
27367 0 : x10 = XEXP (x4, 1);
27368 0 : x14 = XEXP (x10, 0);
27369 0 : operands[3] = x14;
27370 0 : x15 = XEXP (x11, 1);
27371 0 : x16 = XEXP (x15, 1);
27372 0 : x17 = XEXP (x16, 0);
27373 0 : if (!rtx_equal_p (x17, operands[3])
27374 0 : || !insn_condition_298 (operands, insn))
27375 : return -1;
27376 : return 1105; /* *x86_64_shld_ndd */
27377 :
27378 0 : case 1:
27379 0 : x8 = XEXP (x3, 1);
27380 0 : x11 = XEXP (x8, 0);
27381 0 : x12 = XEXP (x11, 0);
27382 0 : x13 = XEXP (x12, 0);
27383 0 : operands[1] = x13;
27384 0 : x10 = XEXP (x4, 1);
27385 0 : x14 = XEXP (x10, 0);
27386 0 : operands[2] = x14;
27387 0 : x5 = XEXP (x4, 0);
27388 0 : if (rtx_equal_p (x5, operands[0]))
27389 : {
27390 0 : x15 = XEXP (x11, 1);
27391 0 : x16 = XEXP (x15, 1);
27392 0 : x17 = XEXP (x16, 0);
27393 0 : if (rtx_equal_p (x17, operands[2]))
27394 : return 1135; /* *x86_shld */
27395 : }
27396 0 : operands[2] = x13;
27397 0 : operands[1] = x5;
27398 0 : if (!nonimmediate_operand (operands[1], E_SImode))
27399 : return -1;
27400 0 : operands[3] = x14;
27401 0 : x15 = XEXP (x11, 1);
27402 0 : x16 = XEXP (x15, 1);
27403 0 : x17 = XEXP (x16, 0);
27404 0 : if (!rtx_equal_p (x17, operands[3])
27405 0 : || !insn_condition_298 (operands, insn))
27406 : return -1;
27407 : return 1141; /* *x86_shld_ndd */
27408 :
27409 0 : case 2:
27410 0 : x10 = XEXP (x4, 1);
27411 0 : operands[2] = x10;
27412 0 : if (pattern1741 (x3) == 0
27413 0 : && insn_condition_565 (operands, insn))
27414 : return 1111; /* *x86_64_shld_1 */
27415 0 : operands[3] = x10;
27416 0 : if (pattern1742 (x3) != 0
27417 0 : || !insn_condition_567 (operands, insn))
27418 : return -1;
27419 : return 1117; /* *x86_64_shld_ndd_1 */
27420 :
27421 0 : case 3:
27422 0 : x10 = XEXP (x4, 1);
27423 0 : operands[2] = x10;
27424 0 : if (pattern1743 (x3) == 0
27425 0 : && insn_condition_575 (operands, insn))
27426 : return 1147; /* *x86_shld_1 */
27427 0 : operands[3] = x10;
27428 0 : if (pattern1744 (x3) != 0
27429 0 : || !insn_condition_577 (operands, insn))
27430 : return -1;
27431 : return 1153; /* *x86_shld_ndd_1 */
27432 :
27433 884 : case 4:
27434 884 : if (!insn_condition_579 (operands, insn))
27435 : return -1;
27436 : return 1125; /* *x86_64_shld_shrd_1_nozext */
27437 :
27438 87 : case 5:
27439 87 : if (!insn_condition_581 (operands, insn))
27440 : return -1;
27441 : return 1161; /* *x86_shld_shrd_1_nozext */
27442 :
27443 3 : case 6:
27444 3 : x8 = XEXP (x3, 1);
27445 3 : x11 = XEXP (x8, 0);
27446 3 : operands[1] = x11;
27447 3 : if (nonimmediate_operand (operands[0], E_DImode))
27448 : {
27449 3 : x10 = XEXP (x4, 1);
27450 3 : operands[2] = x10;
27451 3 : x5 = XEXP (x4, 0);
27452 3 : if (rtx_equal_p (x5, operands[0]))
27453 : {
27454 0 : x18 = XEXP (x8, 1);
27455 0 : x19 = XEXP (x18, 1);
27456 0 : if (rtx_equal_p (x19, operands[2])
27457 0 : && insn_condition_582 (operands, insn))
27458 : return 1128; /* *x86_64_shld_2 */
27459 : }
27460 : }
27461 3 : operands[2] = x11;
27462 3 : if (!register_operand (operands[0], E_DImode))
27463 : return -1;
27464 3 : x5 = XEXP (x4, 0);
27465 3 : operands[1] = x5;
27466 3 : if (!nonimmediate_operand (operands[1], E_DImode))
27467 : return -1;
27468 3 : x10 = XEXP (x4, 1);
27469 3 : operands[3] = x10;
27470 3 : x18 = XEXP (x8, 1);
27471 3 : x19 = XEXP (x18, 1);
27472 3 : if (!rtx_equal_p (x19, operands[3])
27473 3 : || !insn_condition_583 (operands, insn))
27474 : return -1;
27475 : return 1131; /* *x86_64_shld_ndd_2 */
27476 :
27477 0 : case 7:
27478 0 : x8 = XEXP (x3, 1);
27479 0 : x11 = XEXP (x8, 0);
27480 0 : operands[1] = x11;
27481 0 : if (nonimmediate_operand (operands[0], E_SImode))
27482 : {
27483 0 : x10 = XEXP (x4, 1);
27484 0 : operands[2] = x10;
27485 0 : x5 = XEXP (x4, 0);
27486 0 : if (rtx_equal_p (x5, operands[0]))
27487 : {
27488 0 : x18 = XEXP (x8, 1);
27489 0 : x19 = XEXP (x18, 1);
27490 0 : if (rtx_equal_p (x19, operands[2])
27491 0 : && insn_condition_582 (operands, insn))
27492 : return 1164; /* *x86_shld_2 */
27493 : }
27494 : }
27495 0 : operands[2] = x11;
27496 0 : if (!register_operand (operands[0], E_SImode))
27497 : return -1;
27498 0 : x5 = XEXP (x4, 0);
27499 0 : operands[1] = x5;
27500 0 : if (!nonimmediate_operand (operands[1], E_SImode))
27501 : return -1;
27502 0 : x10 = XEXP (x4, 1);
27503 0 : operands[3] = x10;
27504 0 : x18 = XEXP (x8, 1);
27505 0 : x19 = XEXP (x18, 1);
27506 0 : if (!rtx_equal_p (x19, operands[3])
27507 0 : || !insn_condition_583 (operands, insn))
27508 : return -1;
27509 : return 1167; /* *x86_shld_ndd_2 */
27510 :
27511 : default:
27512 : return -1;
27513 : }
27514 :
27515 257390 : case LSHIFTRT:
27516 257390 : return recog_388 (x1, insn, pnum_clobbers);
27517 :
27518 10859 : case UNSPEC:
27519 10859 : x6 = XVECEXP (x1, 0, 1);
27520 10859 : if (pattern384 (x6) != 0)
27521 : return -1;
27522 6535 : switch (pattern987 (x2))
27523 : {
27524 104 : case 0:
27525 104 : if (!insn_condition_609 (operands, insn))
27526 : return -1;
27527 : return 1800; /* *add_tp_si */
27528 :
27529 2912 : case 1:
27530 2912 : if (!insn_condition_610 (operands, insn))
27531 : return -1;
27532 : return 1801; /* *add_tp_di */
27533 :
27534 0 : case 2:
27535 0 : if (!insn_condition_591 (operands, insn))
27536 : return -1;
27537 : return 1805; /* *tls_dynamic_gnu2_combine_32 */
27538 :
27539 7 : case 3:
27540 7 : if (!insn_condition_607 (operands, insn))
27541 : return -1;
27542 : return 1810; /* *tls_dynamic_gnu2_combine_64_si */
27543 :
27544 48 : case 4:
27545 7200319 : if (!insn_condition_608 (operands, insn))
27546 : return -1;
27547 : return 1811; /* *tls_dynamic_gnu2_combine_64_di */
27548 :
27549 : default:
27550 : return -1;
27551 : }
27552 :
27553 : default:
27554 : return -1;
27555 : }
27556 : }
27557 :
27558 : int
27559 6297241 : recog_405 (rtx x1 ATTRIBUTE_UNUSED,
27560 : rtx_insn *insn ATTRIBUTE_UNUSED,
27561 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27562 : {
27563 6297241 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27564 6297241 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27565 6297241 : rtx x10, x11, x12;
27566 6297241 : int res ATTRIBUTE_UNUSED;
27567 6297241 : x2 = XVECEXP (x1, 0, 0);
27568 6297241 : x3 = XEXP (x2, 1);
27569 6297241 : x4 = XEXP (x3, 0);
27570 6297241 : switch (GET_CODE (x4))
27571 : {
27572 5936757 : case CONST_INT:
27573 5936757 : case CONST_WIDE_INT:
27574 5936757 : case CONST_POLY_INT:
27575 5936757 : case CONST_FIXED:
27576 5936757 : case CONST_DOUBLE:
27577 5936757 : case CONST_VECTOR:
27578 5936757 : case CONST:
27579 5936757 : case REG:
27580 5936757 : case SUBREG:
27581 5936757 : case MEM:
27582 5936757 : case LABEL_REF:
27583 5936757 : case SYMBOL_REF:
27584 5936757 : case HIGH:
27585 5936757 : operands[1] = x4;
27586 5936757 : res = recog_404 (x1, insn, pnum_clobbers);
27587 5936757 : if (res >= 0)
27588 : return res;
27589 1331062 : switch (GET_CODE (x4))
27590 : {
27591 40189 : case SUBREG:
27592 40189 : if (pattern582 (x3) != 0)
27593 : return -1;
27594 273 : x5 = XVECEXP (x1, 0, 1);
27595 273 : if (pattern286 (x5,
27596 : E_CCmode,
27597 : 17) != 0
27598 273 : || GET_MODE (x3) != E_QImode)
27599 : return -1;
27600 35 : switch (pattern1571 (x2))
27601 : {
27602 1 : case 0:
27603 1 : if (!insn_condition_194 (operands, insn))
27604 : return -1;
27605 : return 413; /* *subqi_exthi_2_slp */
27606 :
27607 1 : case 1:
27608 1 : if (!insn_condition_194 (operands, insn))
27609 : return -1;
27610 : return 414; /* *subqi_extsi_2_slp */
27611 :
27612 1 : case 2:
27613 1 : if (!insn_condition_195 (operands, insn))
27614 : return -1;
27615 : return 415; /* *subqi_extdi_2_slp */
27616 :
27617 : case 3:
27618 : return 424; /* *subqi_ext2hi_0 */
27619 :
27620 7 : case 4:
27621 7 : return 425; /* *subqi_ext2si_0 */
27622 :
27623 5 : case 5:
27624 5 : if (!insn_condition_52 (operands, insn))
27625 : return -1;
27626 : return 426; /* *subqi_ext2di_0 */
27627 :
27628 : default:
27629 : return -1;
27630 : }
27631 :
27632 528319 : case CONST_INT:
27633 528319 : x6 = XEXP (x3, 1);
27634 528319 : if (GET_CODE (x6) != CLZ)
27635 : return -1;
27636 1476 : x7 = XEXP (x2, 0);
27637 1476 : operands[0] = x7;
27638 1476 : x8 = XEXP (x6, 0);
27639 1476 : operands[1] = x8;
27640 1476 : switch (XWINT (x4, 0))
27641 : {
27642 855 : case 63L:
27643 855 : switch (pattern1091 (x1, pnum_clobbers,
27644 : E_DImode))
27645 : {
27646 765 : case 0:
27647 765 : if (!insn_condition_699 (operands, insn))
27648 : return -1;
27649 : return 1656; /* bsr_rex64_1 */
27650 :
27651 0 : case 1:
27652 1678575 : if (!insn_condition_699 (operands, insn))
27653 : return -1;
27654 0 : *pnum_clobbers = 1;
27655 0 : return 1657; /* *bsr_rex64_1_falsedep */
27656 :
27657 : default:
27658 : return -1;
27659 : }
27660 :
27661 617 : case 31L:
27662 617 : switch (pattern1091 (x1, pnum_clobbers,
27663 : E_SImode))
27664 : {
27665 241 : case 0:
27666 241 : if (!insn_condition_774 (operands, insn))
27667 : return -1;
27668 : return 1662; /* bsr_1 */
27669 :
27670 0 : case 1:
27671 0 : if (!insn_condition_774 (operands, insn))
27672 : return -1;
27673 0 : *pnum_clobbers = 1;
27674 0 : return 1663; /* *bsr_1_falsedep */
27675 :
27676 : default:
27677 : return -1;
27678 : }
27679 :
27680 : default:
27681 : return -1;
27682 : }
27683 :
27684 : default:
27685 : return -1;
27686 : }
27687 :
27688 57256 : case MINUS:
27689 57256 : x5 = XVECEXP (x1, 0, 1);
27690 57256 : if (pattern401 (x5) != 0)
27691 : return -1;
27692 48222 : x7 = XEXP (x2, 0);
27693 48222 : operands[0] = x7;
27694 48222 : x9 = XEXP (x4, 0);
27695 48222 : operands[1] = x9;
27696 48222 : x6 = XEXP (x3, 1);
27697 48222 : operands[2] = x6;
27698 48222 : x10 = XEXP (x4, 1);
27699 48222 : switch (GET_CODE (x10))
27700 : {
27701 12068 : case LTU:
27702 12068 : case UNLT:
27703 12068 : operands[4] = x10;
27704 12068 : x11 = XEXP (x10, 1);
27705 12068 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27706 : return -1;
27707 12009 : x12 = XEXP (x10, 0);
27708 12009 : operands[3] = x12;
27709 12009 : if (!flags_reg_operand (operands[3], E_VOIDmode))
27710 : return -1;
27711 12009 : switch (GET_MODE (operands[0]))
27712 : {
27713 204 : case E_QImode:
27714 204 : if (pattern1683 (x3,
27715 : E_QImode) != 0
27716 204 : || !insn_condition_474 (operands, insn))
27717 : return -1;
27718 : return 504; /* subqi3_carry */
27719 :
27720 12 : case E_HImode:
27721 12 : if (pattern1683 (x3,
27722 : E_HImode) != 0
27723 12 : || !insn_condition_475 (operands, insn))
27724 : return -1;
27725 : return 505; /* subhi3_carry */
27726 :
27727 3216 : case E_SImode:
27728 3216 : if (pattern1684 (x3,
27729 : E_SImode) != 0
27730 3216 : || !insn_condition_775 (operands, insn))
27731 : return -1;
27732 : return 506; /* subsi3_carry */
27733 :
27734 8577 : case E_DImode:
27735 8577 : if (pattern1684 (x3,
27736 : E_DImode) != 0
27737 8577 : || !insn_condition_463 (operands, insn))
27738 : return -1;
27739 : return 507; /* subdi3_carry */
27740 :
27741 : default:
27742 : return -1;
27743 : }
27744 :
27745 70 : case EQ:
27746 70 : x11 = XEXP (x10, 1);
27747 70 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
27748 : return -1;
27749 70 : x12 = XEXP (x10, 0);
27750 70 : operands[3] = x12;
27751 70 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
27752 : return -1;
27753 33 : switch (GET_MODE (operands[0]))
27754 : {
27755 0 : case E_QImode:
27756 0 : if (pattern1615 (x3,
27757 : E_QImode) != 0
27758 0 : || !insn_condition_476 (operands, insn))
27759 : return -1;
27760 : return 599; /* *subqi3_eq */
27761 :
27762 0 : case E_HImode:
27763 0 : if (pattern1615 (x3,
27764 : E_HImode) != 0
27765 0 : || !insn_condition_477 (operands, insn))
27766 : return -1;
27767 : return 600; /* *subhi3_eq */
27768 :
27769 26 : case E_SImode:
27770 26 : if (pattern1616 (x3,
27771 : E_SImode) != 0
27772 26 : || !insn_condition_776 (operands, insn))
27773 : return -1;
27774 : return 601; /* *subsi3_eq */
27775 :
27776 7 : case E_DImode:
27777 7 : if (pattern1616 (x3,
27778 : E_DImode) != 0
27779 7 : || !insn_condition_777 (operands, insn))
27780 : return -1;
27781 : return 602; /* *subdi3_eq */
27782 :
27783 : default:
27784 : return -1;
27785 : }
27786 :
27787 : default:
27788 : return -1;
27789 : }
27790 :
27791 : default:
27792 : return -1;
27793 : }
27794 : }
27795 :
27796 : int
27797 244340 : recog_410 (rtx x1 ATTRIBUTE_UNUSED,
27798 : rtx_insn *insn ATTRIBUTE_UNUSED,
27799 : int *pnum_clobbers ATTRIBUTE_UNUSED)
27800 : {
27801 244340 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
27802 244340 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
27803 244340 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
27804 244340 : rtx x18, x19, x20, x21, x22, x23, x24, x25;
27805 244340 : int res ATTRIBUTE_UNUSED;
27806 244340 : x2 = XVECEXP (x1, 0, 0);
27807 244340 : x3 = XEXP (x2, 0);
27808 244340 : operands[0] = x3;
27809 244340 : x4 = XEXP (x2, 1);
27810 244340 : x5 = XEXP (x4, 0);
27811 244340 : x6 = XEXP (x5, 0);
27812 244340 : switch (GET_CODE (x6))
27813 : {
27814 36799 : case ZERO_EXTEND:
27815 36799 : x7 = XEXP (x5, 1);
27816 36799 : if (GET_CODE (x7) != CONST_INT)
27817 : return -1;
27818 36281 : x8 = XEXP (x4, 1);
27819 36281 : if (GET_CODE (x8) != ZERO_EXTEND)
27820 : return -1;
27821 34468 : x9 = XEXP (x6, 0);
27822 34468 : switch (GET_CODE (x9))
27823 : {
27824 3013 : case TRUNCATE:
27825 3013 : if (GET_MODE (x9) != E_QImode)
27826 : return -1;
27827 3013 : x10 = XEXP (x9, 0);
27828 3013 : if (GET_CODE (x10) != MOD
27829 3013 : || GET_MODE (x10) != E_HImode
27830 3013 : || XWINT (x7, 0) != 8L)
27831 : return -1;
27832 3013 : x11 = XEXP (x8, 0);
27833 3013 : if (GET_CODE (x11) != TRUNCATE
27834 3013 : || GET_MODE (x11) != E_QImode)
27835 : return -1;
27836 3013 : x12 = XEXP (x11, 0);
27837 3013 : if (GET_CODE (x12) != DIV
27838 3013 : || GET_MODE (x12) != E_HImode)
27839 : return -1;
27840 3013 : x13 = XVECEXP (x1, 0, 1);
27841 3013 : if (pattern286 (x13,
27842 : E_CCmode,
27843 : 17) != 0
27844 3013 : || !register_operand (operands[0], E_HImode)
27845 3013 : || GET_MODE (x4) != E_HImode
27846 3013 : || GET_MODE (x5) != E_HImode
27847 6026 : || GET_MODE (x6) != E_HImode)
27848 : return -1;
27849 3013 : x14 = XEXP (x10, 0);
27850 3013 : operands[1] = x14;
27851 3013 : if (!register_operand (operands[1], E_HImode))
27852 : return -1;
27853 2915 : x15 = XEXP (x10, 1);
27854 2915 : if (GET_MODE (x15) != E_HImode
27855 2766 : || GET_MODE (x8) != E_HImode)
27856 : return -1;
27857 2766 : x16 = XEXP (x12, 1);
27858 2766 : if (GET_MODE (x16) != E_HImode)
27859 : return -1;
27860 2766 : x17 = XEXP (x12, 0);
27861 2766 : if (!rtx_equal_p (x17, operands[1]))
27862 : return -1;
27863 2766 : switch (GET_CODE (x15))
27864 : {
27865 666 : case SIGN_EXTEND:
27866 666 : if (GET_CODE (x16) != SIGN_EXTEND)
27867 : return -1;
27868 666 : x18 = XEXP (x15, 0);
27869 666 : operands[2] = x18;
27870 666 : if (!nonimmediate_operand (operands[2], E_QImode))
27871 : return -1;
27872 666 : x19 = XEXP (x16, 0);
27873 666 : if (!rtx_equal_p (x19, operands[2])
27874 666 : || !insn_condition_223 (operands, insn))
27875 0 : return -1;
27876 : return 711; /* divmodhiqi3 */
27877 :
27878 2100 : case ZERO_EXTEND:
27879 2100 : if (GET_CODE (x16) != ZERO_EXTEND)
27880 : return -1;
27881 2100 : x18 = XEXP (x15, 0);
27882 2100 : operands[2] = x18;
27883 2100 : if (!nonimmediate_operand (operands[2], E_QImode))
27884 : return -1;
27885 2100 : x19 = XEXP (x16, 0);
27886 2100 : if (!rtx_equal_p (x19, operands[2])
27887 2100 : || !insn_condition_223 (operands, insn))
27888 0 : return -1;
27889 : return 713; /* udivmodhiqi3 */
27890 :
27891 : default:
27892 : return -1;
27893 : }
27894 :
27895 26913 : case REG:
27896 26913 : case SUBREG:
27897 26913 : operands[1] = x9;
27898 26913 : x13 = XVECEXP (x1, 0, 1);
27899 26913 : if (pattern422 (x13,
27900 : 173,
27901 : 0) != 0)
27902 : return -1;
27903 5192 : x11 = XEXP (x8, 0);
27904 5192 : operands[2] = x11;
27905 5192 : switch (XWINT (x7, 0))
27906 : {
27907 3107 : case 8L:
27908 3107 : if (pattern1618 (x4,
27909 : E_QImode,
27910 : E_HImode) != 0
27911 3107 : || !insn_condition_27 (operands, insn))
27912 139 : return -1;
27913 : return 2825; /* kunpckhi */
27914 :
27915 1548 : case 16L:
27916 1548 : if (pattern1618 (x4,
27917 : E_HImode,
27918 : E_SImode) != 0
27919 1548 : || !insn_condition_12 (operands, insn))
27920 25 : return -1;
27921 : return 2826; /* kunpcksi */
27922 :
27923 537 : case 32L:
27924 537 : if (pattern1618 (x4,
27925 : E_SImode,
27926 : E_DImode) != 0
27927 537 : || !insn_condition_12 (operands, insn))
27928 0 : return -1;
27929 : return 2827; /* kunpckdi */
27930 :
27931 : default:
27932 : return -1;
27933 : }
27934 :
27935 : default:
27936 : return -1;
27937 : }
27938 :
27939 179017 : case REG:
27940 179017 : case SUBREG:
27941 179017 : case MEM:
27942 179017 : x13 = XVECEXP (x1, 0, 1);
27943 179017 : if (pattern286 (x13,
27944 : E_CCmode,
27945 : 17) != 0)
27946 : return -1;
27947 167015 : switch (pattern1090 (x4))
27948 : {
27949 4857 : case 0:
27950 4857 : x8 = XEXP (x4, 1);
27951 4857 : x11 = XEXP (x8, 0);
27952 4857 : x12 = XEXP (x11, 0);
27953 4857 : x17 = XEXP (x12, 0);
27954 4857 : operands[1] = x17;
27955 4857 : if (nonimmediate_operand (operands[0], E_DImode))
27956 : {
27957 4857 : x7 = XEXP (x5, 1);
27958 4857 : x20 = XEXP (x7, 0);
27959 4857 : operands[2] = x20;
27960 4857 : if (rtx_equal_p (x6, operands[0]))
27961 : {
27962 4571 : x21 = XEXP (x11, 1);
27963 4571 : x22 = XEXP (x21, 1);
27964 4571 : x23 = XEXP (x22, 0);
27965 4571 : if (rtx_equal_p (x23, operands[2])
27966 4571 : && insn_condition_563 (operands, insn))
27967 : return 1101; /* x86_64_shld */
27968 : }
27969 : }
27970 286 : operands[2] = x17;
27971 286 : if (!register_operand (operands[0], E_DImode))
27972 : return -1;
27973 286 : operands[1] = x6;
27974 286 : if (!nonimmediate_operand (operands[1], E_DImode))
27975 : return -1;
27976 286 : x7 = XEXP (x5, 1);
27977 286 : x20 = XEXP (x7, 0);
27978 286 : operands[3] = x20;
27979 286 : x21 = XEXP (x11, 1);
27980 286 : x22 = XEXP (x21, 1);
27981 286 : x23 = XEXP (x22, 0);
27982 286 : if (!rtx_equal_p (x23, operands[3])
27983 286 : || !insn_condition_298 (operands, insn))
27984 285 : return -1;
27985 : return 1107; /* x86_64_shld_ndd */
27986 :
27987 2618 : case 1:
27988 2618 : x8 = XEXP (x4, 1);
27989 2618 : x11 = XEXP (x8, 0);
27990 2618 : x12 = XEXP (x11, 0);
27991 2618 : x17 = XEXP (x12, 0);
27992 2618 : operands[1] = x17;
27993 2618 : x7 = XEXP (x5, 1);
27994 2618 : x20 = XEXP (x7, 0);
27995 2618 : operands[2] = x20;
27996 2618 : if (rtx_equal_p (x6, operands[0]))
27997 : {
27998 2618 : x21 = XEXP (x11, 1);
27999 2618 : x22 = XEXP (x21, 1);
28000 2618 : x23 = XEXP (x22, 0);
28001 2618 : if (rtx_equal_p (x23, operands[2]))
28002 : return 1137; /* x86_shld */
28003 : }
28004 0 : operands[2] = x17;
28005 0 : operands[1] = x6;
28006 0 : if (!nonimmediate_operand (operands[1], E_SImode))
28007 : return -1;
28008 0 : operands[3] = x20;
28009 0 : x21 = XEXP (x11, 1);
28010 0 : x22 = XEXP (x21, 1);
28011 0 : x23 = XEXP (x22, 0);
28012 0 : if (!rtx_equal_p (x23, operands[3])
28013 0 : || !insn_condition_298 (operands, insn))
28014 0 : return -1;
28015 : return 1143; /* x86_shld_ndd */
28016 :
28017 1186 : case 2:
28018 1186 : x7 = XEXP (x5, 1);
28019 1186 : operands[2] = x7;
28020 1186 : if (pattern1741 (x4) == 0
28021 1186 : && insn_condition_565 (operands, insn))
28022 : return 1113; /* x86_64_shld_1 */
28023 503 : operands[3] = x7;
28024 503 : if (pattern1742 (x4) != 0
28025 503 : || !insn_condition_567 (operands, insn))
28026 501 : return -1;
28027 : return 1119; /* x86_64_shld_ndd_1 */
28028 :
28029 118 : case 3:
28030 118 : x7 = XEXP (x5, 1);
28031 118 : operands[2] = x7;
28032 118 : if (pattern1743 (x4) == 0
28033 118 : && insn_condition_575 (operands, insn))
28034 : return 1149; /* x86_shld_1 */
28035 31 : operands[3] = x7;
28036 31 : if (pattern1744 (x4) != 0
28037 31 : || !insn_condition_577 (operands, insn))
28038 29 : return -1;
28039 : return 1155; /* x86_shld_ndd_1 */
28040 :
28041 418 : case 4:
28042 418 : if (!insn_condition_579 (operands, insn))
28043 276 : return -1;
28044 : return 1126; /* *x86_64_shld_shrd_1_nozext */
28045 :
28046 235 : case 5:
28047 235 : if (!insn_condition_581 (operands, insn))
28048 138 : return -1;
28049 : return 1162; /* *x86_shld_shrd_1_nozext */
28050 :
28051 7 : case 6:
28052 7 : x8 = XEXP (x4, 1);
28053 7 : x11 = XEXP (x8, 0);
28054 7 : operands[1] = x11;
28055 7 : if (nonimmediate_operand (operands[0], E_DImode))
28056 : {
28057 7 : x7 = XEXP (x5, 1);
28058 7 : operands[2] = x7;
28059 7 : if (rtx_equal_p (x6, operands[0]))
28060 : {
28061 0 : x24 = XEXP (x8, 1);
28062 0 : x25 = XEXP (x24, 1);
28063 0 : if (rtx_equal_p (x25, operands[2])
28064 0 : && insn_condition_582 (operands, insn))
28065 : return 1129; /* *x86_64_shld_2 */
28066 : }
28067 : }
28068 7 : operands[2] = x11;
28069 7 : if (!register_operand (operands[0], E_DImode))
28070 : return -1;
28071 7 : operands[1] = x6;
28072 7 : if (!nonimmediate_operand (operands[1], E_DImode))
28073 : return -1;
28074 7 : x7 = XEXP (x5, 1);
28075 7 : operands[3] = x7;
28076 7 : x24 = XEXP (x8, 1);
28077 7 : x25 = XEXP (x24, 1);
28078 7 : if (!rtx_equal_p (x25, operands[3])
28079 7 : || !insn_condition_583 (operands, insn))
28080 7 : return -1;
28081 : return 1132; /* *x86_64_shld_ndd_2 */
28082 :
28083 7 : case 7:
28084 7 : x8 = XEXP (x4, 1);
28085 7 : x11 = XEXP (x8, 0);
28086 7 : operands[1] = x11;
28087 7 : if (nonimmediate_operand (operands[0], E_SImode))
28088 : {
28089 7 : x7 = XEXP (x5, 1);
28090 7 : operands[2] = x7;
28091 7 : if (rtx_equal_p (x6, operands[0]))
28092 : {
28093 0 : x24 = XEXP (x8, 1);
28094 0 : x25 = XEXP (x24, 1);
28095 0 : if (rtx_equal_p (x25, operands[2])
28096 0 : && insn_condition_582 (operands, insn))
28097 : return 1165; /* *x86_shld_2 */
28098 : }
28099 : }
28100 7 : operands[2] = x11;
28101 7 : if (!register_operand (operands[0], E_SImode))
28102 : return -1;
28103 7 : operands[1] = x6;
28104 7 : if (!nonimmediate_operand (operands[1], E_SImode))
28105 : return -1;
28106 7 : x7 = XEXP (x5, 1);
28107 7 : operands[3] = x7;
28108 7 : x24 = XEXP (x8, 1);
28109 7 : x25 = XEXP (x24, 1);
28110 7 : if (!rtx_equal_p (x25, operands[3])
28111 7 : || !insn_condition_583 (operands, insn))
28112 7 : return -1;
28113 : return 1168; /* *x86_shld_ndd_2 */
28114 :
28115 : default:
28116 : return -1;
28117 : }
28118 :
28119 2238 : case CONST_INT:
28120 2238 : if (XWINT (x6, 0) != 1L)
28121 : return -1;
28122 1632 : x13 = XVECEXP (x1, 0, 1);
28123 1632 : if (pattern286 (x13,
28124 : E_CCmode,
28125 : 17) != 0)
28126 : return -1;
28127 603 : switch (pattern1205 (x4))
28128 : {
28129 578 : case 0:
28130 578 : x7 = XEXP (x5, 1);
28131 578 : operands[2] = x7;
28132 578 : if (register_operand (operands[2], E_QImode))
28133 : {
28134 505 : switch (pattern985 (x4))
28135 : {
28136 138 : case 0:
28137 138 : if (insn_condition_750 (operands, insn))
28138 : return 1523; /* *btssi */
28139 : break;
28140 :
28141 93 : case 1:
28142 93 : if (insn_condition_751 (operands, insn))
28143 : return 1525; /* *btsdi */
28144 : break;
28145 :
28146 : default:
28147 : break;
28148 : }
28149 : }
28150 378 : if (GET_CODE (x7) != SUBREG)
28151 : return -1;
28152 368 : switch (pattern1371 (x4))
28153 : {
28154 10 : case 0:
28155 10 : if (!insn_condition_62 (operands, insn))
28156 0 : return -1;
28157 : return 1527; /* *btssi_mask */
28158 :
28159 3 : case 1:
28160 3 : if (!insn_condition_63 (operands, insn))
28161 0 : return -1;
28162 : return 1529; /* *btsdi_mask */
28163 :
28164 : default:
28165 : return -1;
28166 : }
28167 :
28168 1 : case 1:
28169 1 : if (!insn_condition_62 (operands, insn))
28170 0 : return -1;
28171 : return 1531; /* *btssi_mask_1 */
28172 :
28173 0 : case 2:
28174 0 : if (!insn_condition_63 (operands, insn))
28175 0 : return -1;
28176 : return 1533; /* *btsdi_mask_1 */
28177 :
28178 : default:
28179 : return -1;
28180 : }
28181 :
28182 : default:
28183 : return -1;
28184 : }
28185 : }
28186 :
28187 : int
28188 24061 : recog_417 (rtx x1 ATTRIBUTE_UNUSED,
28189 : rtx_insn *insn ATTRIBUTE_UNUSED,
28190 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28191 : {
28192 24061 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28193 24061 : rtx x2, x3, x4, x5;
28194 24061 : int res ATTRIBUTE_UNUSED;
28195 24061 : x2 = XVECEXP (x1, 0, 0);
28196 24061 : x3 = XEXP (x2, 1);
28197 24061 : x4 = XEXP (x3, 1);
28198 24061 : if (x4 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
28199 : return -1;
28200 7748 : x5 = XEXP (x3, 2);
28201 7748 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
28202 7748 : || pattern287 (x1) != 0)
28203 : return -1;
28204 3730 : switch (GET_CODE (operands[1]))
28205 : {
28206 2133 : case REG:
28207 2133 : case SUBREG:
28208 2133 : switch (pattern1476 (x3))
28209 : {
28210 : case 0:
28211 : return 124; /* *extvsi_1_0 */
28212 :
28213 326 : case 1:
28214 326 : if (!insn_condition_52 (operands, insn))
28215 : return -1;
28216 : return 125; /* *extvdi_1_0 */
28217 :
28218 : default:
28219 : return -1;
28220 : }
28221 :
28222 0 : case LTU:
28223 0 : case UNLT:
28224 0 : if (pattern595 (operands[1]) != 0)
28225 : return -1;
28226 0 : switch (pattern1617 (x3))
28227 : {
28228 : case 0:
28229 : return 1934; /* *x86_movsicc_0_m1_se */
28230 :
28231 0 : case 1:
28232 0 : if (!insn_condition_52 (operands, insn))
28233 : return -1;
28234 : return 1935; /* *x86_movdicc_0_m1_se */
28235 :
28236 : default:
28237 : return -1;
28238 : }
28239 :
28240 : default:
28241 : return -1;
28242 : }
28243 : }
28244 :
28245 : int
28246 89230 : recog_419 (rtx x1 ATTRIBUTE_UNUSED,
28247 : rtx_insn *insn ATTRIBUTE_UNUSED,
28248 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28249 : {
28250 89230 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28251 89230 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28252 89230 : int res ATTRIBUTE_UNUSED;
28253 89230 : x2 = XVECEXP (x1, 0, 0);
28254 89230 : x3 = XEXP (x2, 1);
28255 89230 : x4 = XEXP (x3, 1);
28256 89230 : if (GET_CODE (x4) != CONST_INT)
28257 : return -1;
28258 89206 : operands[2] = x4;
28259 89206 : res = recog_418 (x1, insn, pnum_clobbers);
28260 89206 : if (res >= 0)
28261 : return res;
28262 87496 : if (XWINT (x4, 0) != 1L)
28263 : return -1;
28264 29287 : x5 = XVECEXP (x1, 0, 1);
28265 29287 : if (GET_CODE (x5) != CLOBBER)
28266 : return -1;
28267 25094 : x6 = XEXP (x5, 0);
28268 25094 : if (GET_CODE (x6) != REG
28269 25094 : || REGNO (x6) != 17
28270 50188 : || GET_MODE (x6) != E_CCmode)
28271 : return -1;
28272 25094 : x7 = XEXP (x3, 0);
28273 25094 : operands[1] = x7;
28274 25094 : x8 = XEXP (x2, 0);
28275 25094 : if (GET_CODE (x8) == SUBREG)
28276 : {
28277 8337 : switch (pattern1372 (x2))
28278 : {
28279 1245 : case 0:
28280 1245 : if (insn_condition_198 (operands, insn))
28281 : return 1564; /* *btsi_setcqi */
28282 : break;
28283 :
28284 1378 : case 1:
28285 1378 : if (insn_condition_343 (operands, insn))
28286 : return 1565; /* *btdi_setcqi */
28287 : break;
28288 :
28289 : default:
28290 : break;
28291 : }
28292 : }
28293 22471 : x9 = XEXP (x3, 2);
28294 22471 : if (GET_CODE (x9) != SUBREG)
28295 : return -1;
28296 5577 : switch (pattern1373 (x2))
28297 : {
28298 259 : case 0:
28299 259 : if (!insn_condition_883 (operands, insn))
28300 98 : return -1;
28301 : return 1572; /* *btsi_setcsi_mask */
28302 :
28303 166 : case 1:
28304 166 : if (!insn_condition_884 (operands, insn))
28305 4 : return -1;
28306 : return 1573; /* *btdi_setcdi_mask */
28307 :
28308 : default:
28309 : return -1;
28310 : }
28311 : }
28312 :
28313 : int
28314 1522841 : recog_421 (rtx x1 ATTRIBUTE_UNUSED,
28315 : rtx_insn *insn ATTRIBUTE_UNUSED,
28316 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28317 : {
28318 1522841 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28319 1522841 : rtx x2, x3, x4;
28320 1522841 : int res ATTRIBUTE_UNUSED;
28321 1522841 : x2 = XVECEXP (x1, 0, 0);
28322 1522841 : x3 = XEXP (x2, 0);
28323 1522841 : switch (GET_CODE (x3))
28324 : {
28325 1522801 : case REG:
28326 1522801 : case SUBREG:
28327 1522801 : case MEM:
28328 1522801 : operands[0] = x3;
28329 1522801 : switch (GET_MODE (operands[0]))
28330 : {
28331 1157468 : case E_DImode:
28332 1157468 : x4 = XEXP (x2, 1);
28333 1157468 : if (GET_MODE (x4) != E_DImode)
28334 : return -1;
28335 1157468 : if (register_operand (operands[0], E_DImode)
28336 1149729 : && register_operand (operands[1], E_DImode)
28337 1145754 : && nonmemory_operand (operands[2], E_QImode)
28338 2302829 : && insn_condition_51 (operands, insn))
28339 : return 1215; /* ashrdi3_doubleword */
28340 1148221 : if (!nonimmediate_operand (operands[0], E_DImode)
28341 1148221 : || !nonimmediate_operand (operands[1], E_DImode))
28342 : return -1;
28343 1148001 : if (const_int_operand (operands[2], E_QImode)
28344 1148001 : && insn_condition_845 (operands, insn))
28345 : return 1301; /* ashrdi3_cvt */
28346 999259 : if (!nonmemory_operand (operands[2], E_QImode)
28347 999259 : || !insn_condition_847 (operands, insn))
28348 6539 : return -1;
28349 : return 1310; /* *ashrdi3_1 */
28350 :
28351 28220 : case E_TImode:
28352 28220 : x4 = XEXP (x2, 1);
28353 28220 : if (pattern1379 (x4,
28354 : E_TImode) != 0
28355 28220 : || !insn_condition_52 (operands, insn))
28356 100 : return -1;
28357 : return 1217; /* ashrti3_doubleword */
28358 :
28359 250555 : case E_SImode:
28360 250555 : x4 = XEXP (x2, 1);
28361 250555 : if (pattern1576 (x4,
28362 : E_SImode) != 0
28363 250555 : || !insn_condition_849 (operands, insn))
28364 9565 : return -1;
28365 : return 1308; /* *ashrsi3_1 */
28366 :
28367 53775 : case E_QImode:
28368 53775 : x4 = XEXP (x2, 1);
28369 53775 : if (pattern1576 (x4,
28370 : E_QImode) != 0
28371 53775 : || !insn_condition_208 (operands, insn))
28372 4356 : return -1;
28373 : return 1341; /* *ashrqi3_1 */
28374 :
28375 32412 : case E_HImode:
28376 32412 : x4 = XEXP (x2, 1);
28377 32412 : if (pattern1576 (x4,
28378 : E_HImode) != 0
28379 32412 : || !insn_condition_210 (operands, insn))
28380 1506 : return -1;
28381 : return 1343; /* *ashrhi3_1 */
28382 :
28383 371 : case E_V2QImode:
28384 371 : x4 = XEXP (x2, 1);
28385 371 : if (pattern1379 (x4,
28386 : E_V2QImode) != 0
28387 371 : || !insn_condition_206 (operands, insn))
28388 12 : return -1;
28389 : return 2376; /* ashrv2qi3 */
28390 :
28391 : default:
28392 : return -1;
28393 : }
28394 :
28395 40 : case STRICT_LOW_PART:
28396 40 : switch (pattern1380 (x2))
28397 : {
28398 40 : case 0:
28399 40 : if (!insn_condition_194 (operands, insn))
28400 0 : return -1;
28401 : return 1349; /* *ashrqi3_1_slp */
28402 :
28403 0 : case 1:
28404 0 : if (!insn_condition_194 (operands, insn))
28405 0 : return -1;
28406 : return 1351; /* *ashrhi3_1_slp */
28407 :
28408 : default:
28409 : return -1;
28410 : }
28411 :
28412 : default:
28413 : return -1;
28414 : }
28415 : }
28416 :
28417 : int
28418 74708 : recog_424 (rtx x1 ATTRIBUTE_UNUSED,
28419 : rtx_insn *insn ATTRIBUTE_UNUSED,
28420 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28421 : {
28422 74708 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28423 74708 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28424 74708 : rtx x10;
28425 74708 : int res ATTRIBUTE_UNUSED;
28426 74708 : x2 = XVECEXP (x1, 0, 0);
28427 74708 : x3 = XEXP (x2, 1);
28428 74708 : x4 = XEXP (x3, 0);
28429 74708 : switch (GET_CODE (x4))
28430 : {
28431 2011 : case XOR:
28432 2011 : x5 = XEXP (x2, 0);
28433 2011 : operands[0] = x5;
28434 2011 : x6 = XEXP (x4, 0);
28435 2011 : operands[1] = x6;
28436 2011 : x7 = XEXP (x4, 1);
28437 2011 : operands[2] = x7;
28438 2011 : x8 = XVECEXP (x1, 0, 1);
28439 2011 : switch (pattern865 (x8))
28440 : {
28441 1219 : case 0:
28442 1219 : switch (GET_MODE (operands[0]))
28443 : {
28444 101 : case E_HImode:
28445 101 : if (!nonimmediate_operand (operands[0], E_HImode)
28446 101 : || pattern255 (x3,
28447 : E_HImode) != 0
28448 154 : || !insn_condition_362 (operands, insn))
28449 58 : return -1;
28450 : return 867; /* *notxorhi_1 */
28451 :
28452 301 : case E_SImode:
28453 301 : if (!nonimmediate_operand (operands[0], E_SImode)
28454 301 : || pattern256 (x3,
28455 : E_SImode) != 0
28456 452 : || !insn_condition_807 (operands, insn))
28457 160 : return -1;
28458 : return 868; /* *notxorsi_1 */
28459 :
28460 348 : case E_DImode:
28461 348 : if (!nonimmediate_operand (operands[0], E_DImode)
28462 348 : || pattern256 (x3,
28463 : E_DImode) != 0
28464 579 : || !insn_condition_808 (operands, insn))
28465 192 : return -1;
28466 : return 869; /* *notxordi_1 */
28467 :
28468 469 : case E_QImode:
28469 469 : if (!nonimmediate_operand (operands[0], E_QImode)
28470 469 : || pattern255 (x3,
28471 : E_QImode) != 0
28472 729 : || !insn_condition_363 (operands, insn))
28473 253 : return -1;
28474 : return 903; /* *notxorqi_1 */
28475 :
28476 : default:
28477 : return -1;
28478 : }
28479 :
28480 64 : case 1:
28481 64 : if (pattern1374 (x3,
28482 : E_QImode) != 0
28483 64 : || !insn_condition_27 (operands, insn))
28484 0 : return -1;
28485 : return 2763; /* kxnorqi */
28486 :
28487 131 : case 2:
28488 131 : if (pattern1374 (x3,
28489 : E_HImode) != 0
28490 131 : || !insn_condition_27 (operands, insn))
28491 0 : return -1;
28492 : return 2764; /* kxnorhi */
28493 :
28494 64 : case 3:
28495 64 : if (pattern1374 (x3,
28496 : E_SImode) != 0
28497 64 : || !insn_condition_120 (operands, insn))
28498 0 : return -1;
28499 : return 2765; /* kxnorsi */
28500 :
28501 64 : case 4:
28502 64 : if (pattern1374 (x3,
28503 : E_DImode) != 0
28504 64 : || !insn_condition_120 (operands, insn))
28505 0 : return -1;
28506 : return 2766; /* kxnordi */
28507 :
28508 : default:
28509 : return -1;
28510 : }
28511 :
28512 4047 : case ZERO_EXTRACT:
28513 4047 : if (pattern414 (x1) != 0
28514 4047 : || GET_MODE (x3) != E_DImode)
28515 : return -1;
28516 4047 : x6 = XEXP (x4, 0);
28517 4047 : if (!rtx_equal_p (x6, operands[0]))
28518 : return -1;
28519 4047 : x9 = XEXP (x4, 2);
28520 4047 : if (!rtx_equal_p (x9, operands[1])
28521 4047 : || !insn_condition_199 (operands, insn))
28522 0 : return -1;
28523 : return 1547; /* *btcq_imm */
28524 :
28525 9900 : case REG:
28526 9900 : case SUBREG:
28527 9900 : operands[1] = x4;
28528 9900 : x8 = XVECEXP (x1, 0, 1);
28529 9900 : if (GET_CODE (x8) != UNSPEC
28530 297 : || XVECLEN (x8, 0) != 1
28531 297 : || XINT (x8, 1) != 173)
28532 : return -1;
28533 297 : x10 = XVECEXP (x8, 0, 0);
28534 297 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
28535 : return -1;
28536 297 : x5 = XEXP (x2, 0);
28537 297 : operands[0] = x5;
28538 297 : switch (pattern862 (x3))
28539 : {
28540 88 : case 0:
28541 88 : if (!insn_condition_27 (operands, insn))
28542 0 : return -1;
28543 : return 2767; /* knotqi */
28544 :
28545 107 : case 1:
28546 107 : if (!insn_condition_27 (operands, insn))
28547 0 : return -1;
28548 : return 2768; /* knothi */
28549 :
28550 51 : case 2:
28551 51 : if (!insn_condition_120 (operands, insn))
28552 0 : return -1;
28553 : return 2769; /* knotsi */
28554 :
28555 51 : case 3:
28556 51 : if (!insn_condition_120 (operands, insn))
28557 0 : return -1;
28558 : return 2770; /* knotdi */
28559 :
28560 : default:
28561 : return -1;
28562 : }
28563 :
28564 : default:
28565 : return -1;
28566 : }
28567 : }
28568 :
28569 : int
28570 2630 : recog_428 (rtx x1 ATTRIBUTE_UNUSED,
28571 : rtx_insn *insn ATTRIBUTE_UNUSED,
28572 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28573 : {
28574 2630 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28575 2630 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28576 2630 : rtx x10;
28577 2630 : int res ATTRIBUTE_UNUSED;
28578 2630 : x2 = XVECEXP (x1, 0, 0);
28579 2630 : x3 = XEXP (x2, 1);
28580 2630 : x4 = XEXP (x3, 0);
28581 2630 : if (GET_CODE (x4) != MEM
28582 2630 : || GET_MODE (x4) != E_QImode)
28583 : return -1;
28584 2630 : x5 = XEXP (x2, 0);
28585 2630 : operands[0] = x5;
28586 2630 : x6 = XEXP (x4, 0);
28587 2630 : operands[1] = x6;
28588 2630 : x7 = XEXP (x3, 1);
28589 2630 : operands[2] = x7;
28590 2630 : x8 = XVECEXP (x1, 0, 1);
28591 2630 : switch (pattern746 (x8))
28592 : {
28593 546 : case 0:
28594 546 : switch (GET_MODE (operands[1]))
28595 : {
28596 136 : case E_SImode:
28597 136 : if (!memory_operand (operands[1], E_SImode)
28598 136 : || !insn_condition_2201 (operands, insn))
28599 0 : return -1;
28600 : return 1611; /* *sibcall_value_memory */
28601 :
28602 410 : case E_DImode:
28603 410 : if (!memory_operand (operands[1], E_DImode)
28604 410 : || !insn_condition_2202 (operands, insn))
28605 0 : return -1;
28606 : return 1612; /* *sibcall_value_memory */
28607 :
28608 : default:
28609 : return -1;
28610 : }
28611 :
28612 0 : case 1:
28613 0 : x9 = XEXP (x8, 1);
28614 0 : x10 = XEXP (x9, 1);
28615 0 : operands[3] = x10;
28616 0 : if (!immediate_operand (operands[3], E_SImode))
28617 : return -1;
28618 0 : if (call_insn_operand (operands[1], E_SImode)
28619 0 : && insn_condition_2203 (operands, insn))
28620 : return 1613; /* *call_value_pop */
28621 0 : if (!sibcall_insn_operand (operands[1], E_SImode)
28622 0 : || !insn_condition_2204 (operands, insn))
28623 0 : return -1;
28624 : return 1614; /* *sibcall_value_pop */
28625 :
28626 : default:
28627 : return -1;
28628 : }
28629 : }
28630 :
28631 : int
28632 260 : recog_431 (rtx x1 ATTRIBUTE_UNUSED,
28633 : rtx_insn *insn ATTRIBUTE_UNUSED,
28634 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28635 : {
28636 260 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28637 260 : rtx x2, x3, x4, x5, x6;
28638 260 : int res ATTRIBUTE_UNUSED;
28639 260 : x2 = XVECEXP (x1, 0, 0);
28640 260 : x3 = XEXP (x2, 0);
28641 260 : operands[0] = x3;
28642 260 : x4 = XEXP (x2, 1);
28643 260 : x5 = XEXP (x4, 0);
28644 260 : operands[1] = x5;
28645 260 : x6 = XVECEXP (x1, 0, 1);
28646 260 : switch (GET_CODE (x6))
28647 : {
28648 244 : case CLOBBER:
28649 244 : switch (pattern740 (x1))
28650 : {
28651 151 : case 0:
28652 151 : if (!insn_condition_892 (operands, insn))
28653 0 : return -1;
28654 : return 1672; /* clzsi2_lzcnt */
28655 :
28656 47 : case 1:
28657 47 : if (!insn_condition_933 (operands, insn))
28658 0 : return -1;
28659 : return 1673; /* clzdi2_lzcnt */
28660 :
28661 : default:
28662 : return -1;
28663 : }
28664 :
28665 0 : case UNSPEC:
28666 0 : switch (pattern741 (x1))
28667 : {
28668 0 : case 0:
28669 0 : if (insn_condition_931 (operands, insn))
28670 : return 1674; /* *clzsi2_lzcnt_falsedep_nf */
28671 0 : if (pnum_clobbers == NULL
28672 0 : || !insn_condition_892 (operands, insn))
28673 : return -1;
28674 0 : *pnum_clobbers = 1;
28675 0 : return 1676; /* *clzsi2_lzcnt_falsedep */
28676 :
28677 0 : case 1:
28678 0 : if (insn_condition_932 (operands, insn))
28679 : return 1675; /* *clzdi2_lzcnt_falsedep_nf */
28680 0 : if (pnum_clobbers == NULL
28681 0 : || !insn_condition_933 (operands, insn))
28682 : return -1;
28683 0 : *pnum_clobbers = 1;
28684 0 : return 1677; /* *clzdi2_lzcnt_falsedep */
28685 :
28686 : default:
28687 : return -1;
28688 : }
28689 :
28690 : default:
28691 : return -1;
28692 : }
28693 : }
28694 :
28695 : int
28696 1051 : recog_432 (rtx x1 ATTRIBUTE_UNUSED,
28697 : rtx_insn *insn ATTRIBUTE_UNUSED,
28698 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28699 : {
28700 1051 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28701 1051 : rtx x2, x3, x4, x5, x6, x7, x8;
28702 1051 : int res ATTRIBUTE_UNUSED;
28703 1051 : x2 = XVECEXP (x1, 0, 0);
28704 1051 : x3 = XEXP (x2, 0);
28705 1051 : operands[0] = x3;
28706 1051 : x4 = XEXP (x2, 1);
28707 1051 : x5 = XEXP (x4, 0);
28708 1051 : switch (GET_CODE (x5))
28709 : {
28710 986 : case REG:
28711 986 : case SUBREG:
28712 986 : case MEM:
28713 986 : operands[1] = x5;
28714 986 : x6 = XVECEXP (x1, 0, 1);
28715 986 : switch (GET_CODE (x6))
28716 : {
28717 940 : case CLOBBER:
28718 940 : x7 = XEXP (x6, 0);
28719 940 : if (GET_CODE (x7) != REG
28720 940 : || REGNO (x7) != 17
28721 1880 : || GET_MODE (x7) != E_CCmode)
28722 : return -1;
28723 940 : switch (GET_MODE (operands[0]))
28724 : {
28725 555 : case E_SImode:
28726 555 : if (!register_operand (operands[0], E_SImode)
28727 537 : || GET_MODE (x4) != E_SImode
28728 537 : || !nonimmediate_operand (operands[1], E_SImode)
28729 1092 : || !insn_condition_935 (operands, insn))
28730 18 : return -1;
28731 : return 1764; /* popcountsi2 */
28732 :
28733 340 : case E_DImode:
28734 340 : if (!register_operand (operands[0], E_DImode)
28735 340 : || GET_MODE (x4) != E_DImode
28736 340 : || !nonimmediate_operand (operands[1], E_DImode)
28737 340 : || !insn_condition_937 (operands, insn))
28738 0 : return -1;
28739 : return 1765; /* popcountdi2 */
28740 :
28741 45 : case E_HImode:
28742 45 : if (!register_operand (operands[0], E_HImode)
28743 42 : || GET_MODE (x4) != E_HImode
28744 42 : || !nonimmediate_operand (operands[1], E_HImode)
28745 87 : || !insn_condition_431 (operands, insn))
28746 3 : return -1;
28747 : return 1777; /* popcounthi2 */
28748 :
28749 : default:
28750 : return -1;
28751 : }
28752 :
28753 0 : case UNSPEC:
28754 0 : switch (pattern741 (x1))
28755 : {
28756 0 : case 0:
28757 0 : if (insn_condition_934 (operands, insn))
28758 : return 1766; /* *popcountsi2_falsedep_nf */
28759 0 : if (pnum_clobbers == NULL
28760 0 : || !insn_condition_935 (operands, insn))
28761 : return -1;
28762 0 : *pnum_clobbers = 1;
28763 0 : return 1768; /* *popcountsi2_falsedep */
28764 :
28765 0 : case 1:
28766 0 : if (insn_condition_936 (operands, insn))
28767 : return 1767; /* *popcountdi2_falsedep_nf */
28768 0 : if (pnum_clobbers == NULL
28769 0 : || !insn_condition_937 (operands, insn))
28770 : return -1;
28771 0 : *pnum_clobbers = 1;
28772 0 : return 1769; /* *popcountdi2_falsedep */
28773 :
28774 : default:
28775 : return -1;
28776 : }
28777 :
28778 : default:
28779 : return -1;
28780 : }
28781 :
28782 25 : case ZERO_EXTEND:
28783 25 : if (GET_MODE (x5) != E_SImode)
28784 : return -1;
28785 24 : x6 = XVECEXP (x1, 0, 1);
28786 24 : if (pattern286 (x6,
28787 : E_CCmode,
28788 : 17) != 0
28789 24 : || !register_operand (operands[0], E_SImode)
28790 48 : || GET_MODE (x4) != E_SImode)
28791 : return -1;
28792 24 : x8 = XEXP (x5, 0);
28793 24 : operands[1] = x8;
28794 24 : if (!nonimmediate_operand (operands[1], E_HImode)
28795 24 : || !insn_condition_728 (operands, insn))
28796 22 : return -1;
28797 : return 1774; /* *popcounthi2_1 */
28798 :
28799 : default:
28800 : return -1;
28801 : }
28802 : }
28803 :
28804 : int
28805 313639 : recog_436 (rtx x1 ATTRIBUTE_UNUSED,
28806 : rtx_insn *insn ATTRIBUTE_UNUSED,
28807 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28808 : {
28809 313639 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28810 313639 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28811 313639 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
28812 313639 : rtx x18, x19, x20, x21;
28813 313639 : int res ATTRIBUTE_UNUSED;
28814 313639 : x2 = XVECEXP (x1, 0, 0);
28815 313639 : x3 = XEXP (x2, 1);
28816 313639 : x4 = XEXP (x3, 0);
28817 313639 : if (GET_CODE (x4) != UNSPEC
28818 1452 : || XVECLEN (x4, 0) != 4
28819 150 : || XINT (x4, 1) != 152)
28820 : return -1;
28821 150 : x5 = XVECEXP (x4, 0, 1);
28822 150 : if (GET_CODE (x5) != MEM)
28823 : return -1;
28824 150 : x6 = XEXP (x5, 0);
28825 150 : if (GET_CODE (x6) != UNSPEC
28826 150 : || XVECLEN (x6, 0) != 3
28827 150 : || XINT (x6, 1) != 153)
28828 : return -1;
28829 150 : x7 = XVECEXP (x4, 0, 2);
28830 150 : if (GET_CODE (x7) != MEM
28831 150 : || GET_MODE (x7) != E_BLKmode)
28832 : return -1;
28833 150 : x8 = XEXP (x7, 0);
28834 150 : if (GET_CODE (x8) != SCRATCH)
28835 : return -1;
28836 150 : x9 = XEXP (x3, 1);
28837 150 : if (GET_CODE (x9) != PARALLEL
28838 150 : || XVECLEN (x9, 0) != 4)
28839 : return -1;
28840 150 : x10 = XVECEXP (x9, 0, 0);
28841 150 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
28842 : return -1;
28843 150 : x11 = XVECEXP (x9, 0, 1);
28844 150 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
28845 : return -1;
28846 150 : x12 = XVECEXP (x9, 0, 2);
28847 150 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + 2])
28848 : return -1;
28849 150 : x13 = XVECEXP (x9, 0, 3);
28850 150 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + 3])
28851 : return -1;
28852 150 : x14 = XVECEXP (x1, 0, 1);
28853 150 : if (GET_CODE (x14) != CLOBBER)
28854 : return -1;
28855 150 : x15 = XEXP (x2, 0);
28856 150 : operands[0] = x15;
28857 150 : x16 = XVECEXP (x6, 0, 1);
28858 150 : if (!register_operand (x16, E_V4DImode))
28859 : return -1;
28860 129 : x17 = XVECEXP (x6, 0, 2);
28861 129 : if (!const1248_operand (x17, E_SImode))
28862 : return -1;
28863 129 : x18 = XEXP (x14, 0);
28864 129 : operands[1] = x18;
28865 129 : x19 = XVECEXP (x4, 0, 0);
28866 129 : switch (GET_CODE (x19))
28867 : {
28868 38 : case REG:
28869 38 : case SUBREG:
28870 38 : operands[2] = x19;
28871 38 : operands[7] = x5;
28872 38 : x20 = XVECEXP (x6, 0, 0);
28873 38 : operands[3] = x20;
28874 38 : operands[4] = x16;
28875 38 : operands[6] = x17;
28876 38 : x21 = XVECEXP (x4, 0, 3);
28877 38 : operands[5] = x21;
28878 38 : switch (GET_MODE (operands[0]))
28879 : {
28880 21 : case E_V4SImode:
28881 21 : switch (pattern1923 (x3,
28882 : E_V8SImode,
28883 : E_V4SImode,
28884 : E_SImode))
28885 : {
28886 0 : case 0:
28887 0 : if (!insn_condition_1609 (operands, insn))
28888 0 : return -1;
28889 : return 8429; /* *avx2_gatherdiv8si_3 */
28890 :
28891 17 : case 1:
28892 17 : if (!insn_condition_1610 (operands, insn))
28893 0 : return -1;
28894 : return 8430; /* *avx2_gatherdiv8si_3 */
28895 :
28896 : default:
28897 : return -1;
28898 : }
28899 :
28900 17 : case E_V4SFmode:
28901 17 : switch (pattern1923 (x3,
28902 : E_V8SFmode,
28903 : E_V4SFmode,
28904 : E_SFmode))
28905 : {
28906 0 : case 0:
28907 0 : if (!insn_condition_1609 (operands, insn))
28908 0 : return -1;
28909 : return 8431; /* *avx2_gatherdiv8sf_3 */
28910 :
28911 9 : case 1:
28912 9 : if (!insn_condition_1610 (operands, insn))
28913 0 : return -1;
28914 : return 8432; /* *avx2_gatherdiv8sf_3 */
28915 :
28916 : default:
28917 : return -1;
28918 : }
28919 :
28920 : default:
28921 : return -1;
28922 : }
28923 :
28924 87 : case PC:
28925 87 : operands[6] = x5;
28926 87 : x20 = XVECEXP (x6, 0, 0);
28927 87 : operands[2] = x20;
28928 87 : operands[3] = x16;
28929 87 : operands[5] = x17;
28930 87 : x21 = XVECEXP (x4, 0, 3);
28931 87 : operands[4] = x21;
28932 87 : switch (GET_MODE (operands[0]))
28933 : {
28934 48 : case E_V4SImode:
28935 48 : switch (pattern1919 (x3,
28936 : E_V8SImode,
28937 : E_V4SImode,
28938 : E_SImode))
28939 : {
28940 0 : case 0:
28941 0 : if (!insn_condition_1609 (operands, insn))
28942 0 : return -1;
28943 : return 8433; /* *avx2_gatherdiv8si_4 */
28944 :
28945 13 : case 1:
28946 13 : if (!insn_condition_1610 (operands, insn))
28947 0 : return -1;
28948 : return 8434; /* *avx2_gatherdiv8si_4 */
28949 :
28950 : default:
28951 : return -1;
28952 : }
28953 :
28954 39 : case E_V4SFmode:
28955 39 : switch (pattern1919 (x3,
28956 : E_V8SFmode,
28957 : E_V4SFmode,
28958 : E_SFmode))
28959 : {
28960 0 : case 0:
28961 0 : if (!insn_condition_1609 (operands, insn))
28962 0 : return -1;
28963 : return 8435; /* *avx2_gatherdiv8sf_4 */
28964 :
28965 1 : case 1:
28966 1 : if (!insn_condition_1610 (operands, insn))
28967 0 : return -1;
28968 : return 8436; /* *avx2_gatherdiv8sf_4 */
28969 :
28970 : default:
28971 : return -1;
28972 : }
28973 :
28974 : default:
28975 : return -1;
28976 : }
28977 :
28978 : default:
28979 : return -1;
28980 : }
28981 : }
28982 :
28983 : int
28984 28072 : recog_441 (rtx x1 ATTRIBUTE_UNUSED,
28985 : rtx_insn *insn ATTRIBUTE_UNUSED,
28986 : int *pnum_clobbers ATTRIBUTE_UNUSED)
28987 : {
28988 28072 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
28989 28072 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
28990 28072 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
28991 28072 : int res ATTRIBUTE_UNUSED;
28992 28072 : x2 = XVECEXP (x1, 0, 0);
28993 28072 : x3 = XEXP (x2, 1);
28994 28072 : if (GET_MODE (x3) != E_DImode)
28995 : return -1;
28996 25389 : x4 = XEXP (x2, 0);
28997 25389 : if (!register_operand (x4, E_DImode))
28998 : return -1;
28999 25296 : x5 = XEXP (x3, 0);
29000 25296 : if (GET_MODE (x5) != E_SImode)
29001 : return -1;
29002 24469 : switch (GET_CODE (x5))
29003 : {
29004 0 : case UMUL_HIGHPART:
29005 0 : if (pattern871 (x1) != 0
29006 0 : || !insn_condition_52 (operands, insn))
29007 0 : return -1;
29008 : return 663; /* *umulsi3_highpart_zext */
29009 :
29010 0 : case SMUL_HIGHPART:
29011 0 : if (pattern871 (x1) != 0
29012 0 : || !insn_condition_52 (operands, insn))
29013 0 : return -1;
29014 : return 664; /* *smulsi3_highpart_zext */
29015 :
29016 0 : case TRUNCATE:
29017 0 : x6 = XEXP (x5, 0);
29018 0 : if (pattern872 (x6,
29019 : E_DImode,
29020 : MULT,
29021 : LSHIFTRT) != 0)
29022 : return -1;
29023 0 : x7 = XEXP (x6, 1);
29024 0 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 32])
29025 : return -1;
29026 0 : x8 = XVECEXP (x1, 0, 1);
29027 0 : if (GET_CODE (x8) != CLOBBER
29028 0 : || pattern875 (x1) != 0)
29029 : return -1;
29030 0 : x9 = XEXP (x6, 0);
29031 0 : x10 = XEXP (x9, 0);
29032 0 : if (GET_MODE (x10) != E_DImode)
29033 : return -1;
29034 0 : x11 = XEXP (x9, 1);
29035 0 : if (GET_MODE (x11) != E_DImode)
29036 : return -1;
29037 0 : x12 = XEXP (x8, 0);
29038 0 : operands[3] = x12;
29039 0 : if (!scratch_operand (operands[3], E_SImode))
29040 : return -1;
29041 0 : switch (GET_CODE (x10))
29042 : {
29043 0 : case ZERO_EXTEND:
29044 0 : if (GET_CODE (x11) != ZERO_EXTEND)
29045 : return -1;
29046 0 : x13 = XEXP (x10, 0);
29047 0 : operands[1] = x13;
29048 0 : if (!register_operand (operands[1], E_SImode))
29049 : return -1;
29050 0 : x14 = XEXP (x11, 0);
29051 0 : operands[2] = x14;
29052 0 : if (!nonimmediate_operand (operands[2], E_SImode)
29053 0 : || !insn_condition_52 (operands, insn))
29054 0 : return -1;
29055 : return 667; /* *umulsi3_highpart_1_zext */
29056 :
29057 0 : case SIGN_EXTEND:
29058 0 : if (GET_CODE (x11) != SIGN_EXTEND)
29059 : return -1;
29060 0 : x13 = XEXP (x10, 0);
29061 0 : operands[1] = x13;
29062 0 : if (!register_operand (operands[1], E_SImode))
29063 : return -1;
29064 0 : x14 = XEXP (x11, 0);
29065 0 : operands[2] = x14;
29066 0 : if (!nonimmediate_operand (operands[2], E_SImode)
29067 0 : || !insn_condition_52 (operands, insn))
29068 0 : return -1;
29069 : return 668; /* *smulsi3_highpart_1_zext */
29070 :
29071 : default:
29072 : return -1;
29073 : }
29074 :
29075 31 : case DIV:
29076 31 : x8 = XVECEXP (x1, 0, 1);
29077 31 : if (GET_CODE (x8) != SET)
29078 : return -1;
29079 31 : x15 = XEXP (x8, 1);
29080 31 : if (GET_CODE (x15) != MOD
29081 31 : || GET_MODE (x15) != E_SImode)
29082 : return -1;
29083 31 : operands[0] = x4;
29084 31 : x6 = XEXP (x5, 0);
29085 31 : operands[2] = x6;
29086 31 : if (!register_operand (operands[2], E_SImode))
29087 : return -1;
29088 6 : x16 = XEXP (x5, 1);
29089 6 : operands[3] = x16;
29090 6 : if (!nonimmediate_operand (operands[3], E_SImode))
29091 : return -1;
29092 6 : x12 = XEXP (x8, 0);
29093 6 : operands[1] = x12;
29094 6 : if (!register_operand (operands[1], E_SImode))
29095 : return -1;
29096 6 : switch (pattern1685 (x1, pnum_clobbers))
29097 : {
29098 2 : case 0:
29099 2 : if (!insn_condition_52 (operands, insn))
29100 : return -1;
29101 2 : *pnum_clobbers = 1;
29102 2 : return 675; /* divmodsi4_zext_1 */
29103 :
29104 4 : case 1:
29105 4 : if (!insn_condition_52 (operands, insn))
29106 0 : return -1;
29107 : return 687; /* *divmodsi4_zext_1 */
29108 :
29109 0 : case 2:
29110 0 : if (!insn_condition_52 (operands, insn))
29111 : return -1;
29112 0 : *pnum_clobbers = 1;
29113 0 : return 705; /* *divmodsi4_noext_zext_1 */
29114 :
29115 : default:
29116 : return -1;
29117 : }
29118 :
29119 269 : case UDIV:
29120 269 : x8 = XVECEXP (x1, 0, 1);
29121 269 : if (GET_CODE (x8) != SET)
29122 : return -1;
29123 264 : x15 = XEXP (x8, 1);
29124 264 : if (GET_CODE (x15) != UMOD
29125 264 : || GET_MODE (x15) != E_SImode)
29126 : return -1;
29127 264 : operands[0] = x4;
29128 264 : x6 = XEXP (x5, 0);
29129 264 : operands[2] = x6;
29130 264 : if (!register_operand (operands[2], E_SImode))
29131 : return -1;
29132 142 : x16 = XEXP (x5, 1);
29133 142 : operands[3] = x16;
29134 142 : x12 = XEXP (x8, 0);
29135 142 : operands[1] = x12;
29136 142 : if (!register_operand (operands[1], E_SImode))
29137 : return -1;
29138 142 : switch (pattern1621 (x1, pnum_clobbers))
29139 : {
29140 2 : case 0:
29141 2 : if (!insn_condition_52 (operands, insn))
29142 : return -1;
29143 2 : *pnum_clobbers = 1;
29144 2 : return 676; /* udivmodsi4_zext_1 */
29145 :
29146 58 : case 1:
29147 58 : if (!insn_condition_52 (operands, insn))
29148 0 : return -1;
29149 : return 688; /* *udivmodsi4_zext_1 */
29150 :
29151 0 : case 2:
29152 0 : if (!insn_condition_52 (operands, insn))
29153 : return -1;
29154 0 : *pnum_clobbers = 1;
29155 0 : return 706; /* *udivmodsi4_noext_zext_1 */
29156 :
29157 4 : case 3:
29158 4 : if (!insn_condition_2098 (operands, insn))
29159 4 : return -1;
29160 : return 689; /* *udivmodsi4_pow2_zext_1 */
29161 :
29162 : default:
29163 : return -1;
29164 : }
29165 :
29166 33 : case MOD:
29167 33 : x8 = XVECEXP (x1, 0, 1);
29168 33 : if (GET_CODE (x8) != SET)
29169 : return -1;
29170 33 : x15 = XEXP (x8, 1);
29171 33 : if (GET_CODE (x15) != DIV
29172 33 : || GET_MODE (x15) != E_SImode)
29173 : return -1;
29174 33 : operands[1] = x4;
29175 33 : x6 = XEXP (x5, 0);
29176 33 : operands[2] = x6;
29177 33 : if (!register_operand (operands[2], E_SImode))
29178 : return -1;
29179 17 : x16 = XEXP (x5, 1);
29180 17 : operands[3] = x16;
29181 17 : if (!nonimmediate_operand (operands[3], E_SImode))
29182 : return -1;
29183 7 : x12 = XEXP (x8, 0);
29184 7 : operands[0] = x12;
29185 7 : if (!register_operand (operands[0], E_SImode))
29186 : return -1;
29187 7 : switch (pattern1685 (x1, pnum_clobbers))
29188 : {
29189 1 : case 0:
29190 1 : if (!insn_condition_52 (operands, insn))
29191 : return -1;
29192 1 : *pnum_clobbers = 1;
29193 1 : return 677; /* divmodsi4_zext_2 */
29194 :
29195 6 : case 1:
29196 6 : if (!insn_condition_52 (operands, insn))
29197 0 : return -1;
29198 : return 690; /* *divmodsi4_zext_2 */
29199 :
29200 0 : case 2:
29201 0 : if (!insn_condition_52 (operands, insn))
29202 : return -1;
29203 0 : *pnum_clobbers = 1;
29204 0 : return 707; /* *divmodsi4_noext_zext_2 */
29205 :
29206 : default:
29207 : return -1;
29208 : }
29209 :
29210 163 : case UMOD:
29211 163 : x8 = XVECEXP (x1, 0, 1);
29212 163 : if (GET_CODE (x8) != SET)
29213 : return -1;
29214 163 : x15 = XEXP (x8, 1);
29215 163 : if (GET_CODE (x15) != UDIV
29216 25 : || GET_MODE (x15) != E_SImode)
29217 : return -1;
29218 25 : operands[1] = x4;
29219 25 : x6 = XEXP (x5, 0);
29220 25 : operands[2] = x6;
29221 25 : if (!register_operand (operands[2], E_SImode))
29222 : return -1;
29223 25 : x16 = XEXP (x5, 1);
29224 25 : operands[3] = x16;
29225 25 : x12 = XEXP (x8, 0);
29226 25 : operands[0] = x12;
29227 25 : if (!register_operand (operands[0], E_SImode))
29228 : return -1;
29229 25 : switch (pattern1621 (x1, pnum_clobbers))
29230 : {
29231 1 : case 0:
29232 1 : if (!insn_condition_52 (operands, insn))
29233 : return -1;
29234 1 : *pnum_clobbers = 1;
29235 1 : return 678; /* udivmodsi4_zext_2 */
29236 :
29237 24 : case 1:
29238 24 : if (!insn_condition_52 (operands, insn))
29239 0 : return -1;
29240 : return 691; /* *udivmodsi4_zext_2 */
29241 :
29242 0 : case 2:
29243 0 : if (!insn_condition_52 (operands, insn))
29244 : return -1;
29245 0 : *pnum_clobbers = 1;
29246 0 : return 708; /* *udivmodsi4_noext_zext_2 */
29247 :
29248 0 : case 3:
29249 0 : if (!insn_condition_2098 (operands, insn))
29250 0 : return -1;
29251 : return 692; /* *udivmodsi4_pow2_zext_2 */
29252 :
29253 : default:
29254 : return -1;
29255 : }
29256 :
29257 183 : case CTZ:
29258 183 : if (pattern873 (x1) != 0
29259 183 : || !insn_condition_52 (operands, insn))
29260 20 : return -1;
29261 : return 1653; /* *ctzsidi2_uext_falsedep */
29262 :
29263 3970 : case MINUS:
29264 3970 : x6 = XEXP (x5, 0);
29265 3970 : if (GET_CODE (x6) != CONST_INT
29266 3970 : || pattern874 (x1) != 0)
29267 : return -1;
29268 329 : operands[0] = x4;
29269 329 : x16 = XEXP (x5, 1);
29270 329 : if (GET_MODE (x16) != E_SImode)
29271 : return -1;
29272 329 : x8 = XVECEXP (x1, 0, 1);
29273 329 : x17 = XVECEXP (x8, 0, 0);
29274 329 : operands[2] = x17;
29275 329 : if (!register_operand (operands[2], E_DImode))
29276 : return -1;
29277 329 : switch (pattern1194 (x5))
29278 : {
29279 322 : case 0:
29280 322 : if (!insn_condition_699 (operands, insn))
29281 0 : return -1;
29282 : return 1659; /* *bsr_rex64_1_zext_falsedep */
29283 :
29284 7 : case 1:
29285 7 : if (!insn_condition_699 (operands, insn))
29286 0 : return -1;
29287 : return 1665; /* *bsr_zext_1_falsedep */
29288 :
29289 : default:
29290 : return -1;
29291 : }
29292 :
29293 0 : case CLZ:
29294 0 : if (pattern874 (x1) != 0)
29295 : return -1;
29296 0 : operands[0] = x4;
29297 0 : x6 = XEXP (x5, 0);
29298 0 : operands[1] = x6;
29299 0 : x8 = XVECEXP (x1, 0, 1);
29300 0 : x17 = XVECEXP (x8, 0, 0);
29301 0 : switch (pattern1464 (x17))
29302 : {
29303 0 : case 0:
29304 0 : if (!insn_condition_892 (operands, insn))
29305 0 : return -1;
29306 : return 1682; /* *clzsi2_lzcnt_zext_2_falsedep */
29307 :
29308 0 : case 1:
29309 0 : if (!insn_condition_933 (operands, insn))
29310 0 : return -1;
29311 : return 1683; /* *clzsi2_lzcnt_zext_2_falsedep */
29312 :
29313 : default:
29314 : return -1;
29315 : }
29316 :
29317 1 : case POPCOUNT:
29318 1 : if (pattern873 (x1) != 0
29319 1 : || !insn_condition_727 (operands, insn))
29320 0 : return -1;
29321 : return 1773; /* *popcountsi2_zext_2_falsedep */
29322 :
29323 : default:
29324 : return -1;
29325 : }
29326 : }
29327 :
29328 : int
29329 2842668 : recog_445 (rtx x1 ATTRIBUTE_UNUSED,
29330 : rtx_insn *insn ATTRIBUTE_UNUSED,
29331 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29332 : {
29333 2842668 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29334 2842668 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29335 2842668 : rtx x10, x11;
29336 2842668 : int res ATTRIBUTE_UNUSED;
29337 2842668 : x2 = XVECEXP (x1, 0, 2);
29338 2842668 : if (GET_CODE (x2) != CLOBBER)
29339 : return -1;
29340 1794026 : x3 = XEXP (x2, 0);
29341 1794026 : if (GET_CODE (x3) != MEM
29342 1794026 : || GET_MODE (x3) != E_BLKmode)
29343 : return -1;
29344 1794026 : x4 = XEXP (x3, 0);
29345 1794026 : if (GET_CODE (x4) != SCRATCH)
29346 : return -1;
29347 1794026 : x5 = XVECEXP (x1, 0, 0);
29348 1794026 : x6 = XEXP (x5, 1);
29349 1794026 : x7 = XEXP (x6, 0);
29350 1794026 : if (GET_CODE (x7) == REG
29351 1794026 : && REGNO (x7) == 6)
29352 : {
29353 275223 : x8 = XEXP (x6, 1);
29354 275223 : if (GET_CODE (x8) == CONST_INT)
29355 : {
29356 275223 : x9 = XEXP (x5, 0);
29357 275223 : if (GET_CODE (x9) == REG
29358 275223 : && REGNO (x9) == 7)
29359 : {
29360 275223 : x10 = XVECEXP (x1, 0, 1);
29361 275223 : if (pattern750 (x10,
29362 : 6,
29363 : MEM) == 0)
29364 : {
29365 247714 : switch (XWINT (x8, 0))
29366 : {
29367 7989 : case 4L:
29368 7989 : if (pattern1746 (x1,
29369 : E_SImode) == 0
29370 7989 : && insn_condition_51 (operands, insn))
29371 : return 1634; /* *leave */
29372 : break;
29373 :
29374 239725 : case 8L:
29375 239725 : if (pattern1746 (x1,
29376 : E_DImode) == 0
29377 239725 : && insn_condition_52 (operands, insn))
29378 : return 1635; /* *leave_rex64 */
29379 : break;
29380 :
29381 : default:
29382 : break;
29383 : }
29384 : }
29385 : }
29386 : }
29387 : }
29388 1546312 : x10 = XVECEXP (x1, 0, 1);
29389 1546312 : if (GET_CODE (x10) != CLOBBER)
29390 : return -1;
29391 1546312 : x11 = XEXP (x10, 0);
29392 1546312 : if (GET_CODE (x11) != REG
29393 1546312 : || REGNO (x11) != 17
29394 3092624 : || GET_MODE (x11) != E_CCmode)
29395 : return -1;
29396 1546312 : x9 = XEXP (x5, 0);
29397 1546312 : operands[0] = x9;
29398 1546312 : operands[1] = x7;
29399 1546312 : x8 = XEXP (x6, 1);
29400 1546312 : operands[2] = x8;
29401 1546312 : switch (GET_MODE (operands[0]))
29402 : {
29403 304716 : case E_SImode:
29404 304716 : if (pattern1465 (x6,
29405 : E_SImode) != 0
29406 304716 : || !insn_condition_951 (operands, insn))
29407 0 : return -1;
29408 : return 2010; /* pro_epilogue_adjust_stack_add_si */
29409 :
29410 1241596 : case E_DImode:
29411 1241596 : if (pattern1465 (x6,
29412 : E_DImode) != 0
29413 1241596 : || !insn_condition_952 (operands, insn))
29414 0 : return -1;
29415 : return 2011; /* pro_epilogue_adjust_stack_add_di */
29416 :
29417 : default:
29418 : return -1;
29419 : }
29420 : }
29421 :
29422 : int
29423 615590 : recog_449 (rtx x1 ATTRIBUTE_UNUSED,
29424 : rtx_insn *insn ATTRIBUTE_UNUSED,
29425 : int *pnum_clobbers ATTRIBUTE_UNUSED)
29426 : {
29427 615590 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29428 615590 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
29429 615590 : rtx x10, x11, x12, x13, x14, x15, x16;
29430 615590 : int res ATTRIBUTE_UNUSED;
29431 615590 : x2 = XVECEXP (x1, 0, 0);
29432 615590 : if (GET_CODE (x2) != SET)
29433 : return -1;
29434 540075 : x3 = XVECEXP (x1, 0, 3);
29435 540075 : if (GET_CODE (x3) != CLOBBER)
29436 : return -1;
29437 148630 : x4 = XEXP (x2, 1);
29438 148630 : switch (GET_CODE (x4))
29439 : {
29440 0 : case UNSIGNED_FIX:
29441 0 : switch (pattern426 (x1))
29442 : {
29443 0 : case 0:
29444 0 : if (!insn_condition_2099 (operands, insn))
29445 : return -1;
29446 : return 228; /* *fixuns_truncsf_1 */
29447 :
29448 0 : case 1:
29449 0 : if (!insn_condition_2099 (operands, insn))
29450 : return -1;
29451 : return 229; /* *fixuns_truncdf_1 */
29452 :
29453 : default:
29454 : return -1;
29455 : }
29456 :
29457 7870 : case FIX:
29458 7870 : if (GET_MODE (x4) != E_DImode)
29459 : return -1;
29460 7870 : x5 = XVECEXP (x1, 0, 1);
29461 7870 : if (GET_CODE (x5) != USE)
29462 : return -1;
29463 7870 : x6 = XVECEXP (x1, 0, 2);
29464 7870 : if (GET_CODE (x6) != USE)
29465 : return -1;
29466 7870 : x7 = XEXP (x2, 0);
29467 7870 : operands[0] = x7;
29468 7870 : if (!nonimmediate_operand (operands[0], E_DImode))
29469 : return -1;
29470 7870 : x8 = XEXP (x4, 0);
29471 7870 : operands[1] = x8;
29472 7870 : if (!register_operand (operands[1], E_VOIDmode))
29473 : return -1;
29474 7603 : x9 = XEXP (x5, 0);
29475 7603 : operands[2] = x9;
29476 7603 : if (!memory_operand (operands[2], E_HImode))
29477 : return -1;
29478 7603 : x10 = XEXP (x6, 0);
29479 7603 : operands[3] = x10;
29480 7603 : if (!memory_operand (operands[3], E_HImode))
29481 : return -1;
29482 7603 : x11 = XEXP (x3, 0);
29483 7603 : operands[4] = x11;
29484 7603 : if (!scratch_operand (operands[4], E_XFmode)
29485 7603 : || !insn_condition_2241 (operands, insn))
29486 : return -1;
29487 : return 240; /* fix_truncdi_i387 */
29488 :
29489 1982 : case FLOAT:
29490 1982 : switch (pattern428 (x1))
29491 : {
29492 15 : case 0:
29493 15 : if (!insn_condition_2100 (operands, insn))
29494 : return -1;
29495 : return 259; /* floatdisf2_i387_with_xmm */
29496 :
29497 735 : case 1:
29498 735 : if (!insn_condition_2101 (operands, insn))
29499 : return -1;
29500 : return 260; /* floatdidf2_i387_with_xmm */
29501 :
29502 1229 : case 2:
29503 1229 : if (!insn_condition_2102 (operands, insn))
29504 : return -1;
29505 : return 261; /* floatdixf2_i387_with_xmm */
29506 :
29507 : default:
29508 : return -1;
29509 : }
29510 :
29511 68406 : case DIV:
29512 68406 : switch (pattern433 (x1,
29513 : MOD))
29514 : {
29515 : case 0:
29516 : return 671; /* divmodsi4_1 */
29517 :
29518 7 : case 1:
29519 7 : if (!insn_condition_52 (operands, insn))
29520 : return -1;
29521 : return 672; /* divmoddi4_1 */
29522 :
29523 520 : case 2:
29524 520 : if (!insn_condition_2218 (operands, insn))
29525 : return -1;
29526 : return 699; /* *divmodhi4_noext */
29527 :
29528 19967 : case 3:
29529 19967 : return 701; /* *divmodsi4_noext */
29530 :
29531 47898 : case 4:
29532 47898 : if (!insn_condition_52 (operands, insn))
29533 : return -1;
29534 : return 703; /* *divmoddi4_noext */
29535 :
29536 : default:
29537 : return -1;
29538 : }
29539 :
29540 42007 : case UDIV:
29541 42007 : switch (pattern433 (x1,
29542 : UMOD))
29543 : {
29544 : case 0:
29545 : return 673; /* udivmodsi4_1 */
29546 :
29547 6 : case 1:
29548 6 : if (!insn_condition_52 (operands, insn))
29549 : return -1;
29550 : return 674; /* udivmoddi4_1 */
29551 :
29552 252 : case 2:
29553 252 : if (!insn_condition_2218 (operands, insn))
29554 : return -1;
29555 : return 700; /* *udivmodhi4_noext */
29556 :
29557 8432 : case 3:
29558 8432 : return 702; /* *udivmodsi4_noext */
29559 :
29560 33305 : case 4:
29561 33305 : if (!insn_condition_52 (operands, insn))
29562 : return -1;
29563 : return 704; /* *udivmoddi4_noext */
29564 :
29565 : default:
29566 : return -1;
29567 : }
29568 :
29569 262 : case ZERO_EXTEND:
29570 262 : if (GET_MODE (x4) != E_DImode)
29571 : return -1;
29572 262 : x5 = XVECEXP (x1, 0, 1);
29573 262 : if (GET_CODE (x5) != SET)
29574 : return -1;
29575 262 : x11 = XEXP (x3, 0);
29576 262 : if (GET_CODE (x11) != REG
29577 262 : || REGNO (x11) != 17
29578 524 : || GET_MODE (x11) != E_CCmode)
29579 : return -1;
29580 262 : x7 = XEXP (x2, 0);
29581 262 : if (!register_operand (x7, E_DImode))
29582 : return -1;
29583 262 : x8 = XEXP (x4, 0);
29584 262 : if (GET_MODE (x8) != E_SImode)
29585 : return -1;
29586 262 : x9 = XEXP (x5, 0);
29587 262 : if (!register_operand (x9, E_SImode))
29588 : return -1;
29589 262 : x12 = XEXP (x5, 1);
29590 262 : if (GET_MODE (x12) != E_SImode)
29591 : return -1;
29592 262 : switch (GET_CODE (x8))
29593 : {
29594 19 : case DIV:
29595 19 : switch (pattern1542 (x1,
29596 : MOD))
29597 : {
29598 4 : case 0:
29599 4 : if (!insn_condition_52 (operands, insn))
29600 : return -1;
29601 : return 675; /* divmodsi4_zext_1 */
29602 :
29603 15 : case 1:
29604 15 : if (!insn_condition_52 (operands, insn))
29605 : return -1;
29606 : return 705; /* *divmodsi4_noext_zext_1 */
29607 :
29608 : default:
29609 : return -1;
29610 : }
29611 :
29612 158 : case UDIV:
29613 158 : switch (pattern1542 (x1,
29614 : UMOD))
29615 : {
29616 4 : case 0:
29617 4 : if (!insn_condition_52 (operands, insn))
29618 : return -1;
29619 : return 676; /* udivmodsi4_zext_1 */
29620 :
29621 154 : case 1:
29622 154 : if (!insn_condition_52 (operands, insn))
29623 : return -1;
29624 : return 706; /* *udivmodsi4_noext_zext_1 */
29625 :
29626 : default:
29627 : return -1;
29628 : }
29629 :
29630 12 : case MOD:
29631 12 : switch (pattern1543 (x1,
29632 : DIV))
29633 : {
29634 2 : case 0:
29635 2 : if (!insn_condition_52 (operands, insn))
29636 : return -1;
29637 : return 677; /* divmodsi4_zext_2 */
29638 :
29639 10 : case 1:
29640 10 : if (!insn_condition_52 (operands, insn))
29641 : return -1;
29642 : return 707; /* *divmodsi4_noext_zext_2 */
29643 :
29644 : default:
29645 : return -1;
29646 : }
29647 :
29648 73 : case UMOD:
29649 73 : switch (pattern1543 (x1,
29650 : UDIV))
29651 : {
29652 2 : case 0:
29653 2 : if (!insn_condition_52 (operands, insn))
29654 : return -1;
29655 : return 678; /* udivmodsi4_zext_2 */
29656 :
29657 71 : case 1:
29658 71 : if (!insn_condition_52 (operands, insn))
29659 : return -1;
29660 : return 708; /* *udivmodsi4_noext_zext_2 */
29661 :
29662 : default:
29663 : return -1;
29664 : }
29665 :
29666 : default:
29667 : return -1;
29668 : }
29669 :
29670 12802 : case UNSPEC:
29671 12802 : x7 = XEXP (x2, 0);
29672 12802 : operands[0] = x7;
29673 12802 : switch (XVECLEN (x4, 0))
29674 : {
29675 12025 : case 4:
29676 12025 : if (XINT (x4, 1) != 19
29677 12025 : || pattern855 (x4) != 0
29678 12025 : || pattern1288 (x1) != 0
29679 23540 : || !tls_symbolic_operand (operands[2], E_VOIDmode))
29680 : return -1;
29681 11515 : x13 = XVECEXP (x4, 0, 2);
29682 11515 : operands[3] = x13;
29683 11515 : if (!constant_call_address_operand (operands[3], E_VOIDmode))
29684 : return -1;
29685 11515 : x5 = XVECEXP (x1, 0, 1);
29686 11515 : x9 = XEXP (x5, 0);
29687 11515 : operands[4] = x9;
29688 11515 : if (!scratch_operand (operands[4], E_SImode))
29689 : return -1;
29690 11515 : x6 = XVECEXP (x1, 0, 2);
29691 11515 : x10 = XEXP (x6, 0);
29692 11515 : operands[5] = x10;
29693 11515 : if (!scratch_operand (operands[5], E_SImode)
29694 11515 : || !insn_condition_915 (operands, insn))
29695 : return -1;
29696 : return 1788; /* *tls_global_dynamic_32_gnu */
29697 :
29698 555 : case 3:
29699 555 : if (XINT (x4, 1) != 20
29700 555 : || GET_MODE (x4) != E_SImode)
29701 : return -1;
29702 555 : x13 = XVECEXP (x4, 0, 2);
29703 555 : if (GET_CODE (x13) != REG
29704 555 : || REGNO (x13) != 7
29705 555 : || GET_MODE (x13) != E_SImode
29706 555 : || pattern1288 (x1) != 0
29707 1110 : || !constant_call_address_operand (operands[2], E_VOIDmode))
29708 : return -1;
29709 555 : x5 = XVECEXP (x1, 0, 1);
29710 555 : x9 = XEXP (x5, 0);
29711 555 : operands[3] = x9;
29712 555 : if (!scratch_operand (operands[3], E_SImode))
29713 : return -1;
29714 555 : x6 = XVECEXP (x1, 0, 2);
29715 555 : x10 = XEXP (x6, 0);
29716 555 : operands[4] = x10;
29717 555 : if (!scratch_operand (operands[4], E_SImode)
29718 555 : || !insn_condition_915 (operands, insn))
29719 : return -1;
29720 : return 1792; /* *tls_local_dynamic_base_32_gnu */
29721 :
29722 222 : case 1:
29723 222 : x5 = XVECEXP (x1, 0, 1);
29724 222 : if (GET_CODE (x5) != USE)
29725 : return -1;
29726 222 : x6 = XVECEXP (x1, 0, 2);
29727 222 : if (GET_CODE (x6) != USE
29728 222 : || !nonimmediate_operand (operands[0], E_DImode)
29729 444 : || GET_MODE (x4) != E_DImode)
29730 : return -1;
29731 222 : x14 = XVECEXP (x4, 0, 0);
29732 222 : operands[1] = x14;
29733 222 : if (!register_operand (operands[1], E_XFmode))
29734 : return -1;
29735 168 : x9 = XEXP (x5, 0);
29736 168 : operands[2] = x9;
29737 168 : if (!memory_operand (operands[2], E_HImode))
29738 : return -1;
29739 168 : x10 = XEXP (x6, 0);
29740 168 : operands[3] = x10;
29741 168 : if (!memory_operand (operands[3], E_HImode))
29742 : return -1;
29743 168 : x11 = XEXP (x3, 0);
29744 168 : operands[4] = x11;
29745 168 : if (!scratch_operand (operands[4], E_XFmode))
29746 : return -1;
29747 168 : switch (XINT (x4, 1))
29748 : {
29749 120 : case 75:
29750 120 : if (!insn_condition_109 (operands, insn))
29751 : return -1;
29752 : return 1889; /* fistdi2_floor */
29753 :
29754 48 : case 76:
29755 48 : if (!insn_condition_109 (operands, insn))
29756 : return -1;
29757 : return 1890; /* fistdi2_ceil */
29758 :
29759 : default:
29760 : return -1;
29761 : }
29762 :
29763 : default:
29764 : return -1;
29765 : }
29766 :
29767 0 : case PLUS:
29768 0 : if (pattern434 (x1) != 0)
29769 : return -1;
29770 : return 1796; /* *tls_local_dynamic_32_once */
29771 :
29772 25 : case UNSPEC_VOLATILE:
29773 25 : if (XVECLEN (x4, 0) != 1
29774 25 : || XINT (x4, 1) != 3)
29775 : return -1;
29776 25 : x5 = XVECEXP (x1, 0, 1);
29777 25 : if (pattern750 (x5,
29778 : 7,
29779 : MINUS) != 0)
29780 : return -1;
29781 25 : x6 = XVECEXP (x1, 0, 2);
29782 25 : if (pattern993 (x6,
29783 : E_CCmode,
29784 : 17) != 0)
29785 : return -1;
29786 25 : x11 = XEXP (x3, 0);
29787 25 : if (GET_CODE (x11) != MEM
29788 25 : || GET_MODE (x11) != E_BLKmode)
29789 : return -1;
29790 25 : x15 = XEXP (x11, 0);
29791 25 : if (GET_CODE (x15) != SCRATCH)
29792 : return -1;
29793 25 : x7 = XEXP (x2, 0);
29794 25 : operands[0] = x7;
29795 25 : x14 = XVECEXP (x4, 0, 0);
29796 25 : operands[1] = x14;
29797 25 : x12 = XEXP (x5, 1);
29798 25 : x16 = XEXP (x12, 1);
29799 25 : operands[2] = x16;
29800 25 : switch (GET_MODE (operands[0]))
29801 : {
29802 0 : case E_SImode:
29803 0 : if (pattern1844 (x1,
29804 : E_SImode) != 0
29805 0 : || !insn_condition_951 (operands, insn))
29806 : return -1;
29807 : return 2019; /* adjust_stack_and_probe_si */
29808 :
29809 25 : case E_DImode:
29810 25 : if (pattern1844 (x1,
29811 : E_DImode) != 0
29812 483095 : || !insn_condition_952 (operands, insn))
29813 : return -1;
29814 : return 2020; /* adjust_stack_and_probe_di */
29815 :
29816 : default:
29817 : return -1;
29818 : }
29819 :
29820 : default:
29821 : return -1;
29822 : }
29823 : }
29824 :
29825 : rtx_insn *
29826 135979305 : split_1 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
29827 : {
29828 135979305 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
29829 135979305 : rtx x2;
29830 135979305 : rtx_insn *res ATTRIBUTE_UNUSED;
29831 135979305 : x2 = XEXP (x1, 0);
29832 135979305 : operands[0] = x2;
29833 135979305 : switch (GET_CODE (operands[0]))
29834 : {
29835 43151609 : case MEM:
29836 43151609 : switch (GET_MODE (operands[0]))
29837 : {
29838 1522056 : case E_V1TImode:
29839 1522056 : if (push_operand (operands[0], E_V1TImode)
29840 1522056 : && register_operand (operands[1], E_V1TImode))
29841 : {
29842 544 : if (insn_condition_2318 (operands, insn))
29843 0 : return gen_split_3 (insn, operands);
29844 544 : if (insn_condition_2319 (operands, insn))
29845 272 : return gen_split_4 (insn, operands);
29846 : }
29847 : break;
29848 :
29849 17611474 : case E_DImode:
29850 17611474 : if (push_operand (operands[0], E_DImode))
29851 : {
29852 2283068 : if (general_gr_operand (operands[1], E_DImode)
29853 2283068 : && insn_condition_2320 (operands, insn))
29854 155622 : return gen_split_5 (insn, operands);
29855 2127446 : if (immediate_operand (operands[1], E_DImode)
29856 2127446 : && insn_condition_2321 (operands, insn))
29857 10799 : return gen_split_7 (insn, operands);
29858 2116647 : if (sse_reg_operand (operands[1], E_DImode))
29859 : {
29860 4098 : if (insn_condition_2322 (operands, insn))
29861 4044 : return gen_split_9 (insn, operands);
29862 54 : if (insn_condition_2323 (operands, insn))
29863 54 : return gen_split_12 (insn, operands);
29864 : }
29865 : }
29866 : break;
29867 :
29868 1905279 : case E_TImode:
29869 1905279 : if (push_operand (operands[0], E_TImode))
29870 : {
29871 26941 : if (general_gr_operand (operands[1], E_TImode)
29872 26941 : && insn_condition_174 (operands, insn))
29873 13454 : return gen_split_6 (insn, operands);
29874 13487 : if (sse_reg_operand (operands[1], E_TImode))
29875 : {
29876 15 : if (insn_condition_2324 (operands, insn))
29877 0 : return gen_split_10 (insn, operands);
29878 15 : if (insn_condition_2325 (operands, insn))
29879 15 : return gen_split_13 (insn, operands);
29880 : }
29881 : }
29882 : break;
29883 :
29884 13604669 : case E_SImode:
29885 13604669 : if (push_operand (operands[0], E_SImode)
29886 13604669 : && sse_reg_operand (operands[1], E_SImode))
29887 : {
29888 2238 : if (insn_condition_2322 (operands, insn))
29889 2238 : return gen_split_8 (insn, operands);
29890 0 : if (insn_condition_2323 (operands, insn))
29891 0 : return gen_split_11 (insn, operands);
29892 : }
29893 : break;
29894 :
29895 208579 : case E_TFmode:
29896 208579 : if (push_operand (operands[0], E_TFmode)
29897 208579 : && sse_reg_operand (operands[1], E_TFmode))
29898 : {
29899 27835 : if (insn_condition_2322 (operands, insn))
29900 27363 : return gen_split_39 (insn, operands);
29901 472 : if (insn_condition_2323 (operands, insn))
29902 472 : return gen_split_40 (insn, operands);
29903 : }
29904 : break;
29905 :
29906 255608 : case E_XFmode:
29907 255608 : if (push_operand (operands[0], E_XFmode)
29908 255608 : && fp_register_operand (operands[1], E_XFmode))
29909 : {
29910 23034 : if (insn_condition_2326 (operands, insn))
29911 648 : return gen_split_41 (insn, operands);
29912 22386 : if (insn_condition_2327 (operands, insn))
29913 22386 : return gen_split_42 (insn, operands);
29914 : }
29915 : break;
29916 :
29917 826460 : case E_DFmode:
29918 826460 : if (push_operand (operands[0], E_DFmode)
29919 826460 : && any_fp_register_operand (operands[1], E_DFmode))
29920 : {
29921 36880 : if (insn_condition_2326 (operands, insn))
29922 1270 : return gen_split_43 (insn, operands);
29923 35610 : if (insn_condition_2327 (operands, insn))
29924 35610 : return gen_split_44 (insn, operands);
29925 : }
29926 : break;
29927 :
29928 723042 : case E_SFmode:
29929 723042 : if (push_operand (operands[0], E_SFmode))
29930 : {
29931 9869 : if (any_fp_register_operand (operands[1], E_SFmode))
29932 : {
29933 3630 : if (insn_condition_2326 (operands, insn))
29934 228 : return gen_split_45 (insn, operands);
29935 3402 : if (insn_condition_2327 (operands, insn))
29936 3402 : return gen_split_48 (insn, operands);
29937 : }
29938 6239 : if (memory_operand (operands[1], E_SFmode)
29939 6239 : && insn_condition_2328 (operands, insn))
29940 55 : return gen_split_51 (insn, operands);
29941 : }
29942 : break;
29943 :
29944 53762 : case E_HFmode:
29945 53762 : if (push_operand (operands[0], E_HFmode)
29946 53762 : && any_fp_register_operand (operands[1], E_HFmode))
29947 : {
29948 44 : if (insn_condition_2326 (operands, insn))
29949 0 : return gen_split_46 (insn, operands);
29950 44 : if (insn_condition_2327 (operands, insn))
29951 44 : return gen_split_49 (insn, operands);
29952 : }
29953 : break;
29954 :
29955 6363 : case E_BFmode:
29956 6363 : if (push_operand (operands[0], E_BFmode)
29957 6363 : && any_fp_register_operand (operands[1], E_BFmode))
29958 : {
29959 0 : if (insn_condition_2326 (operands, insn))
29960 0 : return gen_split_47 (insn, operands);
29961 0 : if (insn_condition_2327 (operands, insn))
29962 0 : return gen_split_50 (insn, operands);
29963 : }
29964 : break;
29965 :
29966 : default:
29967 : break;
29968 : }
29969 : break;
29970 :
29971 85131448 : case REG:
29972 85131448 : switch (GET_MODE (operands[0]))
29973 : {
29974 2221522 : case E_TImode:
29975 2221522 : if (sse_reg_operand (operands[0], E_TImode)
29976 261458 : && general_reg_operand (operands[1], E_TImode)
29977 2221522 : && insn_condition_2329 (operands, insn))
29978 451 : return gen_split_20 (insn, operands);
29979 2221071 : if (general_reg_operand (operands[0], E_TImode)
29980 2221071 : && sse_reg_operand (operands[1], E_TImode))
29981 : {
29982 2297 : if (insn_condition_2330 (operands, insn))
29983 330 : return gen_split_22 (insn, operands);
29984 1967 : if (insn_condition_2331 (operands, insn))
29985 1967 : return gen_split_23 (insn, operands);
29986 : }
29987 : break;
29988 :
29989 49821176 : case E_DImode:
29990 49821176 : if (general_reg_operand (operands[0], E_DImode)
29991 38953455 : && sse_reg_operand (operands[1], E_DImode)
29992 49821176 : && insn_condition_2332 (operands, insn))
29993 0 : return gen_split_21 (insn, operands);
29994 : break;
29995 :
29996 : default:
29997 : break;
29998 : }
29999 : break;
30000 :
30001 : default:
30002 : break;
30003 : }
30004 135698581 : switch (GET_MODE (operands[0]))
30005 : {
30006 67480584 : case E_DImode:
30007 67480584 : if (nonimmediate_gr_operand (operands[0], E_DImode)
30008 54476029 : && general_gr_operand (operands[1], E_DImode)
30009 67480584 : && insn_condition_2320 (operands, insn))
30010 166415 : return gen_split_24 (insn, operands);
30011 67314169 : if (sse_reg_operand (operands[0], E_DImode)
30012 360931 : && general_reg_operand (operands[1], E_DImode)
30013 67314169 : && insn_condition_2333 (operands, insn))
30014 4 : return gen_split_26 (insn, operands);
30015 : break;
30016 :
30017 4126419 : case E_TImode:
30018 4126419 : if (nonimmediate_gr_operand (operands[0], E_TImode)
30019 2861813 : && general_gr_operand (operands[1], E_TImode)
30020 4126419 : && insn_condition_174 (operands, insn))
30021 1678270 : return gen_split_25 (insn, operands);
30022 : break;
30023 :
30024 : default:
30025 : break;
30026 : }
30027 133853892 : if (push_operand (operands[0], E_VOIDmode)
30028 7052020 : && general_gr_operand (operands[1], E_VOIDmode)
30029 133853892 : && insn_condition_2334 (operands, insn))
30030 28055 : return gen_split_52 (insn, operands);
30031 133825837 : switch (GET_MODE (operands[0]))
30032 : {
30033 595706 : case E_TFmode:
30034 595706 : if (nonimmediate_gr_operand (operands[0], E_TFmode)
30035 152723 : && general_gr_operand (operands[1], E_TFmode)
30036 596864 : && insn_condition_170 (operands, insn))
30037 1152 : return gen_split_53 (insn, operands);
30038 : break;
30039 :
30040 899882 : case E_XFmode:
30041 899882 : if (nonimmediate_gr_operand (operands[0], E_XFmode)
30042 186792 : && general_gr_operand (operands[1], E_XFmode)
30043 902702 : && insn_condition_170 (operands, insn))
30044 2649 : return gen_split_54 (insn, operands);
30045 : break;
30046 :
30047 2737003 : case E_DFmode:
30048 2737003 : if (nonimmediate_gr_operand (operands[0], E_DFmode)
30049 797387 : && general_gr_operand (operands[1], E_DFmode)
30050 2737003 : && insn_condition_2335 (operands, insn))
30051 793 : return gen_split_55 (insn, operands);
30052 : break;
30053 :
30054 : default:
30055 : break;
30056 : }
30057 133821243 : if (any_fp_register_operand (operands[0], E_VOIDmode)
30058 7653439 : && memory_operand (operands[1], E_VOIDmode)
30059 138877731 : && insn_condition_2336 (operands, insn))
30060 65858 : return gen_split_56 (insn, operands);
30061 133755385 : if (fp_register_operand (operands[0], E_SFmode)
30062 24238 : && immediate_operand (operands[1], E_SFmode)
30063 133761058 : && insn_condition_2337 (operands, insn))
30064 36 : return gen_split_58 (insn, operands);
30065 133755349 : if (fp_register_operand (operands[0], E_DFmode)
30066 36795 : && immediate_operand (operands[1], E_DFmode)
30067 133758825 : && insn_condition_2337 (operands, insn))
30068 78 : return gen_split_59 (insn, operands);
30069 133755271 : if (!fp_register_operand (operands[0], E_XFmode)
30070 413560 : || !immediate_operand (operands[1], E_XFmode)
30071 133827897 : || !insn_condition_2337 (operands, insn))
30072 : return NULL;
30073 12004 : return gen_split_60 (insn, operands);
30074 : }
30075 :
30076 : rtx_insn *
30077 2684 : split_7 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30078 : {
30079 2684 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30080 2684 : rtx x2, x3, x4, x5;
30081 2684 : rtx_insn *res ATTRIBUTE_UNUSED;
30082 2684 : x2 = XEXP (x1, 0);
30083 2684 : operands[0] = x2;
30084 2684 : x3 = XEXP (x1, 1);
30085 2684 : x4 = XEXP (x3, 0);
30086 2684 : operands[1] = x4;
30087 2684 : switch (GET_CODE (operands[1]))
30088 : {
30089 342 : case CONST_INT:
30090 342 : switch (pattern604 (x3))
30091 : {
30092 24 : case 0:
30093 24 : if (!insn_condition_2371 (operands, insn))
30094 : return NULL;
30095 24 : return gen_split_732 (insn, operands);
30096 :
30097 0 : case 1:
30098 0 : if (!insn_condition_2372 (operands, insn))
30099 : return NULL;
30100 0 : return gen_split_734 (insn, operands);
30101 :
30102 30 : case 2:
30103 30 : if (!insn_condition_2373 (operands, insn))
30104 : return NULL;
30105 30 : return gen_split_736 (insn, operands);
30106 :
30107 43 : case 3:
30108 43 : if (!insn_condition_2374 (operands, insn))
30109 : return NULL;
30110 27 : return gen_split_738 (insn, operands);
30111 :
30112 0 : case 4:
30113 0 : if (!insn_condition_2375 (operands, insn))
30114 : return NULL;
30115 0 : return gen_split_764 (insn, operands);
30116 :
30117 0 : case 5:
30118 0 : if (!insn_condition_2376 (operands, insn))
30119 : return NULL;
30120 0 : return gen_split_766 (insn, operands);
30121 :
30122 0 : case 6:
30123 0 : if (!insn_condition_2377 (operands, insn))
30124 : return NULL;
30125 0 : return gen_split_768 (insn, operands);
30126 :
30127 0 : case 7:
30128 0 : if (!insn_condition_2378 (operands, insn))
30129 : return NULL;
30130 0 : return gen_split_770 (insn, operands);
30131 :
30132 0 : case 8:
30133 0 : if (!insn_condition_2375 (operands, insn))
30134 : return NULL;
30135 0 : return gen_split_796 (insn, operands);
30136 :
30137 0 : case 9:
30138 0 : if (!insn_condition_2376 (operands, insn))
30139 : return NULL;
30140 0 : return gen_split_798 (insn, operands);
30141 :
30142 0 : case 10:
30143 0 : if (!insn_condition_2377 (operands, insn))
30144 : return NULL;
30145 0 : return gen_split_800 (insn, operands);
30146 :
30147 0 : case 11:
30148 0 : if (!insn_condition_2378 (operands, insn))
30149 : return NULL;
30150 0 : return gen_split_802 (insn, operands);
30151 :
30152 0 : case 12:
30153 0 : if (!insn_condition_2379 (operands, insn))
30154 : return NULL;
30155 0 : return gen_split_748 (insn, operands);
30156 :
30157 0 : case 13:
30158 0 : if (!insn_condition_2380 (operands, insn))
30159 : return NULL;
30160 0 : return gen_split_750 (insn, operands);
30161 :
30162 2 : case 14:
30163 2 : if (!insn_condition_2381 (operands, insn))
30164 : return NULL;
30165 2 : return gen_split_752 (insn, operands);
30166 :
30167 2 : case 15:
30168 2 : if (!insn_condition_2382 (operands, insn))
30169 : return NULL;
30170 2 : return gen_split_754 (insn, operands);
30171 :
30172 0 : case 16:
30173 0 : if (!insn_condition_2375 (operands, insn))
30174 : return NULL;
30175 0 : return gen_split_780 (insn, operands);
30176 :
30177 0 : case 17:
30178 0 : if (!insn_condition_2376 (operands, insn))
30179 : return NULL;
30180 0 : return gen_split_782 (insn, operands);
30181 :
30182 9 : case 18:
30183 9 : if (!insn_condition_2377 (operands, insn))
30184 : return NULL;
30185 4 : return gen_split_784 (insn, operands);
30186 :
30187 6 : case 19:
30188 6 : if (!insn_condition_2378 (operands, insn))
30189 : return NULL;
30190 0 : return gen_split_786 (insn, operands);
30191 :
30192 0 : case 20:
30193 0 : if (!insn_condition_2375 (operands, insn))
30194 : return NULL;
30195 0 : return gen_split_812 (insn, operands);
30196 :
30197 0 : case 21:
30198 0 : if (!insn_condition_2376 (operands, insn))
30199 : return NULL;
30200 0 : return gen_split_814 (insn, operands);
30201 :
30202 2 : case 22:
30203 2 : if (!insn_condition_2377 (operands, insn))
30204 : return NULL;
30205 0 : return gen_split_816 (insn, operands);
30206 :
30207 2 : case 23:
30208 2 : if (!insn_condition_2378 (operands, insn))
30209 : return NULL;
30210 0 : return gen_split_818 (insn, operands);
30211 :
30212 : default:
30213 : return NULL;
30214 : }
30215 :
30216 1074 : case REG:
30217 1074 : case SUBREG:
30218 1074 : case MEM:
30219 1074 : x5 = XEXP (x3, 1);
30220 1074 : if (GET_CODE (x5) != CONST_INT)
30221 : return NULL;
30222 835 : switch (XWINT (x5, 0))
30223 : {
30224 1 : case 32L:
30225 1 : if (register_operand (operands[0], E_DImode)
30226 0 : && GET_MODE (x3) == E_DImode
30227 0 : && register_operand (operands[1], E_DImode)
30228 1 : && insn_condition_2383 (operands, insn))
30229 0 : return gen_split_824 (insn, operands);
30230 : break;
30231 :
30232 11 : case 64L:
30233 11 : if (register_operand (operands[0], E_TImode)
30234 8 : && GET_MODE (x3) == E_TImode
30235 8 : && register_operand (operands[1], E_TImode)
30236 11 : && insn_condition_2384 (operands, insn))
30237 3 : return gen_split_826 (insn, operands);
30238 : break;
30239 :
30240 : default:
30241 : break;
30242 : }
30243 832 : operands[2] = x5;
30244 832 : if (!const_int_operand (operands[2], E_QImode))
30245 : return NULL;
30246 832 : switch (pattern164 (x3))
30247 : {
30248 0 : case 0:
30249 0 : if (!insn_condition_2385 (operands, insn))
30250 : return NULL;
30251 0 : return gen_split_830 (insn, operands);
30252 :
30253 0 : case 1:
30254 0 : if (!insn_condition_2386 (operands, insn))
30255 : return NULL;
30256 0 : return gen_split_831 (insn, operands);
30257 :
30258 : default:
30259 : return NULL;
30260 : }
30261 :
30262 : default:
30263 : return NULL;
30264 : }
30265 : }
30266 :
30267 : rtx_insn *
30268 729796 : split_9 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30269 : {
30270 729796 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30271 729796 : rtx_insn *res ATTRIBUTE_UNUSED;
30272 729796 : switch (pattern74 (x1))
30273 : {
30274 97710 : case 0:
30275 97710 : if (!insn_condition_2353 (operands, insn))
30276 : return NULL;
30277 48886 : return gen_split_31 (insn, operands);
30278 :
30279 7755 : case 1:
30280 7755 : if (!insn_condition_2354 (operands, insn))
30281 : return NULL;
30282 4570 : return gen_split_34 (insn, operands);
30283 :
30284 47 : case 2:
30285 47 : if (!insn_condition_2355 (operands, insn))
30286 : return NULL;
30287 2 : return gen_split_37 (insn, operands);
30288 :
30289 8 : case 3:
30290 8 : if (!insn_condition_2387 (operands, insn))
30291 : return NULL;
30292 4 : return gen_split_168 (insn, operands);
30293 :
30294 0 : case 4:
30295 0 : if (!insn_condition_2387 (operands, insn))
30296 : return NULL;
30297 0 : return gen_split_170 (insn, operands);
30298 :
30299 1478 : case 5:
30300 1478 : if (!insn_condition_2388 (operands, insn))
30301 : return NULL;
30302 739 : return gen_split_172 (insn, operands);
30303 :
30304 352 : case 6:
30305 352 : if (register_operand (operands[0], E_DImode)
30306 235 : && register_no_SP_operand (operands[1], E_DImode)
30307 233 : && const_0_to_3_operand (operands[2], E_VOIDmode)
30308 160 : && const_int_operand (operands[3], E_VOIDmode)
30309 512 : && insn_condition_2389 (operands, insn))
30310 80 : return gen_split_174 (insn, operands);
30311 272 : if (!nonimmediate_operand (operands[0], E_DImode)
30312 248 : || !register_operand (operands[1], E_DImode)
30313 246 : || !const_int_operand (operands[2], E_QImode)
30314 244 : || !const_scalar_int_operand (operands[3], E_DImode)
30315 516 : || !insn_condition_2359 (operands, insn))
30316 : return NULL;
30317 0 : return gen_split_481 (insn, operands);
30318 :
30319 7 : case 7:
30320 7 : if (!insn_condition_2360 (operands, insn))
30321 : return NULL;
30322 0 : return gen_split_484 (insn, operands);
30323 :
30324 445 : case 8:
30325 445 : if (!insn_condition_2361 (operands, insn))
30326 : return NULL;
30327 123 : return gen_split_445 (insn, operands);
30328 :
30329 2916 : case 9:
30330 2916 : if (!insn_condition_2362 (operands, insn))
30331 : return NULL;
30332 1458 : return gen_split_448 (insn, operands);
30333 :
30334 54 : case 10:
30335 54 : if (!insn_condition_2363 (operands, insn))
30336 : return NULL;
30337 0 : return gen_split_577 (insn, operands);
30338 :
30339 48 : case 11:
30340 48 : if (!insn_condition_2364 (operands, insn))
30341 : return NULL;
30342 0 : return gen_split_589 (insn, operands);
30343 :
30344 24 : case 12:
30345 24 : if (!insn_condition_2361 (operands, insn))
30346 : return NULL;
30347 12 : return gen_split_457 (insn, operands);
30348 :
30349 2 : case 13:
30350 2 : if (!insn_condition_2362 (operands, insn))
30351 : return NULL;
30352 1 : return gen_split_463 (insn, operands);
30353 :
30354 23 : case 14:
30355 23 : if (!insn_condition_2365 (operands, insn))
30356 : return NULL;
30357 0 : return gen_split_487 (insn, operands);
30358 :
30359 0 : case 15:
30360 0 : if (!insn_condition_2366 (operands, insn))
30361 : return NULL;
30362 0 : return gen_split_493 (insn, operands);
30363 :
30364 282 : case 16:
30365 282 : if (!insn_condition_2361 (operands, insn))
30366 : return NULL;
30367 137 : return gen_split_460 (insn, operands);
30368 :
30369 97204 : case 17:
30370 97204 : if (!insn_condition_2362 (operands, insn))
30371 : return NULL;
30372 46615 : return gen_split_466 (insn, operands);
30373 :
30374 3 : case 18:
30375 3 : if (!insn_condition_2365 (operands, insn))
30376 : return NULL;
30377 0 : return gen_split_490 (insn, operands);
30378 :
30379 2724 : case 19:
30380 2724 : if (!insn_condition_2366 (operands, insn))
30381 : return NULL;
30382 2721 : return gen_split_496 (insn, operands);
30383 :
30384 0 : case 20:
30385 0 : if (!insn_condition_2367 (operands, insn))
30386 : return NULL;
30387 0 : return gen_split_451 (insn, operands);
30388 :
30389 0 : case 21:
30390 0 : if (!insn_condition_2368 (operands, insn))
30391 : return NULL;
30392 0 : return gen_split_454 (insn, operands);
30393 :
30394 0 : case 22:
30395 0 : if (!insn_condition_2367 (operands, insn))
30396 : return NULL;
30397 0 : return gen_split_469 (insn, operands);
30398 :
30399 0 : case 23:
30400 0 : if (!insn_condition_2368 (operands, insn))
30401 : return NULL;
30402 0 : return gen_split_475 (insn, operands);
30403 :
30404 0 : case 24:
30405 0 : if (!insn_condition_2367 (operands, insn))
30406 : return NULL;
30407 0 : return gen_split_472 (insn, operands);
30408 :
30409 0 : case 25:
30410 0 : if (!insn_condition_2368 (operands, insn))
30411 : return NULL;
30412 0 : return gen_split_478 (insn, operands);
30413 :
30414 43 : case 26:
30415 43 : if (!insn_condition_2369 (operands, insn))
30416 : return NULL;
30417 21 : return gen_split_499 (insn, operands);
30418 :
30419 1518 : case 27:
30420 1518 : if (!insn_condition_2370 (operands, insn))
30421 : return NULL;
30422 1503 : return gen_split_502 (insn, operands);
30423 :
30424 135 : case 28:
30425 135 : if (!insn_condition_2363 (operands, insn))
30426 : return NULL;
30427 0 : return gen_split_640 (insn, operands);
30428 :
30429 64 : case 29:
30430 64 : if (!insn_condition_2364 (operands, insn))
30431 : return NULL;
30432 0 : return gen_split_652 (insn, operands);
30433 :
30434 : default:
30435 : return NULL;
30436 : }
30437 : }
30438 :
30439 : rtx_insn *
30440 204486406 : split_14 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
30441 : {
30442 204486406 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
30443 204486406 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
30444 204486406 : rtx_insn *res ATTRIBUTE_UNUSED;
30445 204486406 : x2 = XEXP (x1, 1);
30446 204486406 : switch (GET_CODE (x2))
30447 : {
30448 17901995 : case COMPARE:
30449 17901995 : return split_5 (x1, insn);
30450 :
30451 135979305 : case CONST_INT:
30452 135979305 : case CONST_WIDE_INT:
30453 135979305 : case CONST_POLY_INT:
30454 135979305 : case CONST_FIXED:
30455 135979305 : case CONST_DOUBLE:
30456 135979305 : case CONST_VECTOR:
30457 135979305 : case CONST:
30458 135979305 : case REG:
30459 135979305 : case SUBREG:
30460 135979305 : case MEM:
30461 135979305 : case LABEL_REF:
30462 135979305 : case SYMBOL_REF:
30463 135979305 : case HIGH:
30464 135979305 : operands[1] = x2;
30465 135979305 : res = split_1 (x1, insn);
30466 135979305 : if (res != NULL_RTX)
30467 : return res;
30468 133743267 : switch (GET_CODE (x2))
30469 : {
30470 55807632 : case REG:
30471 55807632 : if (REGNO (x2) != 17
30472 0 : || pattern79 (x1,
30473 : E_CCCmode,
30474 : 17) != 0
30475 55807632 : || !insn_condition_2340 (operands, insn))
30476 : return NULL;
30477 0 : return gen_split_203 (insn, operands);
30478 :
30479 1095562 : case SUBREG:
30480 1095562 : if (maybe_ne (SUBREG_BYTE (x2), 0))
30481 : return NULL;
30482 933434 : x3 = XEXP (x1, 0);
30483 933434 : operands[0] = x3;
30484 933434 : x4 = XEXP (x2, 0);
30485 933434 : switch (GET_CODE (x4))
30486 : {
30487 694 : case LSHIFTRT:
30488 694 : switch (pattern326 (x2))
30489 : {
30490 0 : case 0:
30491 0 : if (!insn_condition_2400 (operands, insn))
30492 : return NULL;
30493 0 : return gen_split_631 (insn, operands);
30494 :
30495 2 : case 1:
30496 2 : if (!insn_condition_2401 (operands, insn))
30497 : return NULL;
30498 1 : return gen_split_633 (insn, operands);
30499 :
30500 : default:
30501 : return NULL;
30502 : }
30503 :
30504 329 : case ASHIFTRT:
30505 329 : switch (pattern326 (x2))
30506 : {
30507 0 : case 0:
30508 0 : if (!insn_condition_2400 (operands, insn))
30509 : return NULL;
30510 0 : return gen_split_632 (insn, operands);
30511 :
30512 0 : case 1:
30513 0 : if (!insn_condition_2401 (operands, insn))
30514 : return NULL;
30515 0 : return gen_split_634 (insn, operands);
30516 :
30517 : default:
30518 : return NULL;
30519 : }
30520 :
30521 : default:
30522 : return NULL;
30523 : }
30524 :
30525 : default:
30526 : return NULL;
30527 : }
30528 :
30529 9686354 : case PLUS:
30530 9686354 : return split_6 (x1, insn);
30531 :
30532 729796 : case IOR:
30533 729796 : return split_9 (x1, insn);
30534 :
30535 143854 : case XOR:
30536 143854 : return split_8 (x1, insn);
30537 :
30538 441440 : case FLOAT_EXTEND:
30539 441440 : x3 = XEXP (x1, 0);
30540 441440 : operands[0] = x3;
30541 441440 : x4 = XEXP (x2, 0);
30542 441440 : operands[1] = x4;
30543 441440 : switch (GET_CODE (operands[1]))
30544 : {
30545 193641 : case SUBREG:
30546 193641 : case MEM:
30547 193641 : if (memory_operand (operands[1], E_VOIDmode)
30548 193490 : && any_fp_register_operand (operands[0], E_VOIDmode)
30549 305023 : && insn_condition_2402 (operands, insn))
30550 2040 : return gen_split_57 (insn, operands);
30551 : break;
30552 :
30553 239843 : case REG:
30554 239843 : res = split_2 (x1, insn);
30555 239843 : if (res != NULL_RTX)
30556 : return res;
30557 : break;
30558 :
30559 : default:
30560 : break;
30561 : }
30562 439400 : if (!nonimmediate_operand (operands[1], E_SFmode)
30563 418843 : || !sse_reg_operand (operands[0], E_DFmode)
30564 683009 : || GET_MODE (x2) != E_DFmode)
30565 : return NULL;
30566 243609 : if (insn_condition_2403 (operands, insn))
30567 19 : return gen_split_78 (insn, operands);
30568 243590 : if (!insn_condition_2404 (operands, insn))
30569 : return NULL;
30570 78514 : return gen_split_79 (insn, operands);
30571 :
30572 1618501 : case ZERO_EXTEND:
30573 1618501 : x3 = XEXP (x1, 0);
30574 1618501 : operands[0] = x3;
30575 1618501 : x4 = XEXP (x2, 0);
30576 1618501 : switch (GET_CODE (x4))
30577 : {
30578 1457329 : case REG:
30579 1457329 : case SUBREG:
30580 1457329 : case MEM:
30581 1457329 : operands[1] = x4;
30582 1457329 : switch (GET_MODE (operands[0]))
30583 : {
30584 50422 : case E_TImode:
30585 50422 : if (!nonimmediate_operand (operands[0], E_TImode)
30586 50422 : || GET_MODE (x2) != E_TImode
30587 50422 : || !nonimmediate_operand (operands[1], E_DImode)
30588 50422 : || !insn_condition_2384 (operands, insn))
30589 : return NULL;
30590 24658 : return gen_split_61 (insn, operands);
30591 :
30592 814472 : case E_DImode:
30593 814472 : if (GET_MODE (x2) != E_DImode)
30594 : return NULL;
30595 814472 : if (memory_operand (operands[0], E_DImode)
30596 4534 : && memory_operand (operands[1], E_SImode)
30597 814881 : && insn_condition_170 (operands, insn))
30598 0 : return gen_split_62 (insn, operands);
30599 814472 : if (general_reg_operand (operands[0], E_DImode)
30600 501066 : && general_reg_operand (operands[1], E_SImode)
30601 1110762 : && insn_condition_2405 (operands, insn))
30602 1580 : return gen_split_63 (insn, operands);
30603 812892 : if (!nonimmediate_gr_operand (operands[0], E_DImode)
30604 504069 : || !nonimmediate_operand (operands[1], E_SImode)
30605 1164018 : || !insn_condition_2406 (operands, insn))
30606 : return NULL;
30607 4851 : return gen_split_64 (insn, operands);
30608 :
30609 : default:
30610 : return NULL;
30611 : }
30612 :
30613 1219 : case UNSPEC:
30614 1219 : if (XVECLEN (x4, 0) != 1
30615 113 : || XINT (x4, 1) != 18
30616 4 : || GET_MODE (x4) != E_SImode)
30617 : return NULL;
30618 4 : x5 = XVECEXP (x4, 0, 0);
30619 4 : if (x5 != const_int_rtx[MAX_SAVED_CONST_INT + 0]
30620 4 : || !register_operand (operands[0], E_DImode)
30621 4 : || GET_MODE (x2) != E_DImode
30622 8 : || !insn_condition_2407 (operands, insn))
30623 : return NULL;
30624 4 : return gen_split_974 (insn, operands);
30625 :
30626 : default:
30627 : return NULL;
30628 : }
30629 :
30630 44464 : case FLOAT_TRUNCATE:
30631 44464 : if (GET_MODE (x2) != E_SFmode)
30632 : return NULL;
30633 13268 : x3 = XEXP (x1, 0);
30634 13268 : operands[0] = x3;
30635 13268 : if (!sse_reg_operand (operands[0], E_SFmode))
30636 : return NULL;
30637 5773 : x4 = XEXP (x2, 0);
30638 5773 : operands[1] = x4;
30639 5773 : if (!nonimmediate_operand (operands[1], E_DFmode))
30640 : return NULL;
30641 5771 : if (insn_condition_2403 (operands, insn))
30642 6 : return gen_split_80 (insn, operands);
30643 5765 : if (!insn_condition_2404 (operands, insn))
30644 : return NULL;
30645 1115 : return gen_split_81 (insn, operands);
30646 :
30647 389229 : case FLOAT:
30648 389229 : return split_13 (x1, insn);
30649 :
30650 776525 : case MULT:
30651 776525 : x3 = XEXP (x1, 0);
30652 776525 : operands[0] = x3;
30653 776525 : x6 = XEXP (x2, 1);
30654 776525 : operands[1] = x6;
30655 776525 : x4 = XEXP (x2, 0);
30656 776525 : if (!rtx_equal_p (x4, operands[0]))
30657 : return NULL;
30658 222035 : switch (GET_MODE (operands[0]))
30659 : {
30660 1070 : case E_SImode:
30661 1070 : if (!general_reg_operand (operands[0], E_SImode)
30662 386 : || GET_MODE (x2) != E_SImode
30663 386 : || !const1248_operand (operands[1], E_SImode)
30664 1070 : || !insn_condition_2408 (operands, insn))
30665 : return NULL;
30666 0 : return gen_split_104 (insn, operands);
30667 :
30668 971 : case E_DImode:
30669 971 : if (!general_reg_operand (operands[0], E_DImode)
30670 801 : || GET_MODE (x2) != E_DImode
30671 801 : || !const1248_operand (operands[1], E_DImode)
30672 1770 : || !insn_condition_2409 (operands, insn))
30673 : return NULL;
30674 0 : return gen_split_105 (insn, operands);
30675 :
30676 : default:
30677 : return NULL;
30678 : }
30679 :
30680 1989513 : case UNSPEC:
30681 1989513 : switch (XVECLEN (x2, 0))
30682 : {
30683 228414 : case 2:
30684 228414 : switch (XINT (x2, 1))
30685 : {
30686 117 : case 37:
30687 117 : if (GET_MODE (x2) != E_CCCmode)
30688 : return NULL;
30689 117 : x7 = XVECEXP (x2, 0, 0);
30690 117 : if (GET_CODE (x7) != LTU
30691 0 : || pattern751 (x7) != 0
30692 117 : || pattern293 (x1) != 0)
30693 : return NULL;
30694 0 : x8 = XEXP (x7, 0);
30695 0 : switch (GET_MODE (x8))
30696 : {
30697 0 : case E_CCmode:
30698 0 : if (!insn_condition_2340 (operands, insn))
30699 : return NULL;
30700 0 : return gen_split_206 (insn, operands);
30701 :
30702 0 : case E_CCCmode:
30703 0 : if (!insn_condition_2340 (operands, insn))
30704 : return NULL;
30705 0 : return gen_split_207 (insn, operands);
30706 :
30707 : default:
30708 : return NULL;
30709 : }
30710 :
30711 34 : case 42:
30712 34 : if (pattern330 (x2) != 0)
30713 : return NULL;
30714 34 : x3 = XEXP (x1, 0);
30715 34 : operands[0] = x3;
30716 34 : if (!register_operand (operands[0], E_SImode))
30717 : return NULL;
30718 34 : x9 = XVECEXP (x2, 0, 1);
30719 34 : operands[2] = x9;
30720 34 : if (!register_operand (operands[2], E_SImode)
30721 68 : || !insn_condition_2340 (operands, insn))
30722 : return NULL;
30723 34 : return gen_split_900 (insn, operands);
30724 :
30725 : default:
30726 : return NULL;
30727 : }
30728 :
30729 1654614 : case 1:
30730 1654614 : x3 = XEXP (x1, 0);
30731 1654614 : operands[0] = x3;
30732 1654614 : switch (XINT (x2, 1))
30733 : {
30734 0 : case 96:
30735 0 : switch (pattern335 (x2))
30736 : {
30737 0 : case 0:
30738 0 : if (!insn_condition_2410 (operands, insn))
30739 : return NULL;
30740 0 : return gen_split_944 (insn, operands);
30741 :
30742 0 : case 1:
30743 0 : if (!insn_condition_2411 (operands, insn))
30744 : return NULL;
30745 0 : return gen_split_946 (insn, operands);
30746 :
30747 : default:
30748 : return NULL;
30749 : }
30750 :
30751 0 : case 95:
30752 0 : switch (pattern335 (x2))
30753 : {
30754 0 : case 0:
30755 0 : if (!insn_condition_2412 (operands, insn))
30756 : return NULL;
30757 0 : return gen_split_945 (insn, operands);
30758 :
30759 0 : case 1:
30760 0 : if (!insn_condition_2413 (operands, insn))
30761 : return NULL;
30762 0 : return gen_split_947 (insn, operands);
30763 :
30764 : default:
30765 : return NULL;
30766 : }
30767 :
30768 2991 : case 18:
30769 2991 : x7 = XVECEXP (x2, 0, 0);
30770 2991 : if (x7 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
30771 : return NULL;
30772 2991 : switch (pattern24 (x2))
30773 : {
30774 44 : case 0:
30775 44 : if (!insn_condition_609 (operands, insn))
30776 : return NULL;
30777 44 : return gen_split_972 (insn, operands);
30778 :
30779 2947 : case 1:
30780 2947 : if (!insn_condition_610 (operands, insn))
30781 : return NULL;
30782 2947 : return gen_split_973 (insn, operands);
30783 :
30784 : default:
30785 : return NULL;
30786 : }
30787 :
30788 : default:
30789 : return NULL;
30790 : }
30791 :
30792 : default:
30793 : return NULL;
30794 : }
30795 :
30796 1437877 : case SIGN_EXTEND:
30797 1437877 : x3 = XEXP (x1, 0);
30798 1437877 : operands[0] = x3;
30799 1437877 : x4 = XEXP (x2, 0);
30800 1437877 : switch (GET_CODE (x4))
30801 : {
30802 119 : case AND:
30803 119 : switch (pattern439 (x2))
30804 : {
30805 1 : case 0:
30806 1 : return gen_split_414 (insn, operands);
30807 :
30808 7 : case 1:
30809 7 : return gen_split_417 (insn, operands);
30810 :
30811 4 : case 2:
30812 4 : return gen_split_423 (insn, operands);
30813 :
30814 1 : case 3:
30815 1 : if (!insn_condition_52 (operands, insn))
30816 : return NULL;
30817 1 : return gen_split_420 (insn, operands);
30818 :
30819 1 : case 4:
30820 1 : if (!insn_condition_52 (operands, insn))
30821 : return NULL;
30822 1 : return gen_split_426 (insn, operands);
30823 :
30824 7 : case 5:
30825 7 : if (!insn_condition_52 (operands, insn))
30826 : return NULL;
30827 7 : return gen_split_429 (insn, operands);
30828 :
30829 : default:
30830 : return NULL;
30831 : }
30832 :
30833 135 : case IOR:
30834 135 : switch (pattern439 (x2))
30835 : {
30836 1 : case 0:
30837 1 : return gen_split_415 (insn, operands);
30838 :
30839 10 : case 1:
30840 10 : return gen_split_418 (insn, operands);
30841 :
30842 7 : case 2:
30843 7 : return gen_split_424 (insn, operands);
30844 :
30845 1 : case 3:
30846 1 : if (!insn_condition_52 (operands, insn))
30847 : return NULL;
30848 1 : return gen_split_421 (insn, operands);
30849 :
30850 1 : case 4:
30851 1 : if (!insn_condition_52 (operands, insn))
30852 : return NULL;
30853 1 : return gen_split_427 (insn, operands);
30854 :
30855 3 : case 5:
30856 3 : if (!insn_condition_52 (operands, insn))
30857 : return NULL;
30858 3 : return gen_split_430 (insn, operands);
30859 :
30860 : default:
30861 : return NULL;
30862 : }
30863 :
30864 270 : case XOR:
30865 270 : switch (pattern439 (x2))
30866 : {
30867 1 : case 0:
30868 1 : return gen_split_416 (insn, operands);
30869 :
30870 3 : case 1:
30871 3 : return gen_split_419 (insn, operands);
30872 :
30873 1 : case 2:
30874 1 : return gen_split_425 (insn, operands);
30875 :
30876 1 : case 3:
30877 1 : if (!insn_condition_52 (operands, insn))
30878 : return NULL;
30879 1 : return gen_split_422 (insn, operands);
30880 :
30881 1 : case 4:
30882 1 : if (!insn_condition_52 (operands, insn))
30883 : return NULL;
30884 1 : return gen_split_428 (insn, operands);
30885 :
30886 4 : case 5:
30887 4 : if (!insn_condition_52 (operands, insn))
30888 : return NULL;
30889 4 : return gen_split_431 (insn, operands);
30890 :
30891 : default:
30892 : return NULL;
30893 : }
30894 :
30895 : default:
30896 : return NULL;
30897 : }
30898 :
30899 148096 : case NOT:
30900 148096 : x4 = XEXP (x2, 0);
30901 148096 : switch (GET_CODE (x4))
30902 : {
30903 144814 : case REG:
30904 144814 : case SUBREG:
30905 144814 : case MEM:
30906 144814 : switch (pattern45 (x1))
30907 : {
30908 144806 : case 0:
30909 144806 : switch (GET_MODE (operands[0]))
30910 : {
30911 76651 : case E_DImode:
30912 76651 : if (!nonimmediate_operand (operands[0], E_DImode)
30913 76651 : || GET_MODE (x2) != E_DImode
30914 76651 : || !nonimmediate_operand (operands[1], E_DImode)
30915 153293 : || !insn_condition_2414 (operands, insn))
30916 : return NULL;
30917 1211 : return gen_split_554 (insn, operands);
30918 :
30919 1292 : case E_TImode:
30920 1292 : if (!nonimmediate_operand (operands[0], E_TImode)
30921 1292 : || GET_MODE (x2) != E_TImode
30922 1292 : || !nonimmediate_operand (operands[1], E_TImode)
30923 2584 : || !insn_condition_2415 (operands, insn))
30924 : return NULL;
30925 646 : return gen_split_555 (insn, operands);
30926 :
30927 : default:
30928 : return NULL;
30929 : }
30930 :
30931 4 : case 1:
30932 4 : if (!insn_condition_2416 (operands, insn))
30933 : return NULL;
30934 1 : return gen_split_556 (insn, operands);
30935 :
30936 4 : case 2:
30937 4 : if (!insn_condition_2416 (operands, insn))
30938 : return NULL;
30939 1 : return gen_split_557 (insn, operands);
30940 :
30941 : default:
30942 : return NULL;
30943 : }
30944 :
30945 729 : case ASHIFTRT:
30946 729 : case LSHIFTRT:
30947 729 : case SIGN_EXTRACT:
30948 729 : case ZERO_EXTRACT:
30949 729 : operands[2] = x4;
30950 729 : switch (pattern108 (x1))
30951 : {
30952 0 : case 0:
30953 0 : if (!insn_condition_2417 (operands, insn))
30954 : return NULL;
30955 0 : return gen_split_563 (insn, operands);
30956 :
30957 4 : case 1:
30958 4 : if (!insn_condition_2417 (operands, insn))
30959 : return NULL;
30960 1 : return gen_split_564 (insn, operands);
30961 :
30962 0 : case 2:
30963 0 : if (!insn_condition_2418 (operands, insn))
30964 : return NULL;
30965 0 : return gen_split_565 (insn, operands);
30966 :
30967 : default:
30968 : return NULL;
30969 : }
30970 :
30971 : default:
30972 : return NULL;
30973 : }
30974 :
30975 241726 : case ASHIFT:
30976 241726 : x3 = XEXP (x1, 0);
30977 241726 : operands[0] = x3;
30978 241726 : x4 = XEXP (x2, 0);
30979 241726 : operands[1] = x4;
30980 241726 : x6 = XEXP (x2, 1);
30981 241726 : operands[2] = x6;
30982 241726 : switch (GET_CODE (operands[2]))
30983 : {
30984 7536 : case REG:
30985 7536 : case SUBREG:
30986 7536 : if (!register_operand (operands[2], E_QImode))
30987 : return NULL;
30988 1935 : switch (pattern164 (x2))
30989 : {
30990 0 : case 0:
30991 0 : if (!insn_condition_2419 (operands, insn))
30992 : return NULL;
30993 0 : return gen_split_600 (insn, operands);
30994 :
30995 0 : case 1:
30996 0 : if (!insn_condition_2420 (operands, insn))
30997 : return NULL;
30998 0 : return gen_split_601 (insn, operands);
30999 :
31000 : default:
31001 : return NULL;
31002 : }
31003 :
31004 230064 : case CONST_INT:
31005 230064 : if (!const_0_to_3_operand (operands[2], E_VOIDmode))
31006 : return NULL;
31007 109065 : switch (GET_MODE (operands[0]))
31008 : {
31009 1429 : case E_QImode:
31010 1429 : if (!general_reg_operand (operands[0], E_QImode)
31011 0 : || GET_MODE (x2) != E_QImode
31012 0 : || !index_reg_operand (operands[1], E_QImode)
31013 1429 : || !insn_condition_2421 (operands, insn))
31014 : return NULL;
31015 0 : return gen_split_611 (insn, operands);
31016 :
31017 978 : case E_HImode:
31018 978 : if (!general_reg_operand (operands[0], E_HImode)
31019 0 : || GET_MODE (x2) != E_HImode
31020 0 : || !index_reg_operand (operands[1], E_HImode)
31021 978 : || !insn_condition_2421 (operands, insn))
31022 : return NULL;
31023 0 : return gen_split_612 (insn, operands);
31024 :
31025 14463 : case E_SImode:
31026 14463 : if (!general_reg_operand (operands[0], E_SImode)
31027 2468 : || GET_MODE (x2) != E_SImode
31028 2468 : || !index_reg_operand (operands[1], E_SImode)
31029 16930 : || !insn_condition_2421 (operands, insn))
31030 : return NULL;
31031 1594 : return gen_split_613 (insn, operands);
31032 :
31033 58242 : case E_DImode:
31034 58242 : if (!general_reg_operand (operands[0], E_DImode)
31035 6444 : || GET_MODE (x2) != E_DImode
31036 6444 : || !index_reg_operand (operands[1], E_DImode)
31037 64528 : || !insn_condition_2422 (operands, insn))
31038 : return NULL;
31039 5109 : return gen_split_614 (insn, operands);
31040 :
31041 : default:
31042 : return NULL;
31043 : }
31044 :
31045 : default:
31046 : return NULL;
31047 : }
31048 :
31049 304920 : case LSHIFTRT:
31050 304920 : x3 = XEXP (x1, 0);
31051 304920 : operands[0] = x3;
31052 304920 : switch (pattern275 (x2))
31053 : {
31054 0 : case 0:
31055 0 : if (!insn_condition_2419 (operands, insn))
31056 : return NULL;
31057 0 : return gen_split_664 (insn, operands);
31058 :
31059 0 : case 1:
31060 0 : if (!insn_condition_2420 (operands, insn))
31061 : return NULL;
31062 0 : return gen_split_666 (insn, operands);
31063 :
31064 : default:
31065 : return NULL;
31066 : }
31067 :
31068 71008 : case ASHIFTRT:
31069 71008 : x3 = XEXP (x1, 0);
31070 71008 : operands[0] = x3;
31071 71008 : x4 = XEXP (x2, 0);
31072 71008 : switch (GET_CODE (x4))
31073 : {
31074 28197 : case REG:
31075 28197 : case SUBREG:
31076 28197 : case MEM:
31077 28197 : switch (pattern275 (x2))
31078 : {
31079 0 : case 0:
31080 0 : if (!insn_condition_2419 (operands, insn))
31081 : return NULL;
31082 0 : return gen_split_665 (insn, operands);
31083 :
31084 0 : case 1:
31085 0 : if (!insn_condition_2420 (operands, insn))
31086 : return NULL;
31087 0 : return gen_split_667 (insn, operands);
31088 :
31089 : default:
31090 : return NULL;
31091 : }
31092 :
31093 1016 : case ASHIFT:
31094 1016 : if (pattern324 (x2,
31095 : E_V2DImode) != 0)
31096 : return NULL;
31097 0 : if (insn_condition_2423 (operands, insn))
31098 0 : return gen_split_722 (insn, operands);
31099 0 : if (!insn_condition_2424 (operands, insn))
31100 : return NULL;
31101 0 : return gen_split_723 (insn, operands);
31102 :
31103 : default:
31104 : return NULL;
31105 : }
31106 :
31107 2684 : case ROTATE:
31108 2684 : return split_7 (x1, insn);
31109 :
31110 1616 : case ROTATERT:
31111 1616 : return split_10 (x1, insn);
31112 :
31113 19903261 : case IF_THEN_ELSE:
31114 19903261 : return split_11 (x1, insn);
31115 :
31116 1192982 : case NE:
31117 1192982 : case EQ:
31118 1192982 : case GE:
31119 1192982 : case GT:
31120 1192982 : case LE:
31121 1192982 : case LT:
31122 1192982 : case LTGT:
31123 1192982 : case GEU:
31124 1192982 : case GTU:
31125 1192982 : case LEU:
31126 1192982 : case LTU:
31127 1192982 : case UNORDERED:
31128 1192982 : case ORDERED:
31129 1192982 : case UNEQ:
31130 1192982 : case UNGE:
31131 1192982 : case UNGT:
31132 1192982 : case UNLE:
31133 1192982 : case UNLT:
31134 1192982 : switch (GET_CODE (x2))
31135 : {
31136 86422 : case GEU:
31137 86422 : case LTU:
31138 86422 : res = split_4 (x1, insn);
31139 86422 : if (res != NULL_RTX)
31140 : return res;
31141 : break;
31142 :
31143 52560 : case GTU:
31144 52560 : case LEU:
31145 52560 : operands[1] = x2;
31146 52560 : if (shr_comparison_operator (operands[1], E_QImode))
31147 : {
31148 38167 : x3 = XEXP (x1, 0);
31149 38167 : operands[0] = x3;
31150 38167 : if (nonimmediate_operand (operands[0], E_QImode))
31151 : {
31152 36469 : x4 = XEXP (x2, 0);
31153 36469 : operands[2] = x4;
31154 36469 : if (register_operand (operands[2], E_DImode))
31155 : {
31156 607 : x6 = XEXP (x2, 1);
31157 607 : operands[3] = x6;
31158 607 : if (const_int_operand (operands[3], E_VOIDmode)
31159 607 : && insn_condition_2390 (operands, insn))
31160 173 : return gen_split_894 (insn, operands);
31161 : }
31162 : }
31163 : }
31164 : break;
31165 :
31166 298306 : case NE:
31167 298306 : switch (pattern276 (x1))
31168 : {
31169 0 : case 0:
31170 0 : return gen_split_901 (insn, operands);
31171 :
31172 0 : case 1:
31173 0 : return gen_split_902 (insn, operands);
31174 :
31175 : default:
31176 : break;
31177 : }
31178 : break;
31179 :
31180 344781 : case EQ:
31181 344781 : switch (pattern276 (x1))
31182 : {
31183 0 : case 0:
31184 0 : return gen_split_903 (insn, operands);
31185 :
31186 0 : case 1:
31187 0 : return gen_split_904 (insn, operands);
31188 :
31189 : default:
31190 : break;
31191 : }
31192 : break;
31193 :
31194 : default:
31195 : break;
31196 : }
31197 1192808 : operands[1] = x2;
31198 1192808 : x4 = XEXP (x2, 0);
31199 1192808 : if (GET_CODE (x4) != REG
31200 1192808 : || REGNO (x4) != 17)
31201 : return NULL;
31202 941129 : x6 = XEXP (x2, 1);
31203 941129 : if (x6 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31204 : return NULL;
31205 941129 : x3 = XEXP (x1, 0);
31206 941129 : operands[0] = x3;
31207 941129 : switch (GET_MODE (operands[0]))
31208 : {
31209 25702 : case E_DImode:
31210 25702 : if (!register_operand (operands[0], E_DImode)
31211 25702 : || !ix86_comparison_operator (operands[1], E_DImode)
31212 51404 : || !insn_condition_2425 (operands, insn))
31213 : return NULL;
31214 12798 : return gen_split_895 (insn, operands);
31215 :
31216 2014 : case E_HImode:
31217 2014 : if (!register_operand (operands[0], E_HImode)
31218 2014 : || !ix86_comparison_operator (operands[1], E_HImode)
31219 4028 : || !insn_condition_2426 (operands, insn))
31220 : return NULL;
31221 992 : return gen_split_898 (insn, operands);
31222 :
31223 83109 : case E_SImode:
31224 83109 : if (!register_operand (operands[0], E_SImode)
31225 82996 : || !ix86_comparison_operator (operands[1], E_SImode)
31226 166105 : || !insn_condition_2426 (operands, insn))
31227 : return NULL;
31228 41478 : return gen_split_899 (insn, operands);
31229 :
31230 : default:
31231 : return NULL;
31232 : }
31233 :
31234 465710 : case MINUS:
31235 465710 : return split_12 (x1, insn);
31236 :
31237 467 : case CLZ:
31238 467 : x3 = XEXP (x1, 0);
31239 467 : operands[0] = x3;
31240 467 : x4 = XEXP (x2, 0);
31241 467 : operands[1] = x4;
31242 467 : switch (pattern164 (x2))
31243 : {
31244 0 : case 0:
31245 0 : if (!insn_condition_2427 (operands, insn))
31246 : return NULL;
31247 0 : return gen_split_938 (insn, operands);
31248 :
31249 0 : case 1:
31250 0 : if (!insn_condition_2428 (operands, insn))
31251 : return NULL;
31252 0 : return gen_split_939 (insn, operands);
31253 :
31254 : default:
31255 : return NULL;
31256 : }
31257 :
31258 618 : case POPCOUNT:
31259 618 : x3 = XEXP (x1, 0);
31260 618 : operands[0] = x3;
31261 618 : x4 = XEXP (x2, 0);
31262 618 : operands[1] = x4;
31263 618 : switch (pattern164 (x2))
31264 : {
31265 0 : case 0:
31266 0 : if (!insn_condition_2429 (operands, insn))
31267 : return NULL;
31268 0 : return gen_split_962 (insn, operands);
31269 :
31270 0 : case 1:
31271 0 : if (!insn_condition_2430 (operands, insn))
31272 : return NULL;
31273 0 : return gen_split_963 (insn, operands);
31274 :
31275 : default:
31276 : return NULL;
31277 : }
31278 :
31279 : default:
31280 : return NULL;
31281 : }
31282 : }
31283 :
31284 : rtx_insn *
31285 190881 : split_32 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31286 : {
31287 190881 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31288 190881 : rtx x2, x3, x4, x5, x6;
31289 190881 : rtx_insn *res ATTRIBUTE_UNUSED;
31290 190881 : x2 = XVECEXP (x1, 0, 0);
31291 190881 : x3 = XEXP (x2, 1);
31292 190881 : x4 = XEXP (x3, 0);
31293 190881 : switch (GET_CODE (x4))
31294 : {
31295 157522 : case REG:
31296 157522 : case SUBREG:
31297 157522 : case MEM:
31298 157522 : switch (pattern416 (x1))
31299 : {
31300 153315 : case 0:
31301 153315 : x5 = XVECEXP (x1, 0, 1);
31302 153315 : x6 = XEXP (x5, 0);
31303 153315 : if (GET_CODE (x6) != REG
31304 153315 : || REGNO (x6) != 17
31305 305483 : || GET_MODE (x6) != E_CCmode)
31306 : return NULL;
31307 152168 : switch (GET_MODE (operands[0]))
31308 : {
31309 88822 : case E_DImode:
31310 88822 : if (!nonimmediate_operand (operands[0], E_DImode)
31311 88822 : || GET_MODE (x3) != E_DImode
31312 88822 : || !nonimmediate_operand (operands[1], E_DImode)
31313 177635 : || !insn_condition_2573 (operands, insn))
31314 : return NULL;
31315 376 : return gen_split_504 (insn, operands);
31316 :
31317 5054 : case E_TImode:
31318 5054 : if (!nonimmediate_operand (operands[0], E_TImode)
31319 5054 : || GET_MODE (x3) != E_TImode
31320 5054 : || !nonimmediate_operand (operands[1], E_TImode)
31321 10108 : || !insn_condition_2574 (operands, insn))
31322 : return NULL;
31323 2527 : return gen_split_505 (insn, operands);
31324 :
31325 124 : case E_SFmode:
31326 124 : if (GET_MODE (x3) != E_SFmode)
31327 : return NULL;
31328 124 : if (fp_register_operand (operands[0], E_SFmode)
31329 62 : && fp_register_operand (operands[1], E_SFmode)
31330 124 : && insn_condition_394 (operands, insn))
31331 62 : return gen_split_527 (insn, operands);
31332 62 : if (!general_reg_operand (operands[0], E_SFmode)
31333 0 : || !general_reg_operand (operands[1], E_SFmode)
31334 62 : || !insn_condition_394 (operands, insn))
31335 : return NULL;
31336 0 : return gen_split_533 (insn, operands);
31337 :
31338 1324 : case E_DFmode:
31339 1324 : if (GET_MODE (x3) != E_DFmode)
31340 : return NULL;
31341 1324 : if (fp_register_operand (operands[0], E_DFmode)
31342 660 : && fp_register_operand (operands[1], E_DFmode)
31343 1324 : && insn_condition_394 (operands, insn))
31344 660 : return gen_split_529 (insn, operands);
31345 664 : if (!general_reg_operand (operands[0], E_DFmode)
31346 1 : || !general_reg_operand (operands[1], E_DFmode)
31347 664 : || !insn_condition_394 (operands, insn))
31348 : return NULL;
31349 1 : return gen_split_535 (insn, operands);
31350 :
31351 1972 : case E_XFmode:
31352 1972 : if (GET_MODE (x3) != E_XFmode)
31353 : return NULL;
31354 1972 : if (fp_register_operand (operands[0], E_XFmode)
31355 964 : && fp_register_operand (operands[1], E_XFmode)
31356 1972 : && insn_condition_394 (operands, insn))
31357 964 : return gen_split_531 (insn, operands);
31358 1008 : if (!general_reg_operand (operands[0], E_XFmode)
31359 22 : || !general_reg_operand (operands[1], E_XFmode)
31360 1008 : || !insn_condition_394 (operands, insn))
31361 : return NULL;
31362 22 : return gen_split_537 (insn, operands);
31363 :
31364 : default:
31365 : return NULL;
31366 : }
31367 :
31368 4185 : case 1:
31369 4185 : if (pattern880 (x1) != 0
31370 4185 : || !insn_condition_2575 (operands, insn))
31371 : return NULL;
31372 617 : return gen_split_524 (insn, operands);
31373 :
31374 22 : case 2:
31375 22 : if (!insn_condition_2416 (operands, insn))
31376 : return NULL;
31377 1 : return gen_split_506 (insn, operands);
31378 :
31379 0 : case 3:
31380 0 : if (!insn_condition_2416 (operands, insn))
31381 : return NULL;
31382 0 : return gen_split_507 (insn, operands);
31383 :
31384 : default:
31385 : return NULL;
31386 : }
31387 :
31388 44 : case ABS:
31389 44 : switch (pattern418 (x1))
31390 : {
31391 5 : case 0:
31392 5 : if (insn_condition_2576 (operands, insn))
31393 2 : return gen_split_513 (insn, operands);
31394 3 : if (!insn_condition_2577 (operands, insn))
31395 : return NULL;
31396 3 : return gen_split_522 (insn, operands);
31397 :
31398 0 : case 1:
31399 0 : if (!insn_condition_2578 (operands, insn))
31400 : return NULL;
31401 0 : return gen_split_514 (insn, operands);
31402 :
31403 0 : case 2:
31404 0 : if (!insn_condition_2579 (operands, insn))
31405 : return NULL;
31406 0 : return gen_split_519 (insn, operands);
31407 :
31408 0 : case 3:
31409 0 : if (!insn_condition_2580 (operands, insn))
31410 : return NULL;
31411 0 : return gen_split_520 (insn, operands);
31412 :
31413 31 : case 4:
31414 31 : if (!insn_condition_2581 (operands, insn))
31415 : return NULL;
31416 31 : return gen_split_521 (insn, operands);
31417 :
31418 2 : case 5:
31419 2 : switch (GET_MODE (operands[0]))
31420 : {
31421 2 : case E_TFmode:
31422 2 : if (pattern1094 (x3,
31423 : E_TFmode) != 0
31424 2 : || !insn_condition_2575 (operands, insn))
31425 : return NULL;
31426 1 : return gen_split_525 (insn, operands);
31427 :
31428 0 : case E_SFmode:
31429 0 : if (pattern1095 (x3,
31430 : E_V4SFmode,
31431 : E_SFmode) != 0
31432 0 : || !insn_condition_2582 (operands, insn))
31433 : return NULL;
31434 0 : return gen_split_552 (insn, operands);
31435 :
31436 0 : case E_DFmode:
31437 0 : if (pattern1095 (x3,
31438 : E_V2DFmode,
31439 : E_DFmode) != 0
31440 0 : || !insn_condition_2583 (operands, insn))
31441 : return NULL;
31442 0 : return gen_split_553 (insn, operands);
31443 :
31444 : default:
31445 : return NULL;
31446 : }
31447 :
31448 : default:
31449 : return NULL;
31450 : }
31451 :
31452 : default:
31453 : return NULL;
31454 : }
31455 : }
31456 :
31457 : rtx_insn *
31458 36700817 : split_38 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
31459 : {
31460 36700817 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
31461 36700817 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
31462 36700817 : rtx x10, x11, x12, x13, x14, x15, x16, x17;
31463 36700817 : rtx x18, x19, x20, x21;
31464 36700817 : rtx_insn *res ATTRIBUTE_UNUSED;
31465 36700817 : x2 = XVECEXP (x1, 0, 0);
31466 36700817 : switch (GET_CODE (x2))
31467 : {
31468 36138170 : case SET:
31469 36138170 : x3 = XEXP (x2, 1);
31470 36138170 : switch (GET_CODE (x3))
31471 : {
31472 1620780 : case CONST_INT:
31473 1620780 : case CONST_DOUBLE:
31474 1620780 : case CONST_VECTOR:
31475 1620780 : return split_36 (x1, insn);
31476 :
31477 149399 : case ZERO_EXTEND:
31478 149399 : return split_30 (x1, insn);
31479 :
31480 21237 : case FIX:
31481 21237 : x4 = XVECEXP (x1, 0, 1);
31482 21237 : if (pattern384 (x4) != 0)
31483 : return NULL;
31484 7765 : x5 = XEXP (x2, 0);
31485 7765 : operands[0] = x5;
31486 7765 : x6 = XEXP (x3, 0);
31487 7765 : operands[1] = x6;
31488 7765 : if (!register_operand (operands[1], E_VOIDmode))
31489 : return NULL;
31490 7326 : switch (pattern571 (x3))
31491 : {
31492 2186 : case 0:
31493 2186 : if (!insn_condition_2624 (operands, insn))
31494 : return NULL;
31495 2186 : return gen_split_84 (insn, operands);
31496 :
31497 1662 : case 1:
31498 1662 : if (!insn_condition_2625 (operands, insn))
31499 : return NULL;
31500 1662 : return gen_split_85 (insn, operands);
31501 :
31502 3478 : case 2:
31503 3478 : if (!insn_condition_2626 (operands, insn))
31504 : return NULL;
31505 3478 : return gen_split_86 (insn, operands);
31506 :
31507 : default:
31508 : return NULL;
31509 : }
31510 :
31511 1252889 : case MULT:
31512 1252889 : if (pattern373 (x1) != 0)
31513 : return NULL;
31514 1101005 : x6 = XEXP (x3, 0);
31515 1101005 : switch (GET_CODE (x6))
31516 : {
31517 878956 : case REG:
31518 878956 : if (!rtx_equal_p (x6, operands[0]))
31519 : return NULL;
31520 531846 : x7 = XEXP (x3, 1);
31521 531846 : operands[1] = x7;
31522 531846 : switch (GET_MODE (operands[0]))
31523 : {
31524 136220 : case E_SImode:
31525 136220 : if (!general_reg_operand (operands[0], E_SImode)
31526 134774 : || GET_MODE (x3) != E_SImode
31527 134774 : || !const1248_operand (operands[1], E_SImode)
31528 136222 : || !insn_condition_170 (operands, insn))
31529 : return NULL;
31530 2 : return gen_split_102 (insn, operands);
31531 :
31532 380416 : case E_DImode:
31533 380416 : if (!general_reg_operand (operands[0], E_DImode)
31534 374229 : || GET_MODE (x3) != E_DImode
31535 374229 : || !const1248_operand (operands[1], E_DImode)
31536 380416 : || !insn_condition_174 (operands, insn))
31537 : return NULL;
31538 5 : return gen_split_103 (insn, operands);
31539 :
31540 : default:
31541 : return NULL;
31542 : }
31543 :
31544 88450 : case ZERO_EXTEND:
31545 88450 : x7 = XEXP (x3, 1);
31546 88450 : if (GET_CODE (x7) != ZERO_EXTEND)
31547 : return NULL;
31548 84651 : x8 = XEXP (x6, 0);
31549 84651 : operands[1] = x8;
31550 84651 : x9 = XEXP (x7, 0);
31551 84651 : operands[2] = x9;
31552 84651 : switch (GET_MODE (operands[0]))
31553 : {
31554 36608 : case E_DImode:
31555 36608 : if (pattern584 (x3,
31556 : E_SImode,
31557 : E_DImode) != 0
31558 36608 : || !insn_condition_2608 (operands, insn))
31559 : return NULL;
31560 0 : return gen_split_246 (insn, operands);
31561 :
31562 46823 : case E_TImode:
31563 46823 : if (pattern584 (x3,
31564 : E_DImode,
31565 : E_TImode) != 0
31566 46823 : || !insn_condition_2609 (operands, insn))
31567 : return NULL;
31568 21 : return gen_split_247 (insn, operands);
31569 :
31570 : default:
31571 : return NULL;
31572 : }
31573 :
31574 : default:
31575 : return NULL;
31576 : }
31577 :
31578 19557940 : case PLUS:
31579 19557940 : return split_25 (x1, insn);
31580 :
31581 86626 : case SUBREG:
31582 86626 : return split_29 (x1, insn);
31583 :
31584 212822 : case NE:
31585 212822 : case EQ:
31586 212822 : case GE:
31587 212822 : case GT:
31588 212822 : case LE:
31589 212822 : case LT:
31590 212822 : case LTGT:
31591 212822 : case GEU:
31592 212822 : case GTU:
31593 212822 : case LEU:
31594 212822 : case LTU:
31595 212822 : case UNORDERED:
31596 212822 : case ORDERED:
31597 212822 : case UNEQ:
31598 212822 : case UNGE:
31599 212822 : case UNGT:
31600 212822 : case UNLE:
31601 212822 : case UNLT:
31602 212822 : if (GET_CODE (x3) == EQ)
31603 : {
31604 90959 : x6 = XEXP (x3, 0);
31605 90959 : switch (GET_CODE (x6))
31606 : {
31607 27975 : case PLUS:
31608 27975 : switch (pattern755 (x1,
31609 : PLUS))
31610 : {
31611 6350 : case 0:
31612 6350 : if (insn_condition_2431 (operands, insn))
31613 4 : return gen_split_154 (insn, operands);
31614 : break;
31615 :
31616 1936 : case 1:
31617 1936 : if (insn_condition_2434 (operands, insn))
31618 968 : return gen_split_155 (insn, operands);
31619 : break;
31620 :
31621 3336 : case 2:
31622 3336 : if (insn_condition_2627 (operands, insn))
31623 0 : return gen_split_156 (insn, operands);
31624 : break;
31625 :
31626 647 : case 3:
31627 647 : if (insn_condition_2628 (operands, insn))
31628 323 : return gen_split_157 (insn, operands);
31629 : break;
31630 :
31631 : default:
31632 : break;
31633 : }
31634 : break;
31635 :
31636 16529 : case MINUS:
31637 16529 : switch (pattern755 (x1,
31638 : MINUS))
31639 : {
31640 5559 : case 0:
31641 5559 : if (insn_condition_2438 (operands, insn))
31642 2 : return gen_split_194 (insn, operands);
31643 : break;
31644 :
31645 1448 : case 1:
31646 1448 : if (insn_condition_2439 (operands, insn))
31647 724 : return gen_split_195 (insn, operands);
31648 : break;
31649 :
31650 410 : case 2:
31651 410 : if (insn_condition_2629 (operands, insn))
31652 0 : return gen_split_196 (insn, operands);
31653 : break;
31654 :
31655 360 : case 3:
31656 360 : if (insn_condition_2630 (operands, insn))
31657 180 : return gen_split_197 (insn, operands);
31658 : break;
31659 :
31660 : default:
31661 : break;
31662 : }
31663 : break;
31664 :
31665 662 : case ZERO_EXTRACT:
31666 662 : switch (pattern727 (x1))
31667 : {
31668 34 : case 0:
31669 34 : if (insn_condition_2454 (operands, insn))
31670 34 : return gen_split_886 (insn, operands);
31671 : break;
31672 :
31673 53 : case 1:
31674 53 : if (insn_condition_2456 (operands, insn))
31675 53 : return gen_split_887 (insn, operands);
31676 : break;
31677 :
31678 : default:
31679 : break;
31680 : }
31681 : break;
31682 :
31683 : default:
31684 : break;
31685 : }
31686 : }
31687 210534 : operands[1] = x3;
31688 210534 : switch (pattern400 (x1))
31689 : {
31690 0 : case 0:
31691 0 : if (!insn_condition_2631 (operands, insn))
31692 : return NULL;
31693 0 : return gen_split_896 (insn, operands);
31694 :
31695 0 : case 1:
31696 0 : if (!insn_condition_2631 (operands, insn))
31697 : return NULL;
31698 0 : return gen_split_897 (insn, operands);
31699 :
31700 : default:
31701 : return NULL;
31702 : }
31703 :
31704 1793521 : case MINUS:
31705 1793521 : x4 = XVECEXP (x1, 0, 1);
31706 1793521 : if (pattern286 (x4,
31707 : E_CCmode,
31708 : 17) != 0)
31709 : return NULL;
31710 1570705 : x6 = XEXP (x3, 0);
31711 1570705 : switch (GET_CODE (x6))
31712 : {
31713 1478537 : case CONST_INT:
31714 1478537 : case CONST_WIDE_INT:
31715 1478537 : case CONST_POLY_INT:
31716 1478537 : case CONST_FIXED:
31717 1478537 : case CONST_DOUBLE:
31718 1478537 : case CONST_VECTOR:
31719 1478537 : case CONST:
31720 1478537 : case REG:
31721 1478537 : case SUBREG:
31722 1478537 : case MEM:
31723 1478537 : case LABEL_REF:
31724 1478537 : case SYMBOL_REF:
31725 1478537 : case HIGH:
31726 1478537 : operands[1] = x6;
31727 1478537 : res = split_16 (x1, insn);
31728 1478537 : if (res != NULL_RTX)
31729 : return res;
31730 1468391 : switch (GET_CODE (x6))
31731 : {
31732 24458 : case SUBREG:
31733 24458 : if (pattern582 (x3) != 0
31734 24458 : || GET_MODE (x3) != E_QImode)
31735 : return NULL;
31736 25 : switch (pattern1571 (x2))
31737 : {
31738 2 : case 0:
31739 2 : if (!insn_condition_2358 (operands, insn))
31740 : return NULL;
31741 1 : return gen_split_185 (insn, operands);
31742 :
31743 2 : case 1:
31744 2 : if (!insn_condition_2358 (operands, insn))
31745 : return NULL;
31746 1 : return gen_split_186 (insn, operands);
31747 :
31748 2 : case 2:
31749 2 : if (!insn_condition_2452 (operands, insn))
31750 : return NULL;
31751 1 : return gen_split_187 (insn, operands);
31752 :
31753 2 : case 3:
31754 2 : if (!insn_condition_2453 (operands, insn))
31755 : return NULL;
31756 1 : return gen_split_188 (insn, operands);
31757 :
31758 2 : case 4:
31759 2 : if (!insn_condition_2453 (operands, insn))
31760 : return NULL;
31761 1 : return gen_split_189 (insn, operands);
31762 :
31763 2 : case 5:
31764 2 : if (!insn_condition_2384 (operands, insn))
31765 : return NULL;
31766 1 : return gen_split_190 (insn, operands);
31767 :
31768 : default:
31769 : return NULL;
31770 : }
31771 :
31772 10741 : case CONST_INT:
31773 10741 : x7 = XEXP (x3, 1);
31774 10741 : if (GET_CODE (x7) != CLZ)
31775 : return NULL;
31776 5051 : x5 = XEXP (x2, 0);
31777 5051 : operands[0] = x5;
31778 5051 : x9 = XEXP (x7, 0);
31779 5051 : operands[1] = x9;
31780 5051 : switch (XWINT (x6, 0))
31781 : {
31782 2931 : case 63L:
31783 2931 : if (pattern1544 (x3,
31784 : E_DImode) != 0
31785 2931 : || !insn_condition_2562 (operands, insn))
31786 : return NULL;
31787 855 : return gen_split_923 (insn, operands);
31788 :
31789 2120 : case 31L:
31790 2120 : if (pattern1544 (x3,
31791 : E_SImode) != 0
31792 2120 : || !insn_condition_2632 (operands, insn))
31793 : return NULL;
31794 633 : return gen_split_926 (insn, operands);
31795 :
31796 : default:
31797 : return NULL;
31798 : }
31799 :
31800 : default:
31801 : return NULL;
31802 : }
31803 :
31804 24212 : case MINUS:
31805 24212 : x10 = XEXP (x6, 1);
31806 24212 : if (GET_CODE (x10) != EQ)
31807 : return NULL;
31808 15 : x11 = XEXP (x10, 1);
31809 15 : if (x11 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31810 : return NULL;
31811 15 : x5 = XEXP (x2, 0);
31812 15 : operands[0] = x5;
31813 15 : x8 = XEXP (x6, 0);
31814 15 : operands[1] = x8;
31815 15 : x12 = XEXP (x10, 0);
31816 15 : operands[3] = x12;
31817 15 : if (!int_nonimmediate_operand (operands[3], E_VOIDmode))
31818 : return NULL;
31819 15 : x7 = XEXP (x3, 1);
31820 15 : operands[2] = x7;
31821 15 : switch (GET_MODE (operands[0]))
31822 : {
31823 0 : case E_QImode:
31824 0 : if (pattern1615 (x3,
31825 : E_QImode) != 0
31826 0 : || !insn_condition_2633 (operands, insn))
31827 : return NULL;
31828 0 : return gen_split_226 (insn, operands);
31829 :
31830 0 : case E_HImode:
31831 0 : if (pattern1615 (x3,
31832 : E_HImode) != 0
31833 0 : || !insn_condition_2634 (operands, insn))
31834 : return NULL;
31835 0 : return gen_split_227 (insn, operands);
31836 :
31837 11 : case E_SImode:
31838 11 : if (pattern1616 (x3,
31839 : E_SImode) != 0
31840 11 : || !insn_condition_2635 (operands, insn))
31841 : return NULL;
31842 11 : return gen_split_228 (insn, operands);
31843 :
31844 4 : case E_DImode:
31845 4 : if (pattern1616 (x3,
31846 : E_DImode) != 0
31847 4 : || !insn_condition_2636 (operands, insn))
31848 : return NULL;
31849 0 : return gen_split_229 (insn, operands);
31850 :
31851 : default:
31852 : return NULL;
31853 : }
31854 :
31855 : default:
31856 : return NULL;
31857 : }
31858 :
31859 890016 : case IF_THEN_ELSE:
31860 890016 : x6 = XEXP (x3, 0);
31861 890016 : if (!bt_comparison_operator (x6, E_VOIDmode))
31862 : return NULL;
31863 511728 : x10 = XEXP (x6, 1);
31864 511728 : if (x10 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
31865 : return NULL;
31866 280490 : switch (pattern733 (x1))
31867 : {
31868 10775 : case 0:
31869 10775 : x8 = XEXP (x6, 0);
31870 10775 : operands[2] = x8;
31871 10775 : x7 = XEXP (x3, 1);
31872 10775 : if (GET_CODE (x7) != PLUS)
31873 : return NULL;
31874 16 : x13 = XEXP (x7, 1);
31875 16 : if (x13 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
31876 : return NULL;
31877 16 : x5 = XEXP (x2, 0);
31878 16 : operands[0] = x5;
31879 16 : operands[1] = x6;
31880 16 : switch (pattern1627 (x3))
31881 : {
31882 4 : case 0:
31883 4 : if (!insn_condition_2637 (operands, insn))
31884 : return NULL;
31885 2 : return gen_split_198 (insn, operands);
31886 :
31887 8 : case 1:
31888 8 : if (!insn_condition_2637 (operands, insn))
31889 : return NULL;
31890 4 : return gen_split_199 (insn, operands);
31891 :
31892 4 : case 2:
31893 4 : if (!insn_condition_2638 (operands, insn))
31894 : return NULL;
31895 2 : return gen_split_200 (insn, operands);
31896 :
31897 : default:
31898 : return NULL;
31899 : }
31900 :
31901 8636 : case 1:
31902 8636 : x8 = XEXP (x6, 0);
31903 8636 : x14 = XEXP (x8, 1);
31904 8636 : if (x14 != const_int_rtx[MAX_SAVED_CONST_INT + 1])
31905 : return NULL;
31906 8589 : switch (pattern1378 (x2))
31907 : {
31908 8193 : case 0:
31909 8193 : x15 = XEXP (x8, 2);
31910 8193 : operands[2] = x15;
31911 8193 : switch (pattern1579 (x2))
31912 : {
31913 2108 : case 0:
31914 2108 : if (insn_condition_2639 (operands, insn))
31915 2108 : return gen_split_862 (insn, operands);
31916 : break;
31917 :
31918 2984 : case 1:
31919 2984 : if (insn_condition_2640 (operands, insn))
31920 2984 : return gen_split_863 (insn, operands);
31921 : break;
31922 :
31923 0 : case 2:
31924 0 : if (insn_condition_2641 (operands, insn))
31925 0 : return gen_split_874 (insn, operands);
31926 : break;
31927 :
31928 0 : case 3:
31929 0 : if (insn_condition_2642 (operands, insn))
31930 0 : return gen_split_875 (insn, operands);
31931 : break;
31932 :
31933 6 : case 4:
31934 6 : if (insn_condition_2641 (operands, insn))
31935 6 : return gen_split_876 (insn, operands);
31936 : break;
31937 :
31938 1 : case 5:
31939 1 : if (insn_condition_2642 (operands, insn))
31940 1 : return gen_split_877 (insn, operands);
31941 : break;
31942 :
31943 0 : case 6:
31944 0 : if (insn_condition_2642 (operands, insn))
31945 0 : return gen_split_878 (insn, operands);
31946 : break;
31947 :
31948 0 : case 7:
31949 0 : if (insn_condition_2642 (operands, insn))
31950 0 : return gen_split_879 (insn, operands);
31951 : break;
31952 :
31953 : default:
31954 : break;
31955 : }
31956 3094 : if (GET_CODE (x15) != SUBREG)
31957 : return NULL;
31958 282 : switch (pattern1580 (x2))
31959 : {
31960 97 : case 0:
31961 97 : if (!insn_condition_2643 (operands, insn))
31962 : return NULL;
31963 97 : return gen_split_866 (insn, operands);
31964 :
31965 69 : case 1:
31966 69 : if (!insn_condition_2644 (operands, insn))
31967 : return NULL;
31968 69 : return gen_split_867 (insn, operands);
31969 :
31970 : default:
31971 : return NULL;
31972 : }
31973 :
31974 6 : case 1:
31975 6 : if (!insn_condition_2643 (operands, insn))
31976 : return NULL;
31977 6 : return gen_split_864 (insn, operands);
31978 :
31979 0 : case 2:
31980 0 : if (!insn_condition_2644 (operands, insn))
31981 : return NULL;
31982 0 : return gen_split_865 (insn, operands);
31983 :
31984 : default:
31985 : return NULL;
31986 : }
31987 :
31988 : default:
31989 : return NULL;
31990 : }
31991 :
31992 1556176 : case COMPARE:
31993 1556176 : return split_27 (x1, insn);
31994 :
31995 1793633 : case AND:
31996 1793633 : return split_26 (x1, insn);
31997 :
31998 1350847 : case IOR:
31999 1350847 : return split_28 (x1, insn);
32000 :
32001 567898 : case XOR:
32002 567898 : return split_24 (x1, insn);
32003 :
32004 1671591 : case ASHIFTRT:
32005 1671591 : case LSHIFTRT:
32006 1671591 : case SIGN_EXTRACT:
32007 1671591 : case ZERO_EXTRACT:
32008 1671591 : x4 = XVECEXP (x1, 0, 1);
32009 1671591 : if (pattern286 (x4,
32010 : E_CCmode,
32011 : 17) != 0)
32012 : return NULL;
32013 1503336 : switch (GET_CODE (x3))
32014 : {
32015 6950 : case SIGN_EXTRACT:
32016 6950 : res = split_19 (x1, insn);
32017 6950 : if (res != NULL_RTX)
32018 : return res;
32019 : break;
32020 :
32021 24612 : case ZERO_EXTRACT:
32022 24612 : res = split_20 (x1, insn);
32023 24612 : if (res != NULL_RTX)
32024 : return res;
32025 : break;
32026 :
32027 770287 : case LSHIFTRT:
32028 770287 : res = split_21 (x1, insn);
32029 770287 : if (res != NULL_RTX)
32030 : return res;
32031 : break;
32032 :
32033 701487 : case ASHIFTRT:
32034 701487 : res = split_22 (x1, insn);
32035 701487 : if (res != NULL_RTX)
32036 : return res;
32037 : break;
32038 :
32039 : default:
32040 : break;
32041 : }
32042 1476923 : x5 = XEXP (x2, 0);
32043 1476923 : if (GET_CODE (x5) != ZERO_EXTRACT)
32044 : return NULL;
32045 153 : x16 = XEXP (x5, 1);
32046 153 : if (x16 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
32047 : return NULL;
32048 63 : x17 = XEXP (x5, 2);
32049 63 : if (x17 != const_int_rtx[MAX_SAVED_CONST_INT + 8])
32050 : return NULL;
32051 60 : x18 = XEXP (x5, 0);
32052 60 : operands[0] = x18;
32053 60 : if (!int248_register_operand (operands[0], E_VOIDmode))
32054 : return NULL;
32055 60 : operands[3] = x3;
32056 60 : x6 = XEXP (x3, 0);
32057 60 : switch (GET_CODE (x6))
32058 : {
32059 20 : case AND:
32060 20 : switch (pattern1537 (x2))
32061 : {
32062 3 : case 0:
32063 3 : if (!insn_condition_2645 (operands, insn))
32064 : return NULL;
32065 0 : return gen_split_372 (insn, operands);
32066 :
32067 10 : case 1:
32068 10 : if (!insn_condition_2645 (operands, insn))
32069 : return NULL;
32070 1 : return gen_split_375 (insn, operands);
32071 :
32072 7 : case 2:
32073 7 : if (!insn_condition_2646 (operands, insn))
32074 : return NULL;
32075 1 : return gen_split_378 (insn, operands);
32076 :
32077 : default:
32078 : return NULL;
32079 : }
32080 :
32081 20 : case IOR:
32082 20 : switch (pattern1537 (x2))
32083 : {
32084 3 : case 0:
32085 3 : if (!insn_condition_2645 (operands, insn))
32086 : return NULL;
32087 0 : return gen_split_373 (insn, operands);
32088 :
32089 10 : case 1:
32090 10 : if (!insn_condition_2645 (operands, insn))
32091 : return NULL;
32092 1 : return gen_split_376 (insn, operands);
32093 :
32094 7 : case 2:
32095 7 : if (!insn_condition_2646 (operands, insn))
32096 : return NULL;
32097 1 : return gen_split_379 (insn, operands);
32098 :
32099 : default:
32100 : return NULL;
32101 : }
32102 :
32103 20 : case XOR:
32104 20 : switch (pattern1537 (x2))
32105 : {
32106 3 : case 0:
32107 3 : if (!insn_condition_2645 (operands, insn))
32108 : return NULL;
32109 0 : return gen_split_374 (insn, operands);
32110 :
32111 10 : case 1:
32112 10 : if (!insn_condition_2645 (operands, insn))
32113 : return NULL;
32114 1 : return gen_split_377 (insn, operands);
32115 :
32116 7 : case 2:
32117 7 : if (!insn_condition_2646 (operands, insn))
32118 : return NULL;
32119 1 : return gen_split_380 (insn, operands);
32120 :
32121 : default:
32122 : return NULL;
32123 : }
32124 :
32125 : default:
32126 : return NULL;
32127 : }
32128 :
32129 12277 : case NOT:
32130 12277 : x6 = XEXP (x3, 0);
32131 12277 : if (GET_CODE (x6) != XOR
32132 12277 : || pattern374 (x1) != 0)
32133 : return NULL;
32134 1043 : switch (GET_MODE (operands[0]))
32135 : {
32136 93 : case E_HImode:
32137 93 : if (!nonimmediate_operand (operands[0], E_HImode)
32138 93 : || pattern255 (x3,
32139 : E_HImode) != 0
32140 173 : || !insn_condition_2647 (operands, insn))
32141 : return NULL;
32142 40 : return gen_split_405 (insn, operands);
32143 :
32144 359 : case E_SImode:
32145 359 : if (!nonimmediate_operand (operands[0], E_SImode)
32146 359 : || pattern256 (x3,
32147 : E_SImode) != 0
32148 681 : || !insn_condition_2648 (operands, insn))
32149 : return NULL;
32150 163 : return gen_split_406 (insn, operands);
32151 :
32152 262 : case E_DImode:
32153 262 : if (!nonimmediate_operand (operands[0], E_DImode)
32154 262 : || pattern256 (x3,
32155 : E_DImode) != 0
32156 492 : || !insn_condition_2649 (operands, insn))
32157 : return NULL;
32158 115 : return gen_split_407 (insn, operands);
32159 :
32160 329 : case E_QImode:
32161 329 : if (!nonimmediate_operand (operands[0], E_QImode)
32162 329 : || pattern255 (x3,
32163 : E_QImode) != 0
32164 572 : || !insn_condition_2650 (operands, insn))
32165 : return NULL;
32166 122 : return gen_split_413 (insn, operands);
32167 :
32168 : default:
32169 : return NULL;
32170 : }
32171 :
32172 190881 : case NEG:
32173 190881 : return split_32 (x1, insn);
32174 :
32175 18980 : case ABS:
32176 18980 : return split_33 (x1, insn);
32177 :
32178 1756720 : case ASHIFT:
32179 1756720 : return split_31 (x1, insn);
32180 :
32181 16953 : case ROTATE:
32182 16953 : return split_35 (x1, insn);
32183 :
32184 12777 : case ROTATERT:
32185 12777 : return split_34 (x1, insn);
32186 :
32187 3367 : case CTZ:
32188 3367 : switch (pattern442 (x1))
32189 : {
32190 1738 : case 0:
32191 1738 : if (!insn_condition_2561 (operands, insn))
32192 : return NULL;
32193 405 : return gen_split_917 (insn, operands);
32194 :
32195 1619 : case 1:
32196 1619 : if (!insn_condition_2651 (operands, insn))
32197 : return NULL;
32198 334 : return gen_split_918 (insn, operands);
32199 :
32200 : default:
32201 : return NULL;
32202 : }
32203 :
32204 41771 : case SIGN_EXTEND:
32205 41771 : if (GET_MODE (x3) != E_DImode)
32206 : return NULL;
32207 22626 : x4 = XVECEXP (x1, 0, 1);
32208 22626 : if (pattern384 (x4) != 0)
32209 : return NULL;
32210 7 : x5 = XEXP (x2, 0);
32211 7 : operands[0] = x5;
32212 7 : if (!register_operand (operands[0], E_DImode))
32213 : return NULL;
32214 7 : x6 = XEXP (x3, 0);
32215 7 : if (GET_MODE (x6) != E_SImode)
32216 : return NULL;
32217 7 : switch (GET_CODE (x6))
32218 : {
32219 6 : case CTZ:
32220 6 : x8 = XEXP (x6, 0);
32221 6 : operands[1] = x8;
32222 6 : if (!nonimmediate_operand (operands[1], E_SImode)
32223 6 : || !insn_condition_2561 (operands, insn))
32224 : return NULL;
32225 2 : return gen_split_920 (insn, operands);
32226 :
32227 1 : case XOR:
32228 1 : x8 = XEXP (x6, 0);
32229 1 : if (GET_CODE (x8) != MINUS
32230 1 : || pattern1195 (x6) != 0)
32231 : return NULL;
32232 1 : x14 = XEXP (x8, 1);
32233 1 : x19 = XEXP (x14, 0);
32234 1 : operands[1] = x19;
32235 1 : if (!nonimmediate_operand (operands[1], E_SImode)
32236 1 : || !insn_condition_2492 (operands, insn))
32237 : return NULL;
32238 1 : return gen_split_930 (insn, operands);
32239 :
32240 : default:
32241 : return NULL;
32242 : }
32243 :
32244 148 : case CLZ:
32245 148 : switch (pattern442 (x1))
32246 : {
32247 54 : case 0:
32248 54 : if (!insn_condition_2652 (operands, insn))
32249 : return NULL;
32250 9 : return gen_split_940 (insn, operands);
32251 :
32252 24 : case 1:
32253 24 : if (!insn_condition_2653 (operands, insn))
32254 : return NULL;
32255 4 : return gen_split_941 (insn, operands);
32256 :
32257 : default:
32258 : return NULL;
32259 : }
32260 :
32261 345832 : case UNSPEC:
32262 345832 : if (XVECLEN (x3, 0) != 1)
32263 : return NULL;
32264 184508 : x4 = XVECEXP (x1, 0, 1);
32265 184508 : if (pattern286 (x4,
32266 : E_CCmode,
32267 : 17) != 0)
32268 : return NULL;
32269 70552 : x5 = XEXP (x2, 0);
32270 70552 : operands[0] = x5;
32271 70552 : x20 = XVECEXP (x3, 0, 0);
32272 70552 : operands[1] = x20;
32273 70552 : switch (XINT (x3, 1))
32274 : {
32275 309 : case 96:
32276 309 : switch (pattern1383 (x3))
32277 : {
32278 105 : case 0:
32279 105 : if (!insn_condition_2654 (operands, insn))
32280 : return NULL;
32281 15 : return gen_split_948 (insn, operands);
32282 :
32283 102 : case 1:
32284 102 : if (!insn_condition_2655 (operands, insn))
32285 : return NULL;
32286 14 : return gen_split_950 (insn, operands);
32287 :
32288 : default:
32289 : return NULL;
32290 : }
32291 :
32292 274 : case 95:
32293 274 : switch (pattern1383 (x3))
32294 : {
32295 98 : case 0:
32296 98 : if (!insn_condition_2652 (operands, insn))
32297 : return NULL;
32298 13 : return gen_split_949 (insn, operands);
32299 :
32300 99 : case 1:
32301 99 : if (!insn_condition_2656 (operands, insn))
32302 : return NULL;
32303 13 : return gen_split_951 (insn, operands);
32304 :
32305 : default:
32306 : return NULL;
32307 : }
32308 :
32309 : default:
32310 : return NULL;
32311 : }
32312 :
32313 505 : case POPCOUNT:
32314 505 : x4 = XVECEXP (x1, 0, 1);
32315 505 : if (pattern384 (x4) != 0)
32316 : return NULL;
32317 446 : x5 = XEXP (x2, 0);
32318 446 : operands[0] = x5;
32319 446 : x6 = XEXP (x3, 0);
32320 446 : switch (GET_CODE (x6))
32321 : {
32322 425 : case REG:
32323 425 : case SUBREG:
32324 425 : case MEM:
32325 425 : operands[1] = x6;
32326 425 : switch (pattern441 (x3))
32327 : {
32328 229 : case 0:
32329 229 : if (!insn_condition_2657 (operands, insn))
32330 : return NULL;
32331 32 : return gen_split_964 (insn, operands);
32332 :
32333 174 : case 1:
32334 174 : if (!insn_condition_2658 (operands, insn))
32335 : return NULL;
32336 27 : return gen_split_965 (insn, operands);
32337 :
32338 : default:
32339 : return NULL;
32340 : }
32341 :
32342 10 : case ZERO_EXTEND:
32343 10 : if (pattern1215 (x3,
32344 : E_HImode,
32345 : E_SImode) != 0
32346 10 : || !insn_condition_2563 (operands, insn))
32347 : return NULL;
32348 2 : return gen_split_968 (insn, operands);
32349 :
32350 : default:
32351 : return NULL;
32352 : }
32353 :
32354 3987 : case BSWAP:
32355 3987 : if (GET_MODE (x3) != E_HImode)
32356 : return NULL;
32357 3265 : x4 = XVECEXP (x1, 0, 1);
32358 3265 : if (pattern286 (x4,
32359 : E_CCmode,
32360 : 17) != 0)
32361 : return NULL;
32362 2945 : x5 = XEXP (x2, 0);
32363 2945 : operands[0] = x5;
32364 2945 : if (!nonimmediate_operand (operands[0], E_HImode))
32365 : return NULL;
32366 2945 : x6 = XEXP (x3, 0);
32367 2945 : operands[1] = x6;
32368 2945 : if (!nonimmediate_operand (operands[1], E_HImode)
32369 2945 : || !insn_condition_2659 (operands, insn))
32370 : return NULL;
32371 18 : return gen_split_970 (insn, operands);
32372 :
32373 : default:
32374 : return NULL;
32375 : }
32376 :
32377 31501 : case SIMPLE_RETURN:
32378 31501 : x4 = XVECEXP (x1, 0, 1);
32379 31501 : if (GET_CODE (x4) != USE)
32380 : return NULL;
32381 31467 : x21 = XEXP (x4, 0);
32382 31467 : operands[0] = x21;
32383 31467 : if (!const_int_operand (operands[0], E_SImode)
32384 31467 : || !insn_condition_2660 (operands, insn))
32385 : return NULL;
32386 0 : return gen_split_912 (insn, operands);
32387 :
32388 : default:
32389 : return NULL;
32390 : }
32391 : }
32392 :
32393 : rtx_insn *
32394 1587380 : split_57 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32395 : {
32396 1587380 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32397 1587380 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
32398 1587380 : rtx x10;
32399 1587380 : rtx_insn *res ATTRIBUTE_UNUSED;
32400 1587380 : x2 = XEXP (x1, 0);
32401 1587380 : operands[0] = x2;
32402 1587380 : x3 = XEXP (x1, 1);
32403 1587380 : x4 = XEXP (x3, 0);
32404 1587380 : switch (GET_CODE (x4))
32405 : {
32406 29607 : case VEC_SELECT:
32407 29607 : if (GET_MODE (x4) != E_SImode)
32408 : return NULL;
32409 1815 : x5 = XEXP (x4, 1);
32410 1815 : if (GET_CODE (x5) != PARALLEL
32411 1815 : || XVECLEN (x5, 0) != 1)
32412 : return NULL;
32413 1815 : x6 = XVECEXP (x5, 0, 0);
32414 1815 : if (GET_CODE (x6) != CONST_INT
32415 1815 : || !register_operand (operands[0], E_DImode)
32416 3630 : || GET_MODE (x3) != E_DImode)
32417 : return NULL;
32418 1815 : x7 = XEXP (x4, 0);
32419 1815 : operands[1] = x7;
32420 1815 : if (XWINT (x6, 0) == 0L)
32421 : {
32422 1757 : switch (GET_MODE (operands[1]))
32423 : {
32424 376 : case E_V2SImode:
32425 376 : if (register_operand (operands[1], E_V2SImode)
32426 376 : && insn_condition_2869 (operands, insn))
32427 188 : return gen_split_1208 (insn, operands);
32428 : break;
32429 :
32430 1380 : case E_V4SImode:
32431 1380 : if (register_operand (operands[1], E_V4SImode)
32432 1380 : && insn_condition_2666 (operands, insn))
32433 686 : return gen_split_2042 (insn, operands);
32434 : break;
32435 :
32436 : default:
32437 : break;
32438 : }
32439 : }
32440 941 : operands[2] = x6;
32441 941 : switch (GET_MODE (operands[1]))
32442 : {
32443 188 : case E_V2SImode:
32444 188 : if (!memory_operand (operands[1], E_V2SImode)
32445 0 : || !const_0_to_1_operand (operands[2], E_SImode)
32446 188 : || !insn_condition_2870 (operands, insn))
32447 : return NULL;
32448 0 : return gen_split_1210 (insn, operands);
32449 :
32450 752 : case E_V4SImode:
32451 752 : if (!memory_operand (operands[1], E_V4SImode)
32452 0 : || !const_0_to_3_operand (operands[2], E_SImode)
32453 752 : || !insn_condition_2871 (operands, insn))
32454 : return NULL;
32455 0 : return gen_split_2043 (insn, operands);
32456 :
32457 : default:
32458 : return NULL;
32459 : }
32460 :
32461 757 : case NOT:
32462 757 : x7 = XEXP (x4, 0);
32463 757 : switch (GET_CODE (x7))
32464 : {
32465 683 : case REG:
32466 683 : operands[1] = x7;
32467 683 : if (!mask_reg_operand (operands[1], E_SImode)
32468 0 : || !mask_reg_operand (operands[0], E_DImode)
32469 0 : || GET_MODE (x3) != E_DImode
32470 0 : || GET_MODE (x4) != E_SImode
32471 683 : || !insn_condition_2671 (operands, insn))
32472 : return NULL;
32473 0 : return gen_split_1310 (insn, operands);
32474 :
32475 22 : case SUBREG:
32476 22 : if (maybe_ne (SUBREG_BYTE (x7), 0)
32477 22 : || pattern759 (x7,
32478 : E_SImode,
32479 : 46,
32480 : E_HImode) != 0
32481 1 : || !register_operand (operands[0], E_SImode)
32482 1 : || GET_MODE (x3) != E_SImode
32483 23 : || GET_MODE (x4) != E_HImode)
32484 : return NULL;
32485 1 : x8 = XEXP (x7, 0);
32486 1 : x9 = XVECEXP (x8, 0, 0);
32487 1 : operands[1] = x9;
32488 1 : if (!register_operand (operands[1], E_V16QImode)
32489 1 : || !insn_condition_141 (operands, insn))
32490 : return NULL;
32491 1 : return gen_split_2093 (insn, operands);
32492 :
32493 : default:
32494 : return NULL;
32495 : }
32496 :
32497 1215 : case UNSPEC:
32498 1215 : if (XVECLEN (x4, 0) != 1
32499 109 : || XINT (x4, 1) != 46
32500 46 : || GET_MODE (x4) != E_SImode
32501 46 : || !register_operand (operands[0], E_DImode)
32502 1261 : || GET_MODE (x3) != E_DImode)
32503 : return NULL;
32504 46 : x10 = XVECEXP (x4, 0, 0);
32505 46 : switch (GET_CODE (x10))
32506 : {
32507 6 : case LT:
32508 6 : switch (pattern1020 (x10))
32509 : {
32510 0 : case 0:
32511 0 : if (!insn_condition_2872 (operands, insn))
32512 : return NULL;
32513 0 : return gen_split_2065 (insn, operands);
32514 :
32515 0 : case 1:
32516 0 : if (!insn_condition_2871 (operands, insn))
32517 : return NULL;
32518 0 : return gen_split_2067 (insn, operands);
32519 :
32520 2 : case 2:
32521 2 : if (!insn_condition_2872 (operands, insn))
32522 : return NULL;
32523 1 : return gen_split_2069 (insn, operands);
32524 :
32525 0 : case 3:
32526 0 : if (!insn_condition_2873 (operands, insn))
32527 : return NULL;
32528 0 : return gen_split_2071 (insn, operands);
32529 :
32530 1 : case 4:
32531 1 : if (!insn_condition_2874 (operands, insn))
32532 : return NULL;
32533 1 : return gen_split_2102 (insn, operands);
32534 :
32535 3 : case 5:
32536 3 : if (!insn_condition_2875 (operands, insn))
32537 : return NULL;
32538 3 : return gen_split_2103 (insn, operands);
32539 :
32540 : default:
32541 : return NULL;
32542 : }
32543 :
32544 6 : case SUBREG:
32545 6 : switch (pattern1133 (x10))
32546 : {
32547 0 : case 0:
32548 0 : if (!insn_condition_2872 (operands, insn))
32549 : return NULL;
32550 0 : return gen_split_2073 (insn, operands);
32551 :
32552 0 : case 1:
32553 0 : if (!insn_condition_2871 (operands, insn))
32554 : return NULL;
32555 0 : return gen_split_2075 (insn, operands);
32556 :
32557 0 : case 2:
32558 0 : if (!insn_condition_2872 (operands, insn))
32559 : return NULL;
32560 0 : return gen_split_2077 (insn, operands);
32561 :
32562 0 : case 3:
32563 0 : if (!insn_condition_2873 (operands, insn))
32564 : return NULL;
32565 0 : return gen_split_2079 (insn, operands);
32566 :
32567 2 : case 4:
32568 2 : if (!insn_condition_2872 (operands, insn))
32569 : return NULL;
32570 1 : return gen_split_2085 (insn, operands);
32571 :
32572 0 : case 5:
32573 0 : if (!insn_condition_2871 (operands, insn))
32574 : return NULL;
32575 0 : return gen_split_2087 (insn, operands);
32576 :
32577 0 : case 6:
32578 0 : if (!insn_condition_2872 (operands, insn))
32579 : return NULL;
32580 0 : return gen_split_2089 (insn, operands);
32581 :
32582 2 : case 7:
32583 2 : if (!insn_condition_2873 (operands, insn))
32584 : return NULL;
32585 1 : return gen_split_2091 (insn, operands);
32586 :
32587 : default:
32588 : return NULL;
32589 : }
32590 :
32591 0 : case VEC_MERGE:
32592 0 : switch (pattern1022 (x10))
32593 : {
32594 0 : case 0:
32595 0 : if (!insn_condition_2874 (operands, insn))
32596 : return NULL;
32597 0 : return gen_split_2104 (insn, operands);
32598 :
32599 0 : case 1:
32600 0 : if (!insn_condition_2875 (operands, insn))
32601 : return NULL;
32602 0 : return gen_split_2105 (insn, operands);
32603 :
32604 : default:
32605 : return NULL;
32606 : }
32607 :
32608 : default:
32609 : return NULL;
32610 : }
32611 :
32612 76674 : case SUBREG:
32613 76674 : if (pattern137 (x3) != 0
32614 76674 : || !insn_condition_2770 (operands, insn))
32615 : return NULL;
32616 2 : return gen_split_2092 (insn, operands);
32617 :
32618 : default:
32619 : return NULL;
32620 : }
32621 : }
32622 :
32623 : rtx_insn *
32624 59338 : split_63 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
32625 : {
32626 59338 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
32627 59338 : rtx x2, x3;
32628 59338 : rtx_insn *res ATTRIBUTE_UNUSED;
32629 59338 : x2 = XEXP (x1, 1);
32630 59338 : x3 = XEXP (x2, 0);
32631 59338 : switch (GET_CODE (x3))
32632 : {
32633 56585 : case REG:
32634 56585 : case SUBREG:
32635 56585 : case MEM:
32636 56585 : res = split_61 (x1, insn);
32637 56585 : if (res != NULL_RTX)
32638 : return res;
32639 : break;
32640 :
32641 2753 : case CONST_INT:
32642 2753 : case CONST_DOUBLE:
32643 2753 : case CONST_VECTOR:
32644 2753 : switch (pattern351 (x2))
32645 : {
32646 1108 : case 0:
32647 1108 : res = split_62 (x1, insn);
32648 1108 : if (res != NULL_RTX)
32649 : return res;
32650 : break;
32651 :
32652 0 : case 1:
32653 0 : if (vector_all_ones_operand (operands[1], E_V16QImode)
32654 0 : && const0_operand (operands[2], E_V16QImode)
32655 0 : && insn_condition_2908 (operands, insn))
32656 0 : return gen_split_1946 (insn, operands);
32657 0 : if (const0_operand (operands[1], E_V16QImode)
32658 0 : && vector_all_ones_operand (operands[2], E_V16QImode)
32659 0 : && insn_condition_2910 (operands, insn))
32660 0 : return gen_split_1969 (insn, operands);
32661 : break;
32662 :
32663 0 : case 2:
32664 0 : if (vector_all_ones_operand (operands[1], E_V8HImode)
32665 0 : && const0_operand (operands[2], E_V8HImode)
32666 0 : && insn_condition_2908 (operands, insn))
32667 0 : return gen_split_1948 (insn, operands);
32668 0 : if (const0_operand (operands[1], E_V8HImode)
32669 0 : && vector_all_ones_operand (operands[2], E_V8HImode)
32670 0 : && insn_condition_2910 (operands, insn))
32671 0 : return gen_split_1970 (insn, operands);
32672 : break;
32673 :
32674 2 : case 3:
32675 2 : if (vector_all_ones_operand (operands[1], E_V4SImode)
32676 0 : && const0_operand (operands[2], E_V4SImode)
32677 2 : && insn_condition_2908 (operands, insn))
32678 0 : return gen_split_1950 (insn, operands);
32679 2 : if (const0_operand (operands[1], E_V4SImode)
32680 2 : && vector_all_ones_operand (operands[2], E_V4SImode)
32681 2 : && insn_condition_2910 (operands, insn))
32682 0 : return gen_split_1971 (insn, operands);
32683 : break;
32684 :
32685 0 : case 4:
32686 0 : if (vector_all_ones_operand (operands[1], E_V2DImode)
32687 0 : && const0_operand (operands[2], E_V2DImode)
32688 0 : && insn_condition_2908 (operands, insn))
32689 0 : return gen_split_1952 (insn, operands);
32690 0 : if (const0_operand (operands[1], E_V2DImode)
32691 0 : && vector_all_ones_operand (operands[2], E_V2DImode)
32692 0 : && insn_condition_2910 (operands, insn))
32693 0 : return gen_split_1972 (insn, operands);
32694 : break;
32695 :
32696 4 : case 5:
32697 4 : if (vector_all_ones_operand (operands[1], E_V32QImode)
32698 4 : && const0_operand (operands[2], E_V32QImode)
32699 8 : && insn_condition_2908 (operands, insn))
32700 4 : return gen_split_1954 (insn, operands);
32701 0 : if (const0_operand (operands[1], E_V32QImode)
32702 0 : && vector_all_ones_operand (operands[2], E_V32QImode)
32703 0 : && insn_condition_2910 (operands, insn))
32704 0 : return gen_split_1973 (insn, operands);
32705 : break;
32706 :
32707 4 : case 6:
32708 4 : if (vector_all_ones_operand (operands[1], E_V16HImode)
32709 4 : && const0_operand (operands[2], E_V16HImode)
32710 8 : && insn_condition_2908 (operands, insn))
32711 4 : return gen_split_1956 (insn, operands);
32712 0 : if (const0_operand (operands[1], E_V16HImode)
32713 0 : && vector_all_ones_operand (operands[2], E_V16HImode)
32714 0 : && insn_condition_2910 (operands, insn))
32715 0 : return gen_split_1974 (insn, operands);
32716 : break;
32717 :
32718 4 : case 7:
32719 4 : if (vector_all_ones_operand (operands[1], E_V8SImode)
32720 4 : && const0_operand (operands[2], E_V8SImode)
32721 8 : && insn_condition_2908 (operands, insn))
32722 4 : return gen_split_1958 (insn, operands);
32723 0 : if (const0_operand (operands[1], E_V8SImode)
32724 0 : && vector_all_ones_operand (operands[2], E_V8SImode)
32725 0 : && insn_condition_2910 (operands, insn))
32726 0 : return gen_split_1975 (insn, operands);
32727 : break;
32728 :
32729 4 : case 8:
32730 4 : if (vector_all_ones_operand (operands[1], E_V4DImode)
32731 4 : && const0_operand (operands[2], E_V4DImode)
32732 8 : && insn_condition_2908 (operands, insn))
32733 4 : return gen_split_1960 (insn, operands);
32734 0 : if (const0_operand (operands[1], E_V4DImode)
32735 0 : && vector_all_ones_operand (operands[2], E_V4DImode)
32736 0 : && insn_condition_2910 (operands, insn))
32737 0 : return gen_split_1976 (insn, operands);
32738 : break;
32739 :
32740 0 : case 9:
32741 0 : if (insn_condition_2902 (operands, insn))
32742 0 : return gen_split_1423 (insn, operands);
32743 : break;
32744 :
32745 0 : case 10:
32746 0 : if (insn_condition_2911 (operands, insn))
32747 0 : return gen_split_1937 (insn, operands);
32748 : break;
32749 :
32750 0 : case 11:
32751 0 : if (insn_condition_2840 (operands, insn))
32752 0 : return gen_split_1424 (insn, operands);
32753 : break;
32754 :
32755 0 : case 12:
32756 0 : if (insn_condition_2911 (operands, insn))
32757 0 : return gen_split_1933 (insn, operands);
32758 : break;
32759 :
32760 0 : case 13:
32761 0 : if (insn_condition_2902 (operands, insn))
32762 0 : return gen_split_1425 (insn, operands);
32763 : break;
32764 :
32765 0 : case 14:
32766 0 : if (insn_condition_2911 (operands, insn))
32767 0 : return gen_split_1938 (insn, operands);
32768 : break;
32769 :
32770 0 : case 15:
32771 0 : if (insn_condition_2903 (operands, insn))
32772 0 : return gen_split_1426 (insn, operands);
32773 : break;
32774 :
32775 0 : case 16:
32776 0 : if (insn_condition_2911 (operands, insn))
32777 0 : return gen_split_1934 (insn, operands);
32778 : break;
32779 :
32780 0 : case 17:
32781 0 : if (insn_condition_2911 (operands, insn))
32782 0 : return gen_split_1931 (insn, operands);
32783 : break;
32784 :
32785 0 : case 18:
32786 0 : if (insn_condition_2911 (operands, insn))
32787 0 : return gen_split_1932 (insn, operands);
32788 : break;
32789 :
32790 0 : case 19:
32791 0 : if (insn_condition_2911 (operands, insn))
32792 0 : return gen_split_1935 (insn, operands);
32793 : break;
32794 :
32795 0 : case 20:
32796 0 : if (insn_condition_2911 (operands, insn))
32797 0 : return gen_split_1936 (insn, operands);
32798 : break;
32799 :
32800 1435 : case 21:
32801 1435 : switch (GET_MODE (operands[0]))
32802 : {
32803 272 : case E_V16SImode:
32804 272 : if (register_operand (operands[0], E_V16SImode)
32805 222 : && GET_MODE (x2) == E_V16SImode
32806 494 : && register_operand (operands[1], E_HImode))
32807 : {
32808 222 : if (vector_all_ones_operand (operands[2], E_V16SImode)
32809 168 : && const0_operand (operands[3], E_V16SImode)
32810 390 : && insn_condition_2912 (operands, insn))
32811 35 : return gen_split_1649 (insn, operands);
32812 187 : if (const0_operand (operands[2], E_V16SImode)
32813 8 : && vector_all_ones_operand (operands[3], E_V16SImode)
32814 187 : && insn_condition_2842 (operands, insn))
32815 0 : return gen_split_1661 (insn, operands);
32816 : }
32817 : break;
32818 :
32819 70 : case E_V8SImode:
32820 70 : if (register_operand (operands[0], E_V8SImode)
32821 70 : && GET_MODE (x2) == E_V8SImode
32822 140 : && register_operand (operands[1], E_QImode))
32823 : {
32824 70 : if (vector_all_ones_operand (operands[2], E_V8SImode)
32825 64 : && const0_operand (operands[3], E_V8SImode)
32826 134 : && insn_condition_2913 (operands, insn))
32827 1 : return gen_split_1650 (insn, operands);
32828 69 : if (const0_operand (operands[2], E_V8SImode)
32829 6 : && vector_all_ones_operand (operands[3], E_V8SImode)
32830 69 : && insn_condition_2906 (operands, insn))
32831 0 : return gen_split_1662 (insn, operands);
32832 : }
32833 : break;
32834 :
32835 115 : case E_V4SImode:
32836 115 : if (register_operand (operands[0], E_V4SImode)
32837 114 : && GET_MODE (x2) == E_V4SImode
32838 229 : && register_operand (operands[1], E_QImode))
32839 : {
32840 114 : if (vector_all_ones_operand (operands[2], E_V4SImode)
32841 95 : && const0_operand (operands[3], E_V4SImode)
32842 209 : && insn_condition_2913 (operands, insn))
32843 9 : return gen_split_1651 (insn, operands);
32844 105 : if (const0_operand (operands[2], E_V4SImode)
32845 16 : && vector_all_ones_operand (operands[3], E_V4SImode)
32846 107 : && insn_condition_2906 (operands, insn))
32847 2 : return gen_split_1663 (insn, operands);
32848 : }
32849 : break;
32850 :
32851 152 : case E_V8DImode:
32852 152 : if (register_operand (operands[0], E_V8DImode)
32853 150 : && GET_MODE (x2) == E_V8DImode
32854 302 : && register_operand (operands[1], E_QImode))
32855 : {
32856 150 : if (vector_all_ones_operand (operands[2], E_V8DImode)
32857 149 : && const0_operand (operands[3], E_V8DImode)
32858 299 : && insn_condition_2912 (operands, insn))
32859 30 : return gen_split_1652 (insn, operands);
32860 120 : if (const0_operand (operands[2], E_V8DImode)
32861 0 : && vector_all_ones_operand (operands[3], E_V8DImode)
32862 120 : && insn_condition_2842 (operands, insn))
32863 0 : return gen_split_1664 (insn, operands);
32864 : }
32865 : break;
32866 :
32867 59 : case E_V4DImode:
32868 59 : if (register_operand (operands[0], E_V4DImode)
32869 59 : && GET_MODE (x2) == E_V4DImode
32870 118 : && register_operand (operands[1], E_QImode))
32871 : {
32872 59 : if (vector_all_ones_operand (operands[2], E_V4DImode)
32873 59 : && const0_operand (operands[3], E_V4DImode)
32874 118 : && insn_condition_2913 (operands, insn))
32875 0 : return gen_split_1653 (insn, operands);
32876 59 : if (const0_operand (operands[2], E_V4DImode)
32877 0 : && vector_all_ones_operand (operands[3], E_V4DImode)
32878 59 : && insn_condition_2906 (operands, insn))
32879 0 : return gen_split_1665 (insn, operands);
32880 : }
32881 : break;
32882 :
32883 75 : case E_V2DImode:
32884 75 : if (register_operand (operands[0], E_V2DImode)
32885 75 : && GET_MODE (x2) == E_V2DImode
32886 150 : && register_operand (operands[1], E_QImode))
32887 : {
32888 75 : if (vector_all_ones_operand (operands[2], E_V2DImode)
32889 74 : && const0_operand (operands[3], E_V2DImode)
32890 149 : && insn_condition_2913 (operands, insn))
32891 6 : return gen_split_1654 (insn, operands);
32892 69 : if (const0_operand (operands[2], E_V2DImode)
32893 0 : && vector_all_ones_operand (operands[3], E_V2DImode)
32894 69 : && insn_condition_2906 (operands, insn))
32895 0 : return gen_split_1666 (insn, operands);
32896 : }
32897 : break;
32898 :
32899 150 : case E_V64QImode:
32900 150 : if (pattern1225 (x2,
32901 : E_DImode,
32902 : E_V64QImode) == 0
32903 150 : && insn_condition_2904 (operands, insn))
32904 0 : return gen_split_1655 (insn, operands);
32905 : break;
32906 :
32907 62 : case E_V32QImode:
32908 62 : if (pattern1225 (x2,
32909 : E_SImode,
32910 : E_V32QImode) == 0
32911 62 : && insn_condition_2905 (operands, insn))
32912 0 : return gen_split_1656 (insn, operands);
32913 : break;
32914 :
32915 77 : case E_V16QImode:
32916 77 : if (pattern1225 (x2,
32917 : E_HImode,
32918 : E_V16QImode) == 0
32919 77 : && insn_condition_2905 (operands, insn))
32920 0 : return gen_split_1657 (insn, operands);
32921 : break;
32922 :
32923 188 : case E_V32HImode:
32924 188 : if (pattern1225 (x2,
32925 : E_SImode,
32926 : E_V32HImode) == 0
32927 188 : && insn_condition_2904 (operands, insn))
32928 0 : return gen_split_1658 (insn, operands);
32929 : break;
32930 :
32931 96 : case E_V16HImode:
32932 96 : if (pattern1225 (x2,
32933 : E_HImode,
32934 : E_V16HImode) == 0
32935 96 : && insn_condition_2905 (operands, insn))
32936 0 : return gen_split_1659 (insn, operands);
32937 : break;
32938 :
32939 116 : case E_V8HImode:
32940 116 : if (pattern1225 (x2,
32941 : E_QImode,
32942 : E_V8HImode) == 0
32943 116 : && insn_condition_2905 (operands, insn))
32944 0 : return gen_split_1660 (insn, operands);
32945 : break;
32946 :
32947 : default:
32948 : break;
32949 : }
32950 : break;
32951 :
32952 : default:
32953 : break;
32954 : }
32955 : break;
32956 :
32957 : default:
32958 : break;
32959 : }
32960 58578 : operands[1] = x3;
32961 58578 : switch (pattern354 (x2))
32962 : {
32963 3 : case 0:
32964 3 : if (!insn_condition_2902 (operands, insn))
32965 : return NULL;
32966 3 : return gen_split_1427 (insn, operands);
32967 :
32968 3 : case 1:
32969 3 : if (!insn_condition_2840 (operands, insn))
32970 : return NULL;
32971 3 : return gen_split_1428 (insn, operands);
32972 :
32973 3 : case 2:
32974 3 : if (!insn_condition_2902 (operands, insn))
32975 : return NULL;
32976 3 : return gen_split_1429 (insn, operands);
32977 :
32978 3 : case 3:
32979 3 : if (!insn_condition_2903 (operands, insn))
32980 : return NULL;
32981 3 : return gen_split_1430 (insn, operands);
32982 :
32983 0 : case 4:
32984 0 : if (!insn_condition_2902 (operands, insn))
32985 : return NULL;
32986 0 : return gen_split_1431 (insn, operands);
32987 :
32988 0 : case 5:
32989 0 : if (!insn_condition_2840 (operands, insn))
32990 : return NULL;
32991 0 : return gen_split_1432 (insn, operands);
32992 :
32993 0 : case 6:
32994 0 : if (!insn_condition_2902 (operands, insn))
32995 : return NULL;
32996 0 : return gen_split_1433 (insn, operands);
32997 :
32998 0 : case 7:
32999 0 : if (!insn_condition_2903 (operands, insn))
33000 : return NULL;
33001 0 : return gen_split_1434 (insn, operands);
33002 :
33003 : default:
33004 : return NULL;
33005 : }
33006 : }
33007 :
33008 : rtx_insn *
33009 1404806 : split_77 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33010 : {
33011 1404806 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33012 1404806 : rtx x2, x3, x4, x5, x6, x7, x8;
33013 1404806 : rtx_insn *res ATTRIBUTE_UNUSED;
33014 1404806 : x2 = XEXP (x1, 1);
33015 1404806 : switch (GET_CODE (x2))
33016 : {
33017 498423 : case AND:
33018 498423 : res = split_64 (x1, insn);
33019 498423 : if (res != NULL_RTX)
33020 : return res;
33021 : break;
33022 :
33023 143309 : case XOR:
33024 143309 : res = split_65 (x1, insn);
33025 143309 : if (res != NULL_RTX)
33026 : return res;
33027 : break;
33028 :
33029 622364 : case IOR:
33030 622364 : x3 = XEXP (x2, 0);
33031 622364 : if (GET_CODE (x3) == VEC_DUPLICATE)
33032 : {
33033 42 : switch (pattern625 (x2))
33034 : {
33035 1 : case 0:
33036 1 : if (insn_condition_2936 (operands, insn))
33037 1 : return gen_split_2009 (insn, operands);
33038 : break;
33039 :
33040 1 : case 1:
33041 1 : if (insn_condition_2936 (operands, insn))
33042 1 : return gen_split_2010 (insn, operands);
33043 : break;
33044 :
33045 1 : case 2:
33046 1 : if (insn_condition_2937 (operands, insn))
33047 1 : return gen_split_2011 (insn, operands);
33048 : break;
33049 :
33050 0 : case 3:
33051 0 : if (insn_condition_2938 (operands, insn))
33052 0 : return gen_split_2012 (insn, operands);
33053 : break;
33054 :
33055 0 : case 4:
33056 0 : if (insn_condition_2939 (operands, insn))
33057 0 : return gen_split_2013 (insn, operands);
33058 : break;
33059 :
33060 1 : case 5:
33061 1 : if (insn_condition_2937 (operands, insn))
33062 1 : return gen_split_2014 (insn, operands);
33063 : break;
33064 :
33065 0 : case 6:
33066 0 : if (insn_condition_2938 (operands, insn))
33067 0 : return gen_split_2015 (insn, operands);
33068 : break;
33069 :
33070 0 : case 7:
33071 0 : if (insn_condition_2939 (operands, insn))
33072 0 : return gen_split_2016 (insn, operands);
33073 : break;
33074 :
33075 0 : case 8:
33076 0 : if (insn_condition_2938 (operands, insn))
33077 0 : return gen_split_2017 (insn, operands);
33078 : break;
33079 :
33080 0 : case 9:
33081 0 : if (insn_condition_2939 (operands, insn))
33082 0 : return gen_split_2018 (insn, operands);
33083 : break;
33084 :
33085 0 : case 10:
33086 0 : if (insn_condition_2938 (operands, insn))
33087 0 : return gen_split_2019 (insn, operands);
33088 : break;
33089 :
33090 0 : case 11:
33091 0 : if (insn_condition_2939 (operands, insn))
33092 0 : return gen_split_2020 (insn, operands);
33093 : break;
33094 :
33095 : default:
33096 : break;
33097 : }
33098 : }
33099 : break;
33100 :
33101 : default:
33102 : break;
33103 : }
33104 1404729 : operands[1] = x2;
33105 1404729 : switch (pattern242 ())
33106 : {
33107 5 : case 0:
33108 5 : if (insn_condition_3010 (operands, insn))
33109 5 : return gen_split_1776 (insn, operands);
33110 : break;
33111 :
33112 5 : case 1:
33113 5 : if (insn_condition_3012 (operands, insn))
33114 5 : return gen_split_1777 (insn, operands);
33115 : break;
33116 :
33117 25 : case 2:
33118 25 : if (insn_condition_3014 (operands, insn))
33119 25 : return gen_split_1778 (insn, operands);
33120 : break;
33121 :
33122 0 : case 3:
33123 0 : if (insn_condition_3010 (operands, insn))
33124 0 : return gen_split_1779 (insn, operands);
33125 : break;
33126 :
33127 0 : case 4:
33128 0 : if (insn_condition_3012 (operands, insn))
33129 0 : return gen_split_1780 (insn, operands);
33130 : break;
33131 :
33132 0 : case 5:
33133 0 : if (insn_condition_3014 (operands, insn))
33134 0 : return gen_split_1781 (insn, operands);
33135 : break;
33136 :
33137 10 : case 6:
33138 10 : if (insn_condition_3010 (operands, insn))
33139 10 : return gen_split_1782 (insn, operands);
33140 : break;
33141 :
33142 2 : case 7:
33143 2 : if (insn_condition_3012 (operands, insn))
33144 0 : return gen_split_1783 (insn, operands);
33145 : break;
33146 :
33147 2553 : case 8:
33148 2553 : if (insn_condition_3014 (operands, insn))
33149 9 : return gen_split_1784 (insn, operands);
33150 : break;
33151 :
33152 5 : case 9:
33153 5 : if (insn_condition_3010 (operands, insn))
33154 5 : return gen_split_1785 (insn, operands);
33155 : break;
33156 :
33157 9 : case 10:
33158 9 : if (insn_condition_3012 (operands, insn))
33159 5 : return gen_split_1786 (insn, operands);
33160 : break;
33161 :
33162 2535 : case 11:
33163 2535 : if (insn_condition_3027 (operands, insn))
33164 7 : return gen_split_1787 (insn, operands);
33165 : break;
33166 :
33167 : default:
33168 : break;
33169 : }
33170 1404658 : if (GET_CODE (x2) != XOR)
33171 : return NULL;
33172 143287 : x3 = XEXP (x2, 0);
33173 143287 : if (GET_CODE (x3) != AND)
33174 : return NULL;
33175 8846 : x4 = XEXP (x3, 0);
33176 8846 : if (GET_CODE (x4) != XOR)
33177 : return NULL;
33178 788 : x5 = XEXP (x4, 0);
33179 788 : operands[1] = x5;
33180 788 : x6 = XEXP (x4, 1);
33181 788 : operands[2] = x6;
33182 788 : x7 = XEXP (x3, 1);
33183 788 : operands[3] = x7;
33184 788 : switch (GET_MODE (operands[0]))
33185 : {
33186 0 : case E_V16HFmode:
33187 0 : if (pattern1227 (x2,
33188 : E_V16HFmode) != 0)
33189 : return NULL;
33190 0 : x8 = XEXP (x2, 1);
33191 0 : if (rtx_equal_p (x8, operands[1])
33192 0 : && insn_condition_24 (operands, insn))
33193 0 : return gen_split_2364 (insn, operands);
33194 0 : if (!rtx_equal_p (x8, operands[2])
33195 0 : || !insn_condition_24 (operands, insn))
33196 : return NULL;
33197 0 : return gen_split_2380 (insn, operands);
33198 :
33199 0 : case E_V8HFmode:
33200 0 : if (pattern1227 (x2,
33201 : E_V8HFmode) != 0)
33202 : return NULL;
33203 0 : x8 = XEXP (x2, 1);
33204 0 : if (rtx_equal_p (x8, operands[1])
33205 0 : && insn_condition_24 (operands, insn))
33206 0 : return gen_split_2365 (insn, operands);
33207 0 : if (!rtx_equal_p (x8, operands[2])
33208 0 : || !insn_condition_24 (operands, insn))
33209 : return NULL;
33210 0 : return gen_split_2381 (insn, operands);
33211 :
33212 0 : case E_V8SFmode:
33213 0 : if (pattern1227 (x2,
33214 : E_V8SFmode) != 0)
33215 : return NULL;
33216 0 : x8 = XEXP (x2, 1);
33217 0 : if (rtx_equal_p (x8, operands[1])
33218 0 : && insn_condition_24 (operands, insn))
33219 0 : return gen_split_2366 (insn, operands);
33220 0 : if (!rtx_equal_p (x8, operands[2])
33221 0 : || !insn_condition_24 (operands, insn))
33222 : return NULL;
33223 0 : return gen_split_2382 (insn, operands);
33224 :
33225 0 : case E_V4SFmode:
33226 0 : if (pattern1227 (x2,
33227 : E_V4SFmode) != 0)
33228 : return NULL;
33229 0 : x8 = XEXP (x2, 1);
33230 0 : if (rtx_equal_p (x8, operands[1])
33231 0 : && insn_condition_24 (operands, insn))
33232 0 : return gen_split_2367 (insn, operands);
33233 0 : if (!rtx_equal_p (x8, operands[2])
33234 0 : || !insn_condition_24 (operands, insn))
33235 : return NULL;
33236 0 : return gen_split_2383 (insn, operands);
33237 :
33238 0 : case E_V4DFmode:
33239 0 : if (pattern1227 (x2,
33240 : E_V4DFmode) != 0)
33241 : return NULL;
33242 0 : x8 = XEXP (x2, 1);
33243 0 : if (rtx_equal_p (x8, operands[1])
33244 0 : && insn_condition_24 (operands, insn))
33245 0 : return gen_split_2368 (insn, operands);
33246 0 : if (!rtx_equal_p (x8, operands[2])
33247 0 : || !insn_condition_24 (operands, insn))
33248 : return NULL;
33249 0 : return gen_split_2384 (insn, operands);
33250 :
33251 0 : case E_V2DFmode:
33252 0 : if (pattern1227 (x2,
33253 : E_V2DFmode) != 0)
33254 : return NULL;
33255 0 : x8 = XEXP (x2, 1);
33256 0 : if (rtx_equal_p (x8, operands[1])
33257 0 : && insn_condition_24 (operands, insn))
33258 0 : return gen_split_2369 (insn, operands);
33259 0 : if (!rtx_equal_p (x8, operands[2])
33260 0 : || !insn_condition_24 (operands, insn))
33261 : return NULL;
33262 0 : return gen_split_2385 (insn, operands);
33263 :
33264 : default:
33265 : return NULL;
33266 : }
33267 : }
33268 :
33269 : rtx_insn *
33270 36853079 : split_79 (rtx x1 ATTRIBUTE_UNUSED, rtx_insn *insn ATTRIBUTE_UNUSED)
33271 : {
33272 36853079 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
33273 36853079 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
33274 36853079 : rtx x10, x11, x12, x13, x14, x15, x16;
33275 36853079 : rtx_insn *res ATTRIBUTE_UNUSED;
33276 36853079 : switch (XVECLEN (x1, 0))
33277 : {
33278 34264285 : case 2:
33279 34264285 : x2 = XVECEXP (x1, 0, 0);
33280 34264285 : if (GET_CODE (x2) != SET)
33281 : return NULL;
33282 33701671 : x3 = XEXP (x2, 1);
33283 33701671 : switch (GET_CODE (x3))
33284 : {
33285 345777 : case UNSPEC:
33286 345777 : x4 = XVECEXP (x1, 0, 1);
33287 345777 : if (GET_CODE (x4) != CLOBBER)
33288 : return NULL;
33289 336562 : x5 = XEXP (x2, 0);
33290 336562 : operands[0] = x5;
33291 336562 : switch (XVECLEN (x3, 0))
33292 : {
33293 184277 : case 1:
33294 184277 : x6 = XVECEXP (x3, 0, 0);
33295 184277 : operands[1] = x6;
33296 184277 : switch (XINT (x3, 1))
33297 : {
33298 0 : case 71:
33299 0 : if (pattern1104 (x1) != 0
33300 0 : || !insn_condition_3051 (operands, insn))
33301 : return NULL;
33302 0 : return gen_split_982 (insn, operands);
33303 :
33304 146 : case 72:
33305 146 : if (pattern1104 (x1) != 0
33306 146 : || !insn_condition_3051 (operands, insn))
33307 : return NULL;
33308 69 : return gen_split_983 (insn, operands);
33309 :
33310 38 : case 73:
33311 38 : if (pattern1104 (x1) != 0
33312 38 : || !insn_condition_3051 (operands, insn))
33313 : return NULL;
33314 33 : return gen_split_984 (insn, operands);
33315 :
33316 85 : case 74:
33317 85 : if (pattern1104 (x1) != 0
33318 85 : || !insn_condition_3051 (operands, insn))
33319 : return NULL;
33320 52 : return gen_split_985 (insn, operands);
33321 :
33322 196 : case 75:
33323 196 : switch (pattern1105 (x1))
33324 : {
33325 0 : case 0:
33326 0 : if (!insn_condition_3052 (operands, insn))
33327 : return NULL;
33328 0 : return gen_split_986 (insn, operands);
33329 :
33330 10 : case 1:
33331 10 : if (!insn_condition_3052 (operands, insn))
33332 : return NULL;
33333 10 : return gen_split_988 (insn, operands);
33334 :
33335 60 : case 2:
33336 60 : if (!insn_condition_3052 (operands, insn))
33337 : return NULL;
33338 60 : return gen_split_990 (insn, operands);
33339 :
33340 : default:
33341 : return NULL;
33342 : }
33343 :
33344 28 : case 76:
33345 28 : switch (pattern1105 (x1))
33346 : {
33347 0 : case 0:
33348 0 : if (!insn_condition_3052 (operands, insn))
33349 : return NULL;
33350 0 : return gen_split_987 (insn, operands);
33351 :
33352 4 : case 1:
33353 4 : if (!insn_condition_3052 (operands, insn))
33354 : return NULL;
33355 4 : return gen_split_989 (insn, operands);
33356 :
33357 24 : case 2:
33358 24 : if (!insn_condition_3052 (operands, insn))
33359 : return NULL;
33360 24 : return gen_split_991 (insn, operands);
33361 :
33362 : default:
33363 : return NULL;
33364 : }
33365 :
33366 0 : case 117:
33367 0 : if (GET_MODE (x3) != E_V4SImode
33368 0 : || !register_operand (operands[0], E_V4SImode)
33369 0 : || !nonimmediate_operand (operands[1], E_DImode))
33370 : return NULL;
33371 0 : x7 = XEXP (x4, 0);
33372 0 : operands[2] = x7;
33373 0 : if (!scratch_operand (operands[2], E_V4SImode)
33374 0 : || !insn_condition_3053 (operands, insn))
33375 : return NULL;
33376 0 : return gen_split_1275 (insn, operands);
33377 :
33378 : default:
33379 : return NULL;
33380 : }
33381 :
33382 42149 : case 3:
33383 42149 : if (XINT (x3, 1) != 49
33384 54 : || GET_MODE (x3) != E_V8QImode
33385 54 : || pattern975 (x1) != 0
33386 42187 : || !insn_condition_2844 (operands, insn))
33387 : return NULL;
33388 19 : return gen_split_2123 (insn, operands);
33389 :
33390 : default:
33391 : return NULL;
33392 : }
33393 :
33394 136109 : case SMAX:
33395 136109 : switch (pattern443 (x1))
33396 : {
33397 47096 : case 0:
33398 47096 : if (insn_condition_2576 (operands, insn))
33399 135 : return gen_split_1014 (insn, operands);
33400 46961 : if (!insn_condition_2577 (operands, insn))
33401 : return NULL;
33402 46961 : return gen_split_1034 (insn, operands);
33403 :
33404 19 : case 1:
33405 19 : if (!insn_condition_2578 (operands, insn))
33406 : return NULL;
33407 19 : return gen_split_1018 (insn, operands);
33408 :
33409 119 : case 2:
33410 119 : if (!insn_condition_2579 (operands, insn))
33411 : return NULL;
33412 119 : return gen_split_1022 (insn, operands);
33413 :
33414 74 : case 3:
33415 74 : if (!insn_condition_2580 (operands, insn))
33416 : return NULL;
33417 74 : return gen_split_1026 (insn, operands);
33418 :
33419 6646 : case 4:
33420 6646 : if (!insn_condition_2581 (operands, insn))
33421 : return NULL;
33422 6646 : return gen_split_1030 (insn, operands);
33423 :
33424 : default:
33425 : return NULL;
33426 : }
33427 :
33428 25089 : case SMIN:
33429 25089 : switch (pattern443 (x1))
33430 : {
33431 5985 : case 0:
33432 5985 : if (insn_condition_2576 (operands, insn))
33433 144 : return gen_split_1015 (insn, operands);
33434 5841 : if (!insn_condition_2577 (operands, insn))
33435 : return NULL;
33436 5841 : return gen_split_1035 (insn, operands);
33437 :
33438 63 : case 1:
33439 63 : if (!insn_condition_2578 (operands, insn))
33440 : return NULL;
33441 63 : return gen_split_1019 (insn, operands);
33442 :
33443 106 : case 2:
33444 106 : if (!insn_condition_2579 (operands, insn))
33445 : return NULL;
33446 106 : return gen_split_1023 (insn, operands);
33447 :
33448 118 : case 3:
33449 118 : if (!insn_condition_2580 (operands, insn))
33450 : return NULL;
33451 118 : return gen_split_1027 (insn, operands);
33452 :
33453 9522 : case 4:
33454 9522 : if (!insn_condition_2581 (operands, insn))
33455 : return NULL;
33456 9522 : return gen_split_1031 (insn, operands);
33457 :
33458 : default:
33459 : return NULL;
33460 : }
33461 :
33462 51708 : case UMAX:
33463 51708 : switch (pattern258 (x1))
33464 : {
33465 31449 : case 0:
33466 31449 : if (insn_condition_2576 (operands, insn))
33467 21 : return gen_split_1016 (insn, operands);
33468 31428 : if (!insn_condition_2577 (operands, insn))
33469 : return NULL;
33470 31428 : return gen_split_1036 (insn, operands);
33471 :
33472 5 : case 1:
33473 5 : if (!insn_condition_2578 (operands, insn))
33474 : return NULL;
33475 5 : return gen_split_1020 (insn, operands);
33476 :
33477 718 : case 2:
33478 718 : if (!insn_condition_2579 (operands, insn))
33479 : return NULL;
33480 718 : return gen_split_1024 (insn, operands);
33481 :
33482 60 : case 3:
33483 60 : if (!insn_condition_2580 (operands, insn))
33484 : return NULL;
33485 60 : return gen_split_1028 (insn, operands);
33486 :
33487 1444 : case 4:
33488 1444 : if (!insn_condition_2581 (operands, insn))
33489 : return NULL;
33490 1444 : return gen_split_1032 (insn, operands);
33491 :
33492 0 : case 5:
33493 0 : x8 = XEXP (x3, 1);
33494 0 : if (rtx_equal_p (x8, operands[1])
33495 0 : && insn_condition_3054 (operands, insn))
33496 0 : return gen_split_1038 (insn, operands);
33497 0 : if (!rtx_equal_p (x8, operands[2])
33498 0 : || !insn_condition_3054 (operands, insn))
33499 : return NULL;
33500 0 : return gen_split_1039 (insn, operands);
33501 :
33502 25 : case 6:
33503 25 : x8 = XEXP (x3, 1);
33504 25 : if (rtx_equal_p (x8, operands[1])
33505 25 : && insn_condition_3054 (operands, insn))
33506 6 : return gen_split_1042 (insn, operands);
33507 19 : if (!rtx_equal_p (x8, operands[2])
33508 19 : || !insn_condition_3054 (operands, insn))
33509 : return NULL;
33510 16 : return gen_split_1043 (insn, operands);
33511 :
33512 110 : case 7:
33513 110 : x8 = XEXP (x3, 1);
33514 110 : if (rtx_equal_p (x8, operands[1])
33515 110 : && insn_condition_2578 (operands, insn))
33516 55 : return gen_split_1046 (insn, operands);
33517 55 : if (!rtx_equal_p (x8, operands[2])
33518 55 : || !insn_condition_2578 (operands, insn))
33519 : return NULL;
33520 26 : return gen_split_1047 (insn, operands);
33521 :
33522 5 : case 8:
33523 5 : if (!insn_condition_3054 (operands, insn))
33524 : return NULL;
33525 5 : return gen_split_1050 (insn, operands);
33526 :
33527 3 : case 9:
33528 3 : if (!insn_condition_3054 (operands, insn))
33529 : return NULL;
33530 3 : return gen_split_1052 (insn, operands);
33531 :
33532 0 : case 10:
33533 0 : if (!insn_condition_2578 (operands, insn))
33534 : return NULL;
33535 0 : return gen_split_1054 (insn, operands);
33536 :
33537 : default:
33538 : return NULL;
33539 : }
33540 :
33541 43889 : case UMIN:
33542 43889 : switch (pattern258 (x1))
33543 : {
33544 24161 : case 0:
33545 24161 : if (insn_condition_2576 (operands, insn))
33546 56 : return gen_split_1017 (insn, operands);
33547 24105 : if (!insn_condition_2577 (operands, insn))
33548 : return NULL;
33549 24105 : return gen_split_1037 (insn, operands);
33550 :
33551 5 : case 1:
33552 5 : if (!insn_condition_2578 (operands, insn))
33553 : return NULL;
33554 5 : return gen_split_1021 (insn, operands);
33555 :
33556 197 : case 2:
33557 197 : if (!insn_condition_2579 (operands, insn))
33558 : return NULL;
33559 197 : return gen_split_1025 (insn, operands);
33560 :
33561 53 : case 3:
33562 53 : if (!insn_condition_2580 (operands, insn))
33563 : return NULL;
33564 53 : return gen_split_1029 (insn, operands);
33565 :
33566 4582 : case 4:
33567 4582 : if (!insn_condition_2581 (operands, insn))
33568 : return NULL;
33569 4582 : return gen_split_1033 (insn, operands);
33570 :
33571 0 : case 5:
33572 0 : x8 = XEXP (x3, 1);
33573 0 : if (rtx_equal_p (x8, operands[1])
33574 0 : && insn_condition_3054 (operands, insn))
33575 0 : return gen_split_1040 (insn, operands);
33576 0 : if (!rtx_equal_p (x8, operands[2])
33577 0 : || !insn_condition_3054 (operands, insn))
33578 : return NULL;
33579 0 : return gen_split_1041 (insn, operands);
33580 :
33581 29 : case 6:
33582 29 : x8 = XEXP (x3, 1);
33583 29 : if (rtx_equal_p (x8, operands[1])
33584 29 : && insn_condition_3054 (operands, insn))
33585 6 : return gen_split_1044 (insn, operands);
33586 23 : if (!rtx_equal_p (x8, operands[2])
33587 23 : || !insn_condition_3054 (operands, insn))
33588 : return NULL;
33589 4 : return gen_split_1045 (insn, operands);
33590 :
33591 53 : case 7:
33592 53 : x8 = XEXP (x3, 1);
33593 53 : if (rtx_equal_p (x8, operands[1])
33594 53 : && insn_condition_2578 (operands, insn))
33595 6 : return gen_split_1048 (insn, operands);
33596 47 : if (!rtx_equal_p (x8, operands[2])
33597 47 : || !insn_condition_2578 (operands, insn))
33598 : return NULL;
33599 1 : return gen_split_1049 (insn, operands);
33600 :
33601 0 : case 8:
33602 0 : if (!insn_condition_3054 (operands, insn))
33603 : return NULL;
33604 0 : return gen_split_1051 (insn, operands);
33605 :
33606 4 : case 9:
33607 4 : if (!insn_condition_3054 (operands, insn))
33608 : return NULL;
33609 4 : return gen_split_1053 (insn, operands);
33610 :
33611 0 : case 10:
33612 0 : if (!insn_condition_2578 (operands, insn))
33613 : return NULL;
33614 0 : return gen_split_1055 (insn, operands);
33615 :
33616 : default:
33617 : return NULL;
33618 : }
33619 :
33620 25738785 : case PLUS:
33621 25738785 : case MINUS:
33622 25738785 : case MULT:
33623 25738785 : case AND:
33624 25738785 : case IOR:
33625 25738785 : case XOR:
33626 25738785 : case ASHIFT:
33627 25738785 : return split_40 (x1, insn);
33628 :
33629 1552213 : case COMPARE:
33630 1552213 : operands[2] = x3;
33631 1552213 : if (!compare_operator (operands[2], E_VOIDmode))
33632 : return NULL;
33633 1552213 : x9 = XEXP (x3, 0);
33634 1552213 : if (GET_CODE (x9) != AND)
33635 : return NULL;
33636 192030 : x8 = XEXP (x3, 1);
33637 192030 : if (x8 != const_int_rtx[MAX_SAVED_CONST_INT + 0])
33638 : return NULL;
33639 161562 : x4 = XVECEXP (x1, 0, 1);
33640 161562 : if (GET_CODE (x4) != SET)
33641 : return NULL;
33642 119416 : x10 = XEXP (x4, 1);
33643 119416 : if (GET_CODE (x10) != AND)
33644 : return NULL;
33645 118970 : x5 = XEXP (x2, 0);
33646 118970 : operands[0] = x5;
33647 118970 : if (!flags_reg_operand (operands[0], E_VOIDmode))
33648 : return NULL;
33649 118970 : x11 = XEXP (x9, 0);
33650 118970 : operands[3] = x11;
33651 118970 : if (!aligned_operand (operands[3], E_VOIDmode))
33652 : return NULL;
33653 118316 : x12 = XEXP (x9, 1);
33654 118316 : operands[4] = x12;
33655 118316 : if (!const_int_operand (operands[4], E_VOIDmode))
33656 : return NULL;
33657 101734 : x7 = XEXP (x4, 0);
33658 101734 : operands[1] = x7;
33659 101734 : if (!register_operand (operands[1], E_VOIDmode))
33660 : return NULL;
33661 101730 : x13 = XEXP (x10, 0);
33662 101730 : if (!rtx_equal_p (x13, operands[3]))
33663 : return NULL;
33664 101730 : x14 = XEXP (x10, 1);
33665 101730 : if (!rtx_equal_p (x14, operands[4])
33666 101730 : || !insn_condition_3055 (operands, insn))
33667 : return NULL;
33668 20066 : return gen_split_1057 (insn, operands);
33669 :
33670 185614 : case NEG:
33671 185614 : return split_42 (x1, insn);
33672 :
33673 8401 : case ABS:
33674 8401 : x4 = XVECEXP (x1, 0, 1);
33675 8401 : if (GET_CODE (x4) != USE)
33676 : return NULL;
33677 2198 : x5 = XEXP (x2, 0);
33678 2198 : operands[0] = x5;
33679 2198 : x9 = XEXP (x3, 0);
33680 2198 : operands[1] = x9;
33681 2198 : switch (pattern881 (x1))
33682 : {
33683 108 : case 0:
33684 108 : if (!insn_condition_2754 (operands, insn))
33685 : return NULL;
33686 54 : return gen_split_1114 (insn, operands);
33687 :
33688 2 : case 1:
33689 2 : if (!insn_condition_2575 (operands, insn))
33690 : return NULL;
33691 1 : return gen_split_1123 (insn, operands);
33692 :
33693 2 : case 2:
33694 2 : if (!insn_condition_2755 (operands, insn))
33695 : return NULL;
33696 1 : return gen_split_1125 (insn, operands);
33697 :
33698 2 : case 3:
33699 2 : if (!insn_condition_2575 (operands, insn))
33700 : return NULL;
33701 1 : return gen_split_1127 (insn, operands);
33702 :
33703 2 : case 4:
33704 2 : if (!insn_condition_2755 (operands, insn))
33705 : return NULL;
33706 1 : return gen_split_1129 (insn, operands);
33707 :
33708 2 : case 5:
33709 2 : if (!insn_condition_2756 (operands, insn))
33710 : return NULL;
33711 1 : return gen_split_1352 (insn, operands);
33712 :
33713 2 : case 6:
33714 2 : if (!insn_condition_2757 (operands, insn))
33715 : return NULL;
33716 1 : return gen_split_1354 (insn, operands);
33717 :
33718 2 : case 7:
33719 2 : if (!insn_condition_2758 (operands, insn))
33720 : return NULL;
33721 1 : return gen_split_1356 (insn, operands);
33722 :
33723 4 : case 8:
33724 4 : if (!insn_condition_2756 (operands, insn))
33725 : return NULL;
33726 2 : return gen_split_1358 (insn, operands);
33727 :
33728 4 : case 9:
33729 4 : if (!insn_condition_2757 (operands, insn))
33730 : return NULL;
33731 2 : return gen_split_1360 (insn, operands);
33732 :
33733 4 : case 10:
33734 4 : if (!insn_condition_2758 (operands, insn))
33735 : return NULL;
33736 2 : return gen_split_1362 (insn, operands);
33737 :
33738 8 : case 11:
33739 8 : if (!insn_condition_2756 (operands, insn))
33740 : return NULL;
33741 4 : return gen_split_1364 (insn, operands);
33742 :
33743 2 : case 12:
33744 2 : if (!insn_condition_2757 (operands, insn))
33745 : return NULL;
33746 1 : return gen_split_1366 (insn, operands);
33747 :
33748 140 : case 13:
33749 140 : if (!insn_condition_2575 (operands, insn))
33750 : return NULL;
33751 70 : return gen_split_1368 (insn, operands);
33752 :
33753 0 : case 14:
33754 0 : if (!insn_condition_2756 (operands, insn))
33755 : return NULL;
33756 0 : return gen_split_1370 (insn, operands);
33757 :
33758 32 : case 15:
33759 32 : if (!insn_condition_2757 (operands, insn))
33760 : return NULL;
33761 16 : return gen_split_1372 (insn, operands);
33762 :
33763 148 : case 16:
33764 148 : if (!insn_condition_2758 (operands, insn))
33765 : return NULL;
33766 72 : return gen_split_1374 (insn, operands);
33767 :
33768 : default:
33769 : return NULL;
33770 : }
33771 :
33772 852531 : case LSHIFTRT:
33773 852531 : x4 = XVECEXP (x1, 0, 1);
33774 852531 : if (GET_CODE (x4) != CLOBBER)
33775 : return NULL;
33776 849144 : x7 = XEXP (x4, 0);
33777 849144 : if (GET_CODE (x7) != REG
33778 849144 : || REGNO (x7) != 17
33779 1610782 : || GET_MODE (x7) != E_CCmode)
33780 : return NULL;
33781 761630 : x5 = XEXP (x2, 0);
33782 761630 : operands[0] = x5;
33783 761630 : x9 = XEXP (x3, 0);
33784 761630 : operands[1] = x9;
33785 761630 : x8 = XEXP (x3, 1);
33786 761630 : operands[2] = x8;
33787 761630 : switch (GET_MODE (operands[0]))
33788 : {
33789 78 : case E_V2QImode:
33790 78 : if (pattern1379 (x3,
33791 : E_V2QImode) != 0
33792 78 : || !insn_condition_2449 (operands, insn))
33793 : return NULL;
33794 39 : return gen_split_1149 (insn, operands);
33795 :
33796 38163 : case E_QImode:
33797 38163 : if (pattern1384 (x3,
33798 : E_QImode) != 0
33799 38163 : || !insn_condition_2667 (operands, insn))
33800 : return NULL;
33801 10 : return gen_split_1320 (insn, operands);
33802 :
33803 18996 : case E_HImode:
33804 18996 : if (pattern1384 (x3,
33805 : E_HImode) != 0
33806 18996 : || !insn_condition_2667 (operands, insn))
33807 : return NULL;
33808 8 : return gen_split_1322 (insn, operands);
33809 :
33810 188869 : case E_SImode:
33811 188869 : if (pattern1384 (x3,
33812 : E_SImode) != 0
33813 188869 : || !insn_condition_2668 (operands, insn))
33814 : return NULL;
33815 8 : return gen_split_1324 (insn, operands);
33816 :
33817 504057 : case E_DImode:
33818 504057 : if (pattern1384 (x3,
33819 : E_DImode) != 0
33820 504057 : || !insn_condition_2668 (operands, insn))
33821 : return NULL;
33822 19 : return gen_split_1326 (insn, operands);
33823 :
33824 : default:
33825 : return NULL;
33826 : }
33827 :
33828 739590 : case ASHIFTRT:
33829 739590 : if (GET_MODE (x3) != E_V2QImode)
33830 : return NULL;
33831 80 : x4 = XVECEXP (x1, 0, 1);
33832 80 : if (pattern384 (x4) != 0)
33833 : return NULL;
33834 76 : x5 = XEXP (x2, 0);
33835 76 : operands[0] = x5;
33836 76 : if (!register_operand (operands[0], E_V2QImode))
33837 : return NULL;
33838 76 : x9 = XEXP (x3, 0);
33839 76 : operands[1] = x9;
33840 76 : if (!register_operand (operands[1], E_V2QImode))
33841 : return NULL;
33842 76 : x8 = XEXP (x3, 1);
33843 76 : operands[2] = x8;
33844 76 : if (!nonmemory_operand (operands[2], E_QImode)
33845 76 : || !insn_condition_2449 (operands, insn))
33846 : return NULL;
33847 38 : return gen_split_1150 (insn, operands);
33848 :
33849 146225 : case ZERO_EXTEND:
33850 146225 : return split_41 (x1, insn);
33851 :
33852 132869 : case NE:
33853 132869 : case EQ:
33854 132869 : operands[1] = x3;
33855 132869 : switch (pattern581 (x1))
33856 : {
33857 14 : case 0:
33858 14 : if (!insn_condition_3056 (operands, insn))
33859 : return NULL;
33860 7 : return gen_split_1328 (insn, operands);
33861 :
33862 20 : case 1:
33863 20 : if (!insn_condition_3002 (operands, insn))
33864 : return NULL;
33865 10 : return gen_split_1329 (insn, operands);
33866 :
33867 14 : case 2:
33868 14 : if (!insn_condition_3002 (operands, insn))
33869 : return NULL;
33870 7 : return gen_split_1330 (insn, operands);
33871 :
33872 20 : case 3:
33873 20 : if (!insn_condition_3057 (operands, insn))
33874 : return NULL;
33875 10 : return gen_split_1331 (insn, operands);
33876 :
33877 : default:
33878 : return NULL;
33879 : }
33880 :
33881 884737 : case IF_THEN_ELSE:
33882 884737 : x9 = XEXP (x3, 0);
33883 884737 : if (!bt_comparison_operator (x9, E_VOIDmode))
33884 : return NULL;
33885 506449 : x12 = XEXP (x9, 1);
33886 506449 : if (x12 != const_int_rtx[MAX_SAVED_CONST_INT + -1])
33887 : return NULL;
33888 5580 : x4 = XVECEXP (x1, 0, 1);
33889 5580 : if (pattern286 (x4,
33890 : E_CCmode,
33891 : 17) != 0)
33892 : return NULL;
33893 157 : switch (pattern1223 (x2))
33894 : {
33895 4 : case 0:
33896 4 : if (!insn_condition_3056 (operands, insn))
33897 : return NULL;
33898 2 : return gen_split_1332 (insn, operands);
33899 :
33900 58 : case 1:
33901 58 : if (!insn_condition_3002 (operands, insn))
33902 : return NULL;
33903 29 : return gen_split_1333 (insn, operands);
33904 :
33905 48 : case 2:
33906 48 : if (!insn_condition_3002 (operands, insn))
33907 : return NULL;
33908 24 : return gen_split_1334 (insn, operands);
33909 :
33910 14 : case 3:
33911 14 : if (!insn_condition_3057 (operands, insn))
33912 : return NULL;
33913 7 : return gen_split_1335 (insn, operands);
33914 :
33915 0 : case 4:
33916 0 : if (!insn_condition_3058 (operands, insn))
33917 : return NULL;
33918 0 : return gen_split_1336 (insn, operands);
33919 :
33920 0 : case 5:
33921 0 : if (!insn_condition_3059 (operands, insn))
33922 : return NULL;
33923 0 : return gen_split_1337 (insn, operands);
33924 :
33925 0 : case 6:
33926 0 : if (!insn_condition_3060 (operands, insn))
33927 : return NULL;
33928 0 : return gen_split_1338 (insn, operands);
33929 :
33930 4 : case 7:
33931 4 : if (!insn_condition_3061 (operands, insn))
33932 : return NULL;
33933 2 : return gen_split_1339 (insn, operands);
33934 :
33935 4 : case 8:
33936 4 : if (!insn_condition_3062 (operands, insn))
33937 : return NULL;
33938 2 : return gen_split_1340 (insn, operands);
33939 :
33940 0 : case 9:
33941 0 : if (!insn_condition_3063 (operands, insn))
33942 : return NULL;
33943 0 : return gen_split_1343 (insn, operands);
33944 :
33945 0 : case 10:
33946 0 : if (!insn_condition_3064 (operands, insn))
33947 : return NULL;
33948 0 : return gen_split_1346 (insn, operands);
33949 :
33950 0 : case 11:
33951 0 : if (!insn_condition_3065 (operands, insn))
33952 : return NULL;
33953 0 : return gen_split_1349 (insn, operands);
33954 :
33955 4 : case 12:
33956 4 : if (!insn_condition_3062 (operands, insn))
33957 : return NULL;
33958 2 : return gen_split_1341 (insn, operands);
33959 :
33960 4 : case 13:
33961 4 : if (!insn_condition_3063 (operands, insn))
33962 : return NULL;
33963 2 : return gen_split_1344 (insn, operands);
33964 :
33965 4 : case 14:
33966 4 : if (!insn_condition_3064 (operands, insn))
33967 : return NULL;
33968 2 : return gen_split_1347 (insn, operands);
33969 :
33970 4 : case 15:
33971 4 : if (!insn_condition_3065 (operands, insn))
33972 : return NULL;
33973 2 : return gen_split_1350 (insn, operands);
33974 :
33975 0 : case 16:
33976 0 : if (!insn_condition_3066 (operands, insn))
33977 : return NULL;
33978 0 : return gen_split_1342 (insn, operands);
33979 :
33980 4 : case 17:
33981 4 : if (!insn_condition_3067 (operands, insn))
33982 : return NULL;
33983 2 : return gen_split_1345 (insn, operands);
33984 :
33985 0 : case 18:
33986 0 : if (!insn_condition_3068 (operands, insn))
33987 : return NULL;
33988 0 : return gen_split_1348 (insn, operands);
33989 :
33990 2 : case 19:
33991 2 : if (!insn_condition_3069 (operands, insn))
33992 : return NULL;
33993 1 : return gen_split_1351 (insn, operands);
33994 :
33995 : default:
33996 : return NULL;
33997 : }
33998 :
33999 53853 : case VEC_MERGE:
34000 53853 : if (pattern259 (x1) != 0
34001 53853 : || !insn_condition_3070 (operands, insn))
34002 : return NULL;
34003 127 : return gen_split_1645 (insn, operands);
34004 :
34005 : default:
34006 : return NULL;
34007 : }
34008 :
34009 2211153 : case 3:
34010 2211153 : x2 = XVECEXP (x1, 0, 0);
34011 2211153 : if (GET_CODE (x2) != SET)
34012 : return NULL;
34013 2086126 : x3 = XEXP (x2, 1);
34014 2086126 : if (GET_CODE (x3) != UNSPEC)
34015 : return NULL;
34016 4836 : x5 = XEXP (x2, 0);
34017 4836 : operands[0] = x5;
34018 4836 : switch (XVECLEN (x3, 0))
34019 : {
34020 365 : case 5:
34021 365 : if (pattern757 (x1,
34022 : 130,
34023 : 5) != 0
34024 195 : || pattern1790 (x1) != 0
34025 560 : || !insn_condition_3071 (operands, insn))
34026 : return NULL;
34027 195 : return gen_split_2352 (insn, operands);
34028 :
34029 493 : case 3:
34030 493 : if (pattern757 (x1,
34031 : 131,
34032 : 3) != 0
34033 253 : || pattern1791 (x1) != 0
34034 746 : || !insn_condition_3071 (operands, insn))
34035 : return NULL;
34036 253 : return gen_split_2353 (insn, operands);
34037 :
34038 3144 : case 1:
34039 3144 : x4 = XVECEXP (x1, 0, 1);
34040 3144 : if (GET_CODE (x4) != CLOBBER)
34041 : return NULL;
34042 1920 : x15 = XVECEXP (x1, 0, 2);
34043 1920 : if (GET_CODE (x15) != CLOBBER
34044 1920 : || GET_MODE (x3) != E_DImode)
34045 : return NULL;
34046 1920 : x6 = XVECEXP (x3, 0, 0);
34047 1920 : operands[1] = x6;
34048 1920 : x7 = XEXP (x4, 0);
34049 1920 : operands[2] = x7;
34050 1920 : if (!memory_operand (operands[2], E_DImode))
34051 : return NULL;
34052 1920 : x16 = XEXP (x15, 0);
34053 1920 : operands[3] = x16;
34054 1920 : if (!scratch_operand (operands[3], E_DFmode))
34055 : return NULL;
34056 1920 : switch (XINT (x3, 1))
34057 : {
34058 1862 : case 316:
34059 1862 : if (!nonimmediate_operand (operands[0], E_DImode)
34060 1862 : || !memory_operand (operands[1], E_DImode)
34061 3724 : || !insn_condition_3072 (operands, insn))
34062 : return NULL;
34063 931 : return gen_split_2491 (insn, operands);
34064 :
34065 58 : case 317:
34066 58 : if (!memory_operand (operands[0], E_DImode)
34067 58 : || !nonimmediate_operand (operands[1], E_DImode)
34068 116 : || !insn_condition_3072 (operands, insn))
34069 : return NULL;
34070 29 : return gen_split_2492 (insn, operands);
34071 :
34072 : default:
34073 : return NULL;
34074 : }
34075 :
34076 : default:
34077 : return NULL;
34078 : }
34079 :
34080 : default:
34081 : return NULL;
34082 : }
34083 : }
34084 :
34085 : rtx_insn *
34086 9076796 : peephole2_17 (rtx x1 ATTRIBUTE_UNUSED,
34087 : rtx_insn *insn ATTRIBUTE_UNUSED,
34088 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34089 : {
34090 9076796 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34091 9076796 : rtx x2, x3;
34092 9076796 : rtx_insn *res ATTRIBUTE_UNUSED;
34093 9076796 : x2 = PATTERN (peep2_next_insn (1));
34094 9076796 : if (GET_CODE (x2) != SET)
34095 : return NULL;
34096 7456096 : x3 = XEXP (x2, 0);
34097 7456096 : if (!general_reg_operand (x3, E_DImode))
34098 : return NULL;
34099 4936363 : operands[8] = x3;
34100 4936363 : switch (pattern999 (x1,
34101 : E_DImode,
34102 : E_TImode))
34103 : {
34104 0 : case 0:
34105 0 : if (insn_condition_3177 (operands, insn))
34106 : {
34107 0 : *pmatch_len_ = 3;
34108 0 : res = gen_peephole2_123 (insn, operands);
34109 0 : if (res != NULL_RTX)
34110 : return res;
34111 : }
34112 : break;
34113 :
34114 0 : case 1:
34115 0 : if (insn_condition_3178 (operands, insn))
34116 : {
34117 0 : *pmatch_len_ = 5;
34118 0 : res = gen_peephole2_125 (insn, operands);
34119 0 : if (res != NULL_RTX)
34120 : return res;
34121 : }
34122 : break;
34123 :
34124 : default:
34125 : break;
34126 : }
34127 4936363 : operands[0] = x3;
34128 4936363 : if (pattern1002 (x1,
34129 : E_DImode) != 0
34130 4936363 : || !insn_condition_3179 (operands, insn))
34131 : return NULL;
34132 2 : *pmatch_len_ = 3;
34133 2 : return gen_peephole2_231 (insn, operands);
34134 : }
34135 :
34136 : rtx_insn *
34137 18142 : peephole2_21 (rtx x1 ATTRIBUTE_UNUSED,
34138 : rtx_insn *insn ATTRIBUTE_UNUSED,
34139 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34140 : {
34141 18142 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34142 18142 : rtx x2, x3, x4, x5, x6;
34143 18142 : rtx_insn *res ATTRIBUTE_UNUSED;
34144 18142 : x2 = PATTERN (peep2_next_insn (1));
34145 18142 : if (GET_CODE (x2) != SET)
34146 : return NULL;
34147 17565 : x3 = XEXP (x2, 1);
34148 17565 : if (!binary_fp_operator (x3, E_VOIDmode))
34149 : return NULL;
34150 8462 : operands[2] = x3;
34151 8462 : x4 = XEXP (x2, 0);
34152 8462 : if (!rtx_equal_p (x4, operands[0]))
34153 : return NULL;
34154 7728 : x5 = XEXP (x3, 0);
34155 7728 : switch (GET_CODE (x5))
34156 : {
34157 7512 : case REG:
34158 7512 : if (!rtx_equal_p (x5, operands[0]))
34159 : return NULL;
34160 7464 : x6 = XEXP (x3, 1);
34161 7464 : operands[3] = x6;
34162 7464 : if (!memory_operand (operands[3], E_VOIDmode)
34163 7464 : || !insn_condition_3192 (operands, insn))
34164 : return NULL;
34165 131 : *pmatch_len_ = 1;
34166 131 : return gen_peephole2_234 (insn, operands);
34167 :
34168 0 : case SUBREG:
34169 0 : case MEM:
34170 0 : operands[3] = x5;
34171 0 : if (!memory_operand (operands[3], E_VOIDmode))
34172 : return NULL;
34173 0 : x6 = XEXP (x3, 1);
34174 0 : if (!rtx_equal_p (x6, operands[0])
34175 0 : || !insn_condition_3192 (operands, insn))
34176 : return NULL;
34177 0 : *pmatch_len_ = 1;
34178 0 : return gen_peephole2_235 (insn, operands);
34179 :
34180 : default:
34181 : return NULL;
34182 : }
34183 : }
34184 :
34185 : rtx_insn *
34186 40039522 : peephole2_22 (rtx x1 ATTRIBUTE_UNUSED,
34187 : rtx_insn *insn ATTRIBUTE_UNUSED,
34188 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34189 : {
34190 40039522 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34191 40039522 : rtx x2, x3, x4, x5, x6, x7, x8, x9;
34192 40039522 : rtx_insn *res ATTRIBUTE_UNUSED;
34193 40039522 : if (peep2_current_count >= 3)
34194 : {
34195 31656587 : res = peephole2_20 (x1, insn, pmatch_len_);
34196 31656587 : if (res != NULL_RTX)
34197 : return res;
34198 : }
34199 40011121 : x2 = XEXP (x1, 0);
34200 40011121 : operands[0] = x2;
34201 40011121 : x3 = XEXP (x1, 1);
34202 40011121 : operands[1] = x3;
34203 40011121 : if (fp_register_operand (operands[1], E_VOIDmode)
34204 40011121 : && fp_register_operand (operands[0], E_VOIDmode))
34205 : {
34206 18142 : res = peephole2_21 (x1, insn, pmatch_len_);
34207 18142 : if (res != NULL_RTX)
34208 : return res;
34209 : }
34210 40010990 : if (general_reg_operand (operands[1], E_QImode))
34211 : {
34212 294215 : x4 = PATTERN (peep2_next_insn (1));
34213 294215 : if (pattern453 (x4,
34214 : E_QImode) == 0
34215 294215 : && insn_condition_3193 (operands, insn))
34216 : {
34217 1632 : *pmatch_len_ = 1;
34218 1632 : res = gen_peephole2_304 (insn, operands);
34219 1632 : if (res != NULL_RTX)
34220 : return res;
34221 : }
34222 : }
34223 40009358 : if (general_reg_operand (operands[1], E_HImode))
34224 : {
34225 117524 : x4 = PATTERN (peep2_next_insn (1));
34226 117524 : if (pattern453 (x4,
34227 : E_HImode) == 0
34228 117524 : && insn_condition_3194 (operands, insn))
34229 : {
34230 1086 : *pmatch_len_ = 1;
34231 1086 : res = gen_peephole2_305 (insn, operands);
34232 1086 : if (res != NULL_RTX)
34233 : return res;
34234 : }
34235 : }
34236 40008272 : if (general_reg_operand (operands[1], E_DImode))
34237 : {
34238 5658465 : x4 = PATTERN (peep2_next_insn (1));
34239 5658465 : if (pattern453 (x4,
34240 : E_DImode) == 0
34241 5658465 : && insn_condition_3195 (operands, insn))
34242 : {
34243 32120 : *pmatch_len_ = 1;
34244 32120 : res = gen_peephole2_307 (insn, operands);
34245 32120 : if (res != NULL_RTX)
34246 : return res;
34247 : }
34248 : }
34249 39976152 : if (peep2_current_count < 3
34250 39976152 : || peep2_current_count < 4)
34251 : return NULL;
34252 25985374 : if (memory_operand (operands[1], E_QImode))
34253 : {
34254 176450 : x4 = PATTERN (peep2_next_insn (1));
34255 176450 : if (pattern762 (x4,
34256 : E_QImode) == 0)
34257 : {
34258 24643 : x5 = XVECEXP (x4, 0, 0);
34259 24643 : x6 = XEXP (x5, 1);
34260 24643 : operands[3] = x6;
34261 24643 : if (pattern1393 (x4,
34262 : E_QImode) == 0)
34263 : {
34264 59 : x7 = PATTERN (peep2_next_insn (2));
34265 59 : x8 = XEXP (x7, 0);
34266 59 : if (rtx_equal_p (x8, operands[1]))
34267 : {
34268 10 : x9 = PATTERN (peep2_next_insn (3));
34269 10 : if (pattern1892 (x9) == 0
34270 10 : && insn_condition_3196 (operands, insn))
34271 : {
34272 0 : *pmatch_len_ = 3;
34273 0 : res = gen_peephole2_318 (insn, operands);
34274 0 : if (res != NULL_RTX)
34275 : return res;
34276 : }
34277 : }
34278 59 : if (peep2_current_count >= 5
34279 59 : && pattern1893 (x8,
34280 : E_QImode) == 0
34281 59 : && insn_condition_3197 (operands, insn))
34282 : {
34283 0 : *pmatch_len_ = 4;
34284 0 : res = gen_peephole2_348 (insn, operands);
34285 0 : if (res != NULL_RTX)
34286 : return res;
34287 : }
34288 : }
34289 24643 : if (GET_CODE (x6) == XOR
34290 2022 : && pattern1394 (x4,
34291 : E_QImode) == 0
34292 24643 : && insn_condition_3198 (operands, insn))
34293 : {
34294 0 : *pmatch_len_ = 3;
34295 0 : res = gen_peephole2_342 (insn, operands);
34296 0 : if (res != NULL_RTX)
34297 : return res;
34298 : }
34299 : }
34300 : }
34301 25985374 : if (memory_operand (operands[1], E_HImode))
34302 : {
34303 59309 : x4 = PATTERN (peep2_next_insn (1));
34304 59309 : if (pattern762 (x4,
34305 : E_HImode) == 0)
34306 : {
34307 4328 : x5 = XVECEXP (x4, 0, 0);
34308 4328 : x6 = XEXP (x5, 1);
34309 4328 : operands[3] = x6;
34310 4328 : if (pattern1393 (x4,
34311 : E_HImode) == 0)
34312 : {
34313 767 : x7 = PATTERN (peep2_next_insn (2));
34314 767 : x8 = XEXP (x7, 0);
34315 767 : if (rtx_equal_p (x8, operands[1]))
34316 : {
34317 71 : x9 = PATTERN (peep2_next_insn (3));
34318 71 : if (pattern1892 (x9) == 0
34319 71 : && insn_condition_3199 (operands, insn))
34320 : {
34321 0 : *pmatch_len_ = 3;
34322 0 : res = gen_peephole2_319 (insn, operands);
34323 0 : if (res != NULL_RTX)
34324 : return res;
34325 : }
34326 : }
34327 767 : if (peep2_current_count >= 5
34328 756 : && pattern1893 (x8,
34329 : E_HImode) == 0
34330 767 : && insn_condition_3200 (operands, insn))
34331 : {
34332 0 : *pmatch_len_ = 4;
34333 0 : res = gen_peephole2_349 (insn, operands);
34334 0 : if (res != NULL_RTX)
34335 : return res;
34336 : }
34337 : }
34338 4328 : if (GET_CODE (x6) == XOR
34339 127 : && pattern1394 (x4,
34340 : E_HImode) == 0
34341 4328 : && insn_condition_3201 (operands, insn))
34342 : {
34343 0 : *pmatch_len_ = 3;
34344 0 : res = gen_peephole2_343 (insn, operands);
34345 0 : if (res != NULL_RTX)
34346 : return res;
34347 : }
34348 : }
34349 : }
34350 25985374 : if (!memory_operand (operands[1], E_DImode))
34351 : return NULL;
34352 2279232 : x4 = PATTERN (peep2_next_insn (1));
34353 2279232 : if (pattern762 (x4,
34354 : E_DImode) != 0)
34355 : return NULL;
34356 169527 : x5 = XVECEXP (x4, 0, 0);
34357 169527 : x6 = XEXP (x5, 1);
34358 169527 : operands[3] = x6;
34359 169527 : if (pattern1395 (x4,
34360 : E_DImode) == 0
34361 169527 : && pattern1392 (x5) == 0)
34362 : {
34363 15988 : x7 = PATTERN (peep2_next_insn (2));
34364 15988 : x8 = XEXP (x7, 0);
34365 15988 : if (rtx_equal_p (x8, operands[1]))
34366 : {
34367 6527 : x9 = PATTERN (peep2_next_insn (3));
34368 6527 : if (pattern1892 (x9) == 0
34369 6527 : && insn_condition_3202 (operands, insn))
34370 : {
34371 0 : *pmatch_len_ = 3;
34372 0 : res = gen_peephole2_321 (insn, operands);
34373 0 : if (res != NULL_RTX)
34374 : return res;
34375 : }
34376 : }
34377 15988 : if (peep2_current_count >= 5
34378 13674 : && pattern1893 (x8,
34379 : E_DImode) == 0
34380 15988 : && insn_condition_3203 (operands, insn))
34381 : {
34382 0 : *pmatch_len_ = 4;
34383 0 : res = gen_peephole2_351 (insn, operands);
34384 0 : if (res != NULL_RTX)
34385 : return res;
34386 : }
34387 : }
34388 169527 : if (GET_CODE (x6) != XOR
34389 169527 : || pattern1396 (x4,
34390 : E_DImode) != 0)
34391 : return NULL;
34392 3868 : x7 = PATTERN (peep2_next_insn (2));
34393 3868 : if (GET_CODE (x7) != SET
34394 1697 : || pattern1874 (x7,
34395 : E_DImode) != 0
34396 3870 : || !insn_condition_3204 (operands, insn))
34397 : return NULL;
34398 2 : *pmatch_len_ = 3;
34399 2 : return gen_peephole2_345 (insn, operands);
34400 : }
34401 :
34402 : rtx_insn *
34403 32129111 : peephole2_33 (rtx x1 ATTRIBUTE_UNUSED,
34404 : rtx_insn *insn ATTRIBUTE_UNUSED,
34405 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34406 : {
34407 32129111 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34408 32129111 : rtx x2, x3, x4, x5, x6, x7, x8;
34409 32129111 : rtx_insn *res ATTRIBUTE_UNUSED;
34410 32129111 : if (peep2_current_count >= 2)
34411 : {
34412 29978183 : res = peephole2_32 (x1, insn, pmatch_len_);
34413 29978183 : if (res != NULL_RTX)
34414 : return res;
34415 : }
34416 32109066 : x2 = XEXP (x1, 0);
34417 32109066 : operands[0] = x2;
34418 32109066 : x3 = XEXP (x1, 1);
34419 32109066 : operands[1] = x3;
34420 32109066 : if (const0_operand (operands[1], E_VOIDmode)
34421 1611054 : && general_reg_operand (operands[0], E_VOIDmode)
34422 33499479 : && insn_condition_3227 (operands, insn))
34423 : {
34424 1348424 : *pmatch_len_ = 0;
34425 1348424 : res = gen_peephole2_367 (insn, operands);
34426 1348424 : if (res != NULL_RTX)
34427 : return res;
34428 : }
34429 30760642 : if (peep2_current_count < 2
34430 28764395 : || !memory_operand (operands[1], E_DFmode)
34431 30984873 : || !sse_reg_operand (operands[0], E_DFmode))
34432 : return NULL;
34433 203328 : x4 = PATTERN (peep2_next_insn (1));
34434 203328 : if (GET_CODE (x4) != SET)
34435 : return NULL;
34436 193043 : x5 = XEXP (x4, 1);
34437 193043 : if (GET_CODE (x5) != VEC_CONCAT
34438 3318 : || GET_MODE (x5) != E_V2DFmode)
34439 : return NULL;
34440 3318 : x6 = XEXP (x4, 0);
34441 3318 : operands[2] = x6;
34442 3318 : if (!sse_reg_operand (operands[2], E_V2DFmode))
34443 : return NULL;
34444 3318 : x7 = XEXP (x5, 0);
34445 3318 : operands[4] = x7;
34446 3318 : if (!sse_reg_operand (operands[4], E_DFmode))
34447 : return NULL;
34448 1904 : x8 = XEXP (x5, 1);
34449 1904 : operands[3] = x8;
34450 1904 : if (!memory_operand (operands[3], E_DFmode)
34451 1904 : || !insn_condition_3228 (operands, insn))
34452 : return NULL;
34453 45 : *pmatch_len_ = 1;
34454 45 : return gen_peephole2_436 (insn, operands);
34455 : }
34456 :
34457 : rtx_insn *
34458 1450261 : peephole2_39 (rtx x1 ATTRIBUTE_UNUSED,
34459 : rtx_insn *insn ATTRIBUTE_UNUSED,
34460 : int *pmatch_len_ ATTRIBUTE_UNUSED)
34461 : {
34462 1450261 : rtx * const operands ATTRIBUTE_UNUSED = &recog_data.operand[0];
34463 1450261 : rtx x2, x3, x4, x5, x6, x7;
34464 1450261 : rtx_insn *res ATTRIBUTE_UNUSED;
34465 1450261 : x2 = XVECEXP (x1, 0, 0);
34466 1450261 : x3 = XEXP (x2, 0);
34467 1450261 : switch (GET_CODE (x3))
34468 : {
34469 1448768 : case REG:
34470 1448768 : if (peep2_current_count < 2)
34471 : return NULL;
34472 1292307 : operands[0] = x3;
34473 1292307 : switch (GET_MODE (operands[0]))
34474 : {
34475 137622 : case E_SImode:
34476 137622 : x4 = PATTERN (peep2_next_insn (1));
34477 137622 : switch (pattern1398 (x4,
34478 : E_SImode))
34479 : {
34480 0 : case 0:
34481 0 : if (!insn_condition_3259 (operands, insn))
34482 : return NULL;
34483 0 : *pmatch_len_ = 1;
34484 0 : return gen_peephole2_31 (insn, operands);
34485 :
34486 1 : case 1:
34487 1 : if (!insn_condition_3259 (operands, insn))
34488 : return NULL;
34489 1 : *pmatch_len_ = 1;
34490 1 : return gen_peephole2_33 (insn, operands);
34491 :
34492 0 : case 2:
34493 0 : if (!insn_condition_3260 (operands, insn))
34494 : return NULL;
34495 0 : *pmatch_len_ = 1;
34496 0 : return gen_peephole2_35 (insn, operands);
34497 :
34498 6 : case 3:
34499 6 : if (!insn_condition_3261 (operands, insn))
34500 : return NULL;
34501 6 : *pmatch_len_ = 1;
34502 6 : return gen_peephole2_43 (insn, operands);
34503 :
34504 0 : case 4:
34505 0 : if (!insn_condition_3261 (operands, insn))
34506 : return NULL;
34507 0 : *pmatch_len_ = 1;
34508 0 : return gen_peephole2_45 (insn, operands);
34509 :
34510 0 : case 5:
34511 0 : x5 = XVECEXP (x4, 0, 0);
34512 0 : x6 = XEXP (x5, 1);
34513 0 : x7 = XEXP (x6, 1);
34514 0 : operands[1] = x7;
34515 0 : if (x86_64_general_operand (operands[1], E_SImode)
34516 0 : && insn_condition_3262 (operands, insn))
34517 : {
34518 0 : *pmatch_len_ = 1;
34519 0 : res = gen_peephole2_155 (insn, operands);
34520 0 : if (res != NULL_RTX)
34521 : return res;
34522 : }
34523 0 : if (!rtx_equal_p (x7, operands[0]))
34524 : return NULL;
34525 0 : *pmatch_len_ = 1;
34526 0 : return gen_peephole2_167 (insn, operands);
34527 :
34528 42 : case 6:
34529 42 : x5 = XVECEXP (x4, 0, 0);
34530 42 : x6 = XEXP (x5, 1);
34531 42 : x7 = XEXP (x6, 1);
34532 42 : operands[1] = x7;
34533 42 : if (x86_64_general_operand (operands[1], E_SImode)
34534 84 : && insn_condition_3262 (operands, insn))
34535 : {
34536 42 : *pmatch_len_ = 1;
34537 42 : res = gen_peephole2_156 (insn, operands);
34538 42 : if (res != NULL_RTX)
34539 : return res;
34540 : }
34541 0 : if (!rtx_equal_p (x7, operands[0]))
34542 : return NULL;
34543 0 : *pmatch_len_ = 1;
34544 0 : return gen_peephole2_168 (insn, operands);
34545 :
34546 0 : case 7:
34547 0 : x5 = XVECEXP (x4, 0, 0);
34548 0 : x6 = XEXP (x5, 1);
34549 0 : x7 = XEXP (x6, 1);
34550 0 : operands[1] = x7;
34551 0 : if (x86_64_general_operand (operands[1], E_SImode)
34552 0 : && insn_condition_3262 (operands, insn))
34553 : {
34554 0 : *pmatch_len_ = 1;
34555 0 : res = gen_peephole2_157 (insn, operands);
34556 0 : if (res != NULL_RTX)
34557 : return res;
34558 : }
34559 0 : if (!rtx_equal_p (x7, operands[0]))
34560 : return NULL;
34561 0 : *pmatch_len_ = 1;
34562 0 : return gen_peephole2_169 (insn, operands);
34563 :
34564 56 : case 8:
34565 56 : if (!insn_condition_3192 (operands, insn))
34566 : return NULL;
34567 56 : *pmatch_len_ = 3;
34568 56 : return gen_peephole2_175 (insn, operands);
34569 :
34570 : default:
34571 : return NULL;
34572 : }
34573 :
34574 1154685 : case E_DImode:
34575 1154685 : x4 = PATTERN (peep2_next_insn (1));
34576 1154685 : switch (pattern1398 (x4,
34577 : E_DImode))
34578 : {
34579 4 : case 0:
34580 4 : if (!insn_condition_3260 (operands, insn))
34581 : return NULL;
34582 4 : *pmatch_len_ = 1;
34583 4 : return gen_peephole2_32 (insn, operands);
34584 :
34585 0 : case 1:
34586 0 : if (!insn_condition_3260 (operands, insn))
34587 : return NULL;
34588 0 : *pmatch_len_ = 1;
34589 0 : return gen_peephole2_34 (insn, operands);
34590 :
34591 0 : case 2:
34592 0 : if (!insn_condition_3260 (operands, insn))
34593 : return NULL;
34594 0 : *pmatch_len_ = 1;
34595 0 : return gen_peephole2_36 (insn, operands);
34596 :
34597 318 : case 3:
34598 318 : if (!insn_condition_3263 (operands, insn))
34599 : return NULL;
34600 301 : *pmatch_len_ = 1;
34601 301 : return gen_peephole2_44 (insn, operands);
34602 :
34603 7 : case 4:
34604 7 : if (!insn_condition_3263 (operands, insn))
34605 : return NULL;
34606 0 : *pmatch_len_ = 1;
34607 0 : return gen_peephole2_46 (insn, operands);
34608 :
34609 14 : case 5:
34610 14 : x5 = XVECEXP (x4, 0, 0);
34611 14 : x6 = XEXP (x5, 1);
34612 14 : x7 = XEXP (x6, 1);
34613 14 : operands[1] = x7;
34614 14 : if (x86_64_general_operand (operands[1], E_DImode)
34615 14 : && insn_condition_3264 (operands, insn))
34616 : {
34617 14 : *pmatch_len_ = 1;
34618 14 : res = gen_peephole2_158 (insn, operands);
34619 14 : if (res != NULL_RTX)
34620 : return res;
34621 : }
34622 0 : if (!rtx_equal_p (x7, operands[0])
34623 0 : || !insn_condition_52 (operands, insn))
34624 : return NULL;
34625 0 : *pmatch_len_ = 1;
34626 0 : return gen_peephole2_170 (insn, operands);
34627 :
34628 101 : case 6:
34629 101 : x5 = XVECEXP (x4, 0, 0);
34630 101 : x6 = XEXP (x5, 1);
34631 101 : x7 = XEXP (x6, 1);
34632 101 : operands[1] = x7;
34633 101 : if (x86_64_general_operand (operands[1], E_DImode)
34634 101 : && insn_condition_3264 (operands, insn))
34635 : {
34636 101 : *pmatch_len_ = 1;
34637 101 : res = gen_peephole2_159 (insn, operands);
34638 101 : if (res != NULL_RTX)
34639 : return res;
34640 : }
34641 0 : if (!rtx_equal_p (x7, operands[0])
34642 0 : || !insn_condition_52 (operands, insn))
34643 : return NULL;
34644 0 : *pmatch_len_ = 1;
34645 0 : return gen_peephole2_171 (insn, operands);
34646 :
34647 2 : case 7:
34648 2 : x5 = XVECEXP (x4, 0, 0);
34649 2 : x6 = XEXP (x5, 1);
34650 2 : x7 = XEXP (x6, 1);
34651 2 : operands[1] = x7;
34652 2 : if (x86_64_general_operand (operands[1], E_DImode)
34653 2 : && insn_condition_3264 (operands, insn))
34654 : {
34655 2 : *pmatch_len_ = 1;
34656 2 : res = gen_peephole2_160 (insn, operands);
34657 2 : if (res != NULL_RTX)
34658 : return res;
34659 : }
34660 0 : if (!rtx_equal_p (x7, operands[0])
34661 0 : || !insn_condition_52 (operands, insn))
34662 : return NULL;
34663 0 : *pmatch_len_ = 1;
34664 0 : return gen_peephole2_172 (insn, operands);
34665 :
34666 39 : case 8:
34667 39 : if (!insn_condition_3265 (operands, insn))
34668 : return NULL;
34669 39 : *pmatch_len_ = 3;
34670 39 : return gen_peephole2_176 (insn, operands);
34671 :
34672 : default:
34673 : return NULL;
34674 : }
34675 :
34676 0 : case E_QImode:
34677 0 : x4 = PATTERN (peep2_next_insn (1));
34678 0 : switch (pattern1399 (x4,
34679 : E_QImode))
34680 : {
34681 0 : case 0:
34682 0 : x5 = XVECEXP (x4, 0, 0);
34683 0 : x6 = XEXP (x5, 1);
34684 0 : x7 = XEXP (x6, 1);
34685 0 : operands[1] = x7;
34686 0 : if (general_operand (operands[1], E_QImode)
34687 0 : && insn_condition_3262 (operands, insn))
34688 : {
34689 0 : *pmatch_len_ = 1;
34690 0 : res = gen_peephole2_149 (insn, operands);
34691 0 : if (res != NULL_RTX)
34692 : return res;
34693 : }
34694 0 : if (!rtx_equal_p (x7, operands[0]))
34695 : return NULL;
34696 0 : *pmatch_len_ = 1;
34697 0 : return gen_peephole2_161 (insn, operands);
34698 :
34699 0 : case 1:
34700 0 : x5 = XVECEXP (x4, 0, 0);
34701 0 : x6 = XEXP (x5, 1);
34702 0 : x7 = XEXP (x6, 1);
34703 0 : operands[1] = x7;
34704 0 : if (general_operand (operands[1], E_QImode)
34705 0 : && insn_condition_3262 (operands, insn))
34706 : {
34707 0 : *pmatch_len_ = 1;
34708 0 : res = gen_peephole2_150 (insn, operands);
34709 0 : if (res != NULL_RTX)
34710 : return res;
34711 : }
34712 0 : if (!rtx_equal_p (x7, operands[0]))
34713 : return NULL;
34714 0 : *pmatch_len_ = 1;
34715 0 : return gen_peephole2_162 (insn, operands);
34716 :
34717 0 : case 2:
34718 0 : x5 = XVECEXP (x4, 0, 0);
34719 0 : x6 = XEXP (x5, 1);
34720 0 : x7 = XEXP (x6, 1);
34721 0 : operands[1] = x7;
34722 0 : if (general_operand (operands[1], E_QImode)
34723 0 : && insn_condition_3262 (operands, insn))
34724 : {
34725 0 : *pmatch_len_ = 1;
34726 0 : res = gen_peephole2_151 (insn, operands);
34727 0 : if (res != NULL_RTX)
34728 : return res;
34729 : }
34730 0 : if (!rtx_equal_p (x7, operands[0]))
34731 : return NULL;
34732 0 : *pmatch_len_ = 1;
34733 0 : return gen_peephole2_163 (insn, operands);
34734 :
34735 : default:
34736 : return NULL;
34737 : }
34738 :
34739 0 : case E_HImode:
34740 0 : x4 = PATTERN (peep2_next_insn (1));
34741 0 : switch (pattern1399 (x4,
34742 : E_HImode))
34743 : {
34744 0 : case 0:
34745 0 : x5 = XVECEXP (x4, 0, 0);
34746 0 : x6 = XEXP (x5, 1);
34747 0 : x7 = XEXP (x6, 1);
34748 0 : operands[1] = x7;
34749 0 : if (general_operand (operands[1], E_HImode)
34750 0 : && insn_condition_3262 (operands, insn))
34751 : {
34752 0 : *pmatch_len_ = 1;
34753 0 : res = gen_peephole2_152 (insn, operands);
34754 0 : if (res != NULL_RTX)
34755 : return res;
34756 : }
34757 0 : if (!rtx_equal_p (x7, operands[0]))
34758 : return NULL;
34759 0 : *pmatch_len_ = 1;
34760 0 : return gen_peephole2_164 (insn, operands);
34761 :
34762 0 : case 1:
34763 0 : x5 = XVECEXP (x4, 0, 0);
34764 0 : x6 = XEXP (x5, 1);
34765 0 : x7 = XEXP (x6, 1);
34766 0 : operands[1] = x7;
34767 0 : if (general_operand (operands[1], E_HImode)
34768 0 : && insn_condition_3262 (operands, insn))
34769 : {
34770 0 : *pmatch_len_ = 1;
34771 0 : res = gen_peephole2_153 (insn, operands);
34772 0 : if (res != NULL_RTX)
34773 : return res;
34774 : }
34775 0 : if (!rtx_equal_p (x7, operands[0]))
34776 : return NULL;
34777 0 : *pmatch_len_ = 1;
34778 0 : return gen_peephole2_165 (insn, operands);
34779 :
34780 0 : case 2:
34781 0 : x5 = XVECEXP (x4, 0, 0);
34782 0 : x6 = XEXP (x5, 1);
34783 0 : x7 = XEXP (x6, 1);
34784 0 : operands[1] = x7;
34785 0 : if (general_operand (operands[1], E_HImode)
34786 0 : && insn_condition_3262 (operands, insn))
34787 : {
34788 0 : *pmatch_len_ = 1;
34789 0 : res = gen_peephole2_154 (insn, operands);
34790 0 : if (res != NULL_RTX)
34791 : return res;
34792 : }
34793 0 : if (!rtx_equal_p (x7, operands[0]))
34794 : return NULL;
34795 0 : *pmatch_len_ = 1;
34796 0 : return gen_peephole2_166 (insn, operands);
34797 :
34798 : default:
34799 : return NULL;
34800 : }
34801 :
34802 : default:
34803 : return NULL;
34804 : }
34805 :
34806 639 : case ZERO_EXTRACT:
34807 639 : if (pattern1110 (x3) != 0
34808 639 : || !insn_condition_3266 (operands, insn))
34809 : return NULL;
34810 0 : *pmatch_len_ = 0;
34811 0 : return gen_peephole2_192 (insn, operands);
34812 :
34813 : default:
34814 : return NULL;
34815 : }
34816 : }
|